pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/inputmethod/ibus Update patches to upstream changes fo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/688ce773a2d0
branches: trunk
changeset: 603957:688ce773a2d0
user: obache <obache%pkgsrc.org@localhost>
date: Fri May 18 11:12:24 2012 +0000
description:
Update patches to upstream changes for non UTF-8 locales.
Bump PKGREVISION.
diffstat:
inputmethod/ibus/Makefile | 4 ++--
inputmethod/ibus/distinfo | 4 ++--
inputmethod/ibus/patches/patch-setup_i18n.py | 5 +++--
3 files changed, 7 insertions(+), 6 deletions(-)
diffs (52 lines):
diff -r 528ec2be0b48 -r 688ce773a2d0 inputmethod/ibus/Makefile
--- a/inputmethod/ibus/Makefile Fri May 18 09:20:49 2012 +0000
+++ b/inputmethod/ibus/Makefile Fri May 18 11:12:24 2012 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2012/05/02 09:11:43 obache Exp $
+# $NetBSD: Makefile,v 1.16 2012/05/18 11:12:24 obache Exp $
#
DISTNAME= ibus-1.4.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= inputmethod
MASTER_SITES= http://ibus.googlecode.com/files/
diff -r 528ec2be0b48 -r 688ce773a2d0 inputmethod/ibus/distinfo
--- a/inputmethod/ibus/distinfo Fri May 18 09:20:49 2012 +0000
+++ b/inputmethod/ibus/distinfo Fri May 18 11:12:24 2012 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2012/05/02 09:11:44 obache Exp $
+$NetBSD: distinfo,v 1.6 2012/05/18 11:12:24 obache Exp $
SHA1 (ibus-1.4.1.tar.gz) = 4cc045553885d35a118ec4b44c2694910209509e
RMD160 (ibus-1.4.1.tar.gz) = 4003fc9392c59ce35048689aa50a941cfd151cff
Size (ibus-1.4.1.tar.gz) = 1479412 bytes
-SHA1 (patch-setup_i18n.py) = a132bb392b9b50185fe6e8740e4c74243e730fe6
+SHA1 (patch-setup_i18n.py) = 0069b00b83a9348cca73c85adddf554733356544
diff -r 528ec2be0b48 -r 688ce773a2d0 inputmethod/ibus/patches/patch-setup_i18n.py
--- a/inputmethod/ibus/patches/patch-setup_i18n.py Fri May 18 09:20:49 2012 +0000
+++ b/inputmethod/ibus/patches/patch-setup_i18n.py Fri May 18 11:12:24 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-setup_i18n.py,v 1.1 2012/05/02 09:11:44 obache Exp $
+$NetBSD: patch-setup_i18n.py,v 1.2 2012/05/18 11:12:25 obache Exp $
* fix translations fail
http://code.google.com/p/ibus/issues/detail?id=1453
@@ -13,7 +13,7 @@
import gettext
import os
-@@ -30,5 +31,12 @@ N_ = lambda a: a
+@@ -30,5 +31,13 @@ N_ = lambda a: a
def init():
localedir = os.getenv("IBUS_LOCALEDIR")
@@ -22,6 +22,7 @@
+ try:
+ # for non-standard localedir
+ locale.bindtextdomain(DOMAINNAME, localedir)
++ locale.bind_textdomain_codeset(DOMAINNAME, "UTF-8")
+ except AttributeError:
+ pass
gettext.bindtextdomain(DOMAINNAME, localedir)
Home |
Main Index |
Thread Index |
Old Index