cvs commit: hints docbook.txt mozilla.txt openoffice.txt

timothy at linuxfromscratch.org timothy at linuxfromscratch.org
Sun Sep 22 10:05:44 PDT 2002


timothy     02/09/22 10:05:44

  Modified:    .        docbook.txt mozilla.txt openoffice.txt
  Log:
  Updates by author.
  
  Revision  Changes    Path
  1.5       +6 -1      hints/docbook.txt
  
  Index: docbook.txt
  ===================================================================
  RCS file: /home/cvsroot/hints/docbook.txt,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- docbook.txt	18 Sep 2002 19:12:34 -0000	1.4
  +++ docbook.txt	22 Sep 2002 17:05:44 -0000	1.5
  @@ -63,6 +63,11 @@
   downloaded followed by the instructions. Before downloading the files below,
   download the files from the site mentioned above.
   
  +This hint is primarily written for a user wanting to install the prereqs for
  +GNOME. Hence note that scrollkeeper has some dependencies that may not have been
  +installed. So don't install scrollkeeper right now but come back to check on the
  +instructions when scrollkeeper is installed as per the GNOME instructions.
  +
   
   sgml-common (0.6.3):
   
  @@ -197,7 +202,7 @@
   	XML_DTD_DIR=/usr/share/xml/docbook/xml-dtd-${VERSION}
   	ROOTCATALOG=/etc/xml/catalog
   	CATALOG=/etc/xml/docbook
  -	install -d ${XMfile:///home/users/tushar/DATA/LFS-hints/index.htmlL_DTD_DIR}
  +	install -d ${XML_DTD_DIR}
   	cp -af docbook.cat *.dtd ent/ *.mod ${XML_DTD_DIR}
   	if [ ! -e ${ROOTCATALOG} ]; then xmlcatalog --noout --create ${ROOTCATALOG}; fi
   	if [ ! -e ${CATALOG} ]; then xmlcatalog --noout --create ${CATALOG}; fi
  
  
  
  1.11      +19 -2     hints/mozilla.txt
  
  Index: mozilla.txt
  ===================================================================
  RCS file: /home/cvsroot/hints/mozilla.txt,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- mozilla.txt	18 Sep 2002 19:12:34 -0000	1.10
  +++ mozilla.txt	22 Sep 2002 17:05:44 -0000	1.11
  @@ -245,8 +245,8 @@
   Disable support for HTML editing (optional).
   	echo ac_add_options --enable-plaintext-editor-only >> .mozconfig
   
  -Enable extensions you want.
  -	echo ac_add_options --enable-extensions="all" >> .mozconfig
  +Enable extensions you want. I also enable spellchecker.
  +	echo ac_add_options --enable-extensions="all,spellcheck" >> .mozconfig
   You may also pick and choose the extensions you want. To disable everything
   other than the browser, use the following.
   	echo ac_add_options \
  @@ -312,6 +312,20 @@
   So do the following to verify that all header files are copied.
   	cp -Lur dist/include/* $MOZ_PREFIX/include/
   
  +Now we make some symlinks so that apps (OpenOffice, Gnome) that depend on
  +Mozilla don't need to know the mozilla version that is installed to use the
  +headers and libraries installed by Moz.
  +	ln -nsf mozilla-${VERSION} ${MOZ_PREFIX}/include/mozilla
  +	ln -nsf mozilla-${VERSION} ${MOZ_PREFIX}/lib/mozilla
  +
  +Also if you plan on compiling OpenOffice and link it to Mozilla address book,
  +then you will need to copy some static libraries that are not installed by "make
  +install".
  +	install -d ${MOZ_PREFIX}/lib/mozilla-${VERSION}/openoffice
  +	cp -f dist/lib/libembed_base_s.a dist/lib/liblber50.a \
  +		dist/lib/libmozreg_s.a \
  +		${MOZ_PREFIX}/lib/mozilla-${VERSION}/openoffice
  +
   Some apps look for netscape for starting the browser (RMS has started a movement
   so that these apps start recognizing the BROWSER env variable). Till then it is
   better to do a
  @@ -330,6 +344,9 @@
   	mkdir /opt/mozilla/include/security &&
   	cp -Lf private/security/*.h /opt/mozilla/include/security &&
   	cp -Lf public/security/*.h /opt/mozilla/include/security &&
  +	install -d /opt/mozilla/openoffice
  +	cp -f lib/libembed_base_s.a lib/liblber50.a lib/libmozreg_s.a \
  +		/opt/mozilla/openoffice
   	cd /opt &&
   	tar -cvzf mozilla-dist.tar.gz mozilla/
   The above commands create a binary distribution, installs it in /opt/mozilla,
  
  
  
  1.6       +40 -0     hints/openoffice.txt
  
  Index: openoffice.txt
  ===================================================================
  RCS file: /home/cvsroot/hints/openoffice.txt,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- openoffice.txt	18 Sep 2002 19:12:34 -0000	1.5
  +++ openoffice.txt	22 Sep 2002 17:05:44 -0000	1.6
  @@ -132,6 +132,46 @@
   	sed -e "s:^CFLAGSOPT=.*:CFLAGSOPT=${CFLAGS}:g" \
   		unxlngi4.mk.orig > unxlngi4.mk
   
  +The mozilla libraries that are included with openoffice are pretty old and link
  +against gcc-3.0.x. Instead what we will do is to recreate the mozilla files that
  +are needed by OpenOffice. Set MOZ_PREFIX to the prefix where you have installed
  +Mozilla. Also note that you will need slightly modified Mozilla installation
  +instructions. Check the Mozilla hint for the update. Don't worry if some of the
  +libraries seem to be missing. I had problems using these instructions with
  +Mozilla 1.2a, but 1.0.1 was ok.
  +	cd $OOSRC
  +	rm -f moz/zipped/LINUXGCCI*.zip
  +	cd ${MOZ_PREFIX}/include/mozilla
  +	zip -r ${OOSRC}/moz/zipped/LINUXGCCIinc.zip *
  +	cd ${MOZ_PREFIX}/lib/mozilla
  +	zip -j ${OOSRC}/moz/zipped/LINUXGCCIlib.zip openoffice/lib*.a \
  +		libnspr4.so libxpcom.so
  +	cd ${OOSRC}/..
  +	mkdir -p mozilla/components mozilla/defaults/pref
  +	cd mozilla
  +	for i in absyncsvc addrbook mork mozldap necko pref profile rdf strres \
  +		uconv ucvcn ucvibm ucvja ucvko ucvlatin ucvtw ucvtw2 \
  +		unicharutil uriloader vcard xpconnect
  +	do
  +		cp -a ${MOZ_PREFIX}/lib/mozilla/components/lib${i}.so components
  +	done
  +	for i in necko_dns xpcom_xpti xpcom_threads xpcom_io xpcom_ds \
  +		xpcom_components xpcom_base
  +	do
  +		cp -a ${MOZ_PREFIX}/lib/mozilla/components/${i}.xpt components/
  +	done
  +	for i in xpti xptitemp
  +	do
  +		cp -a ${MOZ_PREFIX}/lib/mozilla/components/${i}.dat components/
  +	done
  +	cp -a ${MOZ_PREFIX}/lib/mozilla/defaults/pref/*.js defaults/pref/
  +	for i in mozjs msgbaseutil ldap50 nspr4 plc4 plds4 xpcom prldap50
  +	do
  +		cp -a ${MOZ_PREFIX}/lib/mozilla/lib${i}.so .
  +	zip -r ${OOSRC}/moz/zipped/LINUXGCCIruntime.zip *
  +	cd ..
  +	rm -rf mozilla/
  +
   Configure OOo with the options. This will generate LinuxIntelEnv.Set in $OOSRC
   directory. We need to run autoconf since in the above patches we patch
   configure.in but not configure.
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe hints' in the subject header of the message



More information about the hints mailing list