packages: emesene/emesene.spec, emesene/locale-path.patch (NEW)=?UTF-8?Q?=20?=- fix local...
glen
glen at pld-linux.org
Thu Jul 5 19:03:23 CEST 2012
Author: glen Date: Thu Jul 5 17:03:23 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- fix locales finding
---- Files affected:
packages/emesene:
emesene.spec (1.26 -> 1.27) , locale-path.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/emesene/emesene.spec
diff -u packages/emesene/emesene.spec:1.26 packages/emesene/emesene.spec:1.27
--- packages/emesene/emesene.spec:1.26 Thu Jul 5 18:59:17 2012
+++ packages/emesene/emesene.spec Thu Jul 5 19:03:18 2012
@@ -4,7 +4,7 @@
Summary: Instant messaging client for Windows Live Messenger (tm) network
Name: emesene
Version: 2.12.5
-Release: 0.1
+Release: 0.2
License: GPL v3 (emesene), GPL v2 (themes), LGPL (the rest)
Group: Applications/Networking
URL: http://www.emesene.org/
@@ -13,6 +13,7 @@
Patch0: %{name}-desktop.patch
Patch2: plugins-pyc.patch
Patch3: pythonpath.patch
+Patch4: locale-path.patch
BuildRequires: gettext
BuildRequires: python-devel
BuildRequires: python-modules
@@ -80,6 +81,7 @@
%patch0 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
# remove shebang
%{__sed} -i -e '/^#!\//, 1d' emesene/test/e3_example.py emesene/extension.py \
@@ -210,6 +212,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.27 2012/07/05 17:03:18 glen
+- fix locales finding
+
Revision 1.26 2012/07/05 16:59:17 glen
- up to 2.12.5, currently fails to startup when scanning languages
================================================================
Index: packages/emesene/locale-path.patch
diff -u /dev/null packages/emesene/locale-path.patch:1.1
--- /dev/null Thu Jul 5 19:03:23 2012
+++ packages/emesene/locale-path.patch Thu Jul 5 19:03:18 2012
@@ -0,0 +1,11 @@
+--- emesene-2.12.5/emesene/Language.py~ 2012-07-05 19:58:24.000000000 +0300
++++ emesene-2.12.5/emesene/Language.py 2012-07-05 20:00:31.501276097 +0300
+@@ -108,7 +108,7 @@
+
+ self._default_locale = locale.getdefaultlocale()[0]
+ self._lang = os.getenv('LANGUAGE') or self._default_locale
+- self._locales_path = 'po/' if os.path.exists('po/') else None
++ self._locales_path = 'po/' if os.path.exists('po/') else '/usr/share/locale'
+
+ self._get_languages_list()
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/emesene/emesene.spec?r1=1.26&r2=1.27
More information about the pld-cvs-commit
mailing list