diff options
author | Daniel Bermond | 2024-04-22 18:07:03 -0300 |
---|---|---|
committer | Daniel Bermond | 2024-04-22 18:07:03 -0300 |
commit | 6dae779f74b0da209b1da72edfece59840a5ef73 (patch) | |
tree | 76936d333caa36ddecaf5c928174cc124c47e462 | |
parent | 10fb71b61c07bbdbd8cd8daefd2cc7975086da8b (diff) | |
download | aur-pstoedit-nomagick.tar.gz |
Update to version 4.01
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | 010-pstoedit-fix-plain-c.patch | 41 | ||||
-rw-r--r-- | 020-pstoedit-fix-pkgconfig-includedir.patch | 17 | ||||
-rw-r--r-- | PKGBUILD | 17 |
4 files changed, 8 insertions, 79 deletions
@@ -1,10 +1,10 @@ pkgbase = pstoedit-nomagick pkgdesc = Translates PS/PDF graphics to other vector formats (no ImageMagick dependency) - pkgver = 4.00 + pkgver = 4.01 pkgrel = 1 url = http://www.pstoedit.net/ arch = x86_64 - license = GPL + license = GPL-2.0-or-later depends = gd depends = ghostscript depends = ming @@ -14,11 +14,7 @@ pkgbase = pstoedit-nomagick depends = zlib provides = pstoedit conflicts = pstoedit - source = https://sourceforge.net/projects/pstoedit/files/pstoedit/4.00/pstoedit-4.00.tar.gz - source = 010-pstoedit-fix-plain-c.patch - source = 020-pstoedit-fix-pkgconfig-includedir.patch - sha256sums = 075a7daeaba75f3d1922beae680cc3662bb373c7e3826282229fda2733ac62ea - sha256sums = ee60574e10d04e723d6b06ef33de45911e7515846182bb66ac56078dde3bace9 - sha256sums = 1ad78e582d0f287f9a9ef545bb27fb50f0ef791ce539a73644a68ad3228a6267 + source = https://sourceforge.net/projects/pstoedit/files/pstoedit/4.01/pstoedit-4.01.tar.gz + sha256sums = 459765ab736cb10f9554a7ac02c5ea7f355c6c2e9fcfd217611c7d5102b1076b pkgname = pstoedit-nomagick diff --git a/010-pstoedit-fix-plain-c.patch b/010-pstoedit-fix-plain-c.patch deleted file mode 100644 index 02060f836cd0..000000000000 --- a/010-pstoedit-fix-plain-c.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- a/src/pstoedit.cpp -+++ b/src/pstoedit.cpp -@@ -327,6 +327,11 @@ extern FILE *yyin; // used by lexer - // otherwise we could declare it locally where it is used - - -+extern "C" DLLEXPORT void loadpstoeditplugins_plainC(const char *progname, int verbose) -+{ -+ return loadpstoeditplugins(progname, cerr, (bool) verbose); -+} -+ - static void usage(ostream & outstream, bool forTeX, bool withdetails, bool withcategories ) - { - if (withcategories) { ---- a/src/pstoedit.h -+++ b/src/pstoedit.h -@@ -100,8 +100,13 @@ void clearPstoeditDriverInfo_plainC(struct DriverDescription_S * ptr); - - #ifdef __cplusplus - extern "C" DLLEXPORT --#endif - void loadpstoeditplugins(const char* progname, std::ostream & errstream, bool verbose); -+#endif -+ -+#ifdef __cplusplus -+extern "C" DLLEXPORT -+#endif -+void loadpstoeditplugins_plainC(const char* progname, int verbose); - - #ifdef __cplusplus - extern "C" DLLEXPORT ---- a/src/pstoedit.h -+++ b/src/pstoedit.h -@@ -37,6 +37,7 @@ - #endif - - #include "pstoedll.h" -+#include <stdbool.h> - - typedef int (*execute_interpreter_function)(int argc, const char * const argv[]); - diff --git a/020-pstoedit-fix-pkgconfig-includedir.patch b/020-pstoedit-fix-pkgconfig-includedir.patch deleted file mode 100644 index a0a50382fc12..000000000000 --- a/020-pstoedit-fix-pkgconfig-includedir.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/config/pstoedit.pc.in -+++ b/config/pstoedit.pc.in -@@ -1,7 +1,7 @@ - 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 -@@ -8,4 +8,4 @@ - Version: @VERSION@.0 - Requires: - Libs: -L@libdir@ -lpstoedit @CXX_STD_LIB@ @CXX_RUNTIME_LIB@ @LIBLD_LDFLAGS@ --Cflags: -I@includedir@ -+Cflags: -I@includedir@/pstoedit @@ -1,26 +1,17 @@ # Maintainer: Daniel Bermond <dbermond@archlinux.org> pkgname=pstoedit-nomagick -pkgver=4.00 +pkgver=4.01 pkgrel=1 pkgdesc='Translates PS/PDF graphics to other vector formats (no ImageMagick dependency)' arch=('x86_64') url='http://www.pstoedit.net/' -license=('GPL') +license=('GPL-2.0-or-later') depends=('gd' 'ghostscript' 'ming' 'libemf' 'libzip' 'plotutils' 'zlib') provides=('pstoedit') conflicts=('pstoedit') -source=("https://sourceforge.net/projects/pstoedit/files/pstoedit/${pkgver}/pstoedit-${pkgver}.tar.gz" - '010-pstoedit-fix-plain-c.patch' - '020-pstoedit-fix-pkgconfig-includedir.patch') -sha256sums=('075a7daeaba75f3d1922beae680cc3662bb373c7e3826282229fda2733ac62ea' - 'ee60574e10d04e723d6b06ef33de45911e7515846182bb66ac56078dde3bace9' - '1ad78e582d0f287f9a9ef545bb27fb50f0ef791ce539a73644a68ad3228a6267') - -prepare() { - patch -d "pstoedit-${pkgver}" -Np1 -i "${srcdir}/010-pstoedit-fix-plain-c.patch" - patch -d "pstoedit-${pkgver}" -Np1 -i "${srcdir}/020-pstoedit-fix-pkgconfig-includedir.patch" -} +source=("https://sourceforge.net/projects/pstoedit/files/pstoedit/${pkgver}/pstoedit-${pkgver}.tar.gz") +sha256sums=('459765ab736cb10f9554a7ac02c5ea7f355c6c2e9fcfd217611c7d5102b1076b') build() { cd "pstoedit-${pkgver}" |