-
-
Notifications
You must be signed in to change notification settings - Fork 201
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 package #3
Comments
Edit 2020: An AppImage for testing is available now at: |
Thanks guys, I will definitely package it as an AppImage to make it available and usable in every distro. |
This comment has been minimized.
This comment has been minimized.
@probonopd Does this work with Vala and CMake apps as well? I'm not using Qt anymore. |
This comment has been minimized.
This comment has been minimized.
Hi @probonopd, I'm trying to build an AppImage for Akira but it keeps failing. |
By default is installing old versions of the required dependencies.
Is there a way to specify an updated or specific version during the |
This comment has been minimized.
This comment has been minimized.
@probonopd I'm adding all the necessary PPAs and travis seems to install everything correctly, but the process exits with this error:
The icon is there and I'm copying everything. Do you know how I can troubleshoot this? |
@Alecaddd smells like this might be a |
There you go: Thanks for taking the time to check this |
This comment has been minimized.
This comment has been minimized.
Thanks for checking, be sure to build off of the |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Lowered the target to |
This comment has been minimized.
This comment has been minimized.
Oh wow, that's a good sign! EDIT: I saw you linked the travis file in the comment. I'll use that. Thank you so much! 👍 |
Ok, I'm getting super excited about this!
Cheers |
This comment has been minimized.
This comment has been minimized.
Look at the Bash script that I used to build Ricin when I was developing it. It's Vala/Gtk+3 based so you should have minor tweaks to apply :) https://github.com/RicinApp/Ricin/blob/master/appimage.sh |
@SkyzohKey this is a very manual way of doing things; in the meantime, using linuxdeployqt may be an easier route - although I haven't tried it on Vala/Gtk+3 apps specifically so far. |
@probonopd Yeah but this project is no longer Qt driven. If I understand correctly it's now 100% GTYK+3/Vala. And the file you made for Ricin should be simple to adapt to Akira' usecase :) EDIT: nvm, linuxdeployqt looks promising, great work guy! |
This comment has been minimized.
This comment has been minimized.
Hi ! |
That looks like it's supposed to. |
Tested on Ubuntu 18.04. I stumbled upon a single issue which it doesn't happen with the native elementary app.
I don't know if this is related to Appimage or something sketchy going on with my code. |
Tried with i3wm. basic basic functionality works, but there is a black gap between the window and the app. single.zip test failed at 3rd step. App crashed. $ ./Akira-c12e816-x86_64.AppImage
Run experimental self-contained bundle
(Akira:19057): dbind-WARNING **: 09:41:55.821: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(Akira:19057): Gtk-WARNING **: 09:42:22.689: gtk_widget_size_allocate(): attempt to allocate widget with width -636 and height 16
(Akira:19057): Gtk-WARNING **: 09:46:38.409: gtk_widget_size_allocate(): attempt to allocate widget with width -636 and height 16
(Akira:19057): Gtk-WARNING **: 09:46:38.431: gtk_widget_size_allocate(): attempt to allocate widget with width -636 and height 16
(Akira:19057): GLib-CRITICAL **: 09:47:37.021: g_variant_new_string: assertion 'string != NULL' failed
(Akira:19057): GLib-CRITICAL **: 09:47:37.021: g_variant_ref_sink: assertion 'value != NULL' failed
(Akira:19057): GLib-GIO-CRITICAL **: 09:47:37.021: g_settings_schema_key_type_check: assertion 'value != NULL' failed
(Akira:19057): GLib-CRITICAL **: 09:47:37.021: g_variant_get_type_string: assertion 'value != NULL' failed
(Akira:19057): GLib-GIO-CRITICAL **: 09:47:37.021: g_settings_set_value: key 'export-folder' in 'com.github.akiraux.akira' expects type 's', but a GVariant of type '(null)' was given
(Akira:19057): GLib-CRITICAL **: 09:47:37.021: g_variant_unref: assertion 'value != NULL' failed
(Akira:19057): Gtk-CRITICAL **: 09:47:37.078: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(Akira:19057): Gtk-CRITICAL **: 09:47:37.078: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(Akira:19057): Gtk-CRITICAL **: 09:47:37.078: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(Akira:19057): Gtk-CRITICAL **: 09:47:37.078: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(Akira:19057): Gtk-CRITICAL **: 09:47:37.078: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(Akira:19057): Gtk-CRITICAL **: 09:47:37.078: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(Akira:19057): Gtk-CRITICAL **: 09:47:37.078: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(Akira:19057): Gtk-CRITICAL **: 09:47:37.090: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(Akira:19057): Akira-ERROR **: 09:47:56.191: ExportManager.vala:509: Unable to export images: Failed to open “/Untitled.png” for writing: Permission denied
Trace/breakpoint trap
|
This seems to be a known issue which appears when no AppImage is involved as well:
Not sure at all what is going on there or how this might be related to AppImage, maybe someone with gdb skills can find out? |
I might be able to solve this with the next release as I'm removing a bunch of annoying GTK Warnings when opening the export dialog. That might be related to the crash. |
Maybe we need to export |
@probonopd I just released |
Thanks @Alecaddd. New build is up: |
This works perfectly for me, no more crashes! |
You would not believe where I got this running. Actually I was shocked to see this work 💯 Yes, what you are seeing here is the content of the AppImage running on... FreeBSD. Caveats: Some steps are currently needed to be done manually.
|
Yes. Sadly I have not found a good way to fix this. It happens only on some host systems. We need someone who understands what Gtk is doing here and why... this seems to be an issue that also exists outside of the AppImage world. |
Does Akira draw a semi-transparent shadow around the window? Is that what the black area is? |
This is related with i3wm. I see this error in many other issues in other apps, always related with i3. |
I've tried to put the code below in .window-frame {box-shadow: none; margin: 0;} |
Yes, I have also not found a solution for this yet but it seems to also occur outside of the AppImage world. Maybe we need a Gtk expert here. |
So I downloaded probonopd's appimage and tried to fix the problem with that black box around the window and it seems to be the problem with the elementary theme. I unpacked the appimage and them ran it using some other themes such as Adwaita, Qogir-light and Greybird and not a single one of them had the that black box so it seems like the elementary theme is broken. After that by randomly removing .css files from elementary theme directory I found out that the problem comes from file called gtk-widgets.css, to make sure that that is the case I replaced that file with the gtk-widgets.css from Qogir-light theme and the black box seems to be gone, however this really is not a fix since now it looks like a real frankenstein theme. Because I dont have any knowledge with making gtk themes I could not really find a solution, however for the time being a temporary fix would be to use some other theme for the appimage like Adwaita or Adelementary theme which actually looks simiplar to the elementary theme |
Thanks for your analysis. Maybe we can nail it further down to something particular inside Maybe @danrabbit knows what might be causing this thick black extra border that appears on some systems? |
I just tried https://github.com/probonopd/Akira/releases/download/continuous/Akira-26-x86_64.AppImage and everything works as expected: So this is not akira related but i3wm and elementary theme related. I suggest to open an issue on those projects to track that. In any case, this issue is done (there's an akira appimage package) Anyone see a reason to keep this issue open here? |
Yes, https://github.com/akiraux/Akira/releases/download/continuous/ does not have an AppImage yet. Sending a PR. |
Ok. For the black box I just open elementary/stylesheet#843 About appimage, the issue itself makes then sense, but not to resolve it here. Is there any possibility of generate the appimage externally? Doesn't make much sense to me to keep the appimage setup here, as we are not experts on appimage, so can only blindy accept changes. As an example this is the repo that keeps the flatpak setup for akira (external): https://github.com/flathub/com.github.akiraux.akira Again @Alecaddd will know better. |
Although it would be possible, it would hardly make any sense to do so. Please see my comments in the pull request. |
Maintainers of this project asking "have no idea" "something must be wrong with appimage" Here is not the place to maintain the appimage. That is out of question. appimage workflow:
Why do we plan releases if run from master is ok? Is master the new stable? Seriously I tried to explain it several times. This shouldn't be maintained here. |
Once AppImage creation works, it is zero-maintenance. An AppImage will get built for each For regular users, "normal" releases can still be made. The point of continuous builds is to be able to see immediately if something was broken in the software by a commit, so that it can be reverted immediately back to a working state. According to Wikipedia,
In my own software, I only produce continuous builds and no releases at all anymore. But no one is asking Akira to do the same ;-) |
There's nothing that costs 0 maintenance |
That same AppImage from 2020, this time running on a helloSystem developer machine. This operating system is FreeBSD based and is using the built-in Linuxulator. Talk about portability ;-) |
Look forward to using your app once it comes out as i'm currently using balsamiq and pencil for UI designing and would suggest that you package it as an appimage to ensure it easily runnable on any linux distro.
https://github.com/AppImage/AppImageKit
The text was updated successfully, but these errors were encountered: