avahi: Remove the qt (disabled by default) option qt4 is EOL.diff -r1.86 -r1.87 pkgsrc/net/avahi/Makefile
(kamil)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.86 2019/07/21 22:24:09 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.87 2019/10/27 14:46:09 kamil Exp $ | |
2 | 2 | |||
3 | DISTNAME= avahi-0.6.32 | 3 | DISTNAME= avahi-0.6.32 | |
4 | PKGREVISION= 19 | 4 | PKGREVISION= 19 | |
5 | CATEGORIES= net | 5 | CATEGORIES= net | |
6 | MASTER_SITES= https://github.com/lathiat/avahi/releases/download/v${PKGVERSION_NOREV}/ | 6 | MASTER_SITES= https://github.com/lathiat/avahi/releases/download/v${PKGVERSION_NOREV}/ | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://avahi.org/ | 9 | HOMEPAGE= http://avahi.org/ | |
10 | COMMENT= Facilitate service discovery on a local network | 10 | COMMENT= Facilitate service discovery on a local network | |
11 | LICENSE= gnu-lgpl-v2.1 | 11 | LICENSE= gnu-lgpl-v2.1 | |
12 | 12 | |||
13 | EXTRACT_USING= bsdtar | 13 | EXTRACT_USING= bsdtar | |
14 | 14 | |||
@@ -68,26 +68,27 @@ CONF_FILES+= ${PREFIX}/share/examples/a | @@ -68,26 +68,27 @@ CONF_FILES+= ${PREFIX}/share/examples/a | |||
68 | 68 | |||
69 | CONFIGURE_ARGS+= --with-avahi-user=${AVAHI_USER} | 69 | CONFIGURE_ARGS+= --with-avahi-user=${AVAHI_USER} | |
70 | CONFIGURE_ARGS+= --with-avahi-group=${AVAHI_GROUP} | 70 | CONFIGURE_ARGS+= --with-avahi-group=${AVAHI_GROUP} | |
71 | CONFIGURE_ARGS+= --with-avahi_priv_access_group=${REAL_ROOT_GROUP} | 71 | CONFIGURE_ARGS+= --with-avahi_priv_access_group=${REAL_ROOT_GROUP} | |
72 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | 72 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | |
73 | CONFIGURE_ARGS+= --with-dbus-system-socket=${VARBASE}/run/dbus/system_bus_socket | 73 | CONFIGURE_ARGS+= --with-dbus-system-socket=${VARBASE}/run/dbus/system_bus_socket | |
74 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE} | 74 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE} | |
75 | CONFIGURE_ARGS+= --disable-doxygen-doc | 75 | CONFIGURE_ARGS+= --disable-doxygen-doc | |
76 | CONFIGURE_ARGS+= --disable-doxygen-dot | 76 | CONFIGURE_ARGS+= --disable-doxygen-dot | |
77 | CONFIGURE_ARGS+= --disable-doxygen-html --disable-doxygen-xml | 77 | CONFIGURE_ARGS+= --disable-doxygen-html --disable-doxygen-xml | |
78 | CONFIGURE_ARGS+= --disable-xmltoman | 78 | CONFIGURE_ARGS+= --disable-xmltoman | |
79 | CONFIGURE_ARGS+= --disable-autoipd | 79 | CONFIGURE_ARGS+= --disable-autoipd | |
80 | CONFIGURE_ARGS+= --disable-qt3 | 80 | CONFIGURE_ARGS+= --disable-qt3 | |
81 | CONFIGURE_ARGS+= --disable-qt4 | |||
81 | CONFIGURE_ARGS+= --with-distro=none | 82 | CONFIGURE_ARGS+= --with-distro=none | |
82 | 83 | |||
83 | INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples | 84 | INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples | |
84 | INSTALL_MAKE_FLAGS+= dbusservicedir=${PREFIX}/share/examples/avahi | 85 | INSTALL_MAKE_FLAGS+= dbusservicedir=${PREFIX}/share/examples/avahi | |
85 | 86 | |||
86 | INSTALLATION_DIRS+= share/doc/avahi | 87 | INSTALLATION_DIRS+= share/doc/avahi | |
87 | 88 | |||
88 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/services | 89 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/services | |
89 | 90 | |||
90 | post-install: | 91 | post-install: | |
91 | ${INSTALL_DATA} ${WRKSRC}/docs/HACKING ${DESTDIR}${PREFIX}/share/doc/avahi | 92 | ${INSTALL_DATA} ${WRKSRC}/docs/HACKING ${DESTDIR}${PREFIX}/share/doc/avahi | |
92 | ${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${DESTDIR}${PREFIX}/share/doc/avahi | 93 | ${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${DESTDIR}${PREFIX}/share/doc/avahi | |
93 | ${INSTALL_DATA} ${WRKSRC}/docs/NEWS ${DESTDIR}${PREFIX}/share/doc/avahi | 94 | ${INSTALL_DATA} ${WRKSRC}/docs/NEWS ${DESTDIR}${PREFIX}/share/doc/avahi |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.14 2018/01/01 22:29:46 rillig Exp $ | 1 | @comment $NetBSD: PLIST,v 1.15 2019/10/27 14:46:09 kamil Exp $ | |
2 | bin/avahi-browse | 2 | bin/avahi-browse | |
3 | bin/avahi-browse-domains | 3 | bin/avahi-browse-domains | |
4 | ${PLIST.ui}bin/avahi-discover-standalone | 4 | ${PLIST.ui}bin/avahi-discover-standalone | |
5 | bin/avahi-publish | 5 | bin/avahi-publish | |
6 | bin/avahi-publish-address | 6 | bin/avahi-publish-address | |
7 | bin/avahi-publish-service | 7 | bin/avahi-publish-service | |
8 | bin/avahi-resolve | 8 | bin/avahi-resolve | |
9 | bin/avahi-resolve-address | 9 | bin/avahi-resolve-address | |
10 | bin/avahi-resolve-host-name | 10 | bin/avahi-resolve-host-name | |
11 | bin/avahi-set-host-name | 11 | bin/avahi-set-host-name | |
12 | ${PLIST.ui}bin/bshell | 12 | ${PLIST.ui}bin/bshell | |
13 | ${PLIST.ui}bin/bssh | 13 | ${PLIST.ui}bin/bssh | |
14 | ${PLIST.ui}bin/bvnc | 14 | ${PLIST.ui}bin/bvnc | |
@@ -34,51 +34,48 @@ include/avahi-core/core.h | @@ -34,51 +34,48 @@ include/avahi-core/core.h | |||
34 | include/avahi-core/log.h | 34 | include/avahi-core/log.h | |
35 | include/avahi-core/lookup.h | 35 | include/avahi-core/lookup.h | |
36 | include/avahi-core/publish.h | 36 | include/avahi-core/publish.h | |
37 | include/avahi-core/rr.h | 37 | include/avahi-core/rr.h | |
38 | include/avahi-glib/glib-malloc.h | 38 | include/avahi-glib/glib-malloc.h | |
39 | include/avahi-glib/glib-watch.h | 39 | include/avahi-glib/glib-watch.h | |
40 | include/avahi-gobject/ga-client.h | 40 | include/avahi-gobject/ga-client.h | |
41 | include/avahi-gobject/ga-entry-group.h | 41 | include/avahi-gobject/ga-entry-group.h | |
42 | include/avahi-gobject/ga-enums.h | 42 | include/avahi-gobject/ga-enums.h | |
43 | include/avahi-gobject/ga-error.h | 43 | include/avahi-gobject/ga-error.h | |
44 | include/avahi-gobject/ga-record-browser.h | 44 | include/avahi-gobject/ga-record-browser.h | |
45 | include/avahi-gobject/ga-service-browser.h | 45 | include/avahi-gobject/ga-service-browser.h | |
46 | include/avahi-gobject/ga-service-resolver.h | 46 | include/avahi-gobject/ga-service-resolver.h | |
47 | ${PLIST.qt}include/avahi-qt4/qt-watch.h | |||
48 | ${PLIST.gtk2}include/avahi-ui/avahi-ui.h | 47 | ${PLIST.gtk2}include/avahi-ui/avahi-ui.h | |
49 | ${PLIST.introspection}lib/girepository-1.0/Avahi-0.6.typelib | 48 | ${PLIST.introspection}lib/girepository-1.0/Avahi-0.6.typelib | |
50 | ${PLIST.introspection}lib/girepository-1.0/AvahiCore-0.6.typelib | 49 | ${PLIST.introspection}lib/girepository-1.0/AvahiCore-0.6.typelib | |
51 | lib/libavahi-client.la | 50 | lib/libavahi-client.la | |
52 | lib/libavahi-common.la | 51 | lib/libavahi-common.la | |
53 | lib/libavahi-core.la | 52 | lib/libavahi-core.la | |
54 | lib/libavahi-glib.la | 53 | lib/libavahi-glib.la | |
55 | lib/libavahi-gobject.la | 54 | lib/libavahi-gobject.la | |
56 | ${PLIST.qt}lib/libavahi-qt4.la | |||
57 | ${PLIST.gtk3}lib/libavahi-ui-gtk3.la | 55 | ${PLIST.gtk3}lib/libavahi-ui-gtk3.la | |
58 | ${PLIST.gtk2}lib/libavahi-ui.la | 56 | ${PLIST.gtk2}lib/libavahi-ui.la | |
59 | ${PLIST.mono}lib/mono/avahi-sharp/avahi-sharp.dll | 57 | ${PLIST.mono}lib/mono/avahi-sharp/avahi-sharp.dll | |
60 | ${PLIST.mono}lib/mono/avahi-ui-sharp/avahi-ui-sharp.dll | 58 | ${PLIST.mono}lib/mono/avahi-ui-sharp/avahi-ui-sharp.dll | |
61 | ${PLIST.mono}lib/mono/gac/avahi-sharp/1.0.0.0__4d116c78973743f5/avahi-sharp.dll | 59 | ${PLIST.mono}lib/mono/gac/avahi-sharp/1.0.0.0__4d116c78973743f5/avahi-sharp.dll | |
62 | ${PLIST.mono}lib/mono/gac/avahi-sharp/1.0.0.0__4d116c78973743f5/avahi-sharp.dll.config | 60 | ${PLIST.mono}lib/mono/gac/avahi-sharp/1.0.0.0__4d116c78973743f5/avahi-sharp.dll.config | |
63 | ${PLIST.mono}lib/mono/gac/avahi-sharp/1.0.0.0__4d116c78973743f5/avahi-sharp.dll.mdb | 61 | ${PLIST.mono}lib/mono/gac/avahi-sharp/1.0.0.0__4d116c78973743f5/avahi-sharp.dll.mdb | |
64 | ${PLIST.mono}lib/mono/gac/avahi-ui-sharp/0.0.0.0__4d116c78973743f5/avahi-ui-sharp.dll | 62 | ${PLIST.mono}lib/mono/gac/avahi-ui-sharp/0.0.0.0__4d116c78973743f5/avahi-ui-sharp.dll | |
65 | ${PLIST.mono}lib/mono/gac/avahi-ui-sharp/0.0.0.0__4d116c78973743f5/avahi-ui-sharp.dll.config | 63 | ${PLIST.mono}lib/mono/gac/avahi-ui-sharp/0.0.0.0__4d116c78973743f5/avahi-ui-sharp.dll.config | |
66 | ${PLIST.mono}lib/mono/gac/avahi-ui-sharp/0.0.0.0__4d116c78973743f5/avahi-ui-sharp.dll.mdb | 64 | ${PLIST.mono}lib/mono/gac/avahi-ui-sharp/0.0.0.0__4d116c78973743f5/avahi-ui-sharp.dll.mdb | |
67 | lib/pkgconfig/avahi-client.pc | 65 | lib/pkgconfig/avahi-client.pc | |
68 | lib/pkgconfig/avahi-core.pc | 66 | lib/pkgconfig/avahi-core.pc | |
69 | lib/pkgconfig/avahi-glib.pc | 67 | lib/pkgconfig/avahi-glib.pc | |
70 | lib/pkgconfig/avahi-gobject.pc | 68 | lib/pkgconfig/avahi-gobject.pc | |
71 | ${PLIST.qt}lib/pkgconfig/avahi-qt4.pc | |||
72 | ${PLIST.mono}lib/pkgconfig/avahi-sharp.pc | 69 | ${PLIST.mono}lib/pkgconfig/avahi-sharp.pc | |
73 | ${PLIST.gtk3}lib/pkgconfig/avahi-ui-gtk3.pc | 70 | ${PLIST.gtk3}lib/pkgconfig/avahi-ui-gtk3.pc | |
74 | ${PLIST.mono}lib/pkgconfig/avahi-ui-sharp.pc | 71 | ${PLIST.mono}lib/pkgconfig/avahi-ui-sharp.pc | |
75 | ${PLIST.gtk2}lib/pkgconfig/avahi-ui.pc | 72 | ${PLIST.gtk2}lib/pkgconfig/avahi-ui.pc | |
76 | man/man1/avahi-browse-domains.1 | 73 | man/man1/avahi-browse-domains.1 | |
77 | man/man1/avahi-browse.1 | 74 | man/man1/avahi-browse.1 | |
78 | man/man1/avahi-publish-address.1 | 75 | man/man1/avahi-publish-address.1 | |
79 | man/man1/avahi-publish-service.1 | 76 | man/man1/avahi-publish-service.1 | |
80 | man/man1/avahi-publish.1 | 77 | man/man1/avahi-publish.1 | |
81 | man/man1/avahi-resolve-address.1 | 78 | man/man1/avahi-resolve-address.1 | |
82 | man/man1/avahi-resolve-host-name.1 | 79 | man/man1/avahi-resolve-host-name.1 | |
83 | man/man1/avahi-resolve.1 | 80 | man/man1/avahi-resolve.1 | |
84 | man/man1/avahi-set-host-name.1 | 81 | man/man1/avahi-set-host-name.1 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.40 2019/07/21 22:24:09 wiz Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.41 2019/10/27 14:46:09 kamil Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= avahi | 3 | BUILDLINK_TREE+= avahi | |
4 | 4 | |||
5 | .if !defined(AVAHI_BUILDLINK3_MK) | 5 | .if !defined(AVAHI_BUILDLINK3_MK) | |
6 | AVAHI_BUILDLINK3_MK:= | 6 | AVAHI_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.avahi+= avahi>=0.6.23 | 8 | BUILDLINK_API_DEPENDS.avahi+= avahi>=0.6.23 | |
9 | BUILDLINK_ABI_DEPENDS.avahi+= avahi>=0.6.32nb19 | 9 | BUILDLINK_ABI_DEPENDS.avahi+= avahi>=0.6.32nb19 | |
10 | BUILDLINK_PKGSRCDIR.avahi?= ../../net/avahi | 10 | BUILDLINK_PKGSRCDIR.avahi?= ../../net/avahi | |
11 | 11 | |||
12 | pkgbase := avahi | 12 | pkgbase := avahi | |
13 | .include "../../mk/pkg-build-options.mk" | 13 | .include "../../mk/pkg-build-options.mk" | |
14 | 14 | |||
@@ -22,28 +22,24 @@ pkgbase := avahi | @@ -22,28 +22,24 @@ pkgbase := avahi | |||
22 | 22 | |||
23 | .if !empty(PKG_BUILD_OPTIONS.avahi:Mgtk3) | 23 | .if !empty(PKG_BUILD_OPTIONS.avahi:Mgtk3) | |
24 | .include "../../x11/gtk3/buildlink3.mk" | 24 | .include "../../x11/gtk3/buildlink3.mk" | |
25 | .endif | 25 | .endif | |
26 | 26 | |||
27 | .if !empty(PKG_BUILD_OPTIONS.avahi:Mintrospection) | 27 | .if !empty(PKG_BUILD_OPTIONS.avahi:Mintrospection) | |
28 | .include "../../devel/gobject-introspection/buildlink3.mk" | 28 | .include "../../devel/gobject-introspection/buildlink3.mk" | |
29 | .endif | 29 | .endif | |
30 | 30 | |||
31 | .if !empty(PKG_BUILD_OPTIONS.avahi:Mmono) | 31 | .if !empty(PKG_BUILD_OPTIONS.avahi:Mmono) | |
32 | .include "../../x11/gtk-sharp/buildlink3.mk" | 32 | .include "../../x11/gtk-sharp/buildlink3.mk" | |
33 | .endif | 33 | .endif | |
34 | 34 | |||
35 | .if !empty(PKG_BUILD_OPTIONS.avahi:Mqt) | |||
36 | .include "../../x11/qt4-libs/buildlink3.mk" | |||
37 | .endif | |||
38 | ||||
39 | .if !empty(PKG_BUILD_OPTIONS.avahi:Mpython) | 35 | .if !empty(PKG_BUILD_OPTIONS.avahi:Mpython) | |
40 | .include "../../lang/python/application.mk" | 36 | .include "../../lang/python/application.mk" | |
41 | .endif | 37 | .endif | |
42 | 38 | |||
43 | .include "../../devel/gettext-lib/buildlink3.mk" | 39 | .include "../../devel/gettext-lib/buildlink3.mk" | |
44 | .include "../../devel/glib2/buildlink3.mk" | 40 | .include "../../devel/glib2/buildlink3.mk" | |
45 | .include "../../sysutils/dbus/buildlink3.mk" | 41 | .include "../../sysutils/dbus/buildlink3.mk" | |
46 | .include "../../mk/pthread.buildlink3.mk" | 42 | .include "../../mk/pthread.buildlink3.mk" | |
47 | .endif # AVAHI_BUILDLINK3_MK | 43 | .endif # AVAHI_BUILDLINK3_MK | |
48 | 44 | |||
49 | BUILDLINK_TREE+= -avahi | 45 | BUILDLINK_TREE+= -avahi |
@@ -1,20 +1,20 @@ | @@ -1,20 +1,20 @@ | |||
1 | # $NetBSD: options.mk,v 1.13 2019/09/02 13:19:49 adam Exp $ | 1 | # $NetBSD: options.mk,v 1.14 2019/10/27 14:46:09 kamil Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.avahi | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.avahi | |
4 | PKG_SUPPORTED_OPTIONS= avahi-howl gdbm introspection gtk2 gtk3 mono python | 4 | PKG_SUPPORTED_OPTIONS= avahi-howl gdbm introspection gtk2 gtk3 mono python | |
5 | PKG_SUPPORTED_OPTIONS+= qt tests | 5 | PKG_SUPPORTED_OPTIONS+= tests | |
6 | PKG_SUGGESTED_OPTIONS+= gtk2 | 6 | PKG_SUGGESTED_OPTIONS+= gtk2 | |
7 | PLIST_VARS+= introspection gtk2 gtk3 mono qt ui | 7 | PLIST_VARS+= introspection gtk2 gtk3 mono ui | |
8 | 8 | |||
9 | .include "../../mk/bsd.options.mk" | 9 | .include "../../mk/bsd.options.mk" | |
10 | 10 | |||
11 | ### | 11 | ### | |
12 | ### Enable compatibility layer for HOWL | 12 | ### Enable compatibility layer for HOWL | |
13 | ### | 13 | ### | |
14 | .if !empty(PKG_OPTIONS:Mavahi-howl) | 14 | .if !empty(PKG_OPTIONS:Mavahi-howl) | |
15 | CONFIGURE_ARGS+= --enable-compat-howl | 15 | CONFIGURE_ARGS+= --enable-compat-howl | |
16 | PLIST_SRC+= ${PKGDIR}/PLIST.howl | 16 | PLIST_SRC+= ${PKGDIR}/PLIST.howl | |
17 | .endif | 17 | .endif | |
18 | 18 | |||
19 | ### | 19 | ### | |
20 | ### Enable gdbm support | 20 | ### Enable gdbm support | |
@@ -49,33 +49,26 @@ PLIST.introspection= yes | @@ -49,33 +49,26 @@ PLIST.introspection= yes | |||
49 | .else | 49 | .else | |
50 | CONFIGURE_ARGS+= --enable-introspection=no | 50 | CONFIGURE_ARGS+= --enable-introspection=no | |
51 | .endif | 51 | .endif | |
52 | 52 | |||
53 | .if !empty(PKG_OPTIONS:Mmono) | 53 | .if !empty(PKG_OPTIONS:Mmono) | |
54 | .include "../../x11/gtk-sharp/buildlink3.mk" | 54 | .include "../../x11/gtk-sharp/buildlink3.mk" | |
55 | .include "../../lang/mono2/buildlink3.mk" | 55 | .include "../../lang/mono2/buildlink3.mk" | |
56 | CONFIGURE_ARGS+= --disable-monodoc # XXX broken | 56 | CONFIGURE_ARGS+= --disable-monodoc # XXX broken | |
57 | PLIST.mono= yes | 57 | PLIST.mono= yes | |
58 | .else | 58 | .else | |
59 | CONFIGURE_ARGS+= --disable-mono --disable-monodoc | 59 | CONFIGURE_ARGS+= --disable-mono --disable-monodoc | |
60 | .endif | 60 | .endif | |
61 | 61 | |||
62 | .if !empty(PKG_OPTIONS:Mqt) | |||
63 | .include "../../x11/qt4-libs/buildlink3.mk" | |||
64 | PLIST.qt= yes | |||
65 | .else | |||
66 | CONFIGURE_ARGS+= --disable-qt4 | |||
67 | .endif | |||
68 | ||||
69 | ### | 62 | ### | |
70 | ### Enable python support | 63 | ### Enable python support | |
71 | ### | 64 | ### | |
72 | .if !empty(PKG_OPTIONS:Mpython) | 65 | .if !empty(PKG_OPTIONS:Mpython) | |
73 | PY_PATCHPLIST= yes | 66 | PY_PATCHPLIST= yes | |
74 | PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2 | 67 | PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2 | |
75 | . include "../../lang/python/application.mk" | 68 | . include "../../lang/python/application.mk" | |
76 | REPLACE_PYTHON+= avahi-python/avahi-discover/__init__.py | 69 | REPLACE_PYTHON+= avahi-python/avahi-discover/__init__.py | |
77 | . include "../../lang/python/extension.mk" | 70 | . include "../../lang/python/extension.mk" | |
78 | . include "../../sysutils/py-dbus/buildlink3.mk" | 71 | . include "../../sysutils/py-dbus/buildlink3.mk" | |
79 | . include "../../x11/py-gtk2/buildlink3.mk" | 72 | . include "../../x11/py-gtk2/buildlink3.mk" | |
80 | DEPENDS+= ${PYPKGPREFIX}-libxml2-[0-9]*:../../textproc/py-libxml2 | 73 | DEPENDS+= ${PYPKGPREFIX}-libxml2-[0-9]*:../../textproc/py-libxml2 | |
81 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | 74 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat |