Commit graph

304 commits

Author SHA1 Message Date
Piotr Kubaj
bfed4b7f3b Mk/bsd.gecko.mk: enable cross-LTO on powerpc64le 2021-09-04 12:25:39 +00:00
pouet
55dbddeb07 lang/rust: Update to 1.54.0
- Update lang/rust to 1.54.0
 - Update devel/racer to 2.1.48
 - Fix various consumers

Changes:	https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html
Reviewed by:	tobik, pkubaj
Differential Revision:        https://reviews.freebsd.org/D31617
With hat:	rust
2021-08-28 15:38:37 +02:00
Christoph Moench-Tegeder
f9af88868d www/firefox: depend on libepoll-shim
libxul.so clearly links against libepoll-shim, and we have reports
of firefox failing to start without libepoll-shim. this also affects
mail/thunderbird (once we land it), so fix the problem in bsd.gecko.mk.
First reports are against firefox 90, set the version cutoff
accordingly.

PR:		257490
Reported by:	Maxim Filimonov
2021-08-14 23:13:09 +02:00
Christoph Moench-Tegeder
3ce47693f7 www/firefox: update to 90.0 (rc1)
Release Notes (soon):
  https://www.mozilla.org/en-US/firefox/90.0beta/releasenotes/

With this version, gtk2 is not required anymore.
2021-07-08 16:06:41 +02:00
Tobias Kortkamp
f897ded31e
lang/rust: Update to 1.53.0
Changes:	https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html
PR:		256653
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D30790
With hat:	rust
2021-06-27 07:39:50 +02:00
Jan Beich
f079b462f8 www/firefox: depend on libpci to qualify for WebRender by default
On Intel Skylake this enables WebRender for Xorg and Wayland (wlroots).
Xwayland isn't qualified yet but Firefox can be tricked by unsetting
WAYLAND_DISPLAY or simply switching to native via MOZ_ENABLE_WAYLAND.

PR:		255344
Reported by:	Evgeniy Khramtsov (via gecko@ list)
2021-05-30 15:38:23 +00:00
Christoph Moench-Tegeder
542fc01215 Mk/bsd.gecko.mk: bump rust-cbindgen dependency to 0.19.0
that's required for Firefox 89.0, and works for Thunderbird, too

Log:
  http://beefy13.nyi.freebsd.org/data/130i386-quarterly/ec4bc9831585/logs/firefox-89.0,2.log

Dependency defined in:
  build/moz.configure/bindgen.configure

Reported by:	pkg-fallout
2021-05-29 01:17:47 +02:00
Jan Beich
4e67118c7a gecko: ignore llvm in DEFAULT_VERSIONS if LTO is enabled
PR:		253771
MFH:		2021Q2
2021-05-11 17:52:58 +00:00
Tobias Kortkamp
d8837418ea
lang/rust: Update to 1.52.1
- Add 32-bit powerpc support from bdragon@
- Unbreak build with LibreSSL 3.3.x [1]
- Add an update script

Changes:	https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html
Changes:	https://blog.rust-lang.org/2021/05/10/Rust-1.52.1.html
PR:		255608, 255652 [1]
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D30099
2021-05-11 19:29:27 +02:00
Jan Beich
b1c90afe23 gecko: wait for rust before swiching llvm* next time
Cross-language LTO in www/firefox requires devel/llvm* and bundled
LLVM in lang/rust to be of the same major version. Adjust the comment
to delay future bumps but until LTO is enabled desync can still happen.

PR:		255359
Suggested by:	dim
2021-05-05 15:46:08 +00:00
Jan Beich
0cad1d8425 gecko: switch to llvm12
May help with LTO and -march=native issues.
2021-04-23 16:13:16 +00:00
Mathieu Arnold
5d33e04596
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
2021-04-06 16:27:10 +02:00
Tobias Kortkamp
db4578b35a lang/rust: Update to 1.51.0
- Update devel/racer to 2.1.44

Changes:	https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html
PR:		254578
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D29425
2021-03-29 18:07:32 +00:00
Jan Beich
664c7759c7 www/firefox: bump minimum dependencies after r568897 2021-03-21 00:56:05 +00:00
Piotr Kubaj
a10d93008e Mk/bsd.gecko.mk: use --enable-lto=thin on powerpc64le
--enable-lto=cross causes lld to hang.
2021-02-18 09:35:14 +00:00
Mikael Urankar
6bebfaa8a0 lang/rust: Update to 1.50.0
- Use bundled libgit/libssh, the versions in ports are too old
  - Update lang/rust-nightly to 2021-02-12
  - Update devel/racer to 2.1.41
  - Import upstream patch to fix build issue for Firefox and related ports (https://bugzilla.mozilla.org/show_bug.cgi?id=1684261)

Changes: https://github.com/rust-lang/rust/releases/tag/1.50.0

Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D28616
2021-02-14 15:45:10 +00:00
Piotr Kubaj
7b29b356be www/firefox: add LTO option
PR:		253036
Approved by:	gecko (maintainer timeout)
2021-02-10 19:23:50 +00:00
Jan Beich
e379690328 gecko: bump LLVM_DEFAULT to 11
Detach from tree-wide default as coordinating with other maintainers
is expensive for little gain. User's choice is still respected.

llvm11 has better Tier2 support, more optimizations, reduces package size
and aligns with what contributors dogfood.
2020-11-13 11:52:06 +00:00
Jan Beich
6bc733cbae www/firefox: update to 83.0
Changes:	https://www.mozilla.org/firefox/83.0/releasenotes/
2020-11-12 00:10:27 +00:00
Piotr Kubaj
bdab46aa8f Add powerpc64le since it uses the same CPU models as powerpc64. 2020-11-10 15:42:15 +00:00
Jan Beich
dc6a4d5f36 gecko: drop bogus comment r553595
llvm-objdupm is part of WITH_CLANG, not WITH_CLANG_EXTRAS
2020-10-29 10:01:20 +00:00
Jan Beich
b4e94c32aa gecko: unbreak with non-default CC/CXX
checking for clang for bindgen... not found
checking for libclang for bindgen... not found
ERROR: Could not find clang to generate run bindings for C/C++. Please install the necessary packages, run `mach bootstrap`, or use --with-clang-path to give the location of clang.

checking for llvm-objdump... not found
DEBUG: llvm_objdump: Trying llvm-objdump
ERROR: Cannot find llvm-objdump

Reported by:	pkg-fallout (powerpc64)
2020-10-29 09:56:42 +00:00
Piotr Kubaj
a9e0b11546 Use correct target-cpu for power* CPU's
Using CPUTYPE?=power9 causes warnings and emits unoptimized code. Rust supports pwr* instead of power*, e.g.:
    pwr3
    pwr4
    pwr5
    pwr5x
    pwr6
    pwr6x
    pwr7
    pwr8
    pwr9
2020-09-19 13:01:35 +00:00
Jan Beich
a128470d34 gecko: drop ancient sparc64 workaround
FreeBSD 13.0 no longer supports sparc64. Firefox >= 53 requires Rust
but sparc64 is only supported by Linux, NetBSD, OpenBSD.

https://bugzilla.mozilla.org/show_bug.cgi?id=455393
2020-09-18 15:56:14 +00:00
Jan Beich
1f5de25166 gecko: drop python2 dependency after r548882 2020-09-18 15:56:04 +00:00
Piotr Kubaj
410edceabd Mk/bsd.gecko.mk: fix build with defined CPUTYPE on powerpc64 (and possibly others)
In /etc/make.conf:
CPUTYPE?=power9

When trying to build www/firefox:
make: "/usr/ports/Mk/bsd.gecko.mk" line 265: Malformed conditional (${ARCH:Maarch64} || ${MACHINE_CPU:Msse2})
make: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.gecko.mk" line 265: Malformed conditional (${ARCH:Maarch64} || ${MACHINE_CPU:Msse2})
make: "/usr/ports/Mk/bsd.port.mk" line 4517: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5203: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.gecko.mk" line 265: Malformed conditional (${ARCH:Maarch64} || ${MACHINE_CPU:Msse2})
make: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.gecko.mk" line 265: Malformed conditional (${ARCH:Maarch64} || ${MACHINE_CPU:Msse2})
make: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.gecko.mk" line 265: Malformed conditional (${ARCH:Maarch64} || ${MACHINE_CPU:Msse2})
make: Fatal errors encountered -- cannot continue

PR:		248826
Approved by:	gecko (maintainer timeout)
2020-09-07 00:58:07 +00:00
Jan Beich
0c61cc4d7a gecko: add native OSS support, replacing ALSA as fallback
OSS is always built but during runtime only selected by default if
neither pulseaudio, jackit or sndio are installed. In particular,
Gnome and KDE users would still be offered PulseAudio by default due
to integration with multi-app volume widgets, current song bars,
screensharing with audio, etc. that prefer to talk over DBus.
Those can opt out via media.cubeb.backend=oss in about:config.

Submitted by:	Ka Ho Ng <khng300@gmail.com> (based on)
2020-08-21 16:32:05 +00:00
Jan Beich
8cf193440e www/firefox: update to 80.0
Changes:	https://www.mozilla.org/firefox/80.0/releasenotes/
2020-08-18 00:52:34 +00:00
Jan Beich
0a3d0644eb www/firefox: update to 78.0
Changes:	https://www.mozilla.org/firefox/78.0/releasenotes/
PR:		247329
Differential Revision:	https://reviews.freebsd.org/D25301
2020-06-23 11:48:39 +00:00
Piotr Kubaj
16daddfbda Mk/bsd.gecko.mk: add devel/binutils to BUILD_DEPENDS
Currently, Rust on powerpc64 elfv2 builds with GCC because of past issue with LLVM. However, this issue seems to be resolved now and I can already build Rust with Clang and then build with it other packages, like Firefox.

The problem is that, when using GCC, binutils is getting installed, but when using LLVM, it's not and there is -fno-integrated-as getting passed on ppc64.

Since it's only for the build and users building from ports have binutils installed anyway, add it for everyone.

PR:		247387
Approved by:	jbeich (maintainer)
2020-06-18 20:34:16 +00:00
Jan Beich
722569f05b gecko: add missing Wayland dependency with libglvnd
checking for gtk+-wayland-3.0 >= 3.10 xkbcommon >= 0.4.1 libdrm >= 2.4... no
WARNING: Package libdrm was not found in the pkg-config search path.
WARNING: Perhaps you should add the directory containing `libdrm.pc'
WARNING: to the PKG_CONFIG_PATH environment variable
WARNING: Package 'libdrm', required by 'virtual:world', not found
2020-05-27 20:03:43 +00:00
Jan Beich
e2c79a9b03 www/firefox: update to 77.0
Changes:	https://www.mozilla.org/firefox/77.0/releasenotes/
2020-05-25 23:05:29 +00:00
Jan Beich
8e00d5932e gecko: drop x11/startup-notification dependency
https://bugzilla.mozilla.org/show_bug.cgi?id=726479
2020-05-15 04:59:07 +00:00
Jan Beich
839032869e gecko: drop GCONF option after upstream
https://bugzilla.mozilla.org/show_bug.cgi?id=1433685
2020-05-15 04:59:00 +00:00
Jan Beich
1c2d56a74e gecko: drop --with-system-bz2 after upstream
https://bugzilla.mozilla.org/show_bug.cgi?id=1418425
2020-05-15 04:58:54 +00:00
Jan Beich
d3e69fc3a8 www/firefox: update to 75.0
Changes:	https://www.mozilla.org/firefox/75.0/releasenotes/
PR:		244793
Security:	98c69f9a-856b-4180-8f0b-11846626c6cc
Differential Revision:	https://reviews.freebsd.org/D24062
2020-03-31 20:32:40 +00:00
Jan Beich
09291dd82f www/firefox: update to 74.0
Changes:	https://www.mozilla.org/firefox/74.0/releasenotes/
PR:		244310
Security:	9f900456-0bfa-4da4-ad59-14b2933259a2
Differential Revision:	https://reviews.freebsd.org/D23646
2020-03-05 02:03:14 +00:00
Jan Beich
ba23a7be9b www/firefox: update to 73.0
Changes:	https://www.mozilla.org/firefox/73.0/releasenotes/
PR:		243295
Security:	802e3138-b8af-4a89-a908-f103107e64b4
Differential Revision:	https://reviews.freebsd.org/D23146
2020-02-04 00:39:23 +00:00
Tobias Kortkamp
83096313be lang/rust: Add COMPAT_FREEBSD11 canary
This attempts to provide a nicer error message for the subset of
users who build their own kernels without COMPAT_FREEBSD11 and then
attempt to build lang/rust.  The Rust ecosystem currently uses
pre-ino64 syscalls, so building lang/rust without COMPAT_FREEBSD11
is not going to work.

The error message for this is non-obvious and there is a new bug
for this at least every 1-2 months.  Hopefully this will improve
the situation a little.

Cargo and Gecko ports are similarly affected, so add the pre-build
check to them too.

Reviewed by:	jbeich, mikael.urankar@gmail.com
Tested by:	madpilot (negative case)
Approved by:	gecko (jbeich)
Differential Revision:	https://reviews.freebsd.org/D23100
2020-01-13 18:36:04 +00:00
Jan Beich
bddf82db3a www/firefox: update to 72.0
Changes:	https://www.mozilla.org/firefox/72.0/releasenotes/
PR:		242605
Security:	a4d0f92b-2188-40aa-9aa3-005b0a89cc72
Differential Revision:	https://reviews.freebsd.org/D22781
2019-12-31 00:46:53 +00:00
Piotr Kubaj
95a1d26f49 Mk/bsd.port.mk: detect powerpc64 abi
We'll have a new abi on ppc64 soon (ELFv2) which is incompatible with the ELFv1 abi. We need to detect the abi on which we build stuff.

Submitted by:	mikael_urankar@gmail.com
Approved by:	portmgr (earlier version)
Differential Revision:	https://reviews.freebsd.org/D22039
2019-11-29 15:02:14 +00:00
Jan Beich
21aaaafc33 www/firefox: update to 71.0
Changes:	https://www.mozilla.org/firefox/71.0/releasenotes/
PR:		241840
Security:	13b6433c-7aaf-477b-b96b-164924a005bb
MFH:		2019Q4
Differential Revision:	https://reviews.freebsd.org/D22296
2019-11-26 01:01:18 +00:00
Jan Beich
0c8b725e35 gecko: drop unused system hunspell after r509969 2019-11-03 15:52:21 +00:00
Jan Beich
e214ca8a09 www/firefox: update to 70.0.1
Changes:	https://www.mozilla.org/firefox/70.0.1/releasenotes/
PR:		240440
2019-10-30 18:29:01 +00:00
Jan Beich
e884af6ed3 www/firefox: update to 70.0
Changes:	https://www.mozilla.org/firefox/70.0/releasenotes/
PR:		240440
Security:	e1c901e9-ed1e-415d-8272-f171bfc265bd
MFH:		2019Q4
Differential Revision:	https://reviews.freebsd.org/D21572
2019-10-15 00:40:32 +00:00
Jan Beich
e42656a186 gecko: drop LLVM_DEFAULT workaround for i386 after r514194
PR:		240918
2019-10-10 00:44:57 +00:00
Jan Beich
3f1915711d Switch default devel/llvm* to 90
PR:		239682
Reviewed by:	tobik
Differential Revision:	https://reviews.freebsd.org/D21172
2019-09-20 19:58:36 +00:00
Jan Beich
fa90bbcc7a gecko: enable SNDIO by default
To avoid runtime dependency switch to dlopen(3).

PR:		238096
Requested by:	many
2019-09-07 20:53:07 +00:00
Jan Beich
ff256dc2de gecko: drop support for Firefox < 68 after r509969 2019-09-05 23:35:59 +00:00
Jan Beich
d1b99f62c6 gecko: drop remnants of WAYLAND option after r509969 2019-09-05 23:35:51 +00:00