Hello community, here is the log from the commit of package calibre for openSUSE:Factory checked in at Mon Aug 22 16:17:04 CEST 2011. -------- --- calibre/calibre.changes 2011-08-14 17:52:14.000000000 +0200 +++ /mounts/work_src_done/STABLE/calibre/calibre.changes 2011-08-20 15:19:33.000000000 +0200 @@ -1,0 +2,40 @@ +Sat Aug 20 12:55:33 UTC 2011 - Sascha.Manns@open-slx.de + +- updated to version 0.8.15 +- New Features: + o Add a 'languages' metadata field. + o Get Books: Add XinXii store. + o Metadata download plugin for ozon.ru, enabled only when user selects + russian as their language in the welcome wizard. + o Bambook driver: Allow direct transfer of PDF files to Bambook devices + o Driver for Coby MID7015A and Asus EEE Note + o Edit metadata dialog: The keyboard shortcut Ctrl+D can now be used to + trigger a metadata download. Also show the row number of the book + being edited in the titlebar + o Add an option to not preserve the date when using the 'Copy to + Library' function (found in Preferences->Adding books) + +- Bug Fixs: + o Linux binary: Use readlink -f rather than readlink -e in the launcher + scripts so that they work with recent releases of busybox + o When bulk downloading metadata for more than 100 books at a time, + automatically split up the download into batches of 100. + o When deleting books from the Kindle also delete 'sidecar' .apnx and + .ph1 files as the kindle does not clean them up automatically + o Fix a subtle bug in the device drivers that caused calibre to lose + track of some books on the device if you used author_sort in the send + to device template and your books have author sort values that differ + only in case. + o Fix scene break character pattern not saved in conversion preferences + o Keyboard shortcuts: Fix a bug triggered by some third party plugins + that made the keyboard preferences unusable in OS X. + o Search box: Fix completion no longer working after using Tag Browser + to do a search. Also ensure that completer popup is always hidden when + a search is performed. + o Fix pressing Enter in the search box causes the same search to be + executed twice in the plugins and keyboard shortcuts preferences + panels + o Catalog generation: Fix error creating epub/mobi catalogs on non UTF-8 + windows systems when the metadata contained non ASCII characters + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- calibre-0.8.14-nofonts.tar.bz2 New: ---- calibre-0.8.15-nofonts.tar.bz2 calibre-l18n.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ calibre.spec ++++++ --- /var/tmp/diff_new_pack.AKnHyw/_old 2011-08-22 16:16:50.000000000 +0200 +++ /var/tmp/diff_new_pack.AKnHyw/_new 2011-08-22 16:16:50.000000000 +0200 @@ -19,7 +19,7 @@ Summary: EBook Management Application Name: calibre -Version: 0.8.14 +Version: 0.8.15 Release: 1 Url: http://calibre-ebook.com Group: Productivity/Other ++++++ calibre-0.8.14-nofonts.tar.bz2 -> calibre-0.8.15-nofonts.tar.bz2 ++++++ calibre/calibre-0.8.14-nofonts.tar.bz2 /mounts/work_src_done/STABLE/calibre/calibre-0.8.15-nofonts.tar.bz2 differ: char 11, line 1 ++++++ calibre-l18n.diff ++++++ diff -u '--exclude=*_ui.py' '--exclude=*.so' -r calibre.bak/src/calibre//translations/dynamic.py calibre/src/calibre//translations/dynamic.py --- calibre.bak/src/calibre//translations/dynamic.py 2010-04-23 22:11:59.000000000 +0200 +++ calibre/src/calibre//translations/dynamic.py 2010-04-28 14:08:54.000000000 +0200 @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- ''' Dynamic language lookup of translations for user-visible strings. ''' @@ -8,8 +9,7 @@ import os from gettext import GNUTranslations -from calibre.utils.localization import get_lc_messages_path - +from calibre.utils.localization import get_lc_messages_path, CALIBRE_MO __all__ = ['translate'] _CACHE = {} @@ -21,7 +21,7 @@ else: mpath = get_lc_messages_path(lang) if mpath is not None: - p = os.path.join(mpath, 'messages.mo') + p = os.path.join(mpath, CALIBRE_MO) if os.path.exists(p): trans = GNUTranslations(open(p, 'rb')) _CACHE[lang] = trans diff -u '--exclude=*_ui.py' '--exclude=*.so' -r calibre.bak/src/calibre//utils/localization.py calibre/src/calibre//utils/localization.py --- calibre.bak/src/calibre//utils/localization.py 2010-04-23 22:11:59.000000000 +0200 +++ calibre/src/calibre//utils/localization.py 2010-04-28 14:48:20.000000000 +0200 @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement @@ -9,6 +10,7 @@ import os, locale, re, cStringIO, cPickle from gettext import GNUTranslations +CALIBRE_MO = "calibre.mo" _available_translations = None def available_translations(): @@ -45,7 +47,11 @@ return lang def messages_path(lang): - return P('localization/locales/%s/LC_MESSAGES'%lang) + # return P('localization/locales/%s/LC_MESSAGES'%lang) + return '/usr/share/locale/%s/LC_MESSAGES' % lang + +def qt_message_path(lang): + return '/usr/share/qt4/translations' def get_lc_messages_path(lang): hlang = None @@ -75,7 +81,7 @@ mpath = get_lc_messages_path(lang) if mpath is not None: if buf is None: - buf = open(os.path.join(mpath, 'messages.mo'), 'rb') + buf = open(os.path.join(mpath, CALIBRE_MO), 'rb') mpath = mpath.replace(os.sep+'nds'+os.sep, os.sep+'de'+os.sep) isof = os.path.join(mpath, 'iso639.mo') if os.path.exists(isof): @@ -138,9 +144,9 @@ if lang is not None: if lang == 'nds': lang = 'de' - mpath = get_lc_messages_path(lang) - if mpath is not None: - p = os.path.join(mpath, 'qt.qm') + qtpath = qt_message_path(lang) + if qtpath is not None: + p = os.path.join(qtpath, 'qt_%s.qm' % lang) if os.path.exists(p): return translator.load(p) return False Nur in calibre/src/calibre//utils: localization.py~. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org