Package Details: hp15c 4.3.00-1

Git Clone URL: https://aur.archlinux.org/hp15c.git (read-only, click to copy)
Package Base: hp15c
Description: A simulator for the HP-15C programmable scientific RPN calculator
Upstream URL: http://hp-15c.homepage.t-online.de/content_web.htm
Licenses: GPL3
Submitter: qguv
Maintainer: qguv
Last Packager: qguv
Votes: 6
Popularity: 0.000001
First Submitted: 2016-07-12 14:35
Last Updated: 2021-05-05 14:08

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

qguv commented on 2021-05-05 16:20

I've just updated to hp15c 4.3.00.

qguv commented on 2020-10-30 18:56

Thanks for the patch, pigt. I prefer the approach with the runner script, because it minimizes the amount of patching we have to do to upstream. It's simply easier to maintain a separate file.

Here's your commit: https://aur.archlinux.org/cgit/aur.git/commit/?h=hp15c&id=68d14da2959dc9a91895c6085f0878153b158746

And here's the merge: https://aur.archlinux.org/cgit/aur.git/commit/?h=hp15c&id=d6c1b30e173ebfcdb5df9cc5f0965ec48d0311f9

I've merged in the sections from your updated patch that fix the about/preferences display. I also see you've added the image sources—thanks! I missed those. And I've added the desktop file as well, which is a lovely addition.

We're also now on the latest version, 4.2.0.

pigt commented on 2019-06-01 06:07

I just fixed about and preference page, and add desktop entry. Here's the patch: https://gist.github.com/saengowp/f801afc47f99e9a72332954432aad4d7

pigt commented on 2019-05-27 09:30

Could you add desktop entry for ease of uses? /usr/share/applications/hp15c.desktop:

[Desktop Entry]

Type=Application
Version=1.0
Name=HP-15C
Comment=HEWLETT-PACKARD 15C Simulator
Exec=hp15c
Icon=hp15c
Terminal=false
Categories=Utility;Calculator;

qguv commented on 2018-11-15 01:00

Thanks for the patch, Moxon. I like that it verifies the checksums of the supporting files. Would you like to be credited with a contributor line, and if so, under what name and email?

I'm also getting those issues with preferences or about. I'll send an email to the upstream maintainer to see if he has any insight. Thanks!

Moxon commented on 2018-09-24 19:57

I made it work with some modifications (see DIFF below), still it yields an error when calling preferences or about:

ERROR

can't read "APPDATA(dspf1)": no such element in array
can't read "APPDATA(dspf1)": no such element in array
    while executing
".about.cv create image 0 $yy -image $APPDATA(dspf1) -anchor nw"
    (procedure "about" line 24)
    invoked from within
"about"
    invoked from within
".onm invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 50)
    invoked from within
"tk::MenuInvoke .onm 1"
    (command bound to event)

DIFF

diff --git a/PKGBUILD b/PKGBUILD
index [`9f9d0b0`](https://aur.archlinux.org/cgit/aur.git/commit/?h=hp15c&id=9f9d0b0)..36051bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,12 +8,20 @@ url="<http://hp-15c.homepage.t-online.de/content_web.htm>"
 arch=('any')
 license=('GPL3')
 depends=('tcl' 'tk')
-source=("$pkgname-$pkgver.zip::<https://drive.google.com/uc?export=download&id=1ewFXi6PPRsiPJESUq5A2Gp83NYSYVYKr>")
-md5sums=('c90cc630d9e5bdf70912f8cd754cc2cc')
+source=("$pkgname-$pkgver.zip::<https://drive.google.com/uc?export=download&id=1ewFXi6PPRsiPJESUq5A2Gp83NYSYVYKr>"
+   "01-hp15c-arch-docs.patch"
+   "hp15c_runner.sh"
+)
+md5sums=('c90cc630d9e5bdf70912f8cd754cc2cc'
+    'cb4a8e759f94860744057c20f90244e4'
+    'bdf3ff02949e3c716b782e8cec9ee8a1')

 prepare() {
     # patch location of help files to match Arch standards
-    patch -p1 -i '../01-hp15c-arch-docs.patch'
+    patch -p1 -i $srcdir/01-hp15c-arch-docs.patch
 }

 package() {
@@ -30,7 +38,7 @@ package() {

     # runs script in proper directory
     cp HP-15C.tcl -t "$pkgdir/usr/lib/$pkgname/"
-    install -D ../hp15c_runner.sh "$pkgdir/usr/bin/hp15c"
+    install -D hp15c_runner.sh "$pkgdir/usr/bin/hp15c"
 }

 # vim:set ts=4 sw=4 ft=sh et: