From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1769D1584AD for ; Thu, 24 Apr 2025 18:26:45 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 049843430B5 for ; Thu, 24 Apr 2025 18:26:45 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 912701104E3; Thu, 24 Apr 2025 18:23:26 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 88AB71104B9 for ; Thu, 24 Apr 2025 18:23:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 412C0343056 for ; Thu, 24 Apr 2025 18:23:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A9122712 for ; Thu, 24 Apr 2025 18:23:23 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1745518934.69d50c2d023701a9d565f2d14b8ec75a5ae4a981.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/xfig/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/xfig/xfig-9999.ebuild X-VCS-Directories: media-gfx/xfig/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 69d50c2d023701a9d565f2d14b8ec75a5ae4a981 X-VCS-Branch: master Date: Thu, 24 Apr 2025 18:23:23 +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: 268377e0-4440-47cd-abf8-7f12bed8fe30 X-Archives-Hash: b64ad7a413561b9849788fb1e5e58638 commit: 69d50c2d023701a9d565f2d14b8ec75a5ae4a981 Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Thu Apr 3 15:11:24 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Apr 24 18:22:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69d50c2d media-gfx/xfig: add 9999 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Part-of: https://github.com/gentoo/gentoo/pull/41445 Closes: https://github.com/gentoo/gentoo/pull/41445 Signed-off-by: Sam James gentoo.org> media-gfx/xfig/xfig-9999.ebuild | 66 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/media-gfx/xfig/xfig-9999.ebuild b/media-gfx/xfig/xfig-9999.ebuild new file mode 100644 index 000000000000..53df67018741 --- /dev/null +++ b/media-gfx/xfig/xfig-9999.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature xdg + +DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window" +HOMEPAGE="https://mcj.sourceforge.net/" + +if [[ ${PV} == 9999 ]]; then + inherit autotools git-r3 + EGIT_REPO_URI="https://git.code.sf.net/p/mcj/xfig" +else + SRC_URI="https://downloads.sourceforge.net/project/mcj/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="BSD" +SLOT="0" + +COMMON_DEPEND=" + app-text/ghostscript-gpl:= + >=media-gfx/fig2dev-${PV} + media-libs/libjpeg-turbo:= + media-libs/libpng:= + media-libs/tiff:= + x11-libs/libX11 + x11-libs/libXaw3d[unicode(+)] + x11-libs/libXft + x11-libs/libXpm + x11-libs/libXt +" +DEPEND="${COMMON_DEPEND} + x11-base/xorg-proto +" +RDEPEND="${COMMON_DEPEND} + media-fonts/font-misc-misc + media-fonts/urw-fonts +" + +PATCHES=( + "${FILESDIR}/${PN}-3.2.6a-solaris.patch" + "${FILESDIR}/${PN}-3.2.9-app-defaults.patch" +) + +src_prepare() { + default + + if [[ ${PV} == 9999 ]]; then + eautoreconf + fi +} + +src_configure() { + local myeconfargs=( + --htmldir="${EPREFIX}/usr/share/doc/${PF}" # it expects docdir... + ) + econf "${myeconfargs[@]}" +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "GIF support" media-libs/netpbm virtual/imagemagick-tools +}