shundhammer / qdirstat

QDirStat - Qt-based directory statistics (KDirStat without any KDE - from the original KDirStat author)
GNU General Public License v2.0
1.75k stars 124 forks source link

Add official Flatpak support #218

Closed deadmeu closed 1 year ago

deadmeu commented 1 year ago

This is a feature request for an official Flatpak release. I really love QDirStat and think it should be more accessible. I know in the past you've shared your disagreements with packaging formats such as Flatpak but I believe a Flatpak release could help for the following reasons:

I think as far as common packaging formats go Flatpaks are currently the most accepted in the Linux community and there has been more serious adoption recently due to the aforementioned reasons.

In any case, thanks for all of the valuable work you've done for all these years.

shundhammer commented 1 year ago

QDirStat has minimal dependencies to begin with: Just the Qt libs and libZ (the compression lib). That was a conscious decision: To avoid the dependency hell that you can easily get with a KDE program like KDirStat was.

The arguments against FlatPak are very much the same as those against AppImage: The application to combat disk space waste would grow enormously in size; it's hard to say by how much, but a lower bound would be the size of those packages:

That's at least 20.2 MB already, up from 2.1 MB; a factor 10. And that's the lower boundary. It also disregards indirect dependencies that the Qt libs themselves have (but that's mostly small stuff like libxcb with ~160 k). For a real-world QDirStat FlatPak, I'd expect more like 100+ MB.

And then there is another misconception: That those include-everything package formats are a universal solution to dependency problems. Well, no, they are not.

Apart from distribution-specific quirks, just think about different hardware architectures. x86_64 / amd64 (the PC platform) is only one of them. What about all those RasPIs out there that have become much more popular? They are ARM-based. The older ones are ARM-32, but ARM-64 is already entering the market. Some recent Macs are also ARM-64. And I'd expect NAS platforms also to use mostly ARM-32 or -64.

And I didn't even mention other CPU architectures like PPC64, let alone mainframes like s/390. They can all run Linux, and many of them do.

If anybody wants to bear that burden and package QDirStat as a FlatPak, they have my blessing to do so; I see it as yet another distribution format.

But just like for regular Linux distributions, I am not going to take over the packaging hassle, much less the inevitable newbie support (which more often than not is the result of not bothering to read the documentation).