From d5f2a9295cccc42f25af66b8a45ad84faffce6f2 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 14 Feb 2023 13:01:58 +0000 Subject: [PATCH] libnotify: update to 0.8.1. Remove gtk3 build dependency, only needed for tests. New in 0.8.1 ============ * Keep version of bindings at 0.7 (#27) [Marco] New in 0.8.0 ============ * Use Desktop Portal Notification when running confined (snap and flatpak) Now the library acts like a wrapper in such scenario, with some limited capabilities, but this will enforce security and user control over the allowed notifications. [Marco] * notify-send: Handles SIGINT gracefully, closing waiting notification [Marco] * Use NotifyClosedReason enum as closed reason return value [Marco] * Bump dependency on GLib 2.38 [Marco] * Various introspection docs improvements and fixes [Marco] --- sysutils/libnotify/Makefile | 17 ++++++++++------- sysutils/libnotify/distinfo | 8 ++++---- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/sysutils/libnotify/Makefile b/sysutils/libnotify/Makefile index fbca5b080b41..67cbd2fdcca9 100644 --- a/sysutils/libnotify/Makefile +++ b/sysutils/libnotify/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.72 2023/01/29 21:17:48 ryoon Exp $ +# $NetBSD: Makefile,v 1.73 2023/02/14 13:01:58 wiz Exp $ -DISTNAME= libnotify-0.7.12 -PKGREVISION= 4 +DISTNAME= libnotify-0.8.1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libnotify/${PKGVERSION_NOREV:R}/} EXTRACT_SUFX= .tar.xz @@ -21,9 +20,12 @@ USE_TOOLS+= pkg-config PKGCONFIG_OVERRIDE= output/meson-private/libnotify.pc PKGCONFIG_OVERRIDE_STAGE= pre-install -MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/${PKGBASE} +# for testing +#MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/${PKGBASE} MESON_ARGS+= -Dintrospection=enabled +# no tests are included +MESON_ARGS+= -Dtests=false # Apply removals to post-wrapper transformed arguments. BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script @@ -34,11 +36,12 @@ PYTHON_FOR_BUILD_ONLY= tool .include "options.mk" .include "../../graphics/gdk-pixbuf2/buildlink3.mk" -BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0 +BUILDLINK_API_DEPENDS.glib2+= glib2>=2.38.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" +# gtk3 only needed by tests (which are not included) +#BUILDLINK_DEPMETHOD.gtk3= build +#.include "../../x11/gtk3/buildlink3.mk" .include "../../devel/meson/build.mk" .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/libnotify/distinfo b/sysutils/libnotify/distinfo index a676cc5c7453..aa6e6869d6f2 100644 --- a/sysutils/libnotify/distinfo +++ b/sysutils/libnotify/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.17 2022/05/30 15:58:30 adam Exp $ +$NetBSD: distinfo,v 1.18 2023/02/14 13:01:58 wiz Exp $ -BLAKE2s (libnotify-0.7.12.tar.xz) = ba0bf65ef535f8b17b66b34a1e267c8b25e2406c0561d2fa64e34d947e6f8e8f -SHA512 (libnotify-0.7.12.tar.xz) = 1ddbdc2ea7ba653ea54169db9ed3d471f6e3421ef29e486c9b8d36837a655bcd613d0f07a8cf1253b87c42a2651e2f1634145622d8624d91e4223452deb99f1b -Size (libnotify-0.7.12.tar.xz) = 102032 bytes +BLAKE2s (libnotify-0.8.1.tar.xz) = 94ddc18057b9d79fee266e88813db4e215f1fa75b02144db5b4fe51bc40b3b36 +SHA512 (libnotify-0.8.1.tar.xz) = 464b7ff9f2f6268919f336bd9c6f8c243c29282ba6ada7e491ab514b3630977a319dfa522705c68e17fff2d87effc75e009d656bc46c5e92917ad64e66b25320 +Size (libnotify-0.8.1.tar.xz) = 105368 bytes SHA1 (patch-meson.build) = f3196637712abebfd8abed59bdf04395c04fe099