- Update to 0.5.2

- Switch to USES= gmake
- Remove patch, when plugin is missing (submitted and approved by upstream)

ChangeLog: http://git.xfce.org/apps/parole/tree/ChangeLog?id=0.5.2#n2
This commit is contained in:
Olivier Duchateau 2013-07-25 17:21:59 +00:00
parent e15cf4ef53
commit 72f2f983e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323654
4 changed files with 4 additions and 55 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= parole
PORTVERSION= 0.5.1
PORTVERSION= 0.5.2
CATEGORIES= multimedia xfce
MASTER_SITES= XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}/
DIST_SUBDIR= xfce4
@ -19,7 +19,6 @@ LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib \
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --enable-notify-plugin \
--enable-tray-plugin \
--enable-taglib \
@ -30,7 +29,7 @@ USE_GNOME= gtk20 glib20 intltool intlhack
USE_XFCE= configenv libmenu libutil
USE_XORG= x11 sm
USE_LDCONFIG= yes
USES= desktop-file-utils pathfix pkgconfig
USES= desktop-file-utils pathfix pkgconfig gmake
OPTIONS_DEFINE= NLS
OPTIONS_SINGLE= GSTREAMER

View file

@ -1,2 +1,2 @@
SHA256 (xfce4/parole-0.5.1.tar.bz2) = dcd0f300d5c23c2c926a6b8becf8d86cffc255dc43addc94822120fc57cbc349
SIZE (xfce4/parole-0.5.1.tar.bz2) = 645499
SHA256 (xfce4/parole-0.5.2.tar.bz2) = 7ea01168beffda972c8a7392d8e7934edc6be9e19ad8655df7697ca699d0746c
SIZE (xfce4/parole-0.5.2.tar.bz2) = 680012

View file

@ -1,48 +0,0 @@
--- ./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,
+#if defined(__linux__)
GTK_MESSAGE_QUESTION,
+#elif defined(__FreeBSD__)
+ GTK_MESSAGE_WARNING,
+#endif
GTK_BUTTONS_NONE,
"<b><big>%s</big></b>",
_("Additional software is required.")
));
+#if defined(__linux__)
gtk_dialog_add_buttons( GTK_DIALOG(dialog),
_("Don't Install"),
GTK_RESPONSE_REJECT,
_("Install"),
GTK_RESPONSE_ACCEPT,
NULL );
+#elif defined(__FreeBSD__)
+ gtk_dialog_add_button( GTK_DIALOG(dialog),
+ GTK_STOCK_OK,
+ GTK_RESPONSE_ACCEPT);
+#endif
gtk_message_dialog_format_secondary_markup(dialog,
+#if defined(__linux__)
"Parole needs <b>%s</b> to play this file.\n"
"It can be installed automatically.",
+#elif defined(__FreeBSD__)
+ "Parole needs <b>%s</b> to play this file.",
+#endif
desc);
return GTK_DIALOG(dialog);
@@ -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) )
gtk_widget_destroy(GTK_WIDGET(dialog));
}
break;

View file

@ -53,12 +53,10 @@ share/icons/hicolor/scalable/apps/parole.svg
%%NLS%%share/locale/sr/LC_MESSAGES/parole.mo
%%NLS%%share/locale/sv/LC_MESSAGES/parole.mo
%%NLS%%share/locale/te/LC_MESSAGES/parole.mo
%%NLS%%share/locale/th/LC_MESSAGES/parole.mo
%%NLS%%share/locale/tr/LC_MESSAGES/parole.mo
%%NLS%%share/locale/ug/LC_MESSAGES/parole.mo
%%NLS%%share/locale/uk/LC_MESSAGES/parole.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/parole.mo
%%NLS%%share/locale/zh_HK/LC_MESSAGES/parole.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/parole.mo
%%DATADIR%%/gtk-2.0/parole.gtkrc
%%DATADIR%%/parole-plugins-0/notify.desktop