Index: Makefile
===================================================================
RCS file: /home/cvs/ports/x11/dunst/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile 27 Sep 2020 18:37:40 -0000 1.11
+++ Makefile 12 Dec 2021 17:47:07 -0000
@@ -4,7 +4,7 @@ COMMENT = customizable and lightweight n
GH_ACCOUNT = dunst-project
GH_PROJECT = dunst
-GH_TAGNAME = v1.5.0
+GH_TAGNAME = v1.7.3
CATEGORIES = x11
@@ -21,7 +21,8 @@ WANTLIB += pango-1.0 pangocairo-1.0 pthr
USE_GMAKE = Yes
-BUILD_DEPENDS = x11/dbus
+BUILD_DEPENDS = graphics/png \
+ x11/dbus
LIB_DEPENDS += devel/gettext,-runtime \
devel/glib2 \
@@ -32,11 +33,18 @@ LIB_DEPENDS += devel/gettext,-runtime \
RUN_DEPENDS += x11/dbus
+MAKE_FLAGS = WAYLAND=0
+
FAKE_FLAGS = PREFIX="${PREFIX}" \
MANPREFIX="${PREFIX}/man" \
- DATADIR="${PREFIX}/share/examples"
+ DATADIR="${PREFIX}/share/examples" \
+ SYSCONFDIR="/etc"
pre-configure:
- ${SUBST_CMD} ${WRKSRC}/docs/dunst.pod ${WRKSRC}/dunstrc
+ ${SUBST_CMD} ${WRKSRC}/docs/dunst.1.pod \
+ ${WRKSRC}/docs/dunst.5.pod ${WRKSRC}/dunstrc
+
+post-install:
+ mv ${WRKINST}/${SYSCONFDIR}/dunst ${PREFIX}/share
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/x11/dunst/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo 25 Sep 2020 13:53:53 -0000 1.6
+++ distinfo 12 Dec 2021 17:45:15 -0000
@@ -1,2 +1,2 @@
-SHA256 (dunst-1.5.0.tar.gz) = LDkK3xRLX6D/AH6jYWyQ8btTffaoBCGWmT9VhdG8jJo=
-SIZE (dunst-1.5.0.tar.gz) = 169272
+SHA256 (dunst-1.7.3.tar.gz) = FQx4JpAobhY2Y7DrJgW3M5JyQBWXOLg2WAi4UeCvu+4=
+SIZE (dunst-1.7.3.tar.gz) = 4596283
Index: patches/patch-config_mk
===================================================================
RCS file: /home/cvs/ports/x11/dunst/patches/patch-config_mk,v
retrieving revision 1.4
diff -u -p -r1.4 patch-config_mk
--- patches/patch-config_mk 2 Aug 2019 13:49:29 -0000 1.4
+++ patches/patch-config_mk 12 Dec 2021 09:19:25 -0000
@@ -1,14 +1,16 @@
-$OpenBSD: patch-config_mk,v 1.4 2019/08/02 13:49:29 sthen Exp $
+$OpenBSD$
Index: config.mk
--- config.mk.orig
+++ config.mk
-@@ -26,7 +26,7 @@ VALGRIND ?= valgrind
+@@ -36,8 +36,8 @@ endif
# flags
- DEFAULT_CPPFLAGS = -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\"
--DEFAULT_CFLAGS = -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC}
-+DEFAULT_CFLAGS = -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings ${STATIC}
- DEFAULT_LDFLAGS = -lm
+ DEFAULT_CPPFLAGS = -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}
++DEFAULT_LDFLAGS = -lm
CPPFLAGS_DEBUG := -DDEBUG_BUILD
+ CFLAGS_DEBUG := -O0
Index: patches/patch-docs_dunst_pod
===================================================================
RCS file: patches/patch-docs_dunst_pod
diff -N patches/patch-docs_dunst_pod
--- patches/patch-docs_dunst_pod 2 Aug 2019 13:49:29 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-docs_dunst_pod,v 1.2 2019/08/02 13:49:29 sthen Exp $
-
-Index: docs/dunst.pod
---- docs/dunst.pod.orig
-+++ docs/dunst.pod
-@@ -35,7 +35,7 @@ rules or using the output in other scripts.
-
- =head1 CONFIGURATION
-
--An example configuration file is included (usually /usr/share/dunst/dunstrc).
-+An example configuration file is included in ${PREFIX}/share/examples/dunst/dunstrc.
- To change the configuration, copy this file to ~/.config/dunst/dunstrc and edit
- it accordingly.
-
Index: patches/patch-dunstrc
===================================================================
RCS file: /home/cvs/ports/x11/dunst/patches/patch-dunstrc,v
retrieving revision 1.3
diff -u -p -r1.3 patch-dunstrc
--- patches/patch-dunstrc 25 Sep 2020 13:53:53 -0000 1.3
+++ patches/patch-dunstrc 12 Dec 2021 09:19:25 -0000
@@ -3,7 +3,7 @@ $OpenBSD: patch-dunstrc,v 1.3 2020/09/25
Index: dunstrc
--- dunstrc.orig
+++ dunstrc
-@@ -175,7 +175,7 @@
+@@ -196,7 +196,7 @@
max_icon_size = 32
# Paths to default icons.
@@ -12,16 +12,16 @@ Index: dunstrc
### History ###
-@@ -189,10 +189,10 @@
+@@ -210,10 +210,10 @@
### Misc/Advanced ###
# dmenu path.
- dmenu = /usr/bin/dmenu -p dunst:
-+ dmenu = ${PREFIX}/bin/dmenu -p dunst:
++ dmenu = ${LOCALBASE}/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
-- browser = /usr/bin/firefox -new-tab
-+ browser = ${PREFIX}/bin/firefox -new-tab
+- browser = /usr/bin/xdg-open
++ browser = ${LOCALBASE}/bin/xdg-open
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
Index: patches/patch-src_notification_c
===================================================================
RCS file: /home/cvs/ports/x11/dunst/patches/patch-src_notification_c,v
retrieving revision 1.3
diff -u -p -r1.3 patch-src_notification_c
--- patches/patch-src_notification_c 25 Sep 2020 13:53:53 -0000 1.3
+++ patches/patch-src_notification_c 12 Dec 2021 17:45:43 -0000
@@ -3,7 +3,7 @@ $OpenBSD: patch-src_notification_c,v 1.3
Index: src/notification.c
--- src/notification.c.orig
+++ src/notification.c
-@@ -58,7 +58,7 @@ void notification_print(const struct notification *n)
+@@ -60,7 +60,7 @@ void notification_print(const struct notification *n)
printf("\ticon_id: '%s'\n", n->icon_id);
printf("\tdesktop_entry: '%s'\n", n->desktop_entry ? n->desktop_entry : "");
printf("\tcategory: %s\n", n->category);
@@ -12,7 +12,7 @@ Index: src/notification.c
printf("\turgency: %s\n", notification_urgency_to_string(n->urgency));
printf("\ttransient: %d\n", n->transient);
printf("\tformatted: '%s'\n", n->msg);
-@@ -574,14 +574,14 @@ void notification_update_text_to_render(struct notific
+@@ -668,14 +668,14 @@ void notification_update_text_to_render(struct notific
char *new_buf;
if (hours > 0) {
new_buf =
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/x11/dunst/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST 25 Sep 2020 13:53:53 -0000 1.4
+++ pkg/PLIST 12 Dec 2021 09:19:25 -0000
@@ -4,6 +4,11 @@ bin/dunstctl
@bin bin/dunstify
@man man/man1/dunst.1
@man man/man1/dunstctl.1
-share/dbus-1/services/org.knopwob.dunst.service
-share/examples/dunst/
-share/examples/dunst/dunstrc
+@man man/man5/dunst.5
+share/dunst/
+@sample ${SYSCONFDIR}/dunst/
+share/dunst/dunstrc
+@sample ${SYSCONFDIR}/dunst/dunstrc
+share/examples/dbus-1/
+share/examples/dbus-1/services/
+share/examples/dbus-1/services/org.knopwob.dunst.service
Omar Polo <op@openbsd.org> writes:
> Omar Polo <op@openbsd.org> writes:
>
>> Timo Myyrä <timo.myyra@bittivirhe.fi> writes:
>>
>>> Hi,
>>>
>>> Dunst has had few releases since last update so bump it to latest.
>>>
>>> Timo
>>
>> Hello,
>>
>> diff looks fine, it builds and package fine. don't know if it was an
>> issue with my previous configuration but now I can see the icons too!
>>
>> However, the configuration changed a bit since last update and so dunst
>> refuse to start if one had a custom configuration. Settings like
>> `geometry' are gone and the keybindings are completely removed in favour
>> of dunstctl(1). Probably not important enough to warrant an entry on
>> current.html but at least nice to notify ;)
>>
>> For the laziest out there `bind-key C-space "dunstctl close"` in .cwmrc
>> restores the default control-space to close the topmost notification.
>>
>> Thanks!
>>
>> Omar Polo
>
> I was about to commit the diff, when I noticed that 1.7.3 is already
> out: https://github.com/dunst-project/dunst/releases/tag/v1.7.3
>
> Attaching your patch with the version number bumped, new checksums and
> reindented the continuation line in pre-configure. (make update-patches
> changed an offsets in a diff I think)
>
> here it works just as fine, is it still ok for you?
>
> Thanks,
>
> Omar Polo
Oops, it was mangled somehow. attaching the diff (for real) again
No comments:
Post a Comment