aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xfce4-media
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2011-11-09 18:29:53 +0000
committerAde Lovett <ade@FreeBSD.org>2011-11-09 18:29:53 +0000
commitbe4629647774aa8f30e98f664ad1bb93ef03c0d5 (patch)
treec1fb8228467a7d23b303f17db6f15670c54a5401 /multimedia/xfce4-media
parent17b9b39d430d680abbadf17f40bab6ca9a60b196 (diff)
downloadports-be4629647774aa8f30e98f664ad1bb93ef03c0d5.tar.gz
ports-be4629647774aa8f30e98f664ad1bb93ef03c0d5.zip
Notes
Diffstat (limited to 'multimedia/xfce4-media')
-rw-r--r--multimedia/xfce4-media/Makefile7
-rw-r--r--multimedia/xfce4-media/files/patch-src_playlist-files.c12
2 files changed, 17 insertions, 2 deletions
diff --git a/multimedia/xfce4-media/Makefile b/multimedia/xfce4-media/Makefile
index 5f3a308304f5..c2795a0527ca 100644
--- a/multimedia/xfce4-media/Makefile
+++ b/multimedia/xfce4-media/Makefile
@@ -18,8 +18,6 @@ COMMENT= Lightweight media player for Xfce4 based on the xine engine
LIB_DEPENDS= xine.1:${PORTSDIR}/multimedia/libxine
-BROKEN= Does not work with Xfce 4.8
-
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
@@ -61,5 +59,10 @@ CFLAGS+= -I${LOCALBASE}/include
post-patch:
@${REINPLACE_CMD} -e "s|xfmedia_remote_LDADD = |&@LIBXFCEGUI4_LIBS@|" \
${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e "s|exo-0.3|exo-1|" ${WRKSRC}/configure
+.for file in mediamarks.c playlist.c settings-dialog.c xfmedia-playlist-queue.c
+ @${REINPLACE_CMD} -e "s|EXO_PANGO_ELLIPSIZE_END|PANGO_ELLIPSIZE_END|" \
+ ${WRKSRC}/src/${file}
+.endfor
.include <bsd.port.post.mk>
diff --git a/multimedia/xfce4-media/files/patch-src_playlist-files.c b/multimedia/xfce4-media/files/patch-src_playlist-files.c
new file mode 100644
index 000000000000..53004b219031
--- /dev/null
+++ b/multimedia/xfce4-media/files/patch-src_playlist-files.c
@@ -0,0 +1,12 @@
+--- src/playlist-files.c.orig 2006-11-26 23:21:23.000000000 -0800
++++ src/playlist-files.c 2011-11-04 12:28:14.000000000 -0700
+@@ -815,3 +815,3 @@
+
+- md5sum = exo_str_get_md5_str(original_uri);
++ md5sum = g_compute_checksum_for_string(G_CHECKSUM_MD5, original_uri, -1);
+
+@@ -843,3 +843,3 @@
+
+- md5sum = exo_str_get_md5_str(original_uri);
++ md5sum = g_compute_checksum_for_string(G_CHECKSUM_MD5, original_uri, -1);
+