Faqs of i11424

remove the need for pre-compiled Mozilla tarballs from OOo build environment”


1.What is what?

2.What the requirement is?

3.What I should do then?

4.How can I test my work?


1.What is what?

The Address Book integration of OpenOffice.org is implemented using Mozilla

components. For this to achieve, pre-compiled Mozilla components are checked

into the CVS repository

(http://external.openoffice.org/source/browse/external/moz), from where they're

used during build time (this includes the complete include tree of Mozilla, as

well as libraries needed at build or only runtime).


This approach has several disadvantages:

* It unnecessarily increases the size of the source tree

* It is heavily platform/compiler dependent: Potentially, there needs to be a

dedicated set of tarballs for every supported platform/compiler combination.

This will become a nightmare the more platforms OOo will support.

* It is very unflexible: Every small fix requires a complete rebuild and

re-checkin of all tarballs.


We changed this so that


2.What the requirement is?

To build the mozilla tarballs from mozilla source code during a regular OpenOffice.org build , all you must to make sure is that you can build mozilla 1.0 in your system. To build mozilla I installed following into my pc(OS = suse7.1):

1.GNU fileutils

	2.GNU patch
	3.pkg-config-0.12.0
	4.glib-1.2.10
	5.gtk+-1.2.10
	(needed by gtk-1.2.10
		6.atk-1.0.0
		7.pango-1.0.0 
		8.tiff v3.5.7
		9.jpeg-6b
	)
	10.libpng 1.2.5
	11.libIDL 0.6.8

Build mozilla 1.0 need glib > 1.2 and gtk+>1.2,but you can't use
glib-2.0 and gtk+-2.0.Because they remove glib-config and gtk-config
scripts which are needed by mozilla 1.0 configure script.
	To build mozilla under windows, you need cygwin from redhat and buildtools from netscape.
You can goto http://www.mozilla.org/build/ to get more info about mozilla build environment.

3.What I should do then?



4.How can I test my work?

Open a text document ,using File->AutoPilot->Address Data Source to create address data source . You can choose mozilla/ldap and so on. Press F4 to open data sources components. You can access your address books as database there.