museeks icon indicating copy to clipboard operation
museeks copied to clipboard

Missing Linux dependencies

Open BlueManCZ opened this issue 4 years ago • 11 comments

I'm just curious when I see these options in settings: Snímek z 2020-03-27 14-00-36 if Museeks shouldn't have libappindicator, libxss, libxtst or something like that in recommended dependencies?

BlueManCZ avatar Mar 27 '20 13:03 BlueManCZ

Those features make use of APIs that are provided by Electron, so I would expect them to be installed when the app is installed 🤔

But Linux's DEs are such a mess that you never really know what is already there, and if installing the dependencies will even make the feature work :x

martpie avatar Mar 27 '20 13:03 martpie

I'm asking because I just created ebuild in my overlay to provide Museeks to Gentoo users.

It's not so important I guess, but I can't test Museeks without these libraries, because I already have them installed in the system. Time will show.

BlueManCZ avatar Mar 27 '20 13:03 BlueManCZ

Ah, interesting 🤔

maybe these dependencies should be added there: https://github.com/martpie/museeks/blob/32f09584f5b501cca9d1a570b454ce584dbb3431/electron-builder.yml#L24

But we'd need to be sure to understand why they are not bundled with Electron. And if they are the correct name for all the Linux distros out there.

martpie avatar Mar 27 '20 13:03 martpie

I know about these dependencies you mentioned. I found them in a .deb package.

And that missing dependencies should be provided as default by the common desktop environments, so It's probably not a big deal.

In the worst case that features won't probably work.

BlueManCZ avatar Mar 27 '20 13:03 BlueManCZ

I could also add a note in the README about these

martpie avatar Mar 27 '20 13:03 martpie

Yea, something like:

If you are experiencing troubles with Sleep mode blocker or Minimize to tray options, make sure you have ..... installed

BlueManCZ avatar Mar 27 '20 14:03 BlueManCZ

And off-topic, when I mentioned ebuild, you can also add a note in the README about installing Museeks on Gentoo. Or should I create a pull request?

BlueManCZ avatar Mar 27 '20 14:03 BlueManCZ

I don't know a lot about Gentoo and even less about ebuild. What is ebuild? their own .deb/.rpm/.AppImage?

martpie avatar Mar 27 '20 14:03 martpie

Ebulid is text file, which says to package manager (Portage), how to extract and install the package into the system. You can specify a source file to download, in my case I used your .deb release on GitHub. Ebuilds are abstractions above manual extraction, (compilation) and installation.

https://wiki.gentoo.org/wiki/Ebuild

BlueManCZ avatar Mar 27 '20 14:03 BlueManCZ

In other words, when you don't have ebuild, you have to download .deb or .rpm package, extract it and place these files to proper locations. When you want to uninstall this, you have to keep notes which files you copied and where. Then find them and remove them.

When you have ebuild for this, all you have to do is type one command for installation and one for uninstallation. The package manager will handle it.

And package manager can also handle automatic updates when new ebuild is released in the repository.

Snímek z 2020-03-27 15-32-46

BlueManCZ avatar Mar 27 '20 14:03 BlueManCZ

Ou, and I didn't mean you to explain that in README. :smile:

Just something like this would help Gentoo users to get what they want.

Installation

Gentoo

Follow instructions here.

BlueManCZ avatar Mar 27 '20 14:03 BlueManCZ

After some research, I have decided to kill the tray feature. See my rationale in #686 :)

martpie avatar Jun 20 '23 01:06 martpie