From e3bc39d157d9df7719f803f7087744ee1bd7dad6 Mon Sep 17 00:00:00 2001 From: landry Date: Sat, 14 Nov 2009 11:28:54 +0000 Subject: [PATCH] Fix de es fr pt_BR locales. Advertising the potfiles being UTF-8 while they are in fact ISO-8859-1 badly breaks things. Pango doesn't complain anymore, and accentued chars are correctly displayed now. Note that i have nothing against ru zh_CN zh_TW zh_KR locales, but i didn't find a way to unfuck the upstream potfiles. ok ajacoutot@ --- audio/grip/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/audio/grip/Makefile b/audio/grip/Makefile index 27e0464f85a..90d57d15e3b 100644 --- a/audio/grip/Makefile +++ b/audio/grip/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.33 2009/08/10 06:29:52 kili Exp $ +# $OpenBSD: Makefile,v 1.34 2009/11/14 11:28:54 landry Exp $ COMMENT= front-end to external cd audio rippers and mp3 encoders DISTNAME= grip-3.2.0 -PKGNAME= ${DISTNAME}p13 +PKGNAME= ${DISTNAME}p14 CATEGORIES= audio HOMEPAGE= http://www.nostatic.org/grip/ @@ -49,4 +49,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ USE_LIBTOOL= Yes USE_X11= Yes +post-configure: +.for lang in de es fr pt_BR + ${LOCALBASE}/bin/iconv -f ISO-8859-1 -t UTF-8 ${WRKSRC}/po/${lang}.po > ${WRKSRC}/po/${lang}.po-fixed + mv ${WRKSRC}/po/${lang}.po{-fixed,} +.endfor + .include