Possible solution for Linux distribution problems

XnConvert Multi Platform - Windows, MacOSX, Linux
Post Reply
Danny
Posts: 560
Joined: Sat Sep 04, 2004 5:09 pm

Possible solution for Linux distribution problems

Post by Danny » Fri Jun 24, 2016 7:49 am

Since it's a lot of work to support all the different types of distros, have you considered using something like http://flatpak.org ? It allows you to package your software as a single file app that includes all its dependencies, so it's (largely) independent from the distro. So if it works on your PC, and you've included all the required stuff, it should run anywhere that Flatpak is supported.

Apps can be installed from GNOME Software, which is part of Fedora, Ubuntu, Arch, Mageia (Debian, openSUSE coming soon). I know Ubuntu has Snap, but since your .deb files usually work already while the RPMs are often broken, I'd suggest Flatpak. You're not loosing anything AFAIK.

Just a heads up. I'm currently running the Windows version through WINE, because neither the RPM version nor the TGZ one works for me on Fedora.
Last edited by Danny on Fri Jun 24, 2016 8:44 am, edited 1 time in total.
Get the bugs fixed, THEN start adding features. It sucks, but someone has to do it.

User avatar
xnview
Author of XnView
Posts: 30139
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Possible solution for Linux distribution problems

Post by xnview » Fri Jun 24, 2016 8:00 am

Danny wrote: Just a heads up. I'm currently running the Windows version through WINE, because neither the RPM version nor the TGZ one works for me on Fedora.
Fedora there is problem of glibc, do you have tried the fedora package?
Pierre.

Danny
Posts: 560
Joined: Sat Sep 04, 2004 5:09 pm

Re: Possible solution for Linux distribution problems

Post by Danny » Fri Jun 24, 2016 8:42 am

xnview wrote:
Danny wrote: Just a heads up. I'm currently running the Windows version through WINE, because neither the RPM version nor the TGZ one works for me on Fedora.
Fedora there is problem of glibc, do you have tried the fedora package?

Code: Select all

error while loading shared libraries: libQt5MultimediaWidgets.so.5: cannot open shared object file: No such file or directory
Probably because I don't have Qt installed. But I'm not interested in XnViewMP anyway, only XnConvert.
Get the bugs fixed, THEN start adding features. It sucks, but someone has to do it.

Danny
Posts: 560
Joined: Sat Sep 04, 2004 5:09 pm

Re: Possible solution for Linux distribution problems

Post by Danny » Fri Nov 03, 2017 12:50 pm

Bump. Any plans towards Flatpak (or something like it)? It's simple, really: http://flatpak.org/hello-world

thecursedfly
Posts: 1
Joined: Sun Nov 12, 2017 7:11 pm

Re: Possible solution for Linux distribution problems

Post by thecursedfly » Sun Nov 12, 2017 7:20 pm

Danny wrote:Bump. Any plans towards Flatpak (or something like it)? It's simple, really: http://flatpak.org/hello-world
I love this application and just switched to Fedora 27 from Windows, and for me both the rpm and the tgz don't work, so I also support the flatpak packaging :D

Just for the record, the rpm gives me the following error:
$ sudo dnf install XnConvert-linux.x86_64.rpm
Failed to synchronize cache for repo 'Dropbox', disabling.
Last metadata expiration check: 0:33:17 ago on Sun 12 Nov 2017 17:55:29 GMT.
Error:
Problem: conflicting requests
- nothing provides libQt5EglDeviceIntegration.so.5()(64bit) needed by xnconvert-1.75-2.x86_64

With the tgz the application launches but no characters can be seen.

Anyway, the flatpak option is likely the most (linux) universal and easiest to use! 8)

junker
Posts: 15
Joined: Tue May 30, 2017 3:07 pm

Re: Possible solution for Linux distribution problems

Post by junker » Wed Dec 13, 2017 2:46 pm

Same problem for me... it's really sad not to be able to use XnConvert on Fedora.

User avatar
xnview
Author of XnView
Posts: 30139
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Possible solution for Linux distribution problems

Post by xnview » Mon Jan 15, 2018 9:33 am

what is better? Flatpak, Appimage or Snapcraft?
Pierre.

User avatar
kewl
Posts: 6
Joined: Sun Oct 04, 2009 3:13 am

Re: Possible solution for Linux distribution problems

Post by kewl » Tue Jan 16, 2018 7:57 am

I recommend Appimage
  • You don't need any prerequisites for AppImage itself while for Flatpak you need to first install it.
  • It has been around for 14 years it will probably be still there 10 years from now, not sure about the 2 others.
  • Appimage is probably simpler and more limited than the competitors (no sandboxing with Appimage) but should be fine if you want to keep it simple.
Etcher is a popular USB writer using Appimage packaging, Krita as well.

Danny
Posts: 560
Joined: Sat Sep 04, 2004 5:09 pm

Re: Possible solution for Linux distribution problems

Post by Danny » Mon Mar 12, 2018 3:19 pm

xnview wrote:what is better? Flatpak, Appimage or Snapcraft?
Both Flatpak and Appimage are fine IMO. Problem with Snap is that the only (offical?) way to distribute them is the Ubuntu Snap Store unless you host your own. And again, the .deb release already works fine, but the .rpm one doesn't and the reason why I posted this in the 1st place was to get it to install easily across the board.

P.S.: Apparently there's already an XnViewMP AppImage recipe: https://github.com/AppImage/AppImages/b ... ViewMP.yml
Get the bugs fixed, THEN start adding features. It sucks, but someone has to do it.

Patrice.
Posts: 6
Joined: Sun Feb 25, 2018 1:35 am

Re: Possible solution for Linux distribution problems

Post by Patrice. » Tue Mar 13, 2018 12:01 pm

I have already some AppImage on my PC (Ubuntu-MATE 16.04 LTS) no need to download something special, no need to use the terminal.

IMO it's the most user friendly of those 3 type of pakaging system. (though never tried Snap)
Many softwares already use this packaging,
even Linus Torvalds found it "very cool" => https://plus.google.com/+LinusTorvalds/ ... yrATKUnmrS (maybe more as a programer ;) )

AppImage Download the software from anywhere, then just open the directory, right click on the executable file, then check the box "allow executing file as a program" => done,
double click and the software works straight out of the box, no special installation needed, it's all graphical (the right click to check the box)
want to remove the software? just throw the directory in the trash => Done, software removed
And you put the software where you want !!

I cannot speak much about the 2 others packging systems, but:

Flatpack, The first time i went to their website i downloaded a game, but it was not a game it was a file that pluma open with some code inside...
In the end i fugured out that you need to download flatpack itself (the thing which will make your apps working), then you download a file like com.the-software-I-wish.flatpakref which will download the software ... this is where i gave up, too much download thing to download that.

Snap ??? I saw few demo of Snap and even if it's simple they have used the terminal for their demo... and i never cross a snap application while surfing internet, so not a lot of snap online (it seems)

In the end it seems that snap and flatpack use a store alike, on the other hand with AppImage, any one who build his own AppImage just put it on his website and let people download a real software (I have 7 AppImage all working well and straight out of the box).

So yes IMHO i would recommend AppImage for its graphical simplicity (you JUST download and use the software) it is also portable, put on usb and open it on an other PC / or laptop

More (roughtly and old): https://www.fossmint.com/flatpak-appima ... hey-stack/
AppImage: https://appimage.org/ or https://github.com/AppImage/AppImageKit for developper
Flatpack: https://flatpak.org
Snap: https://snapcraft.io/

Danny
Posts: 560
Joined: Sat Sep 04, 2004 5:09 pm

Re: Possible solution for Linux distribution problems

Post by Danny » Tue Mar 13, 2018 5:28 pm

Well, the TGZ archive works very similarly (unpack, run xnview.sh) and you have to update the program yourself with Appimage, just like in Windows. There's no obvious choice IMO. Depends on what you want.
Get the bugs fixed, THEN start adding features. It sucks, but someone has to do it.

Patrice.
Posts: 6
Joined: Sun Feb 25, 2018 1:35 am

Re: Possible solution for Linux distribution problems

Post by Patrice. » Tue Mar 13, 2018 11:19 pm

Danny wrote:Well, the TGZ archive works very similarly (unpack, run xnview.sh) and you have to update the program yourself with Appimage, just like in Windows.
AppImage project does have some kind of update mechanism. See this:
https://github.com/AppImage/AppImageKit ... ate.AppDir

"AppImageUpdate lets you update AppImages in a decentral way using information embedded in the AppImage itself. No central repository is involved. This enables upstream application projects to release AppImages that can be updated easily. Since AppImageKit uses delta updates, the downloads are very small and efficient."

OK I didn't even try yet, and no idea how it works, though..
Danny wrote: There's no obvious choice IMO. Depends on what you want.
i agree with you, Sadly AppImage, Snap, Flatpack, instead of working together "to unify" things, they found a way to be different, like always..
BTW they are more "all distro" packaging on the way... :(

Patrice.
Posts: 6
Joined: Sun Feb 25, 2018 1:35 am

Re: Possible solution for Linux distribution problems

Post by Patrice. » Sat Mar 24, 2018 5:14 am

Ok I finally installed few snaps...
It's IMHO the worst of all those "unified" app, and i do prefer to download a .DEB and let synaptic install it for me.

With snap, ALL is CLI (use of terminal)!

when you want to save your work they all show you an antic UI from the 90s and the directories showed to save your work is by default home/user/snap/softwareName/xnumber?(like 2)/Desktop/ which confused me in the begining thinking it was on my real Desktop/ (i needed to use a search tool to find out where my file was saved)...


To remove the snapApp same as installing it all by CLI which means you need to know the original name which is often not the one in the menu for example the mountain-tapir snap... where in the menu it was written "Mountain Tapir Collage Maker", i needed to find back the original snap name when i installed it to be able to type the remove command...

Over all very disappointed with snap! (never again for me)

Plus i was "lucky" because my distro is an Ubuntu Flavor but for all other distro you need to install snapd where Ubuntu give a bunch of command for the major one only...
=> https://docs.snapcraft.io/core/install

snap is also based on a repository system, so you need your app store, and the download was a lot slower than usual here => https://snapcraft.io/search?q=photo

Below the very old UI to save your work, the 3 snaps i have installed have exactly the same look when it come to save or to open, and for sure no thumbnails are shown, only file type
Attachments
Screenshot at 2018-03-24 13-21-39.png
To open a file each time you need to go to file system and go up to the hierarchy up to your directory of pictures, EACH TIME!
Screenshot at 2018-03-24 12-46-24.png
To save your things, EACH TIME you are presented with the folder home/user/snap/software/(here it's)2/Desktop fake Desktop

Danny
Posts: 560
Joined: Sat Sep 04, 2004 5:09 pm

Re: Possible solution for Linux distribution problems

Post by Danny » Fri May 04, 2018 1:32 pm

There's https://flathub.org/ now, where you can publish your software, if you want. The configs are all hosted on Github, so all you have to do is fork the Flathub project, add your config and add a pull request. More details here: https://github.com/flathub/flathub/wiki/App-Submission

It's an easy and free way to make your software available on a wide range of Linux distros.
Get the bugs fixed, THEN start adding features. It sucks, but someone has to do it.

Post Reply