|
Hi,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
With build SRC680_m83, the two years old issue #i11424# finally got fixed. And the corresponding CWS mozooo got integrated. As you may know, the Address Book integration of OOo and the xml digital signatures are implemented using patched Mozilla components. For these 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. Within CWS mozooo we had changed this so that: * The patches to Mozilla relative to different milestones of Mozilla are checked into the CVS repository * The Mozilla components can be built during a regular OOo build or got from the old style tarballs * The Mozilla tarballs can be built for further use within OOo build envirinment For these to achieve we add three options to config_office/configure: 1. --enable-build-mozilla: Disabled by default. �0�2Use this option if you want to build the Mozilla components from the mozilla source code. The default value for this option is disable. So that the default behave of modules moz is still using old style tarballs. If you want to build Mozilla componenets from Mozilla source please config OOo with this option. Please do not use this with --disable-mozilla which is used to disable all the features implemented by Mozilla componenets. 2. --with-mozilla-version: Default value is 1.7.5 �0�2We have port our patch to Mozilla 1.7b and Mozilla 1.7.5. So you can choose this value between 1.7b and 1.7.5. And be sure to download the right tar.gz format Mozilla source tarball from http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/ and put it to moz/download. For windows users please also download the pre-built libraries and tools which are needed to build Mozilla. They are http://ftp.mozilla.org/pub/mozilla.org/mozilla/source/wintools.zip, ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/vc71-glib-1.2.10-bin.zip and ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/vc71-libIDL-0.6.8-bin.zip.�0�2 Please put them to moz/download too. 3. --with-mozilla-toolkit: Default setted to gtk2 �0�2There are some devel libs needed by Mozilla build process in *nix operating system. This includes glib, gtk and libIDL. Especially the libIDL is not installed by most modern times computers. And Mozilla can work with libIDL(libIDL 0.6x, 0.68 is suggested) or libIDL2(libIDL 0.8x). The value pass to this option is derectly pass to Mozilla configure --enable-default-toolkit. It can affect which libs to use. If you set this value to xlib then glib 1.2 and libIDL v0.6x are needed, if set this value to gtk2 then glib 2.x, gtk2 and libIDL v0.8x are needed. And since OOo does not use any UI related components from Mozilla so this is only a build time problem. You can also choose other values support by Mozilla --enable-default-toolkit option. Currently it support --enable-default-toolkit=gtk2|gtk|xlib|qt|cairo-gtk2|cairo-xlib|windows|mac|cocoa|os2|beos|photon. You can get additional information from http://www.mozilla.org/build/configure-build.html. Porting guide: �0�21. The Mozilla source is built at module moz. �0�22. MOZILLA_CONFIGURE_FLAGS in moz/makefile.mk is the flags pass to Mozilla configure script. �0�23. moz/extractfiles.mk is the right makefile which copy files from Mozilla build tree to $(OUT). �0�24. Please use "dmake patch" and "dmake create_patch" when creating/changing patches. If you want to have unidiff patches you have to change 'diff -rc ..' to 'diff -ru ..' in tg_ext.mk. �0�25. Please use dmake zip to create old style Mozilla tarballs. You can find them at $(OUT)/zippped. Thanks goes to vq,fs,pjanik,maho,Marc and all who help to fix this bug and get CWS mozooo integrated. --�0�2
Best Regards ______ /_____/\ Wind Li /____ \\ \ Sun Microsystems /_____\ \\ / Email: [EMAIL PROTECTED] /_____/ \/ / / Tel: (8610)82618200 ext.82962 /_____/ / \//\ Fax: (8610)62780969 \_____\//\ / / Cel: 13691555880 \_____/ / /\ / \_____/ \\ \ China Engineering & Research Institute \_____\ \\ 10/F, B ChuangXin Plaza \_____\/ Beijing 100084, P.R.China |
