Hello community,
here is the log from the commit of package qpdf for openSUSE:Factory
checked in at Thu Aug 4 10:45:19 CEST 2011.
--------
New Changes file:
--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/qpdf/qpdf.changes 2011-08-03 09:09:25.000000000 +0200
@@ -0,0 +1,22 @@
+-------------------------------------------------------------------
+Wed Aug 3 07:09:06 UTC 2011 - idonmez@novell.com
+
+- Remove unicode data to make sure its not redistributed
+
+-------------------------------------------------------------------
+Thu Jun 23 13:02:39 UTC 2011 - idonmez@novell.com
+
+- Add qpdf-nostrip.patch: don't strip libraries
+
+-------------------------------------------------------------------
+Wed Jun 22 21:04:11 UTC 2011 - idonmez@novell.com
+
+- Update to v 2.3.3
+ * API improvements
+ * Compatibility fixes with some PDF files
+
+-------------------------------------------------------------------
+* Mon Apr 28 2008 Jay Berkenbilt - 2.0-1
+- Initial packaging
+
+
calling whatdependson for head-i586
New:
----
qpdf-2.2.3.tar.gz
qpdf-gcc46.patch
qpdf-nostrip.patch
qpdf.changes
qpdf.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qpdf.spec ++++++
#
# spec file for package qpdf
#
# 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: qpdf
Version: 2.2.3
Release: 1
License: Artistic-2.0
Summary: Command-line tools and library for transforming PDF files
Url: http://qpdf.sourceforge.net/
Group: Development/Libraries/C and C++
Source: http://sourceforge.net/projects/qpdf/files/qpdf/%{version}/qpdf-%{version}.tar.gz
# PATCH-FIX-UPSTREAM qpdf-gcc46.patch idoenmez@suse.de -- Remove write only variable
Patch1: qpdf-gcc46.patch
# PATCH-FIX-UPSTREAM qpdf-nostrip.patch idoenmez@suse.de -- Don't strip libraries
Patch2: qpdf-nostrip.patch
BuildRequires: gcc-c++
BuildRequires: pcre-devel
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
QPDF is a program that does structural, content-preserving
transformations on PDF files. It could have been called something
like pdf-to-pdf. It also provides many useful capabilities to
developers of PDF-producing software or for people who just want to
look at the innards of a PDF file to learn more about how they work.
QPDF offers many capabilities such as linearization (web
optimization), encrypt, and decryption of PDF files. Note that QPDF
does not have the capability to create PDF files from scratch; it is
only used to create PDF files with special characteristics starting
from other PDF files or to inspect or extract information from
existing PDF files.
%package devel
Summary: Development files for qpdf PDF manipulation library
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: pcre-devel
Requires: zlib-devel
%description devel
The qpdf-devel package contains header files and libraries necessary
for developing programs using the qpdf library.
%prep
%setup -q
%patch1
%patch2
%build
%configure --disable-test-compare-images \
--docdir='${datarootdir}'/doc/packages/%{name}
make %{?_smp_mflags}
%check
make check
rm -rf qpdf/qtest # Unicode data can't be redistributed freely
%install
%makeinstall
rm %{buildroot}%{_libdir}/libqpdf.a
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%dir %{_datadir}/doc/packages/%{name}
%doc %{_datadir}/doc/packages/%{name}/*
%{_bindir}/*
%{_libdir}/libqpdf*.so.*
%{_mandir}/man1/*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/libqpdf*.so
%clean
rm -rf %{buildroot}
%changelog
++++++ qpdf-gcc46.patch ++++++
--- libqpdf/QPDF_linearization.cc 2011-01-31 15:59:42.000000000 +0100
+++ libqpdf/QPDF_linearization.cc 2011-06-22 22:55:09.924122432 +0200
@@ -94,7 +94,6 @@
static PCRE lindict_re("(?s:(\\d+)\\s+0\\s+obj\\s*<<)");
- off_t offset = -1;
int lindict_obj = -1;
char* p = buf;
while (lindict_obj == -1)
@@ -102,7 +101,6 @@
PCRE::Match m(lindict_re.match(p));
if (m)
{
- offset = m.getOffset(0) + (p - buf);
lindict_obj = atoi(m.getMatch(1).c_str());
if (m.getMatch(0).find('\n') != std::string::npos)
{
++++++ qpdf-nostrip.patch ++++++
--- make/libtool.mk 2009-10-22 17:20:41.000000000 +0200
+++ make/libtool.mk 2011-06-23 14:58:14.387148989 +0200
@@ -98,15 +98,15 @@
./mkinstalldirs $(DESTDIR)$(includedir)/qpdf
./mkinstalldirs $(DESTDIR)$(docdir)
./mkinstalldirs $(DESTDIR)$(mandir)/man1
- $(LIBTOOL) --mode=install install -s -c \
+ $(LIBTOOL) --mode=install install -c \
libqpdf/$(OUTPUT_DIR)/libqpdf.la \
$(DESTDIR)$(libdir)/libqpdf.la
$(LIBTOOL) --finish $(DESTDIR)$(libdir)
$(RM) $(DESTDIR)$(libdir)/libqpdf.la
- $(LIBTOOL) --mode=install install -s -c \
+ $(LIBTOOL) --mode=install install -c \
qpdf/$(OUTPUT_DIR)/qpdf \
$(DESTDIR)$(bindir)/qpdf
- $(LIBTOOL) --mode=install install -s -c \
+ $(LIBTOOL) --mode=install install -c \
zlib-flate/$(OUTPUT_DIR)/zlib-flate \
$(DESTDIR)$(bindir)/zlib-flate
cp qpdf/fix-qdf $(DESTDIR)$(bindir)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org