commit ebook-tools for openSUSE:Factory

2019-05-03 Thread root
Hello community,

here is the log from the commit of package ebook-tools for openSUSE:Factory 
checked in at 2019-05-03 22:25:45

Comparing /work/SRC/openSUSE:Factory/ebook-tools (Old)
 and  /work/SRC/openSUSE:Factory/.ebook-tools.new.5148 (New)


Package is "ebook-tools"

Fri May  3 22:25:45 2019 rev:21 rq:699965 version:0.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ebook-tools/ebook-tools.changes  2014-06-30 
21:50:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.ebook-tools.new.5148/ebook-tools.changes
2019-05-03 22:25:46.752134964 +0200
@@ -1,0 +2,8 @@
+Tue Apr 30 14:43:22 UTC 2019 - Stefan BrĂ¼ns 
+
+- Fix a crash when a navPoint in toc.ncx has no navLabel, see
+  kde#406116 and https://sourceforge.net/p/ebook-tools/bugs/8/
+  * add 0001-Avoid-crash-on-toc-navPoint-without-navLabel.patch
+- specfile cleanup, remove %defattr, add LICENSE
+
+---

New:

  0001-Avoid-crash-on-toc-navPoint-without-navLabel.patch



Other differences:
--
++ ebook-tools.spec ++
--- /var/tmp/diff_new_pack.K1EaR9/_old  2019-05-03 22:25:47.272136029 +0200
+++ /var/tmp/diff_new_pack.K1EaR9/_new  2019-05-03 22:25:47.276136038 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ebook-tools
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -33,6 +33,8 @@
 Source1:baselibs.conf
 Patch1: ebook-tools-64bit-installation.diff
 Patch2: ebook-tools-visibility-hidden.patch
+# PATCH-FIX-OPENSUSE - fix https://sourceforge.net/p/ebook-tools/bugs/8/
+Patch3: 0001-Avoid-crash-on-toc-navPoint-without-navLabel.patch
 
 %description
 ebook-tools provides some tools to handle ebook files
@@ -58,6 +60,7 @@
 %setup
 %patch1 -p1
 %patch2
+%patch3 -p2
 
 %build
 mkdir build
@@ -79,16 +82,14 @@
 %postun -n libepub0 -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
 %{_bindir}/einfo
 %{_bindir}/lit2epub
 
 %files -n libepub0
-%defattr(-,root,root)
+%license LICENSE
 %{_libdir}/libepub.so.*
 
 %files -n libepub-devel
-%defattr(-,root,root)
 %{_includedir}/epub.h
 %{_includedir}/epub_version.h
 %{_includedir}/epub_shared.h

++ 0001-Avoid-crash-on-toc-navPoint-without-navLabel.patch ++
>From 93ebf942a90f9c95797838f9adab94bc0378671c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= 
Date: Tue, 30 Apr 2019 16:36:09 +0200
Subject: [PATCH] Avoid crash on toc.ncx navPoint without navLabel

Althoug at least one navLabel is required per navPoint, there is no
guarantee it actually exists.

Avoid crashes due to invalid accesses of a null label in case the toc is
broken, and spew a warning.

Fixes #8 epub_tit_next crashes on navPoint without navLabel.
---
 ebook-tools/src/libepub/epub.c | 5 +++--
 ebook-tools/src/libepub/opf.c  | 4 
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ebook-tools/src/libepub/epub.c b/ebook-tools/src/libepub/epub.c
index d085503..a259d9d 100644
--- a/ebook-tools/src/libepub/epub.c
+++ b/ebook-tools/src/libepub/epub.c
@@ -469,8 +469,9 @@ int epub_tit_next(struct titerator *tit) {
   case TITERATOR_NAVMAP:
   case TITERATOR_PAGES:
 ti = GetNodeData(curr);
-tit->cache.label = 
-  (char *)_opf_label_get_by_doc_lang(tit->epub->opf, ti->label);
+if (ti->label)
+  tit->cache.label =
+(char *)_opf_label_get_by_doc_lang(tit->epub->opf, ti->label);
 
 if (! tit->cache.label)
   tit->cache.label = (char *)ti->id;
diff --git a/ebook-tools/src/libepub/opf.c b/ebook-tools/src/libepub/opf.c
index 6851db2..09bce9e 100644
--- a/ebook-tools/src/libepub/opf.c
+++ b/ebook-tools/src/libepub/opf.c
@@ -398,6 +398,10 @@ void _opf_parse_navmap(struct opf *opf, xmlTextReaderPtr 
reader) {
  
   } else if (xmlTextReaderNodeType(reader) == 15) {
 if (item) {
+  if (! item->label) {
+_epub_print_debug(opf->epub, DEBUG_WARNING, 
+  "- missing navlabel for nav point element");
+  }
   _epub_print_debug(opf->epub, DEBUG_INFO, 
 "adding nav point item->%s %s (d:%d,p:%d)", 
 item->id, item->src, item->depth, item->playOrder);
-- 
2.21.0




commit ebook-tools for openSUSE:Factory

2014-06-30 Thread h_root
Hello community,

here is the log from the commit of package ebook-tools for openSUSE:Factory 
checked in at 2014-06-30 21:42:45

Comparing /work/SRC/openSUSE:Factory/ebook-tools (Old)
 and  /work/SRC/openSUSE:Factory/.ebook-tools.new (New)


Package is ebook-tools

Changes:

--- /work/SRC/openSUSE:Factory/ebook-tools/ebook-tools.changes  2013-10-14 
09:26:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.ebook-tools.new/ebook-tools.changes 
2014-06-30 21:42:46.0 +0200
@@ -1,0 +2,5 @@
+Wed Jun  4 16:25:03 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Add baselibs.conf
+
+---

New:

  baselibs.conf



Other differences:
--
++ ebook-tools.spec ++
--- /var/tmp/diff_new_pack.t81iE5/_old  2014-06-30 21:42:47.0 +0200
+++ /var/tmp/diff_new_pack.t81iE5/_new  2014-06-30 21:42:47.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ebook-tools
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -30,6 +30,7 @@
 BuildRequires:  pkg-config
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: %name-%{version}.tar.gz
+Source1:baselibs.conf
 Patch1: ebook-tools-64bit-installation.diff
 Patch2: ebook-tools-visibility-hidden.patch
 

++ baselibs.conf ++
libepub0
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ebook-tools for openSUSE:Factory

2013-10-14 Thread h_root
Hello community,

here is the log from the commit of package ebook-tools for openSUSE:Factory 
checked in at 2013-10-14 09:26:00

Comparing /work/SRC/openSUSE:Factory/ebook-tools (Old)
 and  /work/SRC/openSUSE:Factory/.ebook-tools.new (New)


Package is ebook-tools

Changes:

--- /work/SRC/openSUSE:Factory/ebook-tools/ebook-tools.changes  2013-07-22 
16:40:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.ebook-tools.new/ebook-tools.changes 
2013-10-14 09:26:01.0 +0200
@@ -1,0 +2,6 @@
+Sat Oct 12 22:13:18 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to 0.2.2 (bnc#845629, kde#325909)
+  * Bugfix release, no upstream changelog provided
+
+---

Old:

  ebook-tools-0.2.1.tar.gz

New:

  ebook-tools-0.2.2.tar.gz



Other differences:
--
++ ebook-tools.spec ++
--- /var/tmp/diff_new_pack.Mb9gjX/_old  2013-10-14 09:26:01.0 +0200
+++ /var/tmp/diff_new_pack.Mb9gjX/_new  2013-10-14 09:26:01.0 +0200
@@ -20,7 +20,7 @@
 Summary:A library for reading ebook files
 License:MIT
 Group:  Development/Libraries/C and C++
-Version:0.2.1
+Version:0.2.2
 Release:0
 Url:http://sourceforge.net/projects/ebook-tools
 BuildRequires:  cmake

++ ebook-tools-0.2.1.tar.gz - ebook-tools-0.2.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ebook-tools-0.2.1/CMakeLists.txt 
new/ebook-tools-0.2.2/CMakeLists.txt
--- old/ebook-tools-0.2.1/CMakeLists.txt2010-02-28 18:09:46.0 
+0100
+++ new/ebook-tools-0.2.2/CMakeLists.txt2012-09-04 16:32:32.0 
+0200
@@ -8,6 +8,8 @@
 
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
 
+set(LIB_SUFFIX  CACHE STRING Define suffix of library directory name 
(32/64))
+
 find_package(LibXml2 REQUIRED)
 find_package(LibZip REQUIRED)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ebook-tools-0.2.1/debian/changelog 
new/ebook-tools-0.2.2/debian/changelog
--- old/ebook-tools-0.2.1/debian/changelog  1970-01-01 01:00:00.0 
+0100
+++ new/ebook-tools-0.2.2/debian/changelog  2012-09-04 16:32:32.0 
+0200
@@ -0,0 +1,6 @@
+ebook-tools (0.1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #475513)
+
+ -- Pino Toscano p...@kde.org  Sun, 06 Apr 2008 17:23:13 +0200
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ebook-tools-0.2.1/debian/compat 
new/ebook-tools-0.2.2/debian/compat
--- old/ebook-tools-0.2.1/debian/compat 1970-01-01 01:00:00.0 +0100
+++ new/ebook-tools-0.2.2/debian/compat 2012-09-04 16:32:32.0 +0200
@@ -0,0 +1 @@
+5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ebook-tools-0.2.1/debian/control 
new/ebook-tools-0.2.2/debian/control
--- old/ebook-tools-0.2.1/debian/control1970-01-01 01:00:00.0 
+0100
+++ new/ebook-tools-0.2.2/debian/control2012-09-04 16:32:32.0 
+0200
@@ -0,0 +1,62 @@
+Source: ebook-tools
+Priority: optional
+Maintainer: Pino Toscano p...@kde.org
+Build-Depends: debhelper (= 5), cmake (= 2.4.0), cdbs (= 0.4.51),
+ libxml2-dev, libzip-dev
+Standards-Version: 3.7.3
+Section: libs
+
+Package: libepub-dev
+Section: libdevel
+Architecture: any
+Depends: libepub0 (= ${binary:Version})
+Description: library and tools to work with the EPub file format
+ The ebook-tools provide ways for accessing and converting different
+ ebook file formats.
+ .
+ This C library is free and portable. It includes methods to parse
+ EPub files and extract their contents.
+ .
+ This package includes development headers and libraries.
+
+Package: libepub0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: library and tools to work with the EPub file format
+ The ebook-tools provide ways for accessing and converting different
+ ebook file formats.
+ .
+ This C library is free and portable. It includes methods to parse
+ EPub files and extract their contents.
+
+Package: ebook-tools-dbg
+Section: libdevel
+Architecture: any
+Priority: extra
+Depends: libc6-dbg, libepub0 (= ${binary:Version})
+Description: library and tools to work with the EPub file format
+ The ebook-tools provide ways for accessing and converting different
+ ebook file formats.
+ .
+ This C library is free and portable. It includes methods to parse
+ EPub files and extract their contents.
+ .
+ This package includes the debug symbols for the library.
+
+Package: epub-utils
+Section: graphics
+Architecture: any
+Depends: libc6, libepub0 (= ${binary:Version})
+Suggests: clit, zip

commit ebook-tools for openSUSE:Factory

2013-07-22 Thread h_root
Hello community,

here is the log from the commit of package ebook-tools for openSUSE:Factory 
checked in at 2013-07-22 16:40:04

Comparing /work/SRC/openSUSE:Factory/ebook-tools (Old)
 and  /work/SRC/openSUSE:Factory/.ebook-tools.new (New)


Package is ebook-tools

Changes:

--- /work/SRC/openSUSE:Factory/ebook-tools/ebook-tools.changes  2012-01-04 
08:00:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.ebook-tools.new/ebook-tools.changes 
2013-07-22 16:40:05.0 +0200
@@ -1,0 +2,5 @@
+Tue Jul 16 13:45:29 UTC 2013 - tchva...@suse.com
+
+- xz was added to buildrequires and it was formatted.
+
+---



Other differences:
--
++ ebook-tools.spec ++
--- /var/tmp/diff_new_pack.IFIhsr/_old  2013-07-22 16:40:05.0 +0200
+++ /var/tmp/diff_new_pack.IFIhsr/_new  2013-07-22 16:40:05.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ebook-tools
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -16,15 +16,18 @@
 #
 
 
-
 Name:   ebook-tools
+Summary:A library for reading ebook files
 License:MIT
 Group:  Development/Libraries/C and C++
-Summary:A library for reading ebook files
 Version:0.2.1
-Release:1
+Release:0
 Url:http://sourceforge.net/projects/ebook-tools
-BuildRequires:  cmake gcc-c++ libxml2-devel libzip-devel pkg-config
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  libxml2-devel
+BuildRequires:  libzip-devel
+BuildRequires:  pkg-config
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: %name-%{version}.tar.gz
 Patch1: ebook-tools-64bit-installation.diff
@@ -34,7 +37,6 @@
 ebook-tools provides some tools to handle ebook files
 
 %package -n libepub0
-License:MIT
 Summary:A library for reading ebook files
 Group:  Development/Libraries/C and C++
 
@@ -42,10 +44,10 @@
 libepub library is needed for okular to support ebook format.
 
 %package -n libepub-devel
-License:MIT
 Summary:Header files for libepub library
 Group:  Development/Libraries/C and C++
-Requires:   libepub0 = %{version} glibc-devel
+Requires:   glibc-devel
+Requires:   libepub0 = %{version}
 
 %description -n libepub-devel
 Header files for the libepub library

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ebook-tools for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package ebook-tools for openSUSE:Factory
checked in at Mon Sep 19 16:50:37 CEST 2011.




--- ebook-tools/ebook-tools.changes 2011-03-23 10:12:14.0 +0100
+++ /mounts/work_src_done/STABLE/ebook-tools/ebook-tools.changes
2011-09-19 00:50:44.0 +0200
@@ -1,0 +2,6 @@
+Sun Sep 18 17:17:12 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant/obsolete tags/sections from specfile
+  (cf. packaging guidelines)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ ebook-tools.spec ++
--- /var/tmp/diff_new_pack.wTvF8a/_old  2011-09-19 16:50:29.0 +0200
+++ /var/tmp/diff_new_pack.wTvF8a/_new  2011-09-19 16:50:29.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   ebook-tools
@@ -62,16 +61,13 @@
   export CXXFLAGS=$RPM_OPT_FLAGS
   export LDFLAGS=-Wl,-Bsymbolic-functions $LDFLAGS
   _libsuffix=$(echo %_lib | cut -b4-)
-  cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr 
-DLIB_SUFFIX=$_libsuffix ..
+  cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=%_prefix 
-DLIB_SUFFIX=$_libsuffix ..
 %{__make} %{?_smp_mflags} VERBOSE=1
 
 %install
 cd build
 %{__make} install DESTDIR=%{buildroot}
 
-%clean
-/bin/rm -rf %{buildroot}
-
 %post -n libepub0 -p /sbin/ldconfig
 
 %postun -n libepub0 -p /sbin/ldconfig






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org