Skip to content

Please provide AppImage #1835

Open
Open

Description

@vitaly-zdanevich

So it will have dependencies inside. I feel uncomfortable installing all of this

[ebuild  N     ] mate-base/mate-common-1.28.0 
[ebuild  N     ] app-text/docbook-sgml-dtd-3.0-r5 
[ebuild  N     ] app-text/docbook-dsssl-stylesheets-1.79-r4 
[ebuild  N     ] app-eselect/eselect-notify-send-0.1 
[ebuild  N     ] dev-perl/XML-NamespaceSupport-1.120.0-r1  USE="-test" PERL_FEATURES="(-debug) -ithreads -quadmath" 
[ebuild  N     ] dev-perl/XML-SAX-Base-1.90.0-r1  USE="-test" PERL_FEATURES="(-debug) -ithreads -quadmath" 
[ebuild  N     ] dev-libs/libatasmart-0.19_p5  USE="-static-libs" 
[ebuild  N     ] dev-perl/XML-SAX-1.20.0-r2  USE="-test" PERL_FEATURES="(-debug) -ithreads -quadmath" 
[ebuild  N     ] dev-perl/XML-SAX-Expat-0.510.0-r3  USE="-test" PERL_FEATURES="(-debug) -ithreads -quadmath" 
[ebuild  N     ] dev-perl/XML-Simple-2.250.0-r1  USE="-test" PERL_FEATURES="(-debug) -ithreads -quadmath" 
[ebuild  N     ] x11-misc/icon-naming-utils-0.8.90-r2 
[ebuild  N     ] dev-libs/libbytesize-2.11  USE="-doc -python -test -tools" PYTHON_TARGETS="python3_13 -python3_11 -python3_12" 
[ebuild  N     ] sys-fs/cryptsetup-2.7.5-r1  USE="argon2 nls openssl udev -fips -gcrypt -kernel -nettle -passwdqc -pwquality -ssh -static -static-libs -test -urandom" 
[ebuild  N     ] sys-libs/libnvme-1.12-r1  USE="dbus json ssl -io-uring -keyutils -python -test" PYTHON_TARGETS="python3_13 -python3_11 -python3_12 (-python3_13t)" 
[ebuild  N     ] dev-util/gtk-doc-1.33.2-r2  USE="-emacs -test" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12" 
[ebuild  N     ] sys-libs/libblockdev-3.3.1  USE="cryptsetup nvme tools -device-mapper -escrow -gtk-doc -introspection -lvm -python -smart -test" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12" 
[ebuild  N     ] x11-themes/mate-icon-theme-1.28.0 
[ebuild  N     ] sys-fs/udisks-2.10.1-r4  USE="acl daemon elogind introspection nls -debug -lvm (-selinux) (-systemd)" 
[ebuild  N     ] mate-base/mate-desktop-1.28.2  USE="X introspection -debug -startup-notification" 
[ebuild  N     ] x11-misc/notification-daemon-3.20.0-r1 
[ebuild   R    ] gnome-base/gvfs-1.52.3-r2  USE="udisks*" 
[ebuild  N     ] virtual/notification-daemon-0  USE="-gnome -kde" 
[ebuild  N     ] x11-libs/libnotify-0.8.6  USE="introspection -gtk-doc -test" 
[ebuild  N     ] mate-base/caja-1.28.0-r2  USE="introspection mate nls -xmp" 

Activity

  1. lukefromdc commented on Jun 23, 2025

    @lukefromdc
    Member
  2. vitaly-zdanevich commented on Jun 24, 2025

    @vitaly-zdanevich
    Author

    @ivan-hc hi, if you want to help

  3. ivan-hc commented on Jun 24, 2025

    @ivan-hc

    Hi, @vitaly-zdanevich you may want to play with this https://github.com/ivan-hc/AppImaGen

    Please see the README before you proceede.

  4. cwendling commented on Jun 24, 2025

    @cwendling
    Member

    I don't get this, why don't you want your distribution to manage dependencies? It avoids having several, potentially outdated, versions of the same thing that could be shared. Sure, things like AppImage make it easy to distribute self-contained, distro-agnostic binaries, but I don't see this as a mean not to have the distro manage dependencies, but to ease installing software that might not be part of the distro (or a newer version).

    Also, for something like Caja, I would question whether it allows the expected integration with other MATE components, especially the session.

    This said, as long as it's not becoming a burden on MATE, I actually don't care :)

    All this said, and while I don't know what I believe is Gentoo, but possibly you can avoid some dependencies, like the ones marked test? Like disable it through USE or something.

  5. ivan-hc commented on Jun 24, 2025

    @ivan-hc

    @vitaly-zdanevich just contacted a friend that is better than me in creating AppImages, its solutions are ways better than mine: @Samueru-sama

    Stay tuned

  6. ivan-hc commented on Jun 24, 2025

    @ivan-hc

    I have found this PPA, I don't know if this is an official one

    https://launchpad.net/~ubuntu-mate-dev/+archive/ubuntu/fresh-mate

    I used my AppimaGen tool to convert caja in Appimage using Ubuntu "focal" 20.04 as a base and ubuntu-mate-dev/fresh-mate and I got an error because the .desktop file is not complete,. lacks of "Categories=" entry in the .desktop file

    Image

    This is the script created by this tool (I had to rename is as .txt to upload it here)

    caja-builder.sh.txt

    I'm going to test this using Debian as a base, maybe the issue come from the PPA only

  7. ivan-hc commented on Jun 24, 2025

    @ivan-hc

    I'm going to test this using Debian as a base, maybe the issue come from the PPA only

    Same issue, the .desktop file lack of a Categories= entry

  8. vitaly-zdanevich commented on Jun 24, 2025

    @vitaly-zdanevich
    Author

    why don't you want your distribution to manage dependencies?

    Do not want to install so many dependencies. And sometimes we have dependency conflicts - when software X needs a dependency version 2 and software Y needs a dependency verion 3. AppImage is a good backup option also, when dependencies already broken/conflicting.

  9. vitaly-zdanevich commented on Jun 24, 2025

    @vitaly-zdanevich
    Author

    Also, for something like Caja, I would question whether it allows the expected integration with other MATE components, especially the session.

    This said, as long as it's not becoming a burden on MATE, I actually don't care :)

    Many users without Mate want to try Caja.

  10. ivan-hc commented on Jun 24, 2025

    @ivan-hc

    I retried with my new changes in AppImaGen, and this time I got an error because the icon is missing. This is how my script checks and finds the icon

    # ICON
    ICONNAME=$(cat "$APPIMAGE_DIR"/*desktop | grep "Icon=" | head -1 | cut -c 6- | sed 's/.png$//g; s/.svg$//g')
    ICON=$(find "$APPIMAGE_DIR" -type f -name *"$ICONNAME".png -o -name *"$ICONNAME".svg ! -type l | sort -V | tail -1)
    cp -r "$ICON" "$APPIMAGE_DIR"/ 2>/dev/null
    

    ...it gets the info from the .desktop file.

    And Caja uses the generic system-file-manager, because it has not a proper icon (at least this is what come out by reading the .desktop file). May this be an issue of the PPA or is the default in Caja?

    EDIT: again, the scipt I used for my last test

    caja-builder.sh.txt

    ...I'm testing the waters to see if there are any problems, while my friend is unavailable to work on his package.

    In the meantime I will try to improve AppImaGen to fix the shortcomings of the apps to be created, and Caja is good for testing these gaps.

  11. ivan-hc commented on Jun 24, 2025

    @ivan-hc

    OK, I made it

    caja-builder.sh.txt

    This video (resized and accelerated to fit in the 10 MB limit on github) is how I created the script, base Ubuntu focal and PPA ubuntu-mate-dev/fresh-mate

    simplescreenrecorder-2025-06-24_13.28.58.mp4.mp4

    NOTE: in the video I had to re-update the script because I had to share system libraries as suggested (I didn't at first attempt)

    NOTE2: I wanted to see the version of the Caja file manager, but I was unable to find the "info" in the menu, I don't know how to do... I use Thunar

    NOTE3: I have not added extra packages, the Appimage is 48 MB in total

    NOTE4: as @cwendling said, Caja AppImage may be outdated... well, my tool creates AppImages that can receive delta updates, without the libfuse2 dependency

    NOTE5: the icon theme is not the one I use on the system because I isolated the AppImage while running it (AppImages can be isolated). I hate spreading dotfiles around my HOME, so I took precautions, running it with AppImaGen.

    I have shown you the door, it is up to you to decide to walk through it.

    PS: This method guarantees GLIBC compatibility equal to or greater than the chosen base (in this case, Ubuntu Focal, 20.04), so it will have no problems on newer systems.

    If you want to wait for my friend to come into the picture, he uses methods that can run Caja on Ubuntu 10.04 Lucid Lynx (yes, the one from 2010, 15 years ago).

  12. vitaly-zdanevich commented on Jun 24, 2025

    @vitaly-zdanevich
    Author
    2025jun25wed--02-04-38.webm

    About your mp4 video - I use this script to write to av1 that is much smaller

    path=~/record/out/$(date +%Y%b%d%a--%H-%M-%S | tr A-Z a-z).webm
    
    echo Recording started, press q to finish
    
    ffmpeg -f x11grab \
    	-video_size 1920x1200 \
    	-framerate 60 \
    	-i :0+0,2640 \
    	-vf setpts=N/FR/TB `# to be able to pause by Ctrl-Z, see https://stackoverflow.com/a/61692055/1879101` \
    	-r 60 `# Framerate for the encoder, without it error "The maximum allowed frame rate is 240 fps"` \
    	-c:v libsvtav1 -preset 7 -svtav1-params log-level=0 `# lower number - smaller file size, but lower numbers drop FPS :(` \
    	-loglevel quiet \
    	$path > /dev/null 2>/tmp/record.log
    
    echo Saved to $path
    echo Size $(ls -lh $path | awk '{print $5}' )
    
    if grep --quiet --ignore-case 'error' /tmp/record.log; then cat /tmp/record.log; fi
    
  13. vitaly-zdanevich commented on Jun 24, 2025

    @vitaly-zdanevich
    Author

    @ivan-hc thanks for the help!

  14. 11 remaining items

  15. ivan-hc commented on Jun 28, 2025

    @ivan-hc

    I do not have the resources or skills ro audit external binariea whose source I would be seeing for the first time. Asking folks to put dozens or hundreds of hours into this for something that they do not use is a lot to ask

    @Samueru-sama I think I understand what @lukefromdc is trying to say: what we use as a base are pre-compiled binaries from Arch Linux (your AppImage) or from an Ubuntu PPA (mine).

    Caja provide source code to allow distribution packagers to build the packages. So the binaries compiled for Arch Linux/Ubuntu are something that they don't rely on because they are not as "pure" as their source code.

    Maybe to convince them, you need to compile Caja from source code first, and then export them to AppImage.

    In fact, if you see, in the "releases" section they only have the source code. They are not packagers, they are "just" developers... meaning they want you to compile the code your way, no matter how. You will not see a pre-compiled package provided by them.

  16. Samueru-sama commented on Jun 28, 2025

    @Samueru-sama

    @Samueru-sama I think I understand what @lukefromdc is trying to say: what we use as a base are pre-compiled binaries from Arch Linux (your AppImage) or from an Ubuntu PPA (mine).

    I'm not using pre-compiled binaries from archlinux, the appimage gets made using the archlinux binary that Caja already produces here: https://github.com/mate-desktop/caja/blob/master/.github/workflows/archlinux.sh

    See the PR, I just add the make install and then call the appimage script: https://github.com/mate-desktop/caja/pull/1836/files

    In other words the issue is not Caja itself but rather some of the tools used to make the AppImage itself, they haven't said which.

    I do not have the resources or skills ro audit external binariea whose source I would be seeing for the first time. Asking folks to put dozens or hundreds of hours into this for something that they do not use is a lot to ask

    I asked you to specify which external binaries are we talking about and you said you didn't know.

    The entire script can be modified to build everything from source, but I need to know if you are ok with that.

    Also how is this dozens or hundreds of hours???

  17. lukefromdc commented on Jun 29, 2025

    @lukefromdc
    Member
  18. lukefromdc commented on Jun 29, 2025

    @lukefromdc
    Member

    @Samueru-sama I think I understand what @lukefromdc is trying to say: what we use as a base are pre-compiled binaries from Arch Linux (your AppImage) or from an Ubuntu PPA (mine).

    I'm not using pre-compiled binaries from archlinux, the appimage gets made using the archlinux binary that Caja already produces here: https://github.com/mate-desktop/caja/blob/master/.github/workflows/archlinux.sh

    See the PR, I just add the make install and then call the appimage script: https://github.com/mate-desktop/caja/pull/1836/files

    In other words the issue is not Caja itself but rather some of the tools used to make the AppImage itself, they haven't said which.

    I do not have the resources or skills ro audit external binariea whose source I would be seeing for the first time. Asking folks to put dozens or hundreds of hours into this for something that they do not use is a lot to ask

    I asked you to specify which external binaries are we talking about and you said you didn't know.

    The entire script can be modified to build everything from source, but I need to know if you are ok with that.

    Also how is this dozens or hundreds of hours???

    For me to be able to personally audit such an appimage would be outside my current skills. I would have to learn my way around the format, and around the source code of all built binaries included, including stuff that is provided neither by MATE nor by GTK that I've never looked at before. All that research would be a lot of time.

    That would be a major effort for something I myself don't use. Remember we have zero paid staff here. I don't have any problem with others working on appimage support but I am not volunteering my own time for that, especially when we have bigger problems like a broken release system. I will simply leave this for others to work on if they decide to make it a priority, this can be folks inside or outside the team

  19. Samueru-sama commented on Jun 29, 2025

    @Samueru-sama

    we have bigger problems like a broken release system

    What's the issue? I can help with that.

  20. lukefromdc commented on Jun 29, 2025

    @lukefromdc
    Member

    After a number of team members moved on, I had to attempt to keep things running almost solo for months. We now have a couple new team members, but I don't have the credentials for https://pub.mate-desktop.org/releases and don't know if anyone still here does. That's where distros historically have pulled releases from.

    Releases sent tarballs there using credentials either stored with or accessed from travis ci, I don't know jack about how that worked as historically I never worked on the CI and release systems. Finally, changes in travis and/or the distros being built against repeatedly broke travis builds, and with little knowledge of travis or Ruby I was completely unable to maintain that.

    We are abandoning travis and moving to github actions CI with the help of the new folks but this credentials thing has not been resolved. If this was a solo project I would abandon the releases page and advise distros to get MATE directly from github, and the tarballs would be built here, same as having to abandon any other website with lost and unrecoveravble credentials.

    The real root of this was my own having to work far outside my own competance trying to keep MATE from decaying to unbuildability and dying out.

  21. Samueru-sama commented on Jun 29, 2025

    @Samueru-sama

    After a number of team members moved on, I had to attempt to keep things running almost solo for months. We now have a couple new team members, but I don't have the credentials for https://pub.mate-desktop.org/releases and don't know if anyone still here does. That's where distros historically have pulled releases from.

    Releases sent tarballs there using credentials either stored with or accessed from travis ci, I don't know jack about how that worked as historically I never worked on the CI and release systems. Finally, changes in travis and/or the distros being built against repeatedly broke travis builds, and with little knowledge of travis or Ruby I was completely unable to maintain that.

    We are abandoning travis and moving to github actions CI with the help of the new folks but this credentials thing has not been resolved. If this was a solo project I would abandon the releases page and advise distros to get MATE directly from github, and the tarballs would be built here, same as having to abandon any other website with lost and unrecoveravble credentials.

    The real root of this was my own having to work far outside my own competance trying to keep MATE from decaying to unbuildability and dying out.

    Yeah I can't help with recovering credentials and I don't think that is possible either.

    Migrating to github actions is the right solution. If there is any doubt with github actions in specific let me know.

  22. VA1DER commented on Oct 26, 2025

    @VA1DER

    NO! Please do NOT provide an AppImage. Please do not ever do this. For many of the above reasons already stated, it's not the right answer. But also because it encourages the use of the wrong solution. Especially for caja (or any tightly integrated software), but also for almost everything else, AppImage is the wrong solution!

    https://slashdot.org/comments.pl?sid=23825132&cid=65736902

    People need to install the right dependencies, need to trust their distribution to do The Right Thing, or they need to hound their distribution to get it right. AppImage is a pressure relief valve that takes the onus off distros to get it right and then puts that onus on developers. It relieves the distros of where the pressure should be felt, causing the root problems to never get addressed. Every app that does AppImage contributes to the further balkanization of distros.

  23. ivan-hc commented on Oct 26, 2025

    @ivan-hc

    AppImage provides new software on (whatever reason they keep it) old distributions.

    Your use case is not the same of many other users.

  24. Samueru-sama commented on Oct 26, 2025

    @Samueru-sama

    https://slashdot.org/comments.pl?sid=23825132&cid=65736902

    The great thing about Linux is that you didn't need fifty copies of every DLL, that you could fit an entire working system with complete office software, in a tenth the space of a similarly "capable" Windows system. Making a system that essentially wraps everything an app needs in its own little mini-distro is awful. It costs storage space

    Alright lets use this GIMP example.

    The AppImage I make is 140 MiB and works even in ubuntu 10.04:

    Image

    Installing GIMP on my Artix linux system is going to use 243 MiB instead:

    Image

    Now try to build GIMP on ubuntu 10.04 and get back to me once you get it done lol

    need to trust their distribution to do The Right Thing

    I mantain this repo of smaller archlinux packages (that you can use on your own distro btw) because distributions don't give a fuck about bloat anymore, I talked a bit about that here:

    https://programming.dev/post/29439871/16621846


    More recently GNOME forced their glycin crap into gdk-pixbuf2 which adds 20 MIB of dependencies to replace something that was working perfectly before, see:

    VHSgunzo/sharun#68

    pkgforge-dev/Rnote-AppImage@9e00689

    This shit also breaks a lot of applications and there is multiple complains about it in the archlinux forums, so far the only people that have tried to do something are Artix linux where they now provide gdk-pixbuf2-noglycin package and me in my repository where I provide gdk-pixbuf2 without glycin as well.

    All other distros just let that crap be shipped directly to their users and didn't do shit to fix it.


    Every app that does AppImage contributes to the further balkanization of distros.

    That cannot be more wrong omg

    The reason both SNAP and flatpak exist is because AppImage was not able to stop this nonsense.

    Read this post made by probonopd, who is the creator of AppImage talking about these issues: https://gitlab.com/probono/platformissues

    flatpak and snap instead pretty much ship an entire separate distro where everything has to be duplicated, AppImage does not do that however this gave AppImage the reputation that it is not really able to work everywhere.

    Note that the way we make AppImages is more similar to what flatpak and snap does, you can read more about the details here because ultimately what AppImage tried to do of relying on certain host libraries is never going to work.

    Also what we do is a lot less bloated than flatpak by quite a lot 😹

    Image
  25. lukefromdc commented on Oct 26, 2025

    @lukefromdc
    Member
  26. lukefromdc commented on Oct 26, 2025

    @lukefromdc
    Member

    So far, Debian seems to be (thankfully) holding back on shipping gdk-pixbuf2 with the glycin dependency.

    Another possible headache is the addition of rust code into newer versions of GTK3. This was sometime after my last update of GTK3. Hopefully that won't break anything but it does add more dependencies and more filesize. Ive seen complaints that Rust requires some binaries deemed hard to audit, though as its use spreads I suspect those will go under the microscope and be well monitored

  27. Samueru-sama commented on Oct 26, 2025

    @Samueru-sama

    Programs with a lot of dependencies can take several seconds to start from an appimage. I switched to appimage builds of kdenlive due to build issues and to allow stripping hundreds of MB of qt dev packages from my filesystem. Startup is so slow as to be a workflow nuisance, which is something the appimage devs themselves need to look at.

    We have a solution for the slow startup issue, it is blackmagic. It offers PGO like optimizations that help a ton with the launch times

    That was discussed here but went nowhere as none of the maintainers have time...

  28. Samueru-sama commented on Oct 26, 2025

    @Samueru-sama

    https://github.com/pkgforge-dev/kdenlive-AppImage-Enhanced/releases/tag/25.08.2-1%402025-10-26_1761511034

    Image
    • The archlinux package takes 2.2 seconds to launch.

    • The official AppImage releases take 2.8 seconds

    • And the ones with dwarfs and image optimization take 2.6 seconds

    Was expecting a bigger difference but anyways, the uruntime also offers the option to never unmount but we use that for apps that really need it, like web-browsers or terminal emulators, for everything else just using dwarfs optimizations is good enough™, kdenlive didn't even have it and just added it recently (and discovered a bug in the process as well lol)

  29. lukefromdc commented on Oct 27, 2025

    @lukefromdc
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions