-
Notifications
You must be signed in to change notification settings - Fork 11
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
Make AppDir and AppImage the default for linux #95
Conversation
Add AppDir files to the tarball so that is possible to run. Create an AppImage to get an all-in-one similar to the dmg.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: afbjorklund The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@medyagh can we test this, to see if the |
No such luck: So we need to download and install it, I suppose... curl -LO https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
sudo install linuxdeployqt-continuous-x86_64.AppImage /usr/local/bin/linuxdeployqt |
Unfortunately jurplel/install-qt-action only installs macdeployqt and windeployqt, but not linuxdeployqt... Keep it simple and just `curl` and `sudo install` it, but do keep a copy around in the cache for next run.
@medyagh try again ? added a commit to install the missing |
The Linux pipeline will not work in this environment. There is a problem with running the .AppImage directly:
You can install
It is mostly about some bundled libraries and helpers: # linuxdeployqt --appimage-extract
squashfs-root/.DirIcon
squashfs-root/AppRun
squashfs-root/linuxdeployqt.desktop
squashfs-root/linuxdeployqt.svg
squashfs-root/usr
squashfs-root/usr/bin
squashfs-root/usr/bin/appimagetool
squashfs-root/usr/bin/desktop-file-validate
squashfs-root/usr/bin/linuxdeployqt
squashfs-root/usr/bin/patchelf
squashfs-root/usr/bin/qt.conf
squashfs-root/usr/bin/zsyncmake
squashfs-root/usr/lib
squashfs-root/usr/lib/appimagekit
squashfs-root/usr/lib/appimagekit/mksquashfs
squashfs-root/usr/lib/libQt5Core.so.5
squashfs-root/usr/lib/libglib-2.0.so.0
squashfs-root/usr/lib/libicudata.so.55
squashfs-root/usr/lib/libicui18n.so.55
squashfs-root/usr/lib/libicuuc.so.55
squashfs-root/usr/lib/libpcre.so.3
squashfs-root/usr/share
squashfs-root/usr/share/doc
squashfs-root/usr/share/doc/libglib2.0-0
squashfs-root/usr/share/doc/libglib2.0-0/copyright
squashfs-root/usr/share/doc/libicu55
squashfs-root/usr/share/doc/libicu55/copyright
squashfs-root/usr/share/doc/libpcre3
squashfs-root/usr/share/doc/libpcre3/copyright
squashfs-root/usr/share/doc/qt59base
squashfs-root/usr/share/doc/qt59base/copyright
squashfs-root/usr/translations But if you do extract it, then it doesn't work with ubuntu:22.04
So it would require the runner to be downgraded to ubuntu:20.04 |
ping @medyagh @spowelljr |
@afbjorklund is the test/build happy now? |
Looks happy: Was just to
Running the
|
There is some extra file though, "Minikube--x86_64.AppImage" - it looks like some kind of leftover I think it was supposed to have the version in the filename but it looks like |
not sure, can we merge this PR now ? |
It seems like VERSION is not set for the PR, but only for the release builds - should be OK to merge If required, extra code added to the GHA workflow to calculate something like |
This comment was marked as resolved.
This comment was marked as resolved.
aff553d
to
760c5ea
Compare
Being set in the environment as QT_STYLE_OVERRIDE=adwaita or QT_STYLE_OVERRIDE=adwaita-dark, in order to get the theme. Users with high resolution screens might also need to set QT_AUTO_SCREEN_SCALE_FACTOR=1 in order to see the icons.
760c5ea
to
701732b
Compare
Linux looks good now.
|
Add AppDir files to the tarball so that is possible to run.
AppRun .DirIcon minikube-gui minikube-gui.desktop minikube.png usr/
Create an AppImage to get an all-in-one similar to the dmg.
minikube-gui-linux.AppImage
Closes #49
Uses:
See also: