Package Details: x48 0.6.4-2

Git Clone URL: https://aur.archlinux.org/x48.git (read-only)
Package Base: x48
Description: An HP 48 x/sx/g/gx Emulator
Upstream URL: http://sourceforge.net/projects
Licenses: GPL3
Conflicts: x48
Provides: x48=0.6.4
Submitter: ewaller
Maintainer: JM9
Last Packager: JM9
Votes: 6
Popularity: 0.000005
First Submitted: 2016-03-31 15:11
Last Updated: 2019-02-26 05:23

Required by (0)

Sources (3)

Latest Comments

1 2 Next › Last »

matmoul commented on 2019-03-07 00:21

@JM9 Thanks for the changes, x48 works again...

@vicnat Sorry for the flag without further detail, I thought my last comment was enough. I'll try to made best the next time ;-)

JM9 commented on 2019-02-26 05:37

Sorry for the delay. I've updated the PKGBUILD with @vicnat's changes. If you get a font error at start up please use:

x48 -geometry +0+0 -xrm 'smallLabelFont: fixed' -xrm 'mediumLabelFont: fixed' -xrm 'largeLabelFont: fixed' -xrm 'connectionFont: fixed'

vicnat commented on 2019-02-23 17:11

Hi all!

Matmoul is pretty bad that you have just flagged as out-of-date a package without give any information of your errors and obviously without check any comments before.

Anyway, please do as follows and you will get the x48 back in business.

cd /tmp git clone https://aur.archlinux.org/x48.git cd x48

Use vim and edit the PKBUILD file adding before make the following command: sed -i '698s/inline/static inline/' src/emulate.c

..... build() { aclocal autoheader automake --add-missing --copy -Wno-portability autoconf ./configure --prefix /usr sed -i '698s/inline/static inline/' src/emulate.c make bzcat gxrom.bz2 > gxrom bzcat sxrom.bz2 > sxrom

} ....

Then build and install the package with make -si.

Happy days.

matmoul commented on 2019-02-18 23:14

x48 is installed on my computer but it doesn't start anymore ... Error with libhistory.so.7 and libreadline.so.7 These libraries migrated to the v8. I've tried to remove and reinstall the package but now I've encouter an error at make... I've searched a package on GitHub and I found 3 of it : https://github.com/gwenhael-le-moine/x48 https://github.com/deadcodesoc/x48 https://github.com/wyatt8740/x48 These package can be build

JM9 commented on 2018-02-19 19:54

why is this package ophaned? It works perfectly for me.

aurelieng commented on 2017-06-18 10:53

Thanks a lot, it works perfectly now. :)

vicnat commented on 2017-06-18 10:40

Solution without having to create a patch:

If you are using pacaur or yaourt when you get the question if you want to edit or view the PKGBUILD, say yes and add the following line before the command make in the section build() in PKGBUILD file.

sed -i '698s/inline/static inline/' src/emulate.c

This will allow to compile and complete the installation.

I have tested and it works, of course you have to have installed sed.

aurelieng commented on 2017-06-18 04:36

I have the following error, and changing 'inline int' to 'static inline int' doesn't seem to be enough:

emulate.o: In function `step_instruction':
emulate.c:(.text+0x1123): undefined reference to `decode_8_thru_f'
collect2: error: ld returned 1 exit status

Any idea?

vicnat commented on 2017-06-16 14:55

To be able to compile, it is necessary to apply a patch to emulate.c
Maybe PKGBUILD can be updated to do the patch.

-------
--- emulate.orig 2017-06-16 16:44:21.523204139 +0200
+++ emulate.diff 2017-06-16 16:45:03.086336535 +0200
@@ -695,7 +695,7 @@
}
}

-inline int
+static inline int
#ifdef __FunctionProto__
decode_8_thru_f(int op1)
#else
-------------

khampf commented on 2016-12-21 12:50

Upstream URL should probably be https://sourceforge.net/projects/x48.berlios/
I had to download the sources to get any idea of how to properly quit the emulator (just close the window) but this is great!