Re: Appimage and/or flatpack to replace some distro specifik packagings?

Morganol wrote:

Is it possible to launch the appimages with some parameter or other trick to make them use different folders of symbols, templates, drawings?

Yes !

By example : If I want to use new folder "test-0.5" in my HOME QET directory, you need to add argument  --config-dir=   to your AppImage.

./QElectroTech_0.5-x86_64.AppImage --config-dir=/home/laurent/.qet/test-0.5/

Or If you want to use other common collection (--common-elements-dir argument) :

./QElectroTech_0.5-x86_64.AppImage --common-elements-dir=/home/laurent/0.5-test/




You could also extract Appimage and change QET arguments in AppRun file.
https://github.com/AppImage/AppImageKit … -AppImages

./QElectroTech_0.5-x86_64.AppImage --appimage-extract

/squashfs-root$ cat AppRun 
#! /bin/sh

cd $(dirname $(readlink -f $0))/usr/bin/
exec ./qelectrotech --common-elements-dir=../share/elements/ --common-tbt-dir=../share/titleblocks/ --lang-dir=../share/lang/ $@ 

https://github.com/AppImage/AppImageKit … irectories 

Re: Appimage and/or flatpack to replace some distro specifik packagings?

Wonderful, thanks nomicons/smile 

1) Maybe you could copy or link that informations at the appimage download page?  (and later in some manual...) plus a link to https://appimage.org/ where users can learn about appimage, how to run it, and they may want to use firejail.

2) I see you have added appimage links to 0.6 and 0.7 versions at https://qelectrotech.org/download.html . You can also add one for 0.5.

3) Now you can get the news out and attract more users by getting it listed where Appimages are listed. I know of https://bintray.com/probono/AppImages , https://appimage.github.io/apps/ , maybe there are more places.

Re: Appimage and/or flatpack to replace some distro specifik packagings?

@Morganol :

FYI, if you want interest to know how I create the QET AppImages provided here on the download page:

https://qelectrotech.org/wiki_new/doc/p … n#appimage

Re: Appimage and/or flatpack to replace some distro specifik packagings?

Thanks.  I am sure it if of interest to many.  Maybe you could even put such procedures on the wiki?

Myself is on a kind of computer diet period.  Instead, i do much mechanic work and practical watering, hands-on-controls repair, repairing a tractor and such things currently. nomicons/smile

Re: Appimage and/or flatpack to replace some distro specifik packagings?

Flatpak, humm..
https://github.com/flatpak/flatpak/issues/875 

Post's attachments

Attachment icon org.qelectrotech.json 601 b, 192 downloads since 2018-10-17 

Re: Appimage and/or flatpack to replace some distro specifik packagings?

https://linuxfr.org/news/apports-de-fed … ns-flatpak

Owen Taylor travaille sur l’infrastructure de Fedora pour apporter de quoi construire des applications Flatpak directement, en parallèle des formats RPM classiques. L’objectif est de faciliter la vie du mainteneur, qui pourra concevoir en une fois la construction des deux formats. 

Re: Appimage and/or flatpack to replace some distro specifik packagings?

That sounds good nomicons/smile
Google-translated:

Owen Taylor is working on Fedora's infrastructure to bring in building Flatpak applications directly, in parallel with standard RPM formats. The goal is to make life easier for the maintainer, who can design the construction of both formats in one go.

Re: Appimage and/or flatpack to replace some distro specifik packagings?

Add a Flatpak manifest, thanks to Mathieu work. nomicons/wink
https://github.com/qelectrotech/qelectr … or/pull/18

Re: Appimage and/or flatpack to replace some distro specifik packagings?

Please try it. nomicons/wink
0.8-dev flatpak.

flatpak remote-add --user --no-gpg-verify qet-devel https://download.tuxfamily.org/qet/builds/Flatpak/
flatpak remote-ls qet-devel
flatpak install qelectrotech

For upgrade version:

flatpak update
laurent@debian:~/qet_git$ flatpak install qelectrotech
Looking for matches…
Remotes found with refs similar to ‘qelectrotech’:

   1) ‘Flatpack’ (user)
   2) ‘qet-devel’ (user)

Which do you want to use (0 to abort)? [0-2]: 2
Found ref ‘app/org.qelectrotech.QElectroTech/x86_64/master’ in remote ‘qet-devel’ (user).
Use this ref? [Y/n]: y

org.qelectrotech.QElectroTech permissions:
    ipc   wayland   x11   dri   file access [1]   dbus access [2]

    [1] host, xdg-config/kdeglobals:ro
    [2] com.canonical.AppMenu.Registrar


        ID                                       Arch             Branch           Remote              Download
 1. [✓] org.qelectrotech.QElectroTech            x86_64           master           qet-devel           14,3 MB / 13,9 MB

Installation complete.

laurent@debian:~/qet_git$ flatpak info org.qelectrotech.QElectroTech

QElectroTech - Éditeur de schémas électriques

          ID: org.qelectrotech.QElectroTech
         Ref: app/org.qelectrotech.QElectroTech/x86_64/master
        Arch: x86_64
      Branch: master
     License: GPL-2.0+
      Origin: qet-devel
  Collection: 
Installation: user
   Installed: 73,7 MB
     Runtime: org.kde.Platform/x86_64/5.14
         Sdk: org.kde.Sdk/x86_64/5.14

      Commit: 96aa0777118c605ac266aebc9d0b9f2ddaf743d59bb9466b478cd3da44c93429
      Parent: cfcadaafc99c3bc354efa7a4b6081f06fec00776b1b6cfcdf5630e222324f092
     Subject: Export org.qelectrotech.QElectroTech
        Date: 2020-02-17 14:19:52 +0000
laurent@debian:~/qet_git$ 

Next step : make a .flatpakref for finish repo signing.
Enjoy ! nomicons/wink

Re: Appimage and/or flatpack to replace some distro specifik packagings?

Edit : I moved the repo to the download server, see new URL.

Re: Appimage and/or flatpack to replace some distro specifik packagings?

1) Import the public key

flatpak remote-add --gpg-import=qelectrotech.org.gpg \
qet-devel https://download.tuxfamily.org/qet/builds/Flatpak/

2) Install qet-devel flatpak

flatpak install https://download.tuxfamily.org/qet/builds/Flatpak/org.qelectrotech.QElectroTech.flatpakref
org.qelectrotech.QElectroTech permissions:
    ipc   wayland   x11   dri   file access [1]   dbus access [2]

    [1] host, xdg-config/kdeglobals:ro
    [2] com.canonical.AppMenu.Registrar


        ID                                     Arch            Branch          Op         Remote            Download
 1. [✓] org.kde.Platform                       x86_64          5.14            u          flathub            2,1 MB / 323,1 MB
 2. [✓] org.kde.Platform.Locale                x86_64          5.14            u          flathub           16,7 kB / 337,0 MB
 3. [✓] org.qelectrotech.QElectroTech          x86_64          master          i          qet-devel         14,3 MB / 13,9 MB

Changes complete.

Enjoy ! nomicons/wink