Age | Commit message (Collapse) | Author |
|
|
|
|
|
Suggested-by: dreieck <oid-maps@seznam.cz>
|
|
The `firefox-developer-edition` now has a file named
/usr/share/applications/firefoxdeveloperedition.desktop, which requires
a change in the regex in order to avoid a conflict.
|
|
Fix accidental dependency on locale, which would cause pkgver to break.
Use pacman -Q instead of -Qi to avoid parsing human language altogether.
Thanks to user @shackra for the heads up [1].
[1]: https://aur.archlinux.org/packages/firefox-developer-edition-firefox-symlink-latest#comment-855208
Reported-by: Jorge Araya Navarro <jorge@esavara.cr>
|
|
The Arch Linux repositories have many packages which add features
or extensions to Firefox. The AUR has even more. However, all those
packages keep their files inside the `/usr/lib/firefox` hierarchy so
they never worked for `firefox-developer-edition` users.
This commit enables many such extension and feature packages,
for example:
- firefox-noscript
- firefox-ublock-origin
- firefox-extension-multi-account-containers (AUR)
to work with `firefox-developer-edition`.
How it works:
This commit adds install scripts and an ALPM hook. Together, those
scripts and the hook will keep `/usr/lib/firefox` and
`/usr/lib/firefox-developer-edition` in sync. They achieve that by
creating symlinks pointing to each file in the `/usr/lib/firefox`
hierarchy. Pacman will run that hook whenever adding or removing
something in that hierarchy. Pacman will also run the install script
whenever this package gets installed, updated, or removed.
The scripts and the hook will handle the following events:
- When pacman installs anything into the `/usr/lib/firefox` hierarchy
while this package is installed, the ALPM hook deletes and recreates
the symlinks.
- The same thing happens when pacman modifies or removes anything in
the `/usr/lib/firefox` hierarchy while this package is installed.
- When pacman removes the `/usr/lib/firefox` hierarchy while this
package is installed, the ALPM hook deletes all the symlinks.
- When pacman first installs this package, the install script creates
the symlinks.
- When pacman updates this package, the install script deletes and
recreates the symlinks.
- When pacman removes this package, the install script deletes all the
symlinks.
|
|
|
|
|
|
* changed logic for .desktop-files and icons to automatic detection.
|
|
|
|
|
|
|
|
|