charmbracelet / freeze

Generate images of code and terminal output 📸
MIT License
3.22k stars 54 forks source link

RPM name collision on Fedora / Enterprise Linux #56

Open lexpierce opened 6 months ago

lexpierce commented 6 months ago

There is a name collision in the default repo for Fedora / Enterprise Linux with an older archive utility. Here is the output of dnf5 info freeze. Due to the version number it will want to upgrade a manually installed RPM to the other package.

Name           : freeze
Epoch          : 0
Version        : 0.1.4
Release        : 1
Architecture   : i386
Download size  : 4.6 MiB
Installed size : 11.1 MiB
Source         :
Repository     : charm
Summary        : Generate images of code and terminal output.
URL            :
License        :
Description    : Generate images of code and terminal output.
Vendor         : <NULL>

Name           : freeze
Epoch          : 0
Version        : 2.5.0
Release        : 36.fc39
Architecture   : x86_64
Download size  : 35.1 KiB
Installed size : 59.7 KiB
Source         : freeze-2.5.0-36.fc39.src.rpm
Repository     : fedora
Summary        : freeze/melt/fcat compression utilities
URL            :
License        : GPL+
Description    : Freeze is an old file compressor and decompressor that is not in
               : common use anymore, but can be useful if the need ever arises to
               : dearchive files compressed with it.
Vendor         : Fedora Project

For this to be more easily redistributable to a dev team, it might be nice to change the package name, perhaps something like freeze-charm? We certainly don't have (the older) freeze installed anywhere, but this collision means I would need to distribute it outside the standard channels, or rebuild/rename the RPM.

meowgorithm commented 6 months ago

Why don’t we go with charm-freeze; we had to do the same for Nixpkgs.