[packages/libe-book] - added css patch (update for libCSS 0.6 API); release 6
qboosh
qboosh at pld-linux.org
Wed May 18 16:57:45 CEST 2016
commit 71fc963e762f0b70050abe40763430f55ff33f22
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed May 18 16:58:00 2016 +0200
- added css patch (update for libCSS 0.6 API); release 6
libe-book-css.patch | 28 ++++++++++++++++++++++++++++
libe-book.spec | 10 ++++++----
2 files changed, 34 insertions(+), 4 deletions(-)
---
diff --git a/libe-book.spec b/libe-book.spec
index 0239d1a..aff6e95 100644
--- a/libe-book.spec
+++ b/libe-book.spec
@@ -6,18 +6,19 @@ Summary: Library and tools for reading and converting various non-HTML reflowabl
Summary(pl.UTF-8): Biblioteka i narzedzia do odczytu i konwersji różnych formatów e-booków
Name: libe-book
Version: 0.1.2
-Release: 5
+Release: 6
License: LGPL v2.1+ or MPL v2.0+
Group: Libraries
Source0: http://downloads.sourceforge.net/libebook/%{name}-%{version}.tar.xz
# Source0-md5: 19d84f4a97aab32d350d1f47ea3da0b3
Patch0: %{name}-missing.patch
Patch1: boost-1.59.patch
+Patch2: %{name}-css.patch
URL: http://libebook.sourceforge.net/
BuildRequires: boost-devel
BuildRequires: doxygen
BuildRequires: gperf
-BuildRequires: libCSS-devel >= 0.3.0
+BuildRequires: libCSS-devel >= 0.6.0
BuildRequires: libhubbub-devel >= 0.3.0
BuildRequires: libicu-devel
BuildRequires: libmspack-devel
@@ -30,7 +31,7 @@ BuildRequires: pkgconfig >= 1:0.20
BuildRequires: tar >= 1:1.22
BuildRequires: xz
BuildRequires: zlib-devel
-Requires: libCSS >= 0.3.0
+Requires: libCSS >= 0.6.0
Requires: libhubbub >= 0.3.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -69,7 +70,7 @@ Summary: Header files for libe-book library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libe-book
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: libCSS-devel >= 0.3.0
+Requires: libCSS-devel >= 0.6.0
Requires: libhubbub-devel >= 0.3.0
Requires: libicu-devel
Requires: libmspack-devel
@@ -128,6 +129,7 @@ obsługiwane są HTML, tekst i format surowy.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__libtoolize}
diff --git a/libe-book-css.patch b/libe-book-css.patch
new file mode 100644
index 0000000..af6e644
--- /dev/null
+++ b/libe-book-css.patch
@@ -0,0 +1,28 @@
+--- libe-book-0.1.2/src/lib/XMLTreeWalker.cpp.orig 2014-12-31 09:00:16.000000000 +0100
++++ libe-book-0.1.2/src/lib/XMLTreeWalker.cpp 2016-05-18 16:12:03.744754212 +0200
+@@ -318,7 +318,7 @@
+ lwc_string *lang, bool *match);
+
+ css_error css_node_presentational_hint(void *pw, void *node,
+- uint32_t property, css_hint *hint);
++ uint32_t *nhints, css_hint **hints);
+
+ css_error css_ua_default_for_property(void *pw, uint32_t property,
+ css_hint *hint);
+@@ -1055,13 +1055,13 @@
+ return CSS_OK;
+ }
+
+- css_error css_node_presentational_hint(void *pw, void *const node, const uint32_t property, css_hint *const hint)
++ css_error css_node_presentational_hint(void *pw, void *const node, uint32_t *nhints, css_hint **const hints)
+ {
+ // TODO: implement me
+ (void) pw;
+ (void) node;
+- (void) property;
+- (void) hint;
++ (void) nhints;
++ (void) hints;
+
+ return CSS_PROPERTY_NOT_SET;
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libe-book.git/commitdiff/71fc963e762f0b70050abe40763430f55ff33f22
More information about the pld-cvs-commit
mailing list