328 Commits

Author SHA1 Message Date
landry
1f57d68303 www/mozilla/mozilla.port.mk: assorted cleanup for gecko 106
- bump nss/nspr dependencies
- tidy up WANTLIB, factorize some from consumer ports
- move devel/m4 BDEP to the module
- factorize CONFIGURE_ENV for M4 detection
2022-10-18 14:30:02 +00:00
landry
89dce197b6 www/mozilla: make sure gawk isnt picked up during configure
set AWK=/usr/bin/awk in CONFIGURE_ENV, since #1256568 the awk detection
moved from autoconf to moz.configure. Further cleanup will happen after
7.2.

ok sthen@ naddy@
2022-09-25 09:23:17 +00:00
landry
e5e737a860 www/mozilla: add wip support for PGO (profile guided optimizations)
fetch & use llvm profiling data directly from mozilla's taskcluster
not used yet, needs to specify MOZILLA_PROFDATA_TASKID in the consumer.
2022-08-16 13:40:36 +00:00
landry
a34c738367 www/mozilla/mozilla.port.mk: bump nss/nspr dependencies for gecko 102 2022-06-28 13:00:45 +00:00
landry
7f154a79ad www/mozilla: drop chunk adding gtk+2 LDEP to seamonkey
not needed anymore since the removal of NPAPI support.
2022-05-05 12:08:11 +00:00
naddy
ec14803114 drop RCS Ids 2022-03-11 20:09:36 +00:00
landry
57d611e5d5 mozilla.port.mk: drop --disable-necko-wifi from CONFIGURE_ARGS
it's been added locally in other mozilla consumers, and is now an error
with firefox 97.
2022-02-08 14:00:16 +00:00
landry
28fd2081a8 www/mozilla/mozilla.port.mk: enforce dep on nss 3.73
for https://www.mozilla.org/en-US/security/advisories/mfsa2021-51/
2021-12-07 14:56:58 +00:00
landry
163e1c4b32 www/mozilla: enforce dep on nss 3.72 and fix WANTLIB while here 2021-11-02 15:10:22 +00:00
landry
d8b4e69a93 www/mozilla/mozilla.port.mk: drop LDFLAGS="-Wl,--no-keep-memory", from brad
this option only meant something with ld.bfd and is a noop with ld.lld,
which all mozilla ports now use.
2021-08-24 06:09:11 +00:00
landry
936672405d www/mozilla/mozilla.port.mk: assorted tweaks for firefox 90
- bump dependency to nss 3.68/nspr 4.32, those will be required for
  91ESR
- define MOZILLA_MAJOR_VERSION and only add the Gtk+2 dependency for
gecko < 90, as upstream finally dropped the dependency (#1377445)
- shuffle WANTLIB around
2021-07-13 15:24:00 +00:00
landry
5f1236ab62 www/mozilla.port.mk: bump dependency to nss 3.64 2021-06-01 13:14:06 +00:00
landry
f572952b57 www/mozilla: bump nss/nspr dependencies to 3.63/4.30
while here replace --disable-optimize by --enable-optimize=${CFLAGS},
since bug #1689284 using --disable-optimize + --enable-release doesnt
optimize rust code anymore, resulting in a +100Mb increase on
libxul.so seen with firefox 87
--enable-optimize workaround suggested in #1695572
2021-03-23 13:17:14 +00:00
landry
6f99ae8032 Fall cleanup in mozilla.port.mk, in preparation for fx 83
- update nss dep to 3.59, will be required for gecko 84
- drop options to build against systemwide
  cairo/hunspell/libevent/sqlite as those were dropped upstream
  (#1611386 for sqlite, #1432751 for cairo)
- move the dependency for nasm (required for dav1d since 67) from the
  consumers to the module
- move the dependency for rust & llvm from the consumers to the module
  (cbindgen and nodejs are next, but seamonkey doesnt require them yet)
- drop the plumbing for the debug FLAVOR, DEBUG_PACKAGES is the new hotness
- all consumers build against Gtk3, drop MOZILLA_USE_GTK3
2020-11-17 15:56:55 +00:00
landry
a571c1f9c8 Add pending bug# removing the gtk+2 dependency, prompted by a question by ajacoutot@ 2020-11-11 17:12:50 +00:00
landry
2fe23c5d50 Bump dependency to nss 3.58 2020-10-20 14:45:12 +00:00
rsadowski
f7bb9ac822 Bump after hunspell update
The library name has changed from hunspell-1.6 to hunspell-1.7.
2020-10-09 19:12:00 +00:00
landry
70910b6a29 Bump requirements to nspr 4.29/nss 3.57 for gecko 82. 2020-09-22 12:57:55 +00:00
landry
02929fac11 tweaks for gecko 78:
- bump dep to nss 3.54, technically only needed for 79
- drop --disable-gconf, was the default anyway, and the option was
  removed upstream
- use plain --with-system-zlib, doesnt take a path anymore
2020-06-30 13:57:22 +00:00
landry
a075ac47be Bump requirement to nss 3.53.
Technically, requirement is at 3.52 (#1629594) and later on 3.52.1
(#1637369) but this cant harm.

while here, remove --with-system-bz2 from CONFIGURE_ARGS, the dependency
on bzip2 was removed in #1418425 for firefox 62..
2020-06-02 15:22:18 +00:00
landry
c60c123ffe Bump minimal requirements to nss 3.50, nspr 4.25 and sqlite 3.31.1 to be on the safe side for gecko 74 2020-02-11 16:49:11 +00:00
landry
0b932664cb Require nss 3.49 for consumers building with system nss
(technically, gecko 72 only requires 3.48 but 73 will require 3.49)
2020-01-07 17:27:45 +00:00
landry
0a8dfddd74 Bump dependency to nss 3.47.1 for gecko 71. 2019-12-03 16:49:45 +00:00
sthen
a3dae6ea5d factor some common parts into mozilla.port.mk and fix DPB_PROPERTIES which
is supposed to be "lonesome" on i386 because parts of the build take a lot of
ram, but actually ended up as "lonesome parallel" due to a +=. hoping this
will reduce the frequent build failures on i386.  ok landry
2019-09-22 17:19:06 +00:00
landry
a5e099b375 Bump dependencies for gecko 69:
- nss >= 3.45
- nspr >= 4.21
- sqlite >= 3.28

those have been in -current for a while already.
2019-09-03 16:25:03 +00:00
landry
18764e6a7e Bump minimum sqlite requirement to 3.27.2, and nss to 3.44.1, as that's
what gecko 68 requires.
2019-07-09 17:58:22 +00:00
landry
340e6338a2 Bump dependency to nss 3.42. 2019-03-19 19:22:42 +00:00
jsg
5738c1b9e4 Prepare for llvm-config in base and use ports llvm-config to avoid a
build error with firefox ports.

ok landry@
2019-03-04 07:03:54 +00:00
landry
0462e59252 Enforce dependency on nss 3.41.1 & sqlite 3.26. 2019-01-29 20:45:53 +00:00
landry
9673080c56 Bump dependency on sqlite 3.25.3.
Technically only 3.25.1 is reqd' by gecko 64, but 65 requires 3.25.3 so
that might do.
2018-12-11 15:30:44 +00:00
landry
fb30e7d85a Bump requirement to nss 3.40.1 to ensure consumers pick it up.
Will be a hard requirement for upcoming 64 anyway.
2018-12-01 09:19:27 +00:00
naddy
2e70a7630b DPB_PROPERTIES is always defined; simply add the "parallel" property
with espie@
2018-09-17 14:10:23 +00:00
landry
ebf9929e7b Bump minimal requirements on nss 3.38 & sqlite 3.24. Technically, gecko
61 depends on 3.37.1 & 3.23.1 but this paves the way for 62..
2018-06-27 04:57:03 +00:00
landry
0a5c1c57f8 Enforce dependency on nss 3.36.1, needed by gecko 60. 2018-05-11 19:37:46 +00:00
landry
1bc29f2aba Use -ggdb1 when using debug FLAVOR, produces a binary/package with a
somewhat reasonable size (ie not a 1gb libxul.so when using -g which
defaults to -g2)

129M    firefox-60.0beta15-debug.tgz
54.7M   firefox-60.0beta15.tgz

Thx robert@ for the hint.
2018-04-27 07:28:43 +00:00
landry
99d10cbc39 Properly define DISTFILES where appropriate when MOZILLA_COMMIT is set.
Dammit.
2018-03-14 06:07:11 +00:00
landry
97eb99c665 Only define MASTER_SITES if unset (in the case MOZILLA_COMMIT is defined) 2018-03-13 21:18:53 +00:00
landry
da28eb82e4 Bump nss dependency to 3.35 and nspr to 4.18 for gecko 59. 2018-03-13 19:20:07 +00:00
landry
0d39678d6e only set DPB_PROPERTIES if not already set. 2018-01-29 18:20:33 +00:00
landry
4c0e4f3ef6 Upstream stopped providing 'source tarballs' for beta releases in bugs
#1422203 & #749312, and it's doubtful this will change even if i'm
trying to discuss it in #1432591. Instead, a README is provided with the
corresponding commit hash with which we're supposed to hammer
hg.mozilla.org, with varying success in terms of speed. Normally, it
shouldnt be the case for real releases..

Add the necessary plumbing to set DISTFILES/DISTNAME/MASTER_SITES
accordingly if MOZILLA_COMMIT and MOZILLA_BRANCH are set in the consumer
Makefile.
2018-01-27 10:22:14 +00:00
landry
ba5ba4b626 Pass --with-system-cairo only if MOZILLA_USE_BUNDLED_CAIRO isn't defined
(which is the default for now)

In 59 the possibility to build with system cairo is going away (cf
#1432751) and this hasn't been a "supported" configuration for a while
(numerous weird rendering issues & build failures reported/fixed by
downstreams over the years).

The local cairo copy in gfx/cairo/cairo derives from 1.10. Bug #739096
tracks the eventual update of this copy, which will probably not happen.
2018-01-27 10:12:46 +00:00
landry
5d5e5f0dec Remove default setting of HOMEPAGE, every consumer port define its own,
and the provided default value didn't make sense anymore.
2018-01-27 10:04:38 +00:00
landry
af0c93358f Bump dependencies to nss 3.33/nspr 4.17/sqlite 3.20.1.
required for upcoming gecko 57 branch, will make my life easier.
2017-09-28 16:32:42 +00:00
landry
1a1cb22b60 Gecko 55 assorted changes.
- remove ONLY_FOR_ARCHS, it doesn't work in a module
- default EXTRACT_SUFX to .tar.xz
- bump nss requirement to 3.32 (technically, 55 requires 3.31, but 56
  will require 3.32..)
- bump nspr requirement to 4.16 (yadada yadada 4.15)
- bump sqlite requirement to 3.19.3
- remove junk from powerpc days, the boat has sailed
- ditch --enable-gio, its enabled by default, and now errors out as an
  unknown option with the new build system
- ditch junk for xulrunner, WRKDIST is always the same now
- ditch pre-configure target, it's useless now
2017-08-08 10:15:12 +00:00
landry
3fec56eaf9 Bump dependencies for mozilla 54, and some cleanup.
- nss 3.30.1 is required
- nspr 4.14 is required
- remove plumbing for gtk3 FLAVOR, now the default anyway
- switch default MASTER_SITES and HOMEPAGE to https (from naddy@)
2017-06-14 05:22:28 +00:00
landry
67b170e04e Ride the previous REVISION bump and enforce dependency on nss 3.29.5,
hard requirement for firefox 53.
2017-04-12 18:13:33 +00:00
landry
52ca4711f9 Fix WANTLIB and bump REVISION for all ports depending on hunspell.
While here enforce dependency on hunspell 1.6 in mozilla.port.mk, as
it's a requirement for 53.
2017-04-12 18:12:33 +00:00
sthen
073d25a37c use LIBCXX 2017-04-10 11:46:32 +00:00
landry
5594a78daa As was done with nss/nspr/sqlite/icu4c, add boilerplate to allow
building against bundled hunspell - firefox 53 requires 1.5.4, 54/55
requires 1.6.0, and we're at 1.3.2. No change for consumer ports, they'd
have to define MOZILLA_USE_BUNDLED_HUNSPELL to do so.
2017-03-09 07:08:24 +00:00
landry
7de342281d Bump dependency to sqlite >= 3.17.0 for upcoming mozilla 52 updates. 2017-03-07 15:23:20 +00:00