diff options
author | Olivier Duchateau <olivierd@FreeBSD.org> | 2013-01-12 11:51:03 +0000 |
---|---|---|
committer | Olivier Duchateau <olivierd@FreeBSD.org> | 2013-01-12 11:51:03 +0000 |
commit | c61f836636d764eb2a30c19b631ef07b0f1221f6 (patch) | |
tree | f4898588849160ae844f877e781d12214a6f1655 /multimedia/xfce4-parole/files | |
parent | 7ba8ac7910bc1edd534d0a13a65f0ee6a2bf33f7 (diff) |
Notes
Diffstat (limited to 'multimedia/xfce4-parole/files')
-rw-r--r-- | multimedia/xfce4-parole/files/patch-configure | 9 | ||||
-rw-r--r-- | multimedia/xfce4-parole/files/patch-data__interfaces__playlist.ui | 11 | ||||
-rw-r--r-- | multimedia/xfce4-parole/files/patch-src__gst__parole-gst.c (renamed from multimedia/xfce4-parole/files/patch-src_gst_parole-gst.c) | 112 | ||||
-rw-r--r-- | multimedia/xfce4-parole/files/patch-src__misc__parole-file.c | 26 |
4 files changed, 123 insertions, 35 deletions
diff --git a/multimedia/xfce4-parole/files/patch-configure b/multimedia/xfce4-parole/files/patch-configure index d397c3d4cf67..0fafde73d437 100644 --- a/multimedia/xfce4-parole/files/patch-configure +++ b/multimedia/xfce4-parole/files/patch-configure @@ -1,14 +1,15 @@ ---- configure.orig 2012-08-18 13:14:45.000000000 +0000 -+++ configure 2012-08-18 16:12:17.000000000 +0000 -@@ -18761,7 +18761,6 @@ +--- ./configure.orig 2013-01-07 10:17:14.000000000 +0000 ++++ ./configure 2013-01-08 20:20:14.000000000 +0000 +@@ -18772,7 +18772,7 @@ fi fi - USE_NLS=yes ++ #USE_NLS=yes gt_cv_have_gettext=no -@@ -23214,10 +23213,10 @@ +@@ -23621,10 +23621,10 @@ else cat >>confdefs.h <<_ACEOF diff --git a/multimedia/xfce4-parole/files/patch-data__interfaces__playlist.ui b/multimedia/xfce4-parole/files/patch-data__interfaces__playlist.ui new file mode 100644 index 000000000000..b4b587e0443d --- /dev/null +++ b/multimedia/xfce4-parole/files/patch-data__interfaces__playlist.ui @@ -0,0 +1,11 @@ +--- ./data/interfaces/playlist.ui.orig 2013-01-07 10:15:53.000000000 +0000 ++++ ./data/interfaces/playlist.ui 2013-01-09 22:15:33.000000000 +0000 +@@ -5,7 +5,7 @@ + <object class="GtkMenu" id="dvd-menu"> + <property name="visible">True</property> + <property name="can_focus">False</property> +- <property name="ubuntu_local">True</property> ++ <!-- <property name="ubuntu_local">True</property> --> + <child> + <object class="GtkMenuItem" id="dvd-menu-menu"> + <property name="visible">True</property> diff --git a/multimedia/xfce4-parole/files/patch-src_gst_parole-gst.c b/multimedia/xfce4-parole/files/patch-src__gst__parole-gst.c index 40645e3b9f82..8e4976717447 100644 --- a/multimedia/xfce4-parole/files/patch-src_gst_parole-gst.c +++ b/multimedia/xfce4-parole/files/patch-src__gst__parole-gst.c @@ -1,103 +1,153 @@ ---- src/gst/parole-gst.c.orig 2012-08-08 19:34:30.000000000 +0000 -+++ src/gst/parole-gst.c 2012-08-10 22:16:18.000000000 +0000 -@@ -84,7 +84,7 @@ +--- ./src/gst/parole-gst.c.orig 2013-01-07 10:15:53.000000000 +0000 ++++ ./src/gst/parole-gst.c 2013-01-08 21:36:35.000000000 +0000 +@@ -97,8 +97,12 @@ + GstElement *video_sink; GstBus *bus; - -- GMutex lock; +- ++ ++#if GLIB_CHECK_VERSION (2, 32, 0) + GMutex lock; ++#else + GMutex *lock; ++#endif GstState state; GstState target; ParoleState media_state; -@@ -166,7 +166,7 @@ +@@ -184,8 +188,12 @@ + if ( gst->priv->device ) g_free (gst->priv->device); - -- g_mutex_clear (&gst->priv->lock); +- ++ ++#if GLIB_CHECK_VERSION (2, 32, 0) + g_mutex_clear (&gst->priv->lock); ++#else + g_mutex_free (gst->priv->lock); ++#endif G_OBJECT_CLASS (parole_gst_parent_class)->finalize (object); } -@@ -1515,10 +1515,10 @@ +@@ -1876,11 +1884,19 @@ + g_object_get (G_OBJECT (gst->priv->stream), "has-video", &playing_video, NULL); - -- g_mutex_lock (&gst->priv->lock); +- ++ ++#if GLIB_CHECK_VERSION (2, 32, 0) + g_mutex_lock (&gst->priv->lock); ++#else + g_mutex_lock (gst->priv->lock); ++#endif gst->priv->target = GST_STATE_NULL; parole_stream_init_properties (gst->priv->stream); -- g_mutex_unlock (&gst->priv->lock); ++#if GLIB_CHECK_VERSION (2, 32, 0) + g_mutex_unlock (&gst->priv->lock); ++#else + g_mutex_unlock (gst->priv->lock); ++#endif parole_window_busy_cursor (GTK_WIDGET (gst)->window); -@@ -1844,7 +1844,7 @@ +@@ -2226,7 +2242,11 @@ gst->priv->target = GST_STATE_VOID_PENDING; gst->priv->media_state = PAROLE_STATE_STOPPED; gst->priv->aspect_ratio = PAROLE_ASPECT_RATIO_NONE; -- g_mutex_init (&gst->priv->lock); ++#if GLIB_CHECK_VERSION (2, 32, 0) + g_mutex_init (&gst->priv->lock); ++#else + gst->priv->lock = g_mutex_new (); ++#endif gst->priv->stream = parole_stream_new (); gst->priv->tick_id = 0; gst->priv->hidecursor_timer = g_timer_new (); -@@ -1921,7 +1921,7 @@ +@@ -2330,7 +2350,11 @@ void parole_gst_play_uri (ParoleGst *gst, const gchar *uri, const gchar *subtitles) { -- g_mutex_lock (&gst->priv->lock); ++#if GLIB_CHECK_VERSION (2, 32, 0) + g_mutex_lock (&gst->priv->lock); ++#else + g_mutex_lock (gst->priv->lock); ++#endif gst->priv->target = GST_STATE_PLAYING; parole_stream_init_properties (gst->priv->stream); -@@ -1931,7 +1931,7 @@ +@@ -2339,8 +2363,12 @@ + "uri", uri, "subtitles", subtitles, NULL); - -- g_mutex_unlock (&gst->priv->lock); +- ++ ++#if GLIB_CHECK_VERSION (2, 32, 0) + g_mutex_unlock (&gst->priv->lock); ++#else + g_mutex_unlock (gst->priv->lock); ++#endif if ( gst->priv->state_change_id == 0 ) gst->priv->state_change_id = g_timeout_add_seconds (20, -@@ -1972,11 +1972,11 @@ +@@ -2381,11 +2409,19 @@ void parole_gst_pause (ParoleGst *gst) { -- g_mutex_lock (&gst->priv->lock); ++#if GLIB_CHECK_VERSION (2, 32, 0) + g_mutex_lock (&gst->priv->lock); ++#else + g_mutex_lock (gst->priv->lock); ++#endif gst->priv->target = GST_STATE_PAUSED; - -- g_mutex_unlock (&gst->priv->lock); +- ++ ++#if GLIB_CHECK_VERSION (2, 32, 0) + g_mutex_unlock (&gst->priv->lock); ++#else + g_mutex_unlock (gst->priv->lock); ++#endif parole_window_busy_cursor (GTK_WIDGET (gst)->window); parole_gst_change_state (gst, GST_STATE_PAUSED); -@@ -1984,11 +1984,11 @@ +@@ -2393,11 +2429,19 @@ void parole_gst_resume (ParoleGst *gst) { -- g_mutex_lock (&gst->priv->lock); ++#if GLIB_CHECK_VERSION (2, 32, 0) + g_mutex_lock (&gst->priv->lock); ++#else + g_mutex_lock (gst->priv->lock); ++#endif gst->priv->target = GST_STATE_PLAYING; - -- g_mutex_unlock (&gst->priv->lock); +- ++ ++#if GLIB_CHECK_VERSION (2, 32, 0) + g_mutex_unlock (&gst->priv->lock); ++#else + g_mutex_unlock (gst->priv->lock); ++#endif parole_window_busy_cursor (GTK_WIDGET (gst)->window); parole_gst_change_state (gst, GST_STATE_PLAYING); -@@ -2008,12 +2008,12 @@ +@@ -2417,12 +2461,20 @@ void parole_gst_stop (ParoleGst *gst) { -- g_mutex_lock (&gst->priv->lock); ++#if GLIB_CHECK_VERSION (2, 32, 0) + g_mutex_lock (&gst->priv->lock); ++#else + g_mutex_lock (gst->priv->lock); ++#endif parole_stream_init_properties (gst->priv->stream); gst->priv->target = GST_STATE_NULL; - -- g_mutex_unlock (&gst->priv->lock); +- ++ ++#if GLIB_CHECK_VERSION (2, 32, 0) + g_mutex_unlock (&gst->priv->lock); ++#else + g_mutex_unlock (gst->priv->lock); ++#endif parole_window_busy_cursor (GTK_WIDGET (gst)->window); diff --git a/multimedia/xfce4-parole/files/patch-src__misc__parole-file.c b/multimedia/xfce4-parole/files/patch-src__misc__parole-file.c new file mode 100644 index 000000000000..093d6fcfff1b --- /dev/null +++ b/multimedia/xfce4-parole/files/patch-src__misc__parole-file.c @@ -0,0 +1,26 @@ +--- ./src/misc/parole-file.c.orig 2013-01-07 10:15:53.000000000 +0000 ++++ ./src/misc/parole-file.c 2013-01-08 21:14:23.000000000 +0000 +@@ -610,7 +610,11 @@ + void + parole_file_set_custom_subtitles (const ParoleFile *file, gchar *suburi) + { ++#if GLIB_CHECK_VERSION (2, 30, 0) + GValue value = G_VALUE_INIT; ++#else ++ GValue value; ++#endif + g_value_init (&value, G_TYPE_STRING); + g_value_set_static_string (&value, suburi); + +@@ -643,7 +647,11 @@ + void + parole_file_set_dvd_chapter (const ParoleFile *file, gint dvd_chapter) + { ++#if GLIB_CHECK_VERSION (2, 30, 0) + GValue value = G_VALUE_INIT; ++#else ++ GValue value; ++#endif + g_value_init (&value, G_TYPE_INT); + g_value_set_int (&value, dvd_chapter); + |