r/voidlinux • u/gaorp • May 10 '26
Why are some xbps packages named with capitals and others not?
e.g. Thunar, PrismLauncher. I wonder why they aren't toLower()'d or something
31
Upvotes
r/voidlinux • u/gaorp • May 10 '26
e.g. Thunar, PrismLauncher. I wonder why they aren't toLower()'d or something
27
u/AnachronGuy May 10 '26
It is because we use the same name as upstream does.
19
u/whereismycow42 May 10 '26 edited May 10 '26
Programs
Programs put executables under /usr/bin (or in very special cases in other .../bin directories)
For those packages the upstream packages name should be used. Remember that in contrast to many other distributions, void doesn't lowercase package names. As a rule of thumb, if the tar.gz of a package contains uppercase letter, then the package name should contain them too; if it doesn't, the package name is lowercase.
https://github.com/void-linux/void-packages/blob/master/Manual.md#namingconventions
If you find package names violating above cited naming convention it is likely because of historic reasons or conflicting upstream usage of capital letters.
So in short "because upstream does it that way" and xbps-query searches case insensitive.
-4
u/MonBatou May 10 '26
If I’m not mistaken it is a right that void give. It gives more freedom to name the packages. I don’t know the limit of that. Can some malicious dev creating fake packages? I mean, imagine a package named BLeNdeR that could be a malware of blender.