Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package inkscape for openSUSE:Factory 
checked in at 2022-03-07 17:45:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/inkscape (Old)
 and      /work/SRC/openSUSE:Factory/.inkscape.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "inkscape"

Mon Mar  7 17:45:38 2022 rev:119 rq:959398 version:1.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/inkscape/inkscape.changes        2022-01-21 
01:25:01.746748044 +0100
+++ /work/SRC/openSUSE:Factory/.inkscape.new.1958/inkscape.changes      
2022-03-07 17:45:46.483140053 +0100
@@ -1,0 +2,13 @@
+Thu Mar  3 19:02:54 UTC 2022 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Update to version 1.1.2:
+  + Dependencies updated, fixing bitmap exports
+  + Graphic tablet pens erasors switch to the correct tool
+  + Fix lost styling of text converted to path
+  + Fix relative position of clones pasted to a new document
+  + Fix various crashes
+- Drop ebc4de4bfe34d6c5f2e27da47f5d62e4de0394fd.patch: Fixed
+  upstream.
+- Add Fix_build_poppler_22030.patch: Fix build with poppler 22.03.0
+
+-------------------------------------------------------------------

Old:
----
  ebc4de4bfe34d6c5f2e27da47f5d62e4de0394fd.patch
  inkscape-1.1.1_2021-09-20_3bf5ae0d25.tar.xz
  inkscape-1.1.1_2021-09-20_3bf5ae0d25.tar.xz.sig

New:
----
  Fix_build_poppler_22030.patch
  inkscape-1.1.2_2022-02-04_0a00cf5339.tar.xz
  inkscape-1.1.2_2022-02-04_0a00cf5339.tar.xz.sig

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

Other differences:
------------------
++++++ inkscape.spec ++++++
--- /var/tmp/diff_new_pack.3WXCBT/_old  2022-03-07 17:45:48.471139479 +0100
+++ /var/tmp/diff_new_pack.3WXCBT/_new  2022-03-07 17:45:48.475139478 +0100
@@ -16,24 +16,23 @@
 #
 
 
-%define _version 1.1.1_2021-09-20_3bf5ae0d25
+%define _version 1.1.2_2022-02-04_0a00cf5339
 
 Name:           inkscape
-Version:        1.1.1
+Version:        1.1.2
 Release:        0
 Summary:        Vector Illustration Program
 License:        GPL-3.0-only
 URL:            https://inkscape.org/
 
-Source:         
https://inkscape.org/gallery/item/29255/inkscape-%{version}.tar.xz#/inkscape-%{_version}.tar.xz
+Source:         
https://inkscape.org/gallery/item/31668/inkscape-%{version}.tar.xz#/inkscape-%{_version}.tar.xz
 # openSUSE palette file
 Source1:        openSUSE.gpl
 Source2:        inkscape-split-extensions-extra.py
 Source98:       
https://media.inkscape.org/media/resources/sigs/inkscape-%{_version}.tar.xz.sig
 Source99:       https://inkscape.org/~MarcJeanmougin/gpg#/%name.keyring
-
-# PATCH-FIX-UPSTREAM ebc4de4bfe34d6c5f2e27da47f5d62e4de0394fd.patch -- Fix 
build with poppler 21.11.0
-Patch0:         
https://gitlab.com/inkscape/inkscape/-/commit/ebc4de4bfe34d6c5f2e27da47f5d62e4de0394fd.patch
+# PATCH-FIX-UPSTREAM Fix_build_poppler_22030.patch -- Fix build with poppler 
22.03.0
+Patch0:         Fix_build_poppler_22030.patch
 
 BuildRequires:  cmake
 BuildRequires:  double-conversion-devel
@@ -172,7 +171,7 @@
 # Only useful for translators.
 rm %{buildroot}%{_datadir}/inkscape/extensions/genpofiles.sh
 # Packaging/distribution info.
-rm 
%{buildroot}%{_datadir}/inkscape/extensions/{LICENSE.txt,MANIFEST.in,README.md,STYLEGUIDE.md,TESTING.md}
+rm 
%{buildroot}%{_datadir}/inkscape/extensions/{LICENSE.txt,MANIFEST.in,README.md,TESTING.md}
 # Test framework.
 rm %{buildroot}%{_datadir}/inkscape/extensions/setup.{cfg,py} \
    %{buildroot}%{_datadir}/inkscape/extensions/tox.ini        \

++++++ Fix_build_poppler_22030.patch ++++++
>From 15ab83e02b07018c3ffd4952a2623393187659e0 Mon Sep 17 00:00:00 2001
From: Evangelos Foutras <evange...@foutrelis.com>
Date: Wed, 2 Mar 2022 19:50:02 +0200
Subject: [PATCH] Fix build with poppler 22.03.0

PDFDoc's constructor now takes an std::unique_ptr as the filename and
the rest of the parameters are std::optional and can be left out.

Also, remove an obsolete comment regarding special handling on win32;
the "ifndef _WIN32" it was referring to has been removed by commit
ad8effaa6ec3 ("Fix PDF import with non-ASCII filename on Windows").
---
 src/extension/internal/pdfinput/pdf-input.cpp | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Index: 
inkscape-1.1.2_2022-02-04_0a00cf5339/src/extension/internal/pdfinput/pdf-input.cpp
===================================================================
--- 
inkscape-1.1.2_2022-02-04_0a00cf5339.orig/src/extension/internal/pdfinput/pdf-input.cpp
+++ 
inkscape-1.1.2_2022-02-04_0a00cf5339/src/extension/internal/pdfinput/pdf-input.cpp
@@ -666,10 +666,12 @@ PdfInput::open(::Inkscape::Extension::In
     // PDFDoc is from poppler. PDFDoc is used for preview and for native 
import.
     std::shared_ptr<PDFDoc> pdf_doc;
 
-    // poppler does not use glib g_open. So on win32 we must use unicode call. 
code was copied from
-    // glib gstdio.c
+#if POPPLER_CHECK_VERSION(22, 3, 0)
+    pdf_doc = std::make_shared<PDFDoc>(std::make_unique<GooString>(uri)); // 
TODO: Could ask for password
+#else
     GooString *filename_goo = new GooString(uri);
-    pdf_doc = std::make_shared<PDFDoc>(filename_goo, nullptr, nullptr, 
nullptr);   // TODO: Could ask for password
+    pdf_doc = std::make_shared<PDFDoc>(filename_goo, nullptr, nullptr, 
nullptr); // TODO: Could ask for password
+#endif
 
     if (!pdf_doc->isOk()) {
         int error = pdf_doc->getErrorCode();

++++++ inkscape-1.1.1_2021-09-20_3bf5ae0d25.tar.xz -> 
inkscape-1.1.2_2022-02-04_0a00cf5339.tar.xz ++++++
/work/SRC/openSUSE:Factory/inkscape/inkscape-1.1.1_2021-09-20_3bf5ae0d25.tar.xz 
/work/SRC/openSUSE:Factory/.inkscape.new.1958/inkscape-1.1.2_2022-02-04_0a00cf5339.tar.xz
 differ: char 26, line 1

Reply via email to