Граф коммитов

74 Коммитов

Автор SHA1 Сообщение Дата
Jim Blandy 3ba206cdb7 Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla.
Give SpiderMonkey its own configure script and top-level Makefile.
Adjust js/src/Makefile as appropriate for life as a stand-alone
makefile, instead of a 'make export; make libs'-style Mozilla tier
makefile.  Have the configure script accept '--with-nspr-cflags' and
'--with-nspr-libs' options for using an in-tree NSPR.  Also accept
'--with-system-nspr', '--with-nspr-prefix', and
'--with-nspr-exec-prefix' flags for using an installed NSPR.  Default
to --disable-jemalloc, assuming we don't have that part of the tree
available; have the top-level configure script pass --enable-jemalloc
as needed.

Since we no longer have an export phase to copy header files into
dist/include/js before we build the library, we need to be able to
find nanojit.h in the nanojit directory; fix references in
jsbuiltins.h and jstracer.cpp.

Give SpiderMonkey it its own copies of many of the files from ./config
and ./build.  These are all exact copies, except as follows:

. js/src/config/Makefile.in: js/src only has a subset of
  js/src/config, and thus a subset of the makefile targets.

. js/src/config/autoconf.mk.in: js/src/configure.in has its own make
  variables to set, not set by the top-level configure script, so it
  needs a custom automake.mk template.

. js/src/config/make-system-wrappers.pl: a copy from nsprpub/config,
  so that we can build without having an NSPR source tree handy.

Invoke js/src/configure from ./configure, passing the values computed
for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script.

Treat js/src as a static directory of the js tier, and create a new
config/js (just a Makefile) to be the js tier's non-static directory.
Let js/src/configure generate SpiderMonkey's makefiles, not
./configure.

Generate a 'js-config' script, which clients can call to find the
CFLAGS and LIBS values necessary to compile and link against an
installed SpiderMonkey library.  Don't include the js-config script in
Macintosh packages.

Teach client.mk how to rebuild js/src/configure.

Tell Mercurial to ignore files generated by autoconf in js/src.

Further work:

. Right now, callers must define JS_THREADSAFE when #including jsapi.h.
  This is fixed in a subsequent patch.

. js/src/configure is a trimmed copy of ./configure.  It could be
  trimmed more.

--HG--
rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl
rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4
rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess
rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub
rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4
rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh
rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile
rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh
rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4
rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4
rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh
rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper
rename : build/hcc => js/src/build/hcc
rename : build/hcpp => js/src/build/hcpp
rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl
rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl
rename : config/Makefile.in => js/src/config/Makefile.in
rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm
rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in
rename : config/config.mk => js/src/config/config.mk
rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c
rename : config/fastcwd.pl => js/src/config/fastcwd.pl
rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h
rename : config/insure.mk => js/src/config/insure.mk
rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl
rename : config/milestone.pl => js/src/config/milestone.pl
rename : config/milestone.txt => js/src/config/milestone.txt
rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in
rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c
rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h
rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c
rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h
rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h
rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c
rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c
rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man
rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c
rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c
rename : config/nfspwd.pl => js/src/config/nfspwd.pl
rename : config/nsinstall.c => js/src/config/nsinstall.c
rename : config/nsinstall.py => js/src/config/nsinstall.py
rename : config/pathsub.c => js/src/config/pathsub.c
rename : config/pathsub.h => js/src/config/pathsub.h
rename : config/preprocessor.pl => js/src/config/preprocessor.pl
rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl
rename : config/revdepth.pl => js/src/config/revdepth.pl
rename : config/rules.mk => js/src/config/rules.mk
rename : config/system-headers => js/src/config/system-headers
rename : config/version.mk => js/src/config/version.mk
rename : config/version_win.pl => js/src/config/version_win.pl
rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
Peter Weilbacher 1465af353c [OS/2] Bug 461342: do not lxLite-compress the main executables to prevent icon corruption on some systems, r=wuno 2008-10-26 22:53:57 +01:00
Mike Hommey 35de8e8723 Bug 422991 - "'make distclean' misses some files" (cleanup browser/installer) [r=bsmedberg] 2008-10-20 22:17:16 -05:00
Ben Hearsum 24415c1d5b backout bug 453840 to fix win32 l10n 2008-10-13 20:42:23 -04:00
Ben Hearsum ac72afe0f2 bug 453840: make it possible to create files in the final place for releases - follow-up to MOZ_PKG_PRETTYNAMES patch to support win32 2008-10-09 08:53:28 -04:00
Daniel Holbert 5492039225 Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe 2008-10-01 23:49:45 -07:00
Robert Kaiser e2ad4b9648 bug 453840 - make it possible to create files in the final place for releases, r=ted 2008-09-17 22:53:09 +02:00
Honza Bambas 779cb0331b bug 428009 - hook up ssltunnel to mochitest. r=waldo,kaie 2008-09-05 09:35:58 -04:00
Armen Zambrano Gasparnian 8ff9768ba2 Bug 438240 - packager.mk doesn't mount image automatically on MacOS 10.5, r=bsmedberg 2008-08-27 21:49:12 -04:00
Kai Engert 54d46c6523 Backed out changeset 3770c42e3118 2008-08-16 08:00:17 +02:00
honzab@allpeers.com b7d44caf95 Bug 428009, hook up ssltunnel to mochitest
Initial work by Jeff Walden, Patch contributed by Honza Bambas
r=jwalden, r=cbiesinger, r=sayrer, r=ted.mielczarek, r=kaie
2008-08-16 07:38:03 +02:00
Robert Kaiser 3cd15b9343 bug 444992 - NATIVE_DIST definition used in packager.mk for SIGN_CMD is crap, r=ted 2008-07-21 19:53:22 +02:00
Robert Kaiser 46d638fc1c bug 442484 - packager.mk doesn't work correctly with non-default topsrcdir, r=ted 2008-07-06 22:30:32 +02:00
Kai Engert 4c10dc1f43 Backout bug 428009 2008-06-18 14:30:29 +02:00
Kai Engert a0c057bf5a Bug 428009, hook up ssltunnel to mochitest
Patch contributed by Honza Bambas
r=jwalden, r=kaie
2008-06-18 11:44:19 +02:00
mozilla@weilbacher.org 3e50a30029 [OS/2] Bug 421631: make shlibsign create the correct output file on OS/2 during packaging, r=ted.mielczarek, a1.9+=damons 2008-04-28 12:14:12 -07:00
dtownsend@oxymoronical.com 537745f4d8 Bug 430052: ssltunnel is finding its way out into the real world. r+a=ted 2008-04-21 07:32:47 -07:00
dtownsend@oxymoronical.com b74bebb3b2 Bug 410637: Mac UB XULRunner SDK packages have empty bin directory. r=bsmedberg, a=beltzner 2008-04-10 07:50:48 -07:00
philringnalda@gmail.com b0af90543d Bug 423099 - make install should fail on OS X, r=ted, a=beltzner 2008-04-08 22:26:00 -07:00
gavin@gavinsharp.com c5a2162334 Bug 423182: changes the default MOZ_ZIP_FORMAT for BeOS from .tar.gz to .zip, patch by mattmadia@gmail.com, r=bsmedberg, a=beltzner 2008-04-04 13:33:12 -07:00
mozilla@weilbacher.org eb7ec6cf73 [OS/2] Bug 421626: Fix packaging and signing on OS/2, r=ted.mielczarek 2008-03-13 17:39:33 -07:00
dtownsend@oxymoronical.com d2084e7a68 Bug 410637: Mac UB XULRunner SDK packages have empty bin directory. p=matthew@allpeers.com, r=bsmedberg, a=beltzner 2008-03-05 13:30:28 -08:00
rob_strong@exchangecode.com e9332e49c6 Bug 398867 - Building installer without a MOZ_OPTIONAL_PKG_LIST copies all files into the optional directory. r=bsmedberg, a1.9=mconnor 2007-10-09 12:30:28 -07:00
mcsmurf@mcsmurf.de 4a3aad7322 Bug 394707 - `make package` broken for cross-compiles (not using host xpt_link), p=Mook, r+a=bsmedberg 2007-09-07 14:25:47 -07:00
benjamin@smedbergs.us aa24fab361 Fix the name of the Windows SDK, for real this time 2007-08-11 13:29:48 -07:00
benjamin@smedbergs.us 3e619646be Fix copy-paste typo from bug 391308 2007-08-10 06:56:43 -07:00
benjamin@smedbergs.us fbfa1be233 Bug 391308 - Make the new-style SDK package, r=luser 2007-08-09 12:53:08 -07:00
benjamin@smedbergs.us 4b6ed1dfac Bug 389673 - Fix "make install" to copy from dist/ and use packager.mk, rather than recurse the build tree, r=luser 2007-08-03 07:46:17 -07:00
kaie@kuix.de 9ab452369c Bug 370693, Mozilla.org nightly bits broken, Failure to use crypto with FIPS modeBuild system changes onlyPatch originally proposed by Wan-Teh in bug 249782r=bsmedberg 2007-04-17 13:42:54 -07:00
axel@pike.org 99daa6badd bug 361583, support filter commandline argument, and use it from packager.mk, r=bsmedberg 2007-04-13 16:43:36 -07:00
bugzilla@standard8.demon.co.uk 8049568bcc Back out part of bug 361583 to fix xul app bustage occuring when attempting to do nightly builds. 2007-04-12 05:41:32 -07:00
axel@pike.org 37999fa74b bug 361583, start using Preprocessor.py instead of preprocessor.pl in building Minefield, r=bsmedberg 2007-04-11 09:35:01 -07:00
pedemont%us.ibm.com 0ce77428b9 Bug 370243 - XULRunner DMG no longer contains installer. r=bsmedberg 2007-02-27 19:43:59 +00:00
benjamin%smedbergs.us cdbbc055df Bug 345047 - Universal build fixup for XULRunner, r=mento 2006-08-18 20:34:56 +00:00
cls%seawood.org 0efa995518 Use a macro to call inline perl scripts to avoid make 3.81's backslash quoting issues.
Bug #339933 bsmedberg
2006-07-11 21:20:12 +00:00
davel%mozilla.com 177bd3d18f Bug 343157 - r=benjamin. exclude the unit test dirs from the final packaging 2006-06-29 18:27:49 +00:00
rob_strong%exchangecode.com ec747e6e9c Bug 326580 - Firefox 2.0 Windows Installer. Keep uninstall.exe around until we sort out app update for it. r=bsmedberg a=me 2006-05-23 22:04:19 +00:00
rob_strong%exchangecode.com 421b1d7ed1 Bug 326580 - Firefox 2.0 Windows Installer. r=bsmedberg 2006-05-22 22:29:44 +00:00
benjamin%smedbergs.us f6689145d5 Build/packaging work for bug 326580, NPOB 2006-05-04 15:43:31 +00:00
dbaron%dbaron.org 15ae580678 Prefer gnu tar to others. b=260174 Patch from Marco Perez <bugmail@millibyte.net>. r=bsmedberg 2006-03-27 17:52:05 +00:00
mark%moxienet.com a4221c9605 327848 Universal taskmaster: drive the Mac universal binary build process entirely in-tree. r=bsmedberg 2006-02-21 21:03:48 +00:00
vladimir%pobox.com a51f6f8131 b=249782, workaround for vs2005 nss manifest issue, r=bsmedberg 2006-02-06 22:48:49 +00:00
mark%moxienet.com 1e12ed63f8 325410 Mac builds not packaging .chk files. Fix paths to shlibsign for Mac builds. r=bsmedberg 2006-02-03 03:26:44 +00:00
wtchang%redhat.com 7cb9201cf8 Bugzilla Bug 317620: landed NSS 3.11 on the Mozilla trunk. The patch is
contributed by Kai Engert <kengert@redhat.com>. r=wtc,bsmedberg.
Bugzilla Bug 288647: (security/manager/Makefile.in only) enable building
NSS with system NSPR.  The patch is contributed by Chris Seawood
<cls@seawood.org>.  r=wtc,kengert.
Modified Files:
	Makefile.in browser/installer/unix/config.it
	browser/installer/unix/packages-static
	browser/installer/windows/config.it
	browser/installer/windows/packages-static
	calendar/installer/windows/config.it
	calendar/installer/windows/packages-static
	camino/Camino.xcode/project.pbxproj
	embedding/config/basebrowser-installer-win.pkg
	embedding/config/basebrowser-mac-macho
	embedding/config/basebrowser-qnx
	embedding/config/basebrowser-unix
	embedding/config/basebrowser-win embedding/config/minimo-qnx
	embedding/config/minimo-unix mail/config/basemail-os2
	mail/config/basemail-unix mail/installer/windows/config.it
	mail/installer/windows/packages-static
	minimo/config/linux_package.sh security/manager/Makefile.in
	security/manager/psm.pkg toolkit/mozapps/installer/packager.mk
	xpinstall/packager/packages-os2
	xpinstall/packager/packages-static-unix
	xpinstall/packager/packages-static-win
	xpinstall/packager/packages-unix
	xpinstall/packager/unix/deliver.pl
	xpinstall/packager/win_mfcembed/config.it
	xpinstall/packager/windows/browser.jst
	xpinstall/packager/windows/config.it
	xulrunner/installer/mac/Makefile.in
2006-01-13 18:09:32 +00:00
mkaply%us.ibm.com 8ea350c0e4 OS/2 packaging bustage - os2Embed.exe shouldn't be packaged 2005-10-05 21:26:34 +00:00
mkaply%us.ibm.com 206838e42b #282335
r=chase
OS/2 only - get OS/2 installer working again
2005-10-03 15:24:14 +00:00
mkaply%us.ibm.com 7ceb46449a #310096
r=bsmedberg
OS/2 bustage - just remove $os from xptlink.pl - it's not used anymore
2005-09-26 20:00:32 +00:00
mark%moxienet.com a8a03036c3 Bug 308864, packager.mk fails when MOZ_PKG_REMOVALS is unset after bug 300136, breaking !firefox packaging. Fix MOZ_PKG_REMOVALS. r=darin 2005-09-17 02:21:17 +00:00
bsmedberg%covad.net c798a330a8 Bug 300136 - Full update archives should contain removal instructions, part 1 - automatically create a list of files/directories to remove (and synchronize that list with the install.js list of files to remove) r=darin 2005-09-15 18:09:56 +00:00
kairo%kairo.at 7da4f84987 bug 297914 - Use BZ2 packaging for gtk2 builds as default, r=bsmedberg,chase 2005-09-14 12:35:23 +00:00