<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mano622</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mano622"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/Mano622"/>
	<updated>2026-11-24T22:27:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=122136</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=122136"/>
		<updated>2009-05-01T22:30:23Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* Build of moz2seamonkey01 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi! My name is Pierre Pasteau, pierrep on irc. I&amp;#039;m a french student from [http://www.epitech.eu/ Epitech].&lt;br /&gt;
&lt;br /&gt;
From [http://eric.bachard.free.fr/wikibe/index.php?title=EducOOo Educooo], I&amp;#039;m glad to help the project.&lt;br /&gt;
&lt;br /&gt;
I use to work with the Open-Source laboratory of my School [http://www.labfree.org/doku.php Labfree]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I contribute to the migration from Mozilla 1.7.5 to SeaMonkey 1.1.14 (CWS :moz2seamoneky01).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#labfree,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux x86, with 2.6.27-gentoo-r8 and later&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some information about the migration:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction in OpenOffice.org =&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
Get the latest source of project with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
&lt;br /&gt;
Now the project using subversion, tutorial link:&lt;br /&gt;
 http://wiki.services.openoffice.org/wiki/OOo_and_Subversion&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== moz subdir ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change, after many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== Build end ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
= SeaMonkey migration =&lt;br /&gt;
== SeaMonkey Source ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is need&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since configure.in has been modified, autoconf is mandatory.&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration doesn&amp;#039;t have option that disable the build of SeaMonkey (default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Breakage&amp;#039;&amp;#039;&amp;#039; on Mac and Linux with corrupted arguments to sign.sh (cause by the macro core_abspath). &lt;br /&gt;
&lt;br /&gt;
We patch &amp;quot;moz/unxlngx6.pro/misc/build/mozilla/security/nss/cmd/shlibsign/Makefile&amp;quot;:&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
       SRCDIR = .&lt;br /&gt;
 endif&lt;br /&gt;
&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
 cd $(SRCDIR) ; sh ./sign.sh $(DIST) \&lt;br /&gt;
 +   $(OBJDIR) $(OS_TARGET) \&lt;br /&gt;
 $(NSPR_LIB_DIR) $&amp;lt;&lt;br /&gt;
 else&lt;br /&gt;
&lt;br /&gt;
 // the same changes solved the problem on Linux too&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Information from Frank on Windows build [http://wiki.services.openoffice.org/wiki/Mozilla2Seamonkey/Problem_Log/Windows here]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
After some time, we migrate to Seamonkey 1.1.13 and 1.1.14 (several problems appears on it, Frank Schonheit solved them),&lt;br /&gt;
&lt;br /&gt;
But the CWS go finaly go in QA.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=122135</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=122135"/>
		<updated>2009-05-01T22:29:31Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* Build of moz2seamonkey01 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi! My name is Pierre Pasteau, pierrep on irc. I&amp;#039;m a french student from [http://www.epitech.eu/ Epitech].&lt;br /&gt;
&lt;br /&gt;
From [http://eric.bachard.free.fr/wikibe/index.php?title=EducOOo Educooo], I&amp;#039;m glad to help the project.&lt;br /&gt;
&lt;br /&gt;
I use to work with the Open-Source laboratory of my School [http://www.labfree.org/doku.php Labfree]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I contribute to the migration from Mozilla 1.7.5 to SeaMonkey 1.1.14 (CWS :moz2seamoneky01).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#labfree,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux x86, with 2.6.27-gentoo-r8 and later&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some information about the migration:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction in OpenOffice.org =&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
Get the latest source of project with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
&lt;br /&gt;
Now the project using subversion, tutorial link:&lt;br /&gt;
 http://wiki.services.openoffice.org/wiki/OOo_and_Subversion&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== moz subdir ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change, after many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== Build end ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
= SeaMonkey migration =&lt;br /&gt;
== SeaMonkey Source ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is need&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since configure.in has been modified, autoconf is mandatory.&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration doesn&amp;#039;t have option that disable the build of SeaMonkey (default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Breakage&amp;#039;&amp;#039;&amp;#039; on Mac and Linux with corrupted arguments to sign.sh (cause by the macro core_abspath). &lt;br /&gt;
&lt;br /&gt;
We patch &amp;quot;moz/unxlngx6.pro/misc/build/mozilla/security/nss/cmd/shlibsign/Makefile&amp;quot;:&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
       SRCDIR = .&lt;br /&gt;
 endif&lt;br /&gt;
&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
 cd $(SRCDIR) ; sh ./sign.sh $(DIST) \&lt;br /&gt;
 +   $(OBJDIR) $(OS_TARGET) \&lt;br /&gt;
 $(NSPR_LIB_DIR) $&amp;lt;&lt;br /&gt;
 else&lt;br /&gt;
&lt;br /&gt;
 // the same changes solved the problem on Linux too&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Information from Frank on Windows build [http://wiki.services.openoffice.org/wiki/Mozilla2Seamonkey/Problem_Log/Windows here]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
After some time, we migrate to Seamonkey 1.1.13 and 1.1.14 (several problems appears on it, Frank Schonheit solved them), the CWS go finaly go in QA.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=122133</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=122133"/>
		<updated>2009-05-01T21:50:55Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi! My name is Pierre Pasteau, pierrep on irc. I&amp;#039;m a french student from [http://www.epitech.eu/ Epitech].&lt;br /&gt;
&lt;br /&gt;
From [http://eric.bachard.free.fr/wikibe/index.php?title=EducOOo Educooo], I&amp;#039;m glad to help the project.&lt;br /&gt;
&lt;br /&gt;
I use to work with the Open-Source laboratory of my School [http://www.labfree.org/doku.php Labfree]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I contribute to the migration from Mozilla 1.7.5 to SeaMonkey 1.1.14 (CWS :moz2seamoneky01).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#labfree,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux x86, with 2.6.27-gentoo-r8 and later&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some information about the migration:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction in OpenOffice.org =&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
Get the latest source of project with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
&lt;br /&gt;
Now the project using subversion, tutorial link:&lt;br /&gt;
 http://wiki.services.openoffice.org/wiki/OOo_and_Subversion&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== moz subdir ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change, after many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== Build end ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
= SeaMonkey migration =&lt;br /&gt;
== SeaMonkey Source ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is need&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since configure.in has been modified, autoconf is mandatory.&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration doesn&amp;#039;t have option that disable the build of SeaMonkey (default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Breakage&amp;#039;&amp;#039;&amp;#039; on Mac and Linux with corrupted arguments to sign.sh (cause by the macro core_abspath). &lt;br /&gt;
&lt;br /&gt;
We patch &amp;quot;moz/unxlngx6.pro/misc/build/mozilla/security/nss/cmd/shlibsign/Makefile&amp;quot;:&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
       SRCDIR = .&lt;br /&gt;
 endif&lt;br /&gt;
&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
 cd $(SRCDIR) ; sh ./sign.sh $(DIST) \&lt;br /&gt;
 +   $(OBJDIR) $(OS_TARGET) \&lt;br /&gt;
 $(NSPR_LIB_DIR) $&amp;lt;&lt;br /&gt;
 else&lt;br /&gt;
&lt;br /&gt;
 // the same changes solved the problem on Linux too&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Information from Frank on Windows build [http://wiki.services.openoffice.org/wiki/Mozilla2Seamonkey/Problem_Log/Windows here]&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Effort/Replace_Mozilla175&amp;diff=98621</id>
		<title>Education Project/Effort/Replace Mozilla175</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Effort/Replace_Mozilla175&amp;diff=98621"/>
		<updated>2008-11-13T13:48:20Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This task is the first one of the application. ETA ~end august/early september&lt;br /&gt;
&lt;br /&gt;
=== Project review log ===&lt;br /&gt;
&lt;br /&gt;
[[Education_Project/Effort/Replace_Mozilla175/ProjectReview_25th_august | Log of 25th August Project Review]]&lt;br /&gt;
&lt;br /&gt;
[[Education_Project/Effort/Replace_Mozilla175/Log_13rd_November | Log IRC point (13rd November)]]&lt;br /&gt;
&lt;br /&gt;
===Planning ===&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:left; background:ivory&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ &amp;#039;&amp;#039;&amp;#039; Mozilla 1.7.5 -&amp;gt; Seamonkey migration &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- style=&amp;quot;background:royalblue; color:white&amp;quot;&lt;br /&gt;
!  width=&amp;quot;150&amp;quot;|Task     !! week 1 &amp;lt;br&amp;gt;11th november&amp;lt;br&amp;gt;16th november !! week 2&amp;lt;br&amp;gt;17st november &amp;lt;br&amp;gt;23th november !! week 3 &amp;lt;br&amp;gt;24th november &amp;lt;br&amp;gt;30th november !! week 4 &amp;lt;br&amp;gt;1 december &amp;lt;br&amp;gt;7th december !! Status !! Comments&lt;br /&gt;
|-|&lt;br /&gt;
| Verify it works on Mac Linux Windows Solaris || bgcolor=&amp;quot;#0c4676&amp;quot; | ||  bgcolor=&amp;quot;#0c4676&amp;quot;| ||   || || OK || done&lt;br /&gt;
|-|&lt;br /&gt;
| Verify the crashes are fixed (see relevant issues) || bgcolor=&amp;quot;#135892&amp;quot;| || bgcolor=&amp;quot;#135892&amp;quot;| || bgcolor=&amp;quot;#135892&amp;quot;| || bgcolor=&amp;quot;#135892&amp;quot;| || || working on it&lt;br /&gt;
|-|&lt;br /&gt;
| Write report for task 1|| bgcolor=&amp;quot;#135892&amp;quot; | ||bgcolor=&amp;quot;#135892&amp;quot; |   || bgcolor=&amp;quot;#135892&amp;quot; | ||bgcolor=&amp;quot;#135892&amp;quot; |  || || began&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:left; background:ivory&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ &amp;#039;&amp;#039;&amp;#039; Mozilla 1.7.5 -&amp;gt; Seamonkey migration &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- style=&amp;quot;background:royalblue; color:white&amp;quot;&lt;br /&gt;
!  width=&amp;quot;150&amp;quot;|Task     !! week 1 &amp;lt;br&amp;gt;14th july&amp;lt;br&amp;gt;19th july !! week 2&amp;lt;br&amp;gt;21st july &amp;lt;br&amp;gt;26th july !! week 3 &amp;lt;br&amp;gt;28thjuly &amp;lt;br&amp;gt;2nd august!! week 4 &amp;lt;br&amp;gt;4th august &amp;lt;br&amp;gt;9th august !! week 5 &amp;lt;br&amp;gt;11th august &amp;lt;br&amp;gt;16th august !! week 6 &amp;lt;br&amp;gt;18th august &amp;lt;br&amp;gt;23th august !! week 7 &amp;lt;br&amp;gt; 25th august &amp;lt;br&amp;gt;30th august !! Status !! Comments&lt;br /&gt;
|- |&lt;br /&gt;
| Check the sources (one milestone) ||bgcolor=&amp;quot;#2a8ad8&amp;quot;|  &amp;#039;&amp;#039;&amp;#039;ok&amp;#039;&amp;#039;&amp;#039;||  ||  ||  ||  ||  ||  ||  ||&lt;br /&gt;
|- |&lt;br /&gt;
| Understand how cvs manages the sources ( CVS dirs)|| bgcolor=&amp;quot;#287cc1&amp;quot;|  &amp;#039;&amp;#039;&amp;#039;ok&amp;#039;&amp;#039;&amp;#039; ||  ||  | ||  ||  ||  ||  ||  ||&lt;br /&gt;
|- |&lt;br /&gt;
| Configure step : find information, be able to modify configure.in || bgcolor=&amp;quot;#2370b0&amp;quot;|  &amp;#039;&amp;#039;&amp;#039;ok&amp;#039;&amp;#039;&amp;#039; ||  ||   ||  ||  ||  ||  ||  ||&lt;br /&gt;
|- |&lt;br /&gt;
| Understand the bootstrap ||bgcolor=&amp;quot;#2370b0&amp;quot;|   &amp;#039;&amp;#039;&amp;#039;ok&amp;#039;&amp;#039;&amp;#039;  || || ||  ||  ||  ||  ||  ||&lt;br /&gt;
|- |&lt;br /&gt;
| Build mozilla archive separately||bgcolor=&amp;quot;#2370b0&amp;quot;|  &amp;#039;&amp;#039;&amp;#039;ok&amp;#039;&amp;#039;&amp;#039;   || || || ||  ||  ||  ||  ||&lt;br /&gt;
|- |&lt;br /&gt;
| Fix a build issue (bad compiler option maybe) || bgcolor=&amp;quot;#2370b0&amp;quot;| &amp;#039;&amp;#039;&amp;#039;ok&amp;#039;&amp;#039;&amp;#039;  || || || ||  ||  ||  ||  ||&lt;br /&gt;
|- |&lt;br /&gt;
| Understand how patches are used at buildtime || bgcolor=&amp;quot;#2370b0&amp;quot;| &amp;#039;&amp;#039;&amp;#039;ok&amp;#039;&amp;#039;&amp;#039; ||bgcolor=&amp;quot;#2370b0&amp;quot;| &amp;#039;&amp;#039;&amp;#039;done&amp;#039;&amp;#039;&amp;#039;  || || ||  ||  ||  ||  ||&lt;br /&gt;
|- |&lt;br /&gt;
| Modify the makefile, and start building seamonkey ( basic patch provided ) ||  ||bgcolor=&amp;quot;#2370b0&amp;quot;|  ||bgcolor=&amp;quot;#2370b0&amp;quot;|&amp;#039;&amp;#039;&amp;#039;done&amp;#039;&amp;#039;&amp;#039;   || ||  ||  ||  ||  ||&lt;br /&gt;
|- |&lt;br /&gt;
| Define a strategy for the migration ||  ||bgcolor=&amp;quot;#2370b0&amp;quot;| ||bgcolor=&amp;quot;#2370b0&amp;quot;| &amp;#039;&amp;#039;&amp;#039;done (cleanup in progress)&amp;#039;&amp;#039;&amp;#039; || ||  ||  ||  ||  ||&lt;br /&gt;
|-|&lt;br /&gt;
| Modify configure (replace mozilla checking with seamonkey checking) ||  ||  ||bgcolor=&amp;quot;#135892&amp;quot;| &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;  ||bgcolor=&amp;quot;#a6ffa4&amp;quot; |  &amp;#039;&amp;#039;&amp;#039;holidays&amp;#039;&amp;#039;&amp;#039; ||  ||  ||  ||  ||&lt;br /&gt;
|-|&lt;br /&gt;
| Apply the changes progressively ( and propose tests for the QA) ||  || ||bgcolor=&amp;quot;#135892&amp;quot;| &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;   ||bgcolor=&amp;quot;#a6ffa4&amp;quot; | &amp;#039;&amp;#039;&amp;#039;holidays&amp;#039;&amp;#039;&amp;#039;  || bgcolor=&amp;quot;#135892&amp;quot;| &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;  || ||  ||  ||&lt;br /&gt;
|-|&lt;br /&gt;
| Project Reviews ||  ||  ||  ||  || || bgcolor=&amp;quot;#faff35&amp;quot;| First &amp;lt;br&amp;gt;project review &amp;#039;&amp;#039;&amp;#039;Done&amp;#039;&amp;#039;&amp;#039;||  ||  ||&lt;br /&gt;
|-|&lt;br /&gt;
| Propose patches to commit the changes in a cws  ||  ||  || ||bgcolor=&amp;quot;#a6ffa4&amp;quot; | &amp;#039;&amp;#039;&amp;#039;holidays&amp;#039;&amp;#039;&amp;#039;  ||bgcolor=&amp;quot;#135892&amp;quot;| done   || bgcolor=&amp;quot;#135892&amp;quot;|  ||  ||  ||&lt;br /&gt;
|-|&lt;br /&gt;
| Verify it works on other ports ( Mac OS X , windows ) ||  ||  ||   ||bgcolor=&amp;quot;#a6ffa4&amp;quot; | &amp;#039;&amp;#039;&amp;#039;holidays&amp;#039;&amp;#039;&amp;#039;   || bgcolor=&amp;quot;#135892&amp;quot;|work in progress   || bgcolor=&amp;quot;#135892&amp;quot;| ||  ||  ||&lt;br /&gt;
|-|&lt;br /&gt;
| Verify the crashes are fixed (see relevant issues) ||  || ||   ||  || bgcolor=&amp;quot;#0c4676&amp;quot;|  || bgcolor=&amp;quot;#0c4676&amp;quot;|  || bgcolor=&amp;quot;#0c4676&amp;quot;| || ||&lt;br /&gt;
|-|&lt;br /&gt;
| Write report for task 1|| bgcolor=&amp;quot;#a6ffa4&amp;quot; | ||bgcolor=&amp;quot;#a6ffa4&amp;quot; |   || bgcolor=&amp;quot;#a6ffa4&amp;quot; | ||bgcolor=&amp;quot;#a6ffa4&amp;quot; |  || bgcolor=&amp;quot;#a6ffa4&amp;quot; |  ||bgcolor=&amp;quot;#a6ffa4&amp;quot; |  ||bgcolor=&amp;quot;#a6ffa4&amp;quot; |  ||  ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Create a Gantt diagram / Planning&lt;br /&gt;
* ....&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97942</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97942"/>
		<updated>2008-11-06T10:38:55Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* Build of moz2seamonkey01 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi! My name is Pierre Pasteau, pierrep on irc. I&amp;#039;m a student from [http://www.epitech.eu/ Epitech].&lt;br /&gt;
&lt;br /&gt;
From [http://eric.bachard.free.fr/wikibe/index.php?title=EducOOo Educooo], new to OpenOffice, I&amp;#039;m glad to help the project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction in OpenOffice.org =&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
Get the latest source of project with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
&lt;br /&gt;
Now the project using subversion, tutorial link:&lt;br /&gt;
 http://wiki.services.openoffice.org/wiki/OOo_and_Subversion&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== moz subdir ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change, after many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== Build end ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
= SeaMonkey migration =&lt;br /&gt;
== SeaMonkey Source ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is need&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since configure.in has been modified, autoconf is mandatory.&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration doesn&amp;#039;t have option that disable the build of SeaMonkey (default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Breakage&amp;#039;&amp;#039;&amp;#039; on Mac and Linux with corrupted arguments to sign.sh (cause by the macro core_abspath). &lt;br /&gt;
&lt;br /&gt;
We patch &amp;quot;moz/unxlngx6.pro/misc/build/mozilla/security/nss/cmd/shlibsign/Makefile&amp;quot;:&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
       SRCDIR = .&lt;br /&gt;
 endif&lt;br /&gt;
&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
 cd $(SRCDIR) ; sh ./sign.sh $(DIST) \&lt;br /&gt;
 +   $(OBJDIR) $(OS_TARGET) \&lt;br /&gt;
 $(NSPR_LIB_DIR) $&amp;lt;&lt;br /&gt;
 else&lt;br /&gt;
&lt;br /&gt;
 // the same changes solved the problem on Linux too&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Information from Frank on Windows build [http://wiki.services.openoffice.org/wiki/Mozilla2Seamonkey/Problem_Log/Windows here]&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97610</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97610"/>
		<updated>2008-11-02T01:01:14Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi! My name is Pierre Pasteau, pierrep on irc. I&amp;#039;m a student from [http://www.epitech.eu/ Epitech].&lt;br /&gt;
&lt;br /&gt;
From [http://eric.bachard.free.fr/wikibe/index.php?title=EducOOo Educooo], new to OpenOffice, I&amp;#039;m glad to help the project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction in OpenOffice.org =&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
Get the latest source of project with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
&lt;br /&gt;
Now the project using subversion, tutorial link:&lt;br /&gt;
 http://wiki.services.openoffice.org/wiki/OOo_and_Subversion&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== moz subdir ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change, after many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== Build end ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
= SeaMonkey migration =&lt;br /&gt;
== SeaMonkey Source ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is need&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since configure.in has been modified, autoconf is mandatory.&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration doesn&amp;#039;t have option that disable the build of SeaMonkey (default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Breakage&amp;#039;&amp;#039;&amp;#039; on Mac and Linux with corrupted arguments to sign.sh (cause by the macro core_abspath). &lt;br /&gt;
&lt;br /&gt;
We patch &amp;quot;moz/unxlngx6.pro/misc/build/mozilla/security/nss/cmd/shlibsign/Makefile&amp;quot;:&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
       SRCDIR = .&lt;br /&gt;
 endif&lt;br /&gt;
&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
 cd $(SRCDIR) ; sh ./sign.sh $(DIST) \&lt;br /&gt;
 +   $(OBJDIR) $(OS_TARGET) \&lt;br /&gt;
 $(NSPR_LIB_DIR) $&amp;lt;&lt;br /&gt;
 else&lt;br /&gt;
&lt;br /&gt;
 // the same changes solved the problem on Linux too&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97609</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97609"/>
		<updated>2008-11-02T01:00:29Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi! My name is Pierre Pasteau, pierrep on irc. I&amp;#039;m an [http://www.epitech.eu/ Epitech] student.&lt;br /&gt;
&lt;br /&gt;
From [http://eric.bachard.free.fr/wikibe/index.php?title=EducOOo Educooo], new to OpenOffice, I&amp;#039;m glad to help the project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction in OpenOffice.org =&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
Get the latest source of project with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
&lt;br /&gt;
Now the project using subversion, tutorial link:&lt;br /&gt;
 http://wiki.services.openoffice.org/wiki/OOo_and_Subversion&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== moz subdir ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change, after many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== Build end ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
= SeaMonkey migration =&lt;br /&gt;
== SeaMonkey Source ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is need&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since configure.in has been modified, autoconf is mandatory.&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration doesn&amp;#039;t have option that disable the build of SeaMonkey (default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Breakage&amp;#039;&amp;#039;&amp;#039; on Mac and Linux with corrupted arguments to sign.sh (cause by the macro core_abspath). &lt;br /&gt;
&lt;br /&gt;
We patch &amp;quot;moz/unxlngx6.pro/misc/build/mozilla/security/nss/cmd/shlibsign/Makefile&amp;quot;:&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
       SRCDIR = .&lt;br /&gt;
 endif&lt;br /&gt;
&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
 cd $(SRCDIR) ; sh ./sign.sh $(DIST) \&lt;br /&gt;
 +   $(OBJDIR) $(OS_TARGET) \&lt;br /&gt;
 $(NSPR_LIB_DIR) $&amp;lt;&lt;br /&gt;
 else&lt;br /&gt;
&lt;br /&gt;
 // the same changes solved the problem on Linux too&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97608</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97608"/>
		<updated>2008-11-02T00:29:08Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
= Introduction in OpenOffice.org =&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
Get the latest source of project with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
&lt;br /&gt;
Now the project using subversion, tutorial link:&lt;br /&gt;
 http://wiki.services.openoffice.org/wiki/OOo_and_Subversion&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== moz subdir ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change, after many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== Build end ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
= SeaMonkey migration =&lt;br /&gt;
== SeaMonkey Source ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is need&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since configure.in has been modified, autoconf is mandatory.&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration doesn&amp;#039;t have option that disable the build of SeaMonkey (default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Breakage&amp;#039;&amp;#039;&amp;#039; on Mac and Linux with corrupted arguments to sign.sh (cause by the macro core_abspath). &lt;br /&gt;
&lt;br /&gt;
We patch &amp;quot;moz/unxlngx6.pro/misc/build/mozilla/security/nss/cmd/shlibsign/Makefile&amp;quot;:&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
       SRCDIR = .&lt;br /&gt;
 endif&lt;br /&gt;
&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
 cd $(SRCDIR) ; sh ./sign.sh $(DIST) \&lt;br /&gt;
 +   $(OBJDIR) $(OS_TARGET) \&lt;br /&gt;
 $(NSPR_LIB_DIR) $&amp;lt;&lt;br /&gt;
 else&lt;br /&gt;
&lt;br /&gt;
 // the same changes solved the problem on Linux too&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97607</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97607"/>
		<updated>2008-11-02T00:22:05Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
Get the latest source of project with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
&lt;br /&gt;
Now the project using subversion, tutorial link:&lt;br /&gt;
 http://wiki.services.openoffice.org/wiki/OOo_and_Subversion&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== moz subdir ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change, after many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== Build end ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== SeaMonkey Source ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is need&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since configure.in has been modified, autoconf is mandatory.&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration doesn&amp;#039;t have option that disable the build of SeaMonkey (default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Breakage&amp;#039;&amp;#039;&amp;#039; on Mac and Linux with corrupted arguments to sign.sh (cause by the macro core_abspath). &lt;br /&gt;
&lt;br /&gt;
We patch &amp;quot;moz/unxlngx6.pro/misc/build/mozilla/security/nss/cmd/shlibsign/Makefile&amp;quot;:&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
       SRCDIR = .&lt;br /&gt;
 endif&lt;br /&gt;
&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
 cd $(SRCDIR) ; sh ./sign.sh $(DIST) \&lt;br /&gt;
 +   $(OBJDIR) $(OS_TARGET) \&lt;br /&gt;
 $(NSPR_LIB_DIR) $&amp;lt;&lt;br /&gt;
 else&lt;br /&gt;
&lt;br /&gt;
 // the same changes solved the problem on Linux too&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97606</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97606"/>
		<updated>2008-11-02T00:07:47Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* 16/07/08: Download and get information about the project */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== Download the source and get information on it ==&lt;br /&gt;
&lt;br /&gt;
Get the latest source of project with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
&lt;br /&gt;
Now the project using subversion, tutorial link:&lt;br /&gt;
 http://wiki.services.openoffice.org/wiki/OOo_and_Subversion&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== 12/07/08 - 22/07/08 Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since configure.in has been modified, autoconf is mandatory.&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration doesn&amp;#039;t have option that disable the build of SeaMonkey (default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Breakage&amp;#039;&amp;#039;&amp;#039; on Mac and Linux with corrupted arguments to sign.sh (cause by the macro core_abspath). &lt;br /&gt;
&lt;br /&gt;
We patch &amp;quot;moz/unxlngx6.pro/misc/build/mozilla/security/nss/cmd/shlibsign/Makefile&amp;quot;:&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
       SRCDIR = .&lt;br /&gt;
 endif&lt;br /&gt;
&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
 cd $(SRCDIR) ; sh ./sign.sh $(DIST) \&lt;br /&gt;
 +   $(OBJDIR) $(OS_TARGET) \&lt;br /&gt;
 $(NSPR_LIB_DIR) $&amp;lt;&lt;br /&gt;
 else&lt;br /&gt;
&lt;br /&gt;
 // the same changes solved the problem on Linux too&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97605</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97605"/>
		<updated>2008-11-01T23:41:33Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* Build of moz2seamonkey01 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== 12/07/08 - 22/07/08 Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since configure.in has been modified, autoconf is mandatory.&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration doesn&amp;#039;t have option that disable the build of SeaMonkey (default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Breakage&amp;#039;&amp;#039;&amp;#039; on Mac and Linux with corrupted arguments to sign.sh (cause by the macro core_abspath). &lt;br /&gt;
&lt;br /&gt;
We patch &amp;quot;moz/unxlngx6.pro/misc/build/mozilla/security/nss/cmd/shlibsign/Makefile&amp;quot;:&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
       SRCDIR = .&lt;br /&gt;
 endif&lt;br /&gt;
&lt;br /&gt;
 ifeq ($(OS_TARGET), Darwin)&lt;br /&gt;
 cd $(SRCDIR) ; sh ./sign.sh $(DIST) \&lt;br /&gt;
 +   $(OBJDIR) $(OS_TARGET) \&lt;br /&gt;
 $(NSPR_LIB_DIR) $&amp;lt;&lt;br /&gt;
 else&lt;br /&gt;
&lt;br /&gt;
 // the same changes solved the problem on Linux too&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97603</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97603"/>
		<updated>2008-11-01T23:25:12Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* Build of moz2seamonkey01 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== 12/07/08 - 22/07/08 Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
Since configure.in has been modified, autoconf is mandatory.&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration don&amp;#039;t have option that disable the build of SeaMonkey (by default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
-----&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97602</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97602"/>
		<updated>2008-11-01T23:24:53Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* Build of moz2seamonkey01 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== 12/07/08 - 22/07/08 Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
Since configure.in has been modified, autoconf is mandatory.&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration don&amp;#039;t have option that disable the build of SeaMonkey (by default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
-----&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97594</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97594"/>
		<updated>2008-11-01T23:05:41Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* Build of moz2seamonkey01 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== 12/07/08 - 22/07/08 Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
&lt;br /&gt;
They can be find here:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
And must be place in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration don&amp;#039;t have option that disable the build of SeaMonkey (by default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
-----&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97593</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=97593"/>
		<updated>2008-11-01T23:01:25Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* Begin build on different OS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== 12/07/08 - 22/07/08 Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build of moz2seamonkey01 ==&lt;br /&gt;
&lt;br /&gt;
The latest source of SeaMonkey (1.1.12) don&amp;#039;t support VS2008 and need cairo higher than 0.3.0.&lt;br /&gt;
Here the link to get them:&lt;br /&gt;
 http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.12/&lt;br /&gt;
Put them in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Check that your configuration don&amp;#039;t have option that disable the build of SeaMonkey (by default) like:&lt;br /&gt;
 --disable-mozilla&lt;br /&gt;
 --disable-build-mozilla&lt;br /&gt;
 --with-system-mozilla&lt;br /&gt;
 --with-mozilla-version&lt;br /&gt;
&lt;br /&gt;
-----&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=92864</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=92864"/>
		<updated>2008-09-15T11:44:37Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== 12/07/08 - 22/07/08 Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Begin build on different OS ==&lt;br /&gt;
&lt;br /&gt;
Need to download the latest source of SeaMonkey which can be find here:&lt;br /&gt;
&lt;br /&gt;
http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.11/&lt;br /&gt;
&lt;br /&gt;
Need to place them in moz/download/&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
I use the next config line:&lt;br /&gt;
&lt;br /&gt;
./configure --with-lang=fr --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib --with-epm=internal --with-use-shell=bash&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=DomainDeveloper&amp;diff=92811</id>
		<title>DomainDeveloper</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=DomainDeveloper&amp;diff=92811"/>
		<updated>2008-09-14T08:16:50Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A mapping of names to OOo accounts.&lt;br /&gt;
&lt;br /&gt;
Abbrev.:&lt;br /&gt;
&lt;br /&gt;
* PL : Project Lead&lt;br /&gt;
* CL : Project Co-Lead&lt;br /&gt;
* CC : Community Council Member&lt;br /&gt;
* ESC : Engineering Steering Committee Member &lt;br /&gt;
* CVS : has write access to the OOo CVS repository&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Developers ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Name || CVS || @openoffice.org || [[IRC Communication]] || Notes || Affiliation&lt;br /&gt;
|-&lt;br /&gt;
| Volker Ahrendt|| X || va||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Kai Ahrens|| X || ka || Kai_Ahrens ||PL Graphic Applications||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Gene Anaya||   || ganaya||||||&lt;br /&gt;
|-&lt;br /&gt;
| Joost Andrae|| X || ja||ja||CL qa, release testing en-US builds and releasing builds||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Eric Bachard|| X || ericb||ericb2|| CL Education, Mac OSX/Linux PPC port ||Education project&lt;br /&gt;
|-&lt;br /&gt;
| Kai Backman||  || kaib ||KaiB||||&lt;br /&gt;
|-&lt;br /&gt;
| Sascha Ballach|| X || sab||||||&lt;br /&gt;
|-&lt;br /&gt;
| Jayant Balraj Madavi||   || jayant_madavi||aZEN_JM||Connectivity / Database||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Barfurth|| X || jb||JoergB||Configuration Util||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Omer Bar-or|| X || cremlae||cremlae||Mac porting||Google Summer of Code&lt;br /&gt;
|-&lt;br /&gt;
| Mathias Bauer|| X || mba||||PL Writer, CL Framework, XML||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Behrens|| X || thb||thorsten||vcl/impress/toolkit visionary||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Benisch|| X || tbe||||Scripting framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Bergmann|| X || sb||||CL UDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Bille|| X || abi||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Éric Bischoff|| X || ebischoff||ebischoff||KDE A/B driver||Bureau Cornavin&lt;br /&gt;
|-&lt;br /&gt;
| Nick Blievers|| X || nick||||IRIX||&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Boelzle|| X || dbo||||UNO core/bridges/packages||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Bolte|| X || obo||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Rafaella Braconi||   || coni||Rafaella ||PL l10n, Globalization Program Manager||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Brauer|| X || mib||||PL XML||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Braun|| X || obr||obr||System Integration/Accessibility Hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Bregas|| X || ab||||StarBasic||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Brunsmann||   || jbrunsmann||||UDK||&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Budischewski||   || jbu||PyUNO hacker||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Peter Burow|| X  || pb||plumbumm||UI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Aidan Butler||   || aidan||||XML filters||&lt;br /&gt;
|-&lt;br /&gt;
| Giuseppe Castagno || X || beppec56 || beppec56_  or beppe_c || PDF output&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ScottCarr|Scott Carr]] || X  || kcarr||kcarr||PL Documentation||Progbits&lt;br /&gt;
|-&lt;br /&gt;
| Colin Charles||   || drbyte||bytee||Malaysian native-lang project||bytebot.net&lt;br /&gt;
|-&lt;br /&gt;
| Jinhong Chen ||   || chainchen ||   || || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Xiuzhi Cheng|| X || xzcheng || xiuzhi|| ESC,Xml,ODF|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Behrend Cornelius|| X || bc||||Wizards||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Cziebalski||   || mci||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:pdefilippis|Pierre de Filippis]]|| X || pdefilippis||aliscafo||Mac OSX native porting||&lt;br /&gt;
|-&lt;br /&gt;
| Andrew Dent|| X ||ace_dent||ace_dent||ui/custom_images||&lt;br /&gt;
|-&lt;br /&gt;
| Naren Devaiah||   || ||ndev||Performance||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Quangang Dong||   || donqg || dongqg || Layout  || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Nitin Dongre||   || ||nitin_BITS||||Novell, Inc.(intern)&lt;br /&gt;
|-&lt;br /&gt;
| Radek Doulik||   || radekdoulik||rodo_||Canvas hacker||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Carsten Driesner|| X || cd|| cd_oo ||PL Framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Yunfen Du || X || duyunfen|| dyf|| Base ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Herbert Duerr|| X || hdu||hdu_hh||GSL||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Düsterhoff|| X || od||Writer||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bernd Eilers|| X || bei||rfc821||EIS||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| René Engelhard|| X || rene||_rene_||config_office, Debian packager||Debian&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Pereriksson|Per Eriksson]] || || pereriksson || || CL, MarCon Sweden ||&lt;br /&gt;
|-&lt;br /&gt;
| Yaqiong Fang || X  || fangyq || fangyq|| Graphics|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Hubert Figuière|| X || hub || hub || PPTX || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Andre Fischer|| X || af||||Impress||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Uwe Fischer || X || ufi || ufiooo || Application Help || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ken Foskey||   || waratah||waratah||config_office/dmake man||slug.org.au&lt;br /&gt;
|-&lt;br /&gt;
| Duncan Foster||   || dfoster||||||&lt;br /&gt;
|-&lt;br /&gt;
| David Fraser||   || davidfraser||davidfraser||South African translations, multilingual builds||translate.org.za&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Nf|Nils Fuhrmann]]||   || nf||SunNF||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Martin Gallwey|| X || mtg||marty_||XML/Writer/packaging||&lt;br /&gt;
|-&lt;br /&gt;
| Pierre-Andre Galmes || || pagalmes || pagalmes || Chart2 ||StarXpert&lt;br /&gt;
|-&lt;br /&gt;
| Tony Galmiche|| X || tonygalmiche||||CL FR native-lang project||&lt;br /&gt;
|-&lt;br /&gt;
| Sunil Gandhi||   || ||tyro||||NOSIP&lt;br /&gt;
|-&lt;br /&gt;
| Peng Gao ||  || Gao Peng|| Gao Peng || writer|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Zemin Gao ||  || gaozemin|| gaozm || Calc || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Sophie Gautier|| X || sgauti|| sophi || ||.&lt;br /&gt;
|-&lt;br /&gt;
| Vladimir Glazounov|| X || vg||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Laurent Godard || X || laurentgodard || lgodard || CC, PL Extensions, Fr Native-lang Project || inDesko/Nuxeo &lt;br /&gt;
|-&lt;br /&gt;
| Jody Goldberg|| X || jodygoldberg||jody||[[Calc]] spreadsheet-ness||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Dirk Grobler|| X || dg||||Database Access||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sg|Steffen Grund]]|| X || sg|| || NetBeans Integration ||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bettina Haberer||   || bh||||RFEOwner||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ingrid Halama|| X || iha||||Chart||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chris Halls|| X || haggai||haggai||Debian packager&amp;amp;amp;misc. hacker||Credativ Ltd., Debian&lt;br /&gt;
|-&lt;br /&gt;
| Gregor Hartmann|| X || gh|| Lachs ||Testtool, gsicheck, buildbot||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bustamam Harun||   || bustamam||||Malaysian stuff||&lt;br /&gt;
|-&lt;br /&gt;
| Kevin Hendricks|| X || khendricks||||PL Lingucomponent, PowerPC||&lt;br /&gt;
|-&lt;br /&gt;
| Con Hennessy||   || cphennessy||cph2 or cph_||hacker &amp;amp;amp; former council person||OpenApp&lt;br /&gt;
|-&lt;br /&gt;
| Ivo Hinkelmann|| X || ihi||ivo||l10n tooling/general/RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Eric Hoch|| X || maveric||mav_eric||Mac Porting||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Lutz_Hoeger|Lutz Hoeger]]|| X || lh ||lutzh||PL [http://ux.openoffice.org User Experience]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jan Holešovský|| X || kendy||kendy||KDE integration||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Martin Hollmichel|| X || mh||Ratte/Nesshof||Build Maestro, PL External, Tools, Porting, CC||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Karl Hong|| X || khong||||i18n, CJK expert||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Matthias Huetsch|| X || mhu||||Performance/strategy, PL UCB, CC, ESC||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Hönnig|| X || mi||||PL API||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:icobgr|Hristo Hristov]] ||   || icobgr || icobgr || PL Bulgarian native-lang project ||&lt;br /&gt;
|-&lt;br /&gt;
| Sven Jacobi|| X || sj||||Escherwizard||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Jahnke||   || jj||||tooling||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Jansen||   || cj ||||Menu and Toolbar?||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ocke Janssen|| X || oj||Base||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Pavel Janík|| X || pjanik||paveljanik||PL Czech native-lang project, CL l10n, CC, ESC, l10n builds||&lt;br /&gt;
|-&lt;br /&gt;
| Berry Jia|| X || berryjia||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chuang Jiang ||   || jiangc ||   || || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Jingchuan Kang||   || kangjingchuan || jingchuan || Surrogates in Unicode || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Pascal Junck||   || pjunck||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:pj@openoffice.org|Peter Junge]]|| X || pj|| peter13j|| OOo community contact for my Chinese Employer, QA||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Christian Junker||   || Cyb||christianju||API||Trees For Life&lt;br /&gt;
|-&lt;br /&gt;
| Etsushi Kato || X || ekato ||   || Mac OS X Port || Independent &lt;br /&gt;
|-&lt;br /&gt;
| Hirano Kazunari||   || khirano||||Japanese||&lt;br /&gt;
|-&lt;br /&gt;
| Dhananjay Keskar|| X || dkeskar ||dkeskar||Performance,Buildbot,cat-herder||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Robert Kinsella||   || rkinsella||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Volodymyr Khrystynych||   || volody||||XML Filter||&lt;br /&gt;
|-&lt;br /&gt;
| Matthias Klose||   || doko||doko||Ubuntu, gcc, python packager||Canonical, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Laszlo Kovacs||   || lkovacs||||Documentation||&lt;br /&gt;
|-&lt;br /&gt;
| Tobias Krause|| X || tkr||||ucb||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Martin Kretzschmar|| X || mkretzschmar||martink||Gnome / Debian||Student&lt;br /&gt;
|-&lt;br /&gt;
| Will Lachance||   || wlach||wlach_||Word Perfect File Filters||Net Integration Technologies, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Lange|| X || tl||tl13||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Lars Langhans|| X || lla||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Hans-Joachim Lankenau|| X || hjs||ause||dmake makefile expert, RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Németh László|| X || nemeth||||PL lingucomponent||&lt;br /&gt;
|-&lt;br /&gt;
| Jakob Lechner|| X || jakob_lechner||||Writer||Fabalabs&lt;br /&gt;
|-&lt;br /&gt;
| Michael Leibowitz||  X || mikeleib ||mikeleib||performance||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Wind Li|| X || windly||||Address books||&lt;br /&gt;
|-&lt;br /&gt;
|Jian Li ||   || lijian || lijian|| Writer|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Yuan  Li ||   || liyuan ||   || PyUNO, Async dialogs || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Weike Liang ||   || liangweike || liangweike || Graphics || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Ping Liao||   || pliao||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tor Lillqvist|| X || tml||tml_||||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Joachim Lingner|| X || jl||||Java, CLI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Lippka|| X || cl || cl ||Graphic Applications||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Mindy Liu||   || mindyliu||||||&lt;br /&gt;
|-&lt;br /&gt;
|Jianli Liu ||  || liujl|| liujianli || Graphics|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|[[User:liutao | LiuTao]]   || X  || liutao || liutao  || PyUNO, Async dialogs,slideshow,modularization in SW || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|YU Liu || X  || ch2000liuy || LiuYU  || Swriter || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Yuhua Liu ||  || liuyuhua|| yuhua|| ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Dl|Dieter Loeschky]]|| X || dl ||||PL: ODF Toolkit||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Philipp Lohmann|| X || pl||PhilippL||VCL/X11 (GSL) hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michel Loiseleur|| || mloiseleur|| coren`|| Bugfixes ||Linagora&lt;br /&gt;
|-&lt;br /&gt;
| Jackson Low|| X || xxjack12xx||||Porting||&lt;br /&gt;
|-&lt;br /&gt;
| Patrick Luby||   || pluby||||Mac||&lt;br /&gt;
|-&lt;br /&gt;
|Jingrong Luo ||  || Luo Jingrong|| Luo Jingrong|| ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Xugang Lv ||   || lvxg || lvxg || XML Writer || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Prasad Madhav || X || pmadhav || pmadhav || Buildbot || Intern@Intel &lt;br /&gt;
|-&lt;br /&gt;
| Babak Mahbod||   || bmahbod||||||&lt;br /&gt;
|-&lt;br /&gt;
| Martin Maher||   || mmaher||||Writer &amp;amp;amp; Filter chap||&lt;br /&gt;
|-&lt;br /&gt;
| Nakata Maho|| X || maho||_maho_||PL QA, PL JA, FreeBSD guy||Independent&lt;br /&gt;
|-&lt;br /&gt;
|Yonggang Mao || X || maoyonggang|| maoyg|| Calc ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Yue Lv ||  || lvyue || lvyue || Calc ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| John Marmion|| X || jmarmion||||||&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Martens|| X || ama||||PL Writer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
|-|&lt;br /&gt;
| Shane M Mathews|| X || smmathews|| smmathews ||[[Impress:_OpenGL_rendered_transitions]]||student&lt;br /&gt;
|-&lt;br /&gt;
| Frank Mau|| X || fma||||tooling||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:smsm1|Shaun McDonald]] || X || smsm1 || shaunmcdonald || Mac Port, buildbot MacPort1 || Graduate&lt;br /&gt;
|-&lt;br /&gt;
| Caolán McNamara|| X || cmc||caolan||CL Writer &amp;amp;amp; Filter man|| [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Michael Meeks|| X || mmeeks||michael_||ugly hack-er, ESC||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Frank Meies|| X || fme||||Writer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Federico Mena-Quintero||   || federicomena||federico||perfectionist||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Ismael Merzaq|| X || isma87||ismael_||Mac OSX native porting||Student&lt;br /&gt;
|-&lt;br /&gt;
| Michael Mi||   || mmi||||||&lt;br /&gt;
|-&lt;br /&gt;
| Björn Michaelsen|| X || b_michaelsen ||Sweetshark|| ||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Björn Milcke|| X || bm||bm_||Chart||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Petr Mladek||   || pmladek||pmladek||SUSE RPMs, ooo-build releases||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Cyrille Moureaux|| X || cyrillem||Cyrille||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Mmp|Matthias Müller-Prove]]|| X || mmp|| mprove|| [[User Experience]], http://ux.openoffice.org || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Takashi Nakamoto|| || bluedwarf|| || ||&lt;br /&gt;
|-&lt;br /&gt;
| Jan Navrátil || X || jnavrati || jnavrati || || [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Niklas Nebel|| X || nn||||PL [[Calc]]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christoph Neumann|| X || cn||||[[UnoApiTest]]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Neumann|| X || fne||||MacPort||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| NicelKM|| X || mnicel||nicel||||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Jan Nieuwenhuizen|| X || jcn||janneke||Layout code, hacker ||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Bertram Nolte||   || bnolte||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tomas O&amp;#039;Connor||   || toconnor||||Scripting Framework||&lt;br /&gt;
|-&lt;br /&gt;
| Maximilian Odendahl|| X  || mod||mod||[[Notes2]] [[SQL_Syntax_Highlighting]]|| Student / SEPT-Solutions&lt;br /&gt;
|-&lt;br /&gt;
| Lars Oppermann|| X || lo||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Rakesh Pandit || X || rakeshpandit|| chacha_chaudhry|| Education Project - Starmath/fix module warnings|| &lt;br /&gt;
|-&lt;br /&gt;
| Rodrigo Parra Novo|| X || rodarvus||rodarvus||Gnumeric/Abiword OpenDocument Format support and port to Maemo||INdT (Instituto Nokia de Tecnologia)&lt;br /&gt;
|-&lt;br /&gt;
| Pierre Pasteau|| X || pastea_p || pierrep|| Education Project, SeaMonkey migration || Education Project&lt;br /&gt;
|-&lt;br /&gt;
| Edward Peterlin|| X || OPENSTEP||||Mac||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Fpe|Frank Peters]]|| X || fpe||||CL Documentation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christof Pintaske|| X || cp||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ron Piterman||   || rpiterman||||||&lt;br /&gt;
|-&lt;br /&gt;
| Sebastien Plisson|| X  || plipli||plipli||Developer on Aqua port||OO Aqua Port&lt;br /&gt;
|-&lt;br /&gt;
| Noel Power||   || npower||noelp||VBA Interop, Scripting||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Nikolai Pretzell|| X || np || ||Autodoc, code quality||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jonathan Pryor|| || jpryor || jonp || || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Canghua Qu||  || quch || Canghua || AutoTest, Graphics || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Volker Quetschke|| X || vq||vq||W32-tcsh/bash build environment and dmake Hacker, ESC||Gravity Waves&lt;br /&gt;
|-&lt;br /&gt;
| Tino Rachui|| X || tra||tinor||GSL/Unix Hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Kr|Kay Ramme]]|| X || kr||||PL UDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ErAck|Eike Rathke]]|| X || er||erAck||CL [[Calc]], engine; CL i18n; stricken with number formatter||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Rauch|| X || mrauch||||NetBSD||&lt;br /&gt;
|-&lt;br /&gt;
| Jens-Heiner Rechtien|| X || hr||blauwal||RE; OOo SCM (CVS, CWS tooling); Porting; Compilers||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Rentz|| X || dr|| drr ||[[Calc]] Excel filter, UI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Florian Reuter|| X || flr||||Writer filters||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Georg Richter|| X || grichter||georg||Base, native MySQL driver||MySQL AB&lt;br /&gt;
|-&lt;br /&gt;
| G. Roderick Singleton||   || grsingleton||grsingleton||Documentation||pathtech.org&lt;br /&gt;
|-&lt;br /&gt;
| Hennes Rohling|| X || hro||||GSL &amp;amp;amp; Util||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bibek Sahu||   || Bibek||bibek||Impress pieces||Trees For Life&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Schlüns|| X || as||||Framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ingo Schmidt|| X || is||||(Native) Installation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Jsc|J&amp;amp;uuml;rgen Schmidt]]|| X || jsc||jsc||PL API, CL Extensions, UNO, SDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Schäfer|| X || ssa||ssa||VCL||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Schönheit|| X || fs||FrankS||Database Access, Forms||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sts|Stella Schulze]]|| X || sts||||[http://ui.openoffice.org/nonav/VisualDesign/ Visual Design]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Julian Seward || || sewardj || || valgrind ||&lt;br /&gt;
|-&lt;br /&gt;
| Darragh Sherwin||   || dsherwin||darragh||E-Legislation / E-GovSystems||Propylon&lt;br /&gt;
|-&lt;br /&gt;
|Lei shi ||  || shilei|| sl || Graphics|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Zhoubo  Shi ||   || shizhoubo ||   || || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Raul Siddhartha||   || rsiddhartha||raul||GTK File Selector||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Sarah Smith||   || ssmith||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:mox|Mox Soini]] || X || mox || Moxed || Mac Porting || &lt;br /&gt;
|-&lt;br /&gt;
| Rajesh Sola||   || rajeshsola||sola||misc.||NOSIP&lt;br /&gt;
|-&lt;br /&gt;
| Kai Sommerfeld|| X || kso||||manager &amp;amp;amp; hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Specht|| X || os||||PL UI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Spindler||   || jspindler||||||&lt;br /&gt;
|-&lt;br /&gt;
| Fridrich Štrba|| X || fridrich_strba||Fridrich||Word Perfect Hacker||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Keith Stribley|| X || kstribley||||Graphite fonts, Myanmar l10n||&lt;br /&gt;
|-&lt;br /&gt;
| Ulf Stroehler||   || us||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Muthusuba|Muthu Subramanian]]|| X || muthusuba||muthusuba||misc.||&lt;br /&gt;
|-&lt;br /&gt;
| Louis Suárez-Potts||   || louis||louis||Community Manager||Collab.net&lt;br /&gt;
|-&lt;br /&gt;
| Claus Sørensen||   || cs||c26n,cHBs,chbs||Danish Localization and Project Management Tool(oopm)||ProFOSS&lt;br /&gt;
|-&lt;br /&gt;
|Quanfa Tang ||  || tqfa|| tangquanfa|| Calc || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| David Tardon || X || dtardon || dtardon || || [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Stefan Taxhet|| X || st||stx12||CC, interpersonal problem fixer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Armin Theissen||   || armin||||||&lt;br /&gt;
|-&lt;br /&gt;
| Caio Tiago Oliveira|| X || asrail||asrail||CL QA, release testing pt-BR builds||BrOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| Jan Tietjens||   || tietjens||||||&lt;br /&gt;
|-&lt;br /&gt;
| Rüdiger Timm|| X || rt|| rtimm ||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:mt|Malte Timmermann]]|| X || mt|| Malte || Accessibility, Security, Performance||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Gerhard Tonn||   || tonn||||s390||&lt;br /&gt;
|-&lt;br /&gt;
| Willem van Dorp||   || willem.vandorp||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tom Verbeek|| X || tv||||Wizards, Art team||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Sander Vesik||   || svesik||||||&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Vogelheim|| X || dvo||||XML||&lt;br /&gt;
|-&lt;br /&gt;
| Mikhail Voitenko|| X || mav||mav||Framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Robert Vojta|| X || rvojta||rvojta||VBA Interop||&lt;br /&gt;
|-&lt;br /&gt;
| Dirk Völzke|| X || dv||||Installation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sparcmoz|Jim Watson]]|| X || sparcmoz|| sparcmoz||GNU Linux sparc porter||clug.org.au&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Weiz |Zhao Wei ]] ||   || weiz || weiz || chart, AODL  || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Armin Weiss|| X || aw||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Gerd Weiss|| X || gm||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Dan Williams|| X || fa||dcbw||Mac et. al. hacker|| [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
|[[User:wuy|Yan Wu]] || X || wuy ||   ||Framework || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Wunderlich|| X || sw||||||&lt;br /&gt;
|-&lt;br /&gt;
|Dehua Xu ||   || xudehua || xudh  || Release || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Kohei Yoshida|| X || kohei||kohei_||[[Calc]] hacker, Calc optimization solver developer||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| George Zahopoulos|| X || georgez||||||&lt;br /&gt;
|-&lt;br /&gt;
| Kurt Zenker|| X || kz||smoketester||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
|Huajun Zhang ||  || zhanghuajun|| zhanghj|| SW ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Zhangxiaofei|Xiaofei Zhang]]||  || Zhangxiaofei || zhangxiaofei/FelixZ || [[Framework]] ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Jianwei Zhao ||   || zhaojianwei || zhaojianwei ||  Swriter  || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Sheng zhao|| X  || jacky23 ||   ||OdfToolKit_odf4j || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Claudio F Filho||   || filhocf||filhocf||Brazilian portuguese Localization||BrOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| Xiaoyang Yu||   || || ||Disk block reordering||Intel Corporation &lt;br /&gt;
|- &lt;br /&gt;
| Antonio Xu|| X || antoxu || antoxu || Async dialogs, PRC improvements || Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Rail Aliev || X  || rail || rail ||  Ru and Tr NL Co-lead || Infra-Resource &lt;br /&gt;
|-&lt;br /&gt;
| Jeremy Zheng|| X || zhiming || Jeremy || Async dialogs, PRC improvements || Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Schmidtm|Matthias Schmidt]] ||   || schmidtm || schmidtm || Mac OSX Aqua Port || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Yuri Dario ||   || ydario || Paperino || OS/2 Port || Serenity Systems intl&lt;br /&gt;
|-&lt;br /&gt;
| Fong Lin || X  || pflin || Fong  || VBA Interop, Scripting, CJK Enhancement || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| [[User:jza|Alexandro Colorado]]|| X || jza || jza|| CL [[OOoES|ES]] || &lt;br /&gt;
|-&lt;br /&gt;
| Sunil Amitkumar Janki || || sjanki || sjanki || GNU Linux mipsel porter || &lt;br /&gt;
|-&lt;br /&gt;
| [[User:Rescue|Joey Stanford]] ||  || Rescue/k0fcc || Rinchen || CL [http://eo.openoffice.org/ Esperanto native-lang project] || [http://canonical.com Canonical] ||&lt;br /&gt;
|-&lt;br /&gt;
| Mingfei Jia || X  || jiamingfei ||   || Lotus Smart Suite filter || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
| Xing Li || X  || lixxing ||   || Accessibility || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
| Wei Guo SHI || X  || shiwg ||   || Accessibility and Smart Suite filter || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
| Takashi Ono || X  || tono ||   || MinGW port || Independent&lt;br /&gt;
|-&lt;br /&gt;
| Yu Guoqiang|| X || yugq || yugq|| Performance || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Liu YiSong||  || Liu YiSong || Liu YiSong|| PYUNO || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== QA Engineers ===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellpadding=&amp;quot;4&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Name ||CVS||@openoffice.org || [[IRC Communication]] || Interested modules || Notes || Affiliation&lt;br /&gt;
|-&lt;br /&gt;
| Stefan Baltzer||||sba||||writer||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Bosbach||X||tbo||||framework, testautomation||framework test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Craemer||X||oc||||[[Calc]], testautomation||calc test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Helge Delfs||X||hde||||testautomation, writer||Test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Fredrik Haegg||X||fha||||writer, testautomation||Writer test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Hasan Ilter||||hi||||writer, printing, pdf export||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Rüß||||mru||||writer, word im/export||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Éric Savary||||es||||writer, accessibility||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:jsi|Joerg Sievers]]||X||jsi||jsi_sun||chart, xml, testautomation||Chart2, XML test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Joerg Skottke||X||jsk||skotti||framework, qa/qatesttool||Framework test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Marc Neumann||X||msc||||database, testautomation||Database access test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chris Lukasiak||||clu||||database||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Stecher||||fst||||[[Calc]]||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jack Warchold|||| jw||||writer, import/export filters||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Uwe Luebbers||||ul||||framework||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Martens||||tm||||framework||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Olaf Felka|||| of||||framework, installation||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Klarhoefer||||kla||||chart||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Wolfram Garten||X|| wg||||draw, impress||draw, impress test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Guenther||||cgu||||draw, impress||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Thorsten_Ziehm|Thorsten Ziehm]]||||| thorstenziehm||||||QA lead||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are tracking pending JCAs in the document [[Pending JCAs]].&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[Commit Rights]]&lt;br /&gt;
* [[Contributing Patches]]&lt;br /&gt;
* [[User_Experience/Community|User Experience Team]]&lt;br /&gt;
* A map of OOo developers around the world is available at http://www.frappr.com/ooodev, please add yourself to the map if you&amp;#039;re involved in OOo development. It&amp;#039;s just fun to see who&amp;#039;s where :-)&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Alpha Centauri]]&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=91049</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=91049"/>
		<updated>2008-08-28T15:50:39Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* 12/07/08 - 22/07/08 Replaced invalided hunks: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== 12/07/08 - 22/07/08 Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== QA checking of migration ==&lt;br /&gt;
&lt;br /&gt;
I report all of hunks, so some of them are useless: &lt;br /&gt;
&lt;br /&gt;
 check : no error during build with DSO_LDOPTS (mozilla/security/coreconf/Linux.mk)&lt;br /&gt;
 check : nsAbMD5sum.cpp is found and compile correctly (mozilla/mailnews/addrbook/src)&lt;br /&gt;
 check : there isn&amp;#039;t mozilla binary, and less prerequisites (mozilla/xpfe/bootstrap/Makefile.in)&lt;br /&gt;
 check : if problem to a lib which don&amp;#039;t found dependancies in the courant folder&lt;br /&gt;
         (mozilla/security/nss/lib/freebl/)(mozilla/security/nss/lib/nss/) with sunOS or USE_64&lt;br /&gt;
         (mozilla/security/nss/lib/smime/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/softoken/) with sunOS&lt;br /&gt;
         (mozilla/security/nss/lib/ssl/) with sunOS&lt;br /&gt;
 &lt;br /&gt;
 check : if sign.sh is found during build on win95 (mozilla/security/nss/cmd/shlibsign)&lt;br /&gt;
 check : if keep orginals cflags not makes problem (CFLAGS +=) (mozilla/security/coreconf)&lt;br /&gt;
&lt;br /&gt;
 check : no problem with the -norunpath flags (mozilla/)&lt;br /&gt;
 check : no problem with missing CYGWIN wrapper on other system that contain GNU_CC (mozilla/)&lt;br /&gt;
 check : if no problem to find CYGWIN-cWRAPPER (mozilla/)&lt;br /&gt;
 check : if no padding problem with MOZ_BUILD_ROOT, MOZ_TOOLS_DIR, _GLIB_PREFIX_DIR, _LIBIDL_PREFIX_DIR (mozilla/)&lt;br /&gt;
&lt;br /&gt;
 check : if no need HAVE_MMX_INTEL_MNEMONICS and HAVE_SSE2_INTEL_MNEMONICS on (XP_WIN32 and _M_IX86 and no __GNUC__) (mozilla/jpeg/)&lt;br /&gt;
 check : if no need moz config file in $HOME/ (mozilla/build/autoconf/mozconfig-find)&lt;br /&gt;
 check : if need the exp .uri in prefName string (now use uriPrefName) (mozilla/mailnews/addrbook/src/nsAbLDAPDirectory.cpp)&lt;br /&gt;
 check : if problem with string wPassword (mozilla/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the testMD5sum  is ok on XP_PC or XP_MAC and other (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
 check : if error is ok when getMD5sum failed (mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if the string m_dbMd5Sum is found in mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp (mozilla/mailnews/addrbook/src/nsAddrDatabase.h)&lt;br /&gt;
 &lt;br /&gt;
 check : if no problem with WideCharToMultiByte on win32&lt;br /&gt;
         (mozilla/widget/src/windows/nsDataObj.cpp)(mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp)(mozilla/widget/src/windows/nsWindow.cpp x4 in)&lt;br /&gt;
 check : if no problem with wcsncpy on win32 (mozilla/widget/src/windows/nsFilePicker.cpp)&lt;br /&gt;
 check : if FTC_ImageType is found and correct (mozilla/gfx/src/ps/nsFontMetricsPS.h)&lt;br /&gt;
 check : if NS_PTR_TO_INT32(safer on 64bit) work (mozilla/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp)&lt;br /&gt;
 check : if no problem with gResolver-&amp;gt;resolve on win32 (mozilla/xpcom/io/nsLocalFileWin.cpp)&lt;br /&gt;
 check : if no problem with wcsncpy, wcslen and reinterpret_cast&amp;lt;PRUnichar*&amp;gt; on win32 (mozilla/mailnews/base/src/nsMessengerWinIntegration.cpp)&lt;br /&gt;
 check : if no problem RegQueryValueExW and RegOpenKeyExW on win32 (mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if there are no more redefinition of IMR_RECONVERTSTRING, or APPCOMMAND_BROWSER_BACKWARD (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if WM_IME_REQUEST is not needed (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
 check : if no problem on win32 with MultiByteToWideChar (mozilla/widget/src/windows/nsWindow.cpp)&lt;br /&gt;
&lt;br /&gt;
 check : if no problem with PRUnichar on win32 (mozilla/xpcom/base/nscore.h)&lt;br /&gt;
 check : if all librabry are find and correctly imported (mozilla/nsprpub/config/rules.mk) &lt;br /&gt;
 check : if no error during MK_PROG or LINK_DLL (mozilla/security/coreconf/rules.mk)&lt;br /&gt;
 check : if isn&amp;#039;t conflict with mozabspath (mozilla/security/coreconf/rules.mk x4 in)&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=DomainDeveloper&amp;diff=90841</id>
		<title>DomainDeveloper</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=DomainDeveloper&amp;diff=90841"/>
		<updated>2008-08-26T09:30:20Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* Developers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A mapping of names to OOo accounts.&lt;br /&gt;
&lt;br /&gt;
Abbrev.:&lt;br /&gt;
&lt;br /&gt;
* PL : Project Lead&lt;br /&gt;
* CL : Project Co-Lead&lt;br /&gt;
* CC : Community Council Member&lt;br /&gt;
* ESC : Engineering Steering Committee Member &lt;br /&gt;
* CVS : has write access to the OOo CVS repository&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Developers ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Name || CVS || @openoffice.org || [[IRC Communication]] || Notes || Affiliation&lt;br /&gt;
|-&lt;br /&gt;
| Volker Ahrendt|| X || va||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Kai Ahrens|| X || ka || Kai_Ahrens ||PL Graphic Applications||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Gene Anaya||   || ganaya||||||&lt;br /&gt;
|-&lt;br /&gt;
| Joost Andrae|| X || ja||ja||CL qa, release testing en-US builds and releasing builds||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Eric Bachard|| X || ericb||ericb2|| CL Education, Mac OSX/Linux PPC port ||Education project&lt;br /&gt;
|-&lt;br /&gt;
| Kai Backman||  || kaib ||KaiB||||&lt;br /&gt;
|-&lt;br /&gt;
| Sascha Ballach|| X || sab||||||&lt;br /&gt;
|-&lt;br /&gt;
| Jayant Balraj Madavi||   || jayant_madavi||aZEN_JM||Connectivity / Database||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Barfurth|| X || jb||JoergB||Configuration Util||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Omer Bar-or|| X || cremlae||cremlae||Mac porting||Google Summer of Code&lt;br /&gt;
|-&lt;br /&gt;
| Mathias Bauer|| X || mba||||PL Writer, CL Framework, XML||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Behrens|| X || thb||thorsten||vcl/impress/toolkit visionary||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Benisch|| X || tbe||||Scripting framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Bergmann|| X || sb||||CL UDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Bille|| X || abi||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Éric Bischoff|| X || ebischoff||ebischoff||KDE A/B driver||Bureau Cornavin&lt;br /&gt;
|-&lt;br /&gt;
| Nick Blievers|| X || nick||||IRIX||&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Boelzle|| X || dbo||||UNO core/bridges/packages||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Bolte|| X || obo||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Rafaella Braconi||   || coni||Rafaella ||PL l10n, Globalization Program Manager||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Brauer|| X || mib||||PL XML||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Braun|| X || obr||obr||System Integration/Accessibility Hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Bregas|| X || ab||||StarBasic||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Brunsmann||   || jbrunsmann||||UDK||&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Budischewski||   || jbu||PyUNO hacker||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Peter Burow|| X  || pb||plumbumm||UI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Aidan Butler||   || aidan||||XML filters||&lt;br /&gt;
|-&lt;br /&gt;
| Giuseppe Castagno || X || beppec56 || beppec56_  or beppe_c || PDF output&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ScottCarr|Scott Carr]] || X  || kcarr||kcarr||PL Documentation||Progbits&lt;br /&gt;
|-&lt;br /&gt;
| Colin Charles||   || drbyte||bytee||Malaysian native-lang project||bytebot.net&lt;br /&gt;
|-&lt;br /&gt;
| Jinhong Chen ||   || chainchen ||   || || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Xiuzhi Cheng|| X || xzcheng || xiuzhi|| ESC,Xml,ODF|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Behrend Cornelius|| X || bc||||Wizards||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Cziebalski||   || mci||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:pdefilippis|Pierre de Filippis]]|| X || pdefilippis||aliscafo||Mac OSX native porting||&lt;br /&gt;
|-&lt;br /&gt;
| Andrew Dent|| X ||ace_dent||ace_dent||ui/custom_images||&lt;br /&gt;
|-&lt;br /&gt;
| Naren Devaiah||   || ||ndev||Performance||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Quangang Dong||   || donqg || dongqg || Layout  || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Nitin Dongre||   || ||nitin_BITS||||Novell, Inc.(intern)&lt;br /&gt;
|-&lt;br /&gt;
| Radek Doulik||   || radekdoulik||rodo_||Canvas hacker||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Carsten Driesner|| X || cd|| cd_oo ||PL Framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Yunfen Du || X || duyunfen|| dyf|| Base ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Herbert Duerr|| X || hdu||hdu_hh||GSL||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Düsterhoff|| X || od||Writer||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bernd Eilers|| X || bei||rfc821||EIS||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| René Engelhard|| X || rene||_rene_||config_office, Debian packager||Debian&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Pereriksson|Per Eriksson]] || || pereriksson || || CL, MarCon Sweden ||&lt;br /&gt;
|-&lt;br /&gt;
| Yaqiong Fang || X  || fangyq || fangyq|| Graphics|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Hubert Figuière|| X || hub || hub || PPTX || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Andre Fischer|| X || af||||Impress||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Uwe Fischer || X || ufi || ufiooo || Application Help || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ken Foskey||   || waratah||waratah||config_office/dmake man||slug.org.au&lt;br /&gt;
|-&lt;br /&gt;
| Duncan Foster||   || dfoster||||||&lt;br /&gt;
|-&lt;br /&gt;
| David Fraser||   || davidfraser||davidfraser||South African translations, multilingual builds||translate.org.za&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Nf|Nils Fuhrmann]]||   || nf||SunNF||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Martin Gallwey|| X || mtg||marty_||XML/Writer/packaging||&lt;br /&gt;
|-&lt;br /&gt;
| Pierre-Andre Galmes || || pagalmes || pagalmes || Chart2 ||StarXpert&lt;br /&gt;
|-&lt;br /&gt;
| Tony Galmiche|| X || tonygalmiche||||CL FR native-lang project||&lt;br /&gt;
|-&lt;br /&gt;
| Sunil Gandhi||   || ||tyro||||NOSIP&lt;br /&gt;
|-&lt;br /&gt;
| Peng Gao ||  || Gao Peng|| Gao Peng || writer|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Zemin Gao ||  || gaozemin|| gaozm || Calc || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Sophie Gautier|| X || sgauti|| sophi || ||.&lt;br /&gt;
|-&lt;br /&gt;
| Vladimir Glazounov|| X || vg||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Laurent Godard || X || laurentgodard || lgodard || CC, PL Extensions, Fr Native-lang Project || inDesko/Nuxeo &lt;br /&gt;
|-&lt;br /&gt;
| Jody Goldberg|| X || jodygoldberg||jody||[[Calc]] spreadsheet-ness||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Dirk Grobler|| X || dg||||Database Access||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sg|Steffen Grund]]|| X || sg|| || NetBeans Integration ||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bettina Haberer||   || bh||||RFEOwner||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ingrid Halama|| X || iha||||Chart||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chris Halls|| X || haggai||haggai||Debian packager&amp;amp;amp;misc. hacker||Credativ Ltd., Debian&lt;br /&gt;
|-&lt;br /&gt;
| Gregor Hartmann|| X || gh|| Lachs ||Testtool, gsicheck, buildbot||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bustamam Harun||   || bustamam||||Malaysian stuff||&lt;br /&gt;
|-&lt;br /&gt;
| Kevin Hendricks|| X || khendricks||||PL Lingucomponent, PowerPC||&lt;br /&gt;
|-&lt;br /&gt;
| Con Hennessy||   || cphennessy||cph2 or cph_||hacker &amp;amp;amp; former council person||OpenApp&lt;br /&gt;
|-&lt;br /&gt;
| Ivo Hinkelmann|| X || ihi||ivo||l10n tooling/general/RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Eric Hoch|| X || maveric||mav_eric||Mac Porting||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Lutz_Hoeger|Lutz Hoeger]]|| X || lh ||lutzh||PL [http://ux.openoffice.org User Experience]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jan Holešovský|| X || kendy||kendy||KDE integration||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Martin Hollmichel|| X || mh||Ratte/Nesshof||Build Maestro, PL External, Tools, Porting, CC||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Karl Hong|| X || khong||||i18n, CJK expert||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Matthias Huetsch|| X || mhu||||Performance/strategy, PL UCB, CC, ESC||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Hönnig|| X || mi||||PL API||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:icobgr|Hristo Hristov]] ||   || icobgr || icobgr || PL Bulgarian native-lang project ||&lt;br /&gt;
|-&lt;br /&gt;
| Sven Jacobi|| X || sj||||Escherwizard||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Jahnke||   || jj||||tooling||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Jansen||   || cj ||||Menu and Toolbar?||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ocke Janssen|| X || oj||Base||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Pavel Janík|| X || pjanik||paveljanik||PL Czech native-lang project, CL l10n, CC, ESC, l10n builds||&lt;br /&gt;
|-&lt;br /&gt;
| Berry Jia|| X || berryjia||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chuang Jiang ||   || jiangc ||   || || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Jingchuan Kang||   || kangjingchuan || jingchuan || Surrogates in Unicode || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Pascal Junck||   || pjunck||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:pj@openoffice.org|Peter Junge]]|| X || pj|| peter13j|| OOo community contact for my Chinese Employer, QA||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Christian Junker||   || Cyb||christianju||API||Trees For Life&lt;br /&gt;
|-&lt;br /&gt;
| Etsushi Kato || X || ekato ||   || Mac OS X Port || Independent &lt;br /&gt;
|-&lt;br /&gt;
| Hirano Kazunari||   || khirano||||Japanese||&lt;br /&gt;
|-&lt;br /&gt;
| Dhananjay Keskar|| X || dkeskar ||dkeskar||Performance,Buildbot,cat-herder||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Robert Kinsella||   || rkinsella||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Volodymyr Khrystynych||   || volody||||XML Filter||&lt;br /&gt;
|-&lt;br /&gt;
| Matthias Klose||   || doko||doko||Ubuntu, gcc, python packager||Canonical, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Laszlo Kovacs||   || lkovacs||||Documentation||&lt;br /&gt;
|-&lt;br /&gt;
| Tobias Krause|| X || tkr||||ucb||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Martin Kretzschmar|| X || mkretzschmar||martink||Gnome / Debian||Student&lt;br /&gt;
|-&lt;br /&gt;
| Will Lachance||   || wlach||wlach_||Word Perfect File Filters||Net Integration Technologies, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Lange|| X || tl||tl13||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Lars Langhans|| X || lla||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Hans-Joachim Lankenau|| X || hjs||ause||dmake makefile expert, RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Németh László|| X || nemeth||||PL lingucomponent||&lt;br /&gt;
|-&lt;br /&gt;
| Jakob Lechner|| X || jakob_lechner||||Writer||Fabalabs&lt;br /&gt;
|-&lt;br /&gt;
| Michael Leibowitz||  X || mikeleib ||mikeleib||performance||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Wind Li|| X || windly||||Address books||&lt;br /&gt;
|-&lt;br /&gt;
|Jian Li ||   || lijian || lijian|| Writer|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Yuan  Li ||   || liyuan ||   || PyUNO, Async dialogs || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Weike Liang ||   || liangweike || liangweike || Graphics || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Ping Liao||   || pliao||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tor Lillqvist|| X || tml||tml_||||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Joachim Lingner|| X || jl||||Java, CLI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Lippka|| X || cl || cl ||Graphic Applications||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Mindy Liu||   || mindyliu||||||&lt;br /&gt;
|-&lt;br /&gt;
|Jianli Liu ||  || liujl|| liujianli || Graphics|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|[[User:liutao | LiuTao]]   || X  || liutao || liutao  || PyUNO, Async dialogs,slideshow,modularization in SW || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|YU Liu || X  || ch2000liuy || LiuYU  || Swriter || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Yuhua Liu ||  || liuyuhua|| yuhua|| ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Dl|Dieter Loeschky]]|| X || dl ||||PL: ODF Toolkit||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Philipp Lohmann|| X || pl||PhilippL||VCL/X11 (GSL) hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michel Loiseleur|| || mloiseleur|| coren`|| Bugfixes ||Linagora&lt;br /&gt;
|-&lt;br /&gt;
| Jackson Low|| X || xxjack12xx||||Porting||&lt;br /&gt;
|-&lt;br /&gt;
| Patrick Luby||   || pluby||||Mac||&lt;br /&gt;
|-&lt;br /&gt;
|Jingrong Luo ||  || Luo Jingrong|| Luo Jingrong|| ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Xugang Lv ||   || lvxg || lvxg || XML Writer || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Prasad Madhav || X || pmadhav || pmadhav || Buildbot || Intern@Intel &lt;br /&gt;
|-&lt;br /&gt;
| Babak Mahbod||   || bmahbod||||||&lt;br /&gt;
|-&lt;br /&gt;
| Martin Maher||   || mmaher||||Writer &amp;amp;amp; Filter chap||&lt;br /&gt;
|-&lt;br /&gt;
| Nakata Maho|| X || maho||_maho_||PL QA, PL JA, FreeBSD guy||Independent&lt;br /&gt;
|-&lt;br /&gt;
|Yonggang Mao || X || maoyonggang|| maoyg|| Calc ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Yue Lv ||  || lvyue || lvyue || Calc ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| John Marmion|| X || jmarmion||||||&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Martens|| X || ama||||PL Writer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
|-|&lt;br /&gt;
| Shane M Mathews|| X || smmathews|| smmathews ||[[Impress:_OpenGL_rendered_transitions]]||student&lt;br /&gt;
|-&lt;br /&gt;
| Frank Mau|| X || fma||||tooling||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:smsm1|Shaun McDonald]] || X || smsm1 || shaunmcdonald || Mac Port, buildbot MacPort1 || Graduate&lt;br /&gt;
|-&lt;br /&gt;
| Caolán McNamara|| X || cmc||caolan||CL Writer &amp;amp;amp; Filter man|| [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Michael Meeks|| X || mmeeks||michael_||ugly hack-er, ESC||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Frank Meies|| X || fme||||Writer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Federico Mena-Quintero||   || federicomena||federico||perfectionist||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Ismael Merzaq|| X || isma87||ismael_||Mac OSX native porting||Student&lt;br /&gt;
|-&lt;br /&gt;
| Michael Mi||   || mmi||||||&lt;br /&gt;
|-&lt;br /&gt;
| Björn Michaelsen|| X || b_michaelsen ||Sweetshark|| ||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Björn Milcke|| X || bm||bm_||Chart||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Petr Mladek||   || pmladek||pmladek||SUSE RPMs, ooo-build releases||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Cyrille Moureaux|| X || cyrillem||Cyrille||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Mmp|Matthias Müller-Prove]]|| X || mmp|| mprove|| [[User Experience]], http://ux.openoffice.org || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Takashi Nakamoto|| || bluedwarf|| || ||&lt;br /&gt;
|-&lt;br /&gt;
| Jan Navrátil || X || jnavrati || jnavrati || || [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Niklas Nebel|| X || nn||||PL [[Calc]]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christoph Neumann|| X || cn||||[[UnoApiTest]]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Neumann|| X || fne||||MacPort||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| NicelKM|| X || mnicel||nicel||||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Jan Nieuwenhuizen|| X || jcn||janneke||Layout code, hacker ||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Bertram Nolte||   || bnolte||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tomas O&amp;#039;Connor||   || toconnor||||Scripting Framework||&lt;br /&gt;
|-&lt;br /&gt;
| Maximilian Odendahl|| X  || mod||mod||[[Notes2]]|| Student / SEPT-Solutions&lt;br /&gt;
|-&lt;br /&gt;
| Lars Oppermann|| X || lo||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Rodrigo Parra Novo|| X || rodarvus||rodarvus||Gnumeric/Abiword OpenDocument Format support and port to Maemo||INdT (Instituto Nokia de Tecnologia)&lt;br /&gt;
|-&lt;br /&gt;
| Edward Peterlin|| X || OPENSTEP||||Mac||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Fpe|Frank Peters]]|| X || fpe||||CL Documentation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christof Pintaske|| X || cp||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ron Piterman||   || rpiterman||||||&lt;br /&gt;
|-&lt;br /&gt;
| Sebastien Plisson|| X  || plipli||plipli||Developer on Aqua port||OO Aqua Port&lt;br /&gt;
|-&lt;br /&gt;
| Noel Power||   || npower||noelp||VBA Interop, Scripting||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Nikolai Pretzell|| X || np || ||Autodoc, code quality||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jonathan Pryor|| || jpryor || jonp || || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Canghua Qu||  || quch || Canghua || AutoTest, Graphics || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Volker Quetschke|| X || vq||vq||W32-tcsh/bash build environment and dmake Hacker, ESC||Gravity Waves&lt;br /&gt;
|-&lt;br /&gt;
| Tino Rachui|| X || tra||tinor||GSL/Unix Hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Kr|Kay Ramme]]|| X || kr||||PL UDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ErAck|Eike Rathke]]|| X || er||erAck||CL [[Calc]], engine; CL i18n; stricken with number formatter||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Rauch|| X || mrauch||||NetBSD||&lt;br /&gt;
|-&lt;br /&gt;
| Jens-Heiner Rechtien|| X || hr||blauwal||RE; OOo SCM (CVS, CWS tooling); Porting; Compilers||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Rentz|| X || dr|| drr ||[[Calc]] Excel filter, UI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Florian Reuter|| X || flr||||Writer filters||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Georg Richter|| X || grichter||georg||Base, native MySQL driver||MySQL AB&lt;br /&gt;
|-&lt;br /&gt;
| G. Roderick Singleton||   || grsingleton||grsingleton||Documentation||pathtech.org&lt;br /&gt;
|-&lt;br /&gt;
| Hennes Rohling|| X || hro||||GSL &amp;amp;amp; Util||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bibek Sahu||   || Bibek||bibek||Impress pieces||Trees For Life&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Schlüns|| X || as||||Framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ingo Schmidt|| X || is||||(Native) Installation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Jsc|J&amp;amp;uuml;rgen Schmidt]]|| X || jsc||jsc||PL API, CL Extensions, UNO, SDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Schäfer|| X || ssa||ssa||VCL||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Schönheit|| X || fs||FrankS||Database Access, Forms||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sts|Stella Schulze]]|| X || sts||||[http://ui.openoffice.org/nonav/VisualDesign/ Visual Design]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Julian Seward || || sewardj || || valgrind ||&lt;br /&gt;
|-&lt;br /&gt;
| Darragh Sherwin||   || dsherwin||darragh||E-Legislation / E-GovSystems||Propylon&lt;br /&gt;
|-&lt;br /&gt;
|Lei shi ||  || shilei|| sl || Graphics|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Zhoubo  Shi ||   || shizhoubo ||   || || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Raul Siddhartha||   || rsiddhartha||raul||GTK File Selector||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Sarah Smith||   || ssmith||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:mox|Mox Soini]] || X || mox || Moxed || Mac Porting || &lt;br /&gt;
|-&lt;br /&gt;
| Rajesh Sola||   || rajeshsola||sola||misc.||NOSIP&lt;br /&gt;
|-&lt;br /&gt;
| Kai Sommerfeld|| X || kso||||manager &amp;amp;amp; hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Specht|| X || os||||PL UI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Spindler||   || jspindler||||||&lt;br /&gt;
|-&lt;br /&gt;
| Fridrich Štrba|| X || fridrich_strba||Fridrich||Word Perfect Hacker||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Keith Stribley|| X || kstribley||||Graphite fonts, Myanmar l10n||&lt;br /&gt;
|-&lt;br /&gt;
| Ulf Stroehler||   || us||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Muthusuba|Muthu Subramanian]]|| X || muthusuba||muthusuba||misc.||&lt;br /&gt;
|-&lt;br /&gt;
| Louis Suárez-Potts||   || louis||louis||Community Manager||Collab.net&lt;br /&gt;
|-&lt;br /&gt;
| Claus Sørensen||   || cs||c26n,cHBs,chbs||Danish Localization and Project Management Tool(oopm)||ProFOSS&lt;br /&gt;
|-&lt;br /&gt;
|Quanfa Tang ||  || tqfa|| tangquanfa|| Calc || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| David Tardon || X || dtardon || dtardon || || [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Stefan Taxhet|| X || st||stx12||CC, interpersonal problem fixer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Armin Theissen||   || armin||||||&lt;br /&gt;
|-&lt;br /&gt;
| Caio Tiago Oliveira|| X || asrail||asrail||CL QA, release testing pt-BR builds||BrOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| Jan Tietjens||   || tietjens||||||&lt;br /&gt;
|-&lt;br /&gt;
| Rüdiger Timm|| X || rt|| rtimm ||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:mt|Malte Timmermann]]|| X || mt|| Malte || Accessibility, Security, Performance||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Gerhard Tonn||   || tonn||||s390||&lt;br /&gt;
|-&lt;br /&gt;
| Willem van Dorp||   || willem.vandorp||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tom Verbeek|| X || tv||||Wizards, Art team||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Sander Vesik||   || svesik||||||&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Vogelheim|| X || dvo||||XML||&lt;br /&gt;
|-&lt;br /&gt;
| Mikhail Voitenko|| X || mav||mav||Framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Robert Vojta|| X || rvojta||rvojta||VBA Interop||&lt;br /&gt;
|-&lt;br /&gt;
| Dirk Völzke|| X || dv||||Installation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sparcmoz|Jim Watson]]|| X || sparcmoz|| sparcmoz||GNU Linux sparc porter||clug.org.au&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Weiz |Zhao Wei ]] ||   || weiz || weiz || chart, AODL  || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Armin Weiss|| X || aw||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Gerd Weiss|| X || gm||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Dan Williams|| X || fa||dcbw||Mac et. al. hacker|| [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
|[[User:wuy|Yan Wu]] || X || wuy ||   ||Framework || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Wunderlich|| X || sw||||||&lt;br /&gt;
|-&lt;br /&gt;
|Dehua Xu ||   || xudehua || xudh  || Release || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Kohei Yoshida|| X || kohei||kohei_||[[Calc]] hacker, Calc optimization solver developer||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| George Zahopoulos|| X || georgez||||||&lt;br /&gt;
|-&lt;br /&gt;
| Kurt Zenker|| X || kz||smoketester||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
|Huajun Zhang ||  || zhanghuajun|| zhanghj|| SW ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Zhangxiaofei|Xiaofei Zhang]]||  || Zhangxiaofei || zhangxiaofei/FelixZ || [[Framework]] ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Jianwei Zhao ||   || zhaojianwei || zhaojianwei ||  Swriter  || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Sheng zhao|| X  || jacky23 ||   ||OdfToolKit_odf4j || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Claudio F Filho||   || filhocf||filhocf||Brazilian portuguese Localization||BrOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| Xiaoyang Yu||   || || ||Disk block reordering||Intel Corporation &lt;br /&gt;
|- &lt;br /&gt;
| Antonio Xu|| X || antoxu || antoxu || Async dialogs, PRC improvements || Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Rail Aliev || X  || rail || rail ||  Ru and Tr NL Co-lead || Infra-Resource &lt;br /&gt;
|-&lt;br /&gt;
| Jeremy Zheng|| X || zhiming || Jeremy || Async dialogs, PRC improvements || Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Schmidtm|Matthias Schmidt]] ||   || schmidtm || schmidtm || Mac OSX Aqua Port || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Yuri Dario ||   || ydario || Paperino || OS/2 Port || Serenity Systems intl&lt;br /&gt;
|-&lt;br /&gt;
| Fong Lin || X  || pflin || Fong  || VBA Interop, Scripting, CJK Enhancement || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| [[User:jza|Alexandro Colorado]]|| X || jza || jza|| CL [[OOoES|ES]] || &lt;br /&gt;
|-&lt;br /&gt;
| Sunil Amitkumar Janki || || sjanki || sjanki || GNU Linux mipsel porter || &lt;br /&gt;
|-&lt;br /&gt;
| [[User:Rescue|Joey Stanford]] ||  || Rescue/k0fcc || Rinchen || CL [http://eo.openoffice.org/ Esperanto native-lang project] || [http://canonical.com Canonical] ||&lt;br /&gt;
|-&lt;br /&gt;
| Mingfei Jia || X  || jiamingfei ||   || Lotus Smart Suite filter || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
| Xing Li || X  || lixxing ||   || Accessibility || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
| Wei Guo SHI || X  || shiwg ||   || Accessibility and Smart Suite filter || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
| Takashi Ono || X  || tono ||   || MinGW port || Independent&lt;br /&gt;
|-&lt;br /&gt;
| Yu Guoqiang|| X || yugq || yugq|| Performance || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Liu YiSong||  || Liu YiSong || Liu YiSong|| PYUNO || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Pasteau Pierre|| X || pastea_p || pierrep|| Education, SeaMonkey migration || &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== QA Engineers ===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellpadding=&amp;quot;4&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Name ||CVS||@openoffice.org || [[IRC Communication]] || Interested modules || Notes || Affiliation&lt;br /&gt;
|-&lt;br /&gt;
| Stefan Baltzer||||sba||||writer||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Bosbach||X||tbo||||framework, testautomation||framework test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Craemer||X||oc||||[[Calc]], testautomation||calc test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Helge Delfs||X||hde||||testautomation, writer||Test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Fredrik Haegg||X||fha||||writer, testautomation||Writer test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Hasan Ilter||||hi||||writer, printing, pdf export||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Rüß||||mru||||writer, word im/export||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Éric Savary||||es||||writer, accessibility||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:jsi|Joerg Sievers]]||X||jsi||jsi_sun||chart, xml, testautomation||Chart2, XML test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Joerg Skottke||X||jsk||skotti||framework, qa/qatesttool||Framework test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Marc Neumann||X||msc||||database, testautomation||Database access test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chris Lukasiak||||clu||||database||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Stecher||||fst||||[[Calc]]||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jack Warchold|||| jw||||writer, import/export filters||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Uwe Luebbers||||ul||||framework||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Martens||||tm||||framework||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Olaf Felka|||| of||||framework, installation||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Klarhoefer||||kla||||chart||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Wolfram Garten||X|| wg||||draw, impress||draw, impress test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Guenther||||cgu||||draw, impress||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Thorsten_Ziehm|Thorsten Ziehm]]||||| thorstenziehm||||||QA lead||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are tracking pending JCAs in the document [[Pending JCAs]].&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[Commit Rights]]&lt;br /&gt;
* [[Contributing Patches]]&lt;br /&gt;
* [[User_Experience/Community|User Experience Team]]&lt;br /&gt;
* A map of OOo developers around the world is available at http://www.frappr.com/ooodev, please add yourself to the map if you&amp;#039;re involved in OOo development. It&amp;#039;s just fun to see who&amp;#039;s where :-)&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Alpha Centauri]]&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Pending_SCAs&amp;diff=90840</id>
		<title>Pending SCAs</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Pending_SCAs&amp;diff=90840"/>
		<updated>2008-08-26T09:19:36Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following [[Sun Contributor Agreement]]s respectively [[Joint Copyright Assignment]]s are not yet [http://www.openoffice.org/copyright/copyrightapproved.html listed]:&lt;br /&gt;
This is not necessarily the contributors fault. &lt;br /&gt;
Please list your name below, if it doesn&amp;#039;t appear after a week or so.&lt;br /&gt;
&lt;br /&gt;
* Sharif FarsiWeb, Inc. &amp;lt;br&amp;gt; JCA emailed on 2006-02-02. &amp;lt;br&amp;gt; Sent again on 2007-07-22.&lt;br /&gt;
* Toshie Abe &amp;lt;br&amp;gt; JCA emailed on 2007-10-02.&lt;br /&gt;
* Rakesh Pandit &amp;lt;br&amp;gt; JCA emailed original scanned copy on 2008-06-09.&lt;br /&gt;
* Pasteau Pierre &amp;lt;br&amp;gt; faxed on 2008-08-26.&lt;br /&gt;
* &amp;amp;nbsp; &amp;lt;missing SCAs go here&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The list was updated on 2008-06-03.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We will help to track down where the SCA got stuck. The following information helps us to find your SCA.&lt;br /&gt;
&lt;br /&gt;
* Has the SCA been sent via email, fax or postal mail?&lt;br /&gt;
* At which date has the email / fax / letter has been sent?&lt;br /&gt;
&lt;br /&gt;
If all fails you might want to resend the SCA.&lt;br /&gt;
&lt;br /&gt;
--[[User:St|stx12]] 22:20, 15 November 2005 (CET)&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90797</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90797"/>
		<updated>2008-08-25T16:49:58Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* 12/07/08 - XX/07/08 Replaced invalided hunks: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== 12/07/08 - 22/07/08 Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90602</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90602"/>
		<updated>2008-08-22T16:01:56Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* 28/07/08 - 31/07/08 Seamonkey configure: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey And OpenOffice configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== 12/07/08 - XX/07/08 Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90601</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90601"/>
		<updated>2008-08-22T16:00:59Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* 28/07/08 - 31/07/08 Seamonkey configure: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Need to change the OpenOffice checking in config_office/configure.in&lt;br /&gt;
&lt;br /&gt;
 $ cd config_office&lt;br /&gt;
 $ emacs configure.in&lt;br /&gt;
&lt;br /&gt;
Here the diff :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;       MOZILLA_VERSION=1.1.11&lt;br /&gt;
 &amp;gt;       MOZILLA_VERSION=1.7.5&lt;br /&gt;
 &amp;lt;       MOZILLA_SOURCE_VERSION=&amp;quot;seamonkey-${MOZILLA_VERSION}.source&amp;quot;&lt;br /&gt;
 &amp;gt;       MOZILLA_SOURCE_VERSION=&amp;quot;mozilla-source-${MOZILLA_VERSION}&amp;quot;&lt;br /&gt;
 &amp;lt; http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/])&lt;br /&gt;
 &amp;gt; http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$MOZILLA_VERSION/source/])&lt;br /&gt;
&lt;br /&gt;
To generate the new script:&lt;br /&gt;
&lt;br /&gt;
 $ autoconf configure.in &amp;gt; configure&lt;br /&gt;
&lt;br /&gt;
== 12/07/08 - XX/07/08 Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90044</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90044"/>
		<updated>2008-08-19T10:21:12Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* Replaced invalided hunks: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
== 12/07/08 - XX/07/08 Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90043</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90043"/>
		<updated>2008-08-19T10:20:15Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* Seamonkey configure: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== 28/07/08 - 31/07/08 Seamonkey configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
== Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90042</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90042"/>
		<updated>2008-08-19T10:19:34Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* Get first patch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 23/07/08 - 28/07/08 Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
== Seamonkey configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90041</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90041"/>
		<updated>2008-08-19T10:18:04Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/07/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/07/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/07/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/07/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/07/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Seamonkey configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Replaced invalided hunks: ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) remove the old build tree&lt;br /&gt;
	&lt;br /&gt;
2) create a new tree, and stop after applying the patch ($ dmake patch)&lt;br /&gt;
&lt;br /&gt;
3) add one, or several hunks, manually (using whatever editor), do once done : ($ dmake create_patch)&lt;br /&gt;
&lt;br /&gt;
4) repeat until all rejected hunks are included&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
dmake create_patch : Create a new patch (with a diff), rename the older with .bak&lt;br /&gt;
&lt;br /&gt;
 $ rm -rf unxlngx6.pro	&lt;br /&gt;
 $ dmake patch	&lt;br /&gt;
 &lt;br /&gt;
Create few folder which help us in our work:&lt;br /&gt;
 $ mkdir work/hunks_replaced  	hunks which cannot be applied directly because the code or filename has changed&lt;br /&gt;
 $ mkdir work/already_here    	hunks already there in new source (hunks concerning syntax, standard, perf ...)&lt;br /&gt;
 $ mkdir work/ask_hunks		hunks when we are not sure what to do or how apply them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The different steps are, understand the hunk, why it cannot be apply, and apply it manually&lt;br /&gt;
&lt;br /&gt;
Each time we need to create new patch:&lt;br /&gt;
&lt;br /&gt;
 $ cat one.ex.rej | more		                                        (show the different hunks)&lt;br /&gt;
 $ emacs one.ex				                                        (edit the concerning file, add hunks manually)&lt;br /&gt;
 $ dmake create_patch			                                        (make a new patch with the last hunks)&lt;br /&gt;
 $ diff seamonkey-source-1.1.11.patch seamonkey-source-1.1.11.patch.bak 	(to be sure of the changed)&lt;br /&gt;
 $ mv work/rej_hunks/one.ex.rej work/hunks_replaced/                            (move the rej file in the correct folder)&lt;br /&gt;
&lt;br /&gt;
After each rej file added, make a save of the patch.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90038</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90038"/>
		<updated>2008-08-19T10:03:07Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/08/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/08/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/08/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/08/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Seamonkey configure: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the seamonkey configure is running :&lt;br /&gt;
&lt;br /&gt;
 configure: error: --enable-application=APP is required&lt;br /&gt;
&lt;br /&gt;
Need to add --enable-application=suite to the makefile.mk in the MOZ configuration flag section&lt;br /&gt;
&lt;br /&gt;
To go away in the setup we need to replaced all rejected hunks&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90037</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=90037"/>
		<updated>2008-08-19T09:59:18Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/08/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/08/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/08/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/08/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get first patch ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Theoretically Plane:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
1) build on moz -&amp;gt; applies the patch, and fails&lt;br /&gt;
&lt;br /&gt;
2) guessing the patch is unified, create a directory, and put all the .rej created during the patch application ( triggered by &amp;quot;build&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
3) once you are sure you collected *all* the .rej  (in the unxlngx6.pro)&lt;br /&gt;
&lt;br /&gt;
4) using whatever editor, remove all rejected hunks&lt;br /&gt;
&lt;br /&gt;
5) once you are sure you try to start a new build&lt;br /&gt;
&lt;br /&gt;
6) the patch must work, means, the patch application must no longer cause a breakage, this patch will be the starting point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pratical:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.1 (initial patch with errors)&lt;br /&gt;
&lt;br /&gt;
Patch seamonkey source with the last mozilla patch:&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
&lt;br /&gt;
Of course if failed, fuzz and offset are ok, when an hunk cannot be applied it is put in a rej file&lt;br /&gt;
&lt;br /&gt;
To find each rej file:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \;&lt;br /&gt;
&lt;br /&gt;
We need to know the location of each rej file, I save it in a file named index:&lt;br /&gt;
&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \echo {} \ &amp;gt; work/rej_hunks/index;&lt;br /&gt;
&lt;br /&gt;
Now move them in a new directory:&lt;br /&gt;
 $ mkdir work/rej_hunks&lt;br /&gt;
 $ find unxlngx6.pro -name &amp;quot;*.rej&amp;quot; -exec \mv {} work/rej_hunks/ \;                   &lt;br /&gt;
 (warning: files could have the same name)&lt;br /&gt;
&lt;br /&gt;
Now I edit patch to remove each invalided hunks, &lt;br /&gt;
&lt;br /&gt;
 $ emacs seamonkey-source-1.1.11.patch&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.2 (initial patch with no errors)&lt;br /&gt;
&lt;br /&gt;
Many hunks are on unfounded files, It&amp;#039;s block configure, I move them in a new directory:&lt;br /&gt;
 $ mkdir work/unfounded_files&lt;br /&gt;
&lt;br /&gt;
Save patch to seamonkey-source-1.1.11.patch.3 (initial patch with no unfounded files)&lt;br /&gt;
&lt;br /&gt;
Ok configure Now&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=88179</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=88179"/>
		<updated>2008-07-28T12:03:58Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* 22/08/08: Seamonkey source first look */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/08/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/08/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/08/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/08/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed var MOZILLA_VERSION (1.7.5 to 1.1.11) in Linux_arch**.sh&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87823</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87823"/>
		<updated>2008-07-24T13:50:01Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/08/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/08/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/08/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;br /&gt;
&lt;br /&gt;
== 22/08/08: Seamonkey source first look ==&lt;br /&gt;
&lt;br /&gt;
I modified moz/makefile.mk, to take seamonkey-1.1.11.source.tar.gz&lt;br /&gt;
&lt;br /&gt;
Changed env var like this :&lt;br /&gt;
 $ unset MOZILLA_VERSION&lt;br /&gt;
 $ MOZILLA_VERSION=1.1.11&lt;br /&gt;
 $ export MOZILLA_VERSION&lt;br /&gt;
&lt;br /&gt;
Create unxlngx6.pro/misc/seamonkey-source-1.1.11.unpack:&lt;br /&gt;
 $ cd unxlngx6.pro/misc/&lt;br /&gt;
 $ echo &amp;quot;sh -c \&amp;quot;tar -xf ../../../download/seamonkey-1.1.11.source.tar.gz\&amp;quot;&amp;quot; &amp;gt; seamonkey-source-1.1.11.unpack&lt;br /&gt;
&lt;br /&gt;
Now dmake in moz subdir give me a general idea of the job&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87612</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87612"/>
		<updated>2008-07-22T12:09:03Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08: Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/08/08 - 20/08/08: Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/08/08: Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/08/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87597</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87597"/>
		<updated>2008-07-22T09:17:38Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08 Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/08/08 - 20/08/08 : Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/08/08 Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;br /&gt;
&lt;br /&gt;
== 21/08/08: Finish setup &amp;amp;&amp;amp; Documentation ==&lt;br /&gt;
&lt;br /&gt;
To finish setup, we need to extract each rpm file :&lt;br /&gt;
 $ cd /&lt;br /&gt;
 $ rpm2cpio /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US/RPMS/package_arch.rpm | cpio --extract&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039; : can&amp;#039;t use * (globing) with rpm2cpio&lt;br /&gt;
&lt;br /&gt;
If need to restore few files, rpm come from this archive :&lt;br /&gt;
 /home/mano/DEV23/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_download/OOo_3.0.0_080721_unxlngx6_install.tar.gz &lt;br /&gt;
&lt;br /&gt;
Try to run software:&lt;br /&gt;
 $ openoffice.org3.0&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: /opt/openoffice.org3.0/program/soffice: No such file or directory&lt;br /&gt;
 /usr/bin/openoffice.org3.0: line 2: exec: /opt/openoffice.org3.0/program/soffice: cannot execute: No such file or directory&lt;br /&gt;
&lt;br /&gt;
So after looking:&lt;br /&gt;
 $ mv /opt/openoffice.org3 /opt/openoffice.org3.0&lt;br /&gt;
&lt;br /&gt;
Enjoy it !&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To know milestone of a CVS repository:&lt;br /&gt;
 $ cat /CVS/Repository ...&lt;br /&gt;
 &lt;br /&gt;
An example(from ericb2), with a child work space(cws):&lt;br /&gt;
 $ cat CVS/Tag&lt;br /&gt;
 Tcws_dev300_wae4binfilter01&lt;br /&gt;
&lt;br /&gt;
cws name is :  cws_dev300_wae4binfilter01, master workspace is dev300 (DEV300)&lt;br /&gt;
&lt;br /&gt;
To download a module of this cws :&lt;br /&gt;
 $ cvs -z4 co -r cws_dev300_wae4binfilter01 module&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87546</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87546"/>
		<updated>2008-07-21T21:45:40Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* 20/08/08 Compilation break break ... end */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08 Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/08/08 - 20/08/08 : Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/08/08 Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok the compilation finished&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87545</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87545"/>
		<updated>2008-07-21T21:45:15Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* 20/08/08 Compilation break break ... end */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08 Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/08/08 - 20/08/08 : Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/08/08 Compilation break break ... end ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok it&amp;#039;s finished&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87544</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87544"/>
		<updated>2008-07-21T21:44:45Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* 20/08/08 Compilation break break ... end */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08 Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/08/08 - 20/08/08 : Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/08/08 Compilation break break break ... ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;br /&gt;
&lt;br /&gt;
Ok it&amp;#039;s finished&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87543</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87543"/>
		<updated>2008-07-21T21:39:12Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;irc.freenode.net:&amp;#039;&amp;#039;&amp;#039; channels : #educooo,#education.openoffice.org,#dev.openoffice.org,#go-oo,#lealinux &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08 Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/08/08 - 20/08/08 : Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/08/08 Compilation break break break ... ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a problem from my system, need to get manually the magic file of rpm from source:&lt;br /&gt;
 $ cp /var/tmp/portage/app-arch/rpm-4.4.6-r3/work/rpm-4.4.6/rpm.magic /usr/lib/rpm/magic&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87538</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87538"/>
		<updated>2008-07-21T21:10:11Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08 Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/08/08 - 20/08/08 : Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;br /&gt;
&lt;br /&gt;
Another probleme appear:&lt;br /&gt;
 error : &amp;quot;The JRE specified by the bootstrap variable UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be recognized.&lt;br /&gt;
 	Check the values and make sure that you use a plug-in library that can recognize that JRE.javaldx failed!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
UNO_JAVA_JFW_ENV_JREHOME is using so: &lt;br /&gt;
 $ UNO_JAVA_JFW_ENV_JREHOME=&amp;quot;/usr/lib/jvm/sun-jdk-1.6/&amp;quot; &lt;br /&gt;
 $ export UNO_JAVA_JFW_ENV_JREHOME&lt;br /&gt;
&lt;br /&gt;
But nothing change&lt;br /&gt;
&lt;br /&gt;
== 20/08/08 Compilation break break break ... ==&lt;br /&gt;
 &lt;br /&gt;
After many hours decide to take all from begin, with this time jdk-1.5 and no jdk-1.6 :&lt;br /&gt;
 $ dmake clean&lt;br /&gt;
 &lt;br /&gt;
I reconfigure with this flag:&lt;br /&gt;
 --with-jdk-home=&amp;quot;/usr/lib/jdk-1.5/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download and install ccache 2.4 to win time if need recompilation&lt;br /&gt;
 $ export CC=&amp;quot;ccache gcc&amp;quot;&lt;br /&gt;
 $ export CXX=&amp;quot;ccache g++&amp;quot;&lt;br /&gt;
 $ dmake&lt;br /&gt;
 &lt;br /&gt;
I have got a new error :&lt;br /&gt;
 PROBLEM: magic_load(ms, &amp;quot;/usr/lib/rpm/magic&amp;quot;) failed: could not find any magic files!&lt;br /&gt;
 Try 1 : Could not execute &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 ...&lt;br /&gt;
 ERROR: &amp;quot;rpmbuild -bb RPMS/ooobasis3.0-gnome-integration.spec --target x86_64 2&amp;gt;&amp;amp;1 |&amp;quot;!&lt;br /&gt;
 in function: create_packages_without_epm&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87395</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87395"/>
		<updated>2008-07-20T17:58:03Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08 Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;br /&gt;
&lt;br /&gt;
== 19/08/08 - 20/08/08 : Continue compilation ==&lt;br /&gt;
&lt;br /&gt;
The install don&amp;#039;t find few of jdk header and lib, I found them :&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jni.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jni_md.h /usr/include&lt;br /&gt;
&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/jawt.h /usr/include&lt;br /&gt;
 $ ln -s /etc/java-config-2/current-system-vm/include/linux/jawt_md.h /usr/include&lt;br /&gt;
 &lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/xawt/libmawt.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libjava.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/server/libjvm.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libmlib_image.so  /usr/lib64/&lt;br /&gt;
 $ ln -s /opt/sun-jdk-1.5.0.15/jre/lib/amd64/libverify.so  /usr/lib64/&lt;br /&gt;
&lt;br /&gt;
Have another problem with jurt.jar and ridl.jar.&lt;br /&gt;
 error : &amp;quot;class file has wrong version 50.0, should be 49.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
It was because I do an update of jdk before the end of the dmake so &lt;br /&gt;
&lt;br /&gt;
it mixed code compiled: class file version 50.0 is used by Java 6.0, and 49.0 is used by Java 5.0.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87234</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87234"/>
		<updated>2008-07-19T18:35:53Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* 18/08/08 Finish to build mozilla module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08 Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;br /&gt;
&lt;br /&gt;
Other line is here to indicate the place in the code&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87233</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87233"/>
		<updated>2008-07-19T18:33:43Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;br /&gt;
&lt;br /&gt;
== 18/08/08 Finish to build mozilla module ==&lt;br /&gt;
&lt;br /&gt;
After that discover a part of the problem, I go to see the configure of mozilla.&lt;br /&gt;
&lt;br /&gt;
I waste some hours, so I tryed to restore the original patch with :&lt;br /&gt;
 $ cd moz&lt;br /&gt;
 $ cvs up&lt;br /&gt;
		&lt;br /&gt;
And this time the build is ok (don&amp;#039;t know why)&lt;br /&gt;
	&lt;br /&gt;
ericb2 told me to create archive of the module moz&lt;br /&gt;
 $ dmake zip&lt;br /&gt;
	&lt;br /&gt;
So next time I will configure with --disable-build-mozilla&lt;br /&gt;
&lt;br /&gt;
I create repertory work in moz and download seamonkey last version 1.1.11 in.&lt;br /&gt;
 $ mkdir work&lt;br /&gt;
	&lt;br /&gt;
Read mozilla-source-1.7.5.patch for the first time, don&amp;#039;t understand every things.&lt;br /&gt;
Need to revise patch syntax :&lt;br /&gt;
 + line which will be add&lt;br /&gt;
 - line which will be delete&lt;br /&gt;
	&lt;br /&gt;
 ! block which will be replace&lt;br /&gt;
 --- &lt;br /&gt;
 ! by this block&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87232</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87232"/>
		<updated>2008-07-19T18:05:03Z</updated>

		<summary type="html">&lt;p&gt;Mano622: /* 17/07/08: Configuration and begin compilation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes, the mozilla configure detect an i686.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87231</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87231"/>
		<updated>2008-07-19T17:54:47Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
== 17/07/08: Configuration and begin compilation ==&lt;br /&gt;
&lt;br /&gt;
I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).&lt;br /&gt;
&lt;br /&gt;
I try to configure the software, whith this flags enabled :&lt;br /&gt;
 $ cd DEV300_m23/config_office &amp;amp;&amp;amp; ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	&lt;br /&gt;
&lt;br /&gt;
 --with-lang=ALL     : for every language.&lt;br /&gt;
 --with-dict=ALL     : dictionary for every language. &lt;br /&gt;
 --without-fonts     : no Bitstream Vera police I have already it with X.	&lt;br /&gt;
 --with-epm=internal : solve the rpm depends&lt;br /&gt;
&lt;br /&gt;
But I have got some errors, I need to install tcsh and rpm so :&lt;br /&gt;
 $ emerge tcsh rpm &lt;br /&gt;
&lt;br /&gt;
emerge is the command of the package management system from [http://www.gentoo.org/ Gentoo]&lt;br /&gt;
&lt;br /&gt;
ericb2 told me after that to don&amp;#039;t have depends I must use this flags:&lt;br /&gt;
 &lt;br /&gt;
 --with-epm=internal&lt;br /&gt;
 --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.&lt;br /&gt;
 $ cd moz&lt;br /&gt;
&lt;br /&gt;
Missed modules hyphen and hunspell so:&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 hunspell hyphen&lt;br /&gt;
	&lt;br /&gt;
Configuration is ok, so save the line.&lt;br /&gt;
&lt;br /&gt;
Now set the setup context, and do bootstrap:&lt;br /&gt;
 $ cd .. &amp;amp;&amp;amp; source linux*.sh&lt;br /&gt;
 $ ./bootstrap&lt;br /&gt;
	&lt;br /&gt;
The linux*.sh script set vars, alias and unset few vars.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try to compile:&lt;br /&gt;
 $ dmake&lt;br /&gt;
&lt;br /&gt;
But quicly :&lt;br /&gt;
&lt;br /&gt;
 first error whith moz :&lt;br /&gt;
 {standard input}: Assembler messages:	&lt;br /&gt;
 {standard input}:8: Error: suffix or operands invalid for `push&amp;#039;&lt;br /&gt;
 this error hapenned when i386 assembler code arrive on x86_64.&lt;br /&gt;
	&lt;br /&gt;
I go to the moz subdir, and modified patch with :&lt;br /&gt;
 $ dmake patch&lt;br /&gt;
 $ dmake create_patch&lt;br /&gt;
			&lt;br /&gt;
But the same problem re-appear.&lt;br /&gt;
&lt;br /&gt;
When try to resolv problem seen that in the Makefile x86 field is execute.&lt;br /&gt;
&lt;br /&gt;
Yes ./configure of mozilla check an i686.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87230</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=87230"/>
		<updated>2008-07-19T17:27:27Z</updated>

		<summary type="html">&lt;p&gt;Mano622: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;br /&gt;
&lt;br /&gt;
Here are some information about my work in the project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configuration :&amp;#039;&amp;#039;&amp;#039; Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+&lt;br /&gt;
&lt;br /&gt;
== 16/07/08: Download and get information about the project ==&lt;br /&gt;
&lt;br /&gt;
First get the latest dev souce with cvs:&lt;br /&gt;
 $ export CVSROOT=&amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
 $ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons&lt;br /&gt;
	&lt;br /&gt;
Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction&lt;br /&gt;
&lt;br /&gt;
Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=86943</id>
		<title>User:Mano622</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mano622&amp;diff=86943"/>
		<updated>2008-07-17T18:49:18Z</updated>

		<summary type="html">&lt;p&gt;Mano622: New page: Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.&lt;/div&gt;</summary>
		<author><name>Mano622</name></author>
	</entry>
</feed>