Recent

Author Topic: AppImage  (Read 319 times)

cgaertner

  • Newbie
  • Posts: 4
AppImage
« on: October 10, 2020, 11:09:18 pm »
Dear All,

has anyone soccessfully built an AppImage package with a Lazarus/Freepascal executable?

Greetings,
Christian

bracara

  • New Member
  • *
  • Posts: 18
Re: AppImage
« Reply #1 on: October 12, 2020, 05:11:53 pm »
has anyone successfully built an AppImage package with a Lazarus/Freepascal executable?

Yes - see Ocrivist at  http://www.kirasoft.co.uk/downloads/

The AppImage documentation has a learning curve that I am still climbing, but a simple implementation can be done:
1: Download linuxdeploy for your platform (32bit or 64bit) from https://github.com/linuxdeploy/linuxdeploy/releases/
2. The command that I used was ./linuxdeploy-i386.AppImage --appdir=OcrivistAppImage --icon-file=./../trunk/images/ocrivist.png --executable=./../trunk/ocrivist --create-desktop-file --output appimage
The appdir will be created for you the first time that you run it. Obviously you will need to change the paths and filenames to suit your setup. You will need a .png file in a suitable size (eg 128x128) to serve as an icon.

The Appimage that results is not optimal, but it will work and serve as a starting point. For example, you will get a warning that the .desktop file is basic and should be improved.

cgaertner

  • Newbie
  • Posts: 4
Re: AppImage
« Reply #2 on: October 14, 2020, 07:39:50 pm »
Bracara,

thank you for sharing your command line with me. I will give it a try!

Greetings,
Christian

 

TinyPortal © 2005-2018