svn commit: r510161 - in head/x11/i3status: . files
Baptiste Daroussin
bapt at FreeBSD.org
Thu Aug 29 13:29:52 UTC 2019
Author: bapt
Date: Thu Aug 29 13:29:51 2019
New Revision: 510161
URL: https://svnweb.freebsd.org/changeset/ports/510161
Log:
Update to 2.13
Added:
head/x11/i3status/files/patch-src_print__volume.c (contents, props changed)
head/x11/i3status/files/patch-src_pulse.c (contents, props changed)
Deleted:
head/x11/i3status/files/no-pulseaudio.diff
Modified:
head/x11/i3status/Makefile
head/x11/i3status/distinfo
Modified: head/x11/i3status/Makefile
==============================================================================
--- head/x11/i3status/Makefile Thu Aug 29 12:38:24 2019 (r510160)
+++ head/x11/i3status/Makefile Thu Aug 29 13:29:51 2019 (r510161)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= i3status
-PORTVERSION= 2.12
+PORTVERSION= 2.13
CATEGORIES= x11
MASTER_SITES= http://i3wm.org/i3status/
@@ -10,25 +10,23 @@ COMMENT= Small program for generating a status bar
LICENSE= BSD3CLAUSE
-OPTIONS_DEFINE= PULSEAUDIO
-
LIB_DEPENDS= libconfuse.so:devel/libconfuse \
libyajl.so:devel/yajl
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-USES= gmake tar:bzip2
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= ac_cv_path_PATH_ASCIIDOC=${TRUE} \
+ ac_cv_path_PATH_XMLTO=${TRUE} \
+ --disable-dependency-tracking
+USES= gmake pkgconfig tar:bzip2
+BUILD_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
+INSTALL_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
-PULSEAUDIO_EXTRA_PATCHES_OFF= ${FILESDIR}/no-pulseaudio.diff
-PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
-
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/i3status.c
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/i3status ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/i3status.1 ${STAGEDIR}${MANPREFIX}/man/man1
+post-install:
${INSTALL_DATA} ${WRKSRC}/i3status.conf \
${STAGEDIR}${PREFIX}/etc/i3status.conf.sample
+
.include <bsd.port.mk>
Modified: head/x11/i3status/distinfo
==============================================================================
--- head/x11/i3status/distinfo Thu Aug 29 12:38:24 2019 (r510160)
+++ head/x11/i3status/distinfo Thu Aug 29 13:29:51 2019 (r510161)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1526289145
-SHA256 (i3status-2.12.tar.bz2) = 6fc6881536043391ab4bed369d956f99d1088965d8bcebed18d1932de3ba791a
-SIZE (i3status-2.12.tar.bz2) = 57162
+TIMESTAMP = 1564643344
+SHA256 (i3status-2.13.tar.bz2) = ce89c9ff8565f62e88299f1a611229afdfc356b4e97368a5f8c4f06ad2fa1466
+SIZE (i3status-2.13.tar.bz2) = 201409
Added: head/x11/i3status/files/patch-src_print__volume.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/i3status/files/patch-src_print__volume.c Thu Aug 29 13:29:51 2019 (r510161)
@@ -0,0 +1,11 @@
+--- src/print_volume.c.orig 2019-01-23 08:03:56 UTC
++++ src/print_volume.c
+@@ -86,7 +86,7 @@ void print_volume(yajl_gen json_gen, char *buffer, con
+ free(instance);
+ }
+
+-#if !defined(__DragonFly__) && !defined(__OpenBSD__)
++#if !defined(__DragonFly__) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
+ /* Try PulseAudio first */
+
+ /* If the device name has the format "pulse[:N]" where N is the
Added: head/x11/i3status/files/patch-src_pulse.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/i3status/files/patch-src_pulse.c Thu Aug 29 13:29:51 2019 (r510161)
@@ -0,0 +1,12 @@
+--- src/pulse.c.orig 2019-01-23 08:03:56 UTC
++++ src/pulse.c
+@@ -1,3 +1,4 @@
++#ifndef __FreeBSD__
+ // vim:ts=4:sw=4:expandtab
+ #include <config.h>
+ #include <string.h>
+@@ -337,3 +338,4 @@ bool pulse_initialize(void) {
+ }
+ return true;
+ }
++#endif
More information about the svn-ports-head
mailing list