pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/avahi avahi: remove (default-off) gtk2 option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b2f8b0e2d7c
branches:  trunk
changeset: 413989:6b2f8b0e2d7c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Mar 23 15:56:55 2020 +0000

description:
avahi: remove (default-off) gtk2 option

The gtk3 option still remains, and this package has too many options already.
(Also, the gtk2 and python didn't work cleanly with each other.)

diffstat:

 net/avahi/Makefile      |   4 +++-
 net/avahi/PLIST         |   7 +------
 net/avahi/buildlink3.mk |   6 +-----
 net/avahi/options.mk    |  15 +++------------
 4 files changed, 8 insertions(+), 24 deletions(-)

diffs (113 lines):

diff -r bfe6a13b11d7 -r 6b2f8b0e2d7c net/avahi/Makefile
--- a/net/avahi/Makefile        Mon Mar 23 15:56:52 2020 +0000
+++ b/net/avahi/Makefile        Mon Mar 23 15:56:55 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2020/03/23 09:22:07 nia Exp $
+# $NetBSD: Makefile,v 1.92 2020/03/23 15:56:55 wiz Exp $
 
 DISTNAME=              avahi-0.6.32
 PKGREVISION=           22
@@ -19,6 +19,8 @@
 USE_TOOLS+=            pkg-config gmake intltool msgfmt xgettext
 MAKE_JOBS_SAFE=                no
 
+CONFIGURE_ARGS+=       --disable-gtk
+
 PKGCONFIG_OVERRIDE+=   avahi-client.pc.in
 PKGCONFIG_OVERRIDE+=   avahi-compat-howl.pc.in
 PKGCONFIG_OVERRIDE+=   avahi-compat-libdns_sd.pc.in
diff -r bfe6a13b11d7 -r 6b2f8b0e2d7c net/avahi/PLIST
--- a/net/avahi/PLIST   Mon Mar 23 15:56:52 2020 +0000
+++ b/net/avahi/PLIST   Mon Mar 23 15:56:55 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2020/03/23 11:49:58 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.18 2020/03/23 15:56:55 wiz Exp $
 bin/avahi-browse
 bin/avahi-browse-domains
 ${PLIST.ui}bin/avahi-discover-standalone
@@ -53,7 +53,6 @@
 lib/libavahi-glib.la
 lib/libavahi-gobject.la
 ${PLIST.gtk3}lib/libavahi-ui-gtk3.la
-${PLIST.gtk2}lib/libavahi-ui.la
 ${PLIST.mono}lib/mono/avahi-sharp/avahi-sharp.dll
 ${PLIST.mono}lib/mono/avahi-ui-sharp/avahi-ui-sharp.dll
 ${PLIST.mono}lib/mono/gac/avahi-sharp/1.0.0.0__4d116c78973743f5/avahi-sharp.dll
@@ -69,7 +68,6 @@
 ${PLIST.mono}lib/pkgconfig/avahi-sharp.pc
 ${PLIST.gtk3}lib/pkgconfig/avahi-ui-gtk3.pc
 ${PLIST.mono}lib/pkgconfig/avahi-ui-sharp.pc
-${PLIST.gtk2}lib/pkgconfig/avahi-ui.pc
 man/man1/avahi-browse-domains.1
 man/man1/avahi-browse.1
 man/man1/avahi-publish-address.1
@@ -79,8 +77,6 @@
 man/man1/avahi-resolve-host-name.1
 man/man1/avahi-resolve.1
 man/man1/avahi-set-host-name.1
-${PLIST.gtk2}man/man1/bssh.1
-${PLIST.gtk2}man/man1/bvnc.1
 man/man5/avahi-daemon.conf.5
 man/man5/avahi.hosts.5
 man/man5/avahi.service.5
@@ -92,7 +88,6 @@
 ${PLIST.ui}share/applications/bssh.desktop
 ${PLIST.ui}share/applications/bvnc.desktop
 share/avahi/avahi-service.dtd
-${PLIST.gtk2}${PLIST.ui}share/avahi/interfaces/avahi-discover.ui
 share/avahi/service-types
 share/dbus-1/interfaces/org.freedesktop.Avahi.AddressResolver.xml
 share/dbus-1/interfaces/org.freedesktop.Avahi.DomainBrowser.xml
diff -r bfe6a13b11d7 -r 6b2f8b0e2d7c net/avahi/buildlink3.mk
--- a/net/avahi/buildlink3.mk   Mon Mar 23 15:56:52 2020 +0000
+++ b/net/avahi/buildlink3.mk   Mon Mar 23 15:56:55 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.43 2020/03/10 22:08:56 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.44 2020/03/23 15:56:55 wiz Exp $
 
 BUILDLINK_TREE+=       avahi
 
@@ -16,10 +16,6 @@
 .  include "../../databases/gdbm/buildlink3.mk"
 .endif
 
-.if !empty(PKG_BUILD_OPTIONS.avahi:Mgtk2)
-.include "../../x11/gtk2/buildlink3.mk"
-.endif
-
 .if !empty(PKG_BUILD_OPTIONS.avahi:Mgtk3)
 .include "../../x11/gtk3/buildlink3.mk"
 .endif
diff -r bfe6a13b11d7 -r 6b2f8b0e2d7c net/avahi/options.mk
--- a/net/avahi/options.mk      Mon Mar 23 15:56:52 2020 +0000
+++ b/net/avahi/options.mk      Mon Mar 23 15:56:55 2020 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: options.mk,v 1.16 2020/03/23 09:22:07 nia Exp $
+# $NetBSD: options.mk,v 1.17 2020/03/23 15:56:55 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.avahi
-PKG_SUPPORTED_OPTIONS= avahi-howl gdbm introspection gtk2 gtk3 mono python
+PKG_SUPPORTED_OPTIONS= avahi-howl gdbm introspection gtk3 mono python
 PKG_SUPPORTED_OPTIONS+=        tests
 PKG_SUGGESTED_OPTIONS+=        gtk3
-PLIST_VARS+=           introspection gtk2 gtk3 mono ui
+PLIST_VARS+=           introspection gtk3 mono ui
 
 .include "../../mk/bsd.options.mk"
 
@@ -25,15 +25,6 @@
 CONFIGURE_ARGS+=       --disable-gdbm
 .endif
 
-.if !empty(PKG_OPTIONS:Mgtk2)
-BUILDLINK_API_DEPENDS.gtk2+=   gtk2+>=2.14.0
-.include "../../x11/gtk2/buildlink3.mk"
-PLIST.gtk2=            yes
-PLIST.ui=              yes
-.else
-CONFIGURE_ARGS+=       --disable-gtk
-.endif
-
 .if !empty(PKG_OPTIONS:Mgtk3)
 .include "../../x11/gtk3/buildlink3.mk"
 PLIST.gtk3=            yes



Home | Main Index | Thread Index | Old Index