Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libspectre for openSUSE:Factory 
checked in at 2023-01-20 17:37:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libspectre (Old)
 and      /work/SRC/openSUSE:Factory/.libspectre.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libspectre"

Fri Jan 20 17:37:16 2023 rev:29 rq:1059345 version:0.2.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/libspectre/libspectre.changes    2022-11-10 
14:19:12.889315389 +0100
+++ /work/SRC/openSUSE:Factory/.libspectre.new.32243/libspectre.changes 
2023-01-20 17:37:16.592055398 +0100
@@ -1,0 +2,7 @@
+Wed Jan 18 08:54:50 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 0.2.12:
+  * This is another bugfix only release in the libspectre's 0.2 series.
+  * Fix exporting to PDF with newer ghostscript (Albert Astals Cid)
+
+-------------------------------------------------------------------

Old:
----
  libspectre-0.2.11.tar.gz

New:
----
  libspectre-0.2.12.tar.gz

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

Other differences:
------------------
++++++ libspectre.spec ++++++
--- /var/tmp/diff_new_pack.i7w3Ng/_old  2023-01-20 17:37:17.424060000 +0100
+++ /var/tmp/diff_new_pack.i7w3Ng/_new  2023-01-20 17:37:17.432060044 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libspectre
 #
-# 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
@@ -18,7 +18,7 @@
 
 %define debug_package_requires libspectre1 = %{version}-%{release}
 Name:           libspectre
-Version:        0.2.11
+Version:        0.2.12
 Release:        0
 Summary:        Library for Rendering PostScript Documents
 License:        GPL-2.0-or-later

++++++ libspectre-0.2.11.tar.gz -> libspectre-0.2.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libspectre-0.2.11/ChangeLog 
new/libspectre-0.2.12/ChangeLog
--- old/libspectre-0.2.11/ChangeLog     2022-11-04 00:09:59.000000000 +0100
+++ new/libspectre-0.2.12/ChangeLog     2023-01-08 22:59:57.000000000 +0100
@@ -1,3 +1,25 @@
+commit 44ba3f8291e5640045d501f130f8a4521fc407b3
+Author: Albert Astals Cid <aa...@kde.org>
+Date:   Sun Jan 8 22:53:43 2023 +0100
+
+    libspectre 0.2.12
+
+ NEWS         | 7 +++++++
+ configure.ac | 4 ++--
+ 2 files changed, 9 insertions(+), 2 deletions(-)
+
+commit cc3f0f9260912b7bd238838830d0f7ddd30a8881
+Author: Albert Astals Cid <aa...@kde.org>
+Date:   Sun Jan 8 12:34:50 2023 +0100
+
+    Fix exporting to pdf
+    
+    setpdfwrite has not done anything for a while according to
+    
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=9699aea5cf6491106a2ad1be260d9eb2e85903c3
+
+ libspectre/spectre-exporter-pdf.c | 10 ++++++----
+ 1 file changed, 6 insertions(+), 4 deletions(-)
+
 commit 7ec4f0110698d7e43309e4c7aa821303f3698b9b
 Author: Albert Astals Cid <aa...@kde.org>
 Date:   Fri Nov 4 00:09:15 2022 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libspectre-0.2.11/NEWS new/libspectre-0.2.12/NEWS
--- old/libspectre-0.2.11/NEWS  2022-11-04 00:02:15.000000000 +0100
+++ new/libspectre-0.2.12/NEWS  2023-01-08 22:58:40.000000000 +0100
@@ -1,3 +1,10 @@
+libspectre 0.2.12 (8 January 2023)
+===============================
+
+This is another bugfix only release in the libspectre's 0.2 series.
+
+Fix exporting to PDF with newer ghostscript (Albert Astals Cid)
+
 libspectre 0.2.11 (4 November 2022)
 ===============================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libspectre-0.2.11/configure 
new/libspectre-0.2.12/configure
--- old/libspectre-0.2.11/configure     2022-11-04 00:09:54.000000000 +0100
+++ new/libspectre-0.2.12/configure     2023-01-08 12:44:06.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for libspectre 0.2.11.
+# Generated by GNU Autoconf 2.71 for libspectre 0.2.12.
 #
 #
 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -618,8 +618,8 @@
 # Identity of this package.
 PACKAGE_NAME='libspectre'
 PACKAGE_TARNAME='libspectre'
-PACKAGE_VERSION='0.2.11'
-PACKAGE_STRING='libspectre 0.2.11'
+PACKAGE_VERSION='0.2.12'
+PACKAGE_STRING='libspectre 0.2.12'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1379,7 +1379,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libspectre 0.2.11 to adapt to many kinds of systems.
+\`configure' configures libspectre 0.2.12 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1450,7 +1450,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libspectre 0.2.11:";;
+     short | recursive ) echo "Configuration of libspectre 0.2.12:";;
    esac
   cat <<\_ACEOF
 
@@ -1575,7 +1575,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libspectre configure 0.2.11
+libspectre configure 0.2.12
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1836,7 +1836,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libspectre $as_me 0.2.11, which was
+It was created by libspectre $as_me 0.2.12, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3108,7 +3108,7 @@
 
 # Define the identity of the package.
  PACKAGE='libspectre'
- VERSION='0.2.11'
+ VERSION='0.2.12'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -3289,7 +3289,7 @@
 
 ## increment any time the source changes; set to
 ##  0 if you increment CURRENT
-LT_REVISION=11
+LT_REVISION=12
 
 ## increment if any interfaces have been added; set to 0
 ## if any interfaces have been changed or removed. removal has
@@ -3308,8 +3308,8 @@
 
 SPECTRE_MAJOR_VERSION=0
 SPECTRE_MINOR_VERSION=2
-SPECTRE_MICRO_VERSION=11
-SPECTRE_VERSION=0.2.11
+SPECTRE_MICRO_VERSION=12
+SPECTRE_VERSION=0.2.12
 
 
 
@@ -15245,7 +15245,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libspectre $as_me 0.2.11, which was
+This file was extended by libspectre $as_me 0.2.12, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -15313,7 +15313,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-libspectre config.status 0.2.11
+libspectre config.status 0.2.12
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libspectre-0.2.11/configure.ac 
new/libspectre-0.2.12/configure.ac
--- old/libspectre-0.2.11/configure.ac  2022-11-04 00:00:57.000000000 +0100
+++ new/libspectre-0.2.12/configure.ac  2023-01-08 12:43:34.000000000 +0100
@@ -2,7 +2,7 @@
 
 m4_define([spectre_major_version], [0])
 m4_define([spectre_minor_version], [2])
-m4_define([spectre_micro_version], [11])
+m4_define([spectre_micro_version], [12])
 m4_define([spectre_version],
           [spectre_major_version.spectre_minor_version.spectre_micro_version])
 
@@ -25,7 +25,7 @@
 
 ## increment any time the source changes; set to
 ##  0 if you increment CURRENT
-LT_REVISION=11
+LT_REVISION=12
 
 ## increment if any interfaces have been added; set to 0
 ## if any interfaces have been changed or removed. removal has
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libspectre-0.2.11/libspectre/spectre-exporter-pdf.c 
new/libspectre-0.2.12/libspectre/spectre-exporter-pdf.c
--- old/libspectre-0.2.11/libspectre/spectre-exporter-pdf.c     2021-12-14 
01:12:48.000000000 +0100
+++ new/libspectre-0.2.12/libspectre/spectre-exporter-pdf.c     2023-01-08 
12:37:43.000000000 +0100
@@ -1,6 +1,6 @@
 /* This file is part of Libspectre.
  *
- * Copyright (C) 2007 Albert Astals Cid <aa...@kde.org>
+ * Copyright (C) 2007, 2023 Albert Astals Cid <aa...@kde.org>
  * Copyright (C) 2007 Carlos Garcia Campos <carlo...@gnome.org>
  *
  * Libspectre is free software; you can redistribute it and/or modify
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 
USA.
  */
 
+#include <assert.h>
 #include <stdlib.h>
 
 #include "spectre-private.h"
@@ -27,7 +28,8 @@
 spectre_exporter_pdf_begin (SpectreExporter *exporter,
                            const char      *filename)
 {
-       char *args[10];
+       static const int kArgs = 9;
+       char *args[kArgs];
        int arg = 0;
        char *output_file;
        struct document *doc = exporter->doc;
@@ -51,9 +53,9 @@
        args[arg++] = output_file = _spectre_strdup_printf ("-sOutputFile=%s",
                                                            filename);
        args[arg++] = "-c";
-       args[arg++] = ".setpdfwrite";
+       assert(kArgs == arg);
 
-       if (!spectre_gs_run (exporter->gs, 10, args)) {
+       if (!spectre_gs_run (exporter->gs, kArgs, args)) {
                free (output_file);
                spectre_gs_free (exporter->gs);
                exporter->gs = NULL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libspectre-0.2.11/libspectre/spectre-version.h 
new/libspectre-0.2.12/libspectre/spectre-version.h
--- old/libspectre-0.2.11/libspectre/spectre-version.h  2022-11-04 
00:09:56.000000000 +0100
+++ new/libspectre-0.2.12/libspectre/spectre-version.h  2023-01-08 
12:44:08.000000000 +0100
@@ -27,11 +27,11 @@
 
 #define SPECTRE_MAJOR_VERSION 0
 #define SPECTRE_MINOR_VERSION 2
-#define SPECTRE_MICRO_VERSION 11
+#define SPECTRE_MICRO_VERSION 12
 
-#define SPECTRE_VERSION_STRING "0.2.11"
+#define SPECTRE_VERSION_STRING "0.2.12"
 
-#define SPECTRE_VERSION ((0 << 16) | (2 << 8) | (11))
+#define SPECTRE_VERSION ((0 << 16) | (2 << 8) | (12))
 
 SPECTRE_END_DECLS
 

Reply via email to