Package Details: free42 2.0.6-1

Git Clone URL: https://aur.archlinux.org/free42.git (read-only)
Package Base: free42
Description: A complete re-implementation of the HP-42S calculator and the HP-82240 printer
Upstream URL: http://thomasokken.com/free42/
Licenses: GPL
Submitter: blackvladimir
Maintainer: SammysHP
Last Packager: SammysHP
Votes: 8
Popularity: 0.005797
First Submitted: 2008-07-07 13:40
Last Updated: 2017-08-13 10:24

Latest Comments

SammysHP commented on 2017-05-02 11:46

I finished the patch to read a system-wide skin directory and enabled it by default for this package. This allows you to install "free42-skins" and select them in the menu without further steps.

If you prefer an unmodified upstream version of free42, simply delete or comment out the line in the PKGBUILD.

SammysHP commented on 2017-04-30 22:13

Additional skins are now available via the package free42-skins.

Currently you have to copy the skins from /usr/share/free42/skins to ~/.free42 because the author of free42 thinks that "no sysadmin is going to install Free42 in /usr/bin and make a set of skins available in a system-wide directory".

https://github.com/thomasokken/free42/pull/3

When I have enough time I might add a patch in this package to add support for system-wide skins.

SammysHP commented on 2017-01-11 22:24

Thank you, blackvladimir!

SammysHP commented on 2017-01-11 18:54

I created an updated version which also includes the skins and cleaned up the PKGBUILD. Just waiting for a response from the maintainer for an update or a trusted user for adoption.

jagot commented on 2016-11-19 09:18

Applying this patch installs the latest version and fixes the narrowing conversion errors, as mentioned by gborzi:

From 2f984e489218956d76df6b20ccbc8a4163fa650b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefanos=20Carlstr=C3=B6m?= <stefanos.carlstrom@gmail.com>
Date: Sat, 19 Nov 2016 10:16:07 +0100
Subject: [PATCH] Updated to 1.5.12

---
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 9d63186..c527ffb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Contributor: Vladimir Cerny <blackvladimir@gmail.com>
pkgname=free42
-pkgver=1.5.8f
+pkgver=1.5.12
pkgrel=1
pkgdesc="A complete re-implementation of the HP-42S calculator and the HP-82240 printer."
arch=('i686' 'x86_64')
@@ -8,14 +8,15 @@ url="http://thomasokken.com/free42/"
license=('GPL')
depends=('libxmu' 'gtk2')
source=("http://thomasokken.com/free42/upstream/$pkgname-nologo-$pkgver.tgz")
+md5sums=('ec61fddf40d0de80f8a20ac199dab649')

-md5sums=('fe547945af079432507c3d0760ce3e68')

build() {

cd "$srcdir/$pkgname-nologo-${pkgver}/gtk"

echo 'LIBS := ${LIBS} -lX11' >> Makefile
+ sed -i -e 's/Wno-write-strings \\/&\n\t -Wno-narrowing \\/' Makefile

make cleaner
make
--
2.10.2

gborzi commented on 2016-05-12 19:02

It fails to compile on my system with the following error messages

core_display.cc:176:5: error: narrowing conversion of ‘168’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
....

Fixed with the following line in PKGBUILD, after the echo line
sed -i -e 's/Wno-write-strings \\/&\n\t -Wno-narrowing \\/' Makefile

faultylee commented on 2016-03-16 01:45

Upstream is at 1.5.7 now :)

rman commented on 2014-11-08 02:18

Upstream is at 1.5.4a now.

drbellerive commented on 2014-08-24 17:22

Thank you!!!!

drbellerive commented on 2014-08-24 03:37

ERROR: Failure while downloading free42-nologo-1.5.tgz

bb010g commented on 2014-04-22 07:21

aura >>= Building `free42`...
==> Making package: free42 1.4.78-1 (Tue Apr 22 00:20:31 PDT 2014)
==> WARNING: Using a PKGBUILD without a package() function is deprecated.
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading free42-nologo-1.4.78.tgz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading free42-nologo-1.4.78.tgz
Aborting...
aura >>= Well, building `free42` failed.

drbellerive commented on 2013-12-14 00:49

Thank you!!!

drbellerive commented on 2013-12-12 21:27

==> Retrieving sources...
-> Downloading free42-nologo-1.4.77.tgz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading free42-nologo-1.4.77.tgz
Aborting...
==> ERROR: Makepkg was unable to build free42.

drbellerive commented on 2013-12-07 21:16

Thanks for fixing the validity check problem!

Here's a new one:

==> free42 dependencies:
- libxmu (already installed)
- gtk2 (already installed)

==> Continue building free42 ? [Y/n]
==> --------------------------------
==>
==> Building and installing package
==> Making package: free42 1.4.77-2 (Sat Dec 7 13:11:06 PST 2013)
==> WARNING: Using a PKGBUILD without a package() function is deprecated.
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading free42-nologo-1.4.77.tgz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1126k 100 1126k 0 0 836k 0 0:00:01 0:00:01 --:--:-- 836k
==> Validating source files with md5sums...
free42-nologo-1.4.77.tgz ... Passed
==> Extracting sources...
-> Extracting free42-nologo-1.4.77.tgz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
/tmp/yaourt-tmp-drb/aur-free42/./PKGBUILD: line 15: cd: /tmp/yaourt-tmp-drb/aur-free42/src/free42/gtk: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build free42.
==> Restart building free42 ? [y/N]

drbellerive commented on 2013-12-02 18:36

==> Retrieving sources...
-> Downloading free42.tgz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.1M 100 10.1M 0 0 1502k 0 0:00:06 0:00:06 --:--:-- 1798k
==> Validating source files with md5sums...
free42.tgz ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build free42.

gborzi commented on 2013-01-07 14:35

I had the same error and fixed it using
options=(!makeflags)

mrbit commented on 2013-01-07 12:30

so work...!!!?

# make cleaner
make
# make clean

mrbit commented on 2013-01-07 12:25

m -f `find . -type l` \
free42bin free42bin.exe free42dec free42dec.exe \
skin2cc skin2cc.exe skins.cc \
keymap2cc keymap2cc.exe keymap.cc \
*.o *.d *.i *.ii *.s symlinks core.*
ln -s ../common/free42.h
make: *** No rule to generate the target «skin2cc.cc», necessary for
«skin2cc». Stop.
make: *** Waiting for unfinished jobs....
ln -s ../common/core_commands1.cc
ln -s ../common/core_commands1.h
ln -s ../common/core_commands2.cc
ln -s ../common/core_commands2.h
ln -s ../common/core_commands3.cc
ln -s ../common/core_commands3.h
ln -s ../common/core_commands4.cc
ln -s ../common/core_commands4.h
ln -s ../common/core_commands5.cc
ln -s ../common/core_commands5.h
ln -s ../common/core_commands6.cc
ln -s ../common/core_commands6.h
ln -s ../common/core_commands7.cc
ln -s ../common/core_commands7.h
ln -s ../common/core_display.cc
ln -s ../common/core_display.h
ln -s ../common/core_globals.cc
ln -s ../common/core_globals.h
ln -s ../common/core_helpers.cc
ln -s ../common/core_helpers.h
ln -s ../common/core_keydown.cc
ln -s ../common/core_keydown.h
ln -s ../common/core_linalg1.cc
ln -s ../common/core_linalg1.h
ln -s ../common/core_linalg2.cc
ln -s ../common/core_linalg2.h
ln -s ../common/core_math1.cc
ln -s ../common/core_math1.h
ln -s ../common/core_math2.cc
ln -s ../common/core_math2.h
ln -s ../common/core_main.cc
ln -s ../common/core_main.h
ln -s ../common/core_phloat.cc
ln -s ../common/core_phloat.h
ln -s ../common/core_sto_rcl.cc
ln -s ../common/core_sto_rcl.h
ln -s ../common/core_tables.cc
ln -s ../common/core_tables.h
ln -s ../common/core_variables.cc
ln -s ../common/core_variables.h
ln -s ../common/shell.h
ln -s ../common/shell_loadimage.cc
ln -s ../common/shell_loadimage.h
ln -s ../common/shell_spool.cc
ln -s ../common/shell_spool.h
ln -s ../common/skin2cc.cc
ln -s ../common/skin2cc.conf
ln -s ../common/keymap2cc.cc
ln -s ../common/bcd.cc
ln -s ../common/bcd.h
ln -s ../common/bcdfloat.cc
ln -s ../common/bcdfloat.h
ln -s ../common/bcdmath.cc
ln -s ../common/bcdmath.h
ln -s ../common/bcd2.h
ln -s ../common/bcdfloat2.cc
ln -s ../common/bcdfloat2.h
touch symlinks
==> ERRORE: There was an error in build ().
The operation is about to be interrupted...

blackvladimir commented on 2013-01-07 12:21

I am sorry but I still can't see it. Can you post whole log? "==> ERRORE:There was an error in build ()" only says there was error but not where. There should be some error message above.

mrbit commented on 2013-01-07 12:17

ln -s ../common/bcdfloat.cc
ln -s ../common/bcdfloat.h
ln -s ../common/bcdmath.cc
ln -s ../common/bcdmath.h
ln -s ../common/bcd2.h
ln -s ../common/bcdfloat2.cc
ln -s ../common/bcdfloat2.h
touch symlinks
==> ERRORE:There was an error in build ()

blackvladimir commented on 2013-01-07 11:45

It works for me. Can you provide more informations? More lines like the line after the "==> ERRORE:" would be useful.

mrbit commented on 2013-01-07 11:31

ln -s ../common/bcdmath.cc
ln -s ../common/bcdmath.h
ln -s ../common/bcd2.h
ln -s ../common/bcdfloat2.cc
ln -s ../common/bcdfloat2.h
touch symlinks
==> ERRORE:

bb010g commented on 2012-11-02 21:44

You need to fix the md5sum for 1.4.75.

mrbit commented on 2012-08-09 14:26

ok, thanks

blackvladimir commented on 2012-08-09 14:16

sorry I uploaded wrong file. It should be ok now.

mrbit commented on 2012-08-09 13:04

md5sums problem