Feature request: CPack: support for distribution-agnostic package format in Linux as CPack backend
Currently TGZ(and BZ2,XZ), DEB, RPM are supported for Linux package generations on CPack. In recent days, several distribution-agnostic package formats are accepted widely for application packaging and distribution in Linux.
what is requested to realize?
Packaging is always application developers' headaches especially for multi platform support. If CMake support distribution-agnostic package formats officialy, it will help many C/C++ application developers.
background
IMHO, there are three major formats AppImage, Flatpak and snap.
In my short research, here is a status of acceptance.
-
Some popullar applications such as MuseScore, Krita, digiKam, LMMS and KeePassXC use AppImage cf. wikipedia
-
Also applications from major software company mozilla, amazon, spotify google and microsoft are released as their offical dictribution in snap format.
-
Popular applicaitons such as GNU Octave, spotify, GIMP, VSCode, AbiWord, LibreOffice and Slack are released in flatpak format on flathub. cf. wikipedia
current efforts
There are several effort to realize the support.
AppImage
Flatpak
snap
Any information, opinions and comments are welcome.