gpredict icon indicating copy to clipboard operation
gpredict copied to clipboard

Help wanted with AppImage

Open csete opened this issue 7 years ago • 7 comments

I have a script that can generate an AppImage from our PPA. It is based on the official documentation.

The generated package runs but the program can not find any image or data files from the package.

I need somebody to dig into it and find out how to properly package.

csete avatar Dec 10 '17 14:12 csete

Hi @csete - happy to help. Can you upload the AppImage for testing? Thanks.

probonopd avatar Dec 12 '17 20:12 probonopd

In general, please refer to this section of the documentation: https://github.com/AppImage/AppImageKit/wiki/Creating-AppImages#no-hard-coded-paths

probonopd avatar Dec 12 '17 20:12 probonopd

Hi @probonopd

Thanks for getting in touch even before I contacted you :)

I think you are right regarding hard coded paths. It is a Gtk+ based application and uses autotools. The data and image paths are defined at compile time based on the --prefix=... option.

I will check the documentation you link to. I have uploaded the scripts I used and the AppImage here: http://files.oz9aec.net/gpredict/temp/

csete avatar Dec 12 '17 22:12 csete

Thanks @csete - does not run for me:

me@host:~$ Downloads/Gpredict-2.0.glibc-x86_64.AppImage 

** (gpredict:28105): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
me@host:~$ cat /etc/os-release 
PRETTY_NAME="Deepin 15"
NAME="Deepin"
VERSION_ID="15.5"

But yes, the first step is to get rid of the hardcoded absolute paths.

probonopd avatar Dec 12 '17 22:12 probonopd

So, the latest 2.2.1 release now has an AppImage where the paths have been fixed using the binary patch method. Since the hardcoded paths only exist three places I felt this was the easiest.

I have not yet looked into the runtime error you encountered.

csete avatar Jan 21 '18 14:01 csete

Hi Csete. I wonder if you are still active on the Gpredict software.

I don't see any activity since 2018.

Is it a 'dead horse' now??

I was interested in the program as it could (possibly control my Yaesu G-5500 El/Az rotor system, using just a Raspberry Pi.

Best regards

Robbert / PA3BKL (aka TA2IX)

tulipman avatar Feb 07 '21 15:02 tulipman