pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import x11/dunst
Module Name: pkgsrc-wip
Committed By: kikadf <kikadf.01%gmail.com@localhost>
Pushed By: kikadf
Date: Sun Jan 25 12:47:19 2026 +0100
Changeset: aab7a0e996f4f55e509d4a84f6b26373f9511a16
Modified Files:
Makefile
Added Files:
dunst/DESCR
dunst/Makefile
dunst/PLIST
dunst/distinfo
dunst/patches/patch-Makefile
Log Message:
Import x11/dunst
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=aab7a0e996f4f55e509d4a84f6b26373f9511a16
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
dunst/DESCR | 6 ++++
dunst/Makefile | 62 ++++++++++++++++++++++++++++++++++++++++
dunst/PLIST | 17 +++++++++++
dunst/distinfo | 6 ++++
dunst/patches/patch-Makefile | 68 ++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 160 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 9bf1630008..48233a066e 100644
--- a/Makefile
+++ b/Makefile
@@ -808,6 +808,7 @@ SUBDIR+= dumb
SUBDIR+= dune-common
SUBDIR+= dune-geometry
SUBDIR+= dune-istl
+SUBDIR+= dunst
SUBDIR+= dunst-git
SUBDIR+= duplo
SUBDIR+= dvbsnoop
diff --git a/dunst/DESCR b/dunst/DESCR
new file mode 100644
index 0000000000..24dcd55102
--- /dev/null
+++ b/dunst/DESCR
@@ -0,0 +1,6 @@
+Dunst is a lightweight replacement for the notification-daemons
+provided by most desktop environments. It's very customizable,
+doesn't depend on any toolkits and therefore fits in those window
+manager centric setups we all love to customize to perfection.
+
+Dunst is a part of the j4tools tools set.
diff --git a/dunst/Makefile b/dunst/Makefile
new file mode 100644
index 0000000000..a1fa7e8453
--- /dev/null
+++ b/dunst/Makefile
@@ -0,0 +1,62 @@
+# $NetBSD: Makefile,v 1.51 2026/01/07 08:49:28 wiz Exp $
+
+DISTNAME= dunst-1.13.0
+PKGREVISION= 3
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GITHUB:=dunst-project/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://dunst-project.org/
+COMMENT= Customizable and lightweight notification-daemon
+LICENSE= modified-bsd
+
+USE_TOOLS+= bash:test gmake pod2man pkg-config
+
+# FAIL test_calculate_dimensions_height_min: dim.h == expected_height (test/draw.c:321) (0 ticks, 0.000 sec)
+# FAIL test_pattern_match: rule_field_matches_string("asd", "") (test/rules.c:44) (0 ticks, 0.000 sec)
+# Total: 202 tests (3 ticks, 0.030 sec), 2643 assertions
+# Pass: 200, fail: 2, skip: 0.
+TEST_TARGET= test
+
+MAKE_FLAGS+= SYSTEMD=0
+MAKE_FLAGS+= WAYLAND=0
+
+REPLACE_SH+= contrib/progress-notify.sh
+REPLACE_BASH+= contrib/dunst_xr_theme_changer.sh
+REPLACE_BASH+= test/test-install.sh
+
+SUBST_CLASSES+= fix-paths
+SUBST_STAGE.fix-paths= pre-configure
+SUBST_MESSAGE.fix-paths= Fixing absolute paths.
+SUBST_FILES.fix-paths= dunstrc
+SUBST_FILES.fix-paths+= docs/dunst.5.pod
+SUBST_FILES.fix-paths+= src/icon-lookup.c
+SUBST_FILES.fix-paths+= src/settings_data.h
+SUBST_SED.fix-paths+= -e 's,/usr/local/share/:/usr/share/,${PREFIX}/share,g'
+SUBST_SED.fix-paths+= -e 's,/usr/bin,${PREFIX}/bin,g'
+SUBST_SED.fix-paths+= -e 's,/usr/share,${PREFIX}/share,g'
+
+INSTALL_ENV+= MANPREFIX=${PREFIX}/${PKGMANDIR}
+INSTALL_ENV+= SYSCONFDIR=${PREFIX}/share
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+INSTALLATION_DIRS+= ${PKGMANDIR}/man5
+INSTALLATION_DIRS+= share/dbus-1/services
+INSTALLATION_DIRS+= share/dunst
+INSTALLATION_DIRS+= share/bash-completion/completions
+INSTALLATION_DIRS+= share/zsh/site-functions
+INSTALLATION_DIRS+= share/fish/vendor_completions.d
+
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../graphics/librsvg/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../sysutils/libnotify/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXScrnSaver/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/dunst/PLIST b/dunst/PLIST
new file mode 100644
index 0000000000..4c9b3946ae
--- /dev/null
+++ b/dunst/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.6 2024/12/26 11:04:35 wiz Exp $
+bin/dunst
+bin/dunstctl
+bin/dunstify
+man/man1/dunst.1
+man/man1/dunstctl.1
+man/man1/dunstify.1
+man/man5/dunst.5
+share/bash-completion/completions/dunst
+share/bash-completion/completions/dunstctl
+share/dbus-1/services/org.knopwob.dunst.service
+share/dunst/dunstrc
+share/fish/vendor_completions.d/dunst.fish
+share/fish/vendor_completions.d/dunstctl.fish
+share/fish/vendor_completions.d/dunstify.fish
+share/zsh/site-functions/_dunst
+share/zsh/site-functions/_dunstctl
diff --git a/dunst/distinfo b/dunst/distinfo
new file mode 100644
index 0000000000..a9b5dfdf60
--- /dev/null
+++ b/dunst/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.21 2025/08/10 10:31:30 wiz Exp $
+
+BLAKE2s (dunst-1.13.0.tar.gz) = fc1cd3944533bff9f6aadf5c63178cd8612eb6026c0cf6054f70054ce9509e0d
+SHA512 (dunst-1.13.0.tar.gz) = c869b1314bdfd4125bbf31102a271af12774242ff56eb2d2c0a2900fdb6b495ec0ff9adad111a32d4c52c342f510592cbaaa413b166bd3fe6cf820ae4ff16d01
+Size (dunst-1.13.0.tar.gz) = 4664717 bytes
+SHA1 (patch-Makefile) = e9ff8d9ba075b4f232fe9e0378476bf412b0b503
diff --git a/dunst/patches/patch-Makefile b/dunst/patches/patch-Makefile
new file mode 100644
index 0000000000..12c415d5cf
--- /dev/null
+++ b/dunst/patches/patch-Makefile
@@ -0,0 +1,68 @@
+$NetBSD: patch-Makefile,v 1.14 2024/12/26 11:04:35 wiz Exp $
+
+Use more portable find options.
+Use BSD_INSTALL.
+
+--- Makefile.orig 2024-12-17 12:22:07.000000000 +0000
++++ Makefile
+@@ -223,44 +223,44 @@ clean-wayland-protocols:
+ 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
++ ${BSD_INSTALL_PROGRAM} dunst ${DESTDIR}${BINDIR}/dunst
++ ${BSD_INSTALL_DATA} docs/dunst.1 ${DESTDIR}${MANPREFIX}/man1/dunst.1
++ ${BSD_INSTALL_DATA} docs/dunst.5 ${DESTDIR}${MANPREFIX}/man5/dunst.5
++ ${BSD_INSTALL_DATA} docs/dunstctl.1 ${DESTDIR}${MANPREFIX}/man1/dunstctl.1
++ ${BSD_INSTALL_DATA} docs/dunstify.1 ${DESTDIR}${MANPREFIX}/man1/dunstify.1
+
+ install-dunstctl: dunstctl
+- install -Dm755 dunstctl ${DESTDIR}${BINDIR}/dunstctl
++ ${BSD_INSTALL_SCRIPT} dunstctl ${DESTDIR}${BINDIR}/dunstctl
+
+ ifeq (1,${SYSCONF_FORCE_NEW})
+ install-dunstrc:
+- install -Dm644 dunstrc ${DESTDIR}${SYSCONFFILE}
++ ${BSD_INSTALL_DATA} 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
++ ${BSD_INSTALL_DATA} org.knopwob.dunst.service ${DESTDIR}${SERVICEDIR_DBUS}/org.knopwob.dunst.service
+ ifneq (0,${SYSTEMD})
+ install-service: install-service-systemd
+ install-service-systemd: service-systemd
+- install -Dm644 dunst.systemd.service ${DESTDIR}${SERVICEDIR_SYSTEMD}/dunst.service
++ ${BSD_INSTALL_DATA} dunst.systemd.service ${DESTDIR}${SERVICEDIR_SYSTEMD}/dunst.service
+ endif
+
+ ifneq (0,${DUNSTIFY})
+ install: install-dunstify
+ install-dunstify: dunstify
+- install -Dm755 dunstify ${DESTDIR}${BINDIR}/dunstify
++ ${BSD_INSTALL_PROGRAM} dunstify ${DESTDIR}${BINDIR}/dunstify
+ endif
+
+ ifneq (0,${COMPLETIONS})
+ install: install-completions
+ install-completions:
+- install -Dm644 completions/dunst.bashcomp ${DESTDIR}${BASHCOMPLETIONDIR}/dunst
+- install -Dm644 completions/dunstctl.bashcomp ${DESTDIR}${BASHCOMPLETIONDIR}/dunstctl
+- install -Dm644 completions/_dunst.zshcomp ${DESTDIR}${ZSHCOMPLETIONDIR}/_dunst
+- install -Dm644 completions/_dunstctl.zshcomp ${DESTDIR}${ZSHCOMPLETIONDIR}/_dunstctl
+- install -Dm644 completions/dunst.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunst.fish
+- install -Dm644 completions/dunstctl.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunstctl.fish
++ ${BSD_INSTALL_DATA} completions/dunst.bashcomp ${DESTDIR}${BASHCOMPLETIONDIR}/dunst
++ ${BSD_INSTALL_DATA} completions/dunstctl.bashcomp ${DESTDIR}${BASHCOMPLETIONDIR}/dunstctl
++ ${BSD_INSTALL_DATA} completions/_dunst.zshcomp ${DESTDIR}${ZSHCOMPLETIONDIR}/_dunst
++ ${BSD_INSTALL_DATA} completions/_dunstctl.zshcomp ${DESTDIR}${ZSHCOMPLETIONDIR}/_dunstctl
++ ${BSD_INSTALL_DATA} completions/dunst.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunst.fish
++ ${BSD_INSTALL_DATA} completions/dunstctl.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunstctl.fish
+
+ ifneq (0,${DUNSTIFY})
+ install: install-completions-dunstify
Home |
Main Index |
Thread Index |
Old Index