-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I removed the installer target because it only worked with nsplugin wrapper and that's not commonly used any more.
The way I use this currently is to copy the .desktop launchers from /usr/share/applications for each browser, and edit the launch command to run the browser with LD_PRELOAD set to the location where I built the libraries.
For automatic installation it would work something like this if not run as root:
- Search /usr/share/applications for browser launchers.
- Copy them to ~/.local/share/applications/
- Edit command line with sed.
If make install is run as root:
- Install libraries in /usr/local/lib
- Search /usr/share/applications/
- Copy to /usr/local/share/applications
- Edit launchers with sed.
This will avoid conflicts with distro packages and can even work if the user doesn't have root access. There is one problem though: google chrome puts it's launcher into /usr/local/share/applications
(.desktop launchers are used by Gnome (and all variants like cinnamon, MATE, etc), Unity, KDE, xfce, lxde, hildon, and probably many others.)