SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.83k stars 94 forks source link

RPM package cannot be installed on Mageia 9 #521

Closed lazerdude7 closed 4 months ago

lazerdude7 commented 4 months ago

Acknowledgements

Operating System / Platform

🐧️ Linux

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

N/A

Application version

v4.8.0

Bug description

Attempting to install the latest RPM release of WebCord using DNF package manager on Mageia 9 system results in the following error:

dnf localinstall webcord-4.8.0-1.x86_64.rpm
Last metadata expiration check: 0:11:11 ago on Fri 23 Feb 2024 16:19:09.
Error: 
 Problem: conflicting requests
  - nothing provides gtk3 needed by webcord-4.8.0-1.x86_64 from @commandline
  - nothing provides (libXtst or libXtst6) needed by webcord-4.8.0-1.x86_64 from @commandline
(try to add '--skip-broken' to skip uninstallable packages)

It is likely due to the dependency names being slightly different on this distribution, as if I check for similarly named installed packages, I get the following:

dnf list installed "*gtk+3*"
Installed Packages
gtk+3.0.x86_64                                            3.24.38-1.mga9                                        @mageia-x86_64
lib64gtk+3_0.x86_64                                       3.24.38-1.mga9                                        @mageia-x86_64
dnf list installed "*xtst*" 
Installed Packages
lib64xtst6.x86_64                                             1.2.4-1.mga9                                             @System

It may be possible to force install the package using RPM directly, but I have not attempted it.

The AppImage version however works fine, and it is understandable if you do not want to add support to this distribution via the RPM package.

Additional context

No response

SpacingBat3 commented 4 months ago

It feels then that distros based on RPM packages are quite a mess when it comes to package name standarisation and interoperability to support all.

I guess I'm not going to care about packaging 99 versions of RPM for each distro, just because a name contains one char more, different char casing or one char replaced with another (ex. for gtk3: gtk-3, gtk_3, gtk+3, GTK3...). After all it's all Electron Forge and each of their components (includibg third-party ones) to take care of the app packaging.

This means, the issue is clearly an upstream one, I would criticize distros for not taking care of standarizing their package dependencies enough, but you might as well discuss that with Forge if you want. For me this issue is surely to be closed and not taken care of at all. After all, why should I when it's not WebCord that implements the whole packaging logic?