diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /app-text/epstool | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'app-text/epstool')
-rw-r--r-- | app-text/epstool/Manifest | 6 | ||||
-rw-r--r-- | app-text/epstool/epstool-3.08-r1.ebuild | 6 | ||||
-rw-r--r-- | app-text/epstool/epstool-3.09.ebuild | 42 | ||||
-rw-r--r-- | app-text/epstool/files/epstool-3.09-no-gcc-linker.patch | 27 | ||||
-rw-r--r-- | app-text/epstool/files/epstool-3.09-no-use-gnu.patch | 31 |
5 files changed, 108 insertions, 4 deletions
diff --git a/app-text/epstool/Manifest b/app-text/epstool/Manifest index a8ad1f236da2..258e1944051c 100644 --- a/app-text/epstool/Manifest +++ b/app-text/epstool/Manifest @@ -1,4 +1,8 @@ +AUX epstool-3.09-no-gcc-linker.patch 763 BLAKE2B e106b30948a7fb12ecf76c58a80336a90ab29602c608a5c966cede91e5ff6034de69957719ff08c7b9942dda81c38459f95430c1c65dfce449774b2f023de6e0 SHA512 9d043a52524a0e15166c0437e11373724068ad1c468bf528eb39fb3d4a3a1e44973e554ec5b82d45fb2e8af8f5768294029fef91eda6b21cad51b3227e6a8a90 +AUX epstool-3.09-no-use-gnu.patch 951 BLAKE2B 22dd85e96cb2ceb4001c0713da541414ab158614352adadc6d523f67abd9fdd28089c8728e52d01659676ac3630c61fbfb467aa1b6a5f95be75aa84c60b058fe SHA512 adcaa0a1f35aaeae8e373147183665ee45db98170784070f7959bbd5e145169bd99ac21fc199a97e93fede6db9ac67eeead4367f434cbc0f46eff727a7d06aa6 AUX gcc43.patch 632 BLAKE2B 3f4537c7b4e20e50aafa3d8e07379eb8db2e68c1abbe6e096b2e5926b6a3ab539c6478dcff7d03f2c93888abf3dc8c64cd6531c855c9a145fe2c50c9a5a8c144 SHA512 a088a86e2c66469da955a4ba2309142cf54be9d88ca18c8c173d9a285a145c3432ec99d4c212f5f69caeeef17035a063f2ca55d57bf72325258555a0af8ca875 DIST epstool-3.08.tar.gz 191567 BLAKE2B 6ef2912e10e65809f60444d09facc1ea3800e492e55e87a4f00c95f7dbabd45c4d48b447fd92879e97e9dc2fe9698c1ff7d4cb06bdf3724f16ed89f76a829a8d SHA512 d6d70825c7d08cca318503bd8c12b48408b6d6cd3a64f26df94890373a3e73b68dc09a4eb454b81893c7ee3c11da791cdfed7466eb1410414cd1b97d80e8abf1 -EBUILD epstool-3.08-r1.ebuild 903 BLAKE2B d142c8e851ef544dd098b41572a88afcdc70895a8f61538f70a8dcebce677524e509e51987b242f1ace9ae1ebd125b970819c863a787375d23faf100233f7dda SHA512 ec0b4d0c5282fcbc39c726b21809f4a7bbb41dacda97a94e2574574f2cc32d08fe768430710f7ac1e91f28a98a8492d74b9df7d430ec7da4aef0507aa2210d3b +DIST epstool-3.09.tar.gz 191023 BLAKE2B becb264bf93bdb1244550e0707eb2d513d8c4b8d9eee09356bd2ddaf25bc8b97e0c5e73a02839a0f66f18bd1949cb549525967ec430104c33067d9ca57984a6f SHA512 cb9519be0879ff791f0e243a541538254e24949683aa792f673334d2d1dbd3e449ec36890ccbb3852563cf8da997a035a80df605b395a1b84cbced7522dce291 +EBUILD epstool-3.08-r1.ebuild 904 BLAKE2B 50b366747cd1c79275a6a7c82dfd937ed5d052f81be2ce1c48c0d1f10cf8c59c7dead1ac8e1026fbd8566709ee5aff180c947c26f2b650469128f05a7053b570 SHA512 34323645e925827275dfd63f016a7578eb3d6c0a7bcfa71597afb7b010081caf0bb6e65b8c529dbd7ebb144c6242e71186f6187e76cb3daccdaad3c613016400 +EBUILD epstool-3.09.ebuild 893 BLAKE2B a8fd79b506225de9cf28d7fbdc777baf8caddf34780a6a4afeabd2bdce32f9ef988e13996d4ff74c4cb9f66614d6d5dc1889442355390f5bebf309b0530a04ad SHA512 b826f3b12814d718d523c7d5c2bf66e4bc551b6b81d987ee11841a243ea8d5b0d076b33dad67006366b5b4e63f45d3369fdef32240fe8bfdce8898d2d9cb0c1f MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-text/epstool/epstool-3.08-r1.ebuild b/app-text/epstool/epstool-3.08-r1.ebuild index 04ef4ccd4060..8db4ff40e2e6 100644 --- a/app-text/epstool/epstool-3.08-r1.ebuild +++ b/app-text/epstool/epstool-3.08-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -6,12 +6,12 @@ EAPI="5" inherit eutils toolchain-funcs DESCRIPTION="Creates or extracts preview images in EPS files, fixes bounding boxes" -HOMEPAGE="http://www.cs.wisc.edu/~ghost/gsview/epstool.htm" +HOMEPAGE="http://www.ghostgum.com.au/software/epstool.htm" SRC_URI="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 arm arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" DEPEND="app-text/ghostscript-gpl" RDEPEND="${DEPEND}" diff --git a/app-text/epstool/epstool-3.09.ebuild b/app-text/epstool/epstool-3.09.ebuild new file mode 100644 index 000000000000..21df4bab8b64 --- /dev/null +++ b/app-text/epstool/epstool-3.09.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Creates or extracts preview images in EPS files, fixes bounding boxes" +HOMEPAGE="http://www.ghostgum.com.au/software/epstool.htm" +SRC_URI="http://www.ghostgum.com.au/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +DEPEND="app-text/ghostscript-gpl" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-no-use-gnu.patch + "${FILESDIR}"/${P}-no-gcc-linker.patch +) + +src_prepare() { + default + tc-export CC + + # parallel make issue (bug #506978) + mkdir bin || die + mkdir epsobj || die +} + +src_compile() { + emake CC="$(tc-getCC)" epstool +} + +src_install() { + dobin bin/epstool + doman doc/epstool.1 + local HTML_DOCS=( doc/epstool.htm doc/gsview.css ) + einstalldocs +} diff --git a/app-text/epstool/files/epstool-3.09-no-gcc-linker.patch b/app-text/epstool/files/epstool-3.09-no-gcc-linker.patch new file mode 100644 index 000000000000..cf3e03dfa609 --- /dev/null +++ b/app-text/epstool/files/epstool-3.09-no-gcc-linker.patch @@ -0,0 +1,27 @@ +From cbd73f2bb7dd3a55d0d35b0638e84b8f17e56b52 Mon Sep 17 00:00:00 2001 +From: Helmut Grohne <helmut@subdivi.de> +Date: Fri, 14 Sep 2018 18:17:39 +0200 +Subject: [PATCH] Make epstool cross buildable by not hardcoding gcc as linker + +--- + src/unixcom.mak | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/unixcom.mak b/src/unixcom.mak +index 1063b65..ca0b031 100755 +--- a/src/unixcom.mak ++++ b/src/unixcom.mak +@@ -22,8 +22,8 @@ GSCFLAGS= $(CDEFS) -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-pr + CCAUX=gcc
+ CC=gcc
+ LFLAGS=$(PLINK) $(LIBPNGLIBS) $(GTKLIBS)
+-CLINK=gcc $(LDFLAGS)
+-LINK=gcc $(LDFLAGS)
++CLINK=$(CC) $(LDFLAGS)
++LINK=$(CC) $(LDFLAGS)
+
+
+ COMP=$(CC) -I$(SRCDIR) -I$(OBJDIR) $(CFLAGS) $(GSCFLAGS)
+-- +2.29.2 + diff --git a/app-text/epstool/files/epstool-3.09-no-use-gnu.patch b/app-text/epstool/files/epstool-3.09-no-use-gnu.patch new file mode 100644 index 000000000000..cb42381138e2 --- /dev/null +++ b/app-text/epstool/files/epstool-3.09-no-use-gnu.patch @@ -0,0 +1,31 @@ +From 706546a4921b98834ebf241ea751e0db5d0d192f Mon Sep 17 00:00:00 2001 +From: Adrian Bunk <bunk@debian.org> +Date: Fri, 14 Sep 2018 18:17:39 +0200 +Subject: [PATCH] src/cplat.h: Don't define __USE_GNU + +There were two things wrong with it: +- __USE_GNU is glibc-internal, the external define is _GNU_SOURCE +- defining such macros after the first include is wrong, in this case +it caused FTBFS on ia64. + +An option would be to pass -D_GNU_SOURCE when building, but as far +as I can see the define was not (anymore?) needed at all. +--- + src/cplat.h | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/cplat.h b/src/cplat.h +index 8bbd9c5..ad5cee4 100755 +--- a/src/cplat.h ++++ b/src/cplat.h +@@ -109,7 +109,6 @@ typedef struct POINT_s { + typedef struct _GdkRgbCmap GdkRgbCmap;
+ # endif
+ # include <unistd.h>
+-# define __USE_GNU /* we might need recursive mutex */
+ # include <semaphore.h>
+ # include <pthread.h>
+ # define ZLIBNAME "libz.so"
+-- +2.29.2 + |