pkg2appimage icon indicating copy to clipboard operation
pkg2appimage copied to clipboard

Feature suggestion for pkg2appimage script

Open sudo-give-me-coffee opened this issue 6 years ago • 10 comments

I do not know if this is the best place for this, but you could add support for local repositories. It would be something like "source" section:

...

ingredients:
  dist: xxxx
  sources:
    - deb ... (main repo)
  local-repository:
    - /path/to/local/repo
    - /path/to/local/file.deb

...

reason: i don't know if is a bug but apt-get don't recognize previous local repositories at this time i use:

ingredients:
  dist: xxxxx
  sources:
    - deb ...
  script:
    - cp "/path/to/local/repo/*" .
    - cp "/path/to/local/file.deb" .

I think that this will help to build AppImages from DEB files way much more easy, fast and intuitive for developers

I love appimages ❤

Thanks for attention, and excuse me for errors, i don't speak english very well

sudo-give-me-coffee avatar Dec 18 '17 19:12 sudo-give-me-coffee

Hello @sudo-give-me-coffee and welcome to AppImage!

I think that this will help to build AppImages from DEB files way much more easy, fast and intuitive for developers

Well, for developers we actually recommend not to use deb files, but to make AppImages directly as part of the build process. https://github.com/probonopd/linuxdeployqt makes this easy.

May I ask which application(s) you are interested in making AppImages of?

probonopd avatar Dec 18 '17 23:12 probonopd

@probonopd The problem with linuxdeployqt is that my ide (Lazarus) does not support it, (and that still uses GTK could not use it, I think), but i'm not sure

All the applications I use are already available in the application, I know of some applications that are not available and used on a large scale, I'm started make recipes from these:

  • Pitivi
  • Evince (ok)
  • Okular
  • Kmail
  • Ksnapshot (ok)
  • Amarok (ok)
  • K3b
  • Some gnome apps (e.g. eog and calendar) (trying)
  • Gnumeric (ok)

When I finish my projects, I will make it available only under the appimages

Thanks for attention :)

sudo-give-me-coffee avatar Dec 21 '17 15:12 sudo-give-me-coffee

Hi @sudo-give-me-coffee, what do you mean with

The problem with linuxdeployqt is that my ide (Lazarus) does not support it

Why do you think your IDE needs to "support" it?

You can run linuxdeployqt from the command line, your IDE has nothing to do with it. Any IDE can be used.

probonopd avatar Dec 21 '17 16:12 probonopd

I'm started make recipes from these

Please ask the upstream application authors to provide official AppImages. Thanks!

probonopd avatar Dec 21 '17 16:12 probonopd

Hi @sudo-give-me-coffee did you ever attempt to turn Lazarus (or an app built with it) into an AppImage?

Someone over at https://discourse.appimage.org/t/is-it-possible-with-s-deploy-to-include-libraries-loaded-at-runtime/1779/5 was asking for it.

probonopd avatar Aug 24 '20 18:08 probonopd

Lazarus itself is impossible (at least version 1.0.8), it compiles every time a component is installed, and depends on writable installation directory, May be with a wrapper, like you did with libhookexecve

sudo-give-me-coffee avatar Sep 05 '20 14:09 sudo-give-me-coffee

HI @sudo-give-me-coffee how does Lazarus work then when installed by the distribution in /usr? Just like an AppImage, that location is not writable to the user.

probonopd avatar Sep 05 '20 14:09 probonopd

About the case of runtime loaded libs, you will need to run the binary with ltrace, this will output all loaded binaries, and will will be able to bundle it

sudo-give-me-coffee avatar Sep 05 '20 14:09 sudo-give-me-coffee

how does Lazarus work then when installed by the distribution in /usr? Just like an AppImage, that location is not writable to the user.

Is needed to run with sudo, if install a component

sudo-give-me-coffee avatar Sep 05 '20 14:09 sudo-give-me-coffee

Maybe using proot and unionfs-fuse you will be able to make a portable lazarus ide

sudo-give-me-coffee avatar Sep 05 '20 14:09 sudo-give-me-coffee