diff options
author | olivierd <olivierd@FreeBSD.org> | 2013-06-04 04:55:44 +0800 |
---|---|---|
committer | olivierd <olivierd@FreeBSD.org> | 2013-06-04 04:55:44 +0800 |
commit | a0749f32481fe3abac083afc69709a5efbd792f9 (patch) | |
tree | bdeed71114157f27fa0b8a9ea2081401eb752191 /multimedia | |
parent | 0dec9047003e3ab54f73d31ef5c7e8c203f8e76e (diff) | |
download | freebsd-ports-gnome-a0749f32481fe3abac083afc69709a5efbd792f9.tar.gz freebsd-ports-gnome-a0749f32481fe3abac083afc69709a5efbd792f9.tar.zst freebsd-ports-gnome-a0749f32481fe3abac083afc69709a5efbd792f9.zip |
- Update to 0.5.1
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xfce4-parole/Makefile | 3 | ||||
-rw-r--r-- | multimedia/xfce4-parole/distinfo | 4 | ||||
-rw-r--r-- | multimedia/xfce4-parole/files/patch-src__gst__parole-gst.c | 37 | ||||
-rw-r--r-- | multimedia/xfce4-parole/files/patch-src__parole-player.c | 28 | ||||
-rw-r--r-- | multimedia/xfce4-parole/pkg-plist | 3 |
5 files changed, 12 insertions, 63 deletions
diff --git a/multimedia/xfce4-parole/Makefile b/multimedia/xfce4-parole/Makefile index 2a2f2180f095..c7217239056b 100644 --- a/multimedia/xfce4-parole/Makefile +++ b/multimedia/xfce4-parole/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= parole -PORTVERSION= 0.5.0 -PORTREVISION= 2 +PORTVERSION= 0.5.1 CATEGORIES= multimedia xfce MASTER_SITES= XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}/ DIST_SUBDIR= xfce4 diff --git a/multimedia/xfce4-parole/distinfo b/multimedia/xfce4-parole/distinfo index 0f6536287225..420c5403b541 100644 --- a/multimedia/xfce4-parole/distinfo +++ b/multimedia/xfce4-parole/distinfo @@ -1,2 +1,2 @@ -SHA256 (xfce4/parole-0.5.0.tar.bz2) = ba23f06f59720f35af07d50bc43de444dd726df592129137b5550d951bd4a285 -SIZE (xfce4/parole-0.5.0.tar.bz2) = 645848 +SHA256 (xfce4/parole-0.5.1.tar.bz2) = dcd0f300d5c23c2c926a6b8becf8d86cffc255dc43addc94822120fc57cbc349 +SIZE (xfce4/parole-0.5.1.tar.bz2) = 645499 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 f60202045aa7..33dd312f2a26 100644 --- a/multimedia/xfce4-parole/files/patch-src__gst__parole-gst.c +++ b/multimedia/xfce4-parole/files/patch-src__gst__parole-gst.c @@ -1,18 +1,6 @@ ---- ./src/gst/parole-gst.c.orig 2013-03-07 00:14:28.000000000 +0000 -+++ ./src/gst/parole-gst.c 2013-04-28 16:06:10.000000000 +0000 -@@ -33,9 +33,11 @@ - #if GST_CHECK_VERSION(1, 0, 0) - #include <gst/video/videooverlay.h> - #include <gst/video/navigation.h> -+#include <gst/audio/streamvolume.h> - #else - #include <gst/interfaces/xoverlay.h> - #include <gst/interfaces/navigation.h> -+#include <gst/interfaces/streamvolume.h> - #endif - - #include <gst/pbutils/missing-plugins.h> -@@ -1573,22 +1575,36 @@ +--- ./src/gst/parole-gst.c.orig 2013-05-26 15:18:14.000000000 +0000 ++++ ./src/gst/parole-gst.c 2013-06-03 20:41:34.000000000 +0000 +@@ -1579,22 +1579,36 @@ dialog = GTK_MESSAGE_DIALOG(gtk_message_dialog_new_with_markup( NULL, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, @@ -36,7 +24,7 @@ +#elif defined(__FreeBSD__) + gtk_dialog_add_button( GTK_DIALOG(dialog), + GTK_STOCK_OK, -+ GTK_RESPONSE_OK); ++ GTK_RESPONSE_ACCEPT); +#endif gtk_message_dialog_format_secondary_markup(dialog, @@ -49,25 +37,12 @@ desc); return GTK_DIALOG(dialog); -@@ -1712,7 +1728,7 @@ +@@ -1718,7 +1732,7 @@ #endif gst_install_plugins_context_free(ctx); } - else if ( response == GTK_RESPONSE_REJECT ) -+ else if ( ( response == GTK_RESPONSE_REJECT ) || (response == GTK_RESPONSE_OK) ) ++ else if ( (response == GTK_RESPONSE_REJECT) || (response == GTK_RESPONSE_OK) ) gtk_widget_destroy(GTK_WIDGET(dialog)); } break; -@@ -2624,9 +2640,9 @@ - - void parole_gst_set_volume (ParoleGst *gst, gdouble value) - { -- g_object_set (G_OBJECT (gst->priv->playbin), -- "volume", value, -- NULL); -+ gst_stream_volume_set_volume (GST_STREAM_VOLUME (gst->priv->playbin), -+ GST_STREAM_VOLUME_FORMAT_CUBIC, -+ value); - } - - gdouble parole_gst_get_volume (ParoleGst *gst) diff --git a/multimedia/xfce4-parole/files/patch-src__parole-player.c b/multimedia/xfce4-parole/files/patch-src__parole-player.c deleted file mode 100644 index 5632695ac677..000000000000 --- a/multimedia/xfce4-parole/files/patch-src__parole-player.c +++ /dev/null @@ -1,28 +0,0 @@ ---- ./src/parole-player.c.orig 2013-03-07 00:14:28.000000000 +0000 -+++ ./src/parole-player.c 2013-04-28 16:08:15.000000000 +0000 -@@ -1650,6 +1650,7 @@ - seek = parole_gst_get_stream_position (PAROLE_GST (player->priv->gst) ) - - - seek; -+ if ( seek < 0 ) { seek = 0; } - parole_gst_seek (PAROLE_GST (player->priv->gst), seek); - parole_player_change_range_value (player, seek); - } -@@ -2241,7 +2242,7 @@ - { - gdouble value; - value = gtk_scale_button_get_value (GTK_SCALE_BUTTON (player->priv->volume)); -- gtk_scale_button_set_value (GTK_SCALE_BUTTON (player->priv->volume), value + 0.1); -+ gtk_scale_button_set_value (GTK_SCALE_BUTTON (player->priv->volume), value + 0.05); - } - - void -@@ -2249,7 +2250,7 @@ - { - gdouble value; - value = gtk_scale_button_get_value (GTK_SCALE_BUTTON (player->priv->volume)); -- gtk_scale_button_set_value (GTK_SCALE_BUTTON (player->priv->volume), value - 0.1); -+ gtk_scale_button_set_value (GTK_SCALE_BUTTON (player->priv->volume), value - 0.05); - } - - void parole_player_volume_mute (GtkWidget *widget, ParolePlayer *player) diff --git a/multimedia/xfce4-parole/pkg-plist b/multimedia/xfce4-parole/pkg-plist index 093807981ae6..ef391ce5e25b 100644 --- a/multimedia/xfce4-parole/pkg-plist +++ b/multimedia/xfce4-parole/pkg-plist @@ -40,6 +40,7 @@ share/icons/hicolor/scalable/apps/parole.svg %%NLS%%share/locale/it/LC_MESSAGES/parole.mo %%NLS%%share/locale/ja/LC_MESSAGES/parole.mo %%NLS%%share/locale/ko/LC_MESSAGES/parole.mo +%%NLS%%share/locale/kk/LC_MESSAGES/parole.mo %%NLS%%share/locale/lt/LC_MESSAGES/parole.mo %%NLS%%share/locale/lv/LC_MESSAGES/parole.mo %%NLS%%share/locale/nl/LC_MESSAGES/parole.mo @@ -72,6 +73,8 @@ share/pixmaps/parole.png %%NLS%%@dirrmtry share/locale/ug %%NLS%%@dirrmtry share/locale/te/LC_MESSAGES %%NLS%%@dirrmtry share/locale/te +%%NLS%%@dirrmtry share/locale/kk/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/kk %%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES %%NLS%%@dirrmtry share/locale/ast @dirrm lib/parole-0 |