aboutsummaryrefslogtreecommitdiff
path: root/dunst
diff options
context:
space:
mode:
Diffstat (limited to 'dunst')
-rw-r--r--dunst/.files21
-rw-r--r--dunst/.shasum1
-rw-r--r--dunst/abuild8
-rw-r--r--dunst/fix-build.patch24
4 files changed, 32 insertions, 22 deletions
diff --git a/dunst/.files b/dunst/.files
index e02ebf04..dc52ffa2 100644
--- a/dunst/.files
+++ b/dunst/.files
@@ -1,26 +1,16 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/xdg/
drwxr-xr-x root/root etc/xdg/dunst/
--rw-r--r-- root/root etc/xdg/dunst/dunstrc.new
+-rw-rw-r-- root/root etc/xdg/dunst/dunstrc.new
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/dunst
--rwxr-xr-x root/root usr/bin/dunstctl
+-rwxrwxr-x root/root usr/bin/dunstctl
-rwxr-xr-x root/root usr/bin/dunstify
drwxr-xr-x root/root usr/share/
-drwxr-xr-x root/root usr/share/bash-completion/
-drwxr-xr-x root/root usr/share/bash-completion/completions/
--rw-r--r-- root/root usr/share/bash-completion/completions/dunst
--rw-r--r-- root/root usr/share/bash-completion/completions/dunstctl
--rw-r--r-- root/root usr/share/bash-completion/completions/dunstify
drwxr-xr-x root/root usr/share/dbus-1/
drwxr-xr-x root/root usr/share/dbus-1/services/
--rw-r--r-- root/root usr/share/dbus-1/services/dunst.service
-drwxr-xr-x root/root usr/share/fish/
-drwxr-xr-x root/root usr/share/fish/vendor_completions.d/
--rw-r--r-- root/root usr/share/fish/vendor_completions.d/dunst.fish
--rw-r--r-- root/root usr/share/fish/vendor_completions.d/dunstctl.fish
--rw-r--r-- root/root usr/share/fish/vendor_completions.d/dunstify.fish
+-rw-rw-r-- root/root usr/share/dbus-1/services/dunst.service
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/dunst.1.gz
@@ -28,8 +18,3 @@ drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/dunstify.1.gz
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/dunst.5.gz
-drwxr-xr-x root/root usr/share/zsh/
-drwxr-xr-x root/root usr/share/zsh/site-functions/
--rw-r--r-- root/root usr/share/zsh/site-functions/_dunst
--rw-r--r-- root/root usr/share/zsh/site-functions/_dunstctl
--rw-r--r-- root/root usr/share/zsh/site-functions/_dunstify
diff --git a/dunst/.shasum b/dunst/.shasum
index c04a22ce..f4a4ddf1 100644
--- a/dunst/.shasum
+++ b/dunst/.shasum
@@ -1 +1,2 @@
15cac79373386b6ffa8bceb4ef6c89c61a09be27631eea3f6865684a dunst-1.13.2.tar.gz
+110f404a6ae1dc65146c21c9996327e765ab9dd945d6faf1a1bf11cf fix-build.patch
diff --git a/dunst/abuild b/dunst/abuild
index fb02a6d3..a8b659f8 100644
--- a/dunst/abuild
+++ b/dunst/abuild
@@ -1,6 +1,6 @@
name=dunst
version=1.13.2
-release=1
-source="https://github.com/$name-project/$name/archive/v$version/$name-$version.tar.gz"
-[ -f $SPM_PKGDB/libx11 ] || export X11=0
-[ -f $SPM_PKGDB/wayland ] || export WAYLAND=0
+release=2
+source="https://github.com/$name-project/$name/archive/v$version/$name-$version.tar.gz
+ fix-build.patch"
+build_opt="-Dcompletions=false"
diff --git a/dunst/fix-build.patch b/dunst/fix-build.patch
new file mode 100644
index 00000000..9f712c61
--- /dev/null
+++ b/dunst/fix-build.patch
@@ -0,0 +1,24 @@
+--- a/meson.build
++++ b/meson.build
+@@ -51,7 +51,6 @@
+ gdk_pixbuf,
+ pangocairo,
+ systemd,
+- libnotify,
+ realtime,
+ math,
+ ]
+--- a/dunstify.c
++++ b/dunstify.c
+@@ -9,6 +9,11 @@
+ * @license BSD-3-Clause
+ */
+
++/* System libnotify.pc defines G_LOG_DOMAIN=libnotify without quotes,
++ * which breaks glib assertion macros. Must be fixed before any includes. */
++#undef G_LOG_DOMAIN
++#define G_LOG_DOMAIN "libnotify"
++
+ #include <glib.h>
+ #include <libnotify/notify.h>
+ #include <locale.h>