Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Support flatpak/snaps/appimage packages for Linux installs #279

Closed
egraether opened this issue Jan 11, 2017 · 15 comments
Closed

Support flatpak/snaps/appimage packages for Linux installs #279

egraether opened this issue Jan 11, 2017 · 15 comments

Comments

@egraether
Copy link
Contributor

http://flatpak.org/

@st4ll1
Copy link
Contributor

st4ll1 commented Jan 23, 2017

since flatpak is not the only way to go maybe consider
http://snapcraft.io/
and
http://appimage.org/
too

@st4ll1 st4ll1 changed the title Support flatpak packages for Linux installs Support flatpak/snaps/appimage packages for Linux installs Jan 23, 2017
@probonopd
Copy link

probonopd commented Jan 25, 2017

Providing a Coati AppImage would be really easy. In fact I have generated one but since I am not sure whether it Coati is redistributable, I don't provide it for download. But you can generate your own on any 64-bit Ubuntu or debian system:

wget -c https://github.com/probonopd/AppImages/raw/master/recipes/meta/Recipe
bash Recipe Coati

The resulting AppImage should run on most 64-bit desktop distributions (not just Ubuntu and debian).

This file controls the AppImage conversion:
https://github.com/probonopd/AppImages/blob/master/recipes/meta/Coati.yml

@egraether
Copy link
Contributor Author

+1 via Slack
AppImage Docker sample: https://github.com/jeandet/CentOS_7_Qt_AppImage/blob/master/Dockerfile

@TTimo
Copy link
Contributor

TTimo commented Feb 1, 2019

A flatpak one would be nice, I think it's the most mature and generally supported solution.

@digitalcoyote
Copy link

I'd be willing to work on a flatpak package that could be published to FlatHub. I could hook it up to my AppVeyor account like I did with the chocolatey package. Linux Mint (my OS of choice) supports FlatHub as a default installation source so it would help me out personally as well to have it there.

Id be willing to assist with other formats that are supported across distributions as well (but it sounds like there be some making good progress on those already).

@probonopd
Copy link

@digitalcoyote didn't the AppImage work for you or do you have other reasons why you prefer a Flatpak?

@digitalcoyote
Copy link

@digitalcoyote didn't the AppImage work for you or do you have other reasons why you prefer a Flatpak?

Honestly, it's just what I'm used to using.

@egraether
Copy link
Contributor Author

@digitalcoyote If you want to work on a flatpak, please go for it! We have little expertise on which of these formats are better or worse. From this comparison it looks though that AppImage is more flexible and better compatible with older distributions.

@egraether
Copy link
Contributor Author

Finally took some time to look into this. I opted for AppImage, since it is recommended by the Qt docs and using linuxdeployqt made this pretty easy.

A beta version is already available here. I tested on Ubuntu 16.04 and 18.04, where it worked without issues. We plan to release this with our next major version, along with our usual download package. Please test and let me know if you experience any issues.

@probonopd
Copy link

probonopd commented Mar 26, 2020

Thanks @egraether. Works nicely on Xubuntu 18.04:

@egraether egraether added this to the 2020.1 milestone Mar 26, 2020
egraether added a commit that referenced this issue Mar 29, 2020
* Create AppImage package using linuxdeployqt in Travis CI
* Renamed appPath() to sharedDataPath()
* Fixed include error in tutorial
probonopd added a commit to AppImage/appimage.github.io that referenced this issue Apr 4, 2020
* Create Sourcetrail

CoatiSoftware/Sourcetrail#279 (comment)

* Add automatically parsed data (9159)
[ci skip]

Co-authored-by: Travis CI <[email protected]>
@bam80
Copy link
Contributor

bam80 commented Jul 14, 2020

Just for reference: "Can't update AppImage" #1055

@bam80
Copy link
Contributor

bam80 commented Jul 14, 2020

I'd be willing to work on a flatpak package that could be published to FlatHub.

@digitalcoyote have you had a chance to make it happen?

@digitalcoyote
Copy link

@bam80 I have not. It kept getting bumped down my priority list. I'll get to it eventually but if someone else wants to take a stab at it, I don't mind taking a step back

@bam80
Copy link
Contributor

bam80 commented Aug 18, 2020

@probonopd
Copy link

probonopd commented Aug 18, 2020

I have never tried it, but it is worth a try. Should be something along the lines of (actual paths may be slightly different, I typed this from memory)

mkdir -p appdir/usr/plugins/platformplugins/
cp /usr/lib/x86_64 /usr/plugins/platformplugins/qtwayland.so  appdir/usr/plugins/platformplugins/

# If you also want to deploy its dependencies, do something like this - but I don't think you want to bring Wayland libs to non-Wayland systems, so probably it's best NOT to do this
linuxdeployqt AppDir/usr/share/applications/sourcetrail.desktop -qmake=$Qt5_DIR/bin/qmake -ignore-glob=*python* -appimage -executable=appdir/usr/plugins/platformplugins/qtwayland.so

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants