diff --git a/sysutils/dunst/Makefile b/sysutils/dunst/Makefile index 3671f71f3c94..d233d12bc00a 100644 --- a/sysutils/dunst/Makefile +++ b/sysutils/dunst/Makefile @@ -1,70 +1,69 @@ PORTNAME= dunst DISTVERSIONPREFIX= v -DISTVERSION= 1.10.0 -PORTREVISION= 1 +DISTVERSION= 1.12.2 CATEGORIES= sysutils MAINTAINER= dmgk@FreeBSD.org COMMENT= Lightweight notification daemon WWW= https://dunst-project.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto LIB_DEPENDS= libdbus-1.so:devel/dbus \ libharfbuzz.so:print/harfbuzz USES= gmake gnome perl5 pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= dunst-project USE_GNOME= cairo gdkpixbuf2 pango USE_PERL5= build USE_XORG= x11 xext xinerama xrandr xscrnsaver MAKE_ARGS= MANPREFIX="${PREFIX}/share/man" SYSCONFDIR="${PREFIX}/etc" \ SYSTEMD=0 OPTIONS_DEFINE= DUNSTIFY WAYLAND OPTIONS_DEFAULT= DUNSTIFY WAYLAND DUNSTIFY_DESC= Install dunstify (alternative to the notify-send) DUNSTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify DUNSTIFY_PLIST_FILES= bin/dunstify WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_MAKE_ENV_OFF= WAYLAND=0 post-patch: @${REINPLACE_CMD} \ -e 's,/usr/bin,${PREFIX}/bin,g' \ -e 's,/usr/share,${PREFIX}/share,g' \ -e 's,/etc,${PREFIX}&,g' \ ${WRKSRC}/docs/dunst.?.pod \ ${WRKSRC}/dunstrc \ ${WRKSRC}/src/settings_data.h \ ${WRKSRC}/src/icon-lookup.c post-patch-DUNSTIFY-off: @${REINPLACE_CMD} -e '/^all:/s/dunstify//' \ -e '/^install:/s/install-dunstify//' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} '/libnotify/d' ${WRKSRC}/config.mk pre-install: @${MKDIR} ${STAGEDIR}${ETCDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/services/ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dunst ${MV} ${STAGEDIR}/${ETCDIR}/dunstrc ${STAGEDIR}/${ETCDIR}/dunstrc.sample post-install-DUNSTIFY-on: ${INSTALL_PROGRAM} ${WRKSRC}/dunstify ${STAGEDIR}${PREFIX}/bin .include diff --git a/sysutils/dunst/distinfo b/sysutils/dunst/distinfo index 357b14b5cbd0..ecfa3d6d0e94 100644 --- a/sysutils/dunst/distinfo +++ b/sysutils/dunst/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1713137502 -SHA256 (dunst-project-dunst-v1.10.0_GH0.tar.gz) = d1fbeba329b3801b931ad804f1fadd96a36be5edf2e49c8e30f081443079759f -SIZE (dunst-project-dunst-v1.10.0_GH0.tar.gz) = 4639084 +TIMESTAMP = 1742023151 +SHA256 (dunst-project-dunst-v1.12.2_GH0.tar.gz) = 8f7664bd4e6083e9604e282145fe5b8dee7655fa0b099a5b682a2549e1f33d32 +SIZE (dunst-project-dunst-v1.12.2_GH0.tar.gz) = 4657260 diff --git a/sysutils/dunst/files/patch-Makefile b/sysutils/dunst/files/patch-Makefile index 7d3c8dea215d..be6165deea39 100644 --- a/sysutils/dunst/files/patch-Makefile +++ b/sysutils/dunst/files/patch-Makefile @@ -1,41 +1,43 @@ ---- Makefile.orig 2023-03-08 12:18:14 UTC +--- Makefile.orig 2025-03-05 10:31:42 UTC +++ Makefile -@@ -187,22 +187,22 @@ clean-wayland-protocols: - install: install-dunst install-dunstctl install-dunstrc install-service +@@ -229,23 +229,23 @@ install-dunst: dunst doc + install: install-dunst install-dunstctl install-dunstrc install-service install-dunst: dunst doc - install -Dm755 dunst ${DESTDIR}${BINDIR}/dunst - install -Dm644 docs/dunst.1 ${DESTDIR}${MANPREFIX}/man1/dunst.1 - install -Dm644 docs/dunst.5 ${DESTDIR}${MANPREFIX}/man5/dunst.5 - install -Dm644 docs/dunstctl.1 ${DESTDIR}${MANPREFIX}/man1/dunstctl.1 +- install -Dm644 docs/dunstify.1 ${DESTDIR}${MANPREFIX}/man1/dunstify.1 + install -m555 dunst ${DESTDIR}${BINDIR}/dunst + install -m644 docs/dunst.1 ${DESTDIR}${MANPREFIX}/man1/dunst.1 + install -m644 docs/dunst.5 ${DESTDIR}${MANPREFIX}/man5/dunst.5 + install -m644 docs/dunstctl.1 ${DESTDIR}${MANPREFIX}/man1/dunstctl.1 ++ install -m644 docs/dunstify.1 ${DESTDIR}${MANPREFIX}/man1/dunstify.1 install-dunstctl: dunstctl - install -Dm755 dunstctl ${DESTDIR}${BINDIR}/dunstctl + install -m555 dunstctl ${DESTDIR}${BINDIR}/dunstctl ifeq (1,${SYSCONF_FORCE_NEW}) install-dunstrc: - install -Dm644 dunstrc ${DESTDIR}${SYSCONFFILE} + install -m644 dunstrc ${DESTDIR}${SYSCONFFILE} endif install-service: install-service-dbus install-service-dbus: service-dbus - install -Dm644 org.knopwob.dunst.service ${DESTDIR}${SERVICEDIR_DBUS}/org.knopwob.dunst.service + install -m644 org.knopwob.dunst.service ${DESTDIR}${SERVICEDIR_DBUS}/org.knopwob.dunst.service ifneq (0,${SYSTEMD}) install-service: install-service-systemd install-service-systemd: service-systemd -@@ -212,7 +212,7 @@ endif +@@ -255,7 +255,7 @@ install-dunstify: dunstify ifneq (0,${DUNSTIFY}) install: install-dunstify install-dunstify: dunstify - install -Dm755 dunstify ${DESTDIR}${BINDIR}/dunstify + install -m555 dunstify ${DESTDIR}${BINDIR}/dunstify endif - uninstall: uninstall-keepconf + ifneq (0,${COMPLETIONS}) diff --git a/sysutils/dunst/pkg-plist b/sysutils/dunst/pkg-plist index 66ac3273deab..a4c49e917358 100644 --- a/sysutils/dunst/pkg-plist +++ b/sysutils/dunst/pkg-plist @@ -1,7 +1,15 @@ bin/dunst bin/dunstctl @sample %%ETCDIR%%/dunstrc.sample +share/bash-completion/completions/dunst +share/bash-completion/completions/dunstctl +share/dbus-1/services/org.knopwob.dunst.service +share/fish/vendor_completions.d/dunst.fish +share/fish/vendor_completions.d/dunstctl.fish +share/fish/vendor_completions.d/dunstify.fish share/man/man1/dunst.1.gz share/man/man1/dunstctl.1.gz +share/man/man1/dunstify.1.gz share/man/man5/dunst.5.gz -share/dbus-1/services/org.knopwob.dunst.service +share/zsh/site-functions/_dunst +share/zsh/site-functions/_dunstctl