diff options
author | naddy <naddy@FreeBSD.org> | 2009-11-15 20:26:31 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2009-11-15 20:26:31 +0800 |
commit | cff09ff2f7ba13d1c9ac5a7b27f24b2a5564a800 (patch) | |
tree | bf2f244e84b96ed9617d7c251b66a664237a675e /audio/grip | |
parent | 4026b01942642288d5f56b6bec991236773c27c7 (diff) | |
download | freebsd-ports-graphics-cff09ff2f7ba13d1c9ac5a7b27f24b2a5564a800.tar.gz freebsd-ports-graphics-cff09ff2f7ba13d1c9ac5a7b27f24b2a5564a800.tar.zst freebsd-ports-graphics-cff09ff2f7ba13d1c9ac5a7b27f24b2a5564a800.zip |
Fix the actual bug that caused translated message catalogs to be
displayed incorrectly, and remove the workaround.
Diffstat (limited to 'audio/grip')
-rw-r--r-- | audio/grip/Makefile | 13 | ||||
-rw-r--r-- | audio/grip/files/patch-src::main.c | 11 |
2 files changed, 12 insertions, 12 deletions
diff --git a/audio/grip/Makefile b/audio/grip/Makefile index 2984a3f0273..86bbcd2e61b 100644 --- a/audio/grip/Makefile +++ b/audio/grip/Makefile @@ -7,7 +7,7 @@ PORTNAME= grip PORTVERSION= 3.2.0 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= audio MASTER_SITES= SF @@ -16,7 +16,6 @@ COMMENT= GTK front-end to external cd rippers and audio encoders LIB_DEPENDS= id3-3.8.3:${PORTSDIR}/audio/id3lib \ curl.5:${PORTSDIR}/ftp/curl -PATCH_DEPENDS= iconv:${PORTSDIR}/converters/libiconv USE_XORG= x11 USE_GNOME= gnomehack gnomeprefix gnometarget libgnomeui vte @@ -40,8 +39,6 @@ OPTIONS+= BLADEENC "Encoder: bladeenc: Install audio/bladeenc" off \ FLAC "Encoder: flac: Install audio/flac" off \ GOGO "Encoder: gogo: Install audio/gogo" off -ISO_LOCALES= de es fr pt_BR - .include <bsd.port.pre.mk> .if defined(WITH_CDROM_DEVICE) @@ -102,13 +99,5 @@ post-patch: @${REINPLACE_CMD} -e 's|{"xingmp3enc","-B %b -Q %w","mp3"},||; \ s|{"l3enc","-br %b %w %m","mp3"},|{"faac","--no-midside -w -q 100 --artist %a --album %d --track %t --title %n --year %y --genre %g -b %b %w -o %m", "m4a"},|' \ ${WRKSRC}/src/gripcfg.c -.for l in ${ISO_LOCALES} - @${MV} ${WRKSRC}/po/${l}.po ${WRKSRC}/po/_${l}.po - ${LOCALBASE}/bin/iconv -f ISO-8859-15 -t UTF-8 \ - ${WRKSRC}/po/_${l}.po > ${WRKSRC}/po/${l}.po -.endfor - @${MV} ${WRKSRC}/po/ru.po ${WRKSRC}/po/_ru.po - ${LOCALBASE}/bin/iconv -f koi8-r -t UTF-8 \ - ${WRKSRC}/po/_ru.po > ${WRKSRC}/po/ru.po .include <bsd.port.post.mk> diff --git a/audio/grip/files/patch-src::main.c b/audio/grip/files/patch-src::main.c new file mode 100644 index 00000000000..40f1bc169bc --- /dev/null +++ b/audio/grip/files/patch-src::main.c @@ -0,0 +1,11 @@ +--- src/main.c.orig ++++ src/main.c +@@ -163,7 +163,7 @@ + GNOME_PARAM_POPT_TABLE,options, + GNOME_PROGRAM_STANDARD_PROPERTIES,NULL); + +- bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF8"); ++ bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); + + /* Session Management */ + |