Hello community, here is the log from the commit of package calibre for openSUSE:Factory checked in at Wed Jul 20 16:47:07 CEST 2011.
-------- --- calibre/calibre.changes 2011-04-23 13:17:43.000000000 +0200 +++ /mounts/work_src_done/STABLE/calibre/calibre.changes 2011-07-20 08:18:00.000000000 +0200 @@ -1,0 +2,330 @@ +Wed Jul 20 06:10:20 UTC 2011 - [email protected] + +- updated to Version 0.8.10 + - New Features + * Add a right click menu to the cover browser. It allows you to view a + book, edit metadata etc. from within the cover browser. The menu can + be customized in Preferences->Toolbars + * Allow selecting and stopping multiple jobs at once in the jobs window + * When editing metadata directly in the book list, have a little pop up + menu so that all existing values can be accessed by mouse only. For + example, when you edit authors, you can use the mouse to select an + existing author. + * Get Books: Add ebook.nl and fix price parsing for the legimi store + * Drivers for Samsung Infuse and Motorola XPERT + * Tag Browser: Make hierarchical items work in group searched terms. + + - Bug Fixes + * Allow setting numbers larger than 99 in custom series columns + * Fix a bug that caused the same news download sent via a USB connection + * to the device on two different days resulting in a duplicate on the + device + * Ensure English in the list of interface languages in Preferences is + always listed in English, so that it does not become hard to find + * SNB Output: Fix bug in handling unicode file names + * Fix sorting problem in manage categories. Fix poor performance problem + * when dropping multiple books onto a user category. + * Remove 'empty field' error dialogs in bulk search/replace, instead + setting the fields to their default value. + * Fix regression that broke communicating with Kobo devices using + outdated firmware + * LRF Input: Fix conversion of LRF files with non ascii titles on some + windows systems + +------------------------------------------------------------------- +Mon Jul 11 20:47:49 UTC 2011 - [email protected] + +- updated to Version 0.8.9 + - New Features + * Kobo Touch: Display Preview Tag for book previews on the device + * Improved display of grouped search terms in Tag Browser + * When adding HTML files to calibre, add an option to process links in + breadth first rather than depth first order. Access it via + Preferences->Plugins and customize the HTML to ZIP plugin + * Conversion pipeline: Add option to control if duplicate entries are + allowed when generating the Table of Contents from links. + * Metadata download: When merging results, if the query to the xisbn + service hangs, wait no more than 10 seconds. Also try harder to + preserve the month when downlaoding published date. Do not throw away + isbnless results if there are some sources that return isbns and some + that do not. + * Get Books: Remove OpenLibrary since it has the same files as + archive.org. Allow direct downloading from Project Gutenberg. + * Add functions to the template language that allow getting the last + modified time and size of the individual format files for a book. Also + add a has_cover() function. + - Bug Fixes + * Fix true/false searches dont work on device views + * Fix renaming of collections in device views + * Fix regression that broke the use of the device_db plugboard + * Kobo driver: Hide Expired Book Status for deleted books. Also fix + regression that broke connecting to Kobo devices running very old + firmware. + * Fix bug in 0.8.8 that could cause the metadata.db to be left in an + unusable state if calibre is interrupted at just the wrong moment or + if the db is stored in dropbox + * Fix sorting of composite custom columns that display numbers. + +------------------------------------------------------------------- +Sun Jul 3 06:53:54 UTC 2011 - [email protected] + +- added automatic osc add for the new Sourcepackage into + generate-tarball.sh + +------------------------------------------------------------------- +Sun Jul 3 06:49:03 UTC 2011 - [email protected] + +- updated to Version 0.8.8 +- New Features + o Make author names in the Book Details panel clickable. Clicking them + takes you to the wikipedia page for the author by default. You may + have to tell calibre to display author names in the Book details panel + first via Preferences->Look & Feel->Book details. You can change the + link for individual authors by right clicking on the author's name in + the Tag Browser and selecting Manage Authors. + o Get Books: Add 'Open Books' as an available book source + o Get Books: When a free download is available for a search result, for + example, for public domain books, allow direct download of the book + into your calibre library. + o Support for detecting and mounting reader devices on FreeBSD. + o When creating a composite custom column, allow the use of HTML to + create links and other markup that display in the Book details panel + o Add the swap_around_comma function to the template language. + o Drivers for HTC G2, Advent Vega, iRiver Story HD, Lark FreeMe and + Moovyman mp7 + o Quick View: Survives changing libraries. Also allow sorting by series + index as well as name. + o Connect to iTunes: Add an option to control how the driver works + depending on whether you have iTunes setup to copy files to its media + directory or not. Set this option by customizing the Apple driver in + Preferences->Plugins. Having iTunes copy media to its storage folder + is no longer neccessary. See + http://www.mobileread.com/forums/showthread.php?t=118559 for details + Remove the delete library functionality from calibre, instead you can + now remove a library, so calibre will forget about it, but you have to + delete the files manually + +- Bug Fixes + o Fix a regression introduced in 0.8.7 in the Tag Browser that could + cause calibre to crash after performing various actions + o Fix an unhandled error when deleting all saved searches + o Fix row numbers in a previous selection being incorrect after a sort + o operation. + o Fix ISBN identifier type not recognized if it is in upper case + o Fix a regression in 0.8.7 that broke reading metadata from MOBI files + in the Edit metadata dialog. + o Fix handling of filenames that have an even number of periods before + the file extension. + o Fix lack of thread saefty in template format system, that could lead + to incorrect template evaluation in some cases. + o Fix conversion to PDB when the input document has no text + o Fix clicking on first letter of author names generating incorrect + search. + o Also fix updating bulk metadata in custom column causing unnneccessary + Tag Browser refreshes. + o Fix a regression in 0.8.7 that broke renaming items via the Tag + Browser + o Fix a regression in 0.8.7 that caused the regex builder wizard to fail + with LIT files as the input + +------------------------------------------------------------------- +Wed Jun 29 18:34:55 UTC 2011 - [email protected] + +- Added suggestion from bnc#702918 to support Sony prs350 devices + Thanks to Mathias Homann! +- Localization files are integrated into a locales.zip which makes + it difficult to install into separate locale directory. + Furthermore, it seems to be interconnected with other functions + which makes it a lot of work to remove that. + => Leave it in the locale.zip for the time being + +------------------------------------------------------------------- +Sun Jun 26 12:56:51 UTC 2011 - [email protected] + +- updated to version 0.8.7 +- New Features + o Connect to iTunes: You now need to tell iTunes to keep its own copy of + every ebook. Do this in iTunes by going to Preferences->Advanced and + setting the 'Copy files to iTunes Media folder when adding to library' + option. To learn about why this is necessary, see: + http://www.mobileread.com/forums/showthread.php?t=140260 + o Add a couple of date related functions to the calibre template + langauge to get 'todays' date and create text based on the value of a + date type field + o Improved reading of metadata from FB2 files, with support for reading + isbns, tags, published date, etc. + o Driver for the Imagine IMEB5 + o Show the currently used network proxies in Preferences->Miscellaneous + o Kobo Touch driver: Show Favorites as a device collection. Various + other minor fixes. + o Content server now sends the Content-Disposition header when sending + ebook files. + o Allow search and replace on comments custom columns. + o Add a new action 'Quick View' to show the books in your library by the + author/tags/series/etc. of the currently selected book, in a separate + window. You can add it to your toolbar or right click menu by going to + Preferences->Toolbars. + o Get Books: Add libri.de as a book source. Fix a bug that caused some + books downloads to fail. Fixes to the Legimi and beam-ebooks.de stores + +- Bug Fixes + o Fix a memory leak that could result in the leaking of several MB of + memory with large libraries + o Fix the read metadata from format button in the edit metadata dialog + using the wrong timezone when setting published date + o Generating catalog: Fix occassional file in use errors when generating + catalogs on windows + o Fix clicking on News in Tag Browser not working in non English + locales. + o HTML Input: Fix a regression in 0.8.6 that caused CSS stylesheets to + be ignored + o Fix a regression that caused restore database to stop working on some + windows sytems + o EPUB Output: Convert tags with text in them into as ADE cannot handle them. + +------------------------------------------------------------------- +Tue Jun 14 06:59:31 UTC 2011 - [email protected] + +- Removed calibre-cssutils.diff patch as it is integrated in the + sources now + +------------------------------------------------------------------- +Mon Jun 13 19:24:06 UTC 2011 - [email protected] + +- uploaded source for 0.8.4 but the l18n Patch and the CSS Patch needs + to be updated. But i haven't enough experience to do that. + +------------------------------------------------------------------- ++++ 133 more lines (skipped) ++++ between calibre/calibre.changes ++++ and /mounts/work_src_done/STABLE/calibre/calibre.changes calling whatdependson for head-i586 Old: ---- calibre-0.7.57-nofonts.tar.bz2 calibre-cssutils.diff New: ---- calibre-0.8.10-nofonts.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ calibre.spec ++++++ --- /var/tmp/diff_new_pack.i9ZInT/_old 2011-07-20 16:45:45.000000000 +0200 +++ /var/tmp/diff_new_pack.i9ZInT/_new 2011-07-20 16:45:45.000000000 +0200 @@ -19,7 +19,7 @@ Summary: EBook Management Application Name: calibre -Version: 0.7.57 +Version: 0.8.10 Release: 1 Url: http://calibre-ebook.com Group: Productivity/Other @@ -28,16 +28,19 @@ Source2: %{name}.desktop Source3: %{name}.png Source4: generate-tarball.sh -# [email protected] 09/5/10 --fixes LC_MESSAGES stuff -# see http://bugs.calibre-ebook.com/ticket/3770 -Patch0: %{name}-l18n.diff # [email protected] 09/5/10 --fixes man issues # see http://bugs.calibre-ebook.com/ticket/3770 Patch1: %{name}-no-update-manpage.diff # [email protected] 09/5/10 --adjust installion Patch2: %{name}-setup.install.py.diff -# make calibre work with python-cssutils 0.9.8 -Patch3: %{name}-cssutils.diff + +Obsoletes: calibre07 + +#If a package is obsoleted by a compatible replacement, the obsoleted package +#should also be provided in order to not cause unnecessary dependency breakage. +#If the obsoleting package is not a compatible replacement for the old one, +#leave out the Provides. +#Provides: calibre07 # # A note on BuildRequires and Requires: @@ -63,11 +66,12 @@ BuildRequires: libwmf-devel >= 0.2.8 BuildRequires: podofo >= 0.8.2 BuildRequires: poppler >= 0.12.0 +BuildRequires: python >= 2.7.1 BuildRequires: python-beautifulsoup >= 3.0.5 BuildRequires: python-cherrypy BuildRequires: python-cssutils >= 0.9.7a3 BuildRequires: python-dateutil >= 1.4.1 -BuildRequires: python-devel +BuildRequires: python-devel >= 2.7.1 BuildRequires: python-dnspython >= 1.6.0 # python-genshi is a required package, see above BuildRequires: python-genshi @@ -85,7 +89,6 @@ Requires: chmlib >= 0.40 Requires: dbus-1-python -Requires: hal Requires: ImageMagick >= 6.5.9 Requires: libicu >= 4.4 Requires: liberation-fonts @@ -93,6 +96,7 @@ Requires: poppler-qt4 >= 0.12.0 Requires: libqt4 >= 4.6.0 Requires: podofo >= 0.8.2 +Requires: python >= 2.7.1 Requires: python-beautifulsoup >= 3.0.5 Requires: python-cherrypy Requires: python-cssutils >= 0.9.7a3 @@ -129,10 +133,8 @@ %prep %setup -q -n %{name} -%patch0 -p1 -%patch1 -p1 +%patch1 %patch2 -p1 -%patch3 # dos2unix newline conversion %{__sed} -i 's/\r//' src/calibre/web/feeds/recipes/* @@ -148,6 +150,9 @@ #OVERRIDE_CFLAGS="% { optflags } -fno-strict-aliasing" export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{__python} setup.py build +pushd src/calibre/devices +make linux_mount_helper +popd %install rm -rf %{buildroot} @@ -165,11 +170,8 @@ %suse_update_desktop_file -i -n calibre Office Viewer -%find_lang %{name} -%find_lang iso639 - -%fdupes $RPM_BUILD_ROOT%{_libdir}/%{name}/ -%fdupes $RPM_BUILD_ROOT%{_datadir}/%{name}/ +%fdupes $RPM_BUILD_ROOT +# %%fdupes $RPM_BUILD_ROOT%%{_datadir}/%%{name}/ # packages aren't allowed to register mimetypes like this rm -f %{buildroot}%{_datadir}/applications/defaults.list @@ -182,7 +184,8 @@ %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && %{__rm} -rf $RPM_BUILD_ROOT -%files -f %{name}.lang -f iso639.lang +%files +# -f %%{name}.lang -f iso639.lang %defattr(-,root,root) %config %{_sysconfdir}/bash_completion.d/%{name} %{_bindir}/* ++++++ calibre-0.7.57-nofonts.tar.bz2 -> calibre-0.8.10-nofonts.tar.bz2 ++++++ calibre/calibre-0.7.57-nofonts.tar.bz2 /mounts/work_src_done/STABLE/calibre/calibre-0.8.10-nofonts.tar.bz2 differ: char 11, line 1 ++++++ calibre-no-update-manpage.diff ++++++ --- /var/tmp/diff_new_pack.i9ZInT/_old 2011-07-20 16:45:45.000000000 +0200 +++ /var/tmp/diff_new_pack.i9ZInT/_new 2011-07-20 16:45:45.000000000 +0200 @@ -1,22 +1,25 @@ -diff -x '*~' -Naur calibre.bak//src/calibre/linux.py calibre/src/calibre/linux.py ---- calibre.bak//src/calibre/linux.py 2010-06-05 02:38:19.000000000 +0200 -+++ calibre/src/calibre/linux.py 2010-06-05 21:12:56.837641453 +0200 -@@ -291,10 +291,11 @@ - if isfreebsd: +Index: src/calibre/linux.py +=================================================================== +--- src/calibre/linux.py.orig ++++ src/calibre/linux.py +@@ -306,10 +306,11 @@ class PostInstall: + if isbsd: manpath = os.path.join(self.opts.staging_root, 'man/man1') else: - manpath = os.path.join(self.opts.staging_sharedir, 'man/man1') -+ self.info('Directory for MAN pages: %s' % self.opts.staging_mandir) -+ manpath = os.path.join(self.opts.staging_mandir, 'man1') - if not os.path.exists(manpath): - os.makedirs(manpath) +- if not os.path.exists(manpath): +- os.makedirs(manpath) - self.info('Installing MAN pages...') -+ self.info('Installing MAN pages to %s...' % manpath) ++ self.info('Directory for MAN pages: %s' % self.opts.staging_mandir) ++ manpath = os.path.join(self.opts.staging_mandir, 'man1') ++ if not os.path.exists(manpath): ++ os.makedirs(manpath) ++ self.info('Installing MAN pages to %s...' % manpath) for src in entry_points['console_scripts']: prog, right = src.split('=') prog = prog.strip() -@@ -307,7 +308,7 @@ - if isfreebsd: +@@ -322,7 +323,7 @@ class PostInstall: + if isbsd: manfile = os.path.join(manpath, prog+'.1') else: - manfile = os.path.join(manpath, prog+'.1'+__appname__+'.bz2') @@ -24,32 +27,32 @@ self.info('\tInstalling MAN page for', prog) open(manfile, 'wb').write(raw) self.manifest.append(manfile) -diff -x '*~' -Naur calibre.bak//src/calibre/utils/help2man.py calibre/src/calibre/utils/help2man.py ---- calibre.bak//src/calibre/utils/help2man.py 2010-06-05 02:38:20.000000000 +0200 -+++ calibre/src/calibre/utils/help2man.py 2010-06-05 21:14:49.376641317 +0200 -@@ -3,7 +3,7 @@ +Index: src/calibre/utils/help2man.py +=================================================================== +--- src/calibre/utils/help2man.py.orig ++++ src/calibre/utils/help2man.py +@@ -3,7 +3,7 @@ __license__ = 'GPL 3' __copyright__ = '2009, Kovid Goyal <[email protected]>' __docformat__ = 'restructuredtext en' -import time, bz2 +import time, gzip, StringIO - from calibre.constants import isfreebsd + from calibre.constants import isbsd from calibre.constants import __version__, __appname__, __author__ -@@ -59,7 +59,15 @@ +@@ -59,7 +59,14 @@ def create_man_page(prog, parser): x in lines] - if not isfreebsd: + if not isbsd: - return bz2.compress((u'\n'.join(lines)).encode('utf-8')) -+# return bz2.compress((u'\n'.join(lines)).encode('utf-8')) -+ buf = StringIO.StringIO() -+ f = gzip.GzipFile(mode="wb", fileobj=buf) -+ try: -+ f.write( (u'\n'.join(lines)).encode('utf-8') ) -+ finally: -+ f.close() -+ return buf.getvalue() -+ ++ #return bz2.compress((u'\n'.join(lines)).encode('utf-8')) ++ buf = StringIO.StringIO() ++ f = gzip.GzipFile(mode="wb", fileobj=buf) ++ try: ++ f.write((u'\n'.join(lines)).encode('utf-8') ) ++ finally: ++ f.close() ++ return buf.getvalue() else: return (u'\n'.join(lines)).encode('utf-8') ++++++ calibre-setup.install.py.diff ++++++ --- /var/tmp/diff_new_pack.i9ZInT/_old 2011-07-20 16:45:45.000000000 +0200 +++ /var/tmp/diff_new_pack.i9ZInT/_new 2011-07-20 16:45:45.000000000 +0200 @@ -130,7 +130,7 @@ if os.path.exists(dest): shutil.rmtree(dest) + -+ self.install_localefiles() ++# self.install_localefiles() self.info('Installing resources to', dest) + + ++++++ generate-tarball.sh ++++++ --- /var/tmp/diff_new_pack.i9ZInT/_old 2011-07-20 16:45:45.000000000 +0200 +++ /var/tmp/diff_new_pack.i9ZInT/_new 2011-07-20 16:45:45.000000000 +0200 @@ -58,3 +58,7 @@ echo -n "Cleaning up ... " rm -rf $MYTEMP echo "done" +echo -n "Add $(pwd)/calibre-$VERSION-nofonts.tar.bz2 to OBS ... " +echo +osc add $(pwd)/calibre-$VERSION-nofonts.tar.bz2 +echo "done" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
