1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
Commit Graph

198 Commits

Author SHA1 Message Date
Jan Beich
12a3c4c6ff www/firefox: update to 58.0
Changes:	https://www.mozilla.org/firefox/58.0/releasenotes/
PR:		223425
Tested by:	Greg V, tobik
Security:	a891c5b4-3d7a-4de9-9c71-eef3fd698c77
MFH:		2018Q1 (piling up)
2018-01-15 21:32:32 +00:00
Mathieu Arnold
d0cba2b797 Cleanup Mk/Uses/gnome.mk.
- Remove the use of comp_DETECT.
- Remove all comp_DETECT variables.
- Remove a use of comp_DETECT outside of gnome.mk
- Remove py3gobject3.
- Have ports depending directly on devel/py-gobject3 use gnome to do it.

PR:		224618
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13550
2018-01-03 13:22:31 +00:00
Jan Beich
17c106b5b3 gecko, mesa-dri: shave unnecessary quoting for absolute path to LLD
Left side already unquoted and Mk/bsd.port.mk didn't quote.
2018-01-01 20:25:54 +00:00
Jan Beich
543bbdecf0 www/firefox: unbreak OPTIMIZED_CFLAGS=off build after r450707
x86_64-unknown-freebsd/release/libgkrust.a: could not read symbols: File format not recognized

PR:		222641
Reported by:	many
2017-12-31 00:57:06 +00:00
Jan Beich
c816a835a9 www/firefox: switch to devel/llvm50 for Stylo 2017-12-26 00:59:07 +00:00
Tobias Kortkamp
5bce04c4a6 bsd.gecko.mk: use ${ECHO_CMD} in post-patch-SNDIO-on
Currently ${ECHO} is used which is problematic when it's set to 'true'
e.g.  when using `make -s`.

PR:		223964
Approved by:	gecko (jbeich)
2017-11-29 13:54:31 +00:00
Jan Beich
c38ed84499 gecko: unbreak aarch64 build for non-empty CPUTYPE
As of Rust 1.22.1 the following CPUTYPEs are supported:
https://github.com/rust-lang/llvm/blob/c7a16bd57c2a/include/llvm/Support/AArch64TargetParser.def#L54-L77
2017-11-29 04:42:33 +00:00
Jan Beich
a62753b206 gecko: respect CPUTYPE for Rust code
After r454995 build may fail if SSE2 is only enabled for C/C++ code as
simd crate expects SSE2 based on MACHINE_CPU.

PR:		223415 223300
Reported by:	vvd@unislabs.com
2017-11-28 12:57:57 +00:00
Jan Beich
d65b2886b1 lang/rust: avoid LLVM targeting SSE2 on i386 by default
This may help ports like textproc/ripgrep to run on old hardware.
Rust itself still requires SSE2 until bootstrap is regenerated.

PR:		223415
Approved by:	rust (dumbbell)
2017-11-27 22:02:29 +00:00
Jan Beich
e46270320f gecko: simplify WRKSRC handling
Requested by:	mat
2017-11-23 22:53:32 +00:00
Jan Beich
78da95113b Oops, back out r454668
BUNDLE_LIBS is used by every XUL app that cannot share libxul.so
2017-11-22 06:28:56 +00:00
Jan Beich
46bcdb5525 gecko: drop GNOMEUI option 2017-11-22 06:25:10 +00:00
Jan Beich
a6962b6218 gecko: drop broken and unmaintained PGO option
Clang PGO isn't supported by the build system yet.
https://bugzilla.mozilla.org/show_bug.cgi?id=1064049

Reported by:	many
PR:		221451
2017-11-22 06:24:59 +00:00
Jan Beich
83fc56bf2f gecko: move BUNDLE_LIBS to www/libxul 2017-11-22 06:24:49 +00:00
Jan Beich
415cda44c3 gecko: allow lld as ld on FreeBSD 12.0
PR:		223680
2017-11-16 23:04:25 +00:00
Jan Beich
d87a45b8de gecko: configure is part of build since r373830 2017-11-13 22:21:47 +00:00
Jan Beich
32803c926f www/firefox: always use specified libclang version
MFH:		2017Q4
2017-11-04 11:33:52 +00:00
Jan Beich
a594b0fc91 www/firefox: move llvm* dep into Mk/bsd.gecko.mk
MFH:		2017Q4
2017-11-04 11:33:37 +00:00
Jan Beich
b610608be3 gecko: unbreak RUST_PORT=lang/rust-nightly after r443536
Reported by:	@myfreeweb (via 557cab235fab)
2017-10-20 05:27:19 +00:00
Jan Beich
a0ea910fc3 gecko: preemptively drop unused MOZ_PROTOCOLS
https://bugzilla.mozilla.org/show_bug.cgi?id=1391467
2017-09-29 15:18:18 +00:00
Jan Beich
0899675b73 gecko: unbreak on 12.0 (lld by default)
/usr/bin/ld: error: ../../js/src/jsarray.o: string table non-null terminated

PR:		218808
2017-09-29 12:51:15 +00:00
Jan Beich
1debab6cda gecko: unbreak on 11.1 aarch64
/usr/bin/ld: error: unknown argument: --warn-unresolved-symbols

PR:		218808
Reported by:	O. Hartmann, pkg-fallout (for /head before lld 5.0 update)
2017-09-28 19:32:04 +00:00
Jan Beich
d77b258ef8 www/firefox: update to 56.0 (rust required)
This is slightly early but due to recent PORTREVISION bump there's no
point doing QA for 55.0.* anymore.

Changes:	https://www.mozilla.org/firefox/56.0/releasenotes/
PR:		221335
Security:	1098a15b-b0f6-42b7-b5c7-8a8646e8be07
MFH:		2017Q3 not possible: requires r447450 and r450556
2017-09-27 04:12:34 +00:00
Jan Beich
cfc5748080 gecko: add JACK option (enabled by default)
PR:		221464
2017-09-27 04:12:05 +00:00
Jan Beich
b4ec61411a gecko: PULSEAUDIO-only builds can fallback to OSS 2017-09-27 04:11:49 +00:00
Jean-Sébastien Pédron
eede029c1b Mk/bsd.gecko.mk, multimedia/librespot: Fix version of Rust which started to ship Cargo
Cargo started to ship with Rust in 1.19.0_2. I forgot to indicate the
port revision in the 1.19.0_2 commit.

Reported by:	jbeich@
2017-09-25 21:21:33 +00:00
Jean-Sébastien Pédron
0cc13b3d48 lang/rust: Install Cargo + use bundled crates
This port now provides Cargo. This is the recommended now because Cargo
won't be provided separately in the future.

To build Cargo, we set `extended = true` in `config.toml`. As a side
effect, this flag also installs Rust source code. The port has a new
`SOURCES` option (disabled by default) to keep those sources.

As a consequence of this, `devel/cargo` is removed. Several ports
and Makefiles in Mk were updated to depend on `lang/rust` instead of
`devel/cargo`.

The other big change in this patch is the use of the bundled crates,
instead of relying on Cargo's registry (which was part of the distfiles,
in order to allow offline builds). So now, we don't need to prepare the
registry when updating this port.

This has several other benefits:
    * It fixes the build with sudo(8).
    * It fixes the use of the ino-64 patch (it was not applied to the
      registry, thus not used).

Compilation errors were fixed in the ino-64 patch.

Various `.cargo-checksum.json` files are updated after the sources are
patched (FBSD10_FIX, ino-64, and so on). This fixes builds which were
failing with errors such as:

    error: the listed checksum of `.../rustc-1.19.0-src/src/vendor/lzma-sys/xz-5.2.3/build-aux/config.rpath` has changed:
    expected: c8b4c017079da9dfb3086a0583e60ffe736184d89005dc5973f0bb0fd17c04bb
    actual:   561b00eb30ecaef2c9da17bc195e7d2a7ea63facea38ea9849fbb0ed340bebba

PR:		221088
Reported by:	joneum@, nwhitehorn@, romain@,
		Ekaterina Vaartis <vaartis@cock.li>,
		david@catwhisker.org,
		fullermd@over-yonder.net,
		rum1cro@yandex.ru,
		w.schwarzenfeld@utanet.at
Differential Revision:	https://reviews.freebsd.org/D11783
2017-09-15 18:01:17 +00:00
Jan Beich
a7b616bc63 gecko: stop calling home to check for updates after r436423
Upstream seems to define "default" as Nightly (custom build), not safe
to update automatically. Once we switched to proper channels updater
kicked in, except Mozilla never built binaries for FreeBSD. Not to
mention, vendor updates conflict with system package manager.

PR:		221541
MFH:		2017Q3
2017-08-18 21:39:46 +00:00
Jan Beich
2f69664453 gecko: powerpc* still uses GCC by default, no need to force 2017-08-13 01:53:45 +00:00
Jan Beich
d1f6f41044 Drop 9.x hack for USES=compiler:c++14-lang
On x86 architectures when base compiler doesn't support C++14
USES=compiler prefers Clang. As only lang/gcc* provide C++14 library
outside of base some ports need to define USE_GCC. However, adding it
would require ugly bsd.port.options.mk conditionals thus FAVORITE_COMPILER
was used. As /stable/9 reached EOL we no longer need to support ancient
libstdc++ on x86.
2017-07-15 20:32:00 +00:00
Jan Beich
3c47dc8da7 www/libxul: unbreak on FreeBSD < 12.0 after r444091
configure: error: Option, jemalloc, does not take an argument (4).

Reported by:	George Mitchell (via ports@ list)
2017-06-23 04:47:52 +00:00
Jan Beich
d3cc110165 gecko: phase out system jemalloc via 12.0-CURRENT as well
https://bugzilla.mozilla.org/show_bug.cgi?id=1363992

PR:		220027
2017-06-22 01:19:28 +00:00
Jan Beich
6637365a51 www/firefox: update to 54.0
Changes:	https://www.mozilla.org/firefox/54.0/releasenotes/
PR:		218912
Security:	6cec1b0a-da15-467d-8691-1dea392d4c8d
MFH:		2017Q2 (requires r439925)
2017-06-13 19:55:46 +00:00
Jan Beich
a7fec0e97a gecko: unbreak RUST=on with cargo >= 0.18
error[E0463]: can't find crate for `cheddar`
 --> media/libstagefright/binding/mp4parse_capi/build.rs:1:1
  |
1 | extern crate cheddar;
  | ^^^^^^^^^^^^^^^^^^^^^ can't find crate

error: aborting due to previous error

fatal runtime error: failed to initiate panic, error 5
error: Could not compile `mp4parse_capi`.

Caused by:
  process didn't exit successfully: `/usr/local/bin/rustc --crate-name build_script_build media/libstagefright/binding/mp4parse_capi/build.rs --crate-type bin --emit=dep-info,link -C opt-level=2 -C debuginfo=2 -C metadata=13cd8b0152b68b4e -C extra-filename=-13cd8b0152b68b4e--out-dir obj-x86_64-unknown-freebsd12.0/toolkit/library/rust/./release/build/mp4parse_capi-13cd8b0152b68b4e -L dependency=obj-x86_64-unknown-freebsd12.0/toolkit/library/rust/./release/deps` (exit code: 1)
Build failed, waiting for other jobs to finish...
error: build failed
2017-05-02 03:43:15 +00:00
Jan Beich
6aac4a9290 www/firefox: unbreak SNDIO=on
===>  Applying FreeBSD patches for firefox-53.0,1
No such line 323 in input file, ignoring
sed: /usr/ports/www/firefox/work/firefox-53.0/media/libcubeb/tests/moz.build: No such fileor directory
*** Error code 1

PR:		218585
Reported by:	jrm, Marco Beishuizen
Submitted by:	tobik
MFH:		2017Q2 (r438264 followup)
2017-04-12 17:20:39 +00:00
Jan Beich
af01abc322 www/firefox: drop broken GTK2 option following upstream
https://www.mail-archive.com/dev-platform@lists.mozilla.org/msg20523.html

PR:		218569
Reported by:	Walter Schwarzenfeld, Jakub Lach <jakub_lach@mailplus.pl>
Submitted by:	rezny (based on)
MFH:		2017Q2 (r436907 followup)
2017-04-11 21:39:47 +00:00
Dmitry Marakasov
2d5679d47f Use dedicated macro FMT_80 instead of ${FMT} 75 79 magical constants
Suggested by:	mat
Approved by:	portmgr (mat)
Differential Revision:	D10342
2017-04-11 14:22:41 +00:00
Gerald Pfeifer
0327b3f3f9 Fix grammar in a comment.
Approved by:	portmgr blanket
2017-04-01 19:35:55 +00:00
Jan Beich
925c9ea6cc gecko: define same update channel as official builds
Some addons rely on app.update.channel pref to enable features. One of
those is e10srollout which controls Multiprocess Windows by default.
2017-03-18 17:08:10 +00:00
Jan Beich
8759cf9142 gecko: drop unused OAuth keys
https://hg.mozilla.org/mozilla-central/rev/6a49d0290fab
https://hg.mozilla.org/mozilla-central/rev/aa14d58c7141
2017-03-03 23:44:26 +00:00
Jan Beich
b0d611aa44 gecko: attempt to drop RPATH for libxul.so dependencies 2017-03-03 19:38:13 +00:00
Jan Beich
a9425224f1 devel/libevent2: drop historical suffix after r362796
PR:		216777
Approved by:	mm (maintainer)
2017-02-20 02:57:04 +00:00
Jan Beich
6f94eef63a www/firefox: update to 51.0 (rc1)
More candidates are likely to come before the official announcement (aka
the rush hour) scheduled on 2017-01-24. This one intended to pick up upstream
security fixes earlier while looking for downstream regressions.

Changes:	https://www.mozilla.org/firefox/51.0/releasenotes/
Security:	e60169c4-aa86-46b0-8ae2-0d81f683df09
MFH:		2017Q1 (piling up)
2017-01-17 12:44:42 +00:00
Jan Beich
24bce6e056 textproc/hunspell: update to 1.6.0
- Restore DIST_SUBDIR from r305651
- Adjust license for "or later" clause
- Restore GPLv2+/LGPL21+ license files removed upstream as
  GPLv3+/LGPL3+ only affects Hunspell 2.0 (not currently built)
- Unbreak |make makepatch|

Changes:	https://github.com/hunspell/hunspell/releases/tag/v1.6.0
PR:		215714
Submitted by:	sunpoet (based on)
Exp-run by:	antoine
MFH:		2017Q1
Differential Revision:	https://reviews.freebsd.org/D8887
2017-01-07 14:43:11 +00:00
Rene Ladan
6f019c90b3 Remove support for FreeBSD < 10.3 from Mk/*
This does not yet convert the files to bmake.

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D9016
2017-01-03 07:24:49 +00:00
Jan Beich
f2d5e52383 www/firefox: add SNDIO option
PR:		212028
Submitted by:	Tobias Kortkamp <t@tobik.me>
2017-01-01 16:24:59 +00:00
Jan Beich
70b03eae74 textproc/hunspell: update to 1.5.4
Changes:	https://github.com/hunspell/hunspell/blob/v1.5.4/ChangeLog
PR:		214837
Exp-run by:	antoine (for 1.5.3)
Approved by:	office (bapt)
2016-12-03 22:24:36 +00:00
Christoph Moench-Tegeder
3e4e8900d7 update firefox 50.0.2, libxul and thunderbird 45.5.1
PR:		214978
Approved by:	jbeich (maintainer), rene (mentor, implicit)
MFH:		2016Q4
Security:	18f39fb6-7400-4063-acaf-0806e92c094f
2016-12-01 14:24:17 +00:00
Jan Beich
c77f6990ca www/firefox: unbreak build with DEBUG=on after r425099
Traceback (most recent call last):
  File "configure.py", line 94, in <module>
    sys.exit(main(sys.argv))
  File "configure.py", line 22, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "python/mozbuild/mozbuild/configure/__init__.py", line 241, in run
    self._value_for(option)
  File "python/mozbuild/mozbuild/configure/__init__.py", line 305, in _value_for
    return self._value_for_option(obj)
  File "python/mozbuild/mozbuild/util.py", line 924, in method_call
    cache[args] = self.func(instance, *args)
  File "python/mozbuild/mozbuild/configure/__init__.py", line 370, in _value_for_option
    % (e.arg, reason, e.old_arg, e.old_origin))
mozbuild.configure.options.InvalidOptionError: '--enable-debug-symbols' implied by '--enable-debug' conflicts with '--disable-debug-symbols' from the mozconfig
*** Fix above errors and then restart with\
               "gmake -f client.mk build"

MFH:		2016Q4 (blanket)
2016-11-04 00:29:00 +00:00
Jan Beich
74e1bc62bd www/firefox: update to 50.0 (rc1)
More candidates are likely to come before the official announcement (aka
the rush hour) scheduled on 2016-11-15. This one intended to pick up upstream
security fixes earlier while looking for downstream regressions.

Changes:	https://www.mozilla.org/firefox/50.0/releasenotes/
Security:	d1853110-07f4-4645-895b-6fd462ad0589
MFH:		2016Q4 (piling up)
2016-11-02 01:42:30 +00:00