aboutsummaryrefslogtreecommitdiffstats
path: root/misc/xosd
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-05-06 20:40:24 +0800
committerperky <perky@FreeBSD.org>2003-05-06 20:40:24 +0800
commit2170d50ba25f8419e3304587d1461b11f17e2cbe (patch)
tree2ebbab430d436db2aabfa572ed9b7da2c653e09f /misc/xosd
parentffb768e8aa7c250a33ce45dedc9975b4454e972b (diff)
downloadfreebsd-ports-gnome-2170d50ba25f8419e3304587d1461b11f17e2cbe.tar.gz
freebsd-ports-gnome-2170d50ba25f8419e3304587d1461b11f17e2cbe.tar.zst
freebsd-ports-gnome-2170d50ba25f8419e3304587d1461b11f17e2cbe.zip
- Update to 2.2.1 [1]
- Allow building WITHOUT_XMMS. [2] PR: 51494 [1] Submitted by: Sebastian Yepes <Sebastian@mail.x123.info> [1] Suggested by: Andy Fawcett <andy@athame.co.uk> [2]
Diffstat (limited to 'misc/xosd')
-rw-r--r--misc/xosd/Makefile14
-rw-r--r--misc/xosd/distinfo2
-rw-r--r--misc/xosd/files/patch-xosd.c14
-rw-r--r--misc/xosd/pkg-plist6
4 files changed, 23 insertions, 13 deletions
diff --git a/misc/xosd/Makefile b/misc/xosd/Makefile
index a0f8f78a6bb9..bbdee3a3ca7f 100644
--- a/misc/xosd/Makefile
+++ b/misc/xosd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xosd
-PORTVERSION= 2.1.3
+PORTVERSION= 2.2.1
CATEGORIES= misc
MASTER_SITES= http://www.ignavus.net/ \
${MASTER_SITE_LOCAL}
@@ -16,8 +16,10 @@ MAINTAINER= perky@FreeBSD.org
COMMENT= X On-Screen-Display Library and XMMS plug-in
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
- xmms.3:${PORTSDIR}/multimedia/xmms \
gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
+.if !defined(WITHOUT_XMMS)
+LIB_DEPENDS+= xmms.3:${PORTSDIR}/multimedia/xmms
+.endif
XMMS_CONFIG?= ${X11BASE}/bin/xmms-config
USE_X_PREFIX= yes
@@ -30,6 +32,13 @@ CONFIGURE_ENV= LIBS=${PTHREAD_LIBS}' -L${LOCALBASE}/lib -lgnugetopt' \
CFLAGS='${CFLAGS}' X11BASE='${X11BASE}' \
GTK_CONFIG='${GTK_CONFIG}' GLIB_CONFIG='${GLIB_CONFIG}' \
XMMS_PLUGINDIR=${X11BASE}/lib/xmms
+.if defined(WITHOUT_XMMS)
+CONFIGURE_ARGS= --disable-new-plugin
+PLIST_SUB= WITH_XMMS="@comment "
+PKGNAMESUFFIX= -without-xmms
+.else
+PLIST_SUB= WITH_XMMS=""
+.endif
MAN1= osd_cat.1 xosd-config.1
MAN3= xosd_destroy.3 xosd_is_onscreen.3 xosd_set_shadow_offset.3 \
@@ -39,6 +48,7 @@ MAN3= xosd_destroy.3 xosd_is_onscreen.3 xosd_set_shadow_offset.3 \
pre-patch:
${REINPLACE_CMD} -e 's,-lc_r,-lblahblah,g' ${WRKSRC}/ltmain.sh
+ ${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure
.for f in src/libxosd/Makefile.in src/xmms_plugin/Makefile.in
${REINPLACE_CMD} -e 's,^\(CFLAGS =\)\(.*\)$$,\1 -I.. \2,g' ${WRKSRC}/$f
.endfor
diff --git a/misc/xosd/distinfo b/misc/xosd/distinfo
index 736a084fcc15..3571a06fd702 100644
--- a/misc/xosd/distinfo
+++ b/misc/xosd/distinfo
@@ -1 +1 @@
-MD5 (xosd-2.1.3.tar.gz) = 400315c785735d19cddaa98c78808448
+MD5 (xosd-2.2.1.tar.gz) = def0a24f0e2716f4e8c01308445605b3
diff --git a/misc/xosd/files/patch-xosd.c b/misc/xosd/files/patch-xosd.c
index 0251602472b0..6f207c5a548e 100644
--- a/misc/xosd/files/patch-xosd.c
+++ b/misc/xosd/files/patch-xosd.c
@@ -1,11 +1,11 @@
--- src/libxosd/xosd.c.orig Wed Feb 19 10:53:59 2003
+++ src/libxosd/xosd.c Mon Mar 31 14:00:23 2003
-@@ -278,7 +278,7 @@
+@@ -332,7 +332,7 @@
- DEBUG("event thread started");
- assert (osd);
-- usleep (500);
-+ usleep (100000);
+ DEBUG("event thread started");
+ assert (osd);
+- usleep (500);
++ usleep (100000);
- while (!osd->done) {
- //DEBUG("checking window event");
+ while (!osd->done) {
+ //DEBUG("checking window event");
diff --git a/misc/xosd/pkg-plist b/misc/xosd/pkg-plist
index 4dbe153125cb..c8a76bc14427 100644
--- a/misc/xosd/pkg-plist
+++ b/misc/xosd/pkg-plist
@@ -4,9 +4,9 @@ include/xosd.h
lib/libxosd.a
lib/libxosd.la
lib/libxosd.so
-lib/libxosd.so.3
-lib/xmms/General/libxmms_osd.la
-lib/xmms/General/libxmms_osd.so
+lib/libxosd.so.4
+%%WITH_XMMS%%lib/xmms/General/libxmms_osd.la
+%%WITH_XMMS%%lib/xmms/General/libxmms_osd.so
share/aclocal/libxosd.m4
share/xosd/bottom-left.png
share/xosd/bottom-right.png