summaryrefslogtreecommitdiff
path: root/media-gfx/jpeg2ps
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/jpeg2ps')
-rw-r--r--media-gfx/jpeg2ps/Manifest5
-rw-r--r--media-gfx/jpeg2ps/files/jpeg2ps-1.9-include.diff7
-rw-r--r--media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild46
-rw-r--r--media-gfx/jpeg2ps/metadata.xml3
4 files changed, 56 insertions, 5 deletions
diff --git a/media-gfx/jpeg2ps/Manifest b/media-gfx/jpeg2ps/Manifest
index 9363e60bd2f2..061de44677b0 100644
--- a/media-gfx/jpeg2ps/Manifest
+++ b/media-gfx/jpeg2ps/Manifest
@@ -1,4 +1,5 @@
-AUX jpeg2ps-1.9-include.diff 341 BLAKE2B e231ddda6066ba9787f6bf2da8c60ad1b429e7261d2cff3809d0c1bccec80e95ee9aebb4f7a099be8dfcba1908c1ed186b6aef840a3981531f7297d2a975709a SHA512 b67639f655ee752ea2ee3fa881767af46a1f1722510a9e85fd6f79553cda772e9550fd80070084fb85865ee6046469a90b9c90885c1f875d50a1eb1dac59cbd4
+AUX jpeg2ps-1.9-include.diff 226 BLAKE2B c290c4810d6cdb5c5ac577e1e55f15bf7a07c74198ee56cc05b43fa70a8d574b02c0fe476b94e079c93529140e6854136070031705a3cf92f3757badd21aee38 SHA512 fe60dfb3c79f3a513d07e3af17c7050cdbe0983e1887317f5ef2d2c7eb3c54431d6d9fec1469b918ac3461ca09cb4c73373b9affa00b43fb8412f464f4d5c3f4
DIST jpeg2ps-1.9.tar.gz 67105 BLAKE2B 68df39df75525db872c683de7b0ed3e64317ea18a54d51fb478c3e51b26522a97081e6953e5ad92f7a6023829dc5fbc5e1e288f2041e76bdecf0b6ef035d1234 SHA512 babc6183db2c95d0bcfba3d34f924bd2a37d0a566bf684f3af3955b8b3978cd4b94b10e94f366aec641988258476f84ce730e4da43f2bb0a836e81da4892ad3c
EBUILD jpeg2ps-1.9-r1.ebuild 1371 BLAKE2B cf5a6c2e0d106844be4eb85075dc0c250e3336300cacb1fe4be2d4778f22dcfa7b319f80fb8803a785b5b1ffe21cce378ca7b726aaf504aa24757d31030c1b2f SHA512 498ffae9f9fb9af19a6656709aa8fb088d21b4753d1de48f038ff9bd859ceec7a312552b8c6913368d1d0b1be63fde81f3a1257a6d6a70017bdfdf51b3c9aeb8
-MISC metadata.xml 328 BLAKE2B 04a8462385dca7aca1047d2033773cade34f5af1eeafb1dfbd30dbe721064d2e1e386632c0c0d2e662e3155ed190da109f9d06bfb8395da94d605727619d132e SHA512 a8558499212b37b0e2309500cd2ebca93ee94edd86daa9f203173ba9d4ba9803fac69802dd067b71e7422a175a113961b8e6e139312dc2444f711df59de0e7d3
+EBUILD jpeg2ps-1.9-r2.ebuild 1270 BLAKE2B 16ef322c56cbd88b33ccb6e0e8ebd40167bf60789fb263bb569dfb703e7e9ab9f5c51d4e118719d85a490e019e4f9cdbfeb769c6d2a90e351a21286b98c20573 SHA512 be5f40adcd68a8fe8032b6a8d6142a08fc5a68004a9b3d55631aae8e18be1a6089757ee1bcda4a28323a939f827f590bd05d9c9f9c98f6e5c6e11fe84a87251b
+MISC metadata.xml 403 BLAKE2B 2b703ab8fef1b40bd3dcff805110fcb23498cb8c6e6d1909333f376ea0eef4fc77d3f23851bad95be5c1da9b410c9db93c710c6da393d56ab3b5d58acd32b7a6 SHA512 b832dc6fefb1d77e7003de986274b9a1292f301379ddc1cbb6a3d23d44e5a8b8e0489bb812da9379f4dbf8ff13d79c404665427c7c1e21bee0657ea22e3e72aa
diff --git a/media-gfx/jpeg2ps/files/jpeg2ps-1.9-include.diff b/media-gfx/jpeg2ps/files/jpeg2ps-1.9-include.diff
index f07b69c5bc6a..ffc332333651 100644
--- a/media-gfx/jpeg2ps/files/jpeg2ps-1.9-include.diff
+++ b/media-gfx/jpeg2ps/files/jpeg2ps-1.9-include.diff
@@ -1,6 +1,7 @@
-diff --exclude='*~' -Naur jpeg2ps-1.9.orig/asc85ec.c jpeg2ps-1.9/asc85ec.c
---- jpeg2ps-1.9.orig/asc85ec.c 2005-09-10 23:02:15.000000000 -0300
-+++ jpeg2ps-1.9/asc85ec.c 2005-09-10 23:08:08.000000000 -0300
+https://bugs.gentoo.org/105561
+
+--- jpeg2ps-1.9.orig/asc85ec.c
++++ jpeg2ps-1.9/asc85ec.c
@@ -3,6 +3,7 @@
#include <stdio.h>
diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
new file mode 100644
index 000000000000..7d2bc418a0d0
--- /dev/null
+++ b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="Convert JPEG images to Postscript using a wrapper"
+HOMEPAGE="https://web.archive.org/web/20131003144811/http://www.pdflib.com/download/free-software/jpeg2ps/"
+SRC_URI="https://web.archive.org/web/20131003165952/http://www.pdflib.com/fileadmin/pdflib/products/more/${PN}/${P}.tar.gz"
+
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="metric"
+
+PATCHES=("${FILESDIR}"/${P}-include.diff)
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
+ CFLAGS="-c ${CFLAGS} $(usex metric "-DA4" "")" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin jpeg2ps
+ doman jpeg2ps.1
+ dodoc jpeg2ps.txt
+
+ if use metric; then
+ DOC_CONTENTS="By default, this installation of jpeg2ps will generate
+ A4 size output. You can force letter output with
+ \n\tjpeg2ps -p letter file.jpg > file.ps"
+ else
+ DOC_CONTENTS="By default, this installation of jpeg2ps will generate
+ letter size output. You can force A4 output with
+ \n\tjpeg2ps -p a4 file.jpg > file.ps"
+ fi
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
diff --git a/media-gfx/jpeg2ps/metadata.xml b/media-gfx/jpeg2ps/metadata.xml
index e62e2f53570a..d30bb8339cb3 100644
--- a/media-gfx/jpeg2ps/metadata.xml
+++ b/media-gfx/jpeg2ps/metadata.xml
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>ulm@gentoo.org</email>
+ </maintainer>
<maintainer type="project">
<email>graphics@gentoo.org</email>
<name>Gentoo Graphics Project</name>