Package Details: librewolf 132.0.2-1

Git Clone URL: https://aur.archlinux.org/librewolf.git (read-only, click to copy)
Package Base: librewolf
Description: Community-maintained fork of Firefox, focused on privacy, security and freedom.
Upstream URL: https://librewolf.net/
Keywords: browser web
Licenses: GPL, MPL, LGPL
Submitter: lsf
Maintainer: lsf
Last Packager: lsf
Votes: 141
Popularity: 4.93
First Submitted: 2019-06-14 18:41 (UTC)
Last Updated: 2024-11-16 14:18 (UTC)

Sources (3)

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 28 Next › Last »

Bitals commented on 2022-08-21 14:37 (UTC)

@ptr1337 thanks for the patch, though sorry but my current build pipeline forces me to essentially make a full fork in order to apply a patch, so it will have to wait until I have a bit more free time. Or until it gets merged in this AUR repo *wink wink*

ptr1337 commented on 2022-08-20 20:04 (UTC)

@Bitalis

Apply this patch/changes on the PKGBUILD. Then it builds fine with it.

diff --git a/PKGBUILD b/PKGBUILD
index 5b06f36..bdd05e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -36,6 +36,7 @@ source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-
         "git+https://gitlab.com/${pkgname}-community/settings.git#tag=${_settings_tag}"
         "default192x192.png"
         "0018-bmo-1516081-Disable-watchdog-during-PGO-builds.patch"
+        "https://raw.githubusercontent.com/CachyOS/CachyOS-Browser-Common/d0043de331de5650151029b510e0cc87690f3a90/patches/rust163.patch"
         )
 # source_aarch64=()
 sha256sums=('766183e8e39c17a84305a85da3237919ffaeb018c6c9d97a7324aea51bd453aa'
@@ -266,6 +267,7 @@ fi

   # allows hiding the password manager (from the lw pref pane) / via a pref
   patch -Np1 -i ${_patches_dir}/hide-passwordmgr.patch
+  patch -Np1 < ../rust163.patch

   rm -f ${srcdir}/source/mozconfig # what was this for? TODO
   cp -r ${srcdir}/source/themes/browser ./

Bitals commented on 2022-08-14 12:52 (UTC)

@karolyi 103.0.2 still doesn't build for me with rust 1.63.0:

12:45:51  4:36.69    --> /home/builder/.cache/aurutils/sync/librewolf/src/firefox-103.0.2/third_party/rust/packed_simd_2/src/lib.rs:347:7
12:45:51  4:36.69     |
12:45:51  4:36.69 347 | crate mod llvm {
12:45:51  4:36.69     |       ^^^ expected one of `!` or `::`
12:45:51  4:36.71 error: could not compile `packed_simd_2` due to previous error
12:45:51  4:36.71 warning: build failed, waiting for other jobs to finish...
12:45:51  4:36.88 dom/serviceworkers
12:45:51  4:36.92 dom/serializers
12:45:52  4:37.30 dom/simpledb
12:45:52  4:37.44 dom/storage
12:45:52  4:37.45 dom/smil
12:45:54  4:39.40 dom/streams
12:45:54  4:39.53 make[4]: *** [/home/builder/.cache/aurutils/sync/librewolf/src/firefox-103.0.2/config/makefiles/rust.mk:430: force-cargo-library-build] Error 101
12:45:54  4:39.53 make[3]: *** [/home/builder/.cache/aurutils/sync/librewolf/src/firefox-103.0.2/config/recurse.mk:72: toolkit/library/rust/target] Error 2

ZhangHua commented on 2022-08-14 02:48 (UTC) (edited on 2022-08-14 12:18 (UTC) by ZhangHua)

Hello, I think you should add a LANG=C when calling pacman in Line 157 of PKGBUILD, because user's locale may not be English (like me) and grep Version may get nothing

karolyi commented on 2022-08-13 08:22 (UTC)

Can confirm it builds with that rust version. I'm on manjaro though so having that rust version is not such a big challenge.

103.0.1 didn't built at all, I've had a compiler error, as in the compiler (llvm) itself crashed. 103.0.2 seems to have fixed this.

lsf commented on 2022-08-12 09:16 (UTC)

That's probably due to rust having been updated just yesterday. You might give downgrading to 1:1.62.1-1 a try to get it built, until a fix surfaces somewhere.

lahwaacz commented on 2022-08-12 07:01 (UTC)

Version 103.0.2-1 does not build:

 5:11.64 error: expected one of `!` or `::`, found keyword `mod`
 5:11.64    --> /build/librewolf/src/firefox-103.0.2/third_party/rust/packed_simd_2/src/lib.rs:347:7
 5:11.64     |
 5:11.64 347 | crate mod llvm {
 5:11.64     |       ^^^ expected one of `!` or `::`
 5:11.64 error: could not compile `packed_simd_2` due to previous error
 5:11.97 make[4]: *** [/build/librewolf/src/firefox-103.0.2/config/makefiles/rust.mk:430: force-cargo-library-build] Error 101
 5:11.97 make[3]: *** [/build/librewolf/src/firefox-103.0.2/config/recurse.mk:72: toolkit/library/rust/target] Error 2
 5:11.97 make[3]: *** Waiting for unfinished jobs....

eclairevoyant commented on 2022-08-02 02:23 (UTC)

@nightly @SomeGuy016 The correct way to build this is in a chroot, as documented on the wiki: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot

This way it should never matter what version of psutil or whatever that you have installed on your system

lsf commented on 2022-08-01 16:49 (UTC) (edited on 2022-08-01 16:51 (UTC) by lsf)

Please don't flag this package as out of date for reasons other than it being out of date.

Recent example: Installation fails because of outdated pip version. "WARNING: You are using pip version 21.2.3; however, version 22.2.1 is available."

This is worthy of a comment (or an issue, but since it's just another instance of pip/py/env things, not so much), if at all (it's a warning – the failure cause is probably another thing altogether).

A reason for flagging it out of date would be if it was out of date.

Thanks!

/edit

One open issue regarding pip issues, for example, would be https://gitlab.com/librewolf-community/browser/arch/-/issues/89, with a potentially helpful note at https://gitlab.com/librewolf-community/browser/arch/-/issues/89#note_1045390006

SomeGuy016 commented on 2022-07-19 12:51 (UTC) (edited on 2022-07-19 12:54 (UTC) by SomeGuy016)

For those of you who want to build this with python virtual environments like @nobyte suggested, here's how I built it

First create the virtual environment (if you are building manually then I'd recommend running this in the same place as where you cloned the package, if you are using an AUR helper just run this anywhere in your home directory and delete it later)

python -m venv .venv

From there, activate the virtual environment

source .venv/bin/activate

Now you can install the proper version of psutil to the venv by running

pip install psutil==5.8.0

Then just continue building the package as you normally would. Once it is installed, run

deactivate

to exit your virtual environment