diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/epstool |
reinit the tree, so we can have metadata
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 | 43 | ||||
-rw-r--r-- | app-text/epstool/files/gcc43.patch | 20 | ||||
-rw-r--r-- | app-text/epstool/metadata.xml | 5 |
4 files changed, 74 insertions, 0 deletions
diff --git a/app-text/epstool/Manifest b/app-text/epstool/Manifest new file mode 100644 index 000000000000..9e30179b1f4f --- /dev/null +++ b/app-text/epstool/Manifest @@ -0,0 +1,6 @@ +AUX gcc43.patch 632 SHA256 50dbfda7c668d3a07878bd628c0ae89bb71cb0be8dadfd4589781990d25d15f6 SHA512 a088a86e2c66469da955a4ba2309142cf54be9d88ca18c8c173d9a285a145c3432ec99d4c212f5f69caeeef17035a063f2ca55d57bf72325258555a0af8ca875 WHIRLPOOL 322f1bfec5b818feccb83144edec7e8a42f71d2b217eec1cfe328b421e6af395c04874e060c5b76a92dbd4daf1d7a073cd22ca8777abcf5154e95b6a9e3e8b2d +DIST epstool-3.08.tar.gz 191567 SHA256 f3f14b95146868ff3f93c8720d5539deef3b6531630a552165664c7ee3c2cfdd SHA512 d6d70825c7d08cca318503bd8c12b48408b6d6cd3a64f26df94890373a3e73b68dc09a4eb454b81893c7ee3c11da791cdfed7466eb1410414cd1b97d80e8abf1 WHIRLPOOL 18b23dec04a5d08a849051fc8e0912f1bad5a73a2bcaff181a0a48bcce7fa0008ac1184bb4df6a74a0d7c64ce58b27d911195dd71d257201e0efad8afbe02d33 +EBUILD epstool-3.08-r1.ebuild 903 SHA256 6baaf6203883636060843e96051d065bdb8c42bd87d96317a54f683f349c2d7d SHA512 ec0b4d0c5282fcbc39c726b21809f4a7bbb41dacda97a94e2574574f2cc32d08fe768430710f7ac1e91f28a98a8492d74b9df7d430ec7da4aef0507aa2210d3b WHIRLPOOL e047e83b0cc7e01591dd46453975bee7d66e5e0d91429724a12ac3b4f1f5d4773d9202cc9041aeb7a59577777bf50701cee33938d8895098e5f22e5252bea4f1 +MISC ChangeLog 2546 SHA256 9f1fb4f5d25ade21b6fc3107cee899938dc55de05346324250ec4e70af341beb SHA512 0f4329c6376331ebcace3316413997fc19bf32523d151616c94f85cc5e4e83f6c5e1663c7e4da8dea7a08856c8041d75c67117c4eef028b87c10aa53d0fd2a4e WHIRLPOOL fa623a985d2a2ee3c40bcb8a0e4020e0d5322628958df5f30ea43960f2d7d74bb48f5559208c72484b6d784f4304259612d8a526ced75ac65f399abff4b75cd7 +MISC ChangeLog-2015 4489 SHA256 9a9cfa36d2c10cf3dfaea1bed543726f5b3e0eb0437c8047d14e5046b344c150 SHA512 a62002b72fb238b8cc4d2512603e46eb7dd524f2c8120131ea0ce5cf6ecf0b7b796794d2f32044fa70d2077457a8e2140c4b61f30ddf6ac5d82b14c4691ea794 WHIRLPOOL 5f2bbb936650681aad28a1085391276d2fa18274afb3f0248d123729952f47334f4be6b958040681c45ce718fc24944d1d0d55ab8dc70b90f545e3fbb5e3792e +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/app-text/epstool/epstool-3.08-r1.ebuild b/app-text/epstool/epstool-3.08-r1.ebuild new file mode 100644 index 000000000000..04ef4ccd4060 --- /dev/null +++ b/app-text/epstool/epstool-3.08-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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" +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" + +DEPEND="app-text/ghostscript-gpl" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/gcc43.patch + + sed -i \ + -e '/^CC/s/=/?=/' \ + -e '/^CLINK/s/gcc/$(CC)/' \ + src/unixcom.mak || die + tc-export CC + + epatch_user + + # parallel make issue (bug #506978) + mkdir bin || die + mkdir epsobj || die +} + +src_compile() { + emake epstool +} + +src_install() { + dobin bin/epstool + doman doc/epstool.1 + dohtml doc/epstool.htm doc/gsview.css +} diff --git a/app-text/epstool/files/gcc43.patch b/app-text/epstool/files/gcc43.patch new file mode 100644 index 000000000000..b50250a9af1a --- /dev/null +++ b/app-text/epstool/files/gcc43.patch @@ -0,0 +1,20 @@ +--- a/src/epstool.c ++++ b/src/epstool.c +@@ -2824,7 +2824,7 @@ + code = -1; + } + if ((code==0) && stdout_name && (hChildStdoutWr == -1)) { +- handle = open(stdout_name, O_WRONLY | O_CREAT); ++ handle = open(stdout_name, O_WRONLY | O_CREAT, 0644); + hChildStdoutWr = dup2(handle, 1); + if (handle != -1) + close(handle); +@@ -2832,7 +2832,7 @@ + code = -1; + } + if ((code==0) && stderr_name && (hChildStderrWr == -1)) { +- handle = open(stderr_name, O_WRONLY | O_CREAT); ++ handle = open(stderr_name, O_WRONLY | O_CREAT, 0644); + hChildStderrWr = dup2(handle, 2); + if (handle != -1) + close(handle); diff --git a/app-text/epstool/metadata.xml b/app-text/epstool/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-text/epstool/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |