Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package podofo for openSUSE:Factory checked in at 2023-08-08 15:53:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/podofo (Old) and /work/SRC/openSUSE:Factory/.podofo.new.22712 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "podofo" Tue Aug 8 15:53:48 2023 rev:35 rq:1101041 version:0.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/podofo/podofo.changes 2022-05-06 18:58:55.953329912 +0200 +++ /work/SRC/openSUSE:Factory/.podofo.new.22712/podofo.changes 2023-08-08 15:53:49.716578095 +0200 @@ -1,0 +2,55 @@ +Fri Jun 30 06:29:47 UTC 2023 - ecsos <ec...@opensuse.org> + +- Update to 0.10.1 + - Security bugfixes, #66, #67, #69, #70, #71, #72 + - Rewritten PdfPageCollection for performance + - PdfCMapEncoding: Fix parsing some invalid CMap(s) supported by Acrobat + - PdfXRefStreamParserObject: Fixed handling of invalid XRef stream entries + - Support compilation of the library header (not the library itself) with C++20 +- Changes from 0.10.0 + The release is complete re-imagination of PoDoFo 0.9.x API in C++17, + and it's API/ABI incompatible with the previous releases. + - PdfPage/PdfAnnotationCollection/PdfAnnotation: Now functions with rect input assume it + to be using the canonical coordinate system with no rotation + - PdfImage: Added support for CYMK jpeg + - PdfParser: Cleaned FindToken2 -> FindTokenBackward + - Renamed base source folder -> main + - PdfPainter: Revamped API, added full state inspection with current point, + added added PdfPainterTextContext to handle text object operations + Use it with PdfPainter::Text instance member. Added PdfContentStreamOperators + low level interface for PdfPainter moved SmoothCurveTo, QuadCurveTo SmoothQuadCurveTo, + ArcTo, Arc, to an helper structure until cleaned + - PdfFontMetrics: Added FilePath/FaceIndex for debugging, when available + - PdfFont: Renamed GetStringLength() overloads with PdfString to GetEncodedStringLength() + - PdfFontManager: Renamed GetFont() -> SearchFont() Re-Added better GetOrCreateFont() from file/buffer + - PdfEncrypt: Cleaned factory methods + - Added PdfArray::FindAtAs(), PdfArray::FindAtAsSafe(), PdfArray::TryFindAtAs(), + PdfArray::GetAtAs(), PdfArray::GetAtAsSafe(), PdfArray::TryGetAtAs() + - Added PdfDictionary::FindKeyAsSafe() and PdfDictionary::TryFindKeyAs() + - PdfDictionary::AddKeyIndirect/PdfArray::AddKeyIndirect accepts a reference + - PdfAnnotation/PdfField API review + - PdfDate: Introduced PdfDate::LocalNow() and PdfDate::UtcNow() and default constructor is epoch time instead + - Renamed PdfDocument::GetNameTree() -> GetNames() + - PdfObject: Flate compress on write objects that have no filters + - PdfMemDocument does collect garbage by default when saving + - PdfField/PdfAnntation: Fully reworked the hierarchy and added proper fields ownership + - Added PdfField::GetParent(), PdfField::GetChildren() + - PdfImage: Cleaned/reviewed/fixed SetData()/SetDataRaw() + - Renamed PdfPageTree -> PdfPageCollection + - Added XMP metadata reading/saving. Added PdfMetadata class + - Added text extraction API + - Review I/O API: Merged InputDevice/OutputDevice into StreamDevice. + New hierarchy deriving StreamDevice + - Reviewed PdfObjectStream API: added streaming operations, GetInputStream(), + GetOutputStream(). Renamed GetFilteredCopy() -> GetUnwrappedCopy()/UnwrapTo(). + They only unwrap non media filters (see PdfImage::DecodeTo for media ones). + Added proper copy and move assignment operators + - PdfImage: Added DecodeTo(pixelFormat) +- Changes from other older versions + See https://github.com/podofo/podofo/blob/master/CHANGELOG.md +- Change source url to new location. +- Drop podofo-gcc12.patch because source no longer exists. +- Enable of compilation of tools. +- Add podofo-tools_man.patch to fix missing man pages for tools. + +------------------------------------------------------------------- Old: ---- podofo-0.9.8.tar.gz podofo-gcc12.patch New: ---- podofo-0.10.1.tar.gz podofo-tools_man.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ podofo.spec ++++++ --- /var/tmp/diff_new_pack.2ZKC4N/_old 2023-08-08 15:53:50.564583402 +0200 +++ /var/tmp/diff_new_pack.2ZKC4N/_new 2023-08-08 15:53:50.568583426 +0200 @@ -1,7 +1,7 @@ # # spec file for package podofo # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,21 +16,28 @@ # -%define libver 0_9_8 +%define libver 2 +%bcond_with tools Name: podofo -Version: 0.9.8 +Version: 0.10.1 Release: 0 Summary: Tools to work with PDF files License: GPL-2.0-or-later Group: Productivity/Publishing/PDF URL: http://podofo.sourceforge.net/ -Source0: https://downloads.sourceforge.net/podofo/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM https://src.fedoraproject.org/rpms/podofo/tree/rawhide -Patch0: podofo-gcc12.patch +Source0: https://github.com/podofo/podofo/archive/%{version}/%{name}-%{version}.tar.gz +# PATCH-FIX-OPENSUSE: manuals does not build +Patch0: podofo-tools_man.patch BuildRequires: cmake >= 2.6 BuildRequires: doxygen BuildRequires: fdupes +%if 0%{?suse_version} <= 1500 +BuildRequires: gcc12 +BuildRequires: gcc12-c++ +%else +BuildRequires: gcc BuildRequires: gcc-c++ +%endif BuildRequires: libboost_headers-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(cppunit) @@ -39,6 +46,7 @@ BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libtiff-4) +BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(zlib) @@ -71,9 +79,16 @@ echo "HTML_TIMESTAMP = NO" >> Doxyfile %build +%if 0%{?suse_version} <= 1500 +export CC=gcc-12 +export CXX=g++-12 +%endif %cmake \ -DWANT_FONTCONFIG=ON \ -DWANT_BOOST=ON \ + %if %{with tools} + -DPODOFO_BUILD_TOOLS=TRUE \ + %endif -DPODOFO_BUILD_STATIC=OFF \ -DPODOFO_USE_VISIBILITY=ON %cmake_build @@ -87,7 +102,7 @@ # Install devel docs (do it manually to fix also rpmlint warning "files-duplicate" with %%fdupes) mkdir -p %{buildroot}%{_docdir}/libpodofo-devel -install -pm 0644 AUTHORS COPYING.LIB ChangeLog FAQ.html README.html TODO %{buildroot}%{_docdir}/libpodofo-devel/ +install -pm 0644 AUTHORS.md CHANGELOG.md README.md TODO.md %{buildroot}%{_docdir}/libpodofo-devel/ cp -a doc/html/ %{buildroot}%{_docdir}/libpodofo-devel/ %fdupes -s %{buildroot} @@ -97,12 +112,15 @@ %files %license COPYING -%doc AUTHORS README.html +%doc AUTHORS.md README.md +%if %{with tools} %{_bindir}/* %{_mandir}/man1/podofo*.1%{?ext_man} +%endif %files -n libpodofo%{libver} %license COPYING +%{_libdir}/libpodofo.so.%{libver} %{_libdir}/libpodofo.so.%{version} %files -n libpodofo-devel @@ -111,5 +129,7 @@ %{_includedir}/podofo/ %{_libdir}/libpodofo.so %{_libdir}/pkgconfig/libpodofo.pc +%dir %{_datadir}/podofo +%{_datadir}/podofo/podofo-*.cmake %changelog ++++++ podofo-0.9.8.tar.gz -> podofo-0.10.1.tar.gz ++++++ ++++ 278511 lines of diff (skipped) ++++++ podofo-tools_man.patch ++++++ diff -Pdpru podofo-0.10.1.orig/CMakeLists.txt podofo-0.10.1/CMakeLists.txt --- podofo-0.10.1.orig/CMakeLists.txt 2023-06-29 10:54:06.000000000 +0200 +++ podofo-0.10.1/CMakeLists.txt 2023-06-30 08:27:55.519047131 +0200 @@ -250,6 +250,8 @@ endif() if(PODOFO_BUILD_TOOLS) add_subdirectory(tools) + SET(MANDIR "share/man/") + add_subdirectory(man) endif() # Enable packaging