svn commit: r463357 - head/multimedia/xfce4-parole
Ben Woods
woodsb02 at FreeBSD.org
Thu Mar 1 23:05:41 UTC 2018
Author: woodsb02
Date: Thu Mar 1 23:05:40 2018
New Revision: 463357
URL: https://svnweb.freebsd.org/changeset/ports/463357
Log:
multimedia/xfce4-parole: Remove GST01 and CLUTTER options
- GStreamer 0.10 API has been removed since the 0.9.2 release.
- Clutter backend is blacklisted (it induces crash) with Gtk >= 3.22.
Inform users that they need to switch to 'xvimagesink' or 'ximagesink'
- Add RUN_DEPENDS=devel/xdg-utils, as xdg-screensaver is used to inhibit
the screensaver
Reported by: Olivier Duchateau <duchateau.olivier at gmail.com>
Added:
head/multimedia/xfce4-parole/pkg-message (contents, props changed)
Modified:
head/multimedia/xfce4-parole/Makefile
Modified: head/multimedia/xfce4-parole/Makefile
==============================================================================
--- head/multimedia/xfce4-parole/Makefile Thu Mar 1 22:52:04 2018 (r463356)
+++ head/multimedia/xfce4-parole/Makefile Thu Mar 1 23:05:40 2018 (r463357)
@@ -3,6 +3,7 @@
PORTNAME= parole
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= multimedia xfce
MASTER_SITES= XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}/
DIST_SUBDIR= xfce4
@@ -17,6 +18,7 @@ LIB_DEPENDS= libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
libnotify.so:devel/libnotify \
libtag.so:audio/taglib
+RUN_DEPENDS= xdg-screensaver:devel/xdg-utils
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
@@ -24,8 +26,10 @@ CONFIGURE_ARGS= --enable-notify-plugin \
--enable-tray-plugin \
--enable-taglib \
--disable-mpris2-plugin \
- --without-html-dir
+ --without-html-dir \
+ --with-gstreamer=1.0
USE_GNOME= cairo gtk30 glib20 intltool intlhack
+USE_GSTREAMER1= core faad flac wavpack rtmp x
USE_XFCE= panel
USE_XORG= ice sm x11
USE_LDCONFIG= yes
@@ -33,56 +37,18 @@ USES= desktop-file-utils gettext-tools gmake libtool
tar:bzip2 xfce:gtk3
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= CLUTTER NLS
-OPTIONS_SINGLE= GSTREAMER
-# GST01 (GStreamer 0.10), GST10 (GStreamer 1.0)
-OPTIONS_SINGLE_GSTREAMER= GST01 GST10
-OPTIONS_GROUP= GST_PLUG
+OPTIONS_DEFINE= NLS
+OPTIONS_GROUP= GST_PLUG
OPTIONS_GROUP_GST_PLUG= CDDA HTTP
-# Since 0.5.91 release, GStreamer 1.0 is enabled by default
-OPTIONS_DEFAULT= GST10 HTTP
-CLUTTER_LIB_DEPENDS= libclutter-gst-2.0.so:multimedia/clutter-gst \
- libclutter-gtk-1.0.so:graphics/clutter-gtk3
-CLUTTER_IMPLIES= GST10
-CLUTTER_CONFIGURE_ENABLE= clutter
-NLS_USES= gettext-runtime
-NLS_CONFIGURE_ENABLE= nls
-HTTP_DESC= HTTP streaming (libsoup)
-GST01_DESC= GStreamer 0.10
-GST10_DESC= GStreamer 1.0
-GST_PLUG_DESC= Additional GStreamer plugins
-CLUTTER_DESC= Clutter (OpenGL) backend
-OPTIONS_SUB= yes
+OPTIONS_DEFAULT= HTTP
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGST01}
-USE_GSTREAMER= core faad flac wavpack
-CONFIGURE_ARGS+=--with-gstreamer=0.10
-.endif
-
-.if ${PORT_OPTIONS:MGST10}
-USE_GSTREAMER1= core faad flac wavpack rtmp x
-CONFIGURE_ARGS+=--with-gstreamer=1.0
-.endif
-
-.if ${PORT_OPTIONS:MCDDA}
-.if ${PORT_OPTIONS:MGST01}
-USE_GSTREAMER+= cdparanoia
-.endif
-.if ${PORT_OPTIONS:MGST10}
-USE_GSTREAMER1+= cdparanoia
-.endif
-.endif
-
-.if ${PORT_OPTIONS:MHTTP}
-.if ${PORT_OPTIONS:MGST01}
-USE_GSTREAMER+= soup
-.endif
-.if ${PORT_OPTIONS:MGST10}
-USE_GSTREAMER1+= soup
-.endif
-.endif
+CDDA_USE= gstreamer1=cdparanoia
+GST_PLUG_DESC= Additional GStreamer plugins
+HTTP_DESC= HTTP streaming (libsoup)
+HTTP_USE= gstreamer1=soup
+NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext-runtime
post-patch:
# Fix .rc files path
Added: head/multimedia/xfce4-parole/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/xfce4-parole/pkg-message Thu Mar 1 23:05:40 2018 (r463357)
@@ -0,0 +1,13 @@
+------------------------------------------------------------------------
+The Clutter backend has been removed from the multimedia/xfce4-parole
+port, as it induces a crash with Gtk >= 3.22.
+
+If you had manually configured parole to use the Clutter backend, you
+must switch to 'xvimagesink' or 'ximagesink'.
+
+You can use the 'xfconf-query' command in order to change the backend:
+$ xfconf-query -c parole -p /video/videosink -s "xvimagesink"
+You can choose 'xvimagesink' or 'ximagesink'.
+Alternatively you can remove previously specified backend:
+$ xfconf-query -c parole -p /video/videosink -r
+------------------------------------------------------------------------
More information about the svn-ports-all
mailing list