==============================================================================
 README:	Contributed Mozilla Build
==============================================================================

 [versions]

 moz-app	Mozilla SeaMonkey 2.0a1pre  (2008042600)
 gecko		1.9pre
 branch		HEAD
 checkout	2008-04-26 00:00 UTC

 platform	FreeBSD 6.3-STABLE i386
 compiler	gcc (GCC) 3.4.6 [FreeBSD] 20060305
 linker		GNU ld version 2.15 [FreeBSD] 2004-05-23

------------------------------------------------------------------------------

 [mozconfig]

 JAVA_HOME=/usr/local/java
 mk_add_options MOZ_CO_PROJECT=all
 mk_add_options MOZ_CO_DATE="2008-04-26 00:00 UTC"
 mk_add_options MOZ_BUILD_PROJECTS="xulrunner suite browser mail calendar"
 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../build
 mk_add_options MOZ_UNIFY_BDATE=1 
 ac_add_app_options ${MOZ_BUILD_APP}   --enable-application=${MOZ_BUILD_APP}
 ac_add_options --enable-optimize=-Os
 ac_add_options --disable-tests
 ac_add_app_options mail     --enable-static
 ac_add_app_options calendar --enable-static

------------------------------------------------------------------------------

 [dependencies]

 /lib/libc.so.6
 /lib/libm.so.4
 /lib/libz.so.3
 /usr/X11R6/lib/libdbus-1.so.3
 /usr/X11R6/lib/libdbus-glib-1.so.2
 /usr/X11R6/lib/libglib-2.0.so.0
 /usr/X11R6/lib/libgobject-2.0.so.0
 /usr/X11R6/lib/libiconv.so.3
 /usr/lib/libpthread.so
 /usr/lib/librpcsvc.so.3
 /usr/lib/libstdc++.so.5
 /usr/local/lib/libICE.so.6
 /usr/local/lib/libSM.so.6
 /usr/local/lib/libX11.so.6
 /usr/local/lib/libXau.so.6
 /usr/local/lib/libXcomposite.so.1
 /usr/local/lib/libXcursor.so.1
 /usr/local/lib/libXdamage.so.1
 /usr/local/lib/libXdmcp.so.6
 /usr/local/lib/libXext.so.6
 /usr/local/lib/libXfixes.so.3
 /usr/local/lib/libXi.so.6
 /usr/local/lib/libXinerama.so.1
 /usr/local/lib/libXrandr.so.2
 /usr/local/lib/libXrender.so.1
 /usr/local/lib/libXt.so.6
 /usr/local/lib/libatk-1.0.so.0
 /usr/local/lib/libcairo.so.2
 /usr/local/lib/libexpat.so.6
 /usr/local/lib/libfontconfig.so.1
 /usr/local/lib/libfreetype.so.9
 /usr/local/lib/libgdk-x11-2.0.so.0
 /usr/local/lib/libgdk_pixbuf-2.0.so.0
 /usr/local/lib/libglib-2.0.so.0
 /usr/local/lib/libglitz.so.1
 /usr/local/lib/libgmodule-2.0.so.0
 /usr/local/lib/libgobject-2.0.so.0
 /usr/local/lib/libgtk-x11-2.0.so.0
 /usr/local/lib/libiconv.so.3
 /usr/local/lib/libintl.so.8
 /usr/local/lib/libpango-1.0.so.0
 /usr/local/lib/libpangocairo-1.0.so.0
 /usr/local/lib/libpangoft2-1.0.so.0
 /usr/local/lib/libpcre.so.0
 /usr/local/lib/libpng.so.5

------------------------------------------------------------------------------

 [patches]

 Index: config/rules.mk
 ===================================================================
 RCS file: /cvsroot/mozilla/config/rules.mk,v
 retrieving revision 3.580
 diff -u -4 -r3.580 rules.mk
 --- config/rules.mk	12 Dec 2007 13:26:19 -0000	3.580
 +++ config/rules.mk	22 Dec 2007 18:02:38 -0000
 @@ -466,8 +466,10 @@
  ifeq ($(OS_ARCH),FreeBSD)
  ifdef IS_COMPONENT
  EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
  endif
 +EXTRA_LIBS       += -L/usr/local/lib
 +EXTRA_DSO_LDOPTS += -lc
  endif
  
  ifeq ($(OS_ARCH),NetBSD)
  ifneq (,$(filter arc cobalt hpcmips mipsco newsmips pmax sgimips,$(OS_TEST)))
 Index: directory/c-sdk/ldap/libraries/libldap/Makefile.in
 ===================================================================
 RCS file: /cvsroot/mozilla/directory/c-sdk/ldap/libraries/libldap/Makefile.in,v
 retrieving revision 5.22.2.2
 diff -u -4 -r5.22.2.2 Makefile.in
 --- directory/c-sdk/ldap/libraries/libldap/Makefile.in	8 Jul 2007 17:58:31 -0000	5.22.2.2
 +++ directory/c-sdk/ldap/libraries/libldap/Makefile.in	22 Dec 2007 18:02:38 -0000
 @@ -258,8 +258,12 @@
  ifeq ($(OS_ARCH), BeOS)
  EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lbe
  endif
  
 +ifeq ($(OS_ARCH), FreeBSD)
 +EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lcompat
 +endif
 +
  ifeq ($(OS_ARCH), NetBSD)
  EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME)
  endif
  
 @@ -323,9 +327,9 @@
  	@echo ======= making $(LIBLDAP)
  ifdef SO_FILES_TO_REMOVE
  	-$(RM) $(SO_FILES_TO_REMOVE)
  endif
 -ifneq (,$(filter AIX Linux HP-UX Darwin BeOS QNX NetBSD OSF1 OpenBSD, $(OS_ARCH)))
 +ifneq (,$(filter AIX Linux HP-UX Darwin BeOS QNX FreeBSD NetBSD OSF1 OpenBSD, $(OS_ARCH)))
  	$(LINK_LIB)
  else
  ifeq ($(OS_ARCH),OS2)
  # create import library for OS/2
 Index: mail/app/application.ini
 ===================================================================
 RCS file: /cvsroot/mozilla/mail/app/application.ini,v
 retrieving revision 1.6
 diff -u -4 -r1.6 application.ini
 --- mail/app/application.ini	11 Jul 2007 21:40:42 -0000	1.6
 +++ mail/app/application.ini	22 Dec 2007 18:02:38 -0000
 @@ -36,8 +36,9 @@
  ; ***** END LICENSE BLOCK *****
  
  #filter substitution
  [App]
 +Vendor=Mozilla
  Name=Thunderbird
  Version=@APP_VERSION@
  BuildID=@GRE_BUILDID@
  Copyright=Copyright (c) 1998-2007 mozilla.org
 Index: xulrunner/app/mozilla.in
 ===================================================================
 RCS file: /cvsroot/mozilla/xulrunner/app/mozilla.in,v
 retrieving revision 1.3
 diff -u -4 -r1.3 mozilla.in
 --- xulrunner/app/mozilla.in	20 Sep 2005 21:11:37 -0000	1.3
 +++ xulrunner/app/mozilla.in	22 Dec 2007 18:02:39 -0000
 @@ -192,14 +192,14 @@
  	_optOthers="${_optOthers} ${i}"
  done #others arg
  
  #???: needs check if othersopt begin with -* ?
 -if [ `expr "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then
 +if [ `expr \( "${_optLast}" : '.*:/.*' \)` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then
  	# Last argument seems to be a local file/directory
  	# Check, if it is absolutely specified (ie. /home/foo/file vs. ./file)
  	# If it is just "relatively" (./file) specified, make it absolutely
 -	[ `expr "${_optLast}" : '/.*'` -eq 0 ] && _optLast="file://`pwd`/${_optLast}"
 -elif [ `expr "${_optLast}" : '.*:/.*'` -gt 0 -o -n "${_optOthers}" ]; then #???? like before...
 +	[ `expr \( "${_optLast}" : '/.*' \)` -eq 0 ] && _optLast="file://`pwd`/${_optLast}"
 +elif [ `expr \( "${_optLast}" : '.*:/.*' \)` -gt 0 -o -n "${_optOthers}" ]; then #???? like before...
  	_NEW_WINDOW=1
  fi
  
  # check for -P argument used to select a user profile
 Index: calendar/sunbird/app/mozilla.in
 ===================================================================
 RCS file: /cvsroot/mozilla/calendar/sunbird/app/mozilla.in,v
 retrieving revision 1.10
 diff -u -4 -r1.10 mozilla.in
 --- calendar/sunbird/app/mozilla.in	23 Jun 2007 05:30:30 -0000	1.10
 +++ calendar/sunbird/app/mozilla.in	22 Dec 2007 18:02:39 -0000
 @@ -144,14 +144,14 @@
  	_optOthers="${_optOthers} ${i}"
  done #others arg
  
  #???: needs check if othersopt begin with -* ?
 -if [ `expr "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then
 +if [ `expr \( "${_optLast}" : '.*:/.*' \)` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then
  	# Last argument seems to be a local file/directory
  	# Check, if it is absolutely specified (ie. /home/foo/file vs. ./file)
  	# If it is just "relatively" (./file) specified, make it absolutely
 -	[ `expr "${_optLast}" : '/.*'` -eq 0 ] && _optLast="file://`pwd`/${_optLast}"
 -elif [ `expr "${_optLast}" : '.*:/.*'` -gt 0 -o -n "${_optOthers}" ]; then #???? like before...
 +	[ `expr \( "${_optLast}" : '/.*' \)` -eq 0 ] && _optLast="file://`pwd`/${_optLast}"
 +elif [ `expr \( "${_optLast}" : '.*:/.*' \)` -gt 0 -o -n "${_optOthers}" ]; then #???? like before...
  	_NEW_WINDOW=1
  fi
  ################################################################ Parse Arguments
  

------------------------------------------------------------------------------

 [contact]

 name		Marco Perez Kistler
 e-mail		bugmail@millibyte.net
 irc		another_loco (irc.mozilla.org)

==============================================================================
 2008-04-26	Berne, Switzerland
==============================================================================
