]> git.pld-linux.org Git - packages/calibre.git/commitdiff
- 0.8.16 auto/ti/calibre-0_8_16-1
authorlisu <lisu@pld-linux.org>
Sat, 27 Aug 2011 11:03:26 +0000 (11:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    calibre-locales.patch -> 1.7
    calibre.spec -> 1.109

calibre-locales.patch
calibre.spec

index 3bcdaa7b1d44c6e95355da4d8be7070a3a2e82a7..3eec2c2c428882548c6feb6b30c520eba4c6c417 100644 (file)
@@ -99,9 +99,9 @@
      if trans is None:
          return getattr(__builtins__, '_', lambda x: x)(text)
      return trans.ugettext(text)
---- calibre/setup/translations.py.orig 2011-07-15 18:54:35.000000000 +0200
-+++ calibre/setup/translations.py      2011-07-18 13:57:58.791853837 +0200
-@@ -132,7 +132,7 @@
+--- calibre/setup/translations.py.orig 2011-08-26 18:36:51.000000000 +0200
++++ calibre/setup/translations.py      2011-08-27 12:55:49.997229244 +0200
+@@ -131,7 +131,7 @@
  
      def mo_file(self, po_file):
          locale = os.path.splitext(os.path.basename(po_file))[0]
  
      def run(self, opts):
          for f in self.po_files():
-@@ -140,8 +140,9 @@
+@@ -139,8 +139,9 @@
              base = os.path.dirname(dest)
              if not os.path.exists(base):
                  os.makedirs(base)
 +            if self.newer(dest, f):
 +                self.info('\tCompiling translations for', locale)
 +                subprocess.check_call(['msgfmt', '-o', dest, f])
-             if locale in ('en_GB', 'en_CA', 'en_AU', 'si', 'ur', 'sc', 'ltg', 'nds', 'te', 'yi'):
-                 continue
-             pycountry = self.j(sysconfig.get_python_lib(), 'pycountry',
-@@ -157,16 +158,6 @@
-                 '\nDo you have pycountry installed?')
+             iscpo = {'bn':'bn_IN', 'zh_HK':'zh_CN'}.get(locale, locale)
+             iso639 = self.j(self.d(self.SRC), 'setup', 'iso_639',
+                     '%s.po'%iscpo)
+@@ -155,16 +156,6 @@
+                 self.warn('No ISO 639 translations for locale:', locale)
  
          self.write_stats()
 -        self.freeze_locales()
index 55eb531567aef2af469343be25471dfea376eba4..29ab89190ef8a28412aa089ef4969e0d897cb148 100644 (file)
 Summary:       E-book converter and library management
 Summary(pl.UTF-8):     Konwerter oraz biblioteka dla e-booków
 Name:          calibre
-Version:       0.8.15
+Version:       0.8.16
 Release:       1
 License:       GPL v3+
 Group:         Applications/Multimedia
 Source0:       %{name}-%{version}-nofonts.tar.xz
-# Source0-md5: 7e40667b1a72c5484827ebba2f206d8c
+# Source0-md5: d85f2f193ecfcaef4ddd09e866a2a749
 Source1:       generate-tarball.sh
 Source2:       %{name}-mount-helper
 Patch0:                %{name}-prefix.patch
This page took 0.212572 seconds and 4 git commands to generate.