Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create AppImage package #286

Closed
szszszsz opened this issue Nov 3, 2017 · 17 comments
Closed

Create AppImage package #286

szszszsz opened this issue Nov 3, 2017 · 17 comments
Assignees
Labels
invalid Not strictly a bug or enhancement from project's POV packaging prio:high
Milestone

Comments

@szszszsz
Copy link
Member

szszszsz commented Nov 3, 2017

Create AppImage package for App distribution on long release cycle OSes.
Similar to #114

@szszszsz szszszsz added invalid Not strictly a bug or enhancement from project's POV packaging labels Nov 3, 2017
@probonopd
Copy link

Check out the examples for how to use linuxdeployqt on Travis CI, specifically:

@szszszsz szszszsz added this to the 1.3 milestone Jan 10, 2018
@FrostKnight
Copy link

I look forward to 1.3! I wonder when that is coming out... :)

@dragon788
Copy link

I would love to see this so I can simply put the AppImage on the unencrypted partition of my Nitrokey storage and be able to open it on most distributions as it is simply a binary at that point. No needing to change the state of the system (adding PPA/snapd/etc) just to access my files.

I may take a whack at it if I get a chance between other projects.

@probonopd
Copy link

I would love to see this so I can simply put the AppImage on the unencrypted partition of my Nitrokey storage and be able to open it on most distributions as it is simply a binary at that point. No needing to change the state of the system (adding PPA/snapd/etc) just to access my files.

Great use case! 👍

szszszsz added a commit that referenced this issue Mar 21, 2018
Needed for creating AppImage structure.
Issue #286

Signed-off-by: Szczepan Zalega <[email protected]>
@szszszsz szszszsz self-assigned this Mar 21, 2018
szszszsz added a commit that referenced this issue Mar 22, 2018
Allow prefixed QMake install for #286
szszszsz added a commit to Nitrokey/nitrokey-app.build that referenced this issue Mar 29, 2018
Unify build way between other images
Save build out of the current directory
Add QtSvg requirement for v1.3
Allow to build chosen branch

Issue Nitrokey/nitrokey-app#286

Signed-off-by: Szczepan Zalega <[email protected]>
@szszszsz
Copy link
Member Author

Hi! I have uploaded AppImage for v1.3-beta.1 to the release's download page. It was built on Ubuntu 16.04.4 LTS inside Docker container. It should be possible to build exactly the same binary using a builder located in nitrokey-app.build project (work in progress).

@probonopd
Copy link

Thank you @szszszsz. Can you please build on Ubuntu 14.04.x? That is currently the oldest still-supported LTS release, and it's required that AppImages run on Ubuntu 14.04.x in order to be included in AppImageHub. See https://github.com/probonopd/linuxdeployqt/ for examples on how to do this while still using new versions of Qt.

@szszszsz
Copy link
Member Author

Actually, the issue is with requiring GCC 5.0+ compiler (C++14 to be specific), which 14.04 is not providing as far as I remember. I can install newer, as one does with Travis CI, but have not tested this yet. Do you know any success stories?

@probonopd
Copy link

If you install a newer (C++14) compiler on 14.04, then it pulls in a newer libstdc++, which creates trouble if not handled properly. Luckily we have a solution for that: https://github.com/AppImage/AppImageKit/wiki/Creating-AppImages#libstdcso6

@szszszsz
Copy link
Member Author

Updated release page with new build, done on Ubuntu 14.04: link.
Made using modified previous builder: nitrokey-app.build/support_14.04.
Feedback welcomed!

@probonopd
Copy link

Thanks. Triggered a re-run of the test.

@probonopd
Copy link

Looks like it is working. I think the 16.04 one can be deleted, since it is no longer needed.

@probonopd
Copy link

Possibly graphics are missing, please make sure you are loading them from a location relative to the main executable, e.g., using QString QCoreApplication::applicationFilePath() .

icons

@FrostKnight
Copy link

FrostKnight commented Mar 30, 2018 via email

@szszszsz
Copy link
Member Author

szszszsz commented Apr 4, 2018

Thank you for the test and feedback!

@FrostKnight Great! Quite interesting distro - how is it named?
@probonopd This is probably some kind of QtSvg library dependency, which is missing on 14.04 (we switched to SVG format lately). The graphics binaries themselves are integrated into binary (via Qt resources). Could you share how the test was conducted? Are you running the binary on a VM with 14.04?

@FrostKnight
Copy link

FrostKnight commented Apr 4, 2018 via email

@probonopd
Copy link

Are you running the binary on a VM with 14.04?

Yes. The test is running on a 14.04 machine on Travis CI, using this script.

@szszszsz
Copy link
Member Author

szszszsz commented Apr 9, 2018

Closing as the initial task is mostly finished. Moving support for Svg images on 14.04 to a separate issue - will be provided later, after the release. Issue: #340.

Edit: AppImage binaries should be available for each version from releases page from now on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Not strictly a bug or enhancement from project's POV packaging prio:high
Projects
None yet
Development

No branches or pull requests

4 participants