-
Notifications
You must be signed in to change notification settings - Fork 709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpm requires libappindicator #442
Comments
This is affecting my company too. |
I ended up building my own RPM for SLES/openSUSE due to this and the fact the package name was reverted from rocketchat-desktop to rocketchat (which conflicted with my Rocketchat server RPM name) It's not that difficult to do;
Download the latest Rocketchat client source and extract
Run
Edit the file that sets the bad dependencies
Find the following and replace this
With
Then run the release to make the RPM
It will probably spit out an error at the end about gitlab api key, but that doesn't matter. The RPM should be made in the dist folder |
@megamaced I will try that. |
@megamaced I am just likely an idiot, but following your steps i get an error at the error is the following: Maybe there is something additional that needs to be installed (i'm doing this from a freshly installed OpenSuse 42.3) on my end? Something i'm doing wrong? |
@jdashn try npm install node-gyp and if that doesn't work sudo npm install -g node-gyp |
@megamaced Sorry for the delay! I have tried that and i am still getting error messages, maybe this will help: I am starting with Suse Tumbleweed freshly installed (also tried with OpenSuse). No additional packages installed.
The sudo n latest command fails stating: I have tried grabbing just the tarball and untaring it and also cloning the repository with git (after git installed) I cd to the folder I then run: gyp: Call to 'pkg-config --cflags x11 xext xscrnsaver' returned exit status 1 while in binding.gyp. while trying to load binding.gyp npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: I feel like there is something i'm doing wrong here, something not installed, if you've got any suggestions i'd be super excited! Thanks!! |
so the error message is just saying that it cannot find an rpm package called libappindicator. so, if you have libappindicator1 installed (like I do), you can "ignore" the error. Then the package will installed and if you have the necessary pacakges installed( again in my case libappindicator1) it should work. It did for me. |
Well, can we assume the bug is fixed since it's been closed? If so, what was the solution? |
My bad: I thought it was a issue about rpm installs in general and everything is working on Fedora. Now I see it's a SUSE issue. |
It's not only an issue in SuSE. It's probably an issue on most distributions that use different package names for the appindicator library (other than Fedora). Another option is to just remove the dependency from the rpm package and document the dependency so people can manually install it. |
Not a fan of this approach (since it's a downer for Fedora users), but it seems that's is the way to go with |
My Setup
Description
I've just tried to install desktop application version 2.7.0. I could not install because of "libappindicator" package require.
Current Behavior
$ sudo zypper in rocketchat-desktop-2.7.0.rpm
Problem: nothing provides libappindicator needed by rocketchat-desktop-2.7.0-1.x86_64
Solution 1: do not install rocketchat-desktop-2.7.0-1.x86_64
Solution 2: break rocketchat-desktop-2.7.0-1.x86_64 by ignoring some of its dependencies
I've checked libappindicator package for opensuse is installed.
$ zypper se libappindicator
S | Name | Summary | Type
--+------------------------+--------------------------------------------------------+--------
| libappindicator-devel | Development files for libappindicator | package
| libappindicator-doc | Documentation for libappindicator and libappindicator3 | package
i | libappindicator1 | Application indicators library | package
i | libappindicator3-1 | Application indicators library -- GTK+ 3 | package
| libappindicator3-devel | Development files for libappindicator3 | package
Expected Behavior
Can be installed normally.
The text was updated successfully, but these errors were encountered: