pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/libnotify libnotify: remove introspection opt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bedeb3e2fd7f
branches:  trunk
changeset: 380507:bedeb3e2fd7f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jun 07 18:07:16 2022 +0000

description:
libnotify: remove introspection option, enabling it by default

It was default-on, but bump PKGREVISION for those who had
it disabled.

diffstat:

 sysutils/libnotify/Makefile   |   6 +++++-
 sysutils/libnotify/PLIST      |   6 +++---
 sysutils/libnotify/options.mk |  17 ++++-------------
 3 files changed, 12 insertions(+), 17 deletions(-)

diffs (81 lines):

diff -r da9aad93dd47 -r bedeb3e2fd7f sysutils/libnotify/Makefile
--- a/sysutils/libnotify/Makefile       Tue Jun 07 18:04:04 2022 +0000
+++ b/sysutils/libnotify/Makefile       Tue Jun 07 18:07:16 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2022/05/30 15:58:30 adam Exp $
+# $NetBSD: Makefile,v 1.68 2022/06/07 18:07:16 wiz Exp $
 
 DISTNAME=      libnotify-0.7.12
 CATEGORIES=    sysutils gnome
@@ -22,6 +22,8 @@
 PKGCONFIG_OVERRIDE_STAGE=      pre-install
 MAKE_ENV+=                     LD_LIBRARY_PATH=${WRKSRC}/output/${PKGBASE}
 
+MESON_ARGS+=           -Dintrospection=enabled
+
 # Apply removals to post-wrapper transformed arguments.
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,${WRKSRC}/libnotify/libnotify.map
@@ -33,6 +35,8 @@
 .include "../../graphics/gdk-pixbuf2/buildlink3.mk"
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.26.0
 .include "../../devel/glib2/buildlink3.mk"
+BUILDLINK_DEPMETHOD.gobject-introspection=     build
+.include "../../devel/gobject-introspection/buildlink3.mk"
 BUILDLINK_DEPMETHOD.gtk3=      build
 .include "../../x11/gtk3/buildlink3.mk"
 .include "../../devel/meson/build.mk"
diff -r da9aad93dd47 -r bedeb3e2fd7f sysutils/libnotify/PLIST
--- a/sysutils/libnotify/PLIST  Tue Jun 07 18:04:04 2022 +0000
+++ b/sysutils/libnotify/PLIST  Tue Jun 07 18:07:16 2022 +0000
@@ -1,17 +1,17 @@
-@comment $NetBSD: PLIST,v 1.8 2020/03/07 15:11:42 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2022/06/07 18:07:16 wiz Exp $
 bin/notify-send
 include/libnotify/notification.h
 include/libnotify/notify-enum-types.h
 include/libnotify/notify-features.h
 include/libnotify/notify.h
-${PLIST.introspection}lib/girepository-1.0/Notify-0.7.typelib
+lib/girepository-1.0/Notify-0.7.typelib
 lib/libnotify.so
 lib/libnotify.so.4
 lib/libnotify.so.4.0.0
 lib/pkgconfig/libnotify.pc
 man/man1/notify-send.1
 ${PLIST.doc}share/doc/libnotify/spec/notification-spec.html
-${PLIST.introspection}share/gir-1.0/Notify-0.7.gir
+share/gir-1.0/Notify-0.7.gir
 ${PLIST.doc}share/gtk-doc/html/libnotify/NotifyNotification.html
 ${PLIST.doc}share/gtk-doc/html/libnotify/annotation-glossary.html
 ${PLIST.doc}share/gtk-doc/html/libnotify/api-index-deprecated.html
diff -r da9aad93dd47 -r bedeb3e2fd7f sysutils/libnotify/options.mk
--- a/sysutils/libnotify/options.mk     Tue Jun 07 18:04:04 2022 +0000
+++ b/sysutils/libnotify/options.mk     Tue Jun 07 18:07:16 2022 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.7 2019/08/25 11:54:34 leot Exp $
+# $NetBSD: options.mk,v 1.8 2022/06/07 18:07:16 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.libnotify
-PKG_SUPPORTED_OPTIONS= doc introspection
-PKG_SUGGESTED_OPTIONS= introspection
-PLIST_VARS+=           doc introspection
+PKG_SUPPORTED_OPTIONS= doc
+PKG_SUGGESTED_OPTIONS= # empty
+PLIST_VARS+=           doc
 
 .include "../../mk/bsd.options.mk"
 
@@ -17,12 +17,3 @@
 MESON_ARGS+=           -Ddocbook_docs=disabled
 MESON_ARGS+=           -Dgtk_doc=false
 .endif
-
-.if !empty(PKG_OPTIONS:Mintrospection)
-BUILDLINK_DEPMETHOD.gobject-introspection=     build
-.include "../../devel/gobject-introspection/buildlink3.mk"
-PLIST.introspection=   yes
-MESON_ARGS+=           -Dintrospection=enabled
-.else
-MESON_ARGS+=           -Dintrospection=disabled
-.endif



Home | Main Index | Thread Index | Old Index