diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2006-03-25 18:22:29 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2006-03-25 18:22:29 +0000 |
commit | 41e7c547372b8eede642d4e418f3dd86fd76537e (patch) | |
tree | 9319f324f208e659e12b369b38015fa1584016bf /app-office | |
parent | Added ~ppc. Bug 127436 (diff) | |
download | historical-41e7c547372b8eede642d4e418f3dd86fd76537e.tar.gz historical-41e7c547372b8eede642d4e418f3dd86fd76537e.tar.bz2 historical-41e7c547372b8eede642d4e418f3dd86fd76537e.zip |
Update to newer patchset, fix python scripting and mono-bridge
Package-Manager: portage-2.1_pre7
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/openoffice/ChangeLog | 8 | ||||
-rw-r--r-- | app-office/openoffice/Manifest | 27 | ||||
-rw-r--r-- | app-office/openoffice/files/2.0.2/pythonfix.diff | 22 | ||||
-rw-r--r-- | app-office/openoffice/files/2.0.2/removecrystalcheck.diff | 18 | ||||
-rw-r--r-- | app-office/openoffice/files/2.0.2/use-system-xt.diff | 1078 | ||||
-rw-r--r-- | app-office/openoffice/files/digest-openoffice-2.0.2 | 12 | ||||
-rw-r--r-- | app-office/openoffice/openoffice-2.0.2.ebuild | 23 |
7 files changed, 63 insertions, 1125 deletions
diff --git a/app-office/openoffice/ChangeLog b/app-office/openoffice/ChangeLog index e0d76ba3d559..d5b084719eb4 100644 --- a/app-office/openoffice/ChangeLog +++ b/app-office/openoffice/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-office/openoffice # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.199 2006/03/17 16:32:35 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.200 2006/03/25 18:22:29 suka Exp $ + + 25 Mar 2006; Andreas Proschofsky <suka@gentoo.org> + +files/2.0.2/pythonfix.diff, -files/2.0.2/removecrystalcheck.diff, + -files/2.0.2/use-system-xt.diff, openoffice-2.0.2.ebuild: + Update to newer patchset, which contains some fixes. Also fix Python + scripting and add the mono-bridge *openoffice-2.0.1-r1 (17 Mar 2006) diff --git a/app-office/openoffice/Manifest b/app-office/openoffice/Manifest index 7d2e1248902f..b6cbbbc85597 100644 --- a/app-office/openoffice/Manifest +++ b/app-office/openoffice/Manifest @@ -1,24 +1,21 @@ -MD5 a5c7fcd3537c89ff661f3f9f2795f524 ChangeLog 42850 -RMD160 522f80b1381368526587b9e4966aa90e1821d55d ChangeLog 42850 -SHA256 7e2fc6bbe905da3c5acda0e7c4a974b919307ae2384534bc1061701f36d02f28 ChangeLog 42850 +MD5 6ed518d48c22437d8bac2e20dfd750d3 ChangeLog 43140 +RMD160 39c5d4f9bc90a638d9f5ff7b7b8b5dc00709f671 ChangeLog 43140 +SHA256 5411421afa680d232cda0aa2177ce6cba1255fc56b7ea952dd79f1e08fad1f4f ChangeLog 43140 MD5 500f7e71be57d40b0a8042cab1484df9 files/2.0.1/alwayscrystal.diff 3222 RMD160 6f563dccad523db881def1fdb711df3949c2a687 files/2.0.1/alwayscrystal.diff 3222 SHA256 22af14b2c3bd7d796eeda2f4a423f4290e71d2f2790a82038b837c6219133ef1 files/2.0.1/alwayscrystal.diff 3222 -MD5 d741869e1665d1423c2086f1723b93d7 files/2.0.2/removecrystalcheck.diff 572 -RMD160 5e7b6c92506bd7d3f4e09e3ee43656a6f4f8c30d files/2.0.2/removecrystalcheck.diff 572 -SHA256 06a05ee5a27ce6a1de1c9eeebe4e22b860d0a6292f778ec6c81aa2c28c1daa08 files/2.0.2/removecrystalcheck.diff 572 -MD5 06529786538c2af9221a201193ea0b25 files/2.0.2/use-system-xt.diff 48815 -RMD160 298a19f11f5c7e4a7809a679e81a9886812cb9be files/2.0.2/use-system-xt.diff 48815 -SHA256 10b25f5d80b8b65497c7c6af33f133439d55a9d2f6f5f0ebedfeb6d9c5170693 files/2.0.2/use-system-xt.diff 48815 +MD5 919be84ef3c8315b84c37cdd1f5b947d files/2.0.2/pythonfix.diff 523 +RMD160 9e60f68dae950bc929d454a5d5d0a050a03b90e9 files/2.0.2/pythonfix.diff 523 +SHA256 adf13d129e3a3a6fb513ada2046af98d10d4d46953603da13be8e4ae75d56527 files/2.0.2/pythonfix.diff 523 MD5 9017e3971f27ac77833ae962069feccf files/digest-openoffice-2.0.1 2024 RMD160 94f476c151e7c42212f2d6dd05b48443ca784e1e files/digest-openoffice-2.0.1 2024 SHA256 ac0d68a776f61080710f7f031ed79457a1f1a30bc24abcc85a563ce1df2d9d46 files/digest-openoffice-2.0.1 2024 MD5 9017e3971f27ac77833ae962069feccf files/digest-openoffice-2.0.1-r1 2024 RMD160 94f476c151e7c42212f2d6dd05b48443ca784e1e files/digest-openoffice-2.0.1-r1 2024 SHA256 ac0d68a776f61080710f7f031ed79457a1f1a30bc24abcc85a563ce1df2d9d46 files/digest-openoffice-2.0.1-r1 2024 -MD5 0836fbc2095bfcc268aa53d173315588 files/digest-openoffice-2.0.2 2250 -RMD160 2f673ea71ecd7b4ba33308a1970747878cb53e57 files/digest-openoffice-2.0.2 2250 -SHA256 89a598733c3c4bb4cac78ef0ce28549043db2df6298b90b84359d236ae44d8b6 files/digest-openoffice-2.0.2 2250 +MD5 866bebf4804bd0328df9abc31e854c90 files/digest-openoffice-2.0.2 2726 +RMD160 678507d37b4ae3f54c5dffa09ceb1b02b38d14c9 files/digest-openoffice-2.0.2 2726 +SHA256 9d862fba6c0283bbd5e77282c6442a1438d278b843a71da1c720aeab8986033a files/digest-openoffice-2.0.2 2726 MD5 e3ec4a70395943b59adad7fc4f0538d7 metadata.xml 461 RMD160 3e99c165e962e73417462c6df7a476a558b3ae18 metadata.xml 461 SHA256 7a25927f2c830703539753c0f7295551795419ef0d05b72db505a2ac1094d291 metadata.xml 461 @@ -28,6 +25,6 @@ SHA256 56d3fe2e3e5c6ca3b4edc264b7e60ff1490a0e355d0b939f6805d347638f3019 openoffi MD5 7cc2820c5adc1d257bff44f894cf2767 openoffice-2.0.1.ebuild 7252 RMD160 5b5adfc222b78c5ecd065c0674b8ea50e839bc84 openoffice-2.0.1.ebuild 7252 SHA256 20105cce8cc455b7674d0e86b7bcdf1097ee94f3d6a9b1fb521517d7ff81138e openoffice-2.0.1.ebuild 7252 -MD5 52728353d8f0dc145ef536e733ad94f4 openoffice-2.0.2.ebuild 7624 -RMD160 3bf132fb290c2be3799cf1d9e579f6f8dc03c0cd openoffice-2.0.2.ebuild 7624 -SHA256 51be1d7fe3e1d56c9df1f93dff512dd6e9112c6e5486c123bea5a451904a6d5b openoffice-2.0.2.ebuild 7624 +MD5 ef05cb2b82ab1923450c70b57563b2ab openoffice-2.0.2.ebuild 7743 +RMD160 cc19f28efb3bf23ddeb4f6fef2c583f031c40e47 openoffice-2.0.2.ebuild 7743 +SHA256 6b614c99b729517d6ba9ec7e567415b221fe5d30ee14c1b3f70f746e36a5700d openoffice-2.0.2.ebuild 7743 diff --git a/app-office/openoffice/files/2.0.2/pythonfix.diff b/app-office/openoffice/files/2.0.2/pythonfix.diff new file mode 100644 index 000000000000..a64755cbb2d1 --- /dev/null +++ b/app-office/openoffice/files/2.0.2/pythonfix.diff @@ -0,0 +1,22 @@ +--- bin/package-ooo ++++ bin/package-ooo +@@ -57,6 +57,7 @@ + #!/bin/sh + export OOO_EXTRA_ARG='$2' ++unset PYTHONPATH + $OOINSTBASE/program/ooqstart $3 "\$@" + EOT + chmod 755 $1 + } +--- bin/ooo-wrapper.in ++++ bin/ooo-wrapper.in +@@ -92,6 +89,9 @@ + print STDERR "\n\n --- Warning - OO.o will not work without a mounted /proc filesystem --- \n\n\n"; + } + ++# Clear PYTHONPATH, otherwise Python scripting does not work ++delete $ENV{'PYTHONPATH'}; ++ + # And here we go. + exec "$SystemInstallDir/program/$Binary", @ooo_argv + diff --git a/app-office/openoffice/files/2.0.2/removecrystalcheck.diff b/app-office/openoffice/files/2.0.2/removecrystalcheck.diff deleted file mode 100644 index a9cb2d7c731a..000000000000 --- a/app-office/openoffice/files/2.0.2/removecrystalcheck.diff +++ /dev/null @@ -1,18 +0,0 @@ ---- bin/unpack -+++ bin/unpack -@@ -266,15 +266,6 @@ - rm -f $CUSTOM_DIR/industrial/vcl/source/src/check*; - fi - --# needed until integration of iconswitching2 --check_tarball $SRCDIR/$OOO_CRYSTAL_IMAGES --tar xzf $SRCDIR/$OOO_CRYSTAL_IMAGES -C $CUSTOM_DIR || exit 1; --if test ! -d $OOBUILDDIR/external_images ; then -- mkdir $OOBUILDDIR/external_images --fi --if test ! -f $OOBUILDDIR/external_images/$OOO_CRYSTAL_IMAGES ; then -- cp $SRCDIR/$OOO_CRYSTAL_IMAGES $OOBUILDDIR/external_images/ --fi - - if test "x$OOO_EXTRA_ARTWORK" != "x"; then - # Html export rulers etc. diff --git a/app-office/openoffice/files/2.0.2/use-system-xt.diff b/app-office/openoffice/files/2.0.2/use-system-xt.diff deleted file mode 100644 index 28f13b94eff2..000000000000 --- a/app-office/openoffice/files/2.0.2/use-system-xt.diff +++ /dev/null @@ -1,1078 +0,0 @@ -Index: config_office/configure.in -=================================================================== ---- config_office/configure.in.orig 2006-03-11 21:22:53.000000000 +0100 -+++ config_office/configure.in 2006-03-11 21:25:44.000000000 +0100 -@@ -312,6 +312,13 @@ AC_ARG_WITH(xalan-jar, - [ --with-xalan-jar=JARFILE Specify path to jarfile manually ], - [ XALAN_JAR="$withval" - ]) -+AC_ARG_WITH(system-xt, -+[ --with-system-xt Use xt already on system -+],,) -+AC_ARG_WITH(xt-jar, -+[ --with-xt-jar=JARFILE Specify path to jarfile manually ], -+[ XT_JAR="$withval" -+]) - AC_ARG_WITH(system-sablot, - [ --with-system-sablot Use sablot already on system - ],,) -@@ -3054,6 +3061,34 @@ BUILD_TYPE="$BUILD_TYPE XALAN" - fi - - dnl =================================================================== -+dnl Check for system xt -+dnl =================================================================== -+AC_MSG_CHECKING([which xt to use]) -+if test -n "$with_system_xt" -o -n "$with_system_libs" && \ -+ test "$with_system_xt" != "no"; then -+ AC_MSG_RESULT([external]) -+ SYSTEM_XT=YES -+ if test -z $XT_JAR; then -+ AC_CHECK_FILE(/usr/share/java/xt.jar, -+ [ XT_JAR=/usr/share/java/xt.jar ], -+ [ AC_CHECK_FILE(/usr/share/java/xt-0.20050823.jar, -+ [ XT_JAR=/usr/share/java/xt-0.20050823.jar ], -+ [ AC_MSG_ERROR(xt.jar replacement not found)] -+ ) -+ ] -+ ) -+ else -+ AC_CHECK_FILE($XT_JAR, [], -+ [ AC_MSG_ERROR(xt.jar replacement not found.)], []) -+ fi -+else -+ AC_MSG_RESULT([internal]) -+ SYSTEM_XT=NO -+fi -+AC_SUBST(SYSTEM_XT) -+AC_SUBST(XT_JAR) -+ -+dnl =================================================================== - dnl Check for system sablot - dnl =================================================================== - AC_MSG_CHECKING([which sablot to use]) -Index: config_office/set_soenv.in -=================================================================== ---- config_office/set_soenv.in.orig 2006-03-11 21:22:53.000000000 +0100 -+++ config_office/set_soenv.in 2006-03-11 21:25:44.000000000 +0100 -@@ -1813,6 +1813,8 @@ ToFile( "SYSTEM_XERCES", "@SYSTEM_XE - ToFile( "XERCES_JAR", "@XERCES_JAR@", "e" ); - ToFile( "SYSTEM_XALAN", "@SYSTEM_XALAN@", "e" ); - ToFile( "XALAN_JAR", "@XALAN_JAR@", "e" ); -+ToFile( "SYSTEM_XT", "@SYSTEM_XT@", "e" ); -+ToFile( "XT_JAR", "@XT_JAR@", "e" ); - ToFile( "SYSTEM_SABLOT", "@SYSTEM_SABLOT@", "e" ); - ToFile( "SABLOT_LIBS", "@SABLOT_LIBS@", "e" ); - ToFile( "SYSTEM_ODBC_HEADERS","@SYSTEM_ODBC_HEADERS@","e" ); -Index: external/prj/d.lst -=================================================================== ---- external/prj/d.lst.orig 2006-03-11 21:22:53.000000000 +0100 -+++ external/prj/d.lst 2006-03-11 21:25:44.000000000 +0100 -@@ -23,7 +23,6 @@ mkdir: %_DEST%\inc%_EXT%\X11\extensions - mkdir: %_DEST%\pck%_EXT% - ..\%__SRC%\bin\*.zip %_DEST%\pck%_EXT%\*.zip - ..\common.pro\bin\*.zip %_DEST%\pck%_EXT%\*.zip --..\common\xt.jar %_DEST%\bin%_EXT%\xt.jar - - ..\audio\rtufiles\lib\audio\libaudio.a %_DEST%\lib%_EXT%\libaudio.a - ..\audio\rtufiles\lib\audio\*.h %_DEST%\inc%_EXT%\audio\* -Index: helpcontent2/settings.pmk -=================================================================== ---- helpcontent2/settings.pmk.orig 2006-03-11 21:22:53.000000000 +0100 -+++ helpcontent2/settings.pmk 2006-03-11 21:25:44.000000000 +0100 -@@ -1,8 +1,9 @@ -+XT_JAR*=$(SOLARBINDIR)$/xt.jar - XML_APIS_JAR*=$(SOLARBINDIR)$/xml-apis.jar - XERCES_JAR*=$(SOLARBINDIR)$/xercesImpl.jar - DB_JAR*=$(SOLARBINDIR)$/db.jar - --my_cp:=$(CLASSPATH)$(PATH_SEPERATOR)$(XML_APIS_JAR)$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/unoil.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/ridl.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/jurt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/jut.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xmlsearch.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xmlhelp.jar$(PATH_SEPERATOR)$(DB_JAR) -+my_cp:=$(CLASSPATH)$(PATH_SEPERATOR)$(XML_APIS_JAR)$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(XT_JAR)$(PATH_SEPERATOR)$(SOLARBINDIR)$/xt-xmlsearch.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/unoil.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/ridl.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/jurt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/jut.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xmlsearch.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xmlhelp.jar$(PATH_SEPERATOR)$(DB_JAR) - - .INCLUDE : $(INCCOM)$/aux_langs.mk - -Index: officecfg/org/openoffice/configuration/makefile.mk -=================================================================== ---- officecfg/org/openoffice/configuration/makefile.mk.orig 2006-03-11 21:22:53.000000000 +0100 -+++ officecfg/org/openoffice/configuration/makefile.mk 2006-03-11 21:25:44.000000000 +0100 -@@ -46,7 +46,14 @@ PACKAGE=org$/openoffice$/configuration - - .INCLUDE : settings.mk - --JARFILES = jaxp.jar parser.jar xt.jar -+# Why do we depend on that? solenv/inc/target.mk:283:.IF "$(NEWCLASS)"!="" -+JARFILES = .. -+ -+.IF "$(SYSTEM_XT)" == "YES" -+XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(XT_JAR) -+.ELSE -+JARFILES = xt.jar -+.ENDIF - - JAVACLASSFILES= \ - $(CLASSDIR)$/$(PACKAGE)$/XMLDefaultGenerator.class \ -Index: officecfg/org/openoffice/helper/makefile.mk -=================================================================== ---- officecfg/org/openoffice/helper/makefile.mk.orig 2006-03-11 21:22:53.000000000 +0100 -+++ officecfg/org/openoffice/helper/makefile.mk 2006-03-11 21:25:44.000000000 +0100 -@@ -43,7 +43,14 @@ PACKAGE=org$/openoffice$/helper - - .INCLUDE : settings.mk - --JARFILES = jaxp.jar parser.jar -+# Why do we depend on that? solenv/inc/target.mk:283:.IF "$(NEWCLASS)"!="" -+JARFILES = .. -+ -+.IF "$(SYSTEM_XT)" == "YES" -+XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(XT_JAR) -+.ELSE -+JARFILES = xt.jar -+.ENDIF - - JAVACLASSFILES= \ - $(CLASSDIR)$/$(PACKAGE)$/DefaultNamespaceRemover.class \ -Index: officecfg/prj/build.lst -=================================================================== ---- officecfg/prj/build.lst.orig 2006-03-11 21:22:53.000000000 +0100 -+++ officecfg/prj/build.lst 2006-03-11 21:25:44.000000000 +0100 -@@ -1,4 +1,4 @@ --oc officecfg : soltools solenv external transex3 NULL -+oc officecfg : soltools solenv xt transex3 NULL - oc officecfg usr30073 - none NULL - oc officecfg usr1 - all oc_mkout NULL - oc officecfg\org\openoffice\configuration nmake - all oc_config NULL -Index: readlicense_oo/prj/build.lst -=================================================================== ---- readlicense_oo/prj/build.lst.orig 2006-03-11 21:22:53.000000000 +0100 -+++ readlicense_oo/prj/build.lst 2006-03-11 21:25:44.000000000 +0100 -@@ -1,4 +1,4 @@ --ro readlicense_oo : solenv external transex3 NULL -+ro readlicense_oo : solenv xt transex3 NULL - ro readlicense_oo usr1 - all ro_root NULL - ro readlicense_oo\docs\readme nmake - all ro_readme NULL - ro readlicense_oo\html nmake - all ro_html NULL -Index: readlicense_oo/util/makefile.pmk -=================================================================== ---- readlicense_oo/util/makefile.pmk.orig 2006-03-11 21:22:53.000000000 +0100 -+++ readlicense_oo/util/makefile.pmk 2006-03-11 21:25:44.000000000 +0100 -@@ -70,7 +70,7 @@ $(MISC)$/$(GUI)$/readme% : $(MISC)$/read - $(MISC)$/readme%.html : - @+-$(MKDIR) $(@:d) - .IF "$(XSLTPROC)"=="NO_XSLTPROC" -- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(XERCES_JAR) -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $(subst,_$(@:b:s/_/./:e:s/.//), $(COMMONMISC)$/$(TARGET)$/$(@:b).xrm) ..$/readme.xsl os1=$(OS) gui1=$(GUI) cp1=$(CPUNAME) com1=$(COM) lang1=$(@:b:s/_/./:e:s/.//) type=html file=$@ -+ $(JAVAI) $(JAVACPS) $(XT_JAR)$(PATH_SEPERATOR)$(XERCES_JAR) -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $(subst,_$(@:b:s/_/./:e:s/.//), $(COMMONMISC)$/$(TARGET)$/$(@:b).xrm) ..$/readme.xsl os1=$(OS) gui1=$(GUI) cp1=$(CPUNAME) com1=$(COM) lang1=$(@:b:s/_/./:e:s/.//) type=html file=$@ - .ELSE - sed 's|xmlns:xt="http://www.jclark.com/xt"||;s|extension-element-prefixes="xt"||;s|.*xt:document.*||;s|<xsl:output method = "HTML" doctype-public = "-//W3C//DTD HTML 3.2//EN" />|<xsl:output method="html" doctype-public="-//W3C//DTD HTML 3.2//EN" />|' < ..$/readme.xsl | xsltproc -o $@ \ - --stringparam os1 $(OS) \ -@@ -86,7 +86,7 @@ $(MISC)$/readme%.html : - $(MISC)$/readme%.txt : - @+-$(MKDIR) $(@:d) - .IF "$(XSLTPROC)"=="NO_XSLTPROC" -- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(XERCES_JAR) -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $(subst,_$(@:b:s/_/./:e:s/.//), $(COMMONMISC)$/$(TARGET)$/$(@:b).xrm) ..$/readme.xsl os1=$(OS) gui1=$(GUI) cp1=$(CPUNAME) com1=$(COM) lang1=$(@:b:s/_/./:e:s/.//) type=text file=$@ -+ $(JAVAI) $(JAVACPS) $(XT_JAR)$(PATH_SEPERATOR)$(XERCES_JAR) -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $(subst,_$(@:b:s/_/./:e:s/.//), $(COMMONMISC)$/$(TARGET)$/$(@:b).xrm) ..$/readme.xsl os1=$(OS) gui1=$(GUI) cp1=$(CPUNAME) com1=$(COM) lang1=$(@:b:s/_/./:e:s/.//) type=text file=$@ - .ELSE - sed 's|xmlns:xt="http://www.jclark.com/xt"||;s|extension-element-prefixes="xt"||;s|.*xt:document.*||;s|<xsl:output method = "HTML" doctype-public = "-//W3C//DTD HTML 3.2//EN" />|<xsl:output method="text" />|' < ..$/readme.xsl | xsltproc -o $@ \ - --stringparam os1 $(OS) \ -Index: scp2/source/ooo/file_ooo.scp -=================================================================== ---- scp2/source/ooo/file_ooo.scp.orig 2006-03-11 21:22:53.000000000 +0100 -+++ scp2/source/ooo/file_ooo.scp 2006-03-11 21:25:44.000000000 +0100 -@@ -767,7 +767,10 @@ End - #endif - - #ifdef SOLAR_JAVA -+STD_JAR_FILE( gid_File_Jar_Xt_XmlSearch, xt-xmlsearch ) -+#ifndef SYSTEM_XT - STD_JAR_FILE( gid_File_Jar_Xt, xt ) -+#endif - #ifndef SYSTEM_XALAN - STD_JAR_FILE( gid_File_Jar_Xalan, xalan ) - #endif -Index: scp2/source/ooo/makefile.mk -=================================================================== ---- scp2/source/ooo/makefile.mk.orig 2006-03-11 21:22:53.000000000 +0100 -+++ scp2/source/ooo/makefile.mk 2006-03-11 21:25:44.000000000 +0100 -@@ -166,6 +166,10 @@ SCPDEFS+=-DSYSTEM_BSH -DBSH_JAR=\""file: - SCPDEFS+=-DSYSTEM_HSQLDB -DHSQLDB_JAR=\""file://$(HSQLDB_JAR)"\" - .ENDIF - -+.IF "$(SYSTEM_XT)" == "YES" -+SCPDEFS+=-DSYSTEM_XT -DXT_JAR=\""file://$(XT_JAR)"\" -+.ENDIF -+ - .IF "$(SYSTEM_XML_APIS)" == "YES" - SCPDEFS+=-DSYSTEM_XML_APIS - .ENDIF -Index: scp2/source/ooo/module_hidden_ooo.scp -=================================================================== ---- scp2/source/ooo/module_hidden_ooo.scp.orig 2006-03-11 21:22:53.000000000 +0100 -+++ scp2/source/ooo/module_hidden_ooo.scp 2006-03-11 21:25:44.000000000 +0100 -@@ -142,6 +142,7 @@ Module gid_Module_Root_Files_3 - gid_File_Jar_Scriptproviderforjava, - gid_File_Jar_Scriptproviderforjavascript, - gid_File_Jar_Xt, -+ gid_File_Jar_Xt_XmlSearch, - gid_File_Jar_Xml_Apis, - gid_File_Jar_Bsh, - gid_File_Jar_Classes, -Index: scp2/source/ooo/profileitem_ooo.scp -=================================================================== ---- scp2/source/ooo/profileitem_ooo.scp.orig 2006-03-11 21:22:53.000000000 +0100 -+++ scp2/source/ooo/profileitem_ooo.scp 2006-03-11 21:25:44.000000000 +0100 -@@ -789,16 +789,21 @@ ProfileItem gid_Profileitem_Jvmfwk_Uno_J - ValueList21 = "$ORIGIN/classes/XMergeBridge.jar"; - ValueList22 = "$ORIGIN/classes/XSLTFilter.jar"; - ValueList23 = "$ORIGIN/classes/XSLTValidate.jar"; -- ValueList24 = "$ORIGIN/classes/xt.jar"; -- ValueList25 = "$ORIGIN/classes/activation.jar $ORIGIN/classes/agenda.jar"; -- ValueList26 = "$ORIGIN/classes/aportisdoc.jar $ORIGIN/classes/avmedia.jar"; -- ValueList27 = "$ORIGIN/classes/email.jar $ORIGIN/classes/fax.jar"; -- ValueList28 = "$ORIGIN/classes/pexcel.jar $ORIGIN/classes/pocketword.jar"; -- ValueList29 = "$ORIGIN/classes/mail.jar"; -+#ifdef SYSTEM_XT -+ ValueList24 = XT_JAR; -+#else -+ ValueList25 = "$ORIGIN/classes/xt.jar"; -+#endif -+ ValueList26 = "$ORIGIN/classes/activation.jar $ORIGIN/classes/agenda.jar"; -+ ValueList27 = "$ORIGIN/classes/aportisdoc.jar $ORIGIN/classes/avmedia.jar"; -+ ValueList28 = "$ORIGIN/classes/email.jar $ORIGIN/classes/fax.jar"; -+ ValueList29 = "$ORIGIN/classes/pexcel.jar $ORIGIN/classes/pocketword.jar"; -+ ValueList30 = "$ORIGIN/classes/mail.jar"; - #ifdef SYSTEM_HSQLDB -- ValueList30 = HSQLDB_JAR; -+ ValueList31 = HSQLDB_JAR; - #else -- ValueList31 = "$ORIGIN/classes/hsqldb.jar"; -+ ValueList32 = "$ORIGIN/classes/hsqldb.jar"; - #endif -- ValueList32 = "$ORIGIN/classes/sdbc_hsqldb.jar"; -+ ValueList33 = "$ORIGIN/classes/sdbc_hsqldb.jar"; -+ ValueList34 = "$ORIGIN/classes/xt-xmlsearch.jar"; - End -Index: solenv/inc/tg_config.mk -=================================================================== ---- solenv/inc/tg_config.mk.orig 2006-03-11 21:22:53.000000000 +0100 -+++ solenv/inc/tg_config.mk 2006-03-11 21:25:44.000000000 +0100 -@@ -57,6 +57,7 @@ $(XCS_TRIM) : $(DTDDIR)$/registry$/com - $(XSLDIR)$/schema_trim.xsl - .ENDIF - -+XT_JAR*=$(SOLARBINDIR)$/xt.jar - XML_APIS_JAR*=$(SOLARBINDIR)$/xml-apis.jar - XERCES_JAR*=$(SOLARBINDIR)$/xercesImpl.jar - -@@ -67,9 +68,9 @@ $(PROCESSOUT)$/registry$/schema$/$(PACKA - .IF "$(NO_INSPECTION)"=="" - $(JAVAI) $(JAVACPS) $(XML_APIS_JAR)$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl org.openoffice.configuration.Inspector $< - .ENDIF # "$(NO_INSPECTION)"=="" -- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(XERCES_JAR) -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_val.xsl $(@:d)$*.val componentName=$(PACKAGE).$* -- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(XERCES_JAR) -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/sanity.xsl $(@:d)$*.san -- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(XERCES_JAR) -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_trim.xsl $(@:d)$*.tmp -+ $(JAVAI) $(JAVACPS) $(XT_JAR)$(PATH_SEPERATOR)$(XERCES_JAR) -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_val.xsl $(@:d)$*.val componentName=$(PACKAGE).$* -+ $(JAVAI) $(JAVACPS) $(XT_JAR)$(PATH_SEPERATOR)$(XERCES_JAR) -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/sanity.xsl $(@:d)$*.san -+ $(JAVAI) $(JAVACPS) $(XT_JAR)$(PATH_SEPERATOR)$(XERCES_JAR) -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_trim.xsl $(@:d)$*.tmp - $(JAVAI) $(JAVACPS) $(XML_APIS_JAR)$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@ - .ELSE - # xsltproc already validates against the dtd. For additional validation, -@@ -104,7 +105,7 @@ $(PROCESSOUT)$/registry$/res$/{$(alllang - @+echo -------------+ creating locale dependent resource bundles - -$(MKDIRHIER) $(@:d) - .IF "$(XSLTPROC)"=="NO_XSLTPROC" -- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(XERCES_JAR) -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/resource.xsl $@ locale={$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))} -+ $(JAVAI) $(JAVACPS) $(XT_JAR)$(PATH_SEPERATOR)$(XERCES_JAR) -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/resource.xsl $@ locale={$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))} - .ELSE - $(XSLTPROC) -o $@ \ - --stringparam locale {$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))} \ -@@ -134,8 +135,8 @@ $(PROCESSOUT)$/registry$/data$/$(PACKAGE - .IF "$(NO_INSPECTION)"=="" - $(JAVAI) $(JAVACPS) $(XML_APIS_JAR)$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl org.openoffice.configuration.Inspector $< - .ENDIF # "$(NO_INSPECTION)"=="" -- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/data_val.xsl $(@:d)$*.val xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs schemaRoot=$(XCSROOT)$/registry$/schema -- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/alllang.xsl $(@:d)$*.tmp xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs schemaRoot=$(XCSROOT)$/registry$/schema -+ $(JAVAI) $(JAVACPS) $(XT_JAR)$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/data_val.xsl $(@:d)$*.val xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs schemaRoot=$(XCSROOT)$/registry$/schema -+ $(JAVAI) $(JAVACPS) $(XT_JAR)$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/alllang.xsl $(@:d)$*.tmp xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs schemaRoot=$(XCSROOT)$/registry$/schema - $(JAVAI) $(JAVACPS) $(XML_APIS_JAR)$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@ - .ELSE - # xsltproc already validates against the dtd. For additional validation, -@@ -173,7 +174,7 @@ $(PROCESSOUT)$/registry$/res$/{$(alllang - @+echo -------------+ creating locale dependent entries - -$(MKDIRHIER) $(@:d) - .IF "$(XSLTPROC)"=="NO_XSLTPROC" -- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/alllang.xsl $(@:d)$*.tmp xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs schemaRoot=$(XCSROOT)$/registry$/schema locale={$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))} -+ $(JAVAI) $(JAVACPS) $(XT_JAR)$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/alllang.xsl $(@:d)$*.tmp xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs schemaRoot=$(XCSROOT)$/registry$/schema locale={$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))} - $(JAVAI) $(JAVACPS) $(XML_APIS_JAR)$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@ - .ELSE - $(XSLTPROC) -o $(@:d)$*.tmp \ -@@ -209,7 +210,7 @@ $(PROCESSOUT)$/registry$/spool$/$(PACKAG - @+echo -------------+ creating a module file - -$(MKDIRHIER) $(@:d) - .IF "$(XSLTPROC)"=="NO_XSLTPROC" -- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/alllang.xsl $(@:d)$(@:f:s/.xcu/.tmp/) xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$(<:b).xcs schemaRoot=$(XCSROOT)$/registry$/schema module={$(subst,$(<:b)-, $(*))} -+ $(JAVAI) $(JAVACPS) $(XT_JAR)$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/alllang.xsl $(@:d)$(@:f:s/.xcu/.tmp/) xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$(<:b).xcs schemaRoot=$(XCSROOT)$/registry$/schema module={$(subst,$(<:b)-, $(*))} - $(JAVAI) $(JAVACPS) $(XML_APIS_JAR)$(PATH_SEPERATOR)$(XERCES_JAR)$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$(@:f:s/.xcu/.tmp/) $@ - .ELSE - $(XSLTPROC) -o $(@:d)$(@:f:s/.xcu/.tmp/) \ -Index: solenv/inc/tg_jar.mk -=================================================================== ---- solenv/inc/tg_jar.mk.orig 2006-03-11 21:22:53.000000000 +0100 -+++ solenv/inc/tg_jar.mk 2006-03-11 21:25:44.000000000 +0100 -@@ -51,6 +51,12 @@ $(JARTARGETN) : $(JARMANIFEST) $(JAVACLA - - CUSTOMMANIFESTFILEDEP:=$(MISC)$/$(TARGET)_$(CUSTOMMANIFESTFILE:f) - -+.IF "$(SYSTEM_XT)" == "YES" -+XT_SUBST=$(XT_JAR) -+.ELSE -+XT_SUBST=xt.jar -+.ENDIF -+ - .IF "$(SYSTEM_XML_APIS)" == "YES" - XML_APIS_SUBST=$(XML_APIS_JAR) - .ELSE -@@ -72,7 +78,7 @@ XALAN_SUBST=xalan.jar - - $(MISC)$/$(TARGET)_$(CUSTOMMANIFESTFILE:f) : $(subst,/,$/ $(DMAKE_WORK_DIR))$/$(CUSTOMMANIFESTFILE) - +-$(RM) $@ -- +$(TYPE) $< | $(SED) s:xml-apis.jar:$(XML_APIS_SUBST):g | $(SED) s:xercesImpl.jar:$(XERCES_SUBST):g | $(SED) s:xalan.jar:$(XALAN_SUBST):g > $@ -+ +$(TYPE) $< | $(SED) s:xt.jar:$(XT_SUBST):g | $(SED) s:xml-apis.jar:$(XML_APIS_SUBST):g | $(SED) s:xercesImpl.jar:$(XERCES_SUBST):g | $(SED) s:xalan.jar:$(XALAN_SUBST):g > $@ - .ENDIF # "$(CUSTOMMANIFESTFILE)"!="" - - $(JARMANIFEST) .PHONY : $(CUSTOMMANIFESTFILEDEP) -Index: xmlhelp/source/com/sun/star/help/makefile.mk -=================================================================== ---- xmlhelp/source/com/sun/star/help/makefile.mk.orig 2006-03-11 21:22:53.000000000 +0100 -+++ xmlhelp/source/com/sun/star/help/makefile.mk 2006-03-11 21:25:44.000000000 +0100 -@@ -42,9 +42,15 @@ TARGET = com_sun_star_help - - .INCLUDE : settings.mk - --JARFILES = xt.jar unoil.jar ridl.jar jurt.jar jut.jar xmlsearch.jar -+JARFILES = xt-xmlsearch.jar unoil.jar ridl.jar jurt.jar jut.jar xmlsearch.jar - EXTRAJARFILES = - -+.IF "$(SYSTEM_XT)" == "YES" -+XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(XT_JAR) -+.ELSE -+JARFILES += xt.jar -+.ENDIF -+ - .IF "$(SYSTEM_XML_APIS)" == "YES" - XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(XML_APIS_JAR) - .ELSE -Index: xt/download/build-xt-src-only.sh -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xt/download/build-xt-src-only.sh 2006-03-11 21:25:44.000000000 +0100 -@@ -0,0 +1,16 @@ -+#! /bin/sh -+ -+# Remove generated files from xt's "-src" zip file -+ -+bin_src_zip=$1 -+src_zip="$(basename $1 .zip)-only.zip" -+ -+exclude_re="^xt-[0-9]*/\(ant\|docs/api\|lib\|thirdparty\)\|semantic\.cache" -+ -+cp $bin_src_zip $src_zip -+ -+unzip -l $bin_src_zip \ -+ | grep / \ -+ | sed -e "s/^[^/]*xt-/xt-/" \ -+ | grep -e $exclude_re \ -+ | zip -d -@ $src_zip -Index: xt/makefile.mk -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xt/makefile.mk 2006-03-11 21:25:44.000000000 +0100 -@@ -0,0 +1,71 @@ -+#************************************************************************* -+# -+# OpenOffice.org - a multi-platform office productivity suite -+# -+# $RCSfile: use-system-xt.diff,v $ -+# -+# $Revision: 1.1 $ -+# -+# last change: $Author: suka $ $Date: 2006/03/15 09:30:07 $ -+# -+# The Contents of this file are made available subject to -+# the terms of GNU Lesser General Public License Version 2.1. -+# -+# -+# GNU Lesser General Public License Version 2.1 -+# ============================================= -+# Copyright 2005 by Sun Microsystems, Inc. -+# 901 San Antonio Road, Palo Alto, CA 94303, USA -+# -+# This library is free software; you can redistribute it and/or -+# modify it under the terms of the GNU Lesser General Public -+# License version 2.1, as published by the Free Software Foundation. -+# -+# This library is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+# Lesser General Public License for more details. -+# -+# You should have received a copy of the GNU Lesser General Public -+# License along with this library; if not, write to the Free Software -+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -+# MA 02111-1307 USA -+# -+#************************************************************************* -+ -+PRJ=. -+ -+PRJNAME=xt -+TARGET=xt -+ -+.IF "$(SYSTEM_XT)" == "YES" -+all: -+ @echo "An installation of xt should already exist on your system." -+ @echo "Therefore the version provided here does not need to be built." -+ -+.ELSE -+.IF "$(SOLAR_JAVA)"!="" -+# --- Settings ----------------------------------------------------- -+ -+.INCLUDE : settings.mk -+ -+# --- Files -------------------------------------------------------- -+ -+TARFILE_NAME=xt-20051206-src-only -+TARFILE_ROOTDIR=xt-20051206 -+ -+ADDITIONAL_FILES=makefile.mk -+PATCH_FILE_NAME=xt-20051206.patch -+BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS) -+ -+# --- Targets ------------------------------------------------------ -+ -+.INCLUDE : set_ext.mk -+.INCLUDE : target.mk -+.INCLUDE : tg_ext.mk -+ -+.ELSE -+all: -+ @echo Java disabled -+.ENDIF -+.ENDIF -Index: xt/prj/build.lst -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xt/prj/build.lst 2006-03-11 21:25:44.000000000 +0100 -@@ -0,0 +1,4 @@ -+xt xt : external NULL -+xt xt usr1 - all xt_mkout NULL -+xt xt nmake - all xt NULL -+xt xt\src\com\jclark\xsl nmake - all xt_xs xt NULL -Index: xt/prj/d.lst -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xt/prj/d.lst 2006-03-11 21:25:44.000000000 +0100 -@@ -0,0 +1 @@ -+..\%__SRC%\class\*.jar %_DEST%\bin%_EXT%\ -Index: xt/src/com/jclark/xsl/dom/XmlSearchTransform.java -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xt/src/com/jclark/xsl/dom/XmlSearchTransform.java 2006-03-11 21:25:44.000000000 +0100 -@@ -0,0 +1,10 @@ -+package com.jclark.xsl.dom; -+ -+import com.jclark.xsl.om.Node; -+import com.jclark.xsl.tr.Result; -+ -+public interface XmlSearchTransform extends Transform -+{ -+ public void transform(Node sourceRoot, -+ Result result) throws TransformException; -+} -Index: xt/src/com/jclark/xsl/dom/XmlSearchXSLTransformEngine.java -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xt/src/com/jclark/xsl/dom/XmlSearchXSLTransformEngine.java 2006-03-11 21:25:44.000000000 +0100 -@@ -0,0 +1,178 @@ -+// Derived from: -+// Id: XSLTransformEngine.java 96 2005-02-28 21:07:29Z blindsey -+// And added methods required by XmlSearch -+ -+// Copyright (c) 1998, 1999 James Clark -+ -+// Permission is hereby granted, free of charge, to any person obtaining -+// a copy of this software and associated documentation files (the -+// ``Software''), to deal in the Software without restriction, including -+// without limitation the rights to use, copy, modify, merge, publish, -+// distribute, sublicense, and/or sell copies of the Software, and to -+// permit persons to whom the Software is furnished to do so, subject to -+// the following conditions: -+ -+// The above copyright notice and this permission notice shall be included -+// in all copies or substantial portions of the Software. -+ -+// THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS -+// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -+// IN NO EVENT SHALL JAMES CLARK BE LIABLE FOR ANY CLAIM, DAMAGES OR -+// OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -+// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -+// OTHER DEALINGS IN THE SOFTWARE. -+ -+// Except as contained in this notice, the name of James Clark shall -+// not be used in advertising or otherwise to promote the sale, use or -+// other dealings in this Software without prior written authorization -+// from James Clark. -+ -+ -+package com.jclark.xsl.dom; -+ -+import com.jclark.xsl.tr.*; -+import com.jclark.xsl.om.*; -+import com.jclark.xsl.sax.ExtensionHandlerImpl; -+import com.jclark.xsl.sax.MultiNamespaceResult; -+import java.net.URL; -+import java.io.IOException; -+ -+public class XmlSearchXSLTransformEngine -+ implements TransformEngine, XMLProcessor -+{ -+ private Engine engine; -+ private DOMExtensions extend; -+ -+ public Node load(URL url, -+ int documentIndex, -+ LoadContext context, -+ NameTable nameTable) throws XSLException -+ { -+ throw new XSLException("external documents not supported"); -+ } -+ -+ public Result createResult(Node baseNode, -+ int documentIndex, -+ LoadContext loadContext, -+ Node[] rootNodeRef) throws XSLException -+ { -+ if (baseNode == null) -+ throw new XSLException("cannot convert result tree fragment returned by extension function to a node-set with the DOM"); -+ RootNode root = ((NodeBase)baseNode).root; -+ org.w3c.dom.DocumentFragment docFrag -+ = root.ownerDocument.createDocumentFragment(); -+ String base = null; -+ URL baseURL = baseNode.getURL(); -+ if (baseURL != null) -+ base = baseURL.toString(); -+ rootNodeRef[0] = -+ new RootNode(docFrag, -+ extend, -+ loadContext, -+ engine.getNameTable(), -+ base, -+ documentIndex); -+ return new MultiNamespaceResult(new DOMBuilder(docFrag), null); -+ } -+ -+ public XmlSearchXSLTransformEngine() -+ { -+ engine = new EngineImpl(this, new ExtensionHandlerImpl()); -+ } -+ -+ public XmlSearchXSLTransformEngine(DOMExtensions extend) -+ { -+ this(); -+ this.extend = extend; -+ } -+ -+ private class TransformImpl implements XmlSearchTransform, ParameterSet -+ { -+ private Sheet sheet; -+ -+ TransformImpl (Sheet sheet) { -+ this.sheet = sheet; -+ } -+ -+ public void transform(org.w3c.dom.Node sourceRoot, -+ org.w3c.dom.Node resultRoot) -+ throws TransformException { -+ try { -+ sheet.process(new RootNode(sourceRoot, -+ extend, -+ sheet.getSourceLoadContext(), -+ engine.getNameTable(), -+ null, -+ 0), -+ XmlSearchXSLTransformEngine.this, -+ this, // ParameterSet -+ new MultiNamespaceResult(new DOMBuilder(resultRoot), -+ null)); -+ } -+ catch (XSLException e) { -+ throw toTransformException(e); -+ } -+ } -+ -+ public void transform(Node sourceRoot, -+ Result result) -+ throws TransformException { -+ try { -+ sheet.process(sourceRoot, -+ XmlSearchXSLTransformEngine.this, -+ this, // ParameterSet -+ result); -+ } -+ catch (XSLException e) { -+ throw toTransformException(e); -+ } -+ } -+ public Object getParameter(Name name) { -+ return null; -+ } -+ } -+ -+ public Transform createTransform(org.w3c.dom.Node domNode) -+ throws TransformException -+ { -+ try { -+ return new TransformImpl(engine.createSheet(new RootNode(domNode, -+ extend, -+ engine.getSheetLoadContext(), -+ engine.getNameTable(), -+ null, -+ 0))); -+ } -+ catch (XSLException e) { -+ throw toTransformException(e); -+ } -+ catch (IOException e) { -+ throw new Error("unexpected exception: " + e); -+ } -+ } -+ -+ public NameTable getNameTable() -+ { -+ return engine.getNameTable(); -+ } -+ -+ public LoadContext getSourceLoadContext() -+ { -+ return engine.getSheetLoadContext(); -+ } -+ -+ private TransformException toTransformException(XSLException e) -+ { -+ org.w3c.dom.Node domNode = null; -+ Node node = e.getNode(); -+ if (node != null) { -+ domNode = ((NodeBase)node).domNode; -+ } -+ String message = e.getMessage(); -+ if (e == null) { -+ message = e.getException().toString(); -+ } -+ return new TransformException(message, domNode); -+ } -+} -Index: xt/src/com/jclark/xsl/makefile.mk -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xt/src/com/jclark/xsl/makefile.mk 2006-03-11 21:25:44.000000000 +0100 -@@ -0,0 +1,74 @@ -+#************************************************************************* -+# -+# OpenOffice.org - a multi-platform office productivity suite -+# -+# $RCSfile: use-system-xt.diff,v $ -+# -+# $Revision: 1.1 $ -+# -+# last change: $Author: suka $ $Date: 2006/03/15 09:30:07 $ -+# -+# The Contents of this file are made available subject to -+# the terms of GNU Lesser General Public License Version 2.1. -+# -+# -+# GNU Lesser General Public License Version 2.1 -+# ============================================= -+# Copyright 2005 by Sun Microsystems, Inc. -+# 901 San Antonio Road, Palo Alto, CA 94303, USA -+# -+# This library is free software; you can redistribute it and/or -+# modify it under the terms of the GNU Lesser General Public -+# License version 2.1, as published by the Free Software Foundation. -+# -+# This library is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+# Lesser General Public License for more details. -+# -+# You should have received a copy of the GNU Lesser General Public -+# License along with this library; if not, write to the Free Software -+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -+# MA 02111-1307 USA -+# -+#************************************************************************* -+ -+PRJ = ..$/..$/..$/.. -+PRJNAME = xt-xmlsearch -+PACKAGE = com$/jclark$/xsl -+TARGET = com_jclark_xsl -+ -+# --- Settings ----------------------------------------------------- -+ -+.INCLUDE : settings.mk -+ -+#.IF "$(XML_CLASSPATH)" != "" -+#XCLASSPATH+=:$(XML_CLASSPATH) -+#.ENDIF -+ -+# Why do we depend on that? solenv/inc/target.mk:283:.IF "$(NEWCLASS)"!="" -+JARFILES = .. -+ -+.IF "$(SYSTEM_XT)" == "YES" -+XCLASSPATH=$(XT_JAR) -+.ELSE -+JARFILES = xt.jar -+.ENDIF -+ -+JAVAFILES = $(subst,$(CLASSDIR)$/$(PACKAGE)$/, $(subst,.class,.java $(JAVACLASSFILES))) -+ -+# --- Files -------------------------------------------------------- -+ -+JAVACLASSFILES = \ -+ $(CLASSDIR)$/$(PACKAGE)$/dom$/XmlSearchTransform.class \ -+ $(CLASSDIR)$/$(PACKAGE)$/dom$/XmlSearchXSLTransformEngine.class -+ -+JARCLASSDIRS = com$/jclark -+JARTARGET = $(PRJNAME).jar -+JARCOMPRESS = TRUE -+CUSTOMMANIFESTFILE = -+ -+ -+# --- Targets ------------------------------------------------------ -+ -+.INCLUDE : target.mk -Index: xt/xt-20051206.patch -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xt/xt-20051206.patch 2006-03-11 21:32:20.000000000 +0100 -@@ -0,0 +1,209 @@ -+diff -rc misc/xt-20051206/build.xml misc/build/xt-20051206/build.xml -+*** misc/xt-20051206/build.xml 2005-12-06 14:30:46.000000000 +0100 -+--- misc/build/xt-20051206/build.xml 2006-01-08 13:44:15.000000000 +0100 -+*************** -+*** 1,6 **** -+ <!-- $Id: use-system-xt.diff,v 1.1 2006/03/15 09:30:07 suka Exp $ -->
-+
-+! <project name="federator" default="help" basedir=".">
-+
-+ <!--
-+ |ANT Build targets for compiling sources, generating
-+--- 1,6 ---- -+ <!-- $Id: use-system-xt.diff,v 1.1 2006/03/15 09:30:07 suka Exp $ -->
-+
-+! <project name="federator" default="compile" basedir=".">
-+
-+ <!--
-+ |ANT Build targets for compiling sources, generating
-+*************** -+*** 238,244 **** -+ </srcfiles>
-+ </uptodate>
-+
-+! <mkdir dir="${lib} "/>
-+
-+ <!-- for debugging this build script -->
-+ <echo message="top: ${top}" />
-+--- 238,244 ---- -+ </srcfiles>
-+ </uptodate>
-+
-+! <mkdir dir="${lib}"/>
-+
-+ <!-- for debugging this build script -->
-+ <echo message="top: ${top}" />
-+*************** -+*** 306,311 **** -+--- 306,314 ---- -+
-+ <classpath refid="compileJars" />
-+
-++ <include name="**/*.java"/>
-++ <exclude name="**/*Servlet*.java"/>
-++
-+ </javac>
-+
-+ <!-- bundle up any local properties files -->
-+*************** -+*** 314,323 **** -+ </copy>
-+
-+ <!-- jar it up -->
-+! <jar jarfile="${stage}/xt${version}.jar"
-+ basedir="${stage}/xt"
-+ includes="**/*" />
-+! <copy todir="${lib}" file="${stage}/xt${version}.jar"/>
-+ </target>
-+
-+
-+--- 317,326 ---- -+ </copy>
-+
-+ <!-- jar it up -->
-+! <jar jarfile="${stage}/xt.jar"
-+ basedir="${stage}/xt"
-+ includes="**/*" />
-+! <copy todir="${top}/../../../class" file="${stage}/xt.jar"/>
-+ </target>
-+
-+
-+diff -rc misc/xt-20051206/makefile.mk misc/build/xt-20051206/makefile.mk -+*** misc/xt-20051206/makefile.mk 2006-01-08 13:44:48.000000000 +0100 -+--- misc/build/xt-20051206/makefile.mk 2006-01-08 13:37:20.000000000 +0100 -+*************** -+*** 1 **** -+! dummy -+--- 1,40 ---- -+! #************************************************************************* -+! # -+! # $RCSfile: use-system-xt.diff,v $ -+! # -+! # $Revision: 1.1 $ -+! # -+! # last change: $Author: suka $ $Date: 2006/03/15 09:30:07 $ -+! # -+! # The Contents of this file are made available subject to -+! # the terms of GNU Lesser General Public License Version 2.1. -+! # -+! # -+! # GNU Lesser General Public License Version 2.1 -+! # ============================================= -+! # Copyright 2005 by Sun Microsystems, Inc. -+! # 901 San Antonio Road, Palo Alto, CA 94303, USA -+! # -+! # This library is free software; you can redistribute it and/or -+! # modify it under the terms of the GNU Lesser General Public -+! # License version 2.1, as published by the Free Software Foundation. -+! # -+! # This library is distributed in the hope that it will be useful, -+! # but WITHOUT ANY WARRANTY; without even the implied warranty of -+! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+! # Lesser General Public License for more details. -+! # -+! # You should have received a copy of the GNU Lesser General Public -+! # License along with this library; if not, write to the Free Software -+! # Foundation, Inc., 59 Temple Place, Suite 330, Boston, -+! # MA 02111-1307 USA -+! # -+! #************************************************************************* -+! -+! PRJ=..$/..$/..$/.. -+! PRJNAME=xt -+! TARGET=compile -+! -+! .INCLUDE : ant.mk -+! -+! ALLTAR : ANTBUILD -+*** misc/xt-20051206/src/xt/java/com/jclark/xsl/tr/AppendAction.java 2005-12-06 14:30:50.000000000 +0100 -+--- misc/build/xt-20051206/src/xt/java/com/jclark/xsl/tr/AppendAction.java 2006-03-11 21:30:06.000000000 +0100 -+*************** -+*** 16,24 **** -+ public void invoke(ProcessContext context, -+ Node sourceNode, Result result) throws XSLException -+ { -+! for (Enumeration enum = sequence.elements(); -+! enum.hasMoreElements();) -+! ((Action)enum.nextElement()).invoke(context, sourceNode, result); -+ } -+ -+ void add(Action action) -+--- 16,24 ---- -+ public void invoke(ProcessContext context, -+ Node sourceNode, Result result) throws XSLException -+ { -+! for (Enumeration e = sequence.elements(); -+! e.hasMoreElements();) -+! ((Action)e.nextElement()).invoke(context, sourceNode, result); -+ } -+ -+ void add(Action action) -+diff -rc misc/xt-20051206/src/xt/java/com/jclark/xsl/trax/TransformerFactoryImpl.java misc/build/xt-20051206/src/xt/java/com/jclark/xsl/trax/TransformerFactoryImpl.java -+*** misc/xt-20051206/src/xt/java/com/jclark/xsl/trax/TransformerFactoryImpl.java 2005-12-06 14:30:52.000000000 +0100 -+--- misc/build/xt-20051206/src/xt/java/com/jclark/xsl/trax/TransformerFactoryImpl.java 2006-01-08 13:37:20.000000000 +0100 -+*************** -+*** 384,389 **** -+--- 384,396 ---- -+ -+ } -+ -++ /** -++ * -++ */ -++ public void setFeature(String name, boolean value) throws TransformerConfigurationException -++ { -++ } -++ -+ // -+ // -+ // -+*** misc/xt-20051206/src/xt/java/com/jclark/xsl/expr/PatternList.java 2005-12-06 14:30:50.000000000 +0100 -+--- misc/build/xt-20051206/src/xt/java/com/jclark/xsl/expr/PatternList.java 2006-03-11 21:30:24.000000000 +0100 -+*************** -+*** 126,134 **** -+ case Node.ATTRIBUTE: -+ case Node.PROCESSING_INSTRUCTION: -+ case Node.ALLTYPES: // for "node()" node test -+! for (Enumeration enum = -+! nameRules.elements(); enum.hasMoreElements(); ) { -+! append((Vector)enum.nextElement(), ppb, obj); -+ } -+ append(anyNameRules, ppb, obj); -+ break; -+--- 126,134 ---- -+ case Node.ATTRIBUTE: -+ case Node.PROCESSING_INSTRUCTION: -+ case Node.ALLTYPES: // for "node()" node test -+! for (Enumeration e = -+! nameRules.elements(); e.hasMoreElements(); ) { -+! append((Vector)e.nextElement(), ppb, obj); -+ } -+ append(anyNameRules, ppb, obj); -+ break; -+# GCJ 4.1 workaround (GCC PR19870) -+diff -rc misc/xt-20051206/src/xt/java/com/jclark/xsl/sax/XMLProcessorImpl.java misc/build/xt-20051206/src/xt/java/com/jclark/xsl/sax/XMLProcessorImpl.java -+*** misc/xt-20051206/src/xt/java/com/jclark/xsl/sax/XMLProcessorImpl.java 2005-12-06 14:30:50.000000000 +0100 -+--- misc/build/xt-20051206/src/xt/java/com/jclark/xsl/sax/XMLProcessorImpl.java 2006-02-07 01:37:26.000000000 +0100 -+*************** -+*** 424,433 **** -+ -+ static private class RootNodeImpl extends ContainerNodeImpl -+ { -+! private String systemId; -+! private int documentIndex; -+! private Hashtable idTable = new Hashtable(); -+! private Hashtable unparsedEntityURITable = new Hashtable(); -+ -+ RootNodeImpl(String systemId, int documentIndex, NamespacePrefixMap nsMap) { -+ super(nsMap); -+--- 424,433 ---- -+ -+ static private class RootNodeImpl extends ContainerNodeImpl -+ { -+! String systemId; -+! int documentIndex; -+! Hashtable idTable = new Hashtable(); -+! Hashtable unparsedEntityURITable = new Hashtable(); -+ -+ RootNodeImpl(String systemId, int documentIndex, NamespacePrefixMap nsMap) { -+ super(nsMap); -Index: XmlSearch/prj/build.lst -=================================================================== ---- XmlSearch/prj/build.lst.orig 2006-03-11 21:22:53.000000000 +0100 -+++ XmlSearch/prj/build.lst 2006-03-11 21:25:44.000000000 +0100 -@@ -1,2 +1,2 @@ --xh XmlSearch : external codemaker NULL -+xh XmlSearch : xt codemaker NULL - xh XmlSearch\src\com\sun\xmlsearch nmake - all xs NULL -Index: XmlSearch/src/com/sun/xmlsearch/makefile.mk -=================================================================== ---- XmlSearch/src/com/sun/xmlsearch/makefile.mk.orig 2006-03-11 21:22:53.000000000 +0100 -+++ XmlSearch/src/com/sun/xmlsearch/makefile.mk 2006-03-11 21:25:44.000000000 +0100 -@@ -21,7 +21,13 @@ TARGET = com_sun_xmlsearch - - .INCLUDE : settings.mk - --JARFILES = xt.jar -+JARFILES = xt-xmlsearch.jar -+ -+.IF "$(SYSTEM_XT)" == "YES" -+XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(XT_JAR) -+.ELSE -+JARFILES += xt.jar -+.ENDIF - - .IF "$(SYSTEM_XML_APIS)" == "YES" - XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(XML_APIS_JAR) -Index: XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java -=================================================================== ---- XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java.orig 2006-03-11 21:22:53.000000000 +0100 -+++ XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java 2006-03-11 21:25:44.000000000 +0100 -@@ -125,6 +125,10 @@ public final class TreeBuilder extends H - return EmptyIterator; - } - -+ public SafeNodeIterator getNamespaces() { -+ return EmptyIterator; -+ } -+ - public SafeNodeIterator getChildren() { - return EmptyIterator; - } -@@ -145,6 +149,7 @@ public final class TreeBuilder extends H - - public URL getURL() { return null; } - public int getLineNumber() { return -1; } -+ public int getColumnNumber() { return -1; } - public NamespacePrefixMap getNamespacePrefixMap() { - return _parent.getNamespacePrefixMap(); - } -@@ -154,6 +159,12 @@ public final class TreeBuilder extends H - public String getUnparsedEntityURI(String name) { - return "getUnparsedEntityURI"; - } -+ public String getPublicId() { -+ return "getPublicId"; -+ } -+ public String getSystemId() { -+ return "getSystemId"; -+ } - - public boolean isLeaf() { return true; } - public int getChildCount() { return 0; } -Index: XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java -=================================================================== ---- XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java.orig 2006-03-11 21:22:53.000000000 +0100 -+++ XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java 2006-03-11 21:25:44.000000000 +0100 -@@ -60,13 +60,13 @@ import com.jclark.xsl.tr.Result; - import com.jclark.xsl.tr.OutputMethod; - import com.jclark.xsl.tr.LoadContext; - --import com.jclark.xsl.dom.Transform; -+import com.jclark.xsl.dom.XmlSearchTransform; - import com.jclark.xsl.dom.TransformEngine; - import com.jclark.xsl.dom.TransformException; --import com.jclark.xsl.dom.XSLTransformEngine; -+import com.jclark.xsl.dom.XmlSearchXSLTransformEngine; - - public final class XmlIndexBuilder { -- final class MyXslEngine extends XSLTransformEngine { -+ final class MyXslEngine extends XmlSearchXSLTransformEngine { - public Node load( - URL url, - int documentIndex, -@@ -436,8 +436,8 @@ public final class XmlIndexBuilder { - - private TreeBuilder _treeBuilder; - private MyXslEngine _transformEngine; -- private Transform _indexingTransform; -- private Transform _defaultTransform; -+ private XmlSearchTransform _indexingTransform; -+ private XmlSearchTransform _defaultTransform; - private IndexAdapter _indexAdapter; - - public XmlIndexBuilder(String indexDir) throws Exception { -@@ -533,7 +533,7 @@ public final class XmlIndexBuilder { - return _treeBuilder.getRoot(docUrl); - } - -- private Transform getTransform(String stylesheetName) throws Exception { -+ private XmlSearchTransform getTransform(String stylesheetName) throws Exception { - // System.out.println("creating indexing transform: " + stylesheetName); - URL stylesheetUrl = null; - if (_useLocalTransformFile) { -@@ -553,7 +553,7 @@ public final class XmlIndexBuilder { - dFactory.setValidating(false); - DocumentBuilder dBuilder = dFactory.newDocumentBuilder(); - Document sheet = dBuilder.parse(stylesheetStream); -- return _transformEngine.createTransform(sheet); -+ return (XmlSearchTransform)_transformEngine.createTransform(sheet); - } - - // GTM new: diff --git a/app-office/openoffice/files/digest-openoffice-2.0.2 b/app-office/openoffice/files/digest-openoffice-2.0.2 index 352edb4e7669..7ebc6e15f570 100644 --- a/app-office/openoffice/files/digest-openoffice-2.0.2 +++ b/app-office/openoffice/files/digest-openoffice-2.0.2 @@ -10,6 +10,12 @@ SHA256 971054ce48051776a3146a8f6af2bd3701ad77bb7583f7f023b354e8cb533de1 OOO_2_0_ MD5 a1e4d5f03e2c0c0870847f4de97b8d12 OOO_2_0_2-system.tar.bz2 25712374 RMD160 06fdb624101d172f432c834d5466cbd7541dd108 OOO_2_0_2-system.tar.bz2 25712374 SHA256 3666aa042d5ffbeb98637a4518b927ac62c9ad86ca6b10d9f03bef13413acef9 OOO_2_0_2-system.tar.bz2 25712374 +MD5 2aa6bb72a257abcd896014b08fa4e6f0 cli_types.dll 634880 +RMD160 2cba491d27cc349a3468127a93981396756c6fc8 cli_types.dll 634880 +SHA256 7316a75be649b5a1c09c953b6ac20aa1953afbddd82a454a864d4a1c70a5a3ca cli_types.dll 634880 +MD5 f06322e5157495c22ba77f310fa4a89b cli_types_bridgetest.dll 20480 +RMD160 ac4a4110cf21d5bc7d9797f651a84fa20627c03b cli_types_bridgetest.dll 20480 +SHA256 3e62533c0f9e337021d2396332438ad23ea0fd480aab849c50aab48ab40579bb cli_types_bridgetest.dll 20480 MD5 733051ebeffae5232a2eb760162da020 extras-2.tar.bz2 94740 RMD160 cba0fdebbbf84e6520af08d1cbb09363d36874bd extras-2.tar.bz2 94740 SHA256 26e593ad0fecc6642b59349923434c6b36c224db5a26239c760b119ba29c9863 extras-2.tar.bz2 94740 @@ -19,9 +25,9 @@ SHA256 9de07fbe97c9539bae9c76502474c76471ab173dac365e251ca3fc5281008149 hunspell MD5 f34404f8dc6123aca156d203c37e3e5d libwpd-0.8.3.tar.gz 482757 RMD160 f8010300e50e1c43942e6a84a3b526738edb4ed5 libwpd-0.8.3.tar.gz 482757 SHA256 2221aaa444d29f4a1eacea1a0a939012f02a8aa8e02c178788d68ccc0024170c libwpd-0.8.3.tar.gz 482757 -MD5 a745d2aedde615ee98b591901161c228 ooo-build-2.0.2.tar.gz 5097547 -RMD160 1ee35eb5cb0eda75de54f28aa079d4d11c7f927f ooo-build-2.0.2.tar.gz 5097547 -SHA256 deec58383939fed182d670a77e2ff09eb79e28e00f5c71728e319e364e011e1e ooo-build-2.0.2.tar.gz 5097547 +MD5 fc15200e1d6b9a7bfbce0f46f2cb3bc4 ooo-build-2.0.2.2.tar.gz 5205084 +RMD160 1b213878b007e18c4aaf5f7ab45fa46b6c867a1f ooo-build-2.0.2.2.tar.gz 5205084 +SHA256 1201d1c6b522364e6f54b7a1e3430e3c0e7a692f067e1533a859a095a8c63bd7 ooo-build-2.0.2.2.tar.gz 5205084 MD5 0395e6e7da27c1cea7e1852286f6ccf9 xt-20051206-src-only.zip 423516 RMD160 5fd5bb66b6586809e27fc240d624d64589ec4b9d xt-20051206-src-only.zip 423516 SHA256 38121476c238c81760e1285e3aeea9eda1a7ab18c0c31a54e3645910bd8fb38e xt-20051206-src-only.zip 423516 diff --git a/app-office/openoffice/openoffice-2.0.2.ebuild b/app-office/openoffice/openoffice-2.0.2.ebuild index a81a6a702e74..249ab3ebead6 100644 --- a/app-office/openoffice/openoffice-2.0.2.ebuild +++ b/app-office/openoffice/openoffice-2.0.2.ebuild @@ -1,14 +1,15 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.0.2.ebuild,v 1.4 2006/03/16 21:29:08 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.0.2.ebuild,v 1.5 2006/03/25 18:22:29 suka Exp $ -inherit eutils fdo-mime flag-o-matic kde-functions toolchain-funcs +inherit eutils fdo-mime flag-o-matic kde-functions mono toolchain-funcs -IUSE="binfilter cairo eds firefox gnome gtk java kde ldap mozilla xml2" +IUSE="binfilter cairo eds firefox gnome gtk java kde ldap mono mozilla xml2" +MY_PV="${PV}.2" PATCHLEVEL="OOB680" SRC="OOO_2_0_2" -S="${WORKDIR}/ooo-build-${PV}" +S="${WORKDIR}/ooo-build-${MY_PV}" CONFFILE="${S}/distro-configs/Gentoo.conf.in" DESCRIPTION="OpenOffice.org, a full office productivity suite." @@ -16,8 +17,10 @@ SRC_URI="http://go-oo.org/packages/${PATCHLEVEL}/${SRC}-core.tar.bz2 http://go-oo.org/packages/${PATCHLEVEL}/${SRC}-system.tar.bz2 http://go-oo.org/packages/${PATCHLEVEL}/${SRC}-lang.tar.bz2 binfilter? ( http://go-oo.org/packages/${PATCHLEVEL}/${SRC}-binfilter.tar.bz2 ) - http://go-oo.org/packages/${PATCHLEVEL}/ooo-build-${PV}.tar.gz - http://go-ooo.org/packages/libwpd/libwpd-0.8.3.tar.gz + http://go-oo.org/packages/${PATCHLEVEL}/ooo-build-${MY_PV}.tar.gz + http://go-oo.org/packages/libwpd/libwpd-0.8.3.tar.gz + mono? ( http://go-oo.org/packages/SRC680/cli_types.dll + http://go-oo.org/packages/SRC680/cli_types_bridgetest.dll ) http://go-oo.org/packages/SRC680/extras-2.tar.bz2 http://go-oo.org/packages/SRC680/hunspell_UNO_1.1.tar.gz http://go-oo.org/packages/xt/xt-20051206-src-only.zip" @@ -88,6 +91,7 @@ DEPEND="${RDEPEND} !java? ( dev-libs/libxslt >=dev-libs/libxml2-2.0 ) ldap? ( net-nds/openldap ) + mono? ( >=dev-lang/mono-1.1.6 ) xml2? ( >=dev-libs/libxml2-2.0 )" PROVIDE="virtual/ooo" @@ -137,12 +141,11 @@ pkg_setup() { src_unpack() { - unpack ooo-build-${PV}.tar.gz + unpack ooo-build-${MY_PV}.tar.gz #Some fixes for our patchset cd ${S} - epatch ${FILESDIR}/${PV}/removecrystalcheck.diff - cp -vf ${FILESDIR}/${PV}/use-system-xt.diff patches/src680 + epatch ${FILESDIR}/${PV}/pythonfix.diff #Use flag checks use java && echo "--with-jdk-home=${JAVA_HOME} --with-ant-home=${ANT_HOME}" >> ${CONFFILE} || echo "--without-java" >> ${CONFFILE} @@ -211,8 +214,8 @@ src_compile() { `use_enable cairo` \ `use_with cairo system-cairo` \ `use_enable gnome quickstart` \ + `use_enable mono` \ --disable-access \ - --disable-mono \ --disable-post-install-scripts \ --enable-hunspell \ --with-system-hunspell \ |