Commit graph

338 commits

Author SHA1 Message Date
Jan Beich
f01a9b3265 gecko: drop pre/post-install scripts after r473092 and r497197 2019-07-04 11:40:26 +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
64febe325f www/firefox: switch to rc2
Changes:	https://hg.mozilla.org/releases/mozilla-release/pushloghtml?startdate=2019-06-07&enddate=2019-06-09
PR:		236651
2019-06-09 22:39:47 +00:00
Jan Beich
50036873b4 www/firefox: unbreak language selection after r495403
PR:		221916
2019-06-01 00:46:23 +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
e713d1a244 www/firefox: switch to upstream fix for non-x86
PR:		233707
2019-04-08 11:50:52 +00:00
Jan Beich
572774985d www/firefox: unbreak on aarch64 after r495403
media/libopus/silk/arm/arm_silk_map.c:31:10: fatal error: 'main_FIX.h' file not found
 #include "main_FIX.h"
          ^~~~~~~~~~~~

Reported by:	pkg-fallout
2019-03-20 00:19:00 +00:00
Jan Beich
8d89342c41 www/firefox: unbreak on armv6/armv7/powerpc64
error: Could not compile `libc`.
warning: build failed, waiting for other jobs to finish...
error[E0433]: failed to resolve: use of undeclared type or module `mem`
  --> third_party/rust/libc/src/unix/bsd/freebsdlike/freebsd/powerpc64.rs:35:32
   |
35 | pub const _ALIGNBYTES: usize = mem::size_of::<::c_long>() - 1;
   |                                ^^^ use of undeclared type or module `mem`

Reported by:	pkg-fallout
2019-03-13 15:41:17 +00:00
Jan Beich
28475bd30a www/firefox: add one more WeBrender+Wayland fix 2019-03-12 00:59:03 +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
Tobias Kortkamp
a022d4f98b www/firefox: Silence pkg-deinstall
This should prevent messages like

rmdir: /usr/local/lib/firefox: Directory not empty

during upgrades.  multimedia/openh264 creates
/usr/local/lib/firefox/defaults/pref/gmpopenh264.js
so the directory might not be empty at that time.

PR:		236447
Approved by:	gecko (jbeich)
2019-03-10 16:07:21 +00:00
Jan Beich
ca8030a9f9 www/firefox-esr: unbreak on powerpc64 after r472833
In file included from objdir/js/src/Unified_cpp_js_src41.cpp:2:
js/src/wasm/WasmSignalHandlers.cpp: In function 'uint8_t** ContextToPC(ucontext_t*)':
js/src/wasm/WasmSignalHandlers.cpp:439:19: error: 'R32_sig' was not declared in this scope
 #define PC_sig(p) R32_sig(p)
                   ^~~~~~~
js/src/wasm/WasmSignalHandlers.cpp:450:39: note: in expansion of macro 'PC_sig'
   return reinterpret_cast<uint8_t**>(&PC_sig(context));
                                       ^~~~~~
js/src/wasm/WasmSignalHandlers.cpp:439:19: note: suggested alternative: 'R12_sig'
 #define PC_sig(p) R32_sig(p)
                   ^~~~~~~
js/src/wasm/WasmSignalHandlers.cpp:450:39: note: in expansion of macro 'PC_sig'
   return reinterpret_cast<uint8_t**>(&PC_sig(context));
                                       ^~~~~~

Reported by:	pkg-fallout
2019-03-06 02:55:21 +00:00
Jan Beich
cd06546893 www/firefox: correct Skia error on aarch64
Instead of using -target aarch64-unknown-freebsd12.0 get the error
from inside aarch64 jail. AT_HWCAP exists on all achitectures but is
only implemented on armv6/armv7 and powerpc*.
2019-03-02 01:17:42 +00:00
Jan Beich
5e1e05f2d8 www/firefox: unbreak on aarch64 and powerpc64
PR:		234253
Submitted by:	Mikaël Urankar
2019-03-01 19:14:38 +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
Jan Beich
141abf3f7f www/firefox: backport another Wayland+WebRender fix
Obtained from:	      upstream (Firefox 67)
2019-02-26 17:03:56 +00:00
Jan Beich
cb1089bee6 www/firefox: add one more Wayland+WebRender fix
Obtained from:	 upstream (Firefox 67)
2019-02-19 00:33:47 +00:00
Jan Beich
1d3dabbf4b www/firefox: update Wayland fix to upstream version
Matches what landed in Firefox 67. More fixes maybe backported in
future, so this helps to avoid patch conflicts.
2019-02-16 04:50:14 +00:00
Jan Beich
2295ef4013 www/firefox: update r491042 with upstream fix 2019-02-06 13:32:54 +00:00
Jan Beich
4c4187ca9e www/firefox: unbreak WAYLAND=off build after r490910
In file included from ../.build/gfx/webrender_bindings/Unified_cpp_webrender_bindings0.cpp:20:
gfx/webrender_bindings/RenderCompositor.cpp:35:47: error: use of undeclared identifier 'RenderCompositorEGL'; did you mean 'RenderCompositorOGL'?
  UniquePtr<RenderCompositor> eglCompositor = RenderCompositorEGL::Create(aWidget);
                                              ^~~~~~~~~~~~~~~~~~~
                                              RenderCompositorOGL
../.build/dist/include/mozilla/webrender/RenderCompositorOGL.h:16:7: note: 'RenderCompositorOGL' declared here
class RenderCompositorOGL : public RenderCompositor {
      ^
In file included from ../.build/gfx/webrender_bindings/Unified_cpp_webrender_bindings0.cpp:20:
gfx/webrender_bindings/RenderCompositor.cpp:35:75: error: rvalue reference to type 'RefPtr<...>' cannot bind to lvalue of type 'RefPtr<...>'
  UniquePtr<RenderCompositor> eglCompositor = RenderCompositorEGL::Create(aWidget);
                                                                          ^~~~~~~
../.build/dist/include/mozilla/webrender/RenderCompositorOGL.h:19:42: note: passing argument to parameter 'aWidget' here
      RefPtr<widget::CompositorWidget>&& aWidget);
                                         ^

PR:		233791
Reported by:	many
2019-01-23 14:55:02 +00:00
Jan Beich
94ba015244 www/firefox: update to 65.0
Backport a fix for WebRender on Wayland e.g.,

$ GDK_BACKEND=wayland MOZ_WEBRENDER=1 MOZ_ACCELERATED=1 firefox https://example.com/

Changes:	https://www.mozilla.org/firefox/65.0/releasenotes/
PR:		233791
Security:	b1f7d52f-fc42-48e8-8403-87d4c9d26229
MFH:		2019Q1
Differential Revision:	https://reviews.freebsd.org/D18432
2019-01-21 23:03:45 +00:00
Jan Beich
617c9323cd www/firefox: update to 64.0
Changes:	https://www.mozilla.org/firefox/64.0/releasenotes/
PR:		233028
Security:	d10b49b2-8d02-49e8-afde-0844626317af
MFH:		2018Q4
Differential Revision:	https://reviews.freebsd.org/D17871
2018-12-04 00:54:38 +00:00
Jan Beich
d0ec9facfd gecko: unbreak with more strict regex(3) on FreeBSD 13
In file included from ../.build/dom/workers/Unified_cpp_dom_workers0.cpp:11:
dom/workers/ChromeWorkerScope.cpp:56:10: error: use of undeclared identifier 'JS_InitCTypesClass'
    if (!JS_InitCTypesClass(aCx, aGlobal) ||
         ^
dom/workers/ChromeWorkerScope.cpp:61:18: error: unknown type name 'JSCTypesCallbacks'
    static const JSCTypesCallbacks callbacks = {
                 ^

PR:		233453
Reported by:	kevans
2018-11-26 06:44:58 +00:00
Jan Beich
57c6708383 www/firefox: don't load system dictionaries after r472727
Bundled Hunspell may not be compatible. If users still want system
dictionaries they can set spellchecker.dictionary_path in about:config.
2018-11-20 18:57:23 +00:00
Jan Beich
1bfb541196 gecko: drop system ogg/vorbis support
Too infrequently updated to justify maintenance burden.
2018-11-20 18:55:42 +00:00
Jan Beich
493ad91428 gecko: drop JPEG_PORT=graphics/jpeg support
Completely untested for years.
2018-11-20 18:55:08 +00:00
Jan Beich
3747c7b9ed gecko: drop OSS audio backend
- Poor latency
- No multichannel support
- No input device support
- No device selection
- No upstream maintainer
2018-11-20 18:54:51 +00:00
Christoph Moench-Tegeder
de105ceb57 www/firefox: update to 63.0.3
https://www.mozilla.org/en-US/firefox/63.0.3/releasenotes/

PR:		233253
Approved by:	jbeich (maintainer)
MFH:		2018Q4
2018-11-16 15:09:56 +00:00
Rene Ladan
8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00
Jan Beich
e82653dbdc www/firefox: restore cbindgen < 0.6.7 support (after r483606)
dist/include/nsStyleStruct.h:1896:3: error: unknown type name 'StyleFillRule'
dist/include/nsStyleStruct.h:2134:12: error: no type named 'StyleDisplay' in namespace 'mozilla'

PR:		229893
Reported by:	yuripv
Obtained from:	upstream
2018-11-01 05:53:12 +00:00
Jan Beich
abd45cf2f2 www/firefox: unbreak with cbindgen 0.6.7 (after r483566)
dist/include/nsStyleStruct.h:1896:3: error: unknown type name 'StyleFillRule', err: true
dist/include/nsStyleStruct.h:2134:12: error: no type named 'StyleDisplay' in namespace 'mozilla', err: true

PR:		229893
Reported by:	Piotr Kubaj, cmt
Obtained from:	upstream
Pointy hat to:	jbeich
2018-10-31 19:01:34 +00:00
Jan Beich
f4b5e31301 gecko: expose Wayland support 2018-10-20 21:39:35 +00:00
Jan Beich
d2fc27366b www/firefox: update to 63.0
Changes:	https://www.mozilla.org/firefox/63.0/releasenotes/
PR:		229893
Security:	7c3a02b9-3273-4426-a0ba-f90fad2ff72e
MFH:		2018Q4
Differential Revision:	https://reviews.freebsd.org/D16356
2018-10-16 00:01:22 +00:00
Jan Beich
29d1be2c87 www/firefox: update to 62.0.2
Changes:	https://www.mozilla.org/firefox/62.0.2/releasenotes/
PR:		229168
2018-09-21 11:16:22 +00:00
Jean-Sébastien Pédron
aa8061d1c1 lang/rust: Update to 1.29.0
Release notes:
* https://blog.rust-lang.org/2018/07/20/Rust-1.27.2.html
* https://blog.rust-lang.org/2018/08/02/Rust-1.28.html
* https://blog.rust-lang.org/2018/09/13/Rust-1.29.html

Up to and including Rust 1.27.x, the Rust build system shelled out to
a configure script to detect the presence and usability of libunwind.
Since Rust 1.28.0, it's using a static result in a `build.rs` file and
expects libunwind to be used. It was not the case on FreeBSD so far, so
we need a patch to this `build.rs` to disable that. We still need to
study if the FreeBSD port should use libunwind and what to do with this
patch. But this problem prevented the update to Rust 1.28.0 already, so
enough delay.

The update also comes with a patch to a few `USE_GECKO`-based ports such
as Firefox [1]. Their configure script has some asumptions on the output
of `rustc --print target-list` which are not true anymore. The patch was
already committed upstream.

The aarch64 version is still marked as BROKEN because I didn't find the
time to work on it. As a consequence, there is also no aarch64 bootstrap
for Rust 1.29.0.

PR:		229826
Approved by:	jbeich [1]
Obtained from:	https://bugzilla.mozilla.org/show_bug.cgi?id=1479540 [1]
Differential Revision:	https://reviews.freebsd.org/D17178
2018-09-16 07:57:08 +00:00
Jan Beich
80fbe46e49 www/firefox: update to 62.0
Changes:	https://www.mozilla.org/firefox/62.0/releasenotes/
PR:		229168
Security:	c96d416a-eae7-4d5d-bc84-40deca9329fb
MFH:		2018Q3
Differential Revision:	https://reviews.freebsd.org/D15913
2018-08-28 00:01:14 +00:00
Jan Beich
49e7ddb1eb gecko: drop PGO workaround after r454669 2018-07-02 19:46:00 +00:00
Tobias Kortkamp
9225339214 www/firefox: Backport sndio volume handling fix
https://bugzilla.mozilla.org/show_bug.cgi?id=1467882

PR:		229135
Approved by:	gecko (jbeich)
2018-06-30 13:00:50 +00:00
Jan Beich
a07c15747d www/firefox: update to 61.0
- Drop DTRACE option, as it no longer builds
  https://bugzilla.mozilla.org/show_bug.cgi?id=1448659
  https://bugzilla.mozilla.org/show_bug.cgi?id=702179#c33
- Stop using system hunspell per
  https://bugzilla.mozilla.org/show_bug.cgi?id=1460600

Changes:	https://www.mozilla.org/firefox/61.0/releasenotes/
PR:		227850
Security:	cd81806c-26e7-4d4a-8425-02724a2f48af
MFH:		2018Q2
Differential Revision:	https://reviews.freebsd.org/D15227
2018-06-19 00:37:43 +00:00
Jan Beich
671353bbc3 www/firefox: switch Skia to upstream big-endian fix
No PORTREVISION bump because powerpc*/sparc64 don't have a working
lang/rust, anyway.
2018-05-25 01:00:36 +00:00
Jan Beich
35d5410cfa gecko: restore support for native extensions after r470668/r470672
PR:		226919
2018-05-23 05:19:16 +00:00
Jan Beich
ab146876a8 gecko: adjust targetPlatform after r470668
PR:		226919
Reported by:	Corpo (for Lightning)
2018-05-23 04:04:53 +00:00
Jan Beich
5f83a8cdba gecko: mask as Linux on AMO for compatibility
Many extensions on addons.mozilla.org aren't listed or updated due to
platform whitelist abuse. On DragonFly the search is broken because
such a platform isn't recognized.

PR:		226919
Reported by:	Graham Perrin
2018-05-23 01:21:20 +00:00
Jan Beich
3bd2b5f350 www/firefox: deprecate libc++ < 4.0 workaround
Reminded by:	PkgSrc
2018-05-10 22:21:15 +00:00
Jan Beich
bf41e49d70 www/firefox: drop SC_SEM_NSEMS_MAX workaround
FreeBSD 10.3 and 11.0 have reached EOL.

PR:		218581
2018-05-10 21:54:25 +00:00
Jan Beich
3b1ac407a2 www/firefox: backout r469343 for bustage
ipc/chromium/src/base/process_util_linux.cc:39:23: error: no member named 'fork_delegate' in 'base::LaunchOptions'
  pid_t pid = options.fork_delegate ? options.fork_delegate->Fork() : fork();
              ~~~~~~~ ^
ipc/chromium/src/base/process_util_linux.cc:39:47: error: no member named 'fork_delegate' in 'base::LaunchOptions'
  pid_t pid = options.fork_delegate ? options.fork_delegate->Fork() : fork();
                                      ~~~~~~~ ^
2018-05-08 00:45:15 +00:00
Jan Beich
4a03a1de73 www/firefox: close unwanted fds 2018-05-08 00:35:03 +00:00
Jan Beich
824e715490 www/firefox: apply some aarch64 fixes
Obtained from:	   upstream (Firefox 61)
2018-05-07 20:31:04 +00:00
Jan Beich
fda179862d www/firefox: update to 60.0
- Add U2F support, required by Web Authentication [1]
- Drop libv4l support to reduce maintenance

Changes:	https://www.mozilla.org/firefox/60.0/releasenotes/
PR:		226476
Tested by:	tobik, jrm, D. Ebdrup, lwhsu
Submitted by:	Greg V [1]
Security:	5aefc41e-d304-4ec8-8c82-824f84f08244
MFH:		2018Q2
Differential Revision:	https://reviews.freebsd.org/D15186
2018-05-01 00:51:37 +00:00