Hello community, here is the log from the commit of package poppler for openSUSE:Factory checked in at 2020-12-21 10:22:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/poppler (Old) and /work/SRC/openSUSE:Factory/.poppler.new.5145 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "poppler" Mon Dec 21 10:22:24 2020 rev:163 rq:856944 version:20.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/poppler/poppler.changes 2020-12-08 13:25:36.314710140 +0100 +++ /work/SRC/openSUSE:Factory/.poppler.new.5145/poppler.changes 2020-12-21 10:23:05.575963367 +0100 @@ -1,0 +2,11 @@ +Thu Dec 10 20:06:49 UTC 2020 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 20.12.1: + + core: + - PSOutputDev: fixing regression in the rasterization code. + - Add missing profile copy operation in + GfxICCBasedColorSpace::copy() + - Fix issue in broken files. + + build system: Use modern CMake linking for Qt and boost. + +------------------------------------------------------------------- @@ -7 +18,2 @@ - - Fix annotation line width if no appearance stream or style are given + - Fix annotation line width if no appearance stream or style + are given @@ -10,5 +22,10 @@ - - Fix rendering of some files. Issue #976 Issue #567 - - PSOutputDev: provide options to set the rasterization color space and ICC profile - - PSOutputDev: for splashModeCMYK8 and language level >=2 activate overprint emulation - - PSOutputDev: use the DeviceN8 bitmap for rasterization with CMYK-output + overprint - - Use the font name without subset tag when querying for a system font + - Fix rendering of some files + - PSOutputDev: + . provide options to set the rasterization color space and + ICC profile + . for splashModeCMYK8 and language level >=2 activate + overprint emulation + . use the DeviceN8 bitmap for rasterization with CMYK-output + + overprint + - Use the font name without subset tag when querying for a + system font @@ -20 +36,0 @@ - @@ -22,2 +38,5 @@ - - pdftops: provide options to set the rasterization color space and ICC profile - - pdftops: for splashModeCMYK8 and language level >=2 activate overprint emulation + - pdftops: + . provide options to set the rasterization color space and + ICC profile + . for splashModeCMYK8 and language level >=2 activate + overprint emulation Old: ---- poppler-20.12.0.tar.xz New: ---- poppler-20.12.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ poppler.spec ++++++ --- /var/tmp/diff_new_pack.BmXsCW/_old 2020-12-21 10:23:06.099963827 +0100 +++ /var/tmp/diff_new_pack.BmXsCW/_new 2020-12-21 10:23:06.099963827 +0100 @@ -24,7 +24,7 @@ %endif Name: poppler%{?psuffix} -Version: 20.12.0 +Version: 20.12.1 Release: 0 # Actual version of poppler-data: %define poppler_data_version 0.4.9 ++++++ poppler-20.12.0.tar.xz -> poppler-20.12.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/.gitlab-ci.yml new/poppler-20.12.1/.gitlab-ci.yml --- old/poppler-20.12.0/.gitlab-ci.yml 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/.gitlab-ci.yml 2020-12-05 23:14:09.000000000 +0100 @@ -53,7 +53,7 @@ script: - git clone --branch ${CI_COMMIT_REF_NAME} --depth 1 ${TEST_DATA_URL} test-data || git clone --depth 1 ${UPSTREAM_TEST_DATA_URL} test-data - mkdir -p build && cd build - - CC=clang CXX=clang++ cmake -G Ninja -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DTESTDATADIR=$PWD/../test-data -DCMAKE_CXX_CLANG_TIDY="clang-tidy;-header-filter=.;-checks=-*,performance-*,bugprone-*,readability-inconsistent-declaration-parameter-name,readability-string-compare,modernize-deprecated-headers,modernize-make-unique,modernize-make-shared,modernize-use-override,modernize-use-equals-delete,modernize-use-emplace,modernize-use-bool-literals,modernize-redundant-void-arg,modernize-loop-convert,-bugprone-narrowing-conversions,-bugprone-macro-parentheses,-bugprone-suspicious-string-compare,-bugprone-incorrect-roundings,-bugprone-undefined-memory-manipulation,-bugprone-sizeof-expression,-bugprone-branch-clone;-warnings-as-errors=*" .. + - CC=clang CXX=clang++ cmake -G Ninja -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DTESTDATADIR=$PWD/../test-data -DCMAKE_CXX_CLANG_TIDY="clang-tidy;-header-filter=.;-checks=-*,performance-*,bugprone-*,readability-inconsistent-declaration-parameter-name,readability-string-compare,modernize-deprecated-headers,modernize-make-unique,modernize-make-shared,modernize-use-override,modernize-use-equals-delete,modernize-use-emplace,modernize-use-bool-literals,modernize-redundant-void-arg,modernize-loop-convert,-bugprone-narrowing-conversions,-bugprone-macro-parentheses,-bugprone-suspicious-string-compare,-bugprone-incorrect-roundings,-bugprone-undefined-memory-manipulation,-bugprone-sizeof-expression,-bugprone-branch-clone,-bugprone-reserved-identifier,-bugprone-signed-char-misuse,-bugprone-suspicious-include;-warnings-as-errors=*" .. - ninja - ctest --output-on-failure diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/CMakeLists.txt new/poppler-20.12.1/CMakeLists.txt --- old/poppler-20.12.0/CMakeLists.txt 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/CMakeLists.txt 2020-12-05 23:14:09.000000000 +0100 @@ -38,7 +38,7 @@ # We want the string version to have 08 but the integer version can't have a leading 0 since otherwise it's considered octal # So strip a leading 0 if found in POPPLER_MINOR_VERSION_STRING and store the result in POPPLER_MINOR_VERSION string(REGEX REPLACE "^0?(.+)$" "\\1" POPPLER_MINOR_VERSION "${POPPLER_MINOR_VERSION_STRING}") -set(POPPLER_MICRO_VERSION "0") +set(POPPLER_MICRO_VERSION "1") set(POPPLER_VERSION "${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION_STRING}.${POPPLER_MICRO_VERSION}") set(CMAKE_CXX_STANDARD 14) @@ -181,7 +181,6 @@ if(ENABLE_SPLASH) find_package(Boost 1.58.0) if(Boost_FOUND) - include_directories(SYSTEM ${Boost_INCLUDE_DIRS}) set(USE_BOOST_HEADERS ON) endif() endif() @@ -525,6 +524,9 @@ if(TIFF_FOUND) set(poppler_LIBS ${poppler_LIBS} TIFF::TIFF) endif() +if(Boost_FOUND) + set(poppler_LIBS ${poppler_LIBS} Boost::boost) +endif() if (GPERF AND RUN_GPERF_IF_PRESENT) macro(ADD_GPERF_FILE input) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/ChangeLog new/poppler-20.12.1/ChangeLog --- old/poppler-20.12.0/ChangeLog 2020-12-01 23:50:02.000000000 +0100 +++ new/poppler-20.12.1/ChangeLog 2020-12-06 18:23:32.000000000 +0100 @@ -1,3 +1,109 @@ +commit 5d3e71c8215997a96d2ade7272217087f7e59fe2 +Author: Albert Astals Cid <aa...@kde.org> +Date: Sat Dec 5 23:14:09 2020 +0100 + + Poppler 20.12.1 + + CMakeLists.txt | 2 +- + NEWS | 9 +++++++++ + cpp/Doxyfile | 2 +- + qt5/src/Doxyfile | 2 +- + 4 files changed, 12 insertions(+), 3 deletions(-) + +commit 5eb2dec26dbb575ca3eafd2509ceb1ca2aaa5fd1 +Author: Philipp Knechtges <philipp-...@knechtges.com> +Date: Thu Dec 3 17:02:49 2020 +0100 + + PSOutputDev: fixing two oversights in the rasterization code + + This fixes the issue with uninitalized memory valgrind shows in the + bug report + https://gitlab.freedesktop.org/poppler/poppler/-/issues/1002 . + + poppler/PSOutputDev.cc | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit bb599a7809edf73ecd48900bb9f103b0888be23e +Author: Albert Astals Cid <aa...@kde.org> +Date: Sat Dec 5 22:44:55 2020 +0100 + + CI: clang-tidy disable 3 new clang-tidy 11 warnings + + At least the unsigned char one needs investiagtion, but let's + unblock CI + for now + + .gitlab-ci.yml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit d608992bd824bab766af038107e733ff47b0a8a0 +Author: Philipp Knechtges <philipp-...@knechtges.com> +Date: Wed Dec 2 01:04:25 2020 +0100 + + fix comment in parseargs.cc + + utils/parseargs.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 113a1f4cd1cdad64901bcd48485a459cd0ded3c6 +Author: Philipp Knechtges <philipp-...@knechtges.com> +Date: Wed Sep 30 18:05:56 2020 +0200 + + bugfix: add missing profile copy operation in + GfxICCBasedColorSpace::copy() + + poppler/GfxState.cc | 1 + + 1 file changed, 1 insertion(+) + +commit 66a65f996f1f407e95643cf5ddc8818b8ea93c40 +Author: Albert Astals Cid <aa...@kde.org> +Date: Wed Dec 2 18:51:02 2020 +0100 + + cmake: Use the imported target for boost includes + + CMakeLists.txt | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 0f72f73357414ea79af774d4ce8f4fed80db3d98 +Author: Albert Astals Cid <aa...@kde.org> +Date: Wed Dec 2 18:29:45 2020 +0100 + + cmake: Use the new syntax to link in the Qt5 libs + + qt5/demos/CMakeLists.txt | 13 +------------ + qt5/src/CMakeLists.txt | 5 +---- + qt5/tests/CMakeLists.txt | 16 +++------------- + 3 files changed, 5 insertions(+), 29 deletions(-) + +commit 3ea3ad26bca27bd78f753f4296d4a544ed666e60 +Author: Albert Astals Cid <aa...@kde.org> +Date: Wed Dec 2 18:02:19 2020 +0100 + + cmake: We don't support gcc < 5 anymore + + cmake/modules/PopplerMacros.cmake | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit fbdf0cfc26cb686677e865b109a283b20231a2d3 +Author: Albert Astals Cid <aa...@kde.org> +Date: Wed Dec 2 01:05:16 2020 +0100 + + typo + + splash/Splash.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ac5c7c1c7621bd64ebc0b1382d938d9ff727c8e9 +Author: Albert Astals Cid <aa...@kde.org> +Date: Wed Dec 2 00:56:38 2020 +0100 + + Prevent undefined storing of a too small float in an integer + + oss-fuzz/25488 + + splash/Splash.cc | 8 ++++++++ + 1 file changed, 8 insertions(+) + commit 8766a45a1e101538724d2b767b3efd0ec210357c Author: Albert Astals Cid <aa...@kde.org> Date: Tue Dec 1 23:29:29 2020 +0100 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/NEWS new/poppler-20.12.1/NEWS --- old/poppler-20.12.0/NEWS 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/NEWS 2020-12-05 23:14:09.000000000 +0100 @@ -1,3 +1,12 @@ +Release 20.12.1: + core: + * PSOutputDev: fixing regression in the rasterization code. Issue #1002 + * Add missing profile copy operation in GfxICCBasedColorSpace::copy() + * Fix issue in broken files + + build system: + * Use modern CMake linking for Qt and boost + Release 20.12.0: core: * Draw better circles for circle annotations diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/cmake/modules/PopplerMacros.cmake new/poppler-20.12.1/cmake/modules/PopplerMacros.cmake --- old/poppler-20.12.0/cmake/modules/PopplerMacros.cmake 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/cmake/modules/PopplerMacros.cmake 2020-12-05 23:14:09.000000000 +0100 @@ -94,9 +94,7 @@ set(_warn "${_warn} -Wundef") set(_warn "${_warn} -Wzero-as-null-pointer-constant") set(_warn "${_warn} -Wshadow") - if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "5.0.0") - set(_warn "${_warn} -Wsuggest-override") - endif() + set(_warn "${_warn} -Wsuggest-override") # set extra warnings set(_warnx "${_warnx} -Wconversion") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/cpp/Doxyfile new/poppler-20.12.1/cpp/Doxyfile --- old/poppler-20.12.0/cpp/Doxyfile 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/cpp/Doxyfile 2020-12-05 23:14:09.000000000 +0100 @@ -31,7 +31,7 @@ # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 20.12.0 +PROJECT_NUMBER = 20.12.1 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/glib/reference/html/index.html new/poppler-20.12.1/glib/reference/html/index.html --- old/poppler-20.12.0/glib/reference/html/index.html 2020-12-01 23:48:59.000000000 +0100 +++ new/poppler-20.12.1/glib/reference/html/index.html 2020-12-06 18:22:12.000000000 +0100 @@ -15,7 +15,7 @@ <div> <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Poppler Reference Manual</p></th></tr></table></div> <div><p class="releaseinfo"> - for Poppler 20.12.0 + for Poppler 20.12.1 </p></div> </div> <hr> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/glib/reference/html/poppler-Poppler-Features.html new/poppler-20.12.1/glib/reference/html/poppler-Poppler-Features.html --- old/poppler-20.12.0/glib/reference/html/poppler-Poppler-Features.html 2020-12-01 23:48:59.000000000 +0100 +++ new/poppler-20.12.1/glib/reference/html/poppler-Poppler-Features.html 2020-12-06 18:22:12.000000000 +0100 @@ -196,7 +196,7 @@ <hr> <div class="refsect2"> <a name="POPPLER-MICRO-VERSION:CAPS"></a><h3>POPPLER_MICRO_VERSION</h3> -<pre class="programlisting">#define POPPLER_MICRO_VERSION (0) +<pre class="programlisting">#define POPPLER_MICRO_VERSION (1) </pre> <p>The micro version number of the poppler header files (e.g. in poppler version 0.1.2 this is 2.)</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/glib/reference/html/poppler-Poppler-Page.html new/poppler-20.12.1/glib/reference/html/poppler-Poppler-Page.html --- old/poppler-20.12.0/glib/reference/html/poppler-Poppler-Page.html 2020-12-01 23:48:59.000000000 +0100 +++ new/poppler-20.12.1/glib/reference/html/poppler-Poppler-Page.html 2020-12-06 18:22:12.000000000 +0100 @@ -243,7 +243,7 @@ </tr> <tr> <td class="function_type"> -<a href="../cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> * +<span class="returnvalue">cairo_surface_t</span> * </td> <td class="function_name"> <a class="link" href="poppler-Poppler-Page.html#poppler-page-get-image" title="poppler_page_get_image ()">poppler_page_get_image</a> <span class="c_punctuation">()</span> @@ -283,7 +283,7 @@ </tr> <tr> <td class="function_type"> -<a href="../cairo/cairo-Regions.html#cairo-region-t"><span class="returnvalue">cairo_region_t</span></a> * +<span class="returnvalue">cairo_region_t</span> * </td> <td class="function_name"> <a class="link" href="poppler-Poppler-Page.html#poppler-page-get-selected-region" title="poppler_page_get_selected_region ()">poppler_page_get_selected_region</a> <span class="c_punctuation">()</span> @@ -363,7 +363,7 @@ </tr> <tr> <td class="function_type"> -<a href="../cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> * +<span class="returnvalue">cairo_surface_t</span> * </td> <td class="function_name"> <a class="link" href="poppler-Poppler-Page.html#poppler-page-get-thumbnail" title="poppler_page_get_thumbnail ()">poppler_page_get_thumbnail</a> <span class="c_punctuation">()</span> @@ -1304,7 +1304,7 @@ <hr> <div class="refsect2"> <a name="poppler-page-get-image"></a><h3>poppler_page_get_image ()</h3> -<pre class="programlisting"><a href="../cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> * +<pre class="programlisting"><span class="returnvalue">cairo_surface_t</span> * poppler_page_get_image (<em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="type">PopplerPage</span></a> *page</code></em>, <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> image_id</code></em>);</pre> <p>Returns a cairo surface for the image of the <em class="parameter"><code>page</code></em> @@ -1459,14 +1459,14 @@ <hr> <div class="refsect2"> <a name="poppler-page-get-selected-region"></a><h3>poppler_page_get_selected_region ()</h3> -<pre class="programlisting"><a href="../cairo/cairo-Regions.html#cairo-region-t"><span class="returnvalue">cairo_region_t</span></a> * +<pre class="programlisting"><span class="returnvalue">cairo_region_t</span> * poppler_page_get_selected_region (<em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="type">PopplerPage</span></a> *page</code></em>, <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> scale</code></em>, <em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerSelectionStyle" title="enum PopplerSelectionStyle"><span class="type">PopplerSelectionStyle</span></a> style</code></em>, <em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerRectangle"><span class="type">PopplerRectangle</span></a> *selection</code></em>);</pre> <p>Returns a region containing the area that would be rendered by <a class="link" href="poppler-Poppler-Page.html#poppler-page-render-selection" title="poppler_page_render_selection ()"><code class="function">poppler_page_render_selection()</code></a>. -The returned region must be freed with <a href="../cairo/cairo-Regions.html#cairo-region-destroy"><code class="function">cairo_region_destroy()</code></a></p> +The returned region must be freed with <code class="function">cairo_region_destroy()</code></p> <div class="refsect3"> <a name="poppler-page-get-selected-region.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> @@ -1882,7 +1882,7 @@ <hr> <div class="refsect2"> <a name="poppler-page-get-thumbnail"></a><h3>poppler_page_get_thumbnail ()</h3> -<pre class="programlisting"><a href="../cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> * +<pre class="programlisting"><span class="returnvalue">cairo_surface_t</span> * poppler_page_get_thumbnail (<em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="type">PopplerPage</span></a> *page</code></em>);</pre> <p>Get the embedded thumbnail for the specified page. If the document doesn't have an embedded thumbnail for the page, this function @@ -2020,7 +2020,7 @@ <a name="poppler-page-render"></a><h3>poppler_page_render ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> poppler_page_render (<em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="type">PopplerPage</span></a> *page</code></em>, - <em class="parameter"><code><a href="../cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cairo</code></em>);</pre> + <em class="parameter"><code><span class="type">cairo_t</span> *cairo</code></em>);</pre> <p>Render the page to the given cairo context. This function is for rendering a page that will be displayed. If you want to render a page that will be printed use @@ -2055,7 +2055,7 @@ <a name="poppler-page-render-for-printing"></a><h3>poppler_page_render_for_printing ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> poppler_page_render_for_printing (<em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="type">PopplerPage</span></a> *page</code></em>, - <em class="parameter"><code><a href="../cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cairo</code></em>);</pre> + <em class="parameter"><code><span class="type">cairo_t</span> *cairo</code></em>);</pre> <p>Render the page to the given cairo context for printing with <a class="link" href="poppler-Poppler-Page.html#POPPLER-PRINT-ALL:CAPS"><span class="type">POPPLER_PRINT_ALL</span></a> flags selected. If you want a different set of flags, use <a class="link" href="poppler-Poppler-Page.html#poppler-page-render-for-printing-with-options" title="poppler_page_render_for_printing_with_options ()"><code class="function">poppler_page_render_for_printing_with_options()</code></a>.</p> @@ -2112,7 +2112,7 @@ <pre class="programlisting"><span class="returnvalue">void</span> poppler_page_render_for_printing_with_options (<em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="type">PopplerPage</span></a> *page</code></em>, - <em class="parameter"><code><a href="../cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cairo</code></em>, + <em class="parameter"><code><span class="type">cairo_t</span> *cairo</code></em>, <em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerPrintFlags" title="enum PopplerPrintFlags"><span class="type">PopplerPrintFlags</span></a> options</code></em>);</pre> <p>Render the page to the given cairo context for printing with the specified options</p> @@ -2152,7 +2152,7 @@ <a name="poppler-page-render-selection"></a><h3>poppler_page_render_selection ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> poppler_page_render_selection (<em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="type">PopplerPage</span></a> *page</code></em>, - <em class="parameter"><code><a href="../cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cairo</code></em>, + <em class="parameter"><code><span class="type">cairo_t</span> *cairo</code></em>, <em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerRectangle"><span class="type">PopplerRectangle</span></a> *selection</code></em>, <em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerRectangle"><span class="type">PopplerRectangle</span></a> *old_selection</code></em>, <em class="parameter"><code><a class="link" href="poppler-Poppler-Page.html#PopplerSelectionStyle" title="enum PopplerSelectionStyle"><span class="type">PopplerSelectionStyle</span></a> style</code></em>, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/poppler/GfxState.cc new/poppler-20.12.1/poppler/GfxState.cc --- old/poppler-20.12.0/poppler/GfxState.cc 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/poppler/GfxState.cc 2020-12-05 23:14:09.000000000 +0100 @@ -1621,6 +1621,7 @@ cs->rangeMax[i] = rangeMax[i]; } #ifdef USE_CMS + cs->profile = profile; cs->transform = transform; cs->lineTransform = lineTransform; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/poppler/PSOutputDev.cc new/poppler-20.12.1/poppler/PSOutputDev.cc --- old/poppler-20.12.0/poppler/PSOutputDev.cc 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/poppler/PSOutputDev.cc 2020-12-05 23:14:09.000000000 +0100 @@ -3188,7 +3188,7 @@ paperColor[0] = 0xff; } else if (processColorFormat == splashModeCMYK8) { numComps = 4; - paperColor[0] = paperColor[1] = paperColor[2] = paperColor[3] = 0; + splashClearColor(paperColor); // If overprinting is emulated, it is not sufficient to just store the CMYK values in a bitmap. // All separation channels need to be stored and collapsed at the end. @@ -3202,6 +3202,7 @@ } else { error(errUnimplemented, -1, "Unsupported processColorMode. Falling back to RGB8."); processColorFormat = splashModeRGB8; + internalColorFormat = processColorFormat; numComps = 3; paperColor[0] = paperColor[1] = paperColor[2] = 0xff; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/qt5/demos/CMakeLists.txt new/poppler-20.12.1/qt5/demos/CMakeLists.txt --- old/poppler-20.12.0/qt5/demos/CMakeLists.txt 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/qt5/demos/CMakeLists.txt 2020-12-05 23:14:09.000000000 +0100 @@ -1,17 +1,7 @@ -add_definitions(${QT5_DEFINITIONS}) -add_definitions(${Qt5Core_DEFINITIONS}) -add_definitions(${Qt5Gui_DEFINITIONS}) -add_definitions(${Qt5Widgets_DEFINITIONS}) -add_definitions(${Qt5Xml_DEFINITIONS}) - include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../src ${CMAKE_CURRENT_BINARY_DIR} - ${Qt5Core_INCLUDE_DIRS} - ${Qt5Widgets_INCLUDE_DIRS} - ${Qt5Gui_INCLUDE_DIRS} - ${Qt5Xml_INCLUDE_DIRS} ) set(poppler_qt5viewer_SRCS @@ -31,6 +21,5 @@ viewer.cpp ) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") poppler_add_test(poppler_qt5viewer BUILD_QT5_TESTS ${poppler_qt5viewer_SRCS}) -target_link_libraries(poppler_qt5viewer poppler-qt5 ${Qt5Core_LIBRARIES} ${Qt5Gui_LIBRARIES} ${Qt5Widgets_LIBRARIES} ${Qt5Xml_LIBRARIES}) +target_link_libraries(poppler_qt5viewer poppler-qt5 Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Xml) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/qt5/src/CMakeLists.txt new/poppler-20.12.1/qt5/src/CMakeLists.txt --- old/poppler-20.12.0/qt5/src/CMakeLists.txt 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/qt5/src/CMakeLists.txt 2020-12-05 23:14:09.000000000 +0100 @@ -1,10 +1,7 @@ -add_definitions(${QT5_DEFINITIONS}) -add_definitions(${Qt5Core_DEFINITIONS}) add_definitions(-DQT_NO_SIGNALS_SLOTS_KEYWORDS) include_directories( ${CMAKE_CURRENT_SOURCE_DIR} - ${Qt5Core_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR} ) @@ -45,7 +42,7 @@ get_target_property(POPPLER_QT5_SOVERSION poppler-qt5 SOVERSION) set_target_properties(poppler-qt5 PROPERTIES SUFFIX "-${POPPLER_QT5_SOVERSION}${CMAKE_SHARED_LIBRARY_SUFFIX}") endif() -target_link_libraries(poppler-qt5 poppler ${Qt5Core_LIBRARIES} ${Qt5Gui_LIBRARIES} ${Qt5Xml_LIBRARIES} ${FREETYPE_LIBRARIES}) +target_link_libraries(poppler-qt5 poppler Qt5::Core Qt5::Gui Qt5::Xml ${FREETYPE_LIBRARIES}) if(MSVC) target_link_libraries(poppler-qt5 poppler ${poppler_LIBS}) endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/qt5/src/Doxyfile new/poppler-20.12.1/qt5/src/Doxyfile --- old/poppler-20.12.0/qt5/src/Doxyfile 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/qt5/src/Doxyfile 2020-12-05 23:14:09.000000000 +0100 @@ -31,7 +31,7 @@ # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 20.12.0 +PROJECT_NUMBER = 20.12.1 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/qt5/tests/CMakeLists.txt new/poppler-20.12.1/qt5/tests/CMakeLists.txt --- old/poppler-20.12.0/qt5/tests/CMakeLists.txt 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/qt5/tests/CMakeLists.txt 2020-12-05 23:14:09.000000000 +0100 @@ -1,28 +1,18 @@ -add_definitions(${Qt5Core_DEFINITIONS}) add_definitions(-DTESTDATADIR=\"${TESTDATADIR}\") include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../src ${CMAKE_CURRENT_BINARY_DIR} - ${Qt5Core_INCLUDE_DIRS} - ${Qt5Gui_INCLUDE_DIRS} - ${Qt5Xml_INCLUDE_DIRS} - ${Qt5Widgets_INCLUDE_DIRS} ) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Gui_EXECUTABLE_COMPILE_FLAGS}") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Xml_EXECUTABLE_COMPILE_FLAGS}") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") - macro(QT5_ADD_SIMPLETEST exe source) string(REPLACE "-" "" test_name ${exe}) set(${test_name}_SOURCES ${source} ) poppler_add_test(${exe} BUILD_QT5_TESTS ${${test_name}_SOURCES}) - target_link_libraries(${exe} poppler-qt5 ${Qt5Widgets_LIBRARIES}) + target_link_libraries(${exe} poppler-qt5 Qt5::Widgets) if(MSVC) target_link_libraries(${exe} poppler ${poppler_LIBS}) endif() @@ -36,7 +26,7 @@ ) poppler_add_test(${exe} BUILD_QT5_TESTS ${${test_name}_SOURCES}) add_test(${exe} ${EXECUTABLE_OUTPUT_PATH}/${exe}) - target_link_libraries(${exe} poppler-qt5 ${Qt5Widgets_LIBRARIES} ${Qt5Test_LIBRARIES} ${Qt5Core_LIBRARIES} ${Qt5Gui_LIBRARIES}) + target_link_libraries(${exe} poppler-qt5 Qt5::Widgets Qt5::Test Qt5::Core Qt5::Gui) if(MSVC) target_link_libraries(${exe} poppler ${poppler_LIBS}) endif() @@ -49,7 +39,7 @@ ${ARGN} ) poppler_add_test(${exe} BUILD_QT5_TESTS ${${test_name}_SOURCES}) - target_link_libraries(${exe} poppler-qt5 ${Qt5Widgets_LIBRARIES} ${Qt5Test_LIBRARIES} ${Qt5Core_LIBRARIES} ${Qt5Gui_LIBRARIES}) + target_link_libraries(${exe} poppler-qt5 Qt5::Widgets Qt5::Test Qt5::Core Qt5::Gui) endmacro(QT_ADD_FUZZER) qt5_add_simpletest(test-poppler-qt5 test-poppler-qt5.cpp) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/splash/Splash.cc new/poppler-20.12.1/splash/Splash.cc --- old/poppler-20.12.0/splash/Splash.cc 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/splash/Splash.cc 2020-12-05 23:14:09.000000000 +0100 @@ -2829,6 +2829,14 @@ vx[3] = mat[0] + mat[4]; vy[3] = mat[1] + mat[5]; + // make sure vx/vy fit in integers since we're transforming them to in the next lines + for (i = 0; i < 4; ++i) { + if (unlikely(vx[i] < INT_MIN || vx[i] > INT_MAX || vy[i] < INT_MIN || vy[i] > INT_MAX)) { + error(errInternal, -1, "arbitraryTransformMask vertices values don't fit in an integer"); + return; + } + } + // clipping xMin = imgCoordMungeLowerC(vx[0], glyphMode); xMax = imgCoordMungeUpperC(vx[0], glyphMode); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-20.12.0/utils/parseargs.cc new/poppler-20.12.1/utils/parseargs.cc --- old/poppler-20.12.0/utils/parseargs.cc 2020-12-01 23:45:55.000000000 +0100 +++ new/poppler-20.12.1/utils/parseargs.cc 2020-12-05 23:14:09.000000000 +0100 @@ -1,5 +1,5 @@ /* - * parseargs.h + * parseargs.cc * * Command line argument parser. * _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org