1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
Commit Graph

225 Commits

Author SHA1 Message Date
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
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Jan Beich
9981073266 gecko: back out r423631 for 10.x bustage
- DTRACE=on crashes building probes with libstdc++
- libc++ by default conflicts with libstdc++ from USE_GCC

PR:		213378
Reported by:	dhw, tz, pkg-fallout, Philip Homburg
2016-10-11 16:22:23 +00:00
Jan Beich
57f29e80f1 gecko: factor out explicit USE_GCC
Excluding toolchain bugs the following is equivalent

  # Not supported yet
  USES=		compiler:c++14-lib

vs.

  USES=		compiler:c++14-lang
  FAVORITE_COMPILER=	gcc
2016-10-10 02:58:43 +00:00
Jan Beich
d3a72dd82f gecko: cleanup obsolete conditionals
- Remove unused MOZILLA_VER checks
- Drop unused GSTREAMER and LOGGING options
- Drop unsupported USE_MOZILLA=opus (--with-system-opus)
2016-10-02 14:29:29 +00:00
Jan Beich
083c168a48 gecko: drop poorly maintained GIO=off case after r376999
Glib IO is already used by Gtk internally, so there's little reason
to avoid it unless using non-Gtk builds which are no longer supported.

https://bugzilla.mozilla.org/show_bug.cgi?id=1286627
https://bugzilla.mozilla.org/show_bug.cgi?id=1287288

PR:		210220
Reported by:	Marco Beishuizen, Arrigo Marchiori
MFH:		2016Q3
2016-09-08 06:49:24 +00:00
Jan Beich
a6395dab99 www/firefox: update to 49.0 (rc2)
Bump PORTREVISION to account for slightly different behavior in other
gecko@ ports and to get a discrete regression window.

Changes:	https://www.mozilla.org/firefox/49.0/releasenotes/
PR:		211792
Submitted by:	Jochen Neumeister <joneum@bsdproject.de> (based on)
Security:	2c57c47e-8bb3-4694-83c8-9fc3abad3964
MFH:		2016Q3
2016-09-08 06:48:53 +00:00
Jan Beich
ef220c70b1 gecko: axe poorly maintained QT5 support
https://bugzilla.mozilla.org/show_bug.cgi?id=1282866
2016-07-13 16:24:33 +00:00
Christoph Moench-Tegeder
f0cc5e1c85 update thunderbird to 45.2.0
PR:		210749
Approved by:	jbeich (maintainer), rene (mentor)
MFH:		2016Q3
Security:	8065d37b-8e7c-4707-a608-1b0a2b8509c3
2016-07-09 13:21:06 +00:00
Mathieu Arnold
12ddc1796c Remove DO_NADA targets.
No need to have make(1) compute a target order graph for targets that
are empty.

Sponsored by:	Absolight
2016-06-17 12:42:30 +00:00
Jan Beich
f24d27910f www/firefox: update to 47.0 (rc2) / 45.2esr
- Adjust firefox-esr-i18n for linux-firefox after r414580
- Unbreak DTRACE=on + DEBUG=on [1]
- Unbreak FFMPEG=off [2]

Changes:	https://www.mozilla.org/firefox/47.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/45.2.0/releasenotes/
Security:	8065d37b-8e7c-4707-a608-1b0a2b8509c3
PR:		200845, 209952 [1], 209308 [2]
MFH:		2016Q2
2016-06-03 10:52:44 +00:00
Jan Beich
3d25b2953a gecko: unbreak WebRTC microphone selection popup with ALSA=on
On FreeBSD sound(4) is enabled by default while alsa-plugins-oss
assumes a soundcard is always available.

https://bugzilla.mozilla.org/show_bug.cgi?id=1269165

MFH:		2016Q2
2016-05-01 05:29:08 +00:00
Mathieu Arnold
7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
Baptiste Daroussin
421767bd88 Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047
2016-03-27 01:23:25 +00:00
Jan Beich
ac99fa2243 www/firefox: build with Rust sources
Only MP4 metadata parser have landed converted so far. Upstream enabled it
in their binaries since 45.0 while preparing to *require* Rust downstream.

https://wiki.mozilla.org/Oxidation
https://www.mail-archive.com/dev-platform%40lists.mozilla.org/msg17614.html
2016-03-25 15:35:39 +00:00
Jan Beich
09a093360a www/firefox: limit r410973 to OSVERSION before the fix
PR:		207837
2016-03-13 19:13:07 +00:00
Jan Beich
d2dc7ce32b www/firefox: work around Clang 3.4 crash with OPTIMIZED_CFLAGS=off
Pretend we want C++14 to pull more modern version of Clang on 10.x i386.

PR:		207837
MFH:		2016Q1
2016-03-13 14:42:59 +00:00
Jan Beich
95b8773461 gecko: build as position-independent executable 2016-03-10 10:45:46 +00:00
Jan Beich
3f0536234a www/firefox{,-esr}: update to 45.0 (rc2) / 38.7.0
Prepare www/firefox a bit for ESR45:
- [e10s] Make layers.progressive-paint;true work at least on 11.0-CURRENT
- Chase bundled versions for system dependencies
- Drop unused/broken system opus and speex support

Changes:	https://www.mozilla.org/firefox/45.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/38.7.0/releasenotes/
Security:	2225c5b4-1e5a-44fc-9920-b3201c384a15
MFH:		2016Q1 (release candidate)
2016-03-05 12:46:59 +00:00
Jan Beich
182b35fa9c gecko: unify unchanging options into bsd.gecko.mk
PR:		205741 (alternative)
2016-03-02 22:49:48 +00:00
Jan Beich
8af65d5d19 gecko: phase out GStreamer support
H.264 is decoded by FFmpeg directly since Firefox 43.0. GStreamer
doesn't support DASH and no longer used by default since r397984
brings libavcodec.so.

https://bugzilla.mozilla.org/show_bug.cgi?id=1234092
2015-12-28 18:18:03 +00:00
Jan Beich
1608102c47 www/firefox: update to 43.0.1
Changes:	https://www.mozilla.org/en-US/firefox/43.0/releasenotes/
PR:		205357
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
Security:	2c2d1c39-1396-459a-91f5-ca03ee7c64c6
MFH:		2015Q4
2015-12-19 10:49:09 +00:00
Mathieu Arnold
7c47779cb9 Fix usage of ${PERL5}.
${PERL5} points to a specific version of perl, say, perl5.22.1, it is
fine to use it in a ports Makefile to do Perly things, but ports using
it must use ${PERL}, that points to /usr/local/bin/perl so that if the
minor version is updated, the shebang keep working.

While there, make some ports use shebangfix, regen a few patches, and
bump PORTREVISION where a shebang went from PERL5 to PERL.

PR:		205367
With hat:	portmgr
Sponsored by:	Absolight
2015-12-17 17:19:48 +00:00
Jan Beich
1896e1634e gecko: fix typo in r403853 2015-12-16 09:50:13 +00:00
Jan Beich
4871dd171f gecko: drop support for libc++ where it's not default
If it still has an effect the compiler should be fixed instead.
2015-12-16 09:38:29 +00:00
Jan Beich
032713d124 devel/nspr: cleanup cruft to improve style
- Remove out-of-tree build (in favor of D4157)
- Remove custom do-install (config/nsinstall works fine) [1]
- Convert to new testing framework
- Refresh patches with |make makepatch| but leave damage out [2]

[1] Requires PORTREVISION per new entry in plist and DEBUG builds
    no longer embedding WRKDIR in source file name
[2] Here's a list with * indicating severity:
    *** Lost original ptthread.c hunk from patch-bug301986
    *** Mixed patch-bug782111 into patch-bug301986
    ** Duplicated context lines
    * Wrong timestamps with USES=pathfix
2015-11-21 02:26:15 +00:00
Jan Beich
fd9ddf4a36 gecko: add INTEGER_SAMPLES option
arm use S16 samples and libtremor since Firefox 34. So, adjust
dependencies and make it controllable (for testing on x86).

Note, arm is still BROKEN until ports/202642.

https://bugzilla.mozilla.org/show_bug.cgi?id=1047791
2015-08-26 06:38:32 +00:00
Jan Beich
1ce69a8c72 gecko: temporarily disable bundled jemalloc3 on DragonFly
firefox crashes on startup but the issue is triggered earlier by
xpcshell building precompiled cache during install. So, disable
jemalloc3 until it builds fine.

https://lists.freebsd.org/pipermail/svn-ports-head/2015-August/100423.html

Reported by:	marino
2015-08-25 08:06:48 +00:00
Jan Beich
b4ccde1542 gecko: properly check OSVERSION against OPSYS [1]
Bundled jemalloc is left enabled for DragonFly due to lack of
documented evidence it doesn't work: failed build log, crash
fingerprint, upstream bug, etc. jemalloc upstream unlike its
Mozilla fork (not used here) has better support for BSDs.

Requested by:	marino [1]
2015-08-21 12:30:03 +00:00
Jan Beich
84b6a43b0c gecko: use system jemalloc on 11.0-CURRENT again
Requested by:	mi
2015-08-20 13:16:12 +00:00
Jan Beich
db7f90058a Add OAuth keys for importing Google contacts into Loop
Loop aka Firefox Hello is available since 34.0.

https://bugzilla.mozilla.org/show_bug.cgi?id=1106854

Inspired by:	ArchLinux
MFH:		2015Q3
2015-08-11 23:20:48 +00:00
Jan Beich
4c2ed02d35 bsd.gecko.mk: update DTRACE requirements
- Builds fine in 9.3R amd64 jail on 11.0C amd64 host
- libelf is no longer needed since base r278934
2015-08-10 20:14:16 +00:00
Jan Beich
584a8b6786 www/firefox: make testing bundled cairo easier via option
BUNDLED_CAIRO does nothing with GTK3 until Firefox 41.0
https://bugzilla.mozilla.org/show_bug.cgi?id=1159273

PR:		202174
MFH:		2015Q3
2015-08-09 16:30:43 +00:00
Jan Beich
623c599eb9 www/firefox: remove broken LOGGING option
NSPR logging is now always enabled as upstream partially
removed support for disabling it.

PR:		202165
Reported by:	rsmith@xs4all.nl
MFH:		2015Q3
X-MFH-With:	r393690
2015-08-09 16:25:52 +00:00
Jan Beich
ff52a5c79c bsd.gecko.mk: PowerPC no longer needs the __STDC_CONSTANT_MACROS in CFLAGS
sys/cdefs.h after base r227475 always defines __STDC_CONSTANT_MACROS
for C++11 while Firefox enforces C++11 since 25.0 and also defines
__STDC_CONSTANT_MACROS via mozilla-config.h since 26.0.

PR:		201294
Submitted by:	jhibbits
MFH:		2015Q3 (trivial, not on pkg-fallout)
2015-07-16 11:36:12 +00:00
Jan Beich
ef0a0c91f1 - Update NSS and ca_root_nss to 3.19.2
- Update Firefox and gmp-api to 39.0
- Update Firefox ESR and libxul to 38.1.0

Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.19.2_release_notes
Changes:	https://www.mozilla.org/firefox/39.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/38.1.0/releasenotes/
MFH:		2015Q3
Security:	https://vuxml.freebsd.org/freebsd/44d9daee-940c-4179-86bb-6e3ffd617869.html
2015-07-16 06:05:59 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Antoine Brodin
90030fa304 Respect DISABLE_MAKE_JOBS in gecko ports 2015-06-13 22:57:17 +00:00
John Marino
9e002d2aee Mk/bsd.gecko.mk: Fix typo from yesterday
Reported by:	danfe (good catch!)
2015-03-27 07:05:29 +00:00
John Marino
c560a85625 Mk: remove PTHREAD_LIBS and PTHREAD_CFLAGS variable
For bsd.gecko.mk, replace PTHREAD_LIBS with "-pthread", the same value
it was using before.

Approved by:	PTHREAD blanket (completes task)
Approved by:	portmgr (bapt)
2015-03-26 08:57:36 +00:00
Jan Beich
5c7f1a2ed4 - Add CANBERRA and enable by default for Thunderbird and SeaMonkey [1]
- Bump version requirements for harfbuzz and libvorbis

PR:		198142 [1]
See also:	https://dxr.mozilla.org/comm-central/search?q=nsISound [1]
2015-03-08 18:10:48 +00:00
Jan Beich
c308de0164 - Update Firefox to 36.0
- Update Firefox ESR to 31.5.0
- Update Thunderbird to 31.5.0
- Update libxul to 31.5.0
- Check if NS_NewNativeLocalFile() succeeds before using [1]
- Remove DTRACE and GIO descriptions after r377838 and r314893
- bsd.gecko.mk: Prune conditionals for files removed 4 months ago

Changes:	https://www.mozilla.org/firefox/36.0/releasenotes/
Obtained from:	PkgSrc [1]
MFH:		2015Q1
X-MFH-With:	r377953, r378253, r379485, r378529
Security:	https://vuxml.freebsd.org/freebsd/99029172-8253-407d-9d8b-2cfeab9abf81.html
2015-02-27 14:42:51 +00:00
Beat Gaetzi
7483da328d - Update openh264 to 1.3.1
- Update Thunderbird to 31.4.0
- Update Firefox to 35.0
- Update Firefox ESR to 31.4.0
- Update libxul to 31.4.0

Submitted by:	Jan Beich
MFH:		2015Q1
Security:	http://www.vuxml.org/freebsd/bd62c640-9bb9-11e4-a5ad-000c297fb80f.html
2015-01-14 08:06:43 +00:00
Antoine Brodin
7ae46e9b12 Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade 2014-12-25 19:04:25 +00:00
Beat Gaetzi
0ccec1792b - Update Thunderbird to 31.3.0
- Update gmp-api to 35.0
- Update openh264 to 1.2
- Update NSS to 3.17.3
- Update Firefox to 34.0.5
- Update Firefox ESR 31.3.0
- Update libxul to 31.3.0
- Improve CONFIGURE_TARGET handling
- Always build using client.mk
- Switch to clang by default on systems without libc++
  (/stable/8 and /stable/9)
- Drop lang/python2 dependency, only lang/python27 is required
  to build
- Use DuckDuckGo searchplugin from upstream (has suggestions
  and purposes)
- Backport a few about:memory fixes
- Backport Web Notifications libnotify integration
- Add GTK3 option for www/firefox. Adwaita is a bit broken
  since Gtk 3.14, see:
  https://bugzilla.mozilla.org/show_bug.cgi?id=1073117

PR:		195559
Submitted by:	Jan Beich
MFH:		2014Q4
Security:	http://vuxml.org/freebsd/7ae61870-9dd2-4884-a2f2-f19bb5784d09.html
2014-12-03 14:55:25 +00:00
Beat Gaetzi
8f7f02ae39 - Update Firefox to 33.0
- Update Firefox ESR to 31.2.0
- Update NSS to 3.17.2
- Update Thunderbird to 31.2.0
- Update libxul to 31.2.0 (and mark as BROKEN)
- Disable SSL 3.0 with pref (Upstream bug 1076983)
- (workaround) replace USE_GCC=yes with USES=compiler:gcc-c++11-lib in
  order to fix runtime for PGO and powerpc/powerpc64 on libc++ systems
- Add OSS audio fallback for HTML5 audio from upstream bug;
  not exposed yet because WebRTC still needs ALSA or PulseAudio
- Kill @dirrm from gecko@ ports per CHANGES from 20140922
- Drop workaround for LLVM PR 19007: base and lang/clang34 have the fix
- Improve workaround comment for LLVM PR 15840, partially rejecting
  r348851 by marino@ until bug 193555

PR:		194356
Submitted by:	Jan Beich
Security:	http://www.vuxml.org/freebsd/9c1495ac-8d8c-4789-a0f3-8ca6b476619c.html
2014-10-15 15:48:16 +00:00
Baptiste Daroussin
f4aef6b62c Mozilla upgrades:
- Update nspr to 4.10.7
- Update ca_root_nss to 3.17 (mark as NO_ARCH while here)
- Update firefox to 32.0
- Update thunderbird to 31.1.0
- Add net-im/linux-instantbird
- Update firefox-est to 31.1.0
- Update libxul to 24.8.0
- Update seamonkey to 2.29

Submitted by:	Jan Beich for gecko@
2014-09-09 06:16:35 +00:00
Baptiste Daroussin
f92079c61e Update mozilla ports:
- firefox 31.0
- firefox-esr 24.7.0
- libxul 24.7.0
- seamonkey 2.26.1
- thunderbird 31.0

Among changes:
- add workaround for crash with openldap on thunderbird and seamonkey [1]
- add crashfix for architectures with strict alignmentment
- backport crashfix with system sqlite/nss on firefox-esr and thunderbird
- restore hooking jemalloc in sqlite on freebsd 10+
- fix thunderbird build with -jN [2]
- respect MAKE_JOBS_NUMBER regardless of kern.smp.cpus [2]
- define CPE_URI for nspr/nss and firefox/thunderbird/seamonkey
- require recent gstreamer1-libav i386 crashfix
- add DTRACE option for use with DTraceToolkit (js_flowtime.d, js_who.d, etc)

PR:		165263 [1]
PR:		184630 [2]
Submitted by:	Jan Beich
2014-08-04 09:11:25 +00:00
Baptiste Daroussin
b564653452 Only use libevent2
Remove libevent as libevent2 is providing a good compatibility interface as well
as providing better performances.
Remove custom patches from libevent2 and install libevent2 the regular way
Mark ports abusing private fields of the libevent1 API as broken
Import a patch from fedora to have honeyd working with libevent2
Remove most of the patches necessary to find the custom installation we used to
have for libevent2

With hat:	portmgr
2014-07-24 13:32:58 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Baptiste Daroussin
14d88f8c70 Fix packging icons and desktop files 2014-06-11 14:28:11 +00:00
Beat Gaetzi
0557b9315d - Update Firefox to 30.0
- Update Firefox ESR to 24.6.0
- Update libxul to 24.6.0
- Update NSS to 3.16.1
- Update NSPR to 4.10.6
- Update Thunderbird to 24.6.0
- Convert USE_BZIP2 to USES
- Backport ff31 fix against crashing DEBUG build on newegg.com [1]
- Add a note in UPDATING to not build audio/soundtouch with
  INTEGER_SAMPLES [2]
- Use arc4random_buf(3) to generate UUIDs (version 4)
- Fix debugger detection used by Telemetry and the slow script dialog
- Add STAGE support [3]

PR:		ports/189991 [1]
PR:		ports/189217 [2]
PR:		ports/189488 [2]
Submitted by:	bapt [3]
Sumbitted by:	Jan Beich
Security:	http://www.vuxml.org/freebsd/888a0262-f0d9-11e3-ba0c-b4b52fce4ce8.html
2014-06-11 03:42:55 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Beat Gaetzi
b6e8f8d98d - Update Firefox to 29.0
- Update Firefox ESR to 24.5.0
- Update Thunderbird to 24.5.0
- Update NSS to 3.16
- Use port dependency for soundtouch library
- Require recent graphite2 version explicitly [1]
- Require gst-libav version that doesn't crash on seeking [2]
  and doesn't error out on plugin load [3]
- Remove gstreamer note in pkg-message for www/firefox, [3] may still
  happen with www/firefox-esr but only until it tracks esr31 (ca 2014-09-01)
- Fix USE_XPI in mail/thunderbird-i18n [4]

Security:	http://www.vuxml.org/freebsd/985d4d6c-cfbd-11e3-a003-b4b52fce4ce8.html
PR:		ports/187939 [1]
PR:		ports/188133 [2]
PR:		ports/181964 [3]
PR:		ports/188984 [4]
Submitted by:	Toomas Aas <toomas.aas@raad.tartu.ee> [1]
Submitted by:	Jakub Lach <jakub_lach@mailplus.pl> [2]
Submitted by:	Jan Beich [3] and this update!
Submitted by:	Toni Ballesta <mustelator@yahoo.es> [4]
Approved by:	portmgr (bdrewery, security update to non-staged port)
2014-04-29 20:35:24 +00:00
Baptiste Daroussin
f718dc1633 Remove bits replaced by USES=gecko 2014-04-10 14:46:37 +00:00
Beat Gaetzi
afc98c29b1 - Bump SeaMonkey version to 2.25 2014-03-20 11:21:21 +00:00
Beat Gaetzi
c80e090095 - Update Firefox to 28.0
- Update Firefox ESR to 24.4.0
- Update Thunderbird to 24.4.0
- Update NSPR to 4.10.4
- Update NSS to 3.15.5
- Switch GSTREAMER option for non-esr ports to depend on
  multimedia/gstreamer1 [2]
- Switch to Uses/compiler.mk, defaults to lang/gcc47 on 8.x and 9.x
- Use port dependencies for libogg, libvorbis, libopus, harfbuzz, graphite2
- Enable readahead in url-classifier, asmjs, download resume like on Linux
- Build www/firefox and www/seamonkey faster using unified compilation
- Unbreak build on sparc64 [1]
- Workaround OPTIMIZED_CFLAGS startup crash on 8.x and 9.x
- OPTIMIZED_CFLAGS is enabled by default
- A few DEBUG build fixes
- Add clang 3.2/3.3/3.4 workarounds for i386
- Mention known GSTREAMER issue in pkg-message

Submitted by:	Jan Beich
PR:		ports/186580 [1]
Requested by:	kwm [2]
Security:	http://www.vuxml.org/freebsd/610de647-af8d-11e3-a25b-b4b52fce4ce8.html
2014-03-19 20:46:37 +00:00
Beat Gaetzi
6140644bba Update to 2.24
Submitted by:	Jan Beich
Security:	http://www.vuxml.org/freebsd/1753f0ff-8dd5-11e3-9b45-b4b52fce4ce8.html
2014-02-19 09:25:23 +00:00
Beat Gaetzi
2f24f871a0 - Update Firefox to 27.0
- Update Firefox ESR to 24.3.0
- Update Thunderbird to 24.3.0
- Update NSPR to 4.10.3
- Update NSS to 3.15.4
- Depend on yasm when building with bundled libvpx or libjpeg-turbo
- Prepare gstreamer conditional for upcoming Firefox versions
- Improve jemalloc3 conditional
- Break build unless alsa-lib port installs new config file
- Chase USE_DOS2UNIX deprecation
- Temporarily disable system cairo over screen corruption with
  smoothScroll [1]

Submitted by:	Jan Beich
Reported by:	flo [1]
Security:	http://www.vuxml.org/freebsd/1753f0ff-8dd5-11e3-9b45-b4b52fce4ce8.html
2014-02-05 05:23:30 +00:00
Florian Smeets
7efa77ad7c Update to nspr 4.10.2
Update to nss 3.15.3.1
Update firefox-esr and thunderbird to 24.2.0
Update firefox to 26.0
Update seamonkey to 2.23

- catch up with directory renames since USES=webplugins was introduced;
  fixes plugins not being automatically enabled after install
- linux-firefox and linux-seamonkey can play HTML5 audio [2][3] and
  measure about:memory usage, again
- dom.ipc.plugins.enabled->true no longer crash linux-firefox which makes
  some flash sites work again; as there's no nspluginwrapper in-between
  the infamous "youtube issue" never occurs
- install DEBUG with symbols [3] and describe the option better [4]
- enable dumping about:memory upon kill -65, kill -66 and GC/CC log
  upon kill -67 to a file under /tmp directory; linux-firefox uses
  kill -34, kill -35 and kill -36 respectively

PR:		ports/183861 [1]
PR:		ports/184006 [2]
PR:		ports/169896 [3]
PR:		ports/184285 [3]
PR:		ports/184286 [4]
Security:	dd116b19-64b3-11e3-868f-0025905a4771
In collaboration with: Jan Beich <jbeich@tormail.org>
2013-12-14 13:42:06 +00:00
Florian Smeets
8f604dd800 Fix a mismerge that caused html5 audio to not work.
PR:		ports/183552
Reported by:	Juanitou <listjm@club-internet.fr>, eadler
2013-11-01 23:12:00 +00:00
Florian Smeets
2cd503bcdb - update firefox to 25.0
- update firefox-esr to 24.1.0
- update thunderbird to 24.1.0
- update seamonkey to 22.0
- update libxul to 24.1.0
- don't remove/add share/applications directory
- remove checks for older gecko releases from bsd.gecko.mk
- drop support for FreeBSD 9.0

Not staged yet. I started working on it, but didn't finish it in time for
this release. I'll try to make the next one in 6 weeks.

In collaboration with:	Jan Beich
2013-10-30 20:37:55 +00:00
Florian Smeets
ec4fcd4b2a - update firefox, thunderbird and libxul to 24.0
- update seamonkey to 2.21
- update firefox-esr to 17.0.9
- enable GSTREAMER by default for html5 with h264/aac/mp3
- WEBRTC is now always built
- add PROFILE and TESTS options

Security:		7dfed67b-20aa-11e3-b8d8-0025905a4771
In collaboration with:	Jan Beich <jbeich@tormail.org>
2013-09-18 22:40:57 +00:00
Baptiste Daroussin
393f455f59 Convert to new perl framework 2013-09-17 09:31:16 +00:00
Baptiste Daroussin
6d09bec193 Do not overwrite USES 2013-09-02 21:57:08 +00:00
Florian Smeets
48f9528b90 - update firefox to 23.0
- update firefox-esr, thunderbird and libxul to 17.0.8
- update seamonkey to 2.20
- fix plist for *-i18n

Security:		0998e79d-0055-11e3-905b-0025905a4771
In collaboration with:	Jan Beich <jbeich@tormail.org>
2013-08-08 18:42:03 +00:00
Florian Smeets
d24ed7a7b6 - update firefox to 22.0
- update firefox-esr, thunderbird and libxul to 17.0.7
- update nspr to 4.10
- OSS support was removed upstream, only ALSA and PulseAudio are supported
  from now on.

Security:	b3fcb387-de4b-11e2-b1c6-0025905a4771
In collaboration with:	Jan Beich <jbeich@tormail.org>
2013-06-26 11:01:34 +00:00
Florian Smeets
87948edeea - Remove www/libxul19, is has been vulnerable and unsupported upstream for
quite some time.
- Switch all remaining consumers to depend on www/libxul
- Mark ports that don't work with the new libxul BROKEN
- Mark some old ports DEPRECATED with a reasonable timeout

Approved by:	portmgr (miwi)
2013-06-15 11:10:34 +00:00
Florian Smeets
d43f3d44c1 Commit a file forgotten in r318268. 2013-05-16 09:41:53 +00:00
Baptiste Daroussin
501e961d2e gecko has been forgotten, convert USE_ICONV to USES=iconv 2013-05-02 08:26:03 +00:00
Baptiste Daroussin
5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00
Florian Smeets
513d21d838 - update thunderbird, firefox-esr, linux-thunderbird and linux-firefox to
17.0.5
- update firefox to 20.0
- update seamonkey and linux-seamonkey to 2.17
- update nspr to 4.9.6
- remove mail/thunderbird-esr, Mozilla stopped providing 2 versions of
  thunderbird
- prune support for old FreeBSD versions; users of 8.2, 7.4 or earlier
  are advised to upgrade - http://www.freebsd.org/security/
- add vuln.xml entry

Security:	94976433-9c74-11e2-a9fc-d43d7e0c7c02
Approved by:	portmgr (miwi)
In collaboration with:	Jan Beich <jbeich@tormail.org>
2013-04-03 20:27:48 +00:00
Martin Wilke
0e67efc529 - Add a workaround for leaky environment's make index (this unbreaks all gecko@ for FreeBSD-8 on pointyhat)
Reported by:	pointyhat
Tested with: 	pointyhat/poudriere
oked by:	flo (gecko@)

Submitted by:	antoine (thx!)
Approved by:	portmgr
2013-04-02 14:01:27 +00:00
Florian Smeets
0a3ca4a098 Make sure logging is enabled with debug
Submitted by:	Jan Beich <jbeich@tormail.org>
Reported by:	ashish
Tested by:	ashish
2013-02-24 14:42:07 +00:00