public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "José María Alonso" <nimiux@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/x48/
Date: Sat, 25 Nov 2017 17:02:54 +0000 (UTC)	[thread overview]
Message-ID: <1511629169.58101b974104d34bf1a2cc53a6b7edcbec16d915.nimiux@gentoo> (raw)

commit:     58101b974104d34bf1a2cc53a6b7edcbec16d915
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 16:59:29 2017 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> 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."
+}


             reply	other threads:[~2017-11-25 17:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-25 17:02 José María Alonso [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-26 11:46 [gentoo-commits] repo/gentoo:master commit in: app-emulation/x48/ Sergei Trofimovich
2017-12-26 11:46 Sergei Trofimovich
2017-12-28 11:58 Sergei Trofimovich
2017-12-28 18:45 Thomas Deutschmann
2018-01-04 20:22 Mikle Kolyada
2018-01-29 15:51 Tobias Klausmann
2018-10-13 10:53 Mikle Kolyada
2019-01-12 23:29 Sergei Trofimovich
2019-05-23 17:27 Bernard Cafarelli
2019-05-23 22:14 Bernard Cafarelli
2019-10-07  8:05 David Seifert
2024-10-27 18:07 Arthur Zamarin
2024-10-27 18:08 Arthur Zamarin
2024-10-27 21:06 Sam James
2024-10-27 21:06 Sam James
2024-10-28 21:30 Sam James
2024-10-28 23:15 Bernard Cafarelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1511629169.58101b974104d34bf1a2cc53a6b7edcbec16d915.nimiux@gentoo \
    --to=nimiux@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox