Accepting request 87005 from Publishing

Update to 0.7.11.

OBS-URL: https://build.opensuse.org/request/show/87005
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdf2djvu?expand=0&rev=8
This commit is contained in:
Lars Vogdt 2011-10-07 13:21:51 +00:00 committed by Git OBS Bridge
commit 50fe900ff5
5 changed files with 15 additions and 29 deletions

View File

@ -1,16 +0,0 @@
Index: pdf2djvu-0.7.10/pdf-backend.hh
===================================================================
--- pdf2djvu-0.7.10.orig/pdf-backend.hh
+++ pdf2djvu-0.7.10/pdf-backend.hh
@@ -77,7 +77,11 @@ namespace pdf
namespace link
{
+#if POPPLER_VERSION < 1700
typedef ::Link Link;
+#else
+ typedef ::AnnotLink Link;
+#endif
typedef ::LinkAction Action;
typedef ::LinkDest Destination;
typedef ::LinkGoTo GoTo;

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Oct 6 18:17:26 UTC 2011 - lazy.kent@opensuse.org
- Update to 0.7.11
+ Fix build failure with Poppler >= 0.17.
- Removed pdf2djvu-poppler-0.18.patch (fixed upstream).
- Removed obsolete "clean" section.
-------------------------------------------------------------------
Tue Sep 20 10:01:18 UTC 2011 - vuntz@opensuse.org

View File

@ -18,15 +18,13 @@
Name: pdf2djvu
Version: 0.7.10
Release: 1
Version: 0.7.11
Release: 0
License: GPL-2.0
Summary: PDF to DjVu Converter
Url: http://pdf2djvu.googlecode.com/
Group: Productivity/Publishing/PDF
Source0: http://pdf2djvu.googlecode.com/files/%{name}_%{version}.tar.gz
# PATCH-FIX-UPSTREAM pdf2djvu-poppler-0.18.patch vuntz@opensuse.org -- Fix build with poppler 0.17/0.18. Sent upstream: http://code.google.com/p/pdf2djvu/issues/detail?id=61
Patch0: pdf2djvu-poppler-0.18.patch
BuildRequires: djvulibre
BuildRequires: gcc-c++
BuildRequires: libdjvulibre-devel
@ -45,21 +43,17 @@ metadata.
%prep
%setup -q
%patch0 -p1
%build
%configure
%__make %{?_smp_mflags}
make %{?_smp_mflags}
%install
%makeinstall
%find_lang %{name}
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
make test
%files -f %{name}.lang
%defattr(-,root,root,-)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11e4132e9a07fd78755f290c0bd7a4209dc0e871e4408f15592fc0e138d1ad68
size 301025

3
pdf2djvu_0.7.11.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8ad5cc88aaca4a37a73c31674942cb0be0bf44440d22d46c85e0a404f63fa01
size 292966