public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpeg2ps/
@ 2019-11-06 23:07 Ulrich Müller
  0 siblings, 0 replies; 9+ messages in thread
From: Ulrich Müller @ 2019-11-06 23:07 UTC (permalink / raw
  To: gentoo-commits

commit:     04254be5029331ee0be1358b8b529414933436b2
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  6 22:56:31 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Nov  6 23:00:35 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04254be5

media-gfx/jpeg2ps: Add myself as maintainer.

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 media-gfx/jpeg2ps/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/media-gfx/jpeg2ps/metadata.xml b/media-gfx/jpeg2ps/metadata.xml
index e62e2f53570..d30bb8339cb 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>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpeg2ps/
@ 2019-11-11 19:39 Sergei Trofimovich
  0 siblings, 0 replies; 9+ messages in thread
From: Sergei Trofimovich @ 2019-11-11 19:39 UTC (permalink / raw
  To: gentoo-commits

commit:     efb8e9429d4ccd8f253c4ccfa4fcdd336420a6e9
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Mon Nov 11 17:51:58 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Nov 11 19:38:38 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efb8e942

media-gfx/jpeg2ps: stable 1.9-r2 for sparc, bug #699740

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
index 7d2bc418a0d..be9f821615f 100644
--- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
+++ b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://web.archive.org/web/20131003165952/http://www.pdflib.com/filead
 
 LICENSE="free-noncomm"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~amd64 ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="metric"
 
 PATCHES=("${FILESDIR}"/${P}-include.diff)


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpeg2ps/
@ 2019-11-12 10:05 Agostino Sarubbo
  0 siblings, 0 replies; 9+ messages in thread
From: Agostino Sarubbo @ 2019-11-12 10:05 UTC (permalink / raw
  To: gentoo-commits

commit:     377e058fc00654e8713dbe31c1084e84d6afbd33
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 12 10:04:11 2019 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Nov 12 10:04:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=377e058f

media-gfx/jpeg2ps: x86 stable wrt bug #699740

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
index be9f821615f..e722929b736 100644
--- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
+++ b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://web.archive.org/web/20131003165952/http://www.pdflib.com/filead
 
 LICENSE="free-noncomm"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~amd64 ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="metric"
 
 PATCHES=("${FILESDIR}"/${P}-include.diff)


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpeg2ps/
@ 2019-11-13  7:39 Agostino Sarubbo
  0 siblings, 0 replies; 9+ messages in thread
From: Agostino Sarubbo @ 2019-11-13  7:39 UTC (permalink / raw
  To: gentoo-commits

commit:     301eaff469d2c8952f02c08a19dad43333bf5f4d
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 07:38:38 2019 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 07:38:38 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=301eaff4

media-gfx/jpeg2ps: ppc stable wrt bug #699740

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
index e722929b736..88a7e4bab6e 100644
--- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
+++ b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://web.archive.org/web/20131003165952/http://www.pdflib.com/filead
 
 LICENSE="free-noncomm"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~amd64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="metric"
 
 PATCHES=("${FILESDIR}"/${P}-include.diff)


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpeg2ps/
@ 2019-11-13  7:44 Agostino Sarubbo
  0 siblings, 0 replies; 9+ messages in thread
From: Agostino Sarubbo @ 2019-11-13  7:44 UTC (permalink / raw
  To: gentoo-commits

commit:     5ab8eaab3243278ad156c3844ee99b6800191bb8
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 07:44:08 2019 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 07:44:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab8eaab

media-gfx/jpeg2ps: amd64 stable wrt bug #699740

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
index 88a7e4bab6e..9a25a5e30b7 100644
--- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
+++ b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://web.archive.org/web/20131003165952/http://www.pdflib.com/filead
 
 LICENSE="free-noncomm"
 SLOT="0"
-KEYWORDS="~amd64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="metric"
 
 PATCHES=("${FILESDIR}"/${P}-include.diff)


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpeg2ps/
@ 2019-11-13  9:56 Ulrich Müller
  0 siblings, 0 replies; 9+ messages in thread
From: Ulrich Müller @ 2019-11-13  9:56 UTC (permalink / raw
  To: gentoo-commits

commit:     21a4a8bbed8321afc79b45d00ab427f9e9e437a0
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 09:56:06 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 09:56:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21a4a8bb

media-gfx/jpeg2ps: Remove old.

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild | 53 ---------------------------------
 1 file changed, 53 deletions(-)

diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild
deleted file mode 100644
index d3601094ce6..00000000000
--- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Converts JPEG images to Postscript using a wrapper"
-HOMEPAGE="http://www.pdflib.com/download/free-software/jpeg2ps/"
-SRC_URI="http://www.pdflib.com/products/more/jpeg2ps/${P}.tar.gz"
-
-LICENSE="free-noncomm"
-SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="metric"
-
-DEPEND="sys-apps/sed"
-RDEPEND=""
-
-src_unpack() {
-	unpack ${A}
-
-	#bug 105561
-	epatch "${FILESDIR}"/${P}-include.diff
-}
-
-src_compile() {
-	pagesize=""
-	use metric && pagesize="-DA4"
-	emake CFLAGS="-c ${CFLAGS} ${pagesize}" CC="$(tc-getCC)" || die "emake failed"
-}
-
-src_install() {
-	# The Makefile is hard-coded to install to /usr/local/ so we
-	# simply copy the files manually
-	dobin jpeg2ps || die "dobin failed"
-	doman jpeg2ps.1 || die "doman failed"
-	dodoc jpeg2ps.txt || die "dodoc failed"
-}
-
-pkg_postinst() {
-	elog
-	if [ -z ${pagesize} ]; then
-		elog "By default, this installation of jpeg2ps will generate"
-		elog "letter size output.  You can force A4 output with"
-		elog "    jpeg2ps -p a4 file.jpg > file.ps"
-	else
-		elog "By default, this installation of jpeg2ps will generate"
-		elog "A4 size output.  You can force letter output with"
-		elog "    jpeg2ps -p letter file.jpg > file.ps"
-	fi
-	elog
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpeg2ps/
@ 2022-06-13 14:46 Ulrich Müller
  0 siblings, 0 replies; 9+ messages in thread
From: Ulrich Müller @ 2022-06-13 14:46 UTC (permalink / raw
  To: gentoo-commits

commit:     c0a45c1936961b948204e1563592d345f6412e2c
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 13 14:40:23 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 14:46:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0a45c19

media-gfx/jpeg2ps: Update SRC_URI

The manifest checksum of the previous .tar.gz distfile no longer matches
and it cannot be unpacked any more. Switch to the .zip distfile.

Bump ebuild to EAPI 8. Update LICENSE and RESTRICT.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 media-gfx/jpeg2ps/Manifest              |  1 +
 media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild |  5 ++--
 media-gfx/jpeg2ps/jpeg2ps-1.9-r3.ebuild | 50 +++++++++++++++++++++++++++++++++
 3 files changed, 54 insertions(+), 2 deletions(-)

diff --git a/media-gfx/jpeg2ps/Manifest b/media-gfx/jpeg2ps/Manifest
index 8883824b23c7..5f96aee29956 100644
--- a/media-gfx/jpeg2ps/Manifest
+++ b/media-gfx/jpeg2ps/Manifest
@@ -1 +1,2 @@
 DIST jpeg2ps-1.9.tar.gz 67105 BLAKE2B 68df39df75525db872c683de7b0ed3e64317ea18a54d51fb478c3e51b26522a97081e6953e5ad92f7a6023829dc5fbc5e1e288f2041e76bdecf0b6ef035d1234 SHA512 babc6183db2c95d0bcfba3d34f924bd2a37d0a566bf684f3af3955b8b3978cd4b94b10e94f366aec641988258476f84ce730e4da43f2bb0a836e81da4892ad3c
+DIST jpeg2ps-1.9.zip 97279 BLAKE2B 59c8a1b4d90e43d87e33afde1e742884b62371152672beae9c0f3b25a7abe3fc9c19f8b14a4780b1c0f7efdc2ebdf545ee12446d7aa89d19c94bb65e5ce323eb SHA512 7a8405b0b5cffaf3e85cad1dc236fdd951b6c7922cf15ac2ced619766db1fff6babb651747e9173a98324d513bde2f23402e6108784d02af882a25748b04aef3

diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
index 9a25a5e30b7d..0e8f60a2c007 100644
--- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
+++ b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,10 +9,11 @@ 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"
+LICENSE="jpeg2ps"
 SLOT="0"
 KEYWORDS="amd64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="metric"
+RESTRICT="mirror"
 
 PATCHES=("${FILESDIR}"/${P}-include.diff)
 

diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r3.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r3.ebuild
new file mode 100644
index 000000000000..cb7c6862a06e
--- /dev/null
+++ b/media-gfx/jpeg2ps/jpeg2ps-1.9-r3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edos2unix 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}.zip"
+
+LICENSE="jpeg2ps"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="metric"
+RESTRICT="mirror"
+
+BDEPEND="app-arch/unzip"
+
+PATCHES=("${FILESDIR}"/${P}-include.diff)
+
+src_prepare() {
+	edos2unix Makefile *.c *.h *.1 *.txt
+	default
+}
+
+src_compile() {
+	emake \
+		CC="$(tc-getCC)" \
+		LD="$(tc-getCC)" \
+		CFLAGS="-c ${CFLAGS} $(usev metric -DA4)" \
+		LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+	dobin jpeg2ps
+	doman jpeg2ps.1
+	dodoc jpeg2ps.txt
+
+	local size1=letter size2=A4
+	use metric && size1=A4 size2=letter
+	DOC_CONTENTS="By default, this installation of jpeg2ps will generate
+		${size1} size output. You can force ${size2} output with
+		\n\tjpeg2ps -p ${size2} file.jpg > file.ps"
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	readme.gentoo_print_elog
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpeg2ps/
@ 2022-06-15  8:46 Ulrich Müller
  0 siblings, 0 replies; 9+ messages in thread
From: Ulrich Müller @ 2022-06-15  8:46 UTC (permalink / raw
  To: gentoo-commits

commit:     979b396b24f04ec43e17c3f009170659356b87d2
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 15 08:40:10 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 08:45:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=979b396b

Revert "media-gfx/jpeg2ps: Update SRC_URI"

This reverts commit c0a45c1936961b948204e1563592d345f6412e2c.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 media-gfx/jpeg2ps/Manifest              |  1 -
 media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild |  5 ++--
 media-gfx/jpeg2ps/jpeg2ps-1.9-r3.ebuild | 50 ---------------------------------
 3 files changed, 2 insertions(+), 54 deletions(-)

diff --git a/media-gfx/jpeg2ps/Manifest b/media-gfx/jpeg2ps/Manifest
index 5f96aee29956..8883824b23c7 100644
--- a/media-gfx/jpeg2ps/Manifest
+++ b/media-gfx/jpeg2ps/Manifest
@@ -1,2 +1 @@
 DIST jpeg2ps-1.9.tar.gz 67105 BLAKE2B 68df39df75525db872c683de7b0ed3e64317ea18a54d51fb478c3e51b26522a97081e6953e5ad92f7a6023829dc5fbc5e1e288f2041e76bdecf0b6ef035d1234 SHA512 babc6183db2c95d0bcfba3d34f924bd2a37d0a566bf684f3af3955b8b3978cd4b94b10e94f366aec641988258476f84ce730e4da43f2bb0a836e81da4892ad3c
-DIST jpeg2ps-1.9.zip 97279 BLAKE2B 59c8a1b4d90e43d87e33afde1e742884b62371152672beae9c0f3b25a7abe3fc9c19f8b14a4780b1c0f7efdc2ebdf545ee12446d7aa89d19c94bb65e5ce323eb SHA512 7a8405b0b5cffaf3e85cad1dc236fdd951b6c7922cf15ac2ced619766db1fff6babb651747e9173a98324d513bde2f23402e6108784d02af882a25748b04aef3

diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
index 0e8f60a2c007..9a25a5e30b7d 100644
--- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
+++ b/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,11 +9,10 @@ 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="jpeg2ps"
+LICENSE="free-noncomm"
 SLOT="0"
 KEYWORDS="amd64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="metric"
-RESTRICT="mirror"
 
 PATCHES=("${FILESDIR}"/${P}-include.diff)
 

diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r3.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r3.ebuild
deleted file mode 100644
index cb7c6862a06e..000000000000
--- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r3.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit edos2unix 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}.zip"
-
-LICENSE="jpeg2ps"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="metric"
-RESTRICT="mirror"
-
-BDEPEND="app-arch/unzip"
-
-PATCHES=("${FILESDIR}"/${P}-include.diff)
-
-src_prepare() {
-	edos2unix Makefile *.c *.h *.1 *.txt
-	default
-}
-
-src_compile() {
-	emake \
-		CC="$(tc-getCC)" \
-		LD="$(tc-getCC)" \
-		CFLAGS="-c ${CFLAGS} $(usev metric -DA4)" \
-		LDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
-	dobin jpeg2ps
-	doman jpeg2ps.1
-	dodoc jpeg2ps.txt
-
-	local size1=letter size2=A4
-	use metric && size1=A4 size2=letter
-	DOC_CONTENTS="By default, this installation of jpeg2ps will generate
-		${size1} size output. You can force ${size2} output with
-		\n\tjpeg2ps -p ${size2} file.jpg > file.ps"
-	readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-	readme.gentoo_print_elog
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpeg2ps/
@ 2022-06-15  8:46 Ulrich Müller
  0 siblings, 0 replies; 9+ messages in thread
From: Ulrich Müller @ 2022-06-15  8:46 UTC (permalink / raw
  To: gentoo-commits

commit:     b089b88af4f627a8e209c8c23d189cc1957ee62a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 15 08:42:51 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 08:45:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b089b88a

media-gfx/jpeg2ps: Update SRC_URI

Bump ebuild to EAPI 8. Update LICENSE and RESTRICT.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ...jpeg2ps-1.9-r2.ebuild => jpeg2ps-1.9-r3.ebuild} | 25 ++++++++++------------
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r3.ebuild
similarity index 52%
rename from media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
rename to media-gfx/jpeg2ps/jpeg2ps-1.9-r3.ebuild
index 9a25a5e30b7d..430fe4f17edc 100644
--- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild
+++ b/media-gfx/jpeg2ps/jpeg2ps-1.9-r3.ebuild
@@ -1,18 +1,19 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 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"
+SRC_URI="https://distfiles.macports.org/${PN}/${P}.tar.gz"
 
-LICENSE="free-noncomm"
+LICENSE="jpeg2ps"
 SLOT="0"
 KEYWORDS="amd64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="metric"
+RESTRICT="mirror"
 
 PATCHES=("${FILESDIR}"/${P}-include.diff)
 
@@ -20,7 +21,7 @@ src_compile() {
 	emake \
 		CC="$(tc-getCC)" \
 		LD="$(tc-getCC)" \
-		CFLAGS="-c ${CFLAGS} $(usex metric "-DA4" "")" \
+		CFLAGS="-c ${CFLAGS} $(usev metric -DA4)" \
 		LDFLAGS="${LDFLAGS}"
 }
 
@@ -29,15 +30,11 @@ src_install() {
 	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
+	local size1=letter size2=A4
+	use metric && size1=A4 size2=letter
+	DOC_CONTENTS="By default, this installation of jpeg2ps will generate
+		${size1} size output. You can force ${size2} output with
+		\n\tjpeg2ps -p ${size2} file.jpg > file.ps"
 	readme.gentoo_create_doc
 }
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-06-15  8:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-15  8:46 [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpeg2ps/ Ulrich Müller
  -- strict thread matches above, loose matches on Subject: below --
2022-06-15  8:46 Ulrich Müller
2022-06-13 14:46 Ulrich Müller
2019-11-13  9:56 Ulrich Müller
2019-11-13  7:44 Agostino Sarubbo
2019-11-13  7:39 Agostino Sarubbo
2019-11-12 10:05 Agostino Sarubbo
2019-11-11 19:39 Sergei Trofimovich
2019-11-06 23:07 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox