Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pstoedit for openSUSE:Factory checked in at 2026-08-24 13:03:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pstoedit (Old) and /work/SRC/openSUSE:Factory/.pstoedit.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pstoedit" Mon Aug 24 13:03:02 2026 rev:39 rq:1373353 version:4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/pstoedit/pstoedit.changes 2024-12-02 16:59:25.809945852 +0100 +++ /work/SRC/openSUSE:Factory/.pstoedit.new.1258/pstoedit.changes 2026-08-24 13:03:03.090385388 +0200 @@ -1,0 +2,34 @@ +Thu Aug 20 14:31:07 UTC 2026 - [email protected] + +- Update to version 4.3: + * Some fixes in src related to macOS. + * Fixed a bug when converting several files in one batch to DXF + from GUI. + * Added a backend for SVG. + * Some minor fixes in the GUI. + * Dropped the SWF/ming backend since this format is obsolete + meanwhile. + * Transition to github. Thanks a lot to Barak A. Pearlmutter for + his guideance. + * See also https://www.pstoedit.com/changelog.htm for change log + +- Add fix-wrong-pkg-config-file-contents.patch + * Fix issue #8 - wrong pkg-config file contents (gh#woglu/pstoedit#8) +- Add fix-wrong-L-flag-for-linking-the-GUI.patch + * fix a wrong -L flag for linking the GUI part - addresses issue #6 + (gh#woglu/pstoedit#6) +- Add fix-Qt-linker-flags.patch + * Qt linker flags Hardening flags were not being passed to the + linker in building the GUI binary. +- Add fix-pkgconfig-ImageMagick.patch + * fix pkgconfig ImageMagick module name +- Add fix-reproducible-build.patch + * allow for reproducible builds (docs) +- Add pstoedit-gui sub-package (Qt GUI of pstoedit) +- Add locally generated pstoedit.1 as there are currently issues + with reproducible builds (eg. section order) +- Change URL to https://www.pstoedit.com/ +- Change source code to github project woglu/pstoedit +- Clean up spec file + +------------------------------------------------------------------- Old: ---- pstoedit-4.02.tar.gz New: ---- fix-Qt-linker-flags.patch fix-pkgconfig-ImageMagick.patch fix-reproducible-build.patch fix-wrong-L-flag-for-linking-the-GUI.patch fix-wrong-pkg-config-file-contents.patch pstoedit-4.3.tar.gz pstoedit.1 ----------(New B)---------- New: (gh#woglu/pstoedit#6) - Add fix-Qt-linker-flags.patch * Qt linker flags Hardening flags were not being passed to the New: linker in building the GUI binary. - Add fix-pkgconfig-ImageMagick.patch * fix pkgconfig ImageMagick module name New: * fix pkgconfig ImageMagick module name - Add fix-reproducible-build.patch * allow for reproducible builds (docs) New: * Fix issue #8 - wrong pkg-config file contents (gh#woglu/pstoedit#8) - Add fix-wrong-L-flag-for-linking-the-GUI.patch * fix a wrong -L flag for linking the GUI part - addresses issue #6 New: - Add fix-wrong-pkg-config-file-contents.patch * Fix issue #8 - wrong pkg-config file contents (gh#woglu/pstoedit#8) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pstoedit.spec ++++++ --- /var/tmp/diff_new_pack.X86xZE/_old 2026-08-24 13:03:04.135422337 +0200 +++ /var/tmp/diff_new_pack.X86xZE/_new 2026-08-24 13:03:04.138422443 +0200 @@ -1,7 +1,7 @@ # # spec file for package pstoedit # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,119 +17,136 @@ Name: pstoedit -Version: 4.02 +Version: 4.3 Release: 0 Summary: PostScript and PDF Converter License: GPL-2.0-or-later -Group: Productivity/Publishing/PS -URL: http://www.pstoedit.net/ -Source: https://sourceforge.net/projects/pstoedit/files/pstoedit/%{version}/%{name}-%{version}.tar.gz +URL: https://www.pstoedit.com/ +Source0: https://github.com/woglu/pstoedit/archive/v%{version}/%{name}-%{version}.tar.gz +Source1: %{name}.1 +# PATCH-FIX-UPSTREAM fix-wrong-pkg-config-file-contents.patch -- based on commit 4911078 +Patch0: fix-wrong-pkg-config-file-contents.patch +# PATCH-FIX-UPSTREAM fix-wrong-L-flag-for-linking-the-GUI.patch -- based on commit a7c5e80 +Patch1: fix-wrong-L-flag-for-linking-the-GUI.patch +# PATCH-FIX-UPSTREAM fix-Qt-linker-flags.patch -- based on commit 65f4bbf +Patch2: fix-Qt-linker-flags.patch +# PATCH-FIX-OPENSUSE fix-pkgconfig-ImageMagick.patch [email protected] -- fix pkgconfig ImageMagick module name +Patch3: fix-pkgconfig-ImageMagick.patch +# PATCH-FIX-OPENSUSE fix-reproducible-build.patch [email protected] -- allow for reproducible builds +Patch4: fix-reproducible-build.patch BuildRequires: autoconf BuildRequires: automake +BuildRequires: chrpath +BuildRequires: dos2unix BuildRequires: gcc-c++ -BuildRequires: gd-devel BuildRequires: ghostscript-devel BuildRequires: libEMF-devel -BuildRequires: libMagick++-devel -BuildRequires: libpng-devel BuildRequires: libtool -BuildRequires: libzip-devel BuildRequires: pkgconfig BuildRequires: plotutils-devel +# docs: there are currently issues with reproducible builds (eg. section order) +#BuildRequires: texlive-babel +#BuildRequires: texlive-babel-english +#BuildRequires: texlive-fancyhdr +#BuildRequires: texlive-latex +#BuildRequires: texlive-scheme-basic +#BuildRequires: texlive-scripts +BuildRequires: pkgconfig(Magick++) +BuildRequires: pkgconfig(gdlib) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(libzip) Requires: ghostscript %description -pstoedit converts PostScript and PDF files to other vector graphic -formats so that they can be edited graphically. - -pstoedit supports: +Pstoedit converts PostScript and PDF files to various vector graphic +formats. The resulting files can be edited or imported into various +drawing packages. Pstoedit comes with a large set of integrated format +drivers. + +%package gui +Summary: Qt GUI of %{name} +BuildRequires: desktop-file-utils +BuildRequires: hicolor-icon-theme +BuildRequires: qt6-base-devel +Requires: %{name} = %{version} -* Tgif .obj format (for tgif version >= 3) -* .fig format for xfig -* pdf - Adobe's Portable Document Format -* gnuplot format -* Flattened PostScript (with or without Bezier curves) -* DXF - CAD exchange format -* LWO - LightWave 3D -* RIB - RenderMan -* RPL - Real3D -* Java 1 or Java 2 applet -* Idraw format (in fact a special form of EPS that idraw can read) -* Tcl/Tk -* HPGL -* AI (Adobe Illustrator) (based on ps2ai.ps - not a real pstoedit driver - see notes below and manual) -* Windows Meta Files (WMF) (Windows only) -* Enhanced Windows Meta Files (EMF) (Windows, but also Linux/Unix if libemf is available) -* OS/2 meta files (OS/2 only) -* PIC format for troff/groff -* MetaPost format for usage with TeX/LaTeX -* LaTeX2e picture -* Kontour -* GNU Metafile (plotutils / libplot) -* Skencil ( http://www.skencil.org ) -* Mathematica -* via ImageMagick to any format supported by ImageMagick -* SWF -* CNC G code -* VTK files for ParaView and similar visualization tools +%description gui +PstoeditQtGui provides an alternative to the command driven operation. +The GUI provides access to almost all options and features that are +supported by pstoedit. In addition it supports the conversion of multiple +files in one job and also provides some shortcuts to some of Ghostscript's +high leve output devices. %package devel Summary: PostScript and PDF converter (development files) -Group: Productivity/Publishing/PS Requires: %{name} = %{version} -Requires: ImageMagick-devel -Requires: libMagick++-devel -Requires: libpng-devel -Requires: libzip-devel +Requires: plotutils-devel +Requires: pkgconfig(Magick++) +Requires: pkgconfig(libzip) %description devel PostScript and PDF converter development headers and library files. %prep %autosetup -p1 -for CRLFFILE in doc/readme.txt examples/figtext.ps ; do - tr -d '\r' <$CRLFFILE >$CRLFFILE.lf - touch -r $CRLFFILE $CRLFFILE.lf - mv $CRLFFILE.lf $CRLFFILE -done + +mkdir -p m4 +dos2unix doc/*.htm examples/figtext.ps + +# create dummy docs so the make below will run correctly +touch doc/pstoedit.{1,htm,pdf} %build -# --without-swf: lacking libming package +autoreconf -if --warnings=all %configure \ + --disable-docs \ --disable-static \ --with-emf \ - --with-magick \ + --with-gui \ --with-libplot \ - --with-pptx \ - --without-swf - + --with-magick \ + --with-pptx %make_build %install %make_install +install -D -m 0644 -t %{buildroot}%{_mandir}/man1 %{SOURCE1} + +chrpath -d %{buildroot}%{_bindir}/pstoedit +chrpath -d %{buildroot}%{_bindir}/PstoeditQtGui + find %{buildroot} -type f -name "*.la" -delete -print + # doc cleanup -rm -rf examples/Makefile* -rm -rf %{buildroot}/usr/share/doc/%{name} +rm -f examples/Makefile* +rm -rf %{buildroot}%{_datadir}/doc + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/PstoeditQtGui.desktop -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files +%license LICENSE +%doc README.md doc/changelog.htm examples %{_bindir}/pstoedit -%{_libdir}/*.so.* +%{_datadir}/pstoedit +%{_libdir}/libpstoedit.so.* %dir %{_libdir}/pstoedit -%{_libdir}/pstoedit/*.so -%{_datadir}/%{name} -%{_mandir}/man?*/*.* -%defattr(644, -, -, 755) -%license copying -%doc examples doc/readme.txt -%doc doc/*.htm doc/%{name}.pdf +%{_libdir}/pstoedit/libp2edrvlplot.so +%{_libdir}/pstoedit/libp2edrvmagick++.so +%{_libdir}/pstoedit/libp2edrvpptx.so +%{_libdir}/pstoedit/libp2edrvstd.so +%{_libdir}/pstoedit/libp2edrvwmf.so +%{_mandir}/man1/pstoedit.1%{?ext_man} + +%files gui +%{_bindir}/PstoeditQtGui +%{_datadir}/applications/PstoeditQtGui.desktop +%{_datadir}/icons/hicolor/256x256/apps/pstoedit.png %files devel -%{_libdir}/*.so %{_includedir}/pstoedit -%{_libdir}/pkgconfig/*.pc -%{_datadir}/aclocal/*.m4 +%{_libdir}/libpstoedit.so +%{_libdir}/pkgconfig/pstoedit.pc ++++++ fix-Qt-linker-flags.patch ++++++ >From 65f4bbf0cf632467985d956ccaa1ca9c11104ef9 Mon Sep 17 00:00:00 2001 From: "Barak A. Pearlmutter" <[email protected]> Date: Sun, 19 Apr 2026 09:53:15 +0100 Subject: [PATCH] Qt linker flags Hardening flags were not being passed to the linker in building the GUI binary. This fix passes them, thus placating lintian. Gbp-Pq: Name 0002-Qt-linker-flags.patch --- QT/PstoeditQtGui/PstoeditQtGui.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/QT/PstoeditQtGui/PstoeditQtGui.pro b/QT/PstoeditQtGui/PstoeditQtGui.pro index d3dbe03..a9fe22d 100644 --- a/QT/PstoeditQtGui/PstoeditQtGui.pro +++ b/QT/PstoeditQtGui/PstoeditQtGui.pro @@ -21,6 +21,9 @@ FORMS += \ RESOURCES += PstoeditQtGui.qrc LIBS += -Wl,-rpath,`pwd`/../../src/.libs/ -L../../src/.libs -lpstoedit +QMAKE_LFLAGS += $$(LDFLAGS) +QMAKE_CFLAGS += $$(CFLAGS) +QMAKE_CXXFLAGS += $$(CXXFLAGS) INCLUDEPATH += ../../src ++++++ fix-pkgconfig-ImageMagick.patch ++++++ --- a/configure.ac 2025-12-14 13:04:34.000000000 +0100 +++ b/configure.ac 2026-08-20 15:31:33.125661450 +0200 @@ -340,7 +340,7 @@ else if test -n "$PKG_CONFIG"; then AC_MSG_CHECKING(ImageMagick flags through pkg-config) - PKG_CHECK_MODULES(LIBMAGICK, ImageMagick++, + PKG_CHECK_MODULES(LIBMAGICK, Magick++, HAVE_LIBMAGICK=yes LIBMAGICK_CFLAGS="-DHAVE_MAGIC $LIBMAGICK_CFLAGS" LIBMAGICK_LDFLAGS="$LIBMAGICK_LIBS" , ++++++ fix-reproducible-build.patch ++++++ --- a/doc/latex2man.local 2025-12-14 13:04:34.000000000 +0100 +++ b/doc/latex2man.local 2026-08-21 10:58:34.375214259 +0200 @@ -28,7 +28,7 @@ # use strict 'vars'; $CMD = basename ($0); -$gen_date = localtime(); # date when the output was generated +$gen_date = gmtime($ENV{SOURCE_DATE_EPOCH} || time); # date when the output was generated sub date2str; $VERSION = "1.29"; @@ -1619,7 +1619,7 @@ sub date2str return $Day . " " . $EnglishMonthName[$Month] . " " . $Year; } -$rcs_date=`date '+%Y/%m/%d/'`; # date of the man-page, overwritten +$rcs_date=`date -u -d@\$SOURCE_DATE_EPOCH '+%Y/%m/%d/'`; # date of the man-page, overwritten # by \rcsInfo $date = date2str ($rcs_date); $Macro->{'today'} = $date; ++++++ fix-wrong-L-flag-for-linking-the-GUI.patch ++++++ >From a7c5e805fcd665239c80cd805cdfd1bf23a7bd49 Mon Sep 17 00:00:00 2001 From: Wolfgang Glunz <[email protected]> Date: Sun, 15 Mar 2026 17:53:37 +0100 Subject: [PATCH] fix a wrong -L flag for linking the GUI part - addresses issue #6 --- QT/PstoeditQtGui/PstoeditQtGui.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QT/PstoeditQtGui/PstoeditQtGui.pro b/QT/PstoeditQtGui/PstoeditQtGui.pro index 02c66b0..d3dbe03 100644 --- a/QT/PstoeditQtGui/PstoeditQtGui.pro +++ b/QT/PstoeditQtGui/PstoeditQtGui.pro @@ -20,7 +20,7 @@ FORMS += \ RESOURCES += PstoeditQtGui.qrc -LIBS += -Wl,-rpath,`pwd`/../../src/.libs/ -L ../../src/.libs -lpstoedit +LIBS += -Wl,-rpath,`pwd`/../../src/.libs/ -L../../src/.libs -lpstoedit INCLUDEPATH += ../../src ++++++ fix-wrong-pkg-config-file-contents.patch ++++++ >From 49110782751abeb324fa1251f812dca09fb18e08 Mon Sep 17 00:00:00 2001 From: Wolfgang Glunz <[email protected]> Date: Sun, 15 Mar 2026 17:49:39 +0100 Subject: [PATCH] Fix issue #8 - wrong pkg-config file contents --- config/pstoedit.pc.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/pstoedit.pc.in b/config/pstoedit.pc.in index ffda220..28b3154 100644 --- a/config/pstoedit.pc.in +++ b/config/pstoedit.pc.in @@ -1,11 +1,11 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ -includedir=@includedir@ +includedir=@includedir@/pstoedit Name: pstoedit Description: converts PostScript(TM) and PDF files to other vector graphic formats -Version: @[email protected] +Version: @VERSION@ Requires: Libs: -L@libdir@ -lpstoedit @CXX_STD_LIB@ @CXX_RUNTIME_LIB@ @LIBLD_LDFLAGS@ -Cflags: -I@includedir@ +Cflags: -I@includedir@/pstoedit ++++++ pstoedit-4.02.tar.gz -> pstoedit-4.3.tar.gz ++++++ ++++ 76399 lines of diff (skipped) ++++++ pstoedit-4.02.tar.gz -> pstoedit.1 ++++++ Binary files /work/SRC/openSUSE:Factory/pstoedit/pstoedit-4.02.tar.gz and /work/SRC/openSUSE:Factory/.pstoedit.new.1258/pstoedit.1 differ
