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-10-18 12:44:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qpdf (Old) and /work/SRC/openSUSE:Factory/.qpdf.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qpdf" Tue Oct 18 12:44:19 2022 rev:63 rq:1012004 version:11.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/qpdf/qpdf.changes 2022-09-13 15:07:39.360349842 +0200 +++ /work/SRC/openSUSE:Factory/.qpdf.new.2275/qpdf.changes 2022-10-18 12:44:30.425656419 +0200 @@ -1,0 +2,69 @@ +Wed Oct 12 00:12:47 UTC 2022 - C J <[email protected]> + +- update to 11.1.1: + * Bug fixes for #778 & #789 + * Code tidying and performance improvements + +- version 11.1.0: Build fixes + +- version 11.0.0: + * Replacement of PointerHolder with std::shared_ptr + * JSON output mode is now at version 2 + * Performance improvements, cleanup and refactoring. + * CLI: breaking changes: + The --show-encryption flag now provides encryption information + even if a correct password is not supplied. + Default json output version with --json has changed from 1 to 2. + The --allow-weak-crypto flag is now mandatory when explicitly + creating files with weak cryptographic algorithms. + * API: breaking changes: + Deprecate QPDFObject.hh for removal in qpdf 12. + Pipeline::write use unsigned char const* instead of unsigned char*. + Deprecated QPDFAcroFormDocumentHelper::copyFieldsFromForeignPage. + The function passed to and called by QPDFJob::doIfVerbose now + takes a Pipeline& argument instead of a std::ostream& argument. + Remove pre qpdf-8.4.0 encryption API methods from QPDFWriter and + their corresponding C API functions. + QPDFObjectHandle::warnIfPossible no longer takes an optional + argument to throw an exception if there is no description. + QPDF objects can no longer be copied or assigned to. + * CLI Enhancements + * Library Enhancements: + A new object QPDFLogger has been added. + In QPDFObjectHandle, new methods insertItemAndGetNew, + appendItemAndGetNew, and replaceKeyAndGetNew. New methods + eraseItemAndGetOld, replaceKeyAndGetOld, and removeKeyAndGetOld. + QPDFObjectHandle::isDestroyed method. + QPDFObjectHandle::getOwningQPDF method now returns a null pointer + when the owning QPDF object has been destroyed. + QPDFObjectHandle::getQPDF is an alternative to + QPDFObjectHandle::getOwningQPDF. + Add method QPDFObjectHandle::isSameObjectAs. + New factory method QPDF::create() returns a std::shared_ptr<QPDF>. + New Pipeline methods have been added to reduce the amount of casting + that is needed (write, writeCstr, writeString, operator <<) + New Pipeline type Pl_OStream writes to a std::ostream. + New Pipeline type Pl_String appends to a std::string. + New Pipeline type Pl_Function. + Methods have been added to QUtil for converting PDF timestamps and + QPDFTime objects to ISO-8601 timestamps. + Enhancement to JSON class. + Add new functions to the C API for qpdfjob that use a qpdfjob_handle. + QPDFJob::registerProgressReporter & qpdfjob_register_progress_reporter + as a custom progress reporter with QPDFJob. + New overloads: QPDFObjectHandle::StreamDataProvider::provideStreamData + with QPDFObjGen const& instead of object ID and generation parameters. + In QPDFPageObjectHelper, add a copy_if_fallback parameter to most of + the page bounding box methods. + Add a move constructor to the Buffer class. + * Other changes: + In JSON v1 mode: "objects" key now reflects the repaired pages + tree if "pages" is specified. + Chapter "Contributing to qpdf" was added to the documentation. + The qpdf source code is now formatted automatically with clang-format. + +- drop obsolete patches: + disable-newpdf-renderer.patch + qpdf-10.6.3-grep-3.8.patch + +------------------------------------------------------------------- Old: ---- disable-newpdf-renderer.patch qpdf-10.6.3-grep-3.8.patch qpdf-10.6.3.tar.gz qpdf-10.6.3.tar.gz.asc New: ---- qpdf-11.1.1.tar.gz qpdf-11.1.1.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qpdf.spec ++++++ --- /var/tmp/diff_new_pack.4eqO2e/_old 2022-10-18 12:44:31.197658176 +0200 +++ /var/tmp/diff_new_pack.4eqO2e/_new 2022-10-18 12:44:31.201658185 +0200 @@ -15,10 +15,9 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - -%define so_version 28 +%define so_version 29 Name: qpdf -Version: 10.6.3 +Version: 11.1.1 Release: 0 Summary: Command-line tools and library for transforming PDF files License: Apache-2.0 @@ -27,17 +26,17 @@ 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: disable-newpdf-renderer.patch -Patch2: qpdf-10.6.3-grep-3.8.patch BuildRequires: gcc-c++ -BuildRequires: ghostscript -BuildRequires: libjpeg8-devel -BuildRequires: pkgconfig +BuildRequires: pkgconfig(zlib) +BuildRequires: pkgconfig(libjpeg) +BuildRequires: pkgconfig(gnutls) +BuildRequires: texlive-latex +BuildRequires: texlive-latexmk BuildRequires: python3-Sphinx +BuildRequires: python3-Sphinx-latex BuildRequires: python3-sphinx_rtd_theme -BuildRequires: tiff -BuildRequires: zlib-devel -BuildRequires: pkgconfig(openssl) +BuildRequires: cmake +BuildRequires: fdupes %description QPDF is a program that does structural, content-preserving @@ -56,6 +55,7 @@ %package htmldoc Summary: Documentation files for qpdf Group: Documentation/HTML +BuildArch: noarch %description htmldoc This package contains the documentation for qpdf @@ -64,6 +64,7 @@ Summary: Development files for qpdf PDF manipulation library Group: Development/Libraries/C and C++ Requires: %{name} = %{version} +Requires: libqpdf%{so_version} = %{version} Requires: libstdc++-devel %description devel @@ -79,38 +80,41 @@ package. %prep -%autosetup -p1 +%autosetup %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-test-compare-images -%make_build +%cmake \ + -DBUILD_DOC=ON \ + -DBUILD_DOC_DIST=ON \ + -DBUILD_DOC_HTML=ON \ + -DBUILD_DOC_PDF=ON \ + -DCMAKE_INSTALL_DOCDIR='${datarootdir}'share/doc/packages/%{name} +%cmake_build %check -%make_build check -rm -rf qpdf/qtest # Unicode data can't be redistributed freely +make -C build test -%install -%make_install -find %{buildroot} -type f -name "*.la" -delete -print +%install +%cmake_install +mkdir -m755 -p %{buildroot}%{_docdir}/%{name}/html +mkdir -m755 -p %{buildroot}%{_docdir}/%{name}/singlehtml +pushd build/manual/doc-dist + cp -a manual-html/* %{buildroot}%{_docdir}/%{name}/html/ + cp -a manual-single-page-html/* %{buildroot}%{_docdir}/%{name}/singlehtml/ + install -Dm644 qpdf-manual.pdf %{buildroot}%{_docdir}/%{name}/qpdf-manual.pdf +popd -%make_build doc-dist DOC_DEST=%{buildroot}%{_docdir}/%{name} +# create symlinks for html and singlehtml duplicate docs +%fdupes -s %{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 README-doc.txt -%license Artistic-2.0 +%doc ChangeLog README-doc.txt qpdf-manual.pdf +%license Artistic-2.0 LICENSE.txt %{_bindir}/* %{_mandir}/man1/* @@ -122,8 +126,10 @@ %{_libdir}/libqpdf.so.%{so_version}* %files devel +%doc %{_docdir}/%{name}/examples %{_includedir}/* %{_libdir}/pkgconfig/libqpdf.pc %{_libdir}/libqpdf.so +%{_libdir}/cmake/qpdf %changelog ++++++ qpdf-10.6.3.tar.gz -> qpdf-11.1.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/qpdf/qpdf-10.6.3.tar.gz /work/SRC/openSUSE:Factory/.qpdf.new.2275/qpdf-11.1.1.tar.gz differ: char 12, line 1
