Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2017 03:09:27 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r447590 - in head/sysutils/dunst: . files
Message-ID:  <201708090309.v7939RoR059492@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Wed Aug  9 03:09:26 2017
New Revision: 447590
URL: https://svnweb.freebsd.org/changeset/ports/447590

Log:
  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>

Added:
  head/sysutils/dunst/files/
  head/sysutils/dunst/files/patch-src_notification.c   (contents, props changed)
Modified:
  head/sysutils/dunst/Makefile
  head/sysutils/dunst/distinfo
  head/sysutils/dunst/pkg-descr

Modified: head/sysutils/dunst/Makefile
==============================================================================
--- head/sysutils/dunst/Makefile	Wed Aug  9 02:14:50 2017	(r447589)
+++ head/sysutils/dunst/Makefile	Wed Aug  9 03:09:26 2017	(r447590)
@@ -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
+MAKE_ARGS=	MANPREFIX="${PREFIX}/man"
+TEST_TARGET=	test
 
-LDFLAGS+=	-Wall -rdynamic -lexecinfo
-
 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:

Modified: head/sysutils/dunst/distinfo
==============================================================================
--- head/sysutils/dunst/distinfo	Wed Aug  9 02:14:50 2017	(r447589)
+++ head/sysutils/dunst/distinfo	Wed Aug  9 03:09:26 2017	(r447590)
@@ -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

Added: head/sysutils/dunst/files/patch-src_notification.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/dunst/files/patch-src_notification.c	Wed Aug  9 03:09:26 2017	(r447590)
@@ -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"

Modified: head/sysutils/dunst/pkg-descr
==============================================================================
--- head/sysutils/dunst/pkg-descr	Wed Aug  9 02:14:50 2017	(r447589)
+++ head/sysutils/dunst/pkg-descr	Wed Aug  9 03:09:26 2017	(r447590)
@@ -3,4 +3,4 @@ by most desktop environments.  It's very customizable,
 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708090309.v7939RoR059492>