Package Details: librewolf-firefox-shim 137.0-1

Git Clone URL: https://aur.archlinux.org/librewolf-firefox-shim.git (read-only, click to copy)
Package Base: librewolf-firefox-shim
Description: A symlink for using librewolf as a firefox
Upstream URL: https://librewolf-community.gitlab.io/
Keywords: librewolf
Licenses: MIT
Conflicts: firefox
Provides: firefox
Submitter: freed00m
Maintainer: freed00m
Last Packager: freed00m
Votes: 6
Popularity: 1.00
First Submitted: 2021-04-06 20:27 (UTC)
Last Updated: 2025-04-07 09:49 (UTC)

Required by (182)

Sources (0)

Latest Comments

1 2 Next › Last »

oech3 commented on 2025-06-03 06:50 (UTC)

Sorry. I was misunderstanding. This has correct provides.

freed00m commented on 2025-06-03 06:44 (UTC)

@oech3 what do you mean by activate? No it does not create rxtra symlink for extension. Last timw I checked extensions placed in firefox folder are being picked up by librewolf so If's not the case now. I might add an extra link.

oech3 commented on 2025-06-03 06:25 (UTC) (edited on 2025-06-03 06:25 (UTC) by oech3)

Does ln -s /usr/lib/{librewolf,firefox}/browser/extensions at PKGBUILD activate https://archlinux.org/packages/extra/any/firefox-adblock-plus/ ?

freed00m commented on 2025-06-03 06:23 (UTC)

@oech3

no it doesn't, it literally only provides firefox, so your extensions can be satisfied with librewolf if they needs it.

And the content of this is just 1 symlink

package() {
  install -d "$pkgdir"/usr/bin
  ln -s /usr/bin/librewolf "$pkgdir"/usr/bin/firefox
}

oech3 commented on 2025-06-03 06:19 (UTC) (edited on 2025-06-03 06:19 (UTC) by oech3)

This does not break ff ext. This provides incorrect provides= for pkgs putting files on /usr/lib/firefox/browser/extensions (my mistake or easily fixed?).

freed00m commented on 2025-06-03 05:59 (UTC)

@oech3 - can you provide info about how it breaks your ff extenaions?

It's a symlink ln -s librewolf firefox

oech3 commented on 2025-06-02 17:14 (UTC)

Does this break dependencies about extentions for ff?

freed00m commented on 2025-04-07 09:53 (UTC) (edited on 2025-04-07 11:29 (UTC) by freed00m)

@pludikovsky ah, cool added :) but wouldn't awking $NF output the whole 1:$pkgver_1-1 ?

I am not at my Archbox at the moment, so I am not sure if 1:$pkgver_1-1 in the shim is preferable to $pkgver_1-1. How would pacman consider what pkg is providing the firefox the newest.

EDIT, oh NF = last field :) ok now I get it, it should work.

pludikovsky commented on 2025-04-07 07:48 (UTC)

Due to the way the versioning numbers of the librewolf-bin package work (1:$pkgver_1-1 instead of $pkgver_1-1) the pkgver() function returns the wrong result outside of CI.

This patch should fix this without breaking:

--- a/PKGBUILD  2025-04-07 09:45:07.371133453 +0200
+++ b/PKGBUILD  2025-04-07 09:45:19.026111926 +0200
@@ -19,7 +19,7 @@
     # Assuming build runner is without extra and has online access
     git ls-remote https://codeberg.org/librewolf/source | grep -oP '\d{3}\.\d+\.\d+' | sort -r | head -n 1
   else
-    pacman -Qi librewolf | grep -E '^Version[[:space:]]*:' | head -n 1 | awk -F ':' '{print $2}' | sed -E 's|-.*||' | tr -d '[[:space:]]'
+    pacman -Qi librewolf | grep -E '^Version[[:space:]]*:' | head -n 1 | awk -F ':' '{print $NF}' | sed -E 's|-.*||' | tr -d '[[:space:]]'
   fi
 }

creyon commented on 2023-10-30 15:52 (UTC)

I'm getting librewolf-firefox-shim: local (119.0-1) is newer than AUR (100.0.2-1) whenever I do a system upgrade. I tried uninstalling and reinstalling, but whenever I do so, it still installs 119. Is this a problem?