[Midnightbsd-cvs] mports [17189] trunk/audio/sound-juicer: add patch
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Sep 14 22:40:22 EDT 2014
Revision: 17189
http://svnweb.midnightbsd.org/mports/?rev=17189
Author: laffer1
Date: 2014-09-14 22:40:21 -0400 (Sun, 14 Sep 2014)
Log Message:
-----------
add patch
Modified Paths:
--------------
trunk/audio/sound-juicer/Makefile
trunk/audio/sound-juicer/pkg-plist
Added Paths:
-----------
trunk/audio/sound-juicer/files/
trunk/audio/sound-juicer/files/patch-src_sj-main.c
Modified: trunk/audio/sound-juicer/Makefile
===================================================================
--- trunk/audio/sound-juicer/Makefile 2014-09-15 02:37:40 UTC (rev 17188)
+++ trunk/audio/sound-juicer/Makefile 2014-09-15 02:40:21 UTC (rev 17189)
@@ -2,7 +2,7 @@
PORTNAME= sound-juicer
PORTVERSION= 2.32.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -9,6 +9,7 @@
MAINTAINER= ports at MidnightBSD.org
COMMENT= Clean, mean and lean CD ripper for GNOME2
+
LICENSE= gpl2
LIB_DEPENDS= musicbrainz3.6:${PORTSDIR}/audio/libmusicbrainz3 \
@@ -19,11 +20,9 @@
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
brasero-media.3:${PORTSDIR}/sysutils/brasero
-USE_BZIP2= yes
-USES= gettext
-USE_GMAKE= yes
+USES= gettext gmake pathfix pkgconfig tar:bzip2 desktop-file-utils
INSTALLS_OMF= yes
-USE_GNOME= gnomehack intlhack gnomeprefix gconf2 libglade2 gnomedocutils
+USE_GNOME= intlhack gnomeprefix gconf2 libglade2 gnomedocutils
USE_GSTREAMER= cdparanoia vorbis flac gconf good gio
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-ignore-missing-cd
@@ -31,7 +30,6 @@
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-MAN1= sound-juicer.1
GCONF_SCHEMAS= sound-juicer.schemas
post-patch:
@@ -39,7 +37,4 @@
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|" == "|" = "|g' ${WRKSRC}/configure
-post-install:
- @-update-desktop-database
-
.include <bsd.port.mk>
Added: trunk/audio/sound-juicer/files/patch-src_sj-main.c
===================================================================
--- trunk/audio/sound-juicer/files/patch-src_sj-main.c (rev 0)
+++ trunk/audio/sound-juicer/files/patch-src_sj-main.c 2014-09-15 02:40:21 UTC (rev 17189)
@@ -0,0 +1,17 @@
+--- src/sj-main.c.orig 2012-02-14 16:44:03.000000000 +0900
++++ src/sj-main.c 2012-02-14 16:46:41.000000000 +0900
+@@ -410,9 +410,11 @@
+ g_return_val_if_fail (title != NULL, NULL);
+ g_return_val_if_fail (artist != NULL, NULL);
+
+- infobar = gtk_info_bar_new_with_buttons (_("S_ubmit Album"), GTK_RESPONSE_OK,
+- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+- NULL);
++ infobar = gtk_info_bar_new ();
++ button = gtk_info_bar_add_button (GTK_INFO_BAR (infobar),
++ _("S_ubmit Album"), GTK_RESPONSE_OK);
++ gtk_info_bar_add_button (GTK_INFO_BAR (infobar),
++ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
+
+ /* Translators: title, artist */
+ primary_text = g_strdup_printf (_("Could not find %s by %s on MusicBrainz."), title, artist);
Modified: trunk/audio/sound-juicer/pkg-plist
===================================================================
--- trunk/audio/sound-juicer/pkg-plist 2014-09-15 02:37:40 UTC (rev 17188)
+++ trunk/audio/sound-juicer/pkg-plist 2014-09-15 02:40:21 UTC (rev 17189)
@@ -1,4 +1,5 @@
bin/sound-juicer
+man/man1/sound-juicer.1.gz
share/applications/sound-juicer.desktop
share/gnome/help/sound-juicer/C/figures/prefs.png
share/gnome/help/sound-juicer/C/figures/startup.png
More information about the Midnightbsd-cvs
mailing list