Hello community,
here is the log from the commit of package fbreader for openSUSE:Factory
checked in at Wed Aug 24 16:14:41 CEST 2011.
--------
New Changes file:
--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/fbreader/fbreader.changes 2011-08-24 00:25:03.000000000 +0200
@@ -0,0 +1,236 @@
+-------------------------------------------------------------------
+Tue Aug 23 21:51:51 UTC 2011 - kirill.kirillov@gmail.com
+
+- split zlibrary and zlibrary-ui packages (based on Fedora spec)
+- use alternatives to select user interface (based of Fedora spec)
+
+-------------------------------------------------------------------
+Fri Dec 31 20:07:03 UTC 2010 - kirill.kirillov@gmail.com
+
+- added mime support (fbreader.xml)
+
+-------------------------------------------------------------------
+Tue Aug 17 22:35:57 UTC 2010 - kirill.kirillov@gmail.com
+
+- added fbreader-0.12.10-c++.patch to fix compilation (from archlinux)
+
+-------------------------------------------------------------------
+Tue Aug 17 07:29:22 UTC 2010 - kirill.kirillov@gmail.com
+
+- Update to 0.12.10
+ + Processing of external hyperlinks in ePub files has been changed.
+
+- Changes for 0.12.9
+ + Processing of epub local hyperlinks of form ../dir/file.html has been fixed.
+ + Code is now compilable with gcc 4.4.* (missing include directives have been added).
+
+- Changes for 0.12.8
+ + Smashwords library support has been improved: purchase links have been added.
+ + LitRes library support has been updated: since this version FBReader uses an OPDS proxy located at http://data.fbreader.org/ for most operations with the LitRes catalog.
+ + Processing of the xhtml hyperlinks in html encoded form (like /files/This%20is%20a%20link) has been fixed.
+ + A seg.fault during scanning several archives has been fixed.
+ + Lithuanian localization has been updated.
+ + Vietnamese language/encoding detection patterns have been added.
+
+- Changes for 0.12.7
+ + Vietnamese interface taranslation by Phạm Văn Hùng_Firestork has been added.
+ + LitRes integration broken in the previous version has been fixed.
+
+- Changes for 0.12.6
+ + The viewing of ePub files from fictionwise.com has been fixed. A set of files from this site are compressed with some errors. However other readers (like Adobe Digital Editions) allows to read these books. FBReader 0.12.6 supports such books too.
+
+-------------------------------------------------------------------
+Sat Jan 16 21:43:37 UTC 2010 - Kirill Kirillov
+
+- Update to 0.12.1
+ + Integration with LitRes.ru has been improved. A link for signing up has been added. A browsing by authors and by genres has been added.
+ + Scrolling preferences have been simplified. Tap scrolling has been fixed.
+ + Lithuanian localization has been added (thanks to Stanislovas Zacharovas).
+ + Open file dialog behaviour has been fixed (in Gtk+ version).
+ + A crach on some mobipocket files has been fixed.
+
+-------------------------------------------------------------------
+Thu Dec 10 21:33:48 UTC 2009 - Kirill Kirillov
+
+- Update to 0.12.0
+ + New presentation of library.
+ + Better integration with network libraries: FeedBooks, LitRes,
+ Shucang and SmashWords. This version allows to browse catalogs,
+ to search and download the books. For LitRes (Russian e-library)
+ it is also possible to purchase books.
+ + Added Chinese localization (by Shucang).
+ + Image scaling has been implemented.
+ + Better encoding/language detection. Arabic and Indonesian patterns are back.
+ + Mobipocket, eReader and chm support have been improved.
+
+-------------------------------------------------------------------
+Sun Apr 5 21:44:21 MSD 2009 - kirill.kirillov@gmail.com
+
+- Update to 0.10.7
+ + A conflict between hyperlink clicks and touch scrolling has been fixed
+
+- Changes for 0.10.2
+ + A bug with images/css links in epub has been fixed
+
+-------------------------------------------------------------------
+Sat Mar 21 15:27:58 MSK 2009 - kirill.kirillov@gmail.com
+
+- Update to 0.10.5
+ + An FBReader freeze has been fixed
+ + Several text selection related issues have been fixed
+
+-------------------------------------------------------------------
+Fri Mar 20 00:00:15 MSK 2009 - kirill.kirillov@gmail.com
+
+- Update to 0.10.4
+ + Multiple fixes in the epub format support
+
+-------------------------------------------------------------------
+Wed Mar 4 03:31:49 MSK 2009 - kirill.kirillov@gmail.com
+
+- Update to 0.10.3
+ + Some issues related to multi-file tar, tar.gz and tar.bz2
+ archives have been fixed.
+ + Greek hyphenation patterns were regenerated from another
+ TeX source.
+ + New version has no license issues from the Debian point of view
+
+- Changes for 0.10.2
+ + Images order in mobipocket files has been corrected.
+ + Indonesian localization files have been updated.
+
+- Changes for 0.10.1
+ + Fixed an infinite loop in library building code.
+ + Fixed <Space> key processing in qt4-based version.
+ + Book description is visible for books found in network libraries.
+
+-------------------------------------------------------------------
+Tue Jan 13 12:35:09 CET 2009 - lars@linux-schulserver.de
+
+- update to 0.10.0:
+ + Network libraries integration has been added. FBReader can
+ search and download books from Feedbooks.com and LitRes
+ libraries.
+ + Partial CSS support for epub files has been added.
+ CSS support in html and fb2 is coming soon.
+ + Epub and Mobipocket book formats support has been substantially
+ improved.
+ + Library view usability has been improved: you can now organize
+ the tree either by author or by tag.
+ + You can now select a word by double-click and a paragraph
+ by triple-click.
+ + Right-to-left languages and bidirectional texts support has
+ been added (GNU FriBidi library is used).
+ + Support for Arabic, Hebrew, Greek and Turkish has been added.
+ + Czech localization has been added (many thanks to Lubomír Čevela).
+ + FBReader now has a new set of icons.
+ + It's now possible to use OS scrollbar for navigating through the
+ text.
+- add fribidi-devel, libcurl-devel, libqt4-devel to BuildRequires
+- build gtk and qt4 ports
+
+-------------------------------------------------------------------
+Sun Nov 30 22:57:27 CET 2008 - lars@linux-schulserver.de
+
+- require libexpat-devel on > 11.0
+
+-------------------------------------------------------------------
+Mon Sep 22 17:52:04 CEST 2008 - lars@linux-schulserver.de
+
+- moved to Education base repository
+
+-------------------------------------------------------------------
+Sun Mar 23 20:09:44 MSK 2008 - kirill.kirillov@gmail.com
+
+- Update to 0.8.17
+ + Fixed crash after removing a book from library
+ + Updated Finnish interface translation
+
+-------------------------------------------------------------------
+Sat Mar 22 14:51:15 MSK 2008 - kirill.kirillov@gmail.com
+
+- Update to 0.8.16
+ + Book tags support has been added
+ + The standard Unicode algorithm for line breaking in now used for
+ all languages (including Chinese) provided by liblinebreak library
+ + Fixed a bug with tapping scrolling/selection
+
+-------------------------------------------------------------------
+Mon Mar 17 21:52:56 CET 2008 - lars@linux-schulserver.de
+
+- specfile beautify
+- fix changelog
+- use fdupes
+- compress the source tarball
+- use %suse_update_desktopfile macro
+- run /sbin/ldconfig
+
+-------------------------------------------------------------------
+Mon Mar 10 21:37:48 CET 2008 - kirill.kirillov@gmail.com
+
+- Update to 0.8.15
+ + Freeze during text scrolling has been fixed.
+ + Indonesian localization (by Ketut Putu Kumajaya) has been added.
+ + From now FBReader remembers list of recent search patterns.
+
+- Changes for 0.8.14
+ + Fixed crash. It was always reproducable for maemo platform and
+ was possible for all othr platforms.
+
+- Changes for 0.8.13
+ + Freeze on several files has been fixed.
+ + Plain text format support has been improved.
+ + 'Go to page by number' feature has been added. In desktop version,
+ this feature is assigned to 'G' key by default.
+
+-------------------------------------------------------------------
+Sun Jan 20 22:00:00 CET 2008 - kirill.kirillov@gmail.com
+
+- Update to 0.8.12 bug fix release:
+ + #44 "Undo" / "Redo" does not work
+ + #73 "Go back" / "Go forward" does not work
+ + #74 90% of Books Loop back to page 3 after page 9/10
+
+-------------------------------------------------------------------
+Sat Jan 19 00:22:00 CET 2008 - kirill.kirillov@gmail.com
+
+- Update to 0.8.11
++++ 39 more lines (skipped)
++++ between /dev/null
++++ and /mounts/work_src_done/STABLE/fbreader/fbreader.changes
calling whatdependson for head-i586
New:
----
FBReader.desktop
README.SuSE
fbreader-0.12.10-c++.patch
fbreader-0.12.10.tar.bz2
fbreader.changes
fbreader.spec
fbreader.xml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ fbreader.spec ++++++
#
# spec file for package fbreader
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: fbreader
Summary: E-book reader
Group: Productivity/Other
Version: 0.12.10
Release: 1
License: GPLv2+
Url: http://www.fbreader.org/
Source0: fbreader-%{version}.tar.bz2
Source1: FBReader.desktop
Source2: README.SuSE
Source3: fbreader.xml
Patch0: fbreader-0.12.10-c++.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: update-desktop-files
BuildRequires: fdupes
BuildRequires: enca-devel expat liblinebreak-devel zlib-devel
BuildRequires: gcc-c++ gtk2-devel
BuildRequires: libqt4-devel
BuildRequires: sqlite3-devel
BuildRequires: fribidi-devel
BuildRequires: libcurl-devel
BuildRequires: libexpat-devel
Requires: zlibrary = %{version}-%{release}
%description
FBReader is an e-book reader for various platforms.
Main features:
* Supported formats are
o fb2 e-book format (style attributes are not supported yet).
o HTML format (tables are not supported).
o CHM format (tables are not supported).
o plucker format (tables are not supported).
o Palmdoc (aportis doc).
o zTxt (Weasel format).
o TCR (psion text) format.
o RTF format (stylesheets and tables are not supported).
o OEB format (css and tables are not supported).
o OpenReader format (css and tables are not supported).
o Non-DRM'ed mobipocket format (tables are not supported).
o Plain text format.
* Direct reading from tar, zip, gzip and bzip2 archives.
(Multiple books in one archive are supported.)
* Automatic library building.
* Automatic encoding detection is supported.
* Automatically generated contents table.
* Embedded images support.
* Footnotes/hyperlinks support.
* Position indicator.
* Keeps the last open book and the last read positions for all opened
books between runs.
* List of last opened books.
* Automatic hyphenations. Liang's algorithm is used. The same algorithm is
used in TeX, and TeX hyphenation patterns are used in FBReader. Patterns
for Czech, English, Esperanto, French, German and Russian are included
in the current version.
* Text search.
* Full-screen mode.
* Screen rotation by 90, 180 and 270 degrees.
%package -n zlibrary
Summary: Cross-platform GUI library
Group: Development/Libraries/C and C++
Requires: zlibrary-ui = %{version}-%{release}
%description -n zlibrary
ZLibrary is a cross-platform library to build applications running on
desktop Linux, Windows, and different Linux-based PDAs.
%package -n zlibrary-devel
Summary: Development files for zlibrary
Group: Development/Libraries/C and C++
Requires: zlibrary = %{version}-%{release}
%description -n zlibrary-devel
This package contains the libraries amd header files that are needed
for writing applications with Zlibrary.
%package -n zlibrary-ui-gtk
Summary: GTK+ interface module for ZLibrary
Group: Development/Libraries/C and C++
Provides: zlibrary-ui = %{version}-%{release}
%description -n zlibrary-ui-gtk
This package provides a GTK+-based UI for ZLibrary.
%package -n zlibrary-ui-qt
Summary: Qt4 interface module for ZLibrary
Group: Development/Libraries/C and C++
Provides: zlibrary-ui = %{version}-%{release}
%description -n zlibrary-ui-qt
This package provides a Qt4-based UI for ZLibrary.
%prep
%setup -q
%patch0
cp %{SOURCE2} .
%build
sed -i 's/moc-qt4/moc/' makefiles/arch/desktop.mk
make %{?_smp_mflags} -C zlibrary/core TARGET_ARCH=desktop LIBDIR=%{_libdir} UI_TYPE=dummy
make %{?_smp_mflags} -C zlibrary/text TARGET_ARCH=desktop LIBDIR=%{_libdir} UI_TYPE=dummy
make %{?_smp_mflags} -C zlibrary/ui TARGET_ARCH=desktop LIBDIR=%{_libdir} UI_TYPE=gtk
make %{?_smp_mflags} -C zlibrary/ui TARGET_ARCH=desktop LIBDIR=%{_libdir} UI_TYPE=qt4
make %{?_smp_mflags} -C fbreader TARGET_ARCH=desktop LIBDIR=%{_libdir} UI_TYPE=dummy
%install
make -C zlibrary/core do_install do_install_dev DESTDIR=$RPM_BUILD_ROOT TARGET_ARCH=desktop LIBDIR=%{_libdir} UI_TYPE=dummy
make -C zlibrary/text do_install do_install_dev DESTDIR=$RPM_BUILD_ROOT TARGET_ARCH=desktop LIBDIR=%{_libdir} UI_TYPE=dummy
make -C zlibrary/ui do_install DESTDIR=$RPM_BUILD_ROOT TARGET_ARCH=desktop LIBDIR=%{_libdir} UI_TYPE=gtk
make -C zlibrary/ui do_install DESTDIR=$RPM_BUILD_ROOT TARGET_ARCH=desktop LIBDIR=%{_libdir} UI_TYPE=qt4
make -C fbreader do_install DESTDIR=$RPM_BUILD_ROOT TARGET_ARCH=desktop UI_TYPE=dummy
# desktop file
%{__mkdir_p} %{buildroot}%{_datadir}/applications/
install -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/FBReader.desktop
%suse_update_desktop_file -i -n FBReader Office Viewer Literature
# mime type
%{__mkdir_p} %{buildroot}%{_datadir}/mime/packages/
install -m644 %{SOURCE3} %{buildroot}%{_datadir}/mime/packages/fbreader.xml
# man page
%{__mkdir_p} %{buildroot}%{_mandir}/man1
install -m644 fbreader/desktop/FBReader.1 %{buildroot}%{_mandir}/man1
%fdupes -s ${RPM_BUILD_ROOT}
%clean
rm -rf $RPM_BUILD_ROOT
%post
%desktop_database_post
%postun
%desktop_database_postun
%post -n zlibrary -p /sbin/ldconfig
%postun -n zlibrary -p /sbin/ldconfig
%post -n zlibrary-ui-gtk
/usr/sbin/update-alternatives --install \
%{_libdir}/zlibrary/ui/zlui-active.so \
zlibrary-ui \
%{_libdir}/zlibrary/ui/zlui-gtk.so \
2
%post -n zlibrary-ui-qt
/usr/sbin/update-alternatives --install \
%{_libdir}/zlibrary/ui/zlui-active.so \
zlibrary-ui \
%{_libdir}/zlibrary/ui/zlui-qt4.so \
1
%preun -n zlibrary-ui-gtk
if [ "$1" = 0 ] ; then
/usr/sbin/update-alternatives --remove \
zlibrary-ui \
%{_libdir}/zlibrary/ui/zlui-gtk.so
fi
%preun -n zlibrary-ui-qt
if [ "$1" = 0 ] ; then
/usr/sbin/update-alternatives --remove \
zlibrary-ui \
%{_libdir}/zlibrary/ui/zlui-qt4.so
fi
%files
%defattr(-,root,root,-)
%doc fbreader/LICENSE README.SuSE
%{_bindir}/FBReader
%{_datadir}/FBReader
%{_datadir}/applications/FBReader.desktop
%{_datadir}/mime/packages/fbreader.xml
%{_datadir}/pixmaps/FBReader
%{_datadir}/pixmaps/FBReader.png
%{_mandir}/man1/FBReader.1.gz
%files -n zlibrary
%defattr(-,root,root,-)
%doc fbreader/LICENSE
%{_libdir}/lib*.so.*
%dir %{_libdir}/zlibrary
%dir %{_libdir}/zlibrary/ui
%exclude %{_datadir}/zlibrary/keynames-*.xml
%{_datadir}/zlibrary
%files -n zlibrary-devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/lib*.so
%files -n zlibrary-ui-gtk
%defattr(-,root,root,-)
%{_libdir}/zlibrary/ui/zlui-gtk.so
%{_datadir}/zlibrary/keynames-gtk.xml
%files -n zlibrary-ui-qt
%defattr(-,root,root,-)
%{_libdir}/zlibrary/ui/zlui-qt4.so
%{_datadir}/zlibrary/keynames-qt4.xml
%changelog
++++++ FBReader.desktop ++++++
[Desktop Entry]
Encoding=UTF-8
Name=FBReader
GenericName=E-book reader
GenericName[ru]=Чтение электронных книг
Comment=E-book reader
Comment[ru]=Чтение электронных книг
TryExec=FBReader
Exec=FBReader %F
StartupNotify=true
Terminal=false
Type=Application
Icon=FBReader.png
Categories=Office;Viewer;Literature;
MimeType=application/x-fictionbook+xml;
++++++ README.SuSE ++++++
FBReader package contains the following subpackages:
- fbreader: The ebook reader
- zlibrary: Cross-platform GUI library
- zlibrary-ui-gtk: GTK+ interface for zlibrary
- zlibrary-ui-qt: Qt interface for zlibrary
'zypper install fbreader' does not guarantee which interface gets picked;
so specify also either zlibrary-ui-gtk or -qt.
If both -gtk and -qt interfaces are installed, by default
the Gtk+ interface is used. To change the interface you want to use,
run as root:
# update-alternatives --config zlibrary-ui
to reset the choice to the default, use
# update-alternatives --auto zlibrary-ui
++++++ fbreader-0.12.10-c++.patch ++++++
Index: fbreader/src/library/Library.cpp
===================================================================
--- fbreader/src/library/Library.cpp.orig
+++ fbreader/src/library/Library.cpp
@@ -39,7 +39,7 @@
shared_ptr<Library> Library::ourInstance;
const size_t Library::MaxRecentListSize = 10;
-Library::Library &Library::Instance() {
+Library &Library::Instance() {
if (ourInstance.isNull()) {
ourInstance = new Library();
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org