[mcomix/f16] 0.99

Mamoru Tasaka mtasaka at fedoraproject.org
Tue Jul 17 04:23:34 UTC 2012


commit 5d78caafa77ce3ab039552ed0f4fa1a1714cfbf3
Author: TASAKA Mamoru <mtasaka at localhost.localdomain>
Date:   Tue Jul 17 13:23:26 2012 +0900

    0.99

 .gitignore                                         |    1 +
 ...tch => mcomix-0.98-gettext-system-install.patch |    8 ++++----
 mcomix.spec                                        |   10 ++++++++--
 sources                                            |    2 +-
 4 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2dafcc0..72ee430 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /mcomix-0.96.tar.bz2
 /mcomix-0.97.1.tar.bz2
 /mcomix-0.98.tar.bz2
+/mcomix-0.99.tar.bz2
diff --git a/mcomix-0.94-gettext-system-install.patch b/mcomix-0.98-gettext-system-install.patch
similarity index 69%
rename from mcomix-0.94-gettext-system-install.patch
rename to mcomix-0.98-gettext-system-install.patch
index e12721a..f01d92d 100644
--- a/mcomix-0.94-gettext-system-install.patch
+++ b/mcomix-0.98-gettext-system-install.patch
@@ -1,12 +1,12 @@
---- mcomix-0.94/mcomix/i18n.py.debug	2011-09-22 19:53:56.000000000 +0900
-+++ mcomix-0.94/mcomix/i18n.py	2011-10-10 04:00:39.000000000 +0900
+--- mcomix-0.98/mcomix/i18n.py.debug	2011-09-22 19:53:56.000000000 +0900
++++ mcomix-0.98/mcomix/i18n.py	2012-06-06 10:00:00.000000000 +0900
 @@ -84,6 +84,14 @@
              translation = gettext.GNUTranslations(
                      pkg_resources.resource_stream('mcomix.messages', resource))
              break
 +        else:
-+            exec_path = os.path.abspath(sys.argv[0])
-+            base_dir = os.path.dirname(os.path.dirname(exec_path))
++            root_path = os.path.normpath('/')
++            base_dir = os.path.join(root_path, 'usr')
 +            locale_dir = os.path.join (base_dir, 'share', 'locale')
 +            if gettext.find(domain=domain, localedir=locale_dir, languages=[lang]):
 +                translation = gettext.translation(domain=domain, localedir=locale_dir,
diff --git a/mcomix.spec b/mcomix.spec
index 7591171..78ca58f 100644
--- a/mcomix.spec
+++ b/mcomix.spec
@@ -1,5 +1,5 @@
 Name:		mcomix
-Version:	0.98
+Version:	0.99
 Release:	1%{?dist}
 Summary:	User-friendly, customizable image viewer for comic books
 
@@ -12,7 +12,7 @@ Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
 # is needed
 Patch0:		mcomix-0.92-fedora-rpmbuild-gtk.patch
 # Fedora specific(?): patch to search default localedir for gettext files
-Patch1:		mcomix-0.94-gettext-system-install.patch
+Patch1:		mcomix-0.98-gettext-system-install.patch
 
 BuildArch:	noarch
 BuildRequires:	gettext
@@ -158,6 +158,12 @@ exit 0
 
 
 %changelog
+* Tue Jul 17 2012 Mamoru Tasaka <mtasaka at fedoraproject.org> - 0.99-1
+- 0.99
+
+* Wed Jun  6 2012 Mamoru Tasaka <mtasaka at fedoraproject.org> - 0.98-2
+- Fix the direction of gettext catalog path wrt F-17 usrmove
+
 * Fri Apr 13 2012 Mamoru Tasaka <mtasaka at fedoraproject.org> - 0.98-1
 - 0.98
 
diff --git a/sources b/sources
index f8e6286..e3aa2fe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e5850a8e9272c410cb4fa92b17387fdb  mcomix-0.98.tar.bz2
+a1ff7e1955042069d5005b4034e7a914  mcomix-0.99.tar.bz2


More information about the scm-commits mailing list