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 49190139084 for ; Sat, 25 Nov 2017 17:02:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55DF6E0D2E; Sat, 25 Nov 2017 17:02:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 26637E0D2E for ; Sat, 25 Nov 2017 17:02:56 +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 AEA7833D3CE for ; Sat, 25 Nov 2017 17:02:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49849A74B for ; Sat, 25 Nov 2017 17:02:54 +0000 (UTC) From: "José María Alonso" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "José María Alonso" Message-ID: <1511629169.58101b974104d34bf1a2cc53a6b7edcbec16d915.nimiux@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/x48/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/x48/Manifest app-emulation/x48/x48-0.6.4-r1.ebuild X-VCS-Directories: app-emulation/x48/ X-VCS-Committer: nimiux X-VCS-Committer-Name: José María Alonso X-VCS-Revision: 58101b974104d34bf1a2cc53a6b7edcbec16d915 X-VCS-Branch: master Date: Sat, 25 Nov 2017 17:02:54 +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-Archives-Salt: 64707d28-9416-40f2-b799-13e2ce6cc80d X-Archives-Hash: a5e109d69f58aa2ba7fa66215f9e8e1f commit: 58101b974104d34bf1a2cc53a6b7edcbec16d915 Author: Chema Alonso Josa gentoo org> AuthorDate: Sat Nov 25 16:59:29 2017 +0000 Commit: José María Alonso gentoo org> CommitDate: Sat Nov 25 16:59:29 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58101b97 app-emulation/x48: Makes decode_8_thru_f static Closes: https://bugs.gentoo.org/638234 Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-emulation/x48/Manifest | 2 +- app-emulation/x48/x48-0.6.4-r1.ebuild | 68 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 1 deletion(-) diff --git a/app-emulation/x48/Manifest b/app-emulation/x48/Manifest index 51ebcbff2b5..48fd8a60ca8 100644 --- a/app-emulation/x48/Manifest +++ b/app-emulation/x48/Manifest @@ -1 +1 @@ -DIST x48-0.6.4.tar.bz2 227991 SHA256 dd42fb3dfde860abb758f8e6d5ccd01845bbf0dcd808b87786eec3ef7091067f SHA512 60fdba1171a02e4a5f9bcefb29fff9398fdbda50553c3d3b952fab0b4ebf87b219d4615139ca3673b1c61ff6d6559aab3e93218334aa6cdb442d4861347138ce WHIRLPOOL ff2ec2d5930d677a4cde53d8edeec564dea6fff342b2b41059424ad42314e682e412675f98aba7439eb125cf255ee841032e79226f8536e34a2ae4353aa3c2d1 +DIST x48-0.6.4.tar.bz2 227991 BLAKE2B 8db2962860eeb161a8efc9d46730c71d95d0331157e3e2481a978385ad54b04b7a4eb601c68e7df966194b23e0cd04bed4e80511d22695bb7ccdd3959d8fd8d7 SHA512 60fdba1171a02e4a5f9bcefb29fff9398fdbda50553c3d3b952fab0b4ebf87b219d4615139ca3673b1c61ff6d6559aab3e93218334aa6cdb442d4861347138ce diff --git a/app-emulation/x48/x48-0.6.4-r1.ebuild b/app-emulation/x48/x48-0.6.4-r1.ebuild new file mode 100644 index 00000000000..ecfda887eaf --- /dev/null +++ b/app-emulation/x48/x48-0.6.4-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="HP48 Calculator Emulator" +HOMEPAGE="http://x48.berlios.de/" +SRC_URI="mirror://sourceforge/x48.berlios/${P}.tar.bz2" +LICENSE="GPL-3" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="readline" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + readline? ( sys-libs/readline:5 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-libs/libXt" + +src_unpack() { + mkdir -p "${S}" + cd "${S}" + unpack ${A} +} + +src_prepare() { + eapply_user + sed -i '698s/inline/static inline/' src/emulate.c || die + eautoreconf +} + +src_configure() { + econf $(use_enable readline) +} + +src_install() { + emake DESTDIR="${D}" install + insinto /usr/share/"${PN}"/romdump + doins -r romdump/{README,ROMDump*} + dodoc AUTHORS README ChangeLog +} + +pkg_postinst() { + elog "The X48 emulator requires an HP48 ROM image to run." + elog + elog "If you own an HP-48 calculator, you can use the ROMDump utility" + elog "included with this package to obtain it from your calculator." + elog "The instructions of how to do this are included in the package." + elog + elog "Alternatively, HP has provided the ROM images for non-commercial" + elog "use only." + elog + elog "Due to confusion over the legal status of these ROMs you must" + elog "manually download one from http://www.hpcalc.org/hp48/pc/emulators/" + elog + elog "If you do not know which one to use, try 'HP 48GX Revision R ROM.'" + elog + elog "Once you have a ROM, you will need to install it by running:" + elog + elog "x48 -rom gxrom-r" + elog + elog "You will only have to do this the first time you run X48. The" + elog "ROM will be stored in ~/.hp48/rom for future runs." +}