update to dunst-1.9.0, from Timo Myyra (maintainer)
This commit is contained in:
parent
cd2a53ef8f
commit
1bf7bf815d
@ -2,7 +2,7 @@ COMMENT = customizable and lightweight notification-daemon
|
||||
|
||||
GH_ACCOUNT = dunst-project
|
||||
GH_PROJECT = dunst
|
||||
GH_TAGNAME = v1.7.3
|
||||
GH_TAGNAME = v1.9.0
|
||||
|
||||
CATEGORIES = x11
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (dunst-1.7.3.tar.gz) = FQx4JpAobhY2Y7DrJgW3M5JyQBWXOLg2WAi4UeCvu+4=
|
||||
SIZE (dunst-1.7.3.tar.gz) = 4596283
|
||||
SHA256 (dunst-1.9.0.tar.gz) = t7jX1lYLskGx5NN+uncM3xm51dv8HU1HVyrWdvP3yYo=
|
||||
SIZE (dunst-1.9.0.tar.gz) = 4609222
|
||||
|
@ -4,7 +4,7 @@ Index: config.mk
|
||||
@@ -36,8 +36,8 @@ endif
|
||||
|
||||
# flags
|
||||
DEFAULT_CPPFLAGS = -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" -DSYSCONFDIR=\"${SYSCONFDIR}\"
|
||||
DEFAULT_CPPFLAGS = -Wno-gnu-zero-variadic-macro-arguments -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" -DSYSCONFDIR=\"${SYSCONFDIR}\"
|
||||
-DEFAULT_CFLAGS = -g -std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${ENABLE_WAYLAND} ${EXTRA_CFLAGS}
|
||||
-DEFAULT_LDFLAGS = -lm -lrt
|
||||
+DEFAULT_CFLAGS = -g -std=gnu99 -pedantic -Wall -Wno-overlength-strings ${ENABLE_WAYLAND} ${EXTRA_CFLAGS}
|
||||
|
@ -1,16 +1,16 @@
|
||||
Index: docs/dunst.5.pod
|
||||
--- docs/dunst.5.pod.orig
|
||||
+++ docs/dunst.5.pod
|
||||
@@ -384,7 +384,7 @@ gets the last say.
|
||||
|
||||
If B<icon_position> is set to off, this setting is ignored.
|
||||
@@ -399,7 +399,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.
|
||||
|
||||
-=item B<icon_path> (default: "/usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/")
|
||||
+=item B<icon_path> (default: "${PREFIX}/share/icons/gnome/16x16/status/:${PREFIX}/share/icons/gnome/16x16/devices/")
|
||||
|
||||
Can be set to a colon-separated list of paths to search for icons to use with
|
||||
notifications.
|
||||
@@ -398,7 +398,7 @@ replace this and will need new settings.
|
||||
@@ -413,7 +413,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,12 +19,12 @@ 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
|
||||
@@ -438,12 +438,12 @@ Maximum number of notifications that will be kept in h
|
||||
@@ -451,12 +451,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.
|
||||
|
||||
-=item B<dmenu> (default: "/usr/bin/dmenu")
|
||||
+=item B<dmenu> (default: "${LOCALBASE}/bin/dmenu")
|
||||
-=item B<dmenu> (default: "/usr/bin/dmenu -p dunst")
|
||||
+=item B<dmenu> (default: "${LOCALBASE}/bin/dmenu -p dunst")
|
||||
|
||||
The command that will be run when opening the context menu. Should be either
|
||||
a dmenu command or a dmenu-compatible menu.
|
||||
|
@ -1,16 +1,16 @@
|
||||
Index: dunstrc
|
||||
--- dunstrc.orig
|
||||
+++ dunstrc
|
||||
@@ -196,7 +196,7 @@
|
||||
max_icon_size = 32
|
||||
@@ -212,7 +212,7 @@
|
||||
max_icon_size = 128
|
||||
|
||||
# Paths to default icons.
|
||||
# Paths to default icons (only neccesary when not using recursive icon lookup)
|
||||
- icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
|
||||
+ icon_path = ${LOCALBASE}/share/icons/gnome/16x16/status/:${LOCALBASE}/share/icons/gnome/16x16/devices/
|
||||
|
||||
### History ###
|
||||
|
||||
@@ -210,10 +210,10 @@
|
||||
@@ -226,10 +226,10 @@
|
||||
### Misc/Advanced ###
|
||||
|
||||
# dmenu path.
|
||||
|
@ -1,7 +1,7 @@
|
||||
Index: src/dunst.c
|
||||
--- src/dunst.c.orig
|
||||
+++ src/dunst.c
|
||||
@@ -95,7 +95,7 @@ static gboolean run(void *data)
|
||||
@@ -96,7 +96,7 @@ static gboolean run(void *data)
|
||||
gint64 sleep = queues_get_next_datachange(now);
|
||||
gint64 timeout_at = now + sleep;
|
||||
|
||||
@ -9,4 +9,4 @@ Index: src/dunst.c
|
||||
+ LOG_D("Sleeping for %lli ms", (long long)sleep/1000);
|
||||
|
||||
if (sleep >= 0) {
|
||||
if (next_timeout < now || timeout_at < next_timeout) {
|
||||
if (reason == 0 || next_timeout < now || timeout_at < next_timeout) {
|
||||
|
@ -9,5 +9,5 @@ Index: src/input.c
|
||||
#include <linux/input-event-codes.h>
|
||||
+#endif
|
||||
|
||||
struct notification *get_notification_at(const int y) {
|
||||
int curr_y = settings.frame_width;
|
||||
int get_notification_clickable_height(struct notification *n, bool first, bool last)
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ Index: src/notification.c
|
||||
safe_setenv("DUNST_APP_NAME", appname);
|
||||
safe_setenv("DUNST_SUMMARY", summary);
|
||||
safe_setenv("DUNST_BODY", body);
|
||||
@@ -668,14 +668,14 @@ void notification_update_text_to_render(struct notific
|
||||
@@ -683,14 +683,14 @@ void notification_update_text_to_render(struct notific
|
||||
char *new_buf;
|
||||
if (hours > 0) {
|
||||
new_buf =
|
||||
|
@ -8,5 +8,5 @@ Index: src/settings.h
|
||||
+enum mouse_button { BTN_LEFT, BTN_RIGHT, BTN_MIDDLE, BTN_TOUCH };
|
||||
+
|
||||
enum alignment { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT };
|
||||
enum icon_position { ICON_LEFT, ICON_RIGHT, ICON_OFF };
|
||||
enum vertical_alignment { VERTICAL_TOP, VERTICAL_CENTER, VERTICAL_BOTTOM };
|
||||
enum separator_color { SEP_FOREGROUND, SEP_AUTO, SEP_FRAME, SEP_CUSTOM };
|
||||
|
Loading…
x
Reference in New Issue
Block a user