Commit Graph

578 Commits

Author SHA1 Message Date
Ken Moffat
0ad8663600 Update to firefox-115.6.0esr. 2023-12-19 17:48:14 +00:00
Ken Moffat
00aedafbcb Update to firefox-115.5.0. 2023-11-21 20:39:11 +00:00
Xi Ruoyao
96e0c17161
mozilla: Drop SHELL=/bin/bash
Note that if you build something relying on $SHELL, it may still fail to
build in chroot.

In the chroot we first use "env -i" to clean the environment variables.
When bash starts with no $SHELL set, it *sets* SHELL=(the login shell
of current user specified in /etc/passwd), but it *does not export this
variable*.

For example:

    $ cat > t.c << EOF
    #include <stdio.h>
    #include <stdlib.h>
    int main() { puts (getenv ("SHELL") ?: "(nullptr)"); }
    $ ./a.out
    /bin/zsh/
    $ cc t.c
    $ env -i bash -c "echo $SHELL"
    /bin/zsh
    $ env -i bash -c "./a.out"
    (nullptr)

We can remove this now only because Mozilla has added a workaround into
their building system at
https://hg.mozilla.org/mozilla-central/rev/5afe7b911f61 for some Mac
builder, inadvertently fixing our issue.

Link: https://lists.linuxfromscratch.org/sympa/arc/blfs-support/2014-11/msg00050.html
Link: https://lists.linuxfromscratch.org/sympa/arc/blfs-dev/2023-11/msg00136.html
2023-11-20 07:01:36 +08:00
Xi Ruoyao
9bfa6854dc
mozilla: Adjust comments in mozconfig <screen>s
If a newline is inside the comment, it won't be rendered.  So we can
avoid an excessive amount of empty lines in seamonkey, and break the
long comments about RELR into multiple lines.
2023-11-20 04:38:28 +08:00
Xi Ruoyao
248d3509e1
firefox, thunderbird: Minor alignment fix 2023-11-07 23:25:33 +08:00
Xi Ruoyao
39eb0f105d
firefox, thunderbird: Add six as required
We are using system six instead of the shipped copies for Python 3.12.
2023-11-05 21:35:26 +08:00
Xi Ruoyao
a7373507f5
firefox: Tweak mozconfig
1. Drop --enable-optimize because it's the default.
2. Use -Wl,-z,pack-relative-relocs as a replacement for elf-hack.
3. Add --enable-rust-simd for SIMD optimization, like Arch and Gentoo.
4. Make the formatting (captialization and punctuation) of comments more
   consistent.
2023-11-03 18:28:06 +08:00
Xi Ruoyao
b05b7e3a94
firefox: Add a comment for ICU 74 workaround 2023-11-02 15:13:24 +08:00
Xi Ruoyao
2281985533
firefox: Add ICU-74 workaround 2023-11-02 15:09:04 +08:00
Xi Ruoyao
e86ded4104
firefox: Add Python 3.12 work around 2023-11-02 14:45:41 +08:00
Ken Moffat
ea5703f312 Package updates:
firefox-115.4.0.
spidermonkey-115.4.0.
2023-10-24 18:11:23 +01:00
Ken Moffat
2601934ec4 Update to firefox-115.3.0esr.
Now measured with -j8 for consistency with other long packages.
2023-09-26 21:00:22 +01:00
Ken Moffat
f9f5eeb8cc Update to firefox-115.2.1.
This is a pointless update, it only includes a fix for the shipped
libwebp, but it was convenient to me to drop it in during my testing
for libwebp.
2023-09-13 06:43:17 +01:00
Douglas R. Reno
f7fe3e6aed Typo fixes from Julien Lepiller 2023-09-04 13:33:48 -05:00
Xi Ruoyao
7877690d99
firefox: Remove zip dependency, and demote yasm to optional
I can build it w/o zip and I cannot see how zip is used.  And yasm is
only used for building shipped libvpx, but we are recommending system
libvpx anyway.
2023-09-04 21:21:42 +08:00
Ken Moffat
b337c48e21 Package Update, firefox-115.2.0. 2023-08-29 14:49:42 +01:00
Bruce Dubbs
da5bbd8b73 Thunderbird and Firefox no longer need autoconf213 2023-08-28 18:06:25 -05:00
Bruce Dubbs
24a928e574 Tags 2023-08-22 21:00:39 -05:00
Thomas Trepl
efe8cf0904 Add a note about --disable-sandbox for platforms other than x86_64 2023-08-07 18:02:20 +02:00
Ken Moffat
f11dce689e Update to firefox-115.1.0esr. 2023-08-01 18:03:27 +01:00
Xi Ruoyao
0bb7c72b9c
firefox and thunderbird: Add pciutils as optional runtime dependency
Without pciutils, they output a suspicious line at startup:

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libpci missing (t=0.284539) [GFX1-]: glxtest: libpci missing

I'm not sure what it means but I think there will be no harm if we add
pciutils as optional runtime.
2023-07-16 00:32:50 +08:00
Ken Moffat
b6cb36ffa1 Update to firefox-115.0.2esr. 2023-07-12 04:04:23 +01:00
Ken Moffat
9403c3e01d Package updates:
Firefox-115.0esr,
JS-102.13.0,
2023-07-05 00:13:17 +01:00
Xi Ruoyao
42ddc3001a
treewide: Replace "User Notes" with "Editor Notes" 2023-06-30 02:18:51 +08:00
Ken Moffat
86249d2216 Separate JS102 fro mfirefox.
Firefox-115-esr is expected next week.
2023-06-25 21:54:48 +01:00
Xi Ruoyao
fa47dacd9a
mozilla: Update the desc for consolidated patch
Now the FFI UB fix is included in the tarball, but the patch now
contains some FTBFS workaround with Rustc-1.70.0.
2023-06-16 15:27:29 +08:00
Ken Moffat
d3daa9fe8c Package updates:
firefox-102.12.0,
js-102.12.0.
2023-06-06 21:19:34 +01:00
Ken Moffat
7f1e70b408 Firefox and thunderbird:
Update the obsolete command for how to list all configure options.

Breakage reported by rhubarbpieguy.
2023-05-26 19:41:22 +01:00
Xi Ruoyao
bee906cedc
firefox: Fix a typo 2023-05-15 15:32:04 +08:00
Xi Ruoyao
9d98701d38
firefox: Use the same patch as Thunderbird
Firefox shares many components with TB, so it also suffers the
same mutability UB exploited by LLVM 16.  Though it does not crash at
start up, there are some reports saying a crash will happen in certain
conditions.  Use the same patch as TB to fix the UB.

The patch has been symlinked in patches.git.
2023-05-15 15:21:23 +08:00
Ken Moffat
5a39c5a056 Package Updates:
firefox-102.11.0,
js-102.11.0.

Use a common entity for firefox-size.
2023-05-09 20:10:45 +01:00
Douglas R. Reno
51e9d68c19 Use correct Firefox patch version 2023-04-12 09:43:47 -05:00
Ken Moffat
c528a3e2ff Update for firefox-102.10.0 and JS-102.10.0. 2023-04-11 20:43:15 +01:00
Pierre Labastie
f54c9942d7 Use right versions of patches in firefox
Fix an oversight in preceding commit
2023-04-06 15:25:12 +02:00
Pierre Labastie
bca938546d Patch firefox for ffmpeg-6.0 2023-04-06 15:13:40 +02:00
Pierre Labastie
ecf5c22008 Revert "Patch firefox for ffmpeg 6"
This reverts commit 6ae36b505e.
The problem is that the patch allows diplaying H.264 videos, but
the vp9 videos are badly colorized (reddish).
2023-04-04 22:42:02 +02:00
Pierre Labastie
6ae36b505e Patch firefox for ffmpeg 6 2023-04-04 19:59:48 +02:00
Pierre Labastie
9c2509640c firefox: remove the sed for ROOT_CLIP_CHAIN
This is now upstream
2023-04-01 20:56:17 +02:00
Douglas R. Reno
686afa983c Fix building Firefox with LLVM-16. 2023-03-19 21:42:29 -05:00
Ken Moffat
081c78e887 Update to firefox-102.9.0esr and JS-102.9.0esr. 2023-03-14 20:41:19 +00:00
Pierre Labastie
923cfdb469 Remove unneeded sed's in firefox and thunderbird 2023-02-22 18:18:34 +01:00
Ken Moffat
9949ee1d87 Tags 2023-02-20 00:20:51 +00:00
Ken Moffat
c043e454dc Update to firefox-102.8.0 and JS-102.8.0. 2023-02-14 22:21:06 +00:00
Xi Ruoyao
75b1a338b8
Update more URLs to use https
Mostly plain http -> https replace, if https works.  If there is a HTTP
redirection, use the redirect target (unless it's a mirror or l10n like
"https://kde.org/zh-cn/").

Some non-trivial change:

* www.mnogosearch.org is dead.  Not sure how to replace, so deleted.
* use https://github.com/cacalib/libcaca for libcaca.
  http://caca.zoy.org/wiki/libcaca seems out-of-date.
* http://www.speech.cs.cmu.edu/flite/ is dead, replaced with github repo
  link.
2023-01-29 14:35:01 +08:00
Bruce Dubbs
60a2f00103 Use an entity for md5sums that are used more than once 2023-01-21 14:29:08 -06:00
Ken Moffat
aa5add933a Updates:
firefox-102.7.0,
JS-102.7.0.
2023-01-17 18:33:20 +00:00
Ken Moffat
8d219de89c Updates:
firefox-102.6.0,
js-102.6.0.

Measured on AMD 3400G using linux-6.0.12, and only 4 cores online
for JS, sizes and timings on other machines differ slightly.
2022-12-13 19:47:32 +00:00
Pierre Labastie
3f2db3a638 Remove sect1info tags
They only contain a date tag that is nowhere used.
2022-11-29 08:58:07 +01:00
Ken Moffat
89c9d87655 Update to firefox-102.5.0.
On this occasion the measurements are from an intel haswell, on
my normal test machine (still on icu71 and python3.10) the install
is 2MB larger and the SBU is bigger than for 102.4.0.
2022-11-16 19:29:48 +00:00
Pierre Labastie
fce78fdfbe firefox: add another fix for python-3.11 2022-11-08 23:13:36 +01:00