aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2017-08-09 11:09:26 +0800
committertobik <tobik@FreeBSD.org>2017-08-09 11:09:26 +0800
commit8db4445c118ac2b86e86f15bbe0c71621bdca987 (patch)
tree79f767f6f71694ad4d60127aa8b3a5e5e2e195c3 /sysutils
parentaa908aedcdf2d54883c115d9701bd5d6a53ed995 (diff)
downloadfreebsd-ports-gnome-8db4445c118ac2b86e86f15bbe0c71621bdca987.tar.gz
freebsd-ports-gnome-8db4445c118ac2b86e86f15bbe0c71621bdca987.tar.zst
freebsd-ports-gnome-8db4445c118ac2b86e86f15bbe0c71621bdca987.zip
sysutils/dunst: Update to 1.2.0
- Remove unused dependencies - Add test target - Fix missing libgen.h include issue - Fix portlint warnings (USE order) - Update WWW in pkg-descr - GitHub repository has been changed to https://github.com/dunst-project/dunst - Submitter becomes maintainer Changes: https://github.com/dunst-project/dunst/releases/tag/v1.2.0 PR: 221346 Submitted by: Dmitri Goutnik <dg@syrec.org>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dunst/Makefile30
-rw-r--r--sysutils/dunst/distinfo5
-rw-r--r--sysutils/dunst/files/patch-src_notification.c14
-rw-r--r--sysutils/dunst/pkg-descr2
4 files changed, 31 insertions, 20 deletions
diff --git a/sysutils/dunst/Makefile b/sysutils/dunst/Makefile
index 37f6b7e03886..6e7a115f540d 100644
--- a/sysutils/dunst/Makefile
+++ b/sysutils/dunst/Makefile
@@ -2,40 +2,36 @@
# $FreeBSD$
PORTNAME= dunst
-PORTVERSION= 1.1.0
+PORTVERSION= 1.2.0
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= dg@syrec.org
COMMENT= Lightweight notification daemon
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libcairo.so:graphics/cairo \
- libdbus-1.so:devel/dbus \
- libfreetype.so:print/freetype2 \
- libnotify.so:devel/libnotify \
- libpango-1.0.so:x11-toolkits/pango \
+LIB_DEPENDS= libdbus-1.so:devel/dbus \
libxdg-basedir.so:x11/libxdg-basedir
+USES= gmake perl5 pkgconfig
USE_GITHUB= yes
-GH_ACCOUNT= knopwob
-USES= execinfo gmake pkgconfig:build perl5
-USE_GNOME= glib20
-USE_XORG= xext xft xinerama xscrnsaver
-MAKE_ARGS+= MANPREFIX="${PREFIX}/man"
+GH_ACCOUNT= dunst-project
+USE_GNOME= gtk20 gdkpixbuf2 cairo
+USE_PERL5= build
+USE_XORG= x11 xrandr xinerama xscrnsaver
-ALL_TARGET= dunst dunstify dunst.1
-INSTALL_TARGET= install
-
-LDFLAGS+= -Wall -rdynamic -lexecinfo
+MAKE_ARGS= MANPREFIX="${PREFIX}/man"
+TEST_TARGET= test
PLIST_FILES= bin/dunst \
share/dunst/dunstrc \
man/man1/dunst.1.gz \
share/dbus-1/services/org.knopwob.dunst.service
-post-extract:
+post-patch:
+ @${REINPLACE_CMD} -e '/dunst\.systemd\.service/d' ${WRKSRC}/Makefile
@${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/VERSION
post-install:
diff --git a/sysutils/dunst/distinfo b/sysutils/dunst/distinfo
index e51309961001..12921768e86f 100644
--- a/sysutils/dunst/distinfo
+++ b/sysutils/dunst/distinfo
@@ -1,2 +1,3 @@
-SHA256 (knopwob-dunst-v1.1.0_GH0.tar.gz) = 1a075a0aee56aea5aa2007f156f97bd180b3c771b7751729612629a04f712575
-SIZE (knopwob-dunst-v1.1.0_GH0.tar.gz) = 83120
+TIMESTAMP = 1502200675
+SHA256 (dunst-project-dunst-v1.2.0_GH0.tar.gz) = a3c05b5ef87e88704a6207236e42773dfbcf50cb23c7cf51e494a7236b75c5ad
+SIZE (dunst-project-dunst-v1.2.0_GH0.tar.gz) = 110628
diff --git a/sysutils/dunst/files/patch-src_notification.c b/sysutils/dunst/files/patch-src_notification.c
new file mode 100644
index 000000000000..6e1acb2709f5
--- /dev/null
+++ b/sysutils/dunst/files/patch-src_notification.c
@@ -0,0 +1,14 @@
+Implicitly declared basename() makes dunst dump core on FreeBSD 11.1
+
+Upstream pull request: https://github.com/dunst-project/dunst/pull/354
+
+--- src/notification.c.orig 2017-08-08 16:05:07 UTC
++++ src/notification.c
+@@ -13,6 +13,7 @@
+ #include <sys/wait.h>
+ #include <time.h>
+ #include <unistd.h>
++#include <libgen.h>
+
+ #include "dbus.h"
+ #include "dunst.h"
diff --git a/sysutils/dunst/pkg-descr b/sysutils/dunst/pkg-descr
index eddebe90b6b4..2297b2c8fc11 100644
--- a/sysutils/dunst/pkg-descr
+++ b/sysutils/dunst/pkg-descr
@@ -3,4 +3,4 @@ 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.
-WWW: http://www.knopwob.org/dunst/
+WWW: https://dunst-project.org/