x11/dunst: update to 1.9.2

from MAINTAINER and ok op@
This commit is contained in:
lraab
2023-05-08 17:58:46 +00:00
parent a8acc217da
commit 8602a0dd02
9 changed files with 34 additions and 26 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ COMMENT = customizable and lightweight notification-daemon
GH_ACCOUNT = dunst-project
GH_PROJECT = dunst
GH_TAGNAME = v1.9.0
GH_TAGNAME = v1.9.2
CATEGORIES = x11
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (dunst-1.9.0.tar.gz) = t7jX1lYLskGx5NN+uncM3xm51dv8HU1HVyrWdvP3yYo=
SIZE (dunst-1.9.0.tar.gz) = 4609222
SHA256 (dunst-1.9.2.tar.gz) = +mzkXAr0uuGIsNZ5pbqS+Pm35DAbsbtHboLfJrzp5xo=
SIZE (dunst-1.9.2.tar.gz) = 4614703
+1 -1
View File
@@ -1,7 +1,7 @@
Index: config.mk
--- config.mk.orig
+++ config.mk
@@ -36,8 +36,8 @@ endif
@@ -42,8 +42,8 @@ endif
# flags
DEFAULT_CPPFLAGS = -Wno-gnu-zero-variadic-macro-arguments -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" -DSYSCONFDIR=\"${SYSCONFDIR}\"
+3 -3
View File
@@ -1,7 +1,7 @@
Index: docs/dunst.5.pod
--- docs/dunst.5.pod.orig
+++ docs/dunst.5.pod
@@ -399,7 +399,7 @@ Hide the count of stacked duplicate notifications.
@@ -409,7 +409,7 @@ Hide the count of stacked duplicate notifications.
Show an indicator if a notification contains actions and/or open-able URLs. See
ACTIONS below for further details.
@@ -10,7 +10,7 @@ Index: docs/dunst.5.pod
Can be set to a colon-separated list of paths to search for icons to use with
notifications.
@@ -413,7 +413,7 @@ replace this and will need new settings.
@@ -423,7 +423,7 @@ replace this and will need new settings.
Comma-separated of names of the the themes to use for looking up icons. This has
to be the name of the directory in which the theme is located, not the
human-friendly name of the theme. So for example, the theme B<Breeze Dark> is
@@ -19,7 +19,7 @@ Index: docs/dunst.5.pod
theme to B<breeze-dark>.
The first theme in the list is the most important. Only if the icon cannot be
@@ -451,12 +451,12 @@ Maximum number of notifications that will be kept in h
@@ -461,12 +461,12 @@ Maximum number of notifications that will be kept in h
is reached, older notifications will be deleted once a new one arrives. See
HISTORY.
+2 -2
View File
@@ -1,7 +1,7 @@
Index: dunstrc
--- dunstrc.orig
+++ dunstrc
@@ -212,7 +212,7 @@
@@ -217,7 +217,7 @@
max_icon_size = 128
# Paths to default icons (only neccesary when not using recursive icon lookup)
@@ -10,7 +10,7 @@ Index: dunstrc
### History ###
@@ -226,10 +226,10 @@
@@ -231,10 +231,10 @@
### Misc/Advanced ###
# dmenu path.
+3 -3
View File
@@ -1,9 +1,9 @@
Index: src/dunst.c
--- src/dunst.c.orig
+++ src/dunst.c
@@ -96,7 +96,7 @@ static gboolean run(void *data)
gint64 sleep = queues_get_next_datachange(now);
gint64 timeout_at = now + sleep;
@@ -100,7 +100,7 @@ static gboolean run(void *data)
gint64 sleep = timeout_at - now;
sleep = MAX(sleep, 1000); // Sleep at least 1ms
- LOG_D("Sleeping for %li ms", sleep/1000);
+ LOG_D("Sleeping for %lli ms", (long long)sleep/1000);
-13
View File
@@ -1,13 +0,0 @@
Don't use malloc.h header on OpenBSD.
Index: src/icon-lookup.c
--- src/icon-lookup.c.orig
+++ src/icon-lookup.c
@@ -3,7 +3,6 @@
#include <glib.h>
#include <stdio.h>
-#include <malloc.h>
#include <unistd.h>
#include <assert.h>
+1 -1
View File
@@ -21,7 +21,7 @@ Index: src/notification.c
safe_setenv("DUNST_APP_NAME", appname);
safe_setenv("DUNST_SUMMARY", summary);
safe_setenv("DUNST_BODY", body);
@@ -683,14 +683,14 @@ void notification_update_text_to_render(struct notific
@@ -684,14 +684,14 @@ void notification_update_text_to_render(struct notific
char *new_buf;
if (hours > 0) {
new_buf =
+21
View File
@@ -0,0 +1,21 @@
Index: test/rules.c
--- test/rules.c.orig
+++ test/rules.c
@@ -41,7 +41,7 @@ TEST test_pattern_match(void) {
ASSERT(rule_field_matches_string("ffffasd", ".*asd"));
// Substring matching
- ASSERT(rule_field_matches_string("asd", ""));
+ ASSERT_FALSE(rule_field_matches_string("asd", ""));
ASSERT(rule_field_matches_string("asd", "sd"));
ASSERT(rule_field_matches_string("asd", "a"));
ASSERT(rule_field_matches_string("asd", "d"));
@@ -54,7 +54,7 @@ TEST test_pattern_match(void) {
ASSERT_FALSE(rule_field_matches_string("azd", "asd|dfg|ghj"));
// Special characters
- ASSERT_FALSE(rule_field_matches_string("{", "{"));
+ ASSERT(rule_field_matches_string("{", "{"));
ASSERT(rule_field_matches_string("{", "\\{"));
ASSERT(rule_field_matches_string("a", "(a)"));
} else {