summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-11-22 14:32:55 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-11-22 14:32:55 +0000
commit1c65f91864647fe9ceb36cebbac631d3f9719c53 (patch)
treeed35aa0e23aeb5d5bc9dd3bab8d7abd239ae36da /media-video/ogle-gui
parentAdd ~sparc-fbsd keyword. (diff)
downloadgentoo-2-1c65f91864647fe9ceb36cebbac631d3f9719c53.tar.gz
gentoo-2-1c65f91864647fe9ceb36cebbac631d3f9719c53.tar.bz2
gentoo-2-1c65f91864647fe9ceb36cebbac631d3f9719c53.zip
Switch gettext to utf-8 output, fixing bug #84850.
(Portage version: 2.1.2_rc2-r1)
Diffstat (limited to 'media-video/ogle-gui')
-rw-r--r--media-video/ogle-gui/ChangeLog6
-rw-r--r--media-video/ogle-gui/files/ogle-gui-0.9.2-text-encoding.patch12
-rw-r--r--media-video/ogle-gui/ogle-gui-0.9.2.ebuild11
3 files changed, 26 insertions, 3 deletions
diff --git a/media-video/ogle-gui/ChangeLog b/media-video/ogle-gui/ChangeLog
index 4978aa34643a..ef0ba2451748 100644
--- a/media-video/ogle-gui/ChangeLog
+++ b/media-video/ogle-gui/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/ogle-gui
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ogle-gui/ChangeLog,v 1.29 2006/09/01 17:24:03 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ogle-gui/ChangeLog,v 1.30 2006/11/22 14:32:55 zzam Exp $
+
+ 22 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +files/ogle-gui-0.9.2-text-encoding.patch, ogle-gui-0.9.2.ebuild:
+ Switch gettext to utf-8 output, fixing bug #84850.
01 Sep 2006; Stefan Schweizer <genstef@gentoo.org> ogle-gui-0.9.2.ebuild:
drop gtk2, bug 106560
diff --git a/media-video/ogle-gui/files/ogle-gui-0.9.2-text-encoding.patch b/media-video/ogle-gui/files/ogle-gui-0.9.2-text-encoding.patch
new file mode 100644
index 000000000000..f28f945b119a
--- /dev/null
+++ b/media-video/ogle-gui/files/ogle-gui-0.9.2-text-encoding.patch
@@ -0,0 +1,12 @@
+Nur in ogle_gui-0.9.2-orig/po: messages.mo.
+diff -ru ogle_gui-0.9.2-orig/src/main.c ogle_gui-0.9.2/src/main.c
+--- ogle_gui-0.9.2-orig/src/main.c 2006-11-20 15:43:27.000000000 +0100
++++ ogle_gui-0.9.2/src/main.c 2006-11-20 16:10:22.000000000 +0100
+@@ -237,6 +237,7 @@
+ #ifdef ENABLE_NLS
+ setlocale(LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
++ bind_textdomain_codeset(PACKAGE, "UTF-8");
+ textdomain (PACKAGE);
+ #endif
+ if(argc==1) {
diff --git a/media-video/ogle-gui/ogle-gui-0.9.2.ebuild b/media-video/ogle-gui/ogle-gui-0.9.2.ebuild
index 3c0527e98f30..9b3219267ac0 100644
--- a/media-video/ogle-gui/ogle-gui-0.9.2.ebuild
+++ b/media-video/ogle-gui/ogle-gui-0.9.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ogle-gui/ogle-gui-0.9.2.ebuild,v 1.18 2006/09/01 17:24:03 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ogle-gui/ogle-gui-0.9.2.ebuild,v 1.19 2006/11/22 14:32:55 zzam Exp $
-inherit libtool
+inherit libtool eutils
IUSE="nls"
@@ -28,6 +28,13 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/bison"
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-text-encoding.patch
+}
+
src_compile() {
elibtoolize