From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 80EED158091 for ; Mon, 13 Jun 2022 14:46:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92C21E0891; Mon, 13 Jun 2022 14:46:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7301CE0891 for ; Mon, 13 Jun 2022 14:46:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 13EE23410FD for ; Mon, 13 Jun 2022 14:46:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74A084FB for ; Mon, 13 Jun 2022 14:46:40 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1655131584.c0a45c1936961b948204e1563592d345f6412e2c.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpeg2ps/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/jpeg2ps/Manifest media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild media-gfx/jpeg2ps/jpeg2ps-1.9-r3.ebuild X-VCS-Directories: media-gfx/jpeg2ps/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: c0a45c1936961b948204e1563592d345f6412e2c X-VCS-Branch: master Date: Mon, 13 Jun 2022 14:46:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3e091ec2-588d-4f11-9d9f-1cd9dda7bb32 X-Archives-Hash: 4dd4e9b5d538cd29afbb053dbc77e6ca commit: c0a45c1936961b948204e1563592d345f6412e2c Author: Ulrich Müller gentoo org> AuthorDate: Mon Jun 13 14:40:23 2022 +0000 Commit: Ulrich Müller gentoo 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 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 +}