Commit graph

281 commits

Author SHA1 Message Date
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
Jan Beich
3adffbd3a1 gecko: don't require gconf on non-Gnome2 desktops
Take advantage of lazy bindings by not requiring runtime dependency.
DBus is required under Wayland (Gecko-specific) and for MIME handling
but GConf2 is useless outside of Gnome2. So, only use GConf2 if it's
already installed (similar to PulseAudio).

PR:		240323
2019-09-05 11:25:53 +00:00
Jan Beich
3469b395af www/firefox: bump required rust version after r509978 2019-09-05 10:39:58 +00:00
Jan Beich
32536a3abe Revert unintentional change in r509973 2019-08-27 00:50:23 +00:00
Jan Beich
fdbe420154 multimedia/rav1e: update to s20190826
Changes:	dc34123f...1fc3a1c6
2019-08-27 00:48:13 +00:00
Jan Beich
f4a001a5b1 gecko: drop MOZ_RPATH after r315713 2019-07-04 11:40:57 +00:00
Jan Beich
f4943f19c3 gecko: drop nspr-related *FLAGS substitution
https://bugzilla.mozilla.org/show_bug.cgi?id=514211
2019-07-04 11:40:53 +00:00
Jan Beich
2e37999838 gecko: drop staging remnants after r357413 2019-07-04 11:40:47 +00:00
Jan Beich
e94016c23b gecko: drop MOZ_* variables controlling defaults 2019-07-04 11:40:41 +00:00
Jan Beich
5c3a510f7c gecko: drop PORT_MOZCONFIG, it wasn't flexible enough 2019-07-04 11:40:33 +00:00
Jan Beich
f01a9b3265 gecko: drop pre/post-install scripts after r473092 and r497197 2019-07-04 11:40:26 +00:00
Jan Beich
6fd22aac7c gecko: drop GTK2 and RUST options after r505740 and r505753 2019-07-04 11:39:49 +00:00
Jan Beich
f3662b250b www/firefox: update to 68.0
Changes:	https://www.mozilla.org/firefox/68.0/releasenotes/
PR:		238087
Security:	0592f49f-b3b8-4260-b648-d1718762656c
MFH:		2019Q2
Differential Revision:	https://reviews.freebsd.org/D20391
2019-07-01 21:09:07 +00:00
Jan Beich
0e2f7f8c06 www/firefox: switch to system aom/dav1d
Obtained from:	upstream (via Gentoo)
2019-06-14 06:55:13 +00:00
Jan Beich
c784ee57d6 www/firefox: bump required cbindgen after r501604
Reported by:	Mikaël Urankar
2019-05-25 16:11:00 +00:00
Jan Beich
0d31b9184d www/firefox: require more recent icu/rust after r490910/r501604 2019-05-25 11:51:02 +00:00
Jan Beich
bba9bc0881 www/firefox: restore SafeBrowsing v4 after r495403
Required for phishing protection. Not covered by uBlock Origin lists.
Looks like #Mozilla didn't announce the POLA-violating change anywhere
public despite backporting to ESR60.

https://bugzilla.mozilla.org/show_bug.cgi?id=1531176
2019-05-17 12:02:08 +00:00
Jan Beich
2491d7944a www/firefox: update to 67.0
Changes:	https://www.mozilla.org/firefox/67.0/releasenotes/
PR:		236651
Security:	44b6dfbf-4ef7-4d52-ad52-2b1b05d81272
MFH:		2019Q2
Differential Revision:	https://reviews.freebsd.org/D19654
2019-05-13 23:55:28 +00:00
Jan Beich
32daaae72c Switch to -fstack-protector-strong and enable on more architectures
PR:		237273
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D19907
2019-04-24 19:15:05 +00:00
Jan Beich
6411d06312 www/firefox: enable -fstack-protector-strong
aarch64 already used it, so switch x86 as well. Mk/bsd.ssp.mk doesn't
appear maintained, anyway.
2019-04-08 11:51:00 +00:00
Jan Beich
e713d1a244 www/firefox: switch to upstream fix for non-x86
PR:		233707
2019-04-08 11:50:52 +00:00
Jan Beich
44319ef4b0 www/firefox: update to 66.0
Changes:	https://www.mozilla.org/firefox/66.0/releasenotes/
PR:		235300
Security:	05da6b56-3e66-4306-9ea3-89fafe939726
MFH:		2019Q1
Differential Revision:	https://reviews.freebsd.org/D19020
2019-03-12 00:55:59 +00:00
Jan Beich
a979efdddb www/firefox: unbreak on non-x86
checking for clock_gettime(CLOCK_MONOTONIC)... no
[...]
The error occurred while processing the following file:

    /wrkdirs/usr/ports/www/firefox/work/firefox-65.0.2/mozglue/misc/moz.build

A moz.build file called the error() function.

The error it encountered is:

    No TimeStamp implementation on this platform.  Build will not succeed

Correct the error condition and try again.

PR:		233707
Reported by:	bob prohaska, pkg-fallout
Submitted by:	tijl
2019-03-06 04:07:50 +00:00
Jan Beich
87378368c4 lang/rust: update to 1.33.0
- www/firefox temporarily loses SIMD in charset conversion, see
  https://bugzilla.mozilla.org/show_bug.cgi?id=1521249
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2019/02/28/Rust-1.33.0.html
Tested by:	Mikaël Urankar (aarch64, armv6, armv7, powerpc64), Piotr Kubaj (powerpc64)
Approved by:	rust (tobik)
Differential Revision:	https://reviews.freebsd.org/D19354
2019-02-28 18:51:45 +00:00