296 Commits

Author SHA1 Message Date
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
landry
3d73538761 Somewhat fix DEBUG flavor (enable-debug-symbols expects debug flags,
not a yes/no flag)
From semarie@
2017-02-18 22:32:25 +00:00
landry
14b5d6af78 Consolidate textproc/icu4c common dependency into mozilla.port.mk, and
allow to build against bundled icu4c by setting MOZILLA_USE_BUNDLED_ICU.
2017-02-18 16:22:54 +00:00
landry
c47b5a3823 As it's done for nss/sqlite/libevent, provide a way to build against
bundled nspr if MOZILLA_USE_BUNDLED_NSPR is set - no binary change for
ports using this module. Paves the way for some -stable work.
2017-02-18 16:18:48 +00:00
landry
4aef1ca95d Bump dependencies to devel/nspr>=4.13.1 and security/nss>=3.28, the
latter is a hard requirement for upcoming gecko 51. Bumps to follow.
2017-01-24 21:25:14 +00:00
landry
0e94eef088 Add ac_cv_path_mkdir=/bin/mkdir and ac_cv_prog_AWK=/usr/bin/awk to
CONFIGURE_ENV, should prevent internal libffi's configure to pickup
gmkdir or gawk as seen by sthen@. Yay autohell.
2017-01-06 17:39:02 +00:00
landry
0f280bab54 Put ac_cv_path_SED=/usr/bin/sed in CONFIGURE_ENV, should fix another
build failure seen by ajacoutot@. damn libffi's configure script tries
hard to detect and use gsed...
2016-12-19 16:11:38 +00:00
landry
28fe8b2498 Set ac_cv_path_ax_enable_builddir_sed=/usr/bin/sed in CONFIGURE_ENV,
should prevent a build failure experienced by naddy@. libffi's configure
checks for gsed, picks it up if found, and libffi's libtool (ugh) would
fail at runtime if dpb had junked gsed..

Looking why libffi's build system doesnt respect USE_LIBTOOL will
hopefully happen later. Or switch to system libffi, since it has been
updated...
2016-11-06 21:54:35 +00:00
sthen
564c6c344a Cope with moving sqlite3 back to ports. 2016-09-23 09:16:52 +00:00
landry
5e0b905a1d Use an explicit dependency on devel/autoconf/2.13 instead of relying on
MODGNU_AUTOCONF_DEPENDS being automagically set because CONFIGURE_STYLE
happens to be gnu, or not. Mozilla configure doesnt really use
autoconf-2.13 anyway in recent versions, but still checks for its presence...

Reported by naddy@ several times.. thought i had fixed it
2016-07-04 07:15:07 +00:00
landry
73d894c071 Add MODGNU_AUTOCONF_DEPENDS to MODMOZ_BUILD_DEPENDS, since the
CONFIGURE_STYLE switch from autoconf to gnu the BDEP on autoconf-2.13
was lost, and the autohell machinery still looks for it for $reasons.

Reported by naddy@
2016-05-31 20:15:51 +00:00
landry
4f242c6b05 Adding mozgtk to MOZILLA_LIBS doesnt work, it's now done in the port
Makefile.
2016-04-27 22:08:57 +00:00
landry
d31d9024bb Preparation for upcoming gecko updates:
- shuffle MODMOZ_WANTLIB & MODMOZ_LIB_DEPENDS depending on gtk3 status.
  When using Gtk3, Gtk2 is still in the dependencies..
- introduce MOZILLA_USE_GTK3 flag to be set in a client port
- fix the WRKDIST setting depending on MOZILLA_PROJECT, xulrunner will
  be the last one 'different'...
2016-04-27 13:37:32 +00:00
naddy
30de017a32 remove SHARED_ONLY from Mozilla ports, unused 2016-03-20 00:02:31 +00:00
landry
ea80afe2ba Bump dependencies to nss 3.21.1 and nspr 4.12, required by upcoming
gecko 45 updates.
2016-03-14 20:34:34 +00:00
landry
0c0e45695d Tweak/fix MODMOZ_WANTLIB/MODMOZ_LIB_DEPENDS wrt gtk dependencies. 2016-03-14 20:33:16 +00:00
landry
5115277619 tweak MOZILLA_VER regex so that i can use beta *and* rc in a version number 2016-03-14 20:30:02 +00:00
landry
b1a3022d1a Winter cleanup in preparation for gecko 44.
* Move the nss/libevent/sqlite dependencies to separate blocks, allowing
  to disable them by defining MOZILLA_USE_BUNDLED_NSS|SQLITE|LIBEVENT.
Gecko 44 doesn't build against our base libevent1, and it's simpler to
use the bundled/patched libevent instead of ports libevent2. This should
also help tbb which insists on using its own (heavily patched) nss

* Bump sqlite dependency, gecko 44 requires sqlite 3.9.1

* Fix debug FLAVOR, use only --enable-debug-symbols=yes
  --disable-install-strip. The resulting pkg is only around 280Mb, and
unstripped libxul is 800Mb. Adventurous users can show it to gdb.

* Rework the way default value is set for WRKDIST, soon (with esr45)
xulrunner will be the only exception left

* Remove unused _MOZDIR definition
2016-01-27 18:04:09 +00:00
landry
a2e34bf9b4 Face reality, various mozillas only build on amd64 or i386.
The last reliable gecko builds on macppc were done with:
OpenBSD 5.8-current (GENERIC.MP) #761: Mon Aug 31 08:01:30 MDT 2015
(mpi@ says SecurePLT was commited beginning of Sep, so .. related?)

Thunderbird and firefox-esr strangely built on sparc64 (by accident?) in
may and june (when it was gecko 31) but other than that firefox itself
never built in 2015.

Anybody is welcome to look into this, just add you beloved arch to
ONLY_FOR_ARCHS in mozilla.port.mk.

While here, also amend ONLY_FOR_ARCHS in langpacks ports, no point in
packaging them if you don't have the corresponding package.

Avoids wasting hours during bulks, only keep xulrunner building on
powerpc and sparc64.
2016-01-22 10:28:58 +00:00
landry
5a9bcd565e fix WRKDIST for seamonkey now that it uses new layout 2015-11-09 13:55:22 +00:00
landry
a4f34d4672 Enforce requirement on latest nss/nspr, requirement for gecko 42.
While here adapt the WRKDIST dance, starting with this gecko the tarball
is layed out ${MOZILLA_DIST}-${MOZILLA_DIST_VERSION} instead of
mozilla-${MOZILLA_BRANCH} - do this for www/mozilla-firefox and
thunderbird-beta only for now.
2015-11-04 07:32:03 +00:00
landry
bf5efc18a3 Release candidates are in their own subdirs on the mirrors now. 2015-10-31 15:12:38 +00:00
landry
ce27416c63 Dont assume esr ends MOZILLA_VERSION when constructing MOZILLA_VER from
it. Allows to use rc altogether esr, ie 38.4.0esrrc2 for example...
2015-10-31 15:11:00 +00:00
landry
3a1f0d010e Enforce dependency on latest sqlite, needed for gecko 41 2015-09-24 20:18:12 +00:00
landry
30dd9fd535 Use https MASTER_SITES for rcs, and remove ftp from MASTER_SITES - has
been shut down upstream.
2015-09-19 09:03:24 +00:00
landry
a392891148 Enforce dependency on nss 3.19.2, required by gecko 39. 2015-07-05 19:58:57 +00:00
landry
145a036067 Bump dependency on nss 3.18.1 and sqlite 3.8.9, required by gecko 38. 2015-05-16 07:18:16 +00:00
landry
b671146ce8 Bump dependencies for gecko 36:
- nspr 4.10.8
- nss 3.17.4
- sqlite3>=29 (ie sqlite 3.8.7.4)
2015-03-16 19:47:35 +00:00
landry
c922733b37 Fix regex to match bX with X >=10 instead of only 0-9 2015-01-03 10:49:41 +00:00
landry
063c40b9ff Assorted updates for gecko 33.
- enforce dependency on sqlite3>=28 (sqlite 3.8.5), nss 3.17.2 and nspr
  4.10.7.
- add handling for 'rc' in MOZILLA_VERSION, MOZILLA_DIST_VERSION and
  MOZILLA_VER
- when 'rc' is set, fetch the corresponding candidate build from the
  appropriate dir on the mirror
2014-10-17 07:16:56 +00:00
landry
07895a166c Ensure we depend on nss 3.16.2 for gecko 31 updates.
Set PORTHOME to ${WRKSRC}, since the build system creates a ~/Desktop
dir for some reason (from ajacoutot@)

This commit (and all the upcoming moz-related ones) are ok jasper@ sthen@ naddy@
2014-07-24 17:57:42 +00:00
landry
59b06db663 Plumbing for upcoming ffx 30:
- bump nspr dependency to 4.10.6.
- remove libIDL BDEP, not needed anymore
- add a gtk3 FLAVOR for firefox only, provided as a tech preview. Not
  everything works, it's in pretty good shape, but not considered ready
yet upstream. You have been warned! Note this also needs to be built
with system-cairo.
- shuffle LDEP/WANTLIB around for gtk3 FLAVOR.
2014-06-14 12:50:40 +00:00
landry
07cd36ec15 Batch of changes for gecko 29:
- enforce dependency on nss 3.16
- fix spellchecking by building against systemwide hunspell. For some
  reason the bundled hunspell can't open its own dict (#991278)
- add SHELL=/bin/sh as mozbuild now relies on it
- remove now useless default MODGNU_CONFIG_GUESS_DIRS & MOZILLA_SUBST_FILES
2014-04-29 21:16:26 +00:00