Date: Sat, 10 Apr 2010 15:51:52 GMT From: Olivier Duchateau <duchateau.olivier@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/145608: [PATCH] multimedia/xfce4-parole Message-ID: <201004101551.o3AFpqVw004063@www.freebsd.org> Resent-Message-ID: <201004101600.o3AG08Np020796@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 145608 >Category: ports >Synopsis: [PATCH] multimedia/xfce4-parole >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Apr 10 16:00:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Olivier Duchateau >Release: FreeBSD 8.0-RELEASE-p2 >Organization: >Environment: FreeBSD orval.errements.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC 2010 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Add support for DVD, CD audio and HTTP client (with gstreamer-plugins-soup). >How-To-Repeat: >Fix: Patch attached with submission follows: diff -bu /usr/ports/multimedia/xfce4-parole/Makefile xfce4-parole/Makefile --- /usr/ports/multimedia/xfce4-parole/Makefile 2010-03-28 08:41:06.000000000 +0200 +++ xfce4-parole/Makefile 2010-04-10 17:43:37.000000000 +0200 @@ -7,34 +7,70 @@ PORTNAME= xfce4-parole PORTVERSION= 0.2.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia xfce -MASTER_SITES= http://archive.xfce.org/src/apps/parole/0.2/ +MASTER_SITES= http://archive.xfce.org/src/apps/${PORTNAME:S/xfce4-//}/0.2/ DISTNAME= parole-${PORTVERSION} DIST_SUBDIR= xfce4 MAINTAINER= miwi@FreeBSD.org COMMENT= Lightweight media player for Xfce4 based on the gstreamer engine -LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib +OPTIONS= NLS "Enable Native Language Support" on \ + CDDA "Enable audio CD support" on \ + DVD "Enable DVD support" on \ + MPEG4 "Enable MPEG4 multimedia support" on \ + BROWSER_PLUGIN "Enable plugin for browsers" off + +LIB_DEPENDS= tag.1:${PORTSDIR}/audio/taglib \ + notify.1:${PORTSDIR}/devel/libnotify GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_BZIP2= yes -USE_GSTREAMER= ffmpeg good theora xvid mp3 faad ogg dvd x264 +USE_GSTREAMER= good flac vorbis wavpack mad theora ffmpeg soup USE_GMAKE= yes -CONFIGURE_ARGS= --disable-power-manager-plugin +CONFIGURE_ARGS= --disable-gtk-doc --enable-debug=no CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" USE_GNOME= gnomehack intltool intlhack pkgconfig USE_XFCE= configenv libexo libgui libutil panel USE_XORG= x11 sm +.include <bsd.port.pre.mk> + .if !defined(WITHOUT_NLS) USE_GETTEXT= yes +CONFIGURE_ARGS+= --enable-nls PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif -.include <bsd.port.mk> +.if !defined(WITHOUT_CDDA) +USE_GSTREAMER+= cdaudio +RUN_DEPENDS= ${LOCALBASE}/lib/gstreamer-${GST_VERSION}/libgstcdio.so:${PORTSDIR}/sysutils/gstreamer-plugins-cdio +.endif + +.if !defined(WITHOUT_DVD) +USE_GSTREAMER+= ugly dvd a52dec dts +.endif + +.if !defined(WITHOUT_MPEG4) +USE_GSTREAMER+= faad mpeg2dec x264 xvid +.endif + +.if !defined(WITHOUT_BROWSER_PLUGIN) +CONFIGURE_ARGS+= --enable-browser-plugin +PLIST_SUB+= BROWSER_PLUGIN="" + +USE_WEBPLUGINS= webkit-gtk2 +WEBPLUGINS_DIR= ${PREFIX}/libexec +WEBPLUGINS_FILES= parole-media-plugin +.include "${PORTSDIR}/www/firefox/Makefile.webplugins" +.else +CONFIGURE_ARGS+= --disable-browser-plugin +PLIST_SUB+= BROWSER_PLUGIN="@comment " +.endif + +.include <bsd.port.post.mk> diff -bu /usr/ports/multimedia/xfce4-parole/pkg-plist xfce4-parole/pkg-plist --- /usr/ports/multimedia/xfce4-parole/pkg-plist 2010-01-23 01:41:51.000000000 +0100 +++ xfce4-parole/pkg-plist 2010-04-05 14:20:50.000000000 +0200 @@ -7,14 +7,16 @@ include/parole/parole-provider-plugin.h include/parole/parole-stream.h include/parole/parole.h +lib/parole-0/power-manager-plugin.la +lib/parole-0/power-manager-plugin.so lib/parole-0/stream-properties.la lib/parole-0/stream-properties.so lib/parole-0/tray-icon.la lib/parole-0/tray-icon.so lib/parole-0/window-title.la lib/parole-0/window-title.so -libexec/parole-media-plugin -share/applications/parole.desktop +%%BROWSER_PLUGIN%%libexec/parole-media-plugin +%%NLS%%share/applications/parole.desktop share/icons/hicolor/16x16/apps/parole.png share/icons/hicolor/22x22/apps/parole.png share/icons/hicolor/32x32/apps/parole.png @@ -40,6 +42,7 @@ %%NLS%%share/locale/tr/LC_MESSAGES/parole.mo %%NLS%%share/locale/uk/LC_MESSAGES/parole.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/parole.mo +share/parole/parole-plugins-0/power-manager.desktop share/parole/parole-plugins-0/stream-properties.desktop share/parole/parole-plugins-0/system-tray.desktop share/parole/parole-plugins-0/window-title.desktop @@ -47,10 +50,47 @@ @dirrm share/parole/pixmaps @dirrm share/parole/parole-plugins-0 @dirrm share/parole +%%NLS%%@dirrmtry share/locale/zh_CN/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/zh_CN +%%NLS%%@dirrmtry share/locale/uk/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/uk +%%NLS%%@dirrmtry share/locale/tr/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/tr +%%NLS%%@dirrmtry share/locale/sv/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/sv +%%NLS%%@dirrmtry share/locale/sk/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/sk +%%NLS%%@dirrmtry share/locale/ru/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/ru +%%NLS%%@dirrmtry share/locale/pt/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/pt +%%NLS%%@dirrmtry share/locale/nl/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/nl +%%NLS%%@dirrmtry share/locale/lv/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/lv +%%NLS%%@dirrmtry share/locale/ja/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/ja +%%NLS%%@dirrmtry share/locale/id/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/id +%%NLS%%@dirrmtry share/locale/gl/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/gl +%%NLS%%@dirrmtry share/locale/fr/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/fr +%%NLS%%@dirrmtry share/locale/eu/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/eu +%%NLS%%@dirrmtry share/locale/es/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/es +%%NLS%%@dirrmtry share/locale/de/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/de +%%NLS%%@dirrmtry share/locale/da/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/da +%%NLS%%@dirrmtry share/locale/cs/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/cs +%%NLS%%@dirrmtry share/locale/ca/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/ca %%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES %%NLS%%@dirrmtry share/locale/ast -@dirrmtry share/applications +@exec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || true +@unexec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || true @dirrm lib/parole-0 @dirrm include/parole -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004101551.o3AFpqVw004063>