Commit Graph

231 Commits

Author SHA1 Message Date
Piotr Kubaj 9c317d3cc1 mail/thunderbird: fix runtime crashes on powerpc64*
Details in https://bugzilla.mozilla.org/show_bug.cgi?id=1690152

Approved by:	tier 2 blanket
2021-02-03 04:07:02 +00:00
Christoph Moench-Tegeder 0596cc113c update thunderbird to 78.6.1 (rc1)
Release Notes (soon):
  https://www.thunderbird.net/en-US/thunderbird/78.6.1/releasenotes/

MFH:		2021Q1 (when GA)
2021-01-08 14:23:34 +00:00
Jan Beich b6c2e134a0 devel/rust-cbindgen: update to 0.16.0 (like r558794)
With fixes for firefox-esr and thunderbird.

Changes:	https://github.com/eqrion/cbindgen/compare/v0.15.0...v0.16.0
Reported by:	GitHub (watch releases)
2020-12-31 00:31:41 +00:00
Piotr Kubaj eb4fd77df0 mail/thunderbird, www/firefox-esr: correct patch for powerpc64
The macro is named MOZ_BIG_ENDIAN(), not MOZ_BIG_ENDIAN.

Approved by:	tier 2 blanket
2020-12-19 13:27:09 +00:00
Jan Beich 86238fa68e gecko: apply the rest of the upstream fix for rust 1.48
PR:		251356
2020-11-25 02:56:38 +00:00
Mikael Urankar 4e449e031e lang/rust: Update to 1.48.0
Changes: https://github.com/rust-lang/rust/releases/tag/1.48.0

Reviewed by:	jbeich
Tested by:	bdragon, jbeich, mikael
Differential Revision:	https://reviews.freebsd.org/D27293
2020-11-24 12:48:53 +00:00
Christoph Moench-Tegeder 6087dbaf07 mail/thunderbird: update to 78.5.0 (rc1)
Release Notes (soon):
  https://www.thunderbird.net/en-US/thunderbird/78.5.0/releasenotes/

MFH:		2020Q4 (under blanket: web browser alike)
2020-11-14 21:35:39 +00:00
Jan Beich 7249f5283d www/firefox-esr: revert r522464 to improve stability
Upstream adopted memfd_create instead which requires FreeBSD >= 13.
Having ESR behave differently complicates maintenance, so drop
SHM_ANON for now.

PR:		243252
2020-11-13 22:46:33 +00:00
Christoph Moench-Tegeder 8e018dc30f mail/thunderbird: update to 78.4.0 (rc1)
Release Notes (soon):
  https://www.thunderbird.net/en-US/thunderbird/78.4.0/releasenotes/

MFH:		2020Q4 (under blanket: web browser alike)
2020-10-19 11:03:28 +00:00
Rene Ladan 477f178b04 mail/thunderbird: remove a patch file only useful for FreeBSD 11.3
Phabricator:	D26646
2020-10-17 14:41:26 +00:00
Mikael Urankar d9b97de179 lang/rust: Update to 1.47.0
- Add powerpc64le arch (submitted by bdragon in D26711)
  - Disable DOCS, same problem fixed in r546048

  - Update devel/racer to 2.1.36
  - Import upstream patch to fix www/firefox
    (https://hg.mozilla.org/integration/autoland/rev/e2cede25c027)
  - Import gentoo patches to fix www/firefox-esr, www/cliqz and mail/thunderbird
    (https://dev.gentoo.org/~whissi/mozilla/patchsets/firefox-esr-78-patches-03.tar.xz : 0036, 0037 and 0038)
  - Force rebuild all consumers to catch regressions

Changelog:
  https://github.com/rust-lang/rust/releases/tag/1.47.0

Differential Revision:	https://reviews.freebsd.org/D26721
2020-10-13 08:36:35 +00:00
Jan Beich fbfaa71508 gecko: update OSS patches
Changes:	https://github.com/kinetiknz/cubeb/commit/4e60bb8
2020-10-10 20:35:06 +00:00
Jan Beich 585ede22e7 gecko: update OSS patches
Changes:	https://github.com/kinetiknz/cubeb/compare/cc85508...1f3771f
2020-10-10 00:25:54 +00:00
Jan Beich 4c678b9f3e gecko: update OSS patches
Changes:	https://github.com/kinetiknz/cubeb/compare/b594641...cc85508
2020-10-08 00:38:20 +00:00
Jan Beich c2a791e21b gecko: update OSS patches
Changes:	https://github.com/kinetiknz/cubeb/compare/9a00981...b594641
Submitted by:	Ka Ho Ng
Differential Revision:	https://reviews.freebsd.org/D26547
2020-09-25 04:46:59 +00:00
Jan Beich b879dba236 gecko: update OSS patches
Changes:	https://github.com/kinetiknz/cubeb/compare/49312d4...9a00981
2020-09-24 00:57:19 +00:00
Christoph Moench-Tegeder c3ec356e1d mail/thunderbird: update to 78.3.0 (rc1)
https://www.thunderbird.net/en-US/thunderbird/78.3.0/releasenotes/ (soon)
2020-09-19 22:47:30 +00:00
Christoph Moench-Tegeder ba9052fd39 update mail/thunderbird to 78.2.2
See https://support.mozilla.org/en-US/kb/new-thunderbird-78 for major
changes in Thunderbird 78, the release announcement in
https://blog.thunderbird.net/2020/07/whats-new-in-thunderbird-78/ and
https://blog.thunderbird.net/2020/09/openpgp-in-thunderbird-78/ info
for OpenPGP users. Also check UPDATING 20200918.
Current release notes are in
https://www.thunderbird.net/en-US/thunderbird/78.2.2/releasenotes/

PR:		249346
Submitted by:	jbeich
2020-09-18 10:02:23 +00:00
Jan Beich e603b4e4d1 gecko: update OSS patches
Changes:	https://github.com/kinetiknz/cubeb/compare/957847c...49312d4
2020-08-30 00:20:45 +00:00
Jan Beich 7c156bf8ba gecko: update OSS patches
Changes:	https://github.com/kinetiknz/cubeb/compare/123ce2a...957847c
PR:		248816
Submitted by:	Ka Ho Ng
2020-08-24 12:50:21 +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
Christoph Moench-Tegeder 7111395bb1 mail/thunderbird: update to 68.11.0 (rc1)
Release Notes (soon):
  https://www.thunderbird.net/en-US/thunderbird/68.11.0/releasenotes/

drop patch-bug1640982 in favour of upstream resolution

MFH:		2020Q3 (blanket: web browser alike, once it's GA)
2020-07-23 12:57:18 +00:00
Tobias Kortkamp b0f1d6430e lang/rust: Update to 1.45.0
- This Rust release comes with LLVM 10.  Drop the LLVM patches we
  no longer need.
- On FreeBSD 13.0 powerpc64 set the elfv2 ABI explicitly in the
  Rust target instead of patching LLVM.
- Build LLVM with Ninja.  It can shorten the build time slightly.
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html
Tested by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25658
2020-07-17 06:44:04 +00:00
Jan Beich 346c57dcbd www/firefox: don't abort WaylandShmPool::Resize if posix_fallocate succeeds
PR:		240884
Submitted by:	tijl
Pointy hat to:	jbeich
2020-05-31 09:24:20 +00:00
Jan Beich 8b3080036e www/firefox: also check posix_fallocate error in WaylandShmPool::Resize
PR:		240884
Submitted by:	Greg V
2020-05-29 23:25:58 +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 547bee3cc1 www/firefox-esr: backport NSS 3.52 support after r533597 (like r534912)
PR:		246363
Reported by:	Tomasz "CeDeROM" CEDRO, Roman
2020-05-11 14:17:23 +00:00
Christoph Moench-Tegeder 3246c88e69 update thunderbird to 68.8.0 (rc1)
Announcement (soon):
  https://www.thunderbird.net/en-US/thunderbird/68.8.0/releasenotes/

MFH:		2020Q2 (when it'S ga, under blanket: web browser alike)
2020-05-02 20:55:29 +00:00
Tobias Kortkamp 5abe8902a5 lang/rust: Update to 1.43.0
- Add workaround to fix build when CC/CXX have "clang" in them [1]
- Respect AR to fix build with external toolchains [2]
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html
PR:		238556 [1], 245583 [2]
Reported by:	Matthias Apitz <guru@unixarea.de> [1], Greg V <greg@unrelenting.technology> [2]
Tested by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24521
2020-04-23 15:32:29 +00:00
Mikael Urankar f5c45d042b www/firefox: fix build on aarch64
The interface has changed a bit on -current:

In file included from Unified_cpp_gfx_skia1.cpp:137:
/wrkdirs/usr/ports/www/firefox/work/firefox-71.0/gfx/skia/skia/src/core/SkCpu.cpp:81:13: error: use of undeclared identifier 'ID_AA64ISAR0_CRC32'
        if (ID_AA64ISAR0_CRC32(id_aa64isar0) == ID_AA64ISAR0_CRC32_BASE) {

PR:		243653
Reviewed by:	jbeich
Approved by:	jbeich , manu (mentor, implicit)
2020-03-31 15:13:15 +00:00
Jan Beich fafd21c920 www/firefox: unbreak native Wayland if XDG_RUNTIME_DIR on ZFS
XDG_RUNTIME_DIR should be on tmpfs(5) for optimal performance but if
users want on permanent storage like ZFS don't abort.

PR:		240884
Reported by:	jsm
2020-02-28 18:20:53 +00:00
Christoph Moench-Tegeder 7f08f00592 mail/thunderbird: update to 68.4.1
https://www.thunderbird.net/en-US/thunderbird/68.4.1/releasenotes/

MFH:		2020Q1 (blanket: web browser alike)
2020-01-10 13:33:36 +00:00
Jan Beich d7d5e3bc81 www/firefox: backport upstream sndio fixes
Apparently, it fixes random tab crashes.

Submitted by:	tobik
2019-12-27 23:29:08 +00:00
Jan Beich c74866bbb8 gecko: drop close_fds workaround after r518640
PR:		221700
2019-11-29 12:45:12 +00:00
Tobias Kortkamp 2fe5565445 lang/rust: Update to 1.39.0
- Force rebuild all consumers to catch regressions early
- Partially apply D20792 in preparation for PPC_ABI support
- Add LibreSSL 3.0.x support [1]

Thanks to Mikaël Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/11/07/Rust-1.39.0.html
PR:		241411 [1]
Tested by:	mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D22240
2019-11-07 18:07:20 +00:00
Jan Beich dfffecd9dc mail/thunderbird: update to 68.2.0
Changes:	https://www.thunderbird.net/thunderbird/68.2.0/releasenotes/
Security:	e1c901e9-ed1e-415d-8272-f171bfc265bd
2019-10-21 20:57:44 +00:00
Tobias Kortkamp deaa22d85c lang/rust: Update to 1.38.0
- Force rebuild all consumers to catch regressions early

Thanks to Mikaël Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/09/26/Rust-1.38.0.html
Tested by:	jbeich, mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D21778
2019-09-27 09:35:20 +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
Christoph Moench-Tegeder 9fff97a5fb update thunderbird to 68.1.0 (rc1)
Soon: https://www.thunderbird.net/en-US/thunderbird/68.1.0/releasenotes/
2019-08-30 21:34:38 +00:00
Jan Beich 2eef82df1e www/firefox: unbreak on -CURRENT
In file included from media/mtransport/nricectx.cpp:82:
In file included from media/mtransport/third_party/nICEr/src/stun/stun_client_ctx.h:41:
In file included from media/mtransport/third_party/nICEr/src/stun/stun.h:45:
In file included from /usr/include/net/if_var.h:84:
/usr/include/sys/lock.h:68:15: error: reference to 'thread' is ambiguous
                            struct thread **owner);
                                   ^
/usr/include/sys/lock.h:42:8: note: candidate found by name lookup is 'thread'
struct thread;
       ^
/usr/include/c++/v1/__threading_support:397:24: note: candidate found by name lookup is 'std::__1::thread'
class _LIBCPP_TYPE_VIS thread;
                       ^
1 error generated.

Reported by:	tijl, pkg-fallout, madpilot
Submitted by:	tijl
Tested by:	madpilot
2019-08-23 21:55:31 +00:00
Jan Beich 985731abc9 mail/thunderbird: update to 68.0
Changes:	https://www.thunderbird.net/thunderbird/68.0/releasenotes/
2019-08-11 00:49: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 168c7940c7 mail/thunderbird: update to 60.8.0
Changes:	https://www.thunderbird.net/thunderbird/60.8.0/releasenotes/
Security:	0592f49f-b3b8-4260-b648-d1718762656c
2019-07-03 23:49:27 +00:00
Jan Beich a57aacd347 mail/thunderbird: update to 60.7.0
Changes:	https://www.thunderbird.net/thunderbird/60.7.0/releasenotes/
Reported by:	Repology
2019-05-19 00:50:14 +00:00
Christoph Moench-Tegeder a7f18f544c update thunderbird to 60.6.0 (rc2)
Release Notes (soon):
  https://www.thunderbird.net/en-US/thunderbird/60.6.0/releasenotes/

PR:		236537
Approved by:	jbeich (gecko@)
MFH:		2019Q1
2019-03-15 10:22:45 +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 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