-
Notifications
You must be signed in to change notification settings - Fork 51
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
AppImage #212
base: master
Are you sure you want to change the base?
AppImage #212
Conversation
An AppImage is available for testing at https://github.com/probonopd/sk1-wx/releases/tag/continuous. Here the AppImage is running on Xubuntu 18.04: |
- cd .. | ||
- wget -c -nv "https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64" -O ./appdir/AppRun ; chmod +x ./appdir/AppRun | ||
- cp appdir/usr/lib/sk1-wx-*/sk1/share/icons/generic/sk1-icon-64x64.png appdir/sk1.png | ||
# FIXME: Icon naming in appdir/usr/share probably still broken |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# FIXME: Icon naming in appdir/usr/share probably still broken
Think, this would be fixed before stable release of sK1 v2.0
(in one-two months)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some fine-tuning is expected to still be needed, so please test it carefully.
So, could I merge it just now?
Closes #86
FTR, @probonopd, how to disable Travis CI e-mail notifications in .travis.yml
?
Please try my example AppImage; if it works for you it can imho be merged. I don’t know about Travis CI mail notifications |
OK, will test it in next 48 hours 😉
BTW, I just found how to disable it:
|
@probonopd great job! Hope this will resolve gtk3 related issue for latest distros versions. Gnome devs break UI of complex apps supporting tablet features. We cannot merging this PR into sk1-wx:master because this destroys package build for Linux and Windows (bbox.py is removed). But I will refactor provided .travis.yml as a special routing inside build-box (box.py) to build AppImage in xenial or trusty docker image. |
Is there a bug report in the Gtk 3 project about this? |
No Docker needed. Just make Travis CI use a separate builder for the AppImage. |
@probonopd Docker is a most preferable because building environment will be constant any way. Even we change base distro image. Also as you see in yml we build packages from a fork updating to upstream. In such case .travis.yml will have no effect. Therefore changes in bbox.py is better. |
If you can make it work, good. For me it was just more straightforward without Docker. |
@probonopd I have checked a build and found missing following deps:
Is this an issue or AppImage somehow resolves the problem? |
Not sure what exactly you mean by this but the AppImage is currently shipping private copies of the following libraries inside the AppImage:
(corrected below) |
@probonopd yep, ImageMagick and related libs are absent (tiff, jpeg etc). This will be problem because some distros have migrated to ImageMagick7 where as sk1 build on xenial uses ImageMagick6. Also there is no special libs for pango to support thai and other Eastern scripts. I think the best solution is to build lib bundle from scratch on Ubuntu 14.04 and use it for AppImage build. We have done such job for macOS version so this will be not a complex issue. Another question: why AppImage build adds Qt5 libs? Are they needed for AppImage functionality? Because sk1-wx has no bindings to Qt. |
I made a mistake above. Actually it is:
|
Hi |
Please elaborate. |
I execute the file but nothing happened, Not even an error message |
Did you run it on the command line? If no, please do that and watch for errors. Please note that your distribution is not one we are explicitly targeting. |
guest@porteus: |
Do you have |
I installed python2 then there is this error guest@porteus: |
We are bundling a minimal Python 2 inside the AppImage. The one on the system should not matter. Apparently this is not working for you and I am wondering why. However, Porteus is some Slackware fork and we are not supporting this officially. Please try on a mainstream distribution such as Ubuntu, Fedora, openSUSE. |
Didn't work on Debian too
|
I tried several ( Appimages ) on Debian and all worked fine. |
Possibly. Can you debug a bit more and find out what exactly is going wrong? |
I wish I could, but I am a designer not a programmer. |
Yes, we need someone who has the time to test and debug this. |
This PR, when merged, will compile this application on Travis CI upon each
git push
, and upload an AppImage to your GitHub Releases page.Providing an AppImage would have, among others, these advantages:
appimaged
--appimage-extract
parameterHere is an overview of projects that are already distributing upstream-provided, official AppImages.
PLEASE NOTE: For this to work, you need to set up
GITHUB_TOKEN
in Travis CI for this to work; please see https://github.com/probonopd/uploadtool.If you have questions, AppImage developers are on #AppImage on irc.freenode.net.