Hello community,
here is the log from the commit of package pstoedit for openSUSE:Factory checked in at 2015-03-16 06:55:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pstoedit (Old)
and /work/SRC/openSUSE:Factory/.pstoedit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pstoedit"
Changes:
--------
--- /work/SRC/openSUSE:Factory/pstoedit/pstoedit.changes 2014-06-25 06:57:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pstoedit.new/pstoedit.changes 2015-03-16 06:55:10.000000000 +0100
@@ -1,0 +2,35 @@
+Fri Mar 13 20:24:50 CET 2015 - sbrabec@suse.cz
+
+- Fix plugin search algorithm (pstoedit-pkglibdir.patch).
+- Drop patches:
+ * pstoedit-parallel.patch: It was apparently autotools fault.
+ * pstoedit-3.50-plugin-close.patch: Triggering bnc#680125 is
+ fixed since 12.2.
+ * pstoedit-3.60-libdl.patch: Patch is correct, but not needed.
+
+-------------------------------------------------------------------
+Thu Mar 12 16:24:18 UTC 2015 - p.drouand@gmail.com
+
+- Update to version 3.70
+ * some code improvement
+ * removed the -DBUGGYGPP compile flag since now g++ can compile the
+ code without it. The former work-arounds are still there but will
+ be removed later.
+ * enabled more warnings when compiling with g++ and fixed some
+ resulting warnings.
+ * changed the autoconf part to better support the inclusion of
+ libzip for the pptx driver.
+ * included a lot of documentation corrections
+ * using non case sensitive comparison when determining the target
+ format from the file suffix.
+ * using more STL classes instead of older private replacements
+ (string and vector). In this context also some hard coded limits
+ were removed.
+ * fixed an assertion violation when using -ssp and a closepath occurred.
+ * added the dump of the font name for the DXF format.
+ prototype of a "simulate fill" option for emulating filling by stroking.
+ This is based on fillpoly.c from the hp2xx project. This is still kind
+ of experimental.
+- Update pstoedit-3.62-parallel.patch > pstoedit-parallel.patch
+
+-------------------------------------------------------------------
Old:
----
pstoedit-3.50-plugin-close.patch
pstoedit-3.60-libdl.patch
pstoedit-3.62-parallel.patch
pstoedit-3.62.tar.gz
New:
----
pstoedit-3.70.tar.gz
pstoedit-pkglibdir.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pstoedit.spec ++++++
--- /var/tmp/diff_new_pack.6yhCgS/_old 2015-03-16 06:55:10.000000000 +0100
+++ /var/tmp/diff_new_pack.6yhCgS/_new 2015-03-16 06:55:10.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package pstoedit
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,15 @@
Name: pstoedit
-Version: 3.62
+Version: 3.70
Release: 0
Summary: PostScript and PDF Converter
License: GPL-2.0+
Group: Productivity/Publishing/PS
Url: http://www.pstoedit.net/
Source: https://sourceforge.net/projects/pstoedit/files/pstoedit/%{version}/%{name}-%{version}.tar.gz
-# PATCH-WORKAROUND-OPENSUSE pstoedit-3.50-plugin-close.patch bnc622977 Redhat507035 sbrabec@suse.cz -- Work-around crash in glibc and don't dlclose() in destructors.
-Patch1: pstoedit-3.50-plugin-close.patch
-# PATCH-FIX-UPSTREAM pstoedit-3.62-parallel.patch fix paralel build
-Patch2: pstoedit-3.62-parallel.patch
-# PATCH-FIX-UPSTREAM pstoedit-3.60-libdl.patch really link to libdl
-Patch3: pstoedit-3.60-libdl.patch
+# PATCH-FIX-UPSTREAM pstoedit-pkglibdir.patch sbrabec@suse.cz -- Fix plugin search path.
+Patch: pstoedit-pkglibdir.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@@ -94,13 +90,10 @@
%prep
%setup -q
-%patch1
-%patch2 -p1
-%patch3 -p1
+%patch -p1
chmod -x examples/*.ps examples/Makefile* doc/*.* copying
%build
-autoreconf -fvi
# --without-swf: lacking libming package
%configure \
--disable-static \
++++++ pstoedit-3.62.tar.gz -> pstoedit-3.70.tar.gz ++++++
++++ 19569 lines of diff (skipped)
++++++ pstoedit-pkglibdir.patch ++++++
Fix for pstoedit search for plugins.
By default, pstoedit "make install" installs to PSTOEDITLIBDIR, so if
nobody moves them to another location, then it is sufficient to search in
PSTOEDITLIBDIR.
But the way how pstoedit searches for plugins is broken:
If pstoedit.reg does not exist or does not contain common/plugindir, then
it tries $exepath/../lib/pstoedit, always sets pluginsloaded, and never
tries PSTOEDITLIBDIR.
If pstoedit.reg contains common/plugindir, then it tries that path,
always sets pluginsloaded, and never tries PSTOEDITLIBDIR.
=> The default installation directory is never tried, if it is not equal
to one of above.
The implementation has just another problem:
If pstoedit.reg contains common/plugindir, and the directory defined
there is equal to $pkglibdir, but the string is not literally
"{expansion_of_bindir}/../lib/pstoedit", then plugins are loaded twice.
So the check as it is makes only a little sense, because nobody would
create ~/.pstoedit.reg containing:
common/plugindir=/usr/bin/../lib/pstoedit
The new implementation does things differently:
If common/plugindir is defined, it checks only that directory.
It swaps the check order: First checks whether PSTOEDITLIBDIR exists. If
it exists, it skips blind attempts to find plugins.
As PSTOEDITLIBDIR is always defined by makefile, the blind fallback will
be attempted only in obscure environments.
Index: pstoedit-3.70/src/pstoedit.cpp
===================================================================
--- pstoedit-3.70.orig/src/pstoedit.cpp
+++ pstoedit-3.70/src/pstoedit.cpp
@@ -30,6 +30,7 @@
#include I_string_h
#include