Silaty icon indicating copy to clipboard operation
Silaty copied to clipboard

Appimage, please.

Open abdullahezzat1 opened this issue 4 years ago • 13 comments

I'm using red hat enterprise linux 8. It doesn't have any of the dependencies, and snap is too heavy to use.

It would be great to have an appimage version of this.

Thanks.

abdullahezzat1 avatar Feb 18 '21 15:02 abdullahezzat1

What about the snap package, have you tried it?

AXeL-dev avatar Feb 19 '21 20:02 AXeL-dev

Yes, I tried it. It was working and it crashes after updating.

I try to avoid using snaps in general because they are heavier than original packages.

abdullahezzat1 avatar Feb 19 '21 21:02 abdullahezzat1

Okay, i'll try to find some time to setup & test the AppImage. @xlmnxp may i ask you for some help :pray: ?

Edit: @abdullahezzat1 this may take some time since i'm busy those days, have you try manual installation? Find below the list of dependencies that you might need to install manually.

https://github.com/LinuxForGeeks/Silaty/blob/228968a478e223b043a83897105297834965b7a7/debian/control#L10

AXeL-dev avatar Feb 20 '21 09:02 AXeL-dev

@abdullahezzat1 Can you try the following AppImage Silaty-1.4-x86_64.AppImage.

AXeL-dev avatar Mar 06 '21 14:03 AXeL-dev

Okay, i'll try to find some time to setup & test the AppImage. @xlmnxp may i ask you for some help 🙏 ?

Edit: @abdullahezzat1 this may take some time since i'm busy those days, have you try manual installation? Find below the list of dependencies that you might need to install manually.

https://github.com/LinuxForGeeks/Silaty/blob/228968a478e223b043a83897105297834965b7a7/debian/control#L10

Snapcraft sent security alert and asked me to "trigger new build" I did that but application cannot work, I searched few weeks to found what is the issue but I couldn't

xlmnxp avatar Mar 06 '21 14:03 xlmnxp

Snapcraft sent security alert and asked me to "trigger new build" I did that but application cannot work, I searched few weeks to found what is the issue but I couldn't

When did you receive the security alert? & what was the content/purpose of the security alert? is it a vulnerable dependency or something else?

AXeL-dev avatar Mar 06 '21 14:03 AXeL-dev

I got this error:

Traceback (most recent call last): File "/tmp/.mount_SilatyfYzw1Y///usr/local/bin/silaty-indicator", line 13, in gi.require_version('Gtk', '3.0') File "/tmp/.mount_SilatyfYzw1Y/usr/lib/python3/dist-packages/gi/init.py", line 130, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Gtk not available

abdullahezzat1 avatar Mar 06 '21 14:03 abdullahezzat1

I got this error:

Traceback (most recent call last): File "/tmp/.mount_SilatyfYzw1Y///usr/local/bin/silaty-indicator", line 13, in gi.require_version('Gtk', '3.0') File "/tmp/.mount_SilatyfYzw1Y/usr/lib/python3/dist-packages/gi/init.py", line 130, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Gtk not available

:thinking: what is your distro? can you remind me please? i guess Redhat, but i need to know the exact release number.

AXeL-dev avatar Mar 06 '21 14:03 AXeL-dev

Oracle Linux 8.3 (redhat compatible)

abdullahezzat1 avatar Mar 06 '21 14:03 abdullahezzat1

I got this error:

Traceback (most recent call last): File "/tmp/.mount_SilatyfYzw1Y///usr/local/bin/silaty-indicator", line 13, in gi.require_version('Gtk', '3.0') File "/tmp/.mount_SilatyfYzw1Y/usr/lib/python3/dist-packages/gi/init.py", line 130, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Gtk not available

Okay, i just tried on a VM & got a similar issue:

image

Both issues seems to be related to missing dependencies, so i guess that i'll have to rebuild the AppImage on a new machine & see if i can fix the dependencies issues (but this will have to wait for later, i spent the last night working on this & i prefer to take a break now, sorry :pray:).

You can still try to do a manual installation after manually installing the dependencies, below the dependencies list (from both snap & appimage configs):

https://github.com/LinuxForGeeks/Silaty/blob/5a4dc138752c8cd6ce85657ed85b511bb27acaa8/snap/snapcraft.yaml#L19-L32

https://github.com/LinuxForGeeks/Silaty/blob/5a4dc138752c8cd6ce85657ed85b511bb27acaa8/AppImageBuilder.yml#L38-L59

AXeL-dev avatar Mar 06 '21 15:03 AXeL-dev

I'll give it a try.

abdullahezzat1 avatar Mar 06 '21 15:03 abdullahezzat1

Snapcraft sent security alert and asked me to "trigger new build" I did that but application cannot work, I searched few weeks to found what is the issue but I couldn't

When did you receive the security alert? & what was the content/purpose of the security alert? is it a vulnerable dependency or something else?

I got 2 first on 19/02/2021

A scan of this snap shows that it was built with packages from the Ubuntu
archive that have since received security updates. The following lists new
USNs for affected binary packages in each snap revision:

Revision r6 (armhf; channels: stable, candidate, beta, edge)
 * libssl1.1: 4738-1

Revision r7 (amd64; channels: stable, candidate, beta, edge)
 * libssl1.1: 4738-1

Revision r8 (i386; channels: stable, candidate, beta, edge)
 * libssl1.1: 4738-1

Revision r9 (arm64; channels: stable, candidate, beta, edge)
 * libssl1.1: 4738-1

Simply rebuilding the snap will pull in the new security updates and
resolve this. If your snap also contains vendored code, now might be a
good time to review it for any needed updates.

Thank you for your snap and for attending to this matter.

References:
 * https://ubuntu.com/security/notices/USN-4738-1/

second on 26/02/21

A scan of this snap shows that it was built with packages from the Ubuntu
archive that have since received security updates. The following lists new
USNs for affected binary packages in each snap revision:

Revision r6 (armhf; channels: stable, candidate, beta, edge)
 * libpython3.6-minimal: 4754-1
 * libpython3.6-stdlib: 4754-1
 * libtiff5: 4755-1
 * python3.6: 4754-1
 * python3.6-minimal: 4754-1

Revision r7 (amd64; channels: stable, candidate, beta, edge)
 * libpython3.6-minimal: 4754-1
 * libpython3.6-stdlib: 4754-1
 * libtiff5: 4755-1
 * python3.6: 4754-1
 * python3.6-minimal: 4754-1

Revision r8 (i386; channels: stable, candidate, beta, edge)
 * libpython3.6-minimal: 4754-1
 * libpython3.6-stdlib: 4754-1
 * libtiff5: 4755-1
 * python3.6: 4754-1
 * python3.6-minimal: 4754-1

Revision r9 (arm64; channels: stable, candidate, beta, edge)
 * libpython3.6-minimal: 4754-1
 * libpython3.6-stdlib: 4754-1
 * libtiff5: 4755-1
 * python3.6: 4754-1
 * python3.6-minimal: 4754-1

Simply rebuilding the snap will pull in the new security updates and
resolve this. If your snap also contains vendored code, now might be a
good time to review it for any needed updates.

Thank you for your snap and for attending to this matter.

References:
 * https://ubuntu.com/security/notices/USN-4754-1/
 * https://ubuntu.com/security/notices/USN-4755-1/

xlmnxp avatar Mar 06 '21 18:03 xlmnxp

Thanks @xlmnxp, i'll try to look at this once i get some time, i'm also thinking to add a Flathub package :bulb:.

AXeL-dev avatar Mar 06 '21 18:03 AXeL-dev