270 Commits

Author SHA1 Message Date
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
ajacoutot
96ac3b5f42 Drop outdated comment.
ok landry@
2014-04-23 05:44:06 +00:00
landry
5f880112b5 Ensure mozillas depend on the newest sqlite 3.8.4 by setting
MODMOZ_WANTLIB to sqlite3>=27.
2014-03-24 21:03:39 +00:00
landry
3812362e3d Ensure ports using www/mozilla depend on the latest & greatest nss &
nspr, respectively 3.15.4 and 4.10.3.
2014-03-10 20:33:13 +00:00
landry
df232ae161 Winter cleanup of mozilla.port.mk:
- remove all the cruft that was here for 'old' mozillas now that they're
  in the attic
- sanitize CONFIGURE_ARGS, remove all the unneeded stuff.
- cleanup CONFIGURE/MAKE_ENV
- reorganize *DEPENDS, and finally fix WANTLIB

mozilla.port.mk |  144 ++++++++++----------------------------------------------
1 file changed, 28 insertions(+), 116 deletions(-)
2013-12-12 19:49:51 +00:00
landry
c750901eea Remove alpha from ONLY_FOR_ARCHS, it's pointless wasting cpu cycles
during bulks just to see gcc 4.6 blowing at some given spots. Firefox 3
was running fine there though... but xulrunner/1.9 and
productivity/sunbird are soon going to the attic anyway. Only a masochist
with alpha & gcc skills + enough patience might be brave enough to look
at it..
2013-11-30 12:03:44 +00:00
sthen
701c91e413 kill VMEM_WARNING 2013-11-25 14:16:22 +00:00
landry
2d02adb3bc Also subst C/esr// in MOZILLA_VER, fixes firefox-esr packaging and
forgotten in previous. Originally from jasper@, breakage reported by naddy@
2013-11-22 12:26:06 +00:00
landry
6bbbe88d0f Prepare for a MOZILLA_PROJECT=xulrunner for xulrunner/24 2013-10-19 16:27:37 +00:00
landry
f7abfdf997 Shuffle things around in preparation for gecko 24:
- stop building ff/tb/sm with systemwide cairo, it differs too much from
  the bundled cairo and brings us too many issues (font weirdness,
crashes on i386 when links are dnd'ed, maybe system slowness when
displaying huge images, and others i dont remember..). Anyway, this is
not really "supported" upstream. To be revisited once mozilla updates to
cairo 1.12.x, if ever (#739096).
- move comment about system-jpeg, krb5 WANTLIB, and post-extract target
 about sydneyaudio sndio backend when they belong (ie in the 'old' users
case).
2013-09-19 13:06:44 +00:00
landry
0f422e11a4 Remove references to non-existent MOZILLA_PROJECT=xulrunner
(devel/xulrunner is using xulrunner19) , firefox35 and MOZILLA_BRANCH=1.9.1.
2013-09-19 12:20:08 +00:00
landry
dfa6f91f32 Bump nspr requirement to 4.10 and nss requirement to 3.15 (only for tb/sm/fx). 2013-08-08 06:58:31 +00:00
landry
7ad71e5a49 Seamonkey doesn't need the sydneyaudio backend anymore. 2013-07-11 16:24:10 +00:00
landry
11b75cfdf8 Assorted fixes for firefox update :
- doesn't link anymore with krb5 & friends
- depend on sqlite3>=23
- sydneyaudio got removed, make post-extract conditional to gecko version
2013-06-26 19:18:48 +00:00
ajacoutot
25b3041f91 Unbreak after hx509 and ntlm removal from Kerberos. 2013-06-20 06:54:36 +00:00
ajacoutot
40ff12bf22 Unbreak Mozilla ports after the Heimdal update. 2013-06-17 19:29:05 +00:00
landry
466462f7c3 Bump dependency on nspr 4.9.6, technically only needed for firefox. 2013-05-30 14:08:05 +00:00
landry
7169a1e9da Ensure FX/SM/TB depend on nss 3.14.3/nspr 4.9.5/sqlite 3.7.15.2.
Adjust WANTLIB while here.
2013-04-06 14:39:58 +00:00
sthen
f5a323c546 Don't use ${FLAVOR:L}, we only support lower-case flavours now.
OK ajacoutot@ espie@
2013-02-09 14:49:50 +00:00
landry
2f2f96f253 Ensure fx/sm/tb depend on nspr 4.9.4 / nss 3.14.1p0
(not technically needed for tb, but oh well..)
2013-01-11 22:51:44 +00:00
landry
2f3c1d8abb Winter cleanup of the mozillas :
- Add gtar to BUILD_DEPENDS everywhere in moz.port.mk, since fx 18 will
  start using gtar-only options. Ditto for unzip, used during install.
- special-case the deps for firefox/thunderbird/seamonkey, since those
  are maintained on the long-term. Only those need to depend on the
latest and greatest nss/nspr.
- move the '--relax LDFLAGS for ppc' to moz.port.mk
- move the 'yasm BUILD_DEPENDS for i385/amd64' to moz.port.mk
- move more common CONFIGURE_ARGS to moz.port.mk (libevent,gio,bz2,gconf..)
- fix MODMOZ_WANTLIB wrt nss/nspr majors
- ensure we depend on sqlite3>=21, needed for fx/tb 18
- use --with-system-jpeg only in firefox36/sunbird/fennec/xulrunner,
  fx/tb 18 will have to use its bundled libjpeg-turbo (#791305)
- bump REVISIONs for the WANTLIB/LIB_DEPENDS change.
2012-12-04 21:05:29 +00:00
landry
0f9eea998d Bump all ports depending on nspr to account for the devel/nspr,-main ->
devel/nspr pkgpath change. While here, make sure mozilla ports depend on
the latest and greatest via mozilla.port.mk.
Tested in a bulk build..
2012-11-12 20:45:32 +00:00
landry
ffeb59ff0f Add DPB_PROPERTIES=parallel so that all mozilla ports build zomgfaster
with dpb.
reminded by naddy@, thanks!
2012-10-24 19:28:43 +00:00
landry
ffdc0a3a12 --with-system-zlib takes /usr, not /usr/lib. No binary change, and
allows to remove some dupe configure args at next update.
2012-10-20 11:17:56 +00:00
landry
181d9b3892 Remove useless dependency on deprecated pangox.
- remove useless patch to gfx/thebes/Makefile.in adding -lpangox-1.0 to
EXTRA_DSO_LDOPTS, this was maybe useful before ffx 3.0, but mozilla
stopped using pangox between 2.0 and 3.0. See for the last traces of
pangox.h use : https://bugzilla.mozilla.org/show_bug.cgi?id=528941. See
also bugs #323671/#338446
- backport the patch from #528941 to remove useless pangox.h inclusion
from www/firefox35.
- remove the RUN_DEPENDS on pangox-compat
- bump all corresponding REVISIONS
- while here, make sure all moz ports depend on latest nspr 4.9.2 since
  it'll be a requirement for upcoming gecko 16 releases
2012-09-22 10:30:17 +00:00
landry
b5c23a2df6 Forgot to commit in previous.. remove the bits overwriting the original
nsSound.cpp with our own, now removed.
noticed by naddy@
2012-09-01 17:48:19 +00:00
landry
d589e08e50 Fix WANTLIB (remove gmodule-2.0) and bump depending ports (others will
be updated in a sec)
2012-06-11 15:26:14 +00:00