Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qpdf for openSUSE:Factory checked in 
at 2022-01-07 12:44:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qpdf (Old)
 and      /work/SRC/openSUSE:Factory/.qpdf.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qpdf"

Fri Jan  7 12:44:51 2022 rev:57 rq:943949 version:10.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/qpdf/qpdf.changes        2021-12-02 
02:25:22.348582872 +0100
+++ /work/SRC/openSUSE:Factory/.qpdf.new.1896/qpdf.changes      2022-01-07 
12:45:24.963805245 +0100
@@ -1,0 +2,39 @@
+Tue Jan  4 16:24:29 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 10.5.0:
+  * Since qpdf version 8, using object accessor methods on an
+    instance of ``QPDFObjectHandle`` may create warnings if the
+    object is not of the expected type. These warnings now have an
+    error code of ``qpdf_e_object`` instead of
+    ``qpdf_e_damaged_pdf``. Also, comments have been added to
+    :file:`QPDFObjectHandle.hh` to explain in more detail what the
+    behavior is. See :ref:`object-accessors` for a more in-depth
+    discussion.
+  * Add ``Pl_Buffer::getMallocBuffer()`` to initialize a buffer
+    allocated with ``malloc()`` for better cross-language
+    interoperability.
+  * Overhaul error handling for the object handle functions C API.
+    Some rare error conditions that would previously have caused a
+    crash are now trapped and reported, and the functions that
+    generate them return fallback values. See comments in the
+    ``ERROR HANDLING`` section of :file:`include/qpdf/qpdf-c.h` for
+    details. In particular, exceptions thrown by the underlying C++
+    code when calling object accessors are caught and converted into
+    errors. The errors can be checked by calling ``qpdf_has_error``.
+    Use ``qpdf_silence_errors`` to prevent the error from being
+    written to stderr.
+  * Add ``qpdf_get_last_string_length`` to the C API to get the
+    length of the last string that was returned. This is needed to
+    handle strings that contain embedded null characters.
+  * Add ``qpdf_oh_is_initialized`` and
+    ``qpdf_oh_new_uninitialized`` to the C API to make it possible
+    to work with uninitialized objects.
+  * Add ``qpdf_oh_new_object`` to the C API. This allows you to
+    clone an object handle.
+  * Add ``qpdf_get_object_by_id``, ``qpdf_make_indirect_object``,
+    and ``qpdf_replace_object``, exposing the corresponding methods
+    in ``QPDF`` and ``QPDFObjectHandle``.
+- add build-without-pdf.patch to fix documentation installation
+- enable documentation build, enable tests, enable werror
+
+-------------------------------------------------------------------

Old:
----
  qpdf-10.4.0.tar.gz
  qpdf-10.4.0.tar.gz.asc

New:
----
  build-without-pdf.patch
  qpdf-10.5.0.tar.gz
  qpdf-10.5.0.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qpdf.spec ++++++
--- /var/tmp/diff_new_pack.tJOFSj/_old  2022-01-07 12:45:25.983805953 +0100
+++ /var/tmp/diff_new_pack.tJOFSj/_new  2022-01-07 12:45:25.987805955 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qpdf
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define so_version 28
 Name:           qpdf
-Version:        10.4.0
+Version:        10.5.0
 Release:        0
 Summary:        Command-line tools and library for transforming PDF files
 License:        Apache-2.0
@@ -27,9 +27,14 @@
 Source:         
https://github.com/qpdf/qpdf/releases/download/release-qpdf-%{version}/qpdf-%{version}.tar.gz
 Source1:        
https://github.com/qpdf/qpdf/releases/download/release-qpdf-%{version}/qpdf-%{version}.tar.gz.asc
 Source2:        qpdf.keyring
+Patch1:         build-without-pdf.patch
 BuildRequires:  gcc-c++
+BuildRequires:  ghostscript
 BuildRequires:  libjpeg8-devel
 BuildRequires:  pkgconfig
+BuildRequires:  python3-Sphinx
+BuildRequires:  python3-sphinx_rtd_theme
+BuildRequires:  tiff
 BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig(openssl)
 
@@ -73,15 +78,18 @@
 package.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
 %configure --disable-static \
+           --enable-werror \
            --enable-crypto-openssl \
+          --enable-html-doc \
            --disable-implicit-crypto \
            --docdir='${datarootdir}'/doc/packages/%{name} \
-           --enable-show-failed-test-output
+           --enable-show-failed-test-output \
+           --enable-test-compare-images
 %make_build
 
 %check
@@ -93,22 +101,21 @@
 
 find %{buildroot} -type f -name "*.la" -delete -print
 
-mkdir -p %{buildroot}%{_docdir}/%{name}/html
-mv %{buildroot}%{_docdir}/%{name}/*.{css,html,pdf} 
%{buildroot}%{_docdir}/%{name}/html
+%make_build doc-dist DOC_DEST=%{buildroot}%{_docdir}/%{name}
 
 %post -n libqpdf%{so_version} -p /sbin/ldconfig
 %postun -n libqpdf%{so_version} -p /sbin/ldconfig
 
 %files
 %dir %{_docdir}/%{name}
-%doc ChangeLog
+%doc ChangeLog README-doc.txt
 %license Artistic-2.0
 %{_bindir}/*
 %{_mandir}/man1/*
 
 %files htmldoc
-%dir %{_docdir}/%{name}/html
-%doc %{_docdir}/%{name}/html/*
+%doc %{_docdir}/%{name}/html
+%doc %{_docdir}/%{name}/singlehtml
 
 %files -n libqpdf%{so_version}
 %{_libdir}/libqpdf.so.%{so_version}*

++++++ build-without-pdf.patch ++++++
--- qpdf-10.5.0/manual/build.mk
+++ qpdf-10.5.0/manual/build.mk
@@ -50,6 +50,8 @@
        else \
            mkdir -p $(DOC_DEST); \
        fi
-       cp -r $(DOC_OUT)/html doc
-       cp -r $(DOC_OUT)/singlehtml doc
-       cp $(PDF_TARGET) $(DOC_DEST)/qpdf-manual.pdf
+       cp -r $(DOC_OUT)/html $(DOC_DEST)
+       cp -r $(DOC_OUT)/singlehtml $(DOC_DEST)
+ifeq ($(BUILD_PDF),1)
+       cp -p $(PDF_TARGET) $(DOC_DEST)/qpdf-manual.pdf
+endif

++++++ qpdf-10.4.0.tar.gz -> qpdf-10.5.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/qpdf/qpdf-10.4.0.tar.gz 
/work/SRC/openSUSE:Factory/.qpdf.new.1896/qpdf-10.5.0.tar.gz differ: char 12, 
line 1

Reply via email to