avahi: Switch to gtk3 and avoid needing Python 2 Fix PLISTs to accomodate these things. Bump PKGREVISIONdiff -r1.90 -r1.91 pkgsrc/net/avahi/Makefile
(nia)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.90 2020/03/10 22:08:56 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.91 2020/03/23 09:22:07 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= avahi-0.6.32 | 3 | DISTNAME= avahi-0.6.32 | |
4 | PKGREVISION= 21 | 4 | PKGREVISION= 22 | |
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= https://avahi.org/ | 9 | HOMEPAGE= https://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 | |||
15 | GNU_CONFIGURE= YES | 15 | GNU_CONFIGURE= YES | |
16 | USE_LIBTOOL= YES | 16 | USE_LIBTOOL= YES | |
17 | USE_PKGINSTALL= YES | 17 | USE_PKGINSTALL= YES | |
@@ -69,26 +69,27 @@ CONF_FILES+= ${PREFIX}/share/examples/a | @@ -69,26 +69,27 @@ CONF_FILES+= ${PREFIX}/share/examples/a | |||
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+= --disable-qt4 | |
82 | CONFIGURE_ARGS+= --disable-pygtk | |||
82 | CONFIGURE_ARGS+= --with-distro=none | 83 | CONFIGURE_ARGS+= --with-distro=none | |
83 | 84 | |||
84 | INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples | 85 | INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples | |
85 | INSTALL_MAKE_FLAGS+= dbusservicedir=${PREFIX}/share/examples/avahi | 86 | INSTALL_MAKE_FLAGS+= dbusservicedir=${PREFIX}/share/examples/avahi | |
86 | 87 | |||
87 | INSTALLATION_DIRS+= share/doc/avahi | 88 | INSTALLATION_DIRS+= share/doc/avahi | |
88 | 89 | |||
89 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/services | 90 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/services | |
90 | 91 | |||
91 | post-install: | 92 | post-install: | |
92 | ${INSTALL_DATA} ${WRKSRC}/docs/HACKING ${DESTDIR}${PREFIX}/share/doc/avahi | 93 | ${INSTALL_DATA} ${WRKSRC}/docs/HACKING ${DESTDIR}${PREFIX}/share/doc/avahi | |
93 | ${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${DESTDIR}${PREFIX}/share/doc/avahi | 94 | ${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${DESTDIR}${PREFIX}/share/doc/avahi | |
94 | ${INSTALL_DATA} ${WRKSRC}/docs/NEWS ${DESTDIR}${PREFIX}/share/doc/avahi | 95 | ${INSTALL_DATA} ${WRKSRC}/docs/NEWS ${DESTDIR}${PREFIX}/share/doc/avahi |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.15 2019/10/27 14:46:09 kamil Exp $ | 1 | @comment $NetBSD: PLIST,v 1.16 2020/03/23 09:22:07 nia 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,27 +34,27 @@ include/avahi-core/core.h | @@ -34,27 +34,27 @@ 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.gtk2}include/avahi-ui/avahi-ui.h | 47 | ${PLIST.ui}include/avahi-ui/avahi-ui.h | |
48 | ${PLIST.introspection}lib/girepository-1.0/Avahi-0.6.typelib | 48 | ${PLIST.introspection}lib/girepository-1.0/Avahi-0.6.typelib | |
49 | ${PLIST.introspection}lib/girepository-1.0/AvahiCore-0.6.typelib | 49 | ${PLIST.introspection}lib/girepository-1.0/AvahiCore-0.6.typelib | |
50 | lib/libavahi-client.la | 50 | lib/libavahi-client.la | |
51 | lib/libavahi-common.la | 51 | lib/libavahi-common.la | |
52 | lib/libavahi-core.la | 52 | lib/libavahi-core.la | |
53 | lib/libavahi-glib.la | 53 | lib/libavahi-glib.la | |
54 | lib/libavahi-gobject.la | 54 | lib/libavahi-gobject.la | |
55 | ${PLIST.gtk3}lib/libavahi-ui-gtk3.la | 55 | ${PLIST.gtk3}lib/libavahi-ui-gtk3.la | |
56 | ${PLIST.gtk2}lib/libavahi-ui.la | 56 | ${PLIST.gtk2}lib/libavahi-ui.la | |
57 | ${PLIST.mono}lib/mono/avahi-sharp/avahi-sharp.dll | 57 | ${PLIST.mono}lib/mono/avahi-sharp/avahi-sharp.dll | |
58 | ${PLIST.mono}lib/mono/avahi-ui-sharp/avahi-ui-sharp.dll | 58 | ${PLIST.mono}lib/mono/avahi-ui-sharp/avahi-ui-sharp.dll | |
59 | ${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 | |
60 | ${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 | |
@@ -69,28 +69,28 @@ lib/pkgconfig/avahi-gobject.pc | @@ -69,28 +69,28 @@ lib/pkgconfig/avahi-gobject.pc | |||
69 | ${PLIST.mono}lib/pkgconfig/avahi-sharp.pc | 69 | ${PLIST.mono}lib/pkgconfig/avahi-sharp.pc | |
70 | ${PLIST.gtk3}lib/pkgconfig/avahi-ui-gtk3.pc | 70 | ${PLIST.gtk3}lib/pkgconfig/avahi-ui-gtk3.pc | |
71 | ${PLIST.mono}lib/pkgconfig/avahi-ui-sharp.pc | 71 | ${PLIST.mono}lib/pkgconfig/avahi-ui-sharp.pc | |
72 | ${PLIST.gtk2}lib/pkgconfig/avahi-ui.pc | 72 | ${PLIST.gtk2}lib/pkgconfig/avahi-ui.pc | |
73 | man/man1/avahi-browse-domains.1 | 73 | man/man1/avahi-browse-domains.1 | |
74 | man/man1/avahi-browse.1 | 74 | man/man1/avahi-browse.1 | |
75 | man/man1/avahi-publish-address.1 | 75 | man/man1/avahi-publish-address.1 | |
76 | man/man1/avahi-publish-service.1 | 76 | man/man1/avahi-publish-service.1 | |
77 | man/man1/avahi-publish.1 | 77 | man/man1/avahi-publish.1 | |
78 | man/man1/avahi-resolve-address.1 | 78 | man/man1/avahi-resolve-address.1 | |
79 | man/man1/avahi-resolve-host-name.1 | 79 | man/man1/avahi-resolve-host-name.1 | |
80 | man/man1/avahi-resolve.1 | 80 | man/man1/avahi-resolve.1 | |
81 | man/man1/avahi-set-host-name.1 | 81 | man/man1/avahi-set-host-name.1 | |
82 | ${PLIST.ui}man/man1/bssh.1 | 82 | ${PLIST.gtk2}man/man1/bssh.1 | |
83 | ${PLIST.ui}man/man1/bvnc.1 | 83 | ${PLIST.gtk2}man/man1/bvnc.1 | |
84 | man/man5/avahi-daemon.conf.5 | 84 | man/man5/avahi-daemon.conf.5 | |
85 | man/man5/avahi.hosts.5 | 85 | man/man5/avahi.hosts.5 | |
86 | man/man5/avahi.service.5 | 86 | man/man5/avahi.service.5 | |
87 | man/man8/avahi-daemon.8 | 87 | man/man8/avahi-daemon.8 | |
88 | man/man8/avahi-dnsconfd.8 | 88 | man/man8/avahi-dnsconfd.8 | |
89 | man/man8/avahi-dnsconfd.action.8 | 89 | man/man8/avahi-dnsconfd.action.8 | |
90 | sbin/avahi-daemon | 90 | sbin/avahi-daemon | |
91 | sbin/avahi-dnsconfd | 91 | sbin/avahi-dnsconfd | |
92 | ${PLIST.ui}share/applications/bssh.desktop | 92 | ${PLIST.ui}share/applications/bssh.desktop | |
93 | ${PLIST.ui}share/applications/bvnc.desktop | 93 | ${PLIST.ui}share/applications/bvnc.desktop | |
94 | share/avahi/avahi-service.dtd | 94 | share/avahi/avahi-service.dtd | |
95 | ${PLIST.ui}share/avahi/interfaces/avahi-discover.ui | 95 | ${PLIST.ui}share/avahi/interfaces/avahi-discover.ui | |
96 | share/avahi/service-types | 96 | share/avahi/service-types |
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | # $NetBSD: options.mk,v 1.15 2020/01/26 12:36:34 nia Exp $ | 1 | # $NetBSD: options.mk,v 1.16 2020/03/23 09:22:07 nia 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+= tests | 5 | PKG_SUPPORTED_OPTIONS+= tests | |
6 | PKG_SUGGESTED_OPTIONS+= gtk2 | 6 | PKG_SUGGESTED_OPTIONS+= gtk3 | |
7 | PLIST_VARS+= introspection gtk2 gtk3 mono 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 | ### | |
@@ -54,36 +54,33 @@ CONFIGURE_ARGS+= --enable-introspection= | @@ -54,36 +54,33 @@ CONFIGURE_ARGS+= --enable-introspection= | |||
54 | .include "../../x11/gtk-sharp/buildlink3.mk" | 54 | .include "../../x11/gtk-sharp/buildlink3.mk" | |
55 | .include "../../lang/mono/buildlink3.mk" | 55 | .include "../../lang/mono/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 | ### | 62 | ### | |
63 | ### Enable python support | 63 | ### Enable python support | |
64 | ### | 64 | ### | |
65 | .if !empty(PKG_OPTIONS:Mpython) | 65 | .if !empty(PKG_OPTIONS:Mpython) | |
66 | PY_PATCHPLIST= yes | 66 | PY_PATCHPLIST= yes | |
67 | PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2 | |||
68 | . include "../../lang/python/application.mk" | 67 | . include "../../lang/python/application.mk" | |
69 | REPLACE_PYTHON+= avahi-python/avahi-discover/__init__.py | 68 | REPLACE_PYTHON+= avahi-python/avahi-discover/__init__.py | |
70 | . include "../../lang/python/extension.mk" | 69 | . include "../../lang/python/extension.mk" | |
71 | . include "../../sysutils/py-dbus/buildlink3.mk" | 70 | . include "../../sysutils/py-dbus/buildlink3.mk" | |
72 | . include "../../x11/py-gtk2/buildlink3.mk" | |||
73 | DEPENDS+= ${PYPKGPREFIX}-libxml2-[0-9]*:../../textproc/py-libxml2 | 71 | DEPENDS+= ${PYPKGPREFIX}-libxml2-[0-9]*:../../textproc/py-libxml2 | |
74 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | 72 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | |
75 | ### If python and gdbm are enabled we need py-gdbm as well | 73 | ### If python and gdbm are enabled we need py-gdbm as well | |
76 | . if !empty(PKG_OPTIONS:Mgdbm) | 74 | . if !empty(PKG_OPTIONS:Mgdbm) | |
77 | DEPENDS+= ${PYPKGPREFIX}-gdbm-[0-9]*:../../databases/py-gdbm | 75 | DEPENDS+= ${PYPKGPREFIX}-gdbm-[0-9]*:../../databases/py-gdbm | |
78 | PLIST_SRC+= ${PKGDIR}/PLIST.pygdbm | 76 | PLIST_SRC+= ${PKGDIR}/PLIST.pygdbm | |
79 | . endif | 77 | . endif | |
80 | PLIST_SRC+= ${PKGDIR}/PLIST.python | 78 | PLIST_SRC+= ${PKGDIR}/PLIST.python | |
81 | .else | 79 | .else | |
82 | CONFIGURE_ARGS+= --disable-python | 80 | CONFIGURE_ARGS+= --disable-python | |
83 | CONFIGURE_ARGS+= --disable-python-dbus | 81 | CONFIGURE_ARGS+= --disable-python-dbus | |
84 | CONFIGURE_ARGS+= --disable-pygtk | |||
85 | .endif | 82 | .endif | |
86 | 83 | |||
87 | .if !empty(PKG_OPTIONS:Mtests) | 84 | .if !empty(PKG_OPTIONS:Mtests) | |
88 | CONFIGURE_ARGS+= --enable-tests | 85 | CONFIGURE_ARGS+= --enable-tests | |
89 | .endif | 86 | .endif |
@@ -1,7 +1,6 @@ | @@ -1,7 +1,6 @@ | |||
1 | @comment $NetBSD: PLIST.python,v 1.4 2010/07/24 13:42:12 obache Exp $ | 1 | @comment $NetBSD: PLIST.python,v 1.5 2020/03/23 09:22:07 nia Exp $ | |
2 | ${PYSITELIB}/avahi/__init__.py | 2 | ${PYSITELIB}/avahi/__init__.py | |
3 | ${PYSITELIB}/avahi/__init__.pyc | 3 | ${PYSITELIB}/avahi/__init__.pyc | |
4 | ${PYSITELIB}/avahi/__init__.pyo | 4 | ${PYSITELIB}/avahi/__init__.pyo | |
5 | bin/avahi-bookmarks | 5 | bin/avahi-bookmarks | |
6 | man/man1/avahi-bookmarks.1 | 6 | man/man1/avahi-bookmarks.1 | |
7 | man/man1/avahi-discover.1 |