Add bash completions or rely on the shells/bash-completion pkg-config file if we already had them.

This commit is contained in:
ajacoutot 2020-05-15 10:58:52 +00:00
parent ede8cbccaa
commit afd5b5a512
6 changed files with 25 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.72 2019/07/12 20:46:57 sthen Exp $
# $OpenBSD: Makefile,v 1.73 2020/05/15 10:58:52 ajacoutot Exp $
# XXX newer versions hard depend on gusb and udev...
PORTROACH= skipv:1.4.0,1.4.1,1.4.2,1.4.3,1.4.4
@ -8,7 +8,7 @@ COMMENT= device color profile management daemon
V= 1.3.5
DISTNAME= colord-${V}
EXTRACT_SUFX= .tar.xz
REVISION= 1
REVISION= 2
SHARED_LIBS += colordprivate 1.1 # 2.5
SHARED_LIBS += colord 1.5 # 2.5
@ -33,6 +33,7 @@ MODULES= devel/dconf \
BUILD_DEPENDS= devel/gobject-introspection \
lang/vala \
shells/bash-completion \
textproc/docbook2x \
x11/dbus
@ -68,9 +69,6 @@ CONFIGURE_ARGS += --disable-print-profiles
CONFIGURE_ARGS += --disable-argyllcms-sensor
#BUILD_DEPENDS += graphics/argyll
# XXX configure: error: Package requirements (bash-completion >= 2.0) were not met
CONFIGURE_ARGS += --disable-bash-completion
FAKE_FLAGS= sysconfdir="${PREFIX}/share/examples/colord"
# our old gcc does not handle some of the warning flags

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.27 2018/07/08 20:10:33 espie Exp $
@comment $OpenBSD: PLIST,v 1.28 2020/05/15 10:58:52 ajacoutot Exp $
@conflict shared-color-profiles-*
@conflict shared-color-profiles-extra-*
@pkgpath graphics/colord
@ -47,12 +47,12 @@ include/colord-1/colord/cd-spectrum.h
include/colord-1/colord/cd-transform.h
include/colord-1/colord/cd-version.h
lib/colord-sensors/
lib/colord-sensors/libcolord_sensor_dummy.so
@so lib/colord-sensors/libcolord_sensor_dummy.so
lib/girepository-1.0/Colord-1.0.typelib
lib/libcolord.a
@static-lib lib/libcolord.a
lib/libcolord.la
@lib lib/libcolord.so.${LIBcolord_VERSION}
lib/libcolordprivate.a
@static-lib lib/libcolordprivate.a
lib/libcolordprivate.la
@lib lib/libcolordprivate.so.${LIBcolordprivate_VERSION}
lib/pkgconfig/colord.pc
@ -65,6 +65,7 @@ lib/systemd/user/colord-session.service
@man man/man1/cd-fix-profile.1
@man man/man1/cd-it8.1
@man man/man1/colormgr.1
share/bash-completion/completions/colormgr
share/color/
share/color/icc/
share/color/icc/colord/

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.55 2019/12/08 10:16:18 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.56 2020/05/15 10:58:52 ajacoutot Exp $
COMMENT= framework for streaming media
DISTNAME= gstreamer-${V}
PKGNAME= ${GST_PKGNAME_PREFIX}-${V}
REVISION= 0
SHARED_LIBS += gstreamer-1.0 5.0 # 0.1602.0
SHARED_LIBS += gstbase-1.0 5.0 # 0.1602.0
@ -16,7 +17,8 @@ WANTLIB += c gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 intl m
MASTER_SITES= ${MASTER_SITE_GST:=gstreamer/}
BUILD_DEPENDS= devel/bison \
devel/gobject-introspection
devel/gobject-introspection \
shells/bash-completion
LIB_DEPENDS= devel/glib2
@ -24,9 +26,6 @@ CONFIGURE_ARGS= -Dlibunwind=disabled \
-Dlibdw=disabled \
-Ddbghelp=disabled
# needs bash-completion pkg-config file
CONFIGURE_ARGS += -Dbash-completion=disabled
# PTP helper does not do anything on OpenBSD (functionality needs to be
# implemented): no need to install it suid root
# XXX the script doesn't handle the 'none' option; that's fine because we don't

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.21 2019/12/08 10:16:18 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.22 2020/05/15 10:58:52 ajacoutot Exp $
@bin bin/gst-inspect-${API}
@bin bin/gst-launch-${API}
@bin bin/gst-stats-${API}
@ -150,6 +150,7 @@ lib/pkgconfig/gstreamer-check-${API}.pc
lib/pkgconfig/gstreamer-controller-${API}.pc
lib/pkgconfig/gstreamer-net-${API}.pc
libexec/gstreamer-${API}/
@bin libexec/gstreamer-${API}/gst-completion-helper
@bin libexec/gstreamer-${API}/gst-plugin-scanner
@bin libexec/gstreamer-${API}/gst-ptp-helper
@man man/man1/gst-inspect-${API}.1
@ -157,6 +158,10 @@ libexec/gstreamer-${API}/
@man man/man1/gst-stats-${API}.1
@man man/man1/gst-typefind-${API}.1
share/aclocal/gst-element-check-${API}.m4
share/bash-completion/completions/gst-inspect-${API}
share/bash-completion/completions/gst-launch-${API}
share/bash-completion/helpers/
share/bash-completion/helpers/gst
share/gdb/auto-load/usr/local/lib/libgstreamer-${API}.so.0.1602.0-gdb.py
share/gir-${API}/
share/gir-${API}/Gst-${API}.gir

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.70 2020/02/03 20:40:39 sthen Exp $
# $OpenBSD: Makefile,v 1.71 2020/05/15 10:58:52 ajacoutot Exp $
COMMENT= network diagnostic tool, similar to ping and traceroute
@ -21,6 +21,8 @@ WANTLIB += c m curses
FLAVORS= gtk
FLAVOR?=
BUILD_DEPENDS= shells/bash-completion
CONFIGURE_STYLE= autoreconf
AUTORECONF= ${WRKSRC}/bootstrap.sh
AUTOCONF_VERSION= 2.69

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.254 2020/05/15 09:03:10 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.255 2020/05/15 10:58:52 ajacoutot Exp $
COMMENT= metadata database and search tool
GNOME_PROJECT= tracker
GNOME_VERSION= 2.3.4
REVISION= 0
REVISION= 1
# there is already audio/tracker, so this port has to live
# as meta-tracker
@ -34,7 +34,8 @@ MODPY_RUNDEP= No
TEST_DEPENDS= devel/py-gobject3,${MODPY_FLAVOR}
BUILD_DEPENDS= x11/dbus
BUILD_DEPENDS= shells/bash-completion \
x11/dbus
LIB_DEPENDS= devel/json-glib \
devel/libsoup \