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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AA50313835B for ; Fri, 6 Nov 2020 02:25:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D408E0871; Fri, 6 Nov 2020 02:25:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84F5BE0871 for ; Fri, 6 Nov 2020 02:25:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C1429335DB7 for ; Fri, 6 Nov 2020 02:25:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 71DF3436 for ; Fri, 6 Nov 2020 02:25:29 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1604629461.993bb72a5bdd66366bcc516532115331340e7427.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/pstoedit/, media-gfx/pstoedit/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/pstoedit/Manifest media-gfx/pstoedit/files/pstoedit-3.75-libdl.patch media-gfx/pstoedit/pstoedit-3.75.ebuild X-VCS-Directories: media-gfx/pstoedit/ media-gfx/pstoedit/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 993bb72a5bdd66366bcc516532115331340e7427 X-VCS-Branch: master Date: Fri, 6 Nov 2020 02:25:29 +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: 90683806-647d-4504-bdfa-3088ceb75be9 X-Archives-Hash: 831eb2ff9c5d94dce64db5b64206b06d commit: 993bb72a5bdd66366bcc516532115331340e7427 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Nov 6 00:09:16 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Nov 6 02:24:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=993bb72a media-gfx/pstoedit: 3.75 version bump, EAPI-7 bump, drop static-libs Closes: https://bugs.gentoo.org/668432 Closes: https://bugs.gentoo.org/691344 Thanks-to: Han Mertens outlook.com> Closes: https://github.com/gentoo/gentoo/pull/15811 Signed-off-by: Andreas Sturmlechner gentoo.org> media-gfx/pstoedit/Manifest | 1 + media-gfx/pstoedit/files/pstoedit-3.75-libdl.patch | 13 +++++ media-gfx/pstoedit/pstoedit-3.75.ebuild | 63 ++++++++++++++++++++++ 3 files changed, 77 insertions(+) diff --git a/media-gfx/pstoedit/Manifest b/media-gfx/pstoedit/Manifest index be1b2ed42a5..b1b5f5552a5 100644 --- a/media-gfx/pstoedit/Manifest +++ b/media-gfx/pstoedit/Manifest @@ -1 +1,2 @@ DIST pstoedit-3.70.tar.gz 1013949 BLAKE2B ec459dc56851d942076adf4352ef974188b0b8273a6f9150c8767c1d63c3c9b6d993ea8c0b1a0b59663b31652eb7a4b8697e4c38c23d5aa0572d554120a5e900 SHA512 63668ea039fdf988ba007bafb8dc1f23f06d4eb430a92b97fb93c71b819f63e2708b99476ec9b096598db2ddd30d29a69101f078e7d4fdfec314677f50293cf9 +DIST pstoedit-3.75.tar.gz 1290057 BLAKE2B 607a265ea6f058e1ba432d55c4602452cd52a48302441ecee542a113d90b090ce888cc6fa5e3a8e3a2fdbf94dce9b1ab1f7f5ba58ab81f1f509eea9052a3cd82 SHA512 54b8cf7e78e52027d45e7550821476d9a9c4df4f63af83792b6a2909bc62236450ba6b619f95eede9f61a715f4937f1fbaf2ce4ae4b486daa0294c396a882a28 diff --git a/media-gfx/pstoedit/files/pstoedit-3.75-libdl.patch b/media-gfx/pstoedit/files/pstoedit-3.75-libdl.patch new file mode 100644 index 00000000000..33d559164cf --- /dev/null +++ b/media-gfx/pstoedit/files/pstoedit-3.75-libdl.patch @@ -0,0 +1,13 @@ +diff --git a/src/Makefile.am b/src/Makefile.am +index 9aac694..de0f367 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -143,7 +143,7 @@ libpstoedit_la_SOURCES = \ + psfront.h \ + genericints.h + +-libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -ldl -lm ++libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} ${LIBLD_LDFLAGS} -ldl -lm + libpstoedit_la_LDFLAGS = -no-undefined + + pstoedit_SOURCES = cmdmain.cpp diff --git a/media-gfx/pstoedit/pstoedit-3.75.ebuild b/media-gfx/pstoedit/pstoedit-3.75.ebuild new file mode 100644 index 00000000000..da2b4e71c73 --- /dev/null +++ b/media-gfx/pstoedit/pstoedit-3.75.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Translate PostScript and PDF graphics into other vector formats" +HOMEPAGE="https://sourceforge.net/projects/pstoedit/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="emf imagemagick plotutils pptx" + +BDEPEND=" + virtual/pkgconfig +" +RDEPEND=" + >=app-text/ghostscript-gpl-8.71-r1 + >=media-libs/gd-2.0.35-r1:= + emf? ( >=media-libs/libemf-1.0.3 ) + imagemagick? ( >=media-gfx/imagemagick-6.6.1.2:=[cxx] ) + plotutils? ( media-libs/plotutils ) + pptx? ( dev-libs/libzip:= ) +" +DEPEND="${RDEPEND}" + +DOCS=( doc/readme.txt ) +HTML_DOCS=( doc/{changelog,pstoedit}.htm ) + +PATCHES=( "${FILESDIR}"/${P}-libdl.patch ) + +src_prepare() { + default + + sed -i \ + -e '/CXXFLAGS="-g"/d' \ + -e 's:-pedantic::' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-static + --without-swf + $(use_with emf) + $(use_with imagemagick magick) + $(use_with plotutils libplot) + $(use_with pptx) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + doman doc/pstoedit.1 + + find "${ED}" -name '*.la' -delete || die +}