aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-02-05 16:57:52 +0800
committermaho <maho@FreeBSD.org>2006-02-05 16:57:52 +0800
commit12172487b67fbacd972b6092a3fd70cba70b1e9e (patch)
tree792d37901562ba431c6b6018a19bdd08c2912eb4 /editors
parent855b5225c20e77dbbb1037dbffc0eb410dbffbd3 (diff)
downloadfreebsd-ports-gnome-12172487b67fbacd972b6092a3fd70cba70b1e9e.tar.gz
freebsd-ports-gnome-12172487b67fbacd972b6092a3fd70cba70b1e9e.tar.zst
freebsd-ports-gnome-12172487b67fbacd972b6092a3fd70cba70b1e9e.zip
Update to SRC680_m155.
Add some preparation for gcj build.
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-3-devel/Makefile53
-rw-r--r--editors/openoffice-3-devel/distinfo9
-rw-r--r--editors/openoffice-3-devel/files/Makefile.knobs2
-rw-r--r--editors/openoffice-3-devel/files/gcj-cws_jaxpapi1308
-rw-r--r--editors/openoffice-3-devel/files/gcj-patches137
-rw-r--r--editors/openoffice-3-devel/files/patch-Python-2.3.4.patch752
-rw-r--r--editors/openoffice-3-devel/files/patch-bridges173
-rw-r--r--editors/openoffice-3-devel/files/patch-config_office+set_soenv.in18
-rw-r--r--editors/openoffice-3-devel/files/patch-epm+epm-3.7.patch87
-rw-r--r--editors/openoffice-3-devel/files/patch-icu+icu-2.6.patch45
-rw-r--r--editors/openoffice-3-devel/files/patch-instsetoo154
-rw-r--r--editors/openoffice-3-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk17
-rw-r--r--editors/openoffice-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx7
-rw-r--r--editors/openoffice-3-devel/files/patch-libxmlsec+makefile.mk23
-rw-r--r--editors/openoffice-3-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx65
-rw-r--r--editors/openoffice-3-devel/files/patch-sdkoo64
-rw-r--r--editors/openoffice-3-devel/files/patch-solenv+inc+unxfbsdi.mk31
-rw-r--r--editors/openoffice.org-2-devel/Makefile53
-rw-r--r--editors/openoffice.org-2-devel/distinfo9
-rw-r--r--editors/openoffice.org-2-devel/files/Makefile.knobs2
-rw-r--r--editors/openoffice.org-2-devel/files/gcj-cws_jaxpapi1308
-rw-r--r--editors/openoffice.org-2-devel/files/gcj-patches137
-rw-r--r--editors/openoffice.org-2-devel/files/patch-Python-2.3.4.patch752
-rw-r--r--editors/openoffice.org-2-devel/files/patch-bridges173
-rw-r--r--editors/openoffice.org-2-devel/files/patch-config_office+set_soenv.in18
-rw-r--r--editors/openoffice.org-2-devel/files/patch-epm+epm-3.7.patch87
-rw-r--r--editors/openoffice.org-2-devel/files/patch-icu+icu-2.6.patch45
-rw-r--r--editors/openoffice.org-2-devel/files/patch-instsetoo154
-rw-r--r--editors/openoffice.org-2-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk17
-rw-r--r--editors/openoffice.org-2-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx7
-rw-r--r--editors/openoffice.org-2-devel/files/patch-libxmlsec+makefile.mk23
-rw-r--r--editors/openoffice.org-2-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx65
-rw-r--r--editors/openoffice.org-2-devel/files/patch-sdkoo64
-rw-r--r--editors/openoffice.org-2-devel/files/patch-solenv+inc+unxfbsdi.mk31
-rw-r--r--editors/openoffice.org-2.0-devel/Makefile53
-rw-r--r--editors/openoffice.org-2.0-devel/distinfo9
-rw-r--r--editors/openoffice.org-2.0-devel/files/Makefile.knobs2
-rw-r--r--editors/openoffice.org-2.0-devel/files/gcj-cws_jaxpapi1308
-rw-r--r--editors/openoffice.org-2.0-devel/files/gcj-patches137
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-Python-2.3.4.patch752
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-bridges173
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-config_office+set_soenv.in18
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-epm+epm-3.7.patch87
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-icu+icu-2.6.patch45
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-instsetoo154
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk17
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx7
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-libxmlsec+makefile.mk23
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx65
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-sdkoo64
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-solenv+inc+unxfbsdi.mk31
-rw-r--r--editors/openoffice.org-3-devel/Makefile53
-rw-r--r--editors/openoffice.org-3-devel/distinfo9
-rw-r--r--editors/openoffice.org-3-devel/files/Makefile.knobs2
-rw-r--r--editors/openoffice.org-3-devel/files/gcj-cws_jaxpapi1308
-rw-r--r--editors/openoffice.org-3-devel/files/gcj-patches137
-rw-r--r--editors/openoffice.org-3-devel/files/patch-Python-2.3.4.patch752
-rw-r--r--editors/openoffice.org-3-devel/files/patch-bridges173
-rw-r--r--editors/openoffice.org-3-devel/files/patch-config_office+set_soenv.in18
-rw-r--r--editors/openoffice.org-3-devel/files/patch-epm+epm-3.7.patch87
-rw-r--r--editors/openoffice.org-3-devel/files/patch-icu+icu-2.6.patch45
-rw-r--r--editors/openoffice.org-3-devel/files/patch-instsetoo154
-rw-r--r--editors/openoffice.org-3-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk17
-rw-r--r--editors/openoffice.org-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx7
-rw-r--r--editors/openoffice.org-3-devel/files/patch-libxmlsec+makefile.mk23
-rw-r--r--editors/openoffice.org-3-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx65
-rw-r--r--editors/openoffice.org-3-devel/files/patch-sdkoo64
-rw-r--r--editors/openoffice.org-3-devel/files/patch-solenv+inc+unxfbsdi.mk31
-rw-r--r--editors/openoffice.org-vcltesttool/Makefile53
-rw-r--r--editors/openoffice.org-vcltesttool/distinfo9
-rw-r--r--editors/openoffice.org-vcltesttool/files/Makefile.knobs2
-rw-r--r--editors/openoffice.org-vcltesttool/files/gcj-cws_jaxpapi1308
-rw-r--r--editors/openoffice.org-vcltesttool/files/gcj-patches137
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-Python-2.3.4.patch752
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-bridges173
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-config_office+set_soenv.in18
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-epm+epm-3.7.patch87
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-icu+icu-2.6.patch45
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-instsetoo154
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk17
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx7
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-libxmlsec+makefile.mk23
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-psprint+source+fontmanager+parseAFM.cxx65
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-sdkoo64
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-solenv+inc+unxfbsdi.mk31
85 files changed, 7445 insertions, 7280 deletions
diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile
index d24e0c28f41d..d1de2d1a680c 100644
--- a/editors/openoffice-3-devel/Makefile
+++ b/editors/openoffice-3-devel/Makefile
@@ -9,15 +9,19 @@ PORTNAME?= openoffice.org
PORTVERSION?= 2.0.${SNAPDATE}
CATEGORIES+= editors java
MASTER_SITES+= http://openoffice.lunarshells.com/sources/ \
- ftp://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
+ http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
+ ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:antbin,} \
${MASTER_SITE_MOZILLA:S/$/:mozsrc/}
MASTER_SITE_SUBDIR+= mozilla/releases/mozilla${MOZILLA_VERSION}/source/:mozsrc
-DISTFILES+= OOo_${OOOTAG}_source.tar.bz2
+DISTFILES+= OOo_${OOOTAG}_source${EXTRACT_SUFX}
.if defined(WITH_GPC)
DISTFILES+= gpc231.tar.Z:gpc
.endif
-EXTRACT_ONLY= OOo_${OOOTAG}_source.tar.bz2
+.if defined(WITH_GNUGCJ)
+DISTFILES+= ${ANT_DISTFILE}:antbin
+.endif
+EXTRACT_ONLY= OOo_${OOOTAG}_source${EXTRACT_SUFX}
MAINTAINER= openoffice@FreeBSD.org
COMMENT?= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser(developer version)
@@ -59,9 +63,9 @@ IGNORE= install lang/perl5.8 then try again
CODELINE= 680
RELEASE_NR= 2.0
-MILESTONE?= 151
+MILESTONE?= 155
OOOTAG?= SRC680_m${MILESTONE}
-SNAPDATE= 20060117
+SNAPDATE= 20060203
INSTALLATION_BASEDIR?= openoffice.org-${OOOTAG}
EXECBASE?= openoffice.org-${OOOTAG}
DIST_SUBDIR= openoffice.org2.0
@@ -78,7 +82,7 @@ PKGNAMESUFFIX?= -${LANG_SUFFIX}
.endif
.if defined(WITH_GNUGCJ)
-BUILD_DEPENDS+= gcc41:${PORTSDIR}/lang/gcc41
+#BUILD_DEPENDS+= ${LOCALBASE}/bin/gcc41:${PORTSDIR}/lang/gcc41-wgcj
BROKEN= "still work in progress"
.else
BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
@@ -88,8 +92,8 @@ BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
.if defined(WITH_GNUGCJ)
-CC= ccache gcc41
-CXX= ccache g++41
+CC= ccache ${LOCALBASE}/gcc41/bin/gcc
+CXX= ccache ${LOCALBASE}/gcc41/bin/g++
.else
CC= ccache gcc-ooo
CXX= ccache g++-ooo
@@ -97,8 +101,8 @@ CXX= ccache g++-ooo
.endif #WITH_CCACHE
.if !defined(WITH_CCACHE)
.if defined(WITH_GNUGCJ)
-CC= gcc41
-CXX= g++41
+CC= ${LOCALBASE}/gcc41/bin/gcc
+CXX= ${LOCALBASE}/gcc41/bin/g++
.else
CC= gcc-ooo
CXX= g++-ooo
@@ -112,26 +116,40 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
bison2:${PORTSDIR}/devel/bison2 \
imake:${X_IMAKE_PORT}
-.if !defined(WITHOUT_JAVA)
-BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/apache-ant
+.if !defined(WITHOUT_JAVA) && !defined(WITH_GNUGCJ)
+BUILD_DEPENDS+= ant:${PORTSDIR}/devel/apache-ant
.else
LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
.endif
+.if defined(WITH_GNUGCJ)
+ANT_DISTFILE= apache-ant-${ANT_VERSION}-bin.tar.bz2
+ANT_VERSION= 1.6.5
+.endif
.if !defined(WITH_GPC)
LIB_DEPENDS= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl2
.endif
+
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
-ANT?= ${LOCALBASE}/bin/ant
-ZIP?= ${PREFIX}/bin/zip
TCSH?= /bin/tcsh
PKGMESSAGE= ${WRKDIR}/pkg-message
NUMOFPROCESSES?= 1
+USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --with-gnu-patch=${LOCALBASE}/bin/gpatch --with-epm=internal --with-system-freetype --enable-crashdump=yes --enable-symbols=SMALL
+.if (${OSVERSION} <= 492000)
+EXTRA_PATCHES+= ${FILESDIR}/fbsd4-workaroundpatch
+.endif
+.if defined(WITH_GNUGCJ)
+EXTRA_PATCHES+= ${FILESDIR}/gcj-cws_jaxpapi ${FILESDIR}/gcj-patches
+.endif
+#.if defined(WITH_TTF_BYTECODE_ENABLED)
+#EXTRA_PATCHES+= ${FILESDIR}/optpatch-freetype
+#.endif
+
.include <${FILESDIR}/Makefile.knobs>
pre-everything::
@@ -152,11 +170,8 @@ pre-everything::
.endif
post-extract:
-#.if defined(WITH_TTF_BYTECODE_ENABLED)
-# @cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/optpatch-freetype
-#.endif
-.if (${OSVERSION} <= 492000)
- @cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/fbsd4-workaroundpatch
+.if defined(WITH_GNUGCJ)
+ @cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${ANT_DISTFILE} | ${BZIP2_CMD} -d | ${TAR} xf -
.endif
.if defined(WITH_GPC)
@cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/gpc231.tar.Z | ${TAR} xfz -
diff --git a/editors/openoffice-3-devel/distinfo b/editors/openoffice-3-devel/distinfo
index 4a24eeb47005..5f814dd0406e 100644
--- a/editors/openoffice-3-devel/distinfo
+++ b/editors/openoffice-3-devel/distinfo
@@ -1,9 +1,12 @@
-MD5 (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = f652b703f21ade84d6ff814684df2327
-SHA256 (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = 2c6a2e37ff5dd8b01c4d976239922e12b26bf948908f62d9e2df620c8ce4cf2d
-SIZE (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = 236161920
+MD5 (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = b8a712737bb146baf1ebb00c88ed3dc3
+SHA256 (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = 80b481f8815f7bc9263d9544f1a0326abeb61de7349e4947614a5e72e49c4b0b
+SIZE (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = 235716251
MD5 (openoffice.org2.0/gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
SHA256 (openoffice.org2.0/gpc231.tar.Z) = c1265948554a9882fe8342ecc9ccbdb423321a572a5a6b56f7dfad389540da4e
SIZE (openoffice.org2.0/gpc231.tar.Z) = 27917
+MD5 (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = 26031ee1a2fd248ad0cc2e7f17c44c39
+SHA256 (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = d463b8259cb199cd26799c817756c73e4e7808b0cf915f86841ac9779e0f9936
+SIZE (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = 6743024
MD5 (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = d3f3528b6c5eade402ed058207cffa14
SHA256 (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = 3e252bab95ecad3016b72fa594e0c44b9633d8c7b6af187e088a092019b56445
SIZE (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = 38721366
diff --git a/editors/openoffice-3-devel/files/Makefile.knobs b/editors/openoffice-3-devel/files/Makefile.knobs
index 8fc898b33521..1d119fc69a6a 100644
--- a/editors/openoffice-3-devel/files/Makefile.knobs
+++ b/editors/openoffice-3-devel/files/Makefile.knobs
@@ -6,7 +6,7 @@
CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}" --with-ant-home=${LOCALBASE}/ant
.endif
.if !defined(WITHOUT_JAVA) && defined(WITH_GNUGCJ)
-CONFIGURE_ARGS+= --with-java=gij --with-ant-home=${LOCALBASE}/ant
+CONFIGURE_ARGS+= --with-jdk-home="${LOCALBASE}/gcc41" --with-java=gij --with-ant-home="${WRKDIR}/apache-ant-${ANT_VERSION}" --disable-qadevooo
.endif
.if defined(WITHOUT_JAVA)
CONFIGURE_ARGS+= --without-java
diff --git a/editors/openoffice-3-devel/files/gcj-cws_jaxpapi b/editors/openoffice-3-devel/files/gcj-cws_jaxpapi
new file mode 100644
index 000000000000..b7473b8dc748
--- /dev/null
+++ b/editors/openoffice-3-devel/files/gcj-cws_jaxpapi
@@ -0,0 +1,1308 @@
+Index: external/prj/d.lst
+===================================================================
+RCS file: /cvs/util/external/prj/d.lst,v
+retrieving revision 1.21
+retrieving revision 1.21.18.1
+diff -u -r1.21 -r1.21.18.1
+--- external/prj/d.lst 24 Nov 2004 15:13:13 -0000 1.21
++++ external/prj/d.lst 17 Jan 2006 10:39:46 -0000 1.21.18.1
+@@ -24,8 +24,6 @@
+ ..\%__SRC%\bin\*.zip %_DEST%\pck%_EXT%\*.zip
+ ..\common.pro\bin\*.zip %_DEST%\pck%_EXT%\*.zip
+ ..\common\xt.jar %_DEST%\bin%_EXT%\xt.jar
+-..\common\jaxp.jar %_DEST%\bin%_EXT%\jaxp.jar
+-..\common\parser.jar %_DEST%\bin%_EXT%\parser.jar
+
+ ..\audio\rtufiles\lib\audio\libaudio.a %_DEST%\lib%_EXT%\libaudio.a
+ ..\audio\rtufiles\lib\audio\*.h %_DEST%\inc%_EXT%\audio\*
+Index: filter/source/config/fragments/makefile.mk
+===================================================================
+RCS file: /cvs/framework/filter/source/config/fragments/makefile.mk,v
+retrieving revision 1.16
+retrieving revision 1.16.16.1
+diff -u -r1.16 -r1.16.16.1
+--- filter/source/config/fragments/makefile.mk 14 Dec 2005 14:48:16 -0000 1.16
++++ filter/source/config/fragments/makefile.mk 17 Jan 2006 11:03:31 -0000 1.16.16.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.16 $
++# $Revision: 1.16.16.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/12/14 14:48:16 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:03:31 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -156,11 +156,7 @@
+ MERGE:=python ../tools/merge/pyAltFCFGMerge
+ .ELSE
+ MERGE := $(JAVAI) -jar $(CLASSDIR)$/FCFGMerge.jar
+-.IF "$(JDK)" == "gcj"
+-XALANCLASS=$(SOLARBINDIR)/xalan.jar
+-CLASSPATH:=$(CLASSPATH)$(PATH_SEPERATOR){$(subst,%Z*Z%,$(PATH_SEPERATOR) $(XALANCLASS:s/ /%Z*Z%/))}
+-.ENDIF
+-PACKLANG := $(JAVAI) org.apache.xalan.xslt.Process -XSL langfilter.xsl
++PACKLANG := $(JAVAI) $(JAVACPS) $(SOLARBINDIR)/xalan.jar org.apache.xalan.xslt.Process -XSL langfilter.xsl
+ .ENDIF
+
+ # -----------------------------------------------------------------------------
+Index: filter/source/config/tools/utils/makefile.mk
+===================================================================
+RCS file: /cvs/framework/filter/source/config/tools/utils/makefile.mk,v
+retrieving revision 1.5
+retrieving revision 1.5.92.1
+diff -u -r1.5 -r1.5.92.1
+--- filter/source/config/tools/utils/makefile.mk 8 Sep 2005 21:39:14 -0000 1.5
++++ filter/source/config/tools/utils/makefile.mk 17 Jan 2006 11:03:44 -0000 1.5.92.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.5 $
++# $Revision: 1.5.92.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/09/08 21:39:14 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:03:44 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -51,8 +51,8 @@
+ juh.jar \
+ jut.jar \
+ java_uno.jar \
+- jaxp.jar \
+- parser.jar
++ xml-apis.jar \
++ xercesImpl.jar
+
+ JAVACLASSFILES = \
+ $(CLASSDIR)$/$(PACKAGE)$/AnalyzeStartupLog.class \
+Index: helpcontent2/settings.pmk
+===================================================================
+RCS file: /cvs/documentation/helpcontent2/settings.pmk,v
+retrieving revision 1.5
+retrieving revision 1.5.106.1
+diff -u -r1.5 -r1.5.106.1
+--- helpcontent2/settings.pmk 29 Apr 2005 09:14:07 -0000 1.5
++++ helpcontent2/settings.pmk 17 Jan 2006 12:52:53 -0000 1.5.106.1
+@@ -1,5 +1,5 @@
+
+-my_cp:=$(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.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
++my_cp:=$(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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
+
+ .IF "$(SYSTEM_DB)" == "YES"
+ my_cp!:=$(my_cp)$(PATH_SEPERATOR)$(DB_JAR)
+Index: officecfg/org/openoffice/configuration/FileHelper.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/FileHelper.java,v
+retrieving revision 1.2
+retrieving revision 1.2.88.1
+diff -u -r1.2 -r1.2.88.1
+--- officecfg/org/openoffice/configuration/FileHelper.java 8 Sep 2005 14:42:51 -0000 1.2
++++ officecfg/org/openoffice/configuration/FileHelper.java 17 Jan 2006 11:28:49 -0000 1.2.88.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: FileHelper.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.88.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/08 14:42:51 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:28:49 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -62,7 +62,7 @@
+ File aFile = new File(sSource);
+
+ try {
+- absPath = aFile.getAbsoluteFile().toURL().toString();
++ absPath = aFile.getAbsolutePath();
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+Index: officecfg/org/openoffice/configuration/Generator.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/Generator.java,v
+retrieving revision 1.2
+retrieving revision 1.2.902.1
+diff -u -r1.2 -r1.2.902.1
+--- officecfg/org/openoffice/configuration/Generator.java 5 Jul 2001 08:04:36 -0000 1.2
++++ officecfg/org/openoffice/configuration/Generator.java 17 Jan 2006 11:28:50 -0000 1.2.902.1
+@@ -18,7 +18,7 @@
+ public Generator() throws Exception
+ {
+ // set the driver for xt
+- System.setProperty("com.jclark.xsl.sax.parser", "com.sun.xml.parser.Parser");
++ System.setProperty("com.jclark.xsl.sax.parser", "org.apache.xerces.parsers.SAXParser");
+ }
+
+ /**
+Index: officecfg/org/openoffice/configuration/XMLDefaultGenerator.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/XMLDefaultGenerator.java,v
+retrieving revision 1.4
+retrieving revision 1.4.88.1
+diff -u -r1.4 -r1.4.88.1
+--- officecfg/org/openoffice/configuration/XMLDefaultGenerator.java 8 Sep 2005 14:43:34 -0000 1.4
++++ officecfg/org/openoffice/configuration/XMLDefaultGenerator.java 17 Jan 2006 11:28:50 -0000 1.4.88.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XMLDefaultGenerator.java,v $
+ *
+- * $Revision: 1.4 $
++ * $Revision: 1.4.88.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/08 14:43:34 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:28:50 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -36,12 +36,10 @@
+
+ import org.xml.sax.*;
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.XmlDocument;
+ import org.xml.sax.SAXException;
+ import org.xml.sax.SAXParseException;
+ import javax.xml.parsers.SAXParserFactory;
+ import javax.xml.parsers.SAXParser;
+-import com.sun.xml.tree.*;
+ import java.util.*;
+ import java.io.*;
+ import com.jclark.xsl.sax.Driver;
+@@ -65,7 +63,7 @@
+ public XMLDefaultGenerator(String sourceFile) throws Exception
+ {
+ // set the driver for xt
+- System.setProperty("com.jclark.xsl.sax.parser", "com.sun.xml.parser.Parser");
++ System.setProperty("com.jclark.xsl.sax.parser", "org.apache.xerces.parsers.SAXParser");
+ evaluateSchema(sourceFile);
+ }
+
+Index: readlicense_oo/util/makefile.pmk
+===================================================================
+RCS file: /cvs/installation/readlicense/util/makefile.pmk,v
+retrieving revision 1.10
+retrieving revision 1.10.12.1
+diff -u -r1.10 -r1.10.12.1
+--- readlicense_oo/util/makefile.pmk 25 Oct 2005 10:43:44 -0000 1.10
++++ readlicense_oo/util/makefile.pmk 17 Jan 2006 11:15:07 -0000 1.10.12.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.pmk,v $
+ #
+-# $Revision: 1.10 $
++# $Revision: 1.10.12.1 $
+ #
+-# last change: $Author: hr $ $Date: 2005/10/25 10:43:44 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:15:07 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -70,7 +70,7 @@
+ $(MISC)$/readme%.html :
+ @+-$(MKDIR) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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%.txt :
+ @+-$(MKDIR) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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: scripting/java/build.xml
+===================================================================
+RCS file: /cvs/framework/scripting/java/build.xml,v
+retrieving revision 1.32
+retrieving revision 1.32.18.1
+diff -u -r1.32 -r1.32.18.1
+--- scripting/java/build.xml 9 Sep 2005 01:54:21 -0000 1.32
++++ scripting/java/build.xml 17 Jan 2006 11:15:56 -0000 1.32.18.1
+@@ -4,9 +4,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.32 $
++ $Revision: 1.32.18.1 $
+
+- last change: $Author: rt $ $Date: 2005/09/09 01:54:21 $
++ last change: $Author: cmc $ $Date: 2006/01/17 11:15:56 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -65,15 +65,11 @@
+
+ <path id="idesupport.class.path">
+ <pathelement path="${jardir}"/>
+- <!-- <pathelement path="${solar.jar}/jaxp.jar"/>
+- <pathelement path="${solar.jar}/parser.jar"/>
+- <pathelement path="${install.dir}/xerces.jar"/> -->
+ </path>
+
+ <path id="openide.class.path">
+ <pathelement path="${jardir}"/>
+ <pathelement path="${solar.jar}/openide.jar"/>
+- <!-- <pathelement path="${install.dir}/xerces.jar"/> -->
+ </path>
+
+ <path id="netbeans.editor.support.classpath">
+Index: solenv/bin/modules/installer/javainstaller.pm
+===================================================================
+RCS file: /cvs/tools/solenv/bin/modules/installer/javainstaller.pm,v
+retrieving revision 1.22
+retrieving revision 1.21.184.2
+diff -u -r1.22 -r1.21.184.2
+--- solenv/bin/modules/installer/javainstaller.pm 13 Jan 2006 15:01:29 -0000 1.22
++++ solenv/bin/modules/installer/javainstaller.pm 18 Jan 2006 12:05:44 -0000 1.21.184.2
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: javainstaller.pm,v $
+ #
+-# $Revision: 1.22 $
++# $Revision: 1.21.184.2 $
+ #
+-# last change: $Author: rt $ $Date: 2006/01/13 15:01:29 $
++# last change: $Author: cmc $ $Date: 2006/01/18 12:05:44 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -494,14 +494,14 @@
+
+ # The variable CLASSPATH has to contain:
+ # $installsdk/classes:$installsdk/classes/setupsdk.jar:
+- # $installsdk/classes/parser.jar:$installsdk/classes/jaxp.jar:
++ # $installsdk/classes/xercesImpl.jar:$installsdk/classes/xml-apis.jar:
+ # $installsdk/classes/ldapjdk.jar:$directory
+
+ my @additional_classpath = ();
+ push(@additional_classpath, "$installsdk\/classes");
+ push(@additional_classpath, "$installsdk\/installsdk.jar");
+- push(@additional_classpath, "$installsdk\/classes\/parser.jar");
+- push(@additional_classpath, "$installsdk\/classes\/jaxp.jar");
++ push(@additional_classpath, "$installsdk\/classes\/xml-apis.jar");
++ push(@additional_classpath, "$installsdk\/classes\/xercesImpl.jar");
+ push(@additional_classpath, "$directory");
+
+ my $newclasspathstring = "";
+Index: solenv/inc/tg_config.mk
+===================================================================
+RCS file: /cvs/tools/solenv/inc/tg_config.mk,v
+retrieving revision 1.6
+retrieving revision 1.6.184.1
+diff -u -r1.6 -r1.6.184.1
+--- solenv/inc/tg_config.mk 8 Sep 2005 09:42:41 -0000 1.6
++++ solenv/inc/tg_config.mk 17 Jan 2006 11:10:09 -0000 1.6.184.1
+@@ -1,12 +1,12 @@
+-#*************************************************************************
++#************************************************************************
+ #
+ # OpenOffice.org - a multi-platform office productivity suite
+ #
+ # $RCSfile: tg_config.mk,v $
+ #
+-# $Revision: 1.6 $
++# $Revision: 1.6.184.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/09/08 09:42:41 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:10:09 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -62,12 +62,12 @@
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+ .IF "$(NO_INSPECTION)"==""
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.configuration.Inspector $<
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_val.xsl $(@:d)$*.val componentName=$(PACKAGE).$*
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/sanity.xsl $(@:d)$*.san
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_trim.xsl $(@:d)$*.tmp
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_trim.xsl $(@:d)$*.tmp
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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,
+ # org.openoffice.configuration.Inspector should be replaced and the
+@@ -101,7 +101,7 @@
+ @+echo -------------+ creating locale dependent resource bundles
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/resource.xsl $@ locale={$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))}
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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$/, $@))} \
+@@ -129,11 +129,11 @@
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+ .IF "$(NO_INSPECTION)"==""
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.configuration.Inspector $<
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/alllang.xsl $(@:d)$*.tmp xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs schemaRoot=$(XCSROOT)$/registry$/schema
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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,
+ # org.openoffice.configuration.Inspector should be replaced and the
+@@ -170,8 +170,8 @@
+ @+echo -------------+ creating locale dependent entries
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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 \
+ --stringparam xcs $(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs \
+@@ -206,8 +206,8 @@
+ @+echo -------------+ creating a module file
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$(@:f:s/.xcu/.tmp/) $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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/) \
+ --stringparam xcs $(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$(<:b).xcs \
+Index: toolkit/test/accessibility/jawb.mf
+===================================================================
+RCS file: /cvs/gsl/toolkit/test/accessibility/jawb.mf,v
+retrieving revision 1.4
+retrieving revision 1.4.178.1
+diff -u -r1.4 -r1.4.178.1
+--- toolkit/test/accessibility/jawb.mf 23 Jul 2004 14:26:57 -0000 1.4
++++ toolkit/test/accessibility/jawb.mf 17 Jan 2006 11:03:18 -0000 1.4.178.1
+@@ -1,3 +1,3 @@
+ Manifest-Version: 1.0
+ Main-Class: AccessibilityWorkBench
+-Class-Path: classes.jar ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar xt.jar jaxp.jar
++Class-Path: classes.jar ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar xt.jar xml-apis.jar
+Index: xmerge/source/xmerge/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/build.xml,v
+retrieving revision 1.2
+retrieving revision 1.2.4.1
+diff -u -r1.2 -r1.2.4.1
+--- xmerge/source/xmerge/build.xml 24 Oct 2005 17:57:33 -0000 1.2
++++ xmerge/source/xmerge/build.xml 17 Jan 2006 10:54:44 -0000 1.2.4.1
+@@ -58,9 +58,8 @@
+ <property file="../inc/antbuild.properties"/>
+
+ <path id="classpath">
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ <pathelement location="${solar.jar}/unoil.jar"/>
+ <pathelement location="${solar.jar}/ridl.jar"/>
+ <pathelement location="${solar.jar}/jurt.jar"/>
+@@ -96,7 +95,7 @@
+ <attribute name="Specification-Vendor" value="OpenOffice.org"/>
+ <attribute name="Specification-Version" value="0.6.0"/>
+ <attribute name="Implementation-Version" value="#IMPL-VERSION#"/>
+- <attribute name="Class-Path" value="jaxp.jar parser.jar"/>
++ <attribute name="Class-Path" value="xml-apis.jar xercesImpl.jar"/>
+ </manifest>
+ </jar>
+ </target>
+Index: xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java,v
+retrieving revision 1.3
+retrieving revision 1.2.4.1
+diff -u -r1.3 -r1.2.4.1
+Index: xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml,v
+retrieving revision 1.2
+retrieving revision 1.2.4.1
+diff -u -r1.2 -r1.2.4.1
+--- xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml 24 Oct 2005 18:23:20 -0000 1.2
++++ xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml 17 Jan 2006 10:55:00 -0000 1.2.4.1
+@@ -79,9 +79,8 @@
+ <!-- classpath settings for javac tasks -->
+ <path id="classpath">
+ <pathelement location="${build.class}"/>
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ </path>
+
+ <!-- set whether we want to compile with or without deprecation -->
+Index: xmerge/util/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/util/build.xml,v
+retrieving revision 1.9
+retrieving revision 1.9.4.1
+diff -u -r1.9 -r1.9.4.1
+--- xmerge/util/build.xml 24 Oct 2005 18:23:52 -0000 1.9
++++ xmerge/util/build.xml 17 Jan 2006 10:55:05 -0000 1.9.4.1
+@@ -4,9 +4,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.9 $
++ $Revision: 1.9.4.1 $
+
+- last change: $Author: hr $ $Date: 2005/10/24 18:23:52 $
++ last change: $Author: cmc $ $Date: 2006/01/17 10:55:05 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -39,9 +39,8 @@
+ <property name="javadoc.dir" location="${build.dir}/javadoc"/>
+
+ <path id="classpath">
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ <pathelement location="${solar.jar}/unoil.jar"/>
+ <pathelement location="${solar.jar}/ridl.jar"/>
+ <pathelement location="${solar.jar}/jurt.jar"/>
+Index: xmerge/util/xmerge.mf
+===================================================================
+RCS file: /cvs/xml/xmerge/util/xmerge.mf,v
+retrieving revision 1.1
+retrieving revision 1.1.24.1
+diff -u -r1.1 -r1.1.24.1
+--- xmerge/util/xmerge.mf 7 Mar 2002 16:45:23 -0000 1.1
++++ xmerge/util/xmerge.mf 17 Jan 2006 10:55:11 -0000 1.1.24.1
+@@ -1,6 +1,6 @@
+ Manifest-Version: 1.0
+ Main-Class: org.openoffice.xmerge.test.Driver
+-Class-Path: jaxp.jar parser.jar
++Class-Path: xml-apis.jar xercesImpl.jar
+ Specification-Title: OpenOffice XMerge Framework
+ Specification-Vendor: OpenOffice.org
+ Specification-Version: 0.6.0
+Index: xmerge/workben/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/workben/build.xml,v
+retrieving revision 1.3
+retrieving revision 1.3.8.1
+diff -u -r1.3 -r1.3.8.1
+--- xmerge/workben/build.xml 9 Sep 2005 11:50:54 -0000 1.3
++++ xmerge/workben/build.xml 17 Jan 2006 10:55:13 -0000 1.3.8.1
+@@ -5,9 +5,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.3 $
++ $Revision: 1.3.8.1 $
+
+- last change: $Author: rt $ $Date: 2005/09/09 11:50:54 $
++ last change: $Author: cmc $ $Date: 2006/01/17 10:55:13 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -60,9 +60,8 @@
+ <!-- classpath settings for javac tasks -->
+ <path id="classpath">
+ <pathelement location="${build.class}"/>
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ </path>
+
+ <!-- set wether we want to compile with or without deprecation -->
+Index: xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java,v
+retrieving revision 1.2
+retrieving revision 1.2.2.1
+diff -u -r1.2 -r1.2.2.1
+--- xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java 16 Jan 2006 12:35:17 -0000 1.2
++++ xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java 19 Jan 2006 09:43:59 -0000 1.2.2.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: GCJFileURLStreamHandler.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.2.1 $
+ *
+- * last change: $Author: obo $ $Date: 2006/01/16 12:35:17 $
++ * last change: $Author: cmc $ $Date: 2006/01/19 09:43:59 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -43,12 +43,12 @@
+ import java.net.URLConnection;
+ import java.util.HashMap;
+
+-public class FileURLStreamHandler
++public class GCJFileURLStreamHandler
+ extends gnu.java.net.protocol.file.Handler {
+
+ private static HashMap cache = new HashMap();
+
+- FileURLStreamHandler() {
++ GCJFileURLStreamHandler() {
+ }
+
+ public URLConnection openConnection(URL url) throws IOException {
+Index: xmlhelp/source/com/sun/star/help/HelpCompiler.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/HelpCompiler.java,v
+retrieving revision 1.12
+retrieving revision 1.11.4.2
+diff -u -r1.12 -r1.11.4.2
+--- xmlhelp/source/com/sun/star/help/HelpCompiler.java 16 Jan 2006 12:35:49 -0000 1.12
++++ xmlhelp/source/com/sun/star/help/HelpCompiler.java 18 Jan 2006 12:08:35 -0000 1.11.4.2
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: HelpCompiler.java,v $
+ *
+- * $Revision: 1.12 $
++ * $Revision: 1.11.4.2 $
+ *
+- * last change: $Author: obo $ $Date: 2006/01/16 12:35:49 $
++ * last change: $Author: cmc $ $Date: 2006/01/18 12:08:35 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -38,6 +38,7 @@
+ import java.io.ByteArrayInputStream;
+ import java.io.File;
+ import java.io.IOException;
++import java.io.ByteArrayOutputStream;
+ import java.io.InputStreamReader;
+ import java.io.UnsupportedEncodingException;
+ import java.net.MalformedURLException;
+@@ -49,16 +50,20 @@
+ import java.util.LinkedList;
+ import java.util.List;
+
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
++
+ import org.w3c.dom.Document;
+ import org.w3c.dom.Element;
+ import org.w3c.dom.Node;
+ import org.w3c.dom.NodeList;
+ import org.w3c.dom.Text;
++import org.w3c.dom.traversal.DocumentTraversal;
++import org.w3c.dom.traversal.NodeFilter;
++import org.w3c.dom.traversal.TreeWalker;
++import org.w3c.dom.traversal.NodeIterator;
+ import org.xml.sax.InputSource;
+
+-import com.sun.xml.tree.TreeWalker;
+-import com.sun.xml.tree.XmlDocument;
+-
+ public class HelpCompiler {
+
+ private static final String makeRelPrefix = ".." + File.separator;
+@@ -98,25 +103,25 @@
+
+ }
+
+- private Object[] switchFind(Node node) {
++ private Object[] switchFind(Document doc) {
+ HashSet hs = new HashSet();
+- Node next;
+- TreeWalker tw = new TreeWalker(node);
+- while ((next = tw.getNextElement("switchinline")) != null) {
+- Element el = (Element) next;
+- if (!el.getAttribute("select").equals("appl"))
+- continue;
+-
+- NodeList nl = el.getChildNodes();
+- for (int i = 0; i < nl.getLength(); ++i) {
+- if (nl.item(i).getNodeName().equals("caseinline")) {
+- String appl = ((Element) nl.item(i)).getAttribute("select");
+- hs.add(appl);
+- } else if (nl.item(i).getNodeName().equals("defaultinline")) {
+- hs.add("DEFAULT");
+- }
+- }
+- }
++
++ NodeList nodelist = doc.getElementsByTagName("switchinline");
++
++ for (int j = 0; j < nodelist.getLength(); ++j) {
++ Element el = (Element) nodelist.item(j);
++ if (el.getAttribute("select").equals("appl")) {
++ NodeList nl = el.getChildNodes();
++ for (int i = 0; i < nl.getLength(); ++i) {
++ if (nl.item(i).getNodeName().equals("caseinline")) {
++ String appl = ((Element) nl.item(i)).getAttribute("select");
++ hs.add(appl);
++ } else if (nl.item(i).getNodeName().equals("defaultinline")) {
++ hs.add("DEFAULT");
++ }
++ }
++ }
++ }
+
+ hs.add("DEFAULT");
+ return hs.toArray();
+@@ -129,6 +134,9 @@
+ NodeList nl = node.getChildNodes();
+ for (int i = 0; i < nl.getLength(); ++i) {
+ Node n = nl.item(i);
++ if (n == null) {
++ continue;
++ }
+ if ((n.getNodeName().equals("switchinline")
+ || n.getNodeName().equals("switch"))
+ && ((Element) n).getAttribute("select").equals("appl")) {
+@@ -168,93 +176,119 @@
+ return parent;
+ }
+
+- public boolean compile() throws UnsupportedEncodingException {
+- // we now have the jaroutputstream, which will contain the document.
+- // now determine the document as a dom tree in variable docResolved
+- File inputFil = new File(inputFile);
+-
+- // HelpCompiler.getSourceDocument() takes a string that resembles an URL.
+- // Using inputFil.toURL() is way to expensive here,
+- // because it checks the filesystem to find out if inputFil
+- // might be a directory. This takes a lot of time if working from
+- // Windows via NFS on remote volumes. We "know" that inputfil is
+- // a file anyway.
+- String path;
+- if ( File.separatorChar == '\\' ) {
+- path = "file:/";
+- path += inputFil.getAbsolutePath();
+- path = path.replace('\\','/');
++ static byte[] docToBytes(Document doc) throws IOException {
++ ByteArrayOutputStream baos = new ByteArrayOutputStream();
++
++ java.lang.reflect.Constructor con;
++ java.lang.reflect.Method meth;
++ String domImpl = doc.getClass().getName();
++
++ /*
++ * We may have multiple XML parsers in the Classpath.
++ * Depending on which one is first, the actual type of
++ * doc may vary. Need a way to find out which API is being
++ * used and use an appropriate serialization method.
++ */
++ try {
++ // First of all try for JAXP 1.0
++ if (domImpl.equals("com.sun.xml.tree.XmlDocument")) {
++ Class jaxpDoc = Class.forName("com.sun.xml.tree.XmlDocument");
++
++ // The method is in the XMLDocument class itself, not a helper
++ meth = jaxpDoc.getMethod("write",
++ new Class[] { Class.forName("java.io.OutputStream") } );
++
++ meth.invoke(doc, new Object [] { baos } );
++ }
++ else if (domImpl.equals("org.apache.crimson.tree.XmlDocument")) {
++ Class crimsonDoc = Class.forName("org.apache.crimson.tree.XmlDocument");
++ // The method is in the XMLDocument class itself, not a helper
++ meth = crimsonDoc.getMethod("write",
++ new Class[] { Class.forName("java.io.OutputStream") } );
++
++ meth.invoke(doc, new Object [] { baos } );
++ }
++ else if (domImpl.equals("gnu.xml.dom.DomDocument")) {
++ Class gnuSer = Class.forName("gnu.xml.dom.ls.DomLSSerializer");
++
++ // Get the serialize method
++ meth = gnuSer.getMethod("serialize",
++ new Class [] { Class.forName("org.w3c.dom.Node"),
++ Class.forName("java.io.OutputStream") } );
++
++ // Get an instance
++ Object serializer = gnuSer.newInstance();
++
++ // Now call serialize to write the document
++ meth.invoke(serializer, new Object [] { doc, baos } );
++ }
++ else if (domImpl.equals("org.apache.xerces.dom.DocumentImpl")
++ || domImpl.equals("org.apache.xerces.dom.DeferredDocumentImpl")) {
++ // Try for Xerces
++ Class xercesSer =
++ Class.forName("org.apache.xml.serialize.XMLSerializer");
++
++ // Get the OutputStream constructor
++ // May want to use the OutputFormat parameter at some stage too
++ con = xercesSer.getConstructor(new Class []
++ { Class.forName("java.io.OutputStream"),
++ Class.forName("org.apache.xml.serialize.OutputFormat") } );
++
++
++ // Get the serialize method
++ meth = xercesSer.getMethod("serialize",
++ new Class [] { Class.forName("org.w3c.dom.Document") } );
++
++
++ // Get an instance
++ Object serializer = con.newInstance(new Object [] { baos, null } );
++
++
++ // Now call serialize to write the document
++ meth.invoke(serializer, new Object [] { doc } );
++ }
++ else {
++ // We don't have another parser
++ throw new IOException("No appropriate API (JAXP/Xerces) to serialize XML document: " + domImpl);
++ }
+ }
+- else {
+- path = "file:" + inputFil.getAbsolutePath();
++ catch (ClassNotFoundException cnfe) {
++ throw new IOException(cnfe.toString());
++ }
++ catch (Exception e) {
++ // We may get some other errors, but the bottom line is that
++ // the steps being executed no longer work
++ throw new IOException(e.toString());
+ }
+- byte[] embResolved = getSourceDocument(path);
+
+- // now add path to the document
+- // resolve the dom
+- if (embResolved == null) {
+- String sourcePath;
+- try {
+- sourcePath = inputFil.getCanonicalPath();
+- } catch (IOException e3) {
+- sourcePath = inputFil.getAbsolutePath();
+- }
+- System.err.println("ERROR: file not existing: " + sourcePath);
+- System.exit(1);
+- }
++ byte bytes[] = baos.toByteArray();
+
+- ByteArrayInputStream inByte = new ByteArrayInputStream(embResolved);
+- InputStreamReader inread;
+- try {
+- inread = new InputStreamReader(inByte, "UTF8");
+- } catch (UnsupportedEncodingException e) {
+- System.err.println(
+- "ERROR: unsupported Encoding '"
+- + inputFile
+- + "': "
+- + e.getMessage());
+- return false;
+- }
++ return bytes;
++ }
+
+- InputSource inputSource = new InputSource(inread);
+- inputSource.setEncoding("UTF8");
+- Document docResolvedOrg = null;
+- try {
+- docResolvedOrg = XmlDocument.createXmlDocument(inputSource, false);
+- } catch (Exception e) {
+- System.err.println(
+- "ERROR: XmlDocument.createXmlDocument() failed for '"
+- + inputFile
+- + "': "
+- + e.getMessage());
+- return false;
+- }
++ public class myparser {
++ HashSet hidlist = null;
++ HashSet extendedHelpText = null;
++ Hashtable keywords = null;
++ Hashtable helptexts = null;
++ String documentId = null;
++ String fileName = null;
++ String title = null;
++
++ public myparser(String indocumentId, String infileName, String intitle) {
++ hidlist = new HashSet();
++ extendedHelpText = new HashSet();
++ keywords = new Hashtable();
++ helptexts = new Hashtable();
++ documentId = indocumentId;
++ fileName = infileName;
++ title = intitle;
++ }
+
+- // now find all applications for which one has to compile
+- String documentId = null;
+- String fileName = null;
+- String title = null;
+- // returns all applications for which one has to compile
+- Object[] applications = switchFind(docResolvedOrg);
+-
+- for (int i = 0; i < applications.length; ++i) {
+- String appl = (String) applications[i];
+- // returns a clone of the document with swich-cases resolved
+- Element docResolved =
+- (Element) clone(docResolvedOrg.getDocumentElement(), appl);
+- // now determine the id of the document, which is part of the
+- // bookmark - tag (HID)
+- Node test;
+- TreeWalker treewalker = new TreeWalker(docResolved);
+- // a number to determine the anchor of the whole stuff
+- HashSet hidlist = new HashSet();
+- HashSet extendedHelpText = new HashSet();
+- Hashtable keywords = new Hashtable();
+- Hashtable helptexts = new Hashtable();
+-
+- while ((test = treewalker.getNext()) != null) {
+- if (fileName == null
+- && test.getNodeName().equals("filename")) {
++ public void traverse( Node parentNode ) {
++ // traverse all nodes that belong to the parent
++ for(Node test=parentNode.getFirstChild(); test!=null; test=test.getNextSibling()) {
++ if (fileName == null && test.getNodeName().equals("filename")) {
+ NodeList list = test.getChildNodes();
+ Node node = list.item(0);
+ if (node.getNodeType() == Node.TEXT_NODE)
+@@ -332,15 +366,102 @@
+ if (!extendedHelpText.isEmpty())
+ extendedHelpText = new HashSet();
+ }
+- } // now save the info
++ // traverse children
++ traverse(test);
++ }
++ }
++ }
++
++ public boolean compile() throws UnsupportedEncodingException, java.io.IOException {
++ // we now have the jaroutputstream, which will contain the document.
++ // now determine the document as a dom tree in variable docResolved
++ String absolutePath;
++ String sourcePath;
++ File inputFil = new File(inputFile);
++ try {
++ absolutePath = inputFil.getCanonicalPath();
++ } catch (IOException e3) {
++ absolutePath = inputFil.getAbsolutePath();
++ }
++ try {
++ sourcePath = new File(src).getCanonicalPath();
++ } catch (IOException e3) {
++ sourcePath = new File(inputFile).getAbsolutePath();
++ }
++
++ byte[] embResolved = null;
++ try {
++ embResolved = getSourceDocument(inputFil.toURL().toExternalForm());
++ } catch (MalformedURLException e4) {
++ System.err.println(
++ "ERROR: malformed URL '" + inputFile + "': " + e4.getMessage());
++ return false;
++ }
++
++ // now add path to the document
++ // resolve the dom
++ if (embResolved == null) {
++ System.err.println("ERROR: file not existing: " + sourcePath);
++ System.exit(1);
++ }
++
++ ByteArrayInputStream inByte = new ByteArrayInputStream(embResolved);
++ InputStreamReader inread;
++ try {
++ inread = new InputStreamReader(inByte, "UTF8");
++ } catch (UnsupportedEncodingException e) {
++ System.err.println(
++ "ERROR: unsupported Encoding '"
++ + inputFile
++ + "': "
++ + e.getMessage());
++ return false;
++ }
++
++ InputSource inputSource = new InputSource(inread);
++ inputSource.setEncoding("UTF8");
++ Document docResolvedOrg = null;
++ try {
++ //System.err.println("Compiling " + inputFile);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ docResolvedOrg = dBuilder.parse(inputSource);
++ } catch (Exception e) {
++ System.err.println(
++ "ERROR: XmlDocument.createXmlDocument() failed for '"
++ + inputFile
++ + "': "
++ + e.getMessage());
++ return false;
++ }
++
++ // now find all applications for which one has to compile
++ String documentId = null;
++ String fileName = null;
++ String title = null;
++ // returns all applications for which one has to compile
++ Object[] applications = switchFind(docResolvedOrg);
++
++ for (int i = 0; i < applications.length; ++i) {
++ String appl = (String) applications[i];
++ // returns a clone of the document with swich-cases resolved
++ Element docResolved =
++ (Element) clone(docResolvedOrg.getDocumentElement(), appl);
++
++ myparser aparser = new myparser(documentId, fileName, title);
++ aparser.traverse(docResolved);
++ documentId = aparser.documentId;
++ fileName = aparser.fileName;
++ title = aparser.title;
+
+ addEntryToJarFile(
+ appl,
+ "text",
+- docResolved.toString().getBytes("UTF8"));
+- addEntryToJarFile(appl, "hidlist", hidlist);
+- addEntryToJarFile(appl, "helptexts", helptexts);
+- addEntryToJarFile(appl, "keywords", keywords);
++ docToBytes(docResolved.getOwnerDocument()));
++ addEntryToJarFile(appl, "hidlist", aparser.hidlist);
++ addEntryToJarFile(appl, "helptexts", aparser.helptexts);
++ addEntryToJarFile(appl, "keywords", aparser.keywords);
+ } // end iteration over all applications
+
+ try {
+Index: xmlhelp/source/com/sun/star/help/HelpIndexer.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/HelpIndexer.java,v
+retrieving revision 1.16
+retrieving revision 1.16.20.1
+diff -u -r1.16 -r1.16.20.1
+--- xmlhelp/source/com/sun/star/help/HelpIndexer.java 25 Oct 2005 11:24:55 -0000 1.16
++++ xmlhelp/source/com/sun/star/help/HelpIndexer.java 17 Jan 2006 11:20:47 -0000 1.16.20.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: HelpIndexer.java,v $
+ *
+- * $Revision: 1.16 $
++ * $Revision: 1.16.20.1 $
+ *
+- * last change: $Author: hr $ $Date: 2005/10/25 11:24:55 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:20:47 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -46,7 +46,6 @@
+ import java.util.*;
+
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.*;
+ import org.xml.sax.*;
+ import javax.xml.parsers.*;
+ import com.jclark.xsl.sax.*;
+@@ -246,7 +245,10 @@
+ in.setEncoding("UTF8");
+ Document docResolved = null;
+ try {
+- docResolved = XmlDocument.createXmlDocument(in, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ docResolved = dBuilder.parse(in);
+ } catch (Exception e) {
+ if (docResolved == null)
+ System.err.println("Nullpointer");
+Index: xmlhelp/source/com/sun/star/help/makefile.mk
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/makefile.mk,v
+retrieving revision 1.21
+retrieving revision 1.21.2.1
+diff -u -r1.21 -r1.21.2.1
+--- xmlhelp/source/com/sun/star/help/makefile.mk 16 Jan 2006 12:42:15 -0000 1.21
++++ xmlhelp/source/com/sun/star/help/makefile.mk 19 Jan 2006 14:48:36 -0000 1.21.2.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.21 $
++# $Revision: 1.21.2.1 $
+ #
+-# last change: $Author: obo $ $Date: 2006/01/16 12:42:15 $
++# last change: $Author: cmc $ $Date: 2006/01/19 14:48:36 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -42,7 +42,7 @@
+
+ .INCLUDE : settings.mk
+
+-JARFILES = jaxp.jar parser.jar xt.jar unoil.jar ridl.jar jurt.jar jut.jar xmlsearch.jar
++JARFILES = xml-apis.jar xercesImpl.jar xt.jar unoil.jar ridl.jar jurt.jar jut.jar xmlsearch.jar
+ EXTRAJARFILES =
+
+ .IF "$(SYSTEM_DB)" == "YES"
+Index: XmlSearch/src/com/sun/xmlsearch/makefile.mk
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/makefile.mk,v
+retrieving revision 1.5
+retrieving revision 1.5.6.1
+diff -u -r1.5 -r1.5.6.1
+--- XmlSearch/src/com/sun/xmlsearch/makefile.mk 25 Oct 2005 11:11:58 -0000 1.5
++++ XmlSearch/src/com/sun/xmlsearch/makefile.mk 17 Jan 2006 10:54:03 -0000 1.5.6.1
+@@ -3,9 +3,9 @@
+ #* $Workfile:$
+ #*
+ #* Creation date KR 28.06.99
+-#* last change $Author: hr $ $Date: 2005/10/25 11:11:58 $
++#* last change $Author: cmc $ $Date: 2006/01/17 10:54:03 $
+ #*
+-#* $Revision: 1.5 $
++#* $Revision: 1.5.6.1 $
+ #*
+ #* $Logfile:$
+ #*
+@@ -21,8 +21,7 @@
+
+ .INCLUDE : settings.mk
+
+-JARFILES = jaxp.jar parser.jar xt.jar
+-#EXTRAJARFILES = jaxp.jar parser.jar xt.jar
++JARFILES = xpi-apis.jar xercesImpl.jar xt.jar
+
+ JAVAFILES = $(subst,$(CLASSDIR)$/$(PACKAGE)$/, $(subst,.class,.java $(JAVACLASSFILES)))
+
+Index: XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java 9 Sep 2005 16:41:49 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java 17 Jan 2006 10:54:04 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: TreeBuilder.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:41:49 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:04 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -46,7 +46,8 @@
+ import org.xml.sax.HandlerBase;
+ import org.xml.sax.AttributeList;
+ import org.xml.sax.InputSource;
+-import com.sun.xml.parser.Parser;
++import javax.xml.parsers.SAXParserFactory;
++import javax.xml.parsers.SAXParser;
+ import com.sun.xmlsearch.util.IntegerArray;
+ import com.jclark.xsl.om.*;
+
+@@ -610,22 +611,29 @@
+ }
+ } // end of SubstitutedElement
+
++ private SAXParser getParser() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
++ {
++ SAXParserFactory spf = SAXParserFactory.newInstance();
++ spf.setValidating(false);
++ return spf.newSAXParser();
++ }
++
+ private static final int InitStackSize = 256;
+ private static final Name EmptyName = null;
+- private Parser _parser = new Parser();
++ private SAXParser _parser = null;
+ private Hashtable _names = new Hashtable(256);
+
+ private NameTable _nameTable;
+ private NamespacePrefixMap _nsMap;
+
+- public TreeBuilder() {
++ public TreeBuilder() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException {
+ this(new NameTableImpl());
+ }
+
+- public TreeBuilder(NameTable nameTable) {
++ public TreeBuilder(NameTable nameTable) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException {
++ _parser = getParser();
+ _nameTable = nameTable;
+ _nsMap = _nameTable.getEmptyNamespacePrefixMap();
+- _parser.setFastStandalone(true);
+ }
+
+ public Node makeSubstituteElement(Name name, Node2[] children, Node original) {
+@@ -917,9 +925,8 @@
+
+ public synchronized Node getRoot(InputSource input) {
+ try {
+- _parser.setDocumentHandler(this);
+ // long start = System.currentTimeMillis();
+- _parser.parse(input);
++ _parser.parse(input, this);
+ /*
+ System.out.println((System.currentTimeMillis()-start)
+ +" msec parse");
+Index: XmlSearch/src/com/sun/xmlsearch/util/Configuration.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/util/Configuration.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/util/Configuration.java 9 Sep 2005 16:45:09 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/util/Configuration.java 17 Jan 2006 10:54:05 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: Configuration.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:45:09 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:05 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -40,8 +40,8 @@
+ import java.util.Vector;
+ import java.net.URL;
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.XmlDocument;
+-import com.sun.xml.parser.Resolver;
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
+ import org.xml.sax.InputSource;
+
+ public final class Configuration {
+@@ -68,14 +68,19 @@
+ }
+
+ public static Element parse(URL location) throws Exception {
+- InputSource input = Resolver.createInputSource(location, true);
+- XmlDocument document = XmlDocument.createXmlDocument(input, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document document = dBuilder.parse(location.openStream());
+ return document.getDocumentElement();
+ }
+
+ public static Element parse(byte[] xmlBytes) throws Exception {
+ ByteArrayInputStream input = new ByteArrayInputStream(xmlBytes);
+- XmlDocument document = XmlDocument.createXmlDocument(input, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document document = dBuilder.parse(input);
+ return document.getDocumentElement();
+ }
+
+Index: XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java,v
+retrieving revision 1.7
+retrieving revision 1.7.12.1
+diff -u -r1.7 -r1.7.12.1
+--- XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java 9 Sep 2005 16:52:56 -0000 1.7
++++ XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java 17 Jan 2006 10:54:06 -0000 1.7.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XmlIndexBuilder.java,v $
+ *
+- * $Revision: 1.7 $
++ * $Revision: 1.7.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:52:56 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:06 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -42,15 +42,17 @@
+ import java.net.URL;
+ import org.xml.sax.InputSource;
+ import org.xml.sax.HandlerBase;
+-import com.sun.xml.parser.Resolver;
+-import com.sun.xml.tree.XmlDocument;
+ import com.sun.xmlsearch.tree.*;
+ import com.sun.xmlsearch.util.*;
+ import com.sun.xmlsearch.db.*;
+ import com.sun.xmlsearch.xml.XmlIndex;
+
+-import com.sun.xml.parser.Parser;
+-import com.sun.xml.parser.ValidatingParser;
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
++import javax.xml.parsers.SAXParserFactory;
++import javax.xml.parsers.SAXParser;
++import org.xml.sax.Parser;
++import org.w3c.dom.Document;
+
+ import com.jclark.xsl.om.*;
+ import com.jclark.xsl.sax.*;
+@@ -465,8 +467,10 @@
+ public void indexDocument(URL docURL, String title) throws Exception {
+ InputSource source = new InputSource(docURL.openStream());
+ source.setSystemId(docURL.toString());
+- Parser sourceParser = new Parser();
+- sourceParser.setFastStandalone(true);
++ SAXParserFactory spf = SAXParserFactory.newInstance();
++ spf.setValidating(false);
++ SAXParser saxParser = spf.newSAXParser();
++ Parser sourceParser = saxParser.getParser();
+ XMLProcessorEx sourceLoader = new XMLProcessorImpl(sourceParser);
+ // long start = System.currentTimeMillis();
+ Node root =
+@@ -545,8 +549,10 @@
+ }
+ // System.out.println(stylesheetUrl.toString());
+ InputStream stylesheetStream = stylesheetUrl.openStream();
+- XmlDocument sheet =
+- XmlDocument.createXmlDocument(stylesheetStream, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document sheet = dBuilder.parse(stylesheetStream);
+ return _transformEngine.createTransform(sheet);
+ }
+
+Index: XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java 9 Sep 2005 16:53:09 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java 17 Jan 2006 10:54:07 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XmlIndexer.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:53:09 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:07 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -39,8 +39,6 @@
+ import java.io.*;
+ import java.util.*;
+
+-import com.sun.xml.tree.XmlDocument;
+-import com.sun.xml.parser.Resolver;
+ import org.w3c.dom.*;
+ import org.xml.sax.InputSource;
+ import org.xml.sax.SAXException;
diff --git a/editors/openoffice-3-devel/files/gcj-patches b/editors/openoffice-3-devel/files/gcj-patches
new file mode 100644
index 000000000000..aeb80007018b
--- /dev/null
+++ b/editors/openoffice-3-devel/files/gcj-patches
@@ -0,0 +1,137 @@
+Index: wizards/com/sun/star/wizards/ui/FilterComponent.java
+===================================================================
+RCS file: /cvs/installation/wizards/com/sun/star/wizards/ui/FilterComponent.java,v
+retrieving revision 1.8
+diff -u -r1.8 FilterComponent.java
+--- wizards/com/sun/star/wizards/ui/FilterComponent.java 28 Dec 2005 17:25:36 -0000 1.8
++++ wizards/com/sun/star/wizards/ui/FilterComponent.java 27 Jan 2006 22:55:38 -0000
+@@ -261,10 +261,7 @@
+ case DataType.BOOLEAN:
+ double dblvalue = ((Double) curValue).doubleValue();
+ curValue = new Boolean(dblvalue == 1.0);
+- /**TODO: 1) Datei SingleSelectQueryComposer modifizieren:
+- / Zeilen 1525ff in Methode auslagern und Aufruf in Zeile 1356 ändern TypeConverter is parameter
+- * 2) setDisplayCondition ändern
+- */
++ /* */
+ break;
+ default:
+ curValue = String.valueOf(curValue);
+
+Index: solenv/inc/settings.mk
+===================================================================
+RCS file: /cvs/tools/solenv/inc/settings.mk,v
+retrieving revision 1.185
+diff -u -r1.185 settings.mk
+--- solenv/inc/settings.mk 20 Jan 2006 12:09:20 -0000 1.185
++++ solenv/inc/settings.mk 27 Jan 2006 23:11:31 -0000
+@@ -187,7 +187,8 @@
+
+ #required arguments
+ .IF "$(JAVACACHE)" != ""
+-JAVAC=$(JAVACOMPILER) --encoding=ISO-8859-15 -O2 -fno-assert -Wno-deprecated -C
++#JAVAC=$(JAVACOMPILER) --encoding=ISO-8859-15 -O2 -fno-assert -Wno-deprecated -C
++JAVAC=$(JAVACOMPILER) --encoding=UTF-8 -O2 -fno-assert -Wno-deprecated -C
+ JAVAI=$(JAVAINTERPRETER) -Dgnu.gcj.precompiled.db.path=$(GCJ_DATABASE)
+ .ELSE
+ JAVAC=$(JAVACOMPILER)
+
+Index: source/ui/slidesorter/cache/SlsQueueProcessor.hxx
+===================================================================
+RCS file: /cvs/graphics/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx,v
+retrieving revision 1.10
+diff -u -p -u -r1.10 SlsQueueProcessor.hxx
+--- sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx 19 Jan 2006 12:52:20 -0000 1.10
++++ sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx 26 Jan 2006 08:29:38 -0000
+@@ -164,7 +164,7 @@ template <class Queue, class RequestData
+ while ( ! mrQueue.IsEmpty())
+ {
+ // Determine whether the system is idle.
+- sal_Int32 nIdleState (tools::IdleDetection::GetIdleState(mrView.GetWindow()));
++ sal_Int32 nIdleState (tools::IdleDetection::GetIdleState(static_cast< ::Window* >(mrView.GetWindow())));
+ if (nIdleState != tools::IdleDetection::IDET_IDLE)
+ {
+ if ((nIdleState&tools::IdleDetection::IDET_FULL_SCREEN_SHOW_ACTIVE) != 0)
+
+Index: config_office/configure.in
+===================================================================
+RCS file: /cvs/tools/config_office/configure.in,v
+retrieving revision 1.150
+diff -u -r1.150 configure.in
+--- config_office/configure.in 20 Jan 2006 13:28:25 -0000 1.150
++++ config_office/configure.in 2 Feb 2006 05:13:30 -0000
+@@ -1975,6 +1975,7 @@
+ dnl Checks for javadoc
+ dnl ===================================================================
+ if test "$SOLAR_JAVA" != ""; then
++ if test "$JDK" != "gcj"; then
+ if test -z "$with_jdk_home"; then
+ AC_PATH_PROG(JAVADOC, javadoc)
+ else
+@@ -1996,6 +1997,9 @@
+ JAVADOC=`cygpath -d "$JAVADOC"`
+ JAVADOC=`cygpath -u "$JAVADOC"`
+ fi
++ else
++ AC_PATH_PROG(JAVADOC, gjdoc)
++ fi
+ fi
+
+ if test "$SOLAR_JAVA" != ""; then
+@@ -2032,8 +2036,14 @@
+ if test "$JDK" = "gcj"; then
+ save_CFLAGS=$CFLAGS
+ save_LDFLAGS=$LDFLAGS
+- CFLAGS="$CFLAGS -I$JAVA_HOME/include"
+- LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj"
++ CFLAGS="$CFLAGS -I$JAVA_HOME/include -pthread"
++ LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj -pthread"
++ JAR="$JAVA_HOME/bin/fastjar"
++ JAVACMD="$JAVA_HOME/bin/gij"
++ JAVA="$JAVA_HOME/bin/gij"
++ AC_SUBST(JAVA)
++ AC_SUBST(JAVACMD)
++ AC_SUBST(JAR)
+ AC_CHECK_HEADER(jni.h, [],
+ [AC_MSG_ERROR([jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?])], [])
+
+@@ -4214,7 +4224,7 @@
+ EOF
+ oldJAVA_HOME=$JAVA_HOME
+ if test "$JDK" = "gcj"; then
+- JAVA_HOME=; export JAVA_HOME
++ JAVACMD="$JAVA_HOME/bin/gij"; export JAVACMD
+ ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2"
+ else
+ ant_cmd="$ANT -buildfile conftest.xml 1>&2"
+Index: config_office/set_soenv.in
+===================================================================
+RCS file: /cvs/tools/config_office/set_soenv.in,v
+retrieving revision 1.86
+diff -u -r1.86 set_soenv.in
+--- config_office/set_soenv.in 13 Jan 2006 16:37:16 -0000 1.86
++++ config_office/set_soenv.in 2 Feb 2006 05:13:31 -0000
+@@ -68,7 +68,7 @@
+ #
+ # Help variables.
+ my ( $USR, $ETC, $BIN, $LIB, $LIB64, $INC, $INCLUDE, $DEV, $OPT, $LOCAL, $SOLENV, $SOLVER, $CONFIG,
+- $USR_BIN, $USR_LIB, $USR_LOCAL, $USR_CCS, $JAVA_BIN, $JAVA_LIB, $JAVA_INCLUDE,
++ $USR_BIN, $USR_LIB, $USR_LOCAL, $USR_CCS, $JAVA_BIN, $JAVA_LIB, $JAVA_INCLUDE, $JAVACMD, $JAVA, $JAR,
+ $SOLARENVINC, $USR_DT, $USR_OPENWIN, $TCSH_PATH, $XLIB, $XINC,
+ $CYGWIN_PATH, $language, $dict, $ASM_PATH, $ps_STLPORT_LIB, $L_STLPORT_LIB,
+ $STLPORT_stlport, $STLPORT_inc_stlport, $PERL_PATH );
+@@ -1679,6 +1679,9 @@
+ ToFile( "JAVAINTERPRETER", "@JAVAINTERPRETER@","e" );
+ ToFile( "JAVACOMPILER", "@JAVACOMPILER@", "e" );
+ ToFile( "JAVADOC", "@JAVADOC@", "e" );
++ ToFile( "JAVA", "@JAVA@", "e" );
++ ToFile( "JAVACMD", "@JAVACMD@", "e" );
++ ToFile( "JAR", "@JAR@", "e" );
+ }
+ if ( $platform =~ m/darwin/ )
+ { ToFile( "DYLD_LIBRARY_PATH", $LD_LIBRARY_PATH, "e" );
+
+Javadoc@xmerge http://qa.openoffice.org/issues/show_bug.cgi?id=57286
+JAVA@berkeleydb http://qa.openoffice.org/issues/show_bug.cgi?id=54657
+JAVACMD@ant
+JAR@berkeleydb
diff --git a/editors/openoffice-3-devel/files/patch-Python-2.3.4.patch b/editors/openoffice-3-devel/files/patch-Python-2.3.4.patch
deleted file mode 100644
index 41b3577a44c6..000000000000
--- a/editors/openoffice-3-devel/files/patch-Python-2.3.4.patch
+++ /dev/null
@@ -1,752 +0,0 @@
-Issuetracker : #i53287#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : Support for FreeBSD 6 and 7
-
-Index: python/Python-2.3.4.patch
-===================================================================
-RCS file: /cvs/external/python/Python-2.3.4.patch,v
-retrieving revision 1.6
-diff -u -r1.6 Python-2.3.4.patch
---- python/Python-2.3.4.patch 3 Mar 2005 17:33:54 -0000 1.6
-+++ python/Python-2.3.4.patch 8 Aug 2005 21:50:08 -0000
-@@ -13776,3 +13776,739 @@
- atheos*) DYNLOADFILE="dynload_atheos.o";;
- *)
- # use dynload_shlib.c and dlopen() if we have it; otherwise stub
-+*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:26:23 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:20:25 2005
-+***************
-+*** 0 ****
-+--- 1,355 ----
-++ # Generated by h2py from /usr/include/netinet/in.h
-++ IPPROTO_IP = 0
-++ IPPROTO_HOPOPTS = 0
-++ IPPROTO_ICMP = 1
-++ IPPROTO_IGMP = 2
-++ IPPROTO_GGP = 3
-++ IPPROTO_IPV4 = 4
-++ IPPROTO_IPIP = IPPROTO_IPV4
-++ IPPROTO_TCP = 6
-++ IPPROTO_ST = 7
-++ IPPROTO_EGP = 8
-++ IPPROTO_PIGP = 9
-++ IPPROTO_RCCMON = 10
-++ IPPROTO_NVPII = 11
-++ IPPROTO_PUP = 12
-++ IPPROTO_ARGUS = 13
-++ IPPROTO_EMCON = 14
-++ IPPROTO_XNET = 15
-++ IPPROTO_CHAOS = 16
-++ IPPROTO_UDP = 17
-++ IPPROTO_MUX = 18
-++ IPPROTO_MEAS = 19
-++ IPPROTO_HMP = 20
-++ IPPROTO_PRM = 21
-++ IPPROTO_IDP = 22
-++ IPPROTO_TRUNK1 = 23
-++ IPPROTO_TRUNK2 = 24
-++ IPPROTO_LEAF1 = 25
-++ IPPROTO_LEAF2 = 26
-++ IPPROTO_RDP = 27
-++ IPPROTO_IRTP = 28
-++ IPPROTO_TP = 29
-++ IPPROTO_BLT = 30
-++ IPPROTO_NSP = 31
-++ IPPROTO_INP = 32
-++ IPPROTO_SEP = 33
-++ IPPROTO_3PC = 34
-++ IPPROTO_IDPR = 35
-++ IPPROTO_XTP = 36
-++ IPPROTO_DDP = 37
-++ IPPROTO_CMTP = 38
-++ IPPROTO_TPXX = 39
-++ IPPROTO_IL = 40
-++ IPPROTO_IPV6 = 41
-++ IPPROTO_SDRP = 42
-++ IPPROTO_ROUTING = 43
-++ IPPROTO_FRAGMENT = 44
-++ IPPROTO_IDRP = 45
-++ IPPROTO_RSVP = 46
-++ IPPROTO_GRE = 47
-++ IPPROTO_MHRP = 48
-++ IPPROTO_BHA = 49
-++ IPPROTO_ESP = 50
-++ IPPROTO_AH = 51
-++ IPPROTO_INLSP = 52
-++ IPPROTO_SWIPE = 53
-++ IPPROTO_NHRP = 54
-++ IPPROTO_ICMPV6 = 58
-++ IPPROTO_NONE = 59
-++ IPPROTO_DSTOPTS = 60
-++ IPPROTO_AHIP = 61
-++ IPPROTO_CFTP = 62
-++ IPPROTO_HELLO = 63
-++ IPPROTO_SATEXPAK = 64
-++ IPPROTO_KRYPTOLAN = 65
-++ IPPROTO_RVD = 66
-++ IPPROTO_IPPC = 67
-++ IPPROTO_ADFS = 68
-++ IPPROTO_SATMON = 69
-++ IPPROTO_VISA = 70
-++ IPPROTO_IPCV = 71
-++ IPPROTO_CPNX = 72
-++ IPPROTO_CPHB = 73
-++ IPPROTO_WSN = 74
-++ IPPROTO_PVP = 75
-++ IPPROTO_BRSATMON = 76
-++ IPPROTO_ND = 77
-++ IPPROTO_WBMON = 78
-++ IPPROTO_WBEXPAK = 79
-++ IPPROTO_EON = 80
-++ IPPROTO_VMTP = 81
-++ IPPROTO_SVMTP = 82
-++ IPPROTO_VINES = 83
-++ IPPROTO_TTP = 84
-++ IPPROTO_IGP = 85
-++ IPPROTO_DGP = 86
-++ IPPROTO_TCF = 87
-++ IPPROTO_IGRP = 88
-++ IPPROTO_OSPFIGP = 89
-++ IPPROTO_SRPC = 90
-++ IPPROTO_LARP = 91
-++ IPPROTO_MTP = 92
-++ IPPROTO_AX25 = 93
-++ IPPROTO_IPEIP = 94
-++ IPPROTO_MICP = 95
-++ IPPROTO_SCCSP = 96
-++ IPPROTO_ETHERIP = 97
-++ IPPROTO_ENCAP = 98
-++ IPPROTO_APES = 99
-++ IPPROTO_GMTP = 100
-++ IPPROTO_IPCOMP = 108
-++ IPPROTO_PIM = 103
-++ IPPROTO_PGM = 113
-++ IPPROTO_DIVERT = 254
-++ IPPROTO_RAW = 255
-++ IPPROTO_MAX = 256
-++ IPPROTO_DONE = 257
-++ IPPORT_RESERVED = 1024
-++ IPPORT_USERRESERVED = 5000
-++ IPPORT_HIFIRSTAUTO = 49152
-++ IPPORT_HILASTAUTO = 65535
-++ IPPORT_RESERVEDSTART = 600
-++ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0)
-++
-++ IN_CLASSA_NET = 0xff000000
-++ IN_CLASSA_NSHIFT = 24
-++ IN_CLASSA_HOST = 0x00ffffff
-++ IN_CLASSA_MAX = 128
-++ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000)
-++
-++ IN_CLASSB_NET = 0xffff0000
-++ IN_CLASSB_NSHIFT = 16
-++ IN_CLASSB_HOST = 0x0000ffff
-++ IN_CLASSB_MAX = 65536
-++ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000)
-++
-++ IN_CLASSC_NET = 0xffffff00
-++ IN_CLASSC_NSHIFT = 8
-++ IN_CLASSC_HOST = 0x000000ff
-++ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
-++
-++ IN_CLASSD_NET = 0xf0000000
-++ IN_CLASSD_NSHIFT = 28
-++ IN_CLASSD_HOST = 0x0fffffff
-++ def IN_MULTICAST(i): return IN_CLASSD(i)
-++
-++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ INADDR_NONE = 0xffffffff
-++ IN_LOOPBACKNET = 127
-++ INET_ADDRSTRLEN = 16
-++ IP_OPTIONS = 1
-++ IP_HDRINCL = 2
-++ IP_TOS = 3
-++ IP_TTL = 4
-++ IP_RECVOPTS = 5
-++ IP_RECVRETOPTS = 6
-++ IP_RECVDSTADDR = 7
-++ IP_RETOPTS = 8
-++ IP_MULTICAST_IF = 9
-++ IP_MULTICAST_TTL = 10
-++ IP_MULTICAST_LOOP = 11
-++ IP_ADD_MEMBERSHIP = 12
-++ IP_DROP_MEMBERSHIP = 13
-++ IP_MULTICAST_VIF = 14
-++ IP_RSVP_ON = 15
-++ IP_RSVP_OFF = 16
-++ IP_RSVP_VIF_ON = 17
-++ IP_RSVP_VIF_OFF = 18
-++ IP_PORTRANGE = 19
-++ IP_RECVIF = 20
-++ IP_IPSEC_POLICY = 21
-++ IP_FAITH = 22
-++ IP_FW_ADD = 50
-++ IP_FW_DEL = 51
-++ IP_FW_FLUSH = 52
-++ IP_FW_ZERO = 53
-++ IP_FW_GET = 54
-++ IP_FW_RESETLOG = 55
-++ IP_DUMMYNET_CONFIGURE = 60
-++ IP_DUMMYNET_DEL = 61
-++ IP_DUMMYNET_FLUSH = 62
-++ IP_DUMMYNET_GET = 64
-++ IP_DEFAULT_MULTICAST_TTL = 1
-++ IP_DEFAULT_MULTICAST_LOOP = 1
-++ IP_MAX_MEMBERSHIPS = 20
-++ IP_PORTRANGE_DEFAULT = 0
-++ IP_PORTRANGE_HIGH = 1
-++ IP_PORTRANGE_LOW = 2
-++ IPPROTO_MAXID = (IPPROTO_AH + 1)
-++ IPCTL_FORWARDING = 1
-++ IPCTL_SENDREDIRECTS = 2
-++ IPCTL_DEFTTL = 3
-++ IPCTL_DEFMTU = 4
-++ IPCTL_RTEXPIRE = 5
-++ IPCTL_RTMINEXPIRE = 6
-++ IPCTL_RTMAXCACHE = 7
-++ IPCTL_SOURCEROUTE = 8
-++ IPCTL_DIRECTEDBROADCAST = 9
-++ IPCTL_INTRQMAXLEN = 10
-++ IPCTL_INTRQDROPS = 11
-++ IPCTL_STATS = 12
-++ IPCTL_ACCEPTSOURCEROUTE = 13
-++ IPCTL_FASTFORWARDING = 14
-++ IPCTL_KEEPFAITH = 15
-++ IPCTL_GIF_TTL = 16
-++ IPCTL_MAXID = 17
-++
-++ # Included from netinet6/in6.h
-++
-++ # Included from sys/queue.h
-++ def SLIST_HEAD_INITIALIZER(head): return \
-++
-++ def SLIST_ENTRY(type): return \
-++
-++ def STAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def STAILQ_ENTRY(type): return \
-++
-++ def LIST_HEAD_INITIALIZER(head): return \
-++
-++ def LIST_ENTRY(type): return \
-++
-++ def TAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def TAILQ_ENTRY(type): return \
-++
-++ def CIRCLEQ_ENTRY(type): return \
-++
-++ __KAME_VERSION = "20000701/FreeBSD-current"
-++ IPV6PORT_RESERVED = 1024
-++ IPV6PORT_ANONMIN = 49152
-++ IPV6PORT_ANONMAX = 65535
-++ IPV6PORT_RESERVEDMIN = 600
-++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
-++ INET6_ADDRSTRLEN = 46
-++ IPV6_ADDR_INT32_ONE = 1
-++ IPV6_ADDR_INT32_TWO = 2
-++ IPV6_ADDR_INT32_MNL = 0xff010000
-++ IPV6_ADDR_INT32_MLL = 0xff020000
-++ IPV6_ADDR_INT32_SMP = 0x0000ffff
-++ IPV6_ADDR_INT16_ULL = 0xfe80
-++ IPV6_ADDR_INT16_USL = 0xfec0
-++ IPV6_ADDR_INT16_MLL = 0xff02
-++ IPV6_ADDR_INT32_ONE = 0x01000000
-++ IPV6_ADDR_INT32_TWO = 0x02000000
-++ IPV6_ADDR_INT32_MNL = 0x000001ff
-++ IPV6_ADDR_INT32_MLL = 0x000002ff
-++ IPV6_ADDR_INT32_SMP = 0xffff0000
-++ IPV6_ADDR_INT16_ULL = 0x80fe
-++ IPV6_ADDR_INT16_USL = 0xc0fe
-++ IPV6_ADDR_INT16_MLL = 0x02ff
-++ def IN6_IS_ADDR_UNSPECIFIED(a): return \
-++
-++ def IN6_IS_ADDR_LOOPBACK(a): return \
-++
-++ def IN6_IS_ADDR_V4COMPAT(a): return \
-++
-++ def IN6_IS_ADDR_V4MAPPED(a): return \
-++
-++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ def IN6_IS_ADDR_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_SCOPE_LINKLOCAL(a): return \
-++
-++ IPV6_OPTIONS = 1
-++ IPV6_RECVOPTS = 5
-++ IPV6_RECVRETOPTS = 6
-++ IPV6_RECVDSTADDR = 7
-++ IPV6_RETOPTS = 8
-++ IPV6_SOCKOPT_RESERVED1 = 3
-++ IPV6_UNICAST_HOPS = 4
-++ IPV6_MULTICAST_IF = 9
-++ IPV6_MULTICAST_HOPS = 10
-++ IPV6_MULTICAST_LOOP = 11
-++ IPV6_JOIN_GROUP = 12
-++ IPV6_LEAVE_GROUP = 13
-++ IPV6_PORTRANGE = 14
-++ ICMP6_FILTER = 18
-++ IPV6_PKTINFO = 19
-++ IPV6_HOPLIMIT = 20
-++ IPV6_NEXTHOP = 21
-++ IPV6_HOPOPTS = 22
-++ IPV6_DSTOPTS = 23
-++ IPV6_RTHDR = 24
-++ IPV6_PKTOPTIONS = 25
-++ IPV6_CHECKSUM = 26
-++ IPV6_BINDV6ONLY = 27
-++ IPV6_IPSEC_POLICY = 28
-++ IPV6_FAITH = 29
-++ IPV6_FW_ADD = 30
-++ IPV6_FW_DEL = 31
-++ IPV6_FW_FLUSH = 32
-++ IPV6_FW_ZERO = 33
-++ IPV6_FW_GET = 34
-++ IPV6_RTHDR_LOOSE = 0
-++ IPV6_RTHDR_STRICT = 1
-++ IPV6_RTHDR_TYPE_0 = 0
-++ IPV6_DEFAULT_MULTICAST_HOPS = 1
-++ IPV6_DEFAULT_MULTICAST_LOOP = 1
-++ IPV6_PORTRANGE_DEFAULT = 0
-++ IPV6_PORTRANGE_HIGH = 1
-++ IPV6_PORTRANGE_LOW = 2
-++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1)
-++ IPV6CTL_FORWARDING = 1
-++ IPV6CTL_SENDREDIRECTS = 2
-++ IPV6CTL_DEFHLIM = 3
-++ IPV6CTL_DEFMTU = 4
-++ IPV6CTL_FORWSRCRT = 5
-++ IPV6CTL_STATS = 6
-++ IPV6CTL_MRTSTATS = 7
-++ IPV6CTL_MRTPROTO = 8
-++ IPV6CTL_MAXFRAGPACKETS = 9
-++ IPV6CTL_SOURCECHECK = 10
-++ IPV6CTL_SOURCECHECK_LOGINT = 11
-++ IPV6CTL_ACCEPT_RTADV = 12
-++ IPV6CTL_KEEPFAITH = 13
-++ IPV6CTL_LOG_INTERVAL = 14
-++ IPV6CTL_HDRNESTLIMIT = 15
-++ IPV6CTL_DAD_COUNT = 16
-++ IPV6CTL_AUTO_FLOWLABEL = 17
-++ IPV6CTL_DEFMCASTHLIM = 18
-++ IPV6CTL_GIF_HLIM = 19
-++ IPV6CTL_KAME_VERSION = 20
-++ IPV6CTL_USE_DEPRECATED = 21
-++ IPV6CTL_RR_PRUNE = 22
-++ IPV6CTL_MAPPED_ADDR = 23
-++ IPV6CTL_BINDV6ONLY = 24
-++ IPV6CTL_RTEXPIRE = 25
-++ IPV6CTL_RTMINEXPIRE = 26
-++ IPV6CTL_RTMAXCACHE = 27
-++ IPV6CTL_MAXID = 28
-+*** misc/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:26:27 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:19:02 2005
-+***************
-+*** 0 ****
-+--- 1,3 ----
-++ #! /bin/sh
-++ set -v
-++ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
-+*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:26:23 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:20:25 2005
-+***************
-+*** 0 ****
-+--- 1,355 ----
-++ # Generated by h2py from /usr/include/netinet/in.h
-++ IPPROTO_IP = 0
-++ IPPROTO_HOPOPTS = 0
-++ IPPROTO_ICMP = 1
-++ IPPROTO_IGMP = 2
-++ IPPROTO_GGP = 3
-++ IPPROTO_IPV4 = 4
-++ IPPROTO_IPIP = IPPROTO_IPV4
-++ IPPROTO_TCP = 6
-++ IPPROTO_ST = 7
-++ IPPROTO_EGP = 8
-++ IPPROTO_PIGP = 9
-++ IPPROTO_RCCMON = 10
-++ IPPROTO_NVPII = 11
-++ IPPROTO_PUP = 12
-++ IPPROTO_ARGUS = 13
-++ IPPROTO_EMCON = 14
-++ IPPROTO_XNET = 15
-++ IPPROTO_CHAOS = 16
-++ IPPROTO_UDP = 17
-++ IPPROTO_MUX = 18
-++ IPPROTO_MEAS = 19
-++ IPPROTO_HMP = 20
-++ IPPROTO_PRM = 21
-++ IPPROTO_IDP = 22
-++ IPPROTO_TRUNK1 = 23
-++ IPPROTO_TRUNK2 = 24
-++ IPPROTO_LEAF1 = 25
-++ IPPROTO_LEAF2 = 26
-++ IPPROTO_RDP = 27
-++ IPPROTO_IRTP = 28
-++ IPPROTO_TP = 29
-++ IPPROTO_BLT = 30
-++ IPPROTO_NSP = 31
-++ IPPROTO_INP = 32
-++ IPPROTO_SEP = 33
-++ IPPROTO_3PC = 34
-++ IPPROTO_IDPR = 35
-++ IPPROTO_XTP = 36
-++ IPPROTO_DDP = 37
-++ IPPROTO_CMTP = 38
-++ IPPROTO_TPXX = 39
-++ IPPROTO_IL = 40
-++ IPPROTO_IPV6 = 41
-++ IPPROTO_SDRP = 42
-++ IPPROTO_ROUTING = 43
-++ IPPROTO_FRAGMENT = 44
-++ IPPROTO_IDRP = 45
-++ IPPROTO_RSVP = 46
-++ IPPROTO_GRE = 47
-++ IPPROTO_MHRP = 48
-++ IPPROTO_BHA = 49
-++ IPPROTO_ESP = 50
-++ IPPROTO_AH = 51
-++ IPPROTO_INLSP = 52
-++ IPPROTO_SWIPE = 53
-++ IPPROTO_NHRP = 54
-++ IPPROTO_ICMPV6 = 58
-++ IPPROTO_NONE = 59
-++ IPPROTO_DSTOPTS = 60
-++ IPPROTO_AHIP = 61
-++ IPPROTO_CFTP = 62
-++ IPPROTO_HELLO = 63
-++ IPPROTO_SATEXPAK = 64
-++ IPPROTO_KRYPTOLAN = 65
-++ IPPROTO_RVD = 66
-++ IPPROTO_IPPC = 67
-++ IPPROTO_ADFS = 68
-++ IPPROTO_SATMON = 69
-++ IPPROTO_VISA = 70
-++ IPPROTO_IPCV = 71
-++ IPPROTO_CPNX = 72
-++ IPPROTO_CPHB = 73
-++ IPPROTO_WSN = 74
-++ IPPROTO_PVP = 75
-++ IPPROTO_BRSATMON = 76
-++ IPPROTO_ND = 77
-++ IPPROTO_WBMON = 78
-++ IPPROTO_WBEXPAK = 79
-++ IPPROTO_EON = 80
-++ IPPROTO_VMTP = 81
-++ IPPROTO_SVMTP = 82
-++ IPPROTO_VINES = 83
-++ IPPROTO_TTP = 84
-++ IPPROTO_IGP = 85
-++ IPPROTO_DGP = 86
-++ IPPROTO_TCF = 87
-++ IPPROTO_IGRP = 88
-++ IPPROTO_OSPFIGP = 89
-++ IPPROTO_SRPC = 90
-++ IPPROTO_LARP = 91
-++ IPPROTO_MTP = 92
-++ IPPROTO_AX25 = 93
-++ IPPROTO_IPEIP = 94
-++ IPPROTO_MICP = 95
-++ IPPROTO_SCCSP = 96
-++ IPPROTO_ETHERIP = 97
-++ IPPROTO_ENCAP = 98
-++ IPPROTO_APES = 99
-++ IPPROTO_GMTP = 100
-++ IPPROTO_IPCOMP = 108
-++ IPPROTO_PIM = 103
-++ IPPROTO_PGM = 113
-++ IPPROTO_DIVERT = 254
-++ IPPROTO_RAW = 255
-++ IPPROTO_MAX = 256
-++ IPPROTO_DONE = 257
-++ IPPORT_RESERVED = 1024
-++ IPPORT_USERRESERVED = 5000
-++ IPPORT_HIFIRSTAUTO = 49152
-++ IPPORT_HILASTAUTO = 65535
-++ IPPORT_RESERVEDSTART = 600
-++ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0)
-++
-++ IN_CLASSA_NET = 0xff000000
-++ IN_CLASSA_NSHIFT = 24
-++ IN_CLASSA_HOST = 0x00ffffff
-++ IN_CLASSA_MAX = 128
-++ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000)
-++
-++ IN_CLASSB_NET = 0xffff0000
-++ IN_CLASSB_NSHIFT = 16
-++ IN_CLASSB_HOST = 0x0000ffff
-++ IN_CLASSB_MAX = 65536
-++ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000)
-++
-++ IN_CLASSC_NET = 0xffffff00
-++ IN_CLASSC_NSHIFT = 8
-++ IN_CLASSC_HOST = 0x000000ff
-++ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
-++
-++ IN_CLASSD_NET = 0xf0000000
-++ IN_CLASSD_NSHIFT = 28
-++ IN_CLASSD_HOST = 0x0fffffff
-++ def IN_MULTICAST(i): return IN_CLASSD(i)
-++
-++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ INADDR_NONE = 0xffffffff
-++ IN_LOOPBACKNET = 127
-++ INET_ADDRSTRLEN = 16
-++ IP_OPTIONS = 1
-++ IP_HDRINCL = 2
-++ IP_TOS = 3
-++ IP_TTL = 4
-++ IP_RECVOPTS = 5
-++ IP_RECVRETOPTS = 6
-++ IP_RECVDSTADDR = 7
-++ IP_RETOPTS = 8
-++ IP_MULTICAST_IF = 9
-++ IP_MULTICAST_TTL = 10
-++ IP_MULTICAST_LOOP = 11
-++ IP_ADD_MEMBERSHIP = 12
-++ IP_DROP_MEMBERSHIP = 13
-++ IP_MULTICAST_VIF = 14
-++ IP_RSVP_ON = 15
-++ IP_RSVP_OFF = 16
-++ IP_RSVP_VIF_ON = 17
-++ IP_RSVP_VIF_OFF = 18
-++ IP_PORTRANGE = 19
-++ IP_RECVIF = 20
-++ IP_IPSEC_POLICY = 21
-++ IP_FAITH = 22
-++ IP_FW_ADD = 50
-++ IP_FW_DEL = 51
-++ IP_FW_FLUSH = 52
-++ IP_FW_ZERO = 53
-++ IP_FW_GET = 54
-++ IP_FW_RESETLOG = 55
-++ IP_DUMMYNET_CONFIGURE = 60
-++ IP_DUMMYNET_DEL = 61
-++ IP_DUMMYNET_FLUSH = 62
-++ IP_DUMMYNET_GET = 64
-++ IP_DEFAULT_MULTICAST_TTL = 1
-++ IP_DEFAULT_MULTICAST_LOOP = 1
-++ IP_MAX_MEMBERSHIPS = 20
-++ IP_PORTRANGE_DEFAULT = 0
-++ IP_PORTRANGE_HIGH = 1
-++ IP_PORTRANGE_LOW = 2
-++ IPPROTO_MAXID = (IPPROTO_AH + 1)
-++ IPCTL_FORWARDING = 1
-++ IPCTL_SENDREDIRECTS = 2
-++ IPCTL_DEFTTL = 3
-++ IPCTL_DEFMTU = 4
-++ IPCTL_RTEXPIRE = 5
-++ IPCTL_RTMINEXPIRE = 6
-++ IPCTL_RTMAXCACHE = 7
-++ IPCTL_SOURCEROUTE = 8
-++ IPCTL_DIRECTEDBROADCAST = 9
-++ IPCTL_INTRQMAXLEN = 10
-++ IPCTL_INTRQDROPS = 11
-++ IPCTL_STATS = 12
-++ IPCTL_ACCEPTSOURCEROUTE = 13
-++ IPCTL_FASTFORWARDING = 14
-++ IPCTL_KEEPFAITH = 15
-++ IPCTL_GIF_TTL = 16
-++ IPCTL_MAXID = 17
-++
-++ # Included from netinet6/in6.h
-++
-++ # Included from sys/queue.h
-++ def SLIST_HEAD_INITIALIZER(head): return \
-++
-++ def SLIST_ENTRY(type): return \
-++
-++ def STAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def STAILQ_ENTRY(type): return \
-++
-++ def LIST_HEAD_INITIALIZER(head): return \
-++
-++ def LIST_ENTRY(type): return \
-++
-++ def TAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def TAILQ_ENTRY(type): return \
-++
-++ def CIRCLEQ_ENTRY(type): return \
-++
-++ __KAME_VERSION = "20000701/FreeBSD-current"
-++ IPV6PORT_RESERVED = 1024
-++ IPV6PORT_ANONMIN = 49152
-++ IPV6PORT_ANONMAX = 65535
-++ IPV6PORT_RESERVEDMIN = 600
-++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
-++ INET6_ADDRSTRLEN = 46
-++ IPV6_ADDR_INT32_ONE = 1
-++ IPV6_ADDR_INT32_TWO = 2
-++ IPV6_ADDR_INT32_MNL = 0xff010000
-++ IPV6_ADDR_INT32_MLL = 0xff020000
-++ IPV6_ADDR_INT32_SMP = 0x0000ffff
-++ IPV6_ADDR_INT16_ULL = 0xfe80
-++ IPV6_ADDR_INT16_USL = 0xfec0
-++ IPV6_ADDR_INT16_MLL = 0xff02
-++ IPV6_ADDR_INT32_ONE = 0x01000000
-++ IPV6_ADDR_INT32_TWO = 0x02000000
-++ IPV6_ADDR_INT32_MNL = 0x000001ff
-++ IPV6_ADDR_INT32_MLL = 0x000002ff
-++ IPV6_ADDR_INT32_SMP = 0xffff0000
-++ IPV6_ADDR_INT16_ULL = 0x80fe
-++ IPV6_ADDR_INT16_USL = 0xc0fe
-++ IPV6_ADDR_INT16_MLL = 0x02ff
-++ def IN6_IS_ADDR_UNSPECIFIED(a): return \
-++
-++ def IN6_IS_ADDR_LOOPBACK(a): return \
-++
-++ def IN6_IS_ADDR_V4COMPAT(a): return \
-++
-++ def IN6_IS_ADDR_V4MAPPED(a): return \
-++
-++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ def IN6_IS_ADDR_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_SCOPE_LINKLOCAL(a): return \
-++
-++ IPV6_OPTIONS = 1
-++ IPV6_RECVOPTS = 5
-++ IPV6_RECVRETOPTS = 6
-++ IPV6_RECVDSTADDR = 7
-++ IPV6_RETOPTS = 8
-++ IPV6_SOCKOPT_RESERVED1 = 3
-++ IPV6_UNICAST_HOPS = 4
-++ IPV6_MULTICAST_IF = 9
-++ IPV6_MULTICAST_HOPS = 10
-++ IPV6_MULTICAST_LOOP = 11
-++ IPV6_JOIN_GROUP = 12
-++ IPV6_LEAVE_GROUP = 13
-++ IPV6_PORTRANGE = 14
-++ ICMP6_FILTER = 18
-++ IPV6_PKTINFO = 19
-++ IPV6_HOPLIMIT = 20
-++ IPV6_NEXTHOP = 21
-++ IPV6_HOPOPTS = 22
-++ IPV6_DSTOPTS = 23
-++ IPV6_RTHDR = 24
-++ IPV6_PKTOPTIONS = 25
-++ IPV6_CHECKSUM = 26
-++ IPV6_BINDV6ONLY = 27
-++ IPV6_IPSEC_POLICY = 28
-++ IPV6_FAITH = 29
-++ IPV6_FW_ADD = 30
-++ IPV6_FW_DEL = 31
-++ IPV6_FW_FLUSH = 32
-++ IPV6_FW_ZERO = 33
-++ IPV6_FW_GET = 34
-++ IPV6_RTHDR_LOOSE = 0
-++ IPV6_RTHDR_STRICT = 1
-++ IPV6_RTHDR_TYPE_0 = 0
-++ IPV6_DEFAULT_MULTICAST_HOPS = 1
-++ IPV6_DEFAULT_MULTICAST_LOOP = 1
-++ IPV6_PORTRANGE_DEFAULT = 0
-++ IPV6_PORTRANGE_HIGH = 1
-++ IPV6_PORTRANGE_LOW = 2
-++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1)
-++ IPV6CTL_FORWARDING = 1
-++ IPV6CTL_SENDREDIRECTS = 2
-++ IPV6CTL_DEFHLIM = 3
-++ IPV6CTL_DEFMTU = 4
-++ IPV6CTL_FORWSRCRT = 5
-++ IPV6CTL_STATS = 6
-++ IPV6CTL_MRTSTATS = 7
-++ IPV6CTL_MRTPROTO = 8
-++ IPV6CTL_MAXFRAGPACKETS = 9
-++ IPV6CTL_SOURCECHECK = 10
-++ IPV6CTL_SOURCECHECK_LOGINT = 11
-++ IPV6CTL_ACCEPT_RTADV = 12
-++ IPV6CTL_KEEPFAITH = 13
-++ IPV6CTL_LOG_INTERVAL = 14
-++ IPV6CTL_HDRNESTLIMIT = 15
-++ IPV6CTL_DAD_COUNT = 16
-++ IPV6CTL_AUTO_FLOWLABEL = 17
-++ IPV6CTL_DEFMCASTHLIM = 18
-++ IPV6CTL_GIF_HLIM = 19
-++ IPV6CTL_KAME_VERSION = 20
-++ IPV6CTL_USE_DEPRECATED = 21
-++ IPV6CTL_RR_PRUNE = 22
-++ IPV6CTL_MAPPED_ADDR = 23
-++ IPV6CTL_BINDV6ONLY = 24
-++ IPV6CTL_RTEXPIRE = 25
-++ IPV6CTL_RTMINEXPIRE = 26
-++ IPV6CTL_RTMAXCACHE = 27
-++ IPV6CTL_MAXID = 28
-+*** misc/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:26:27 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:19:02 2005
-+***************
-+*** 0 ****
-+--- 1,3 ----
-++ #! /bin/sh
-++ set -v
-++ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/editors/openoffice-3-devel/files/patch-bridges b/editors/openoffice-3-devel/files/patch-bridges
deleted file mode 100644
index 8375332a3e20..000000000000
--- a/editors/openoffice-3-devel/files/patch-bridges
+++ /dev/null
@@ -1,173 +0,0 @@
-Issuetracker : #i56947#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : update files at bridges project
-catch up version up of bridge project of GNU/Linux
-
---- bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx Thu Sep 8 07:20:08 2005
-+++ bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx Wed Oct 26 15:10:05 2005
-@@ -57,7 +57,7 @@
- typelib_TypeDescriptionReference * pReturnTypeRef, // 0 indicates void return
- sal_Int32 nParams, typelib_MethodParameter * pParams,
- void ** pCallStack,
-- sal_Int64 * pRegisterReturn /* space for register return */ )
-+ void * pReturnValue )
- {
- // pCallStack: ret, [return ptr], this, params
- char * pCppStack = (char *)(pCallStack +1);
-@@ -74,7 +74,7 @@
- {
- if (bridges::cpp_uno::shared::isSimpleType( pReturnTypeDescr ))
- {
-- pUnoReturn = pRegisterReturn; // direct way for simple types
-+ pUnoReturn = pReturnValue; // direct way for simple types
- }
- else // complex return via ptr (pCppReturn)
- {
-@@ -215,7 +215,7 @@
- uno_destructData( pUnoReturn, pReturnTypeDescr, 0 );
- }
- // complex return ptr is set to eax
-- *(void **)pRegisterReturn = pCppReturn;
-+ *static_cast< void ** >(pReturnValue) = pCppReturn;
- }
- if (pReturnTypeDescr)
- {
-@@ -228,7 +228,7 @@
- //==================================================================================================
- extern "C" void cpp_vtable_call(
- int nFunctionIndex, int nVtableOffset, void** pCallStack,
-- sal_Int64 nRegReturn )
-+ void * pReturnValue )
- {
- OSL_ENSURE( sizeof(sal_Int32)==sizeof(void *), "### unexpected!" );
-
-@@ -275,7 +275,7 @@
- pCppI, aMemberDescr.get(),
- ((typelib_InterfaceAttributeTypeDescription *)aMemberDescr.get())->pAttributeTypeRef,
- 0, 0, // no params
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- else
- {
-@@ -290,7 +290,7 @@
- pCppI, aMemberDescr.get(),
- 0, // indicates void return
- 1, &aParam,
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- break;
- }
-@@ -324,7 +324,7 @@
- &pInterface, pTD, cpp_acquire );
- pInterface->release();
- TYPELIB_DANGER_RELEASE( pTD );
-- *(void **)&nRegReturn = pCallStack[1];
-+ *static_cast< void ** >(pReturnValue) = pCallStack[1];
- break;
- }
- TYPELIB_DANGER_RELEASE( pTD );
-@@ -336,7 +336,7 @@
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->pReturnTypeRef,
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->nParams,
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->pParams,
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- break;
- }
---- bridges/source/cpp_uno/gcc3_freebsd_intel/call.s Wed Jun 1 01:32:41 2005
-+++ bridges/source/cpp_uno/gcc3_freebsd_intel/call.s Wed Oct 26 15:10:04 2005
-@@ -9,12 +9,13 @@
- .LCFIg0:
- movl %esp,%ebp
- .LCFIg1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-+ movl 16(%esp),%eax # 32bit returnValue
- leave
- ret
- .LFEg:
-@@ -29,7 +30,7 @@
- .LCFIv0:
- movl %esp,%ebp
- .LCFIv1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ pushl $0 # 32bit null pointer (returnValue not used)
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
-@@ -48,13 +49,14 @@
- .LCFIh0:
- movl %esp,%ebp
- .LCFIh1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x8,%esp # 64bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-- movl 16(%esp),%edx # 64 bit nRegReturn, upper half
-+ movl 16(%esp),%eax # 64bit returnValue, lower half
-+ movl 20(%esp),%edx # 64bit returnValue, upper half
- leave
- ret
- .LFEh:
-@@ -69,12 +71,13 @@
- .LCFIf0:
- movl %esp,%ebp
- .LCFIf1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- flds 12(%esp) # 64 bit nRegReturn, lower half
-+ flds 16(%esp) # 32bit returnValue
- leave
- ret
- .LFEf:
-@@ -89,12 +92,13 @@
- .LCFId0:
- movl %esp,%ebp
- .LCFId1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x8,%esp # 64bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- fldl 12(%esp) # 64 bit nRegReturn
-+ fldl 16(%esp) # 64bit returnValue
- leave
- ret
- .LFEd:
-@@ -109,12 +113,13 @@
- .LCFIc0:
- movl %esp,%ebp
- .LCFIc1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-+ movl 16(%esp),%eax # 32bit returnValue
- leave
- ret $4
- .LFEc:
diff --git a/editors/openoffice-3-devel/files/patch-config_office+set_soenv.in b/editors/openoffice-3-devel/files/patch-config_office+set_soenv.in
deleted file mode 100644
index a06f28849d7a..000000000000
--- a/editors/openoffice-3-devel/files/patch-config_office+set_soenv.in
+++ /dev/null
@@ -1,18 +0,0 @@
-Issuetracker : #i56949#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Add conditional the case of @GCCVER@ >= 30401.
-Like GNU/Linux's case, we also need the case for $CVER if @GCCVER@ is equal to or larger than 3.4.1
-
---- config_office/set_soenv.in Thu Sep 22 23:30:56 2005
-+++ config_office/set_soenv.in Sat Oct 1 12:59:30 2005
-@@ -347,6 +347,9 @@
- $JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386";
- $JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."client";
- $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."native_threads";
-+ if( @GCCVER@ >= 30401 ) {
-+ $CVER = "C341";
-+ }
- }
- elsif ( $platform =~ m/linux-gnu/ )
- {
diff --git a/editors/openoffice-3-devel/files/patch-epm+epm-3.7.patch b/editors/openoffice-3-devel/files/patch-epm+epm-3.7.patch
deleted file mode 100644
index 2182489d5445..000000000000
--- a/editors/openoffice-3-devel/files/patch-epm+epm-3.7.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-Issuetracker : #iXXXXX#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : epm porting for FreeBSD
-o FreeBSD's package manager doesn't allow multiple lines for
- @exec and @unexec
-o chown is at /usr/sbin/
-o the way to recording package dependency is incorrect
-
-Index: epm/epm-3.7.patch
-===================================================================
-RCS file: /cvs/external/epm/epm-3.7.patch,v
-retrieving revision 1.2
-diff -u -r1.2 epm-3.7.patch
---- epm/epm-3.7.patch 10 Mar 2005 11:52:43 -0000 1.2
-+++ epm/epm-3.7.patch 3 Jun 2005 22:05:23 -0000
-@@ -1,3 +1,69 @@
-+*** misc/epm-3.7/bsd.c Wed Jan 15 02:05:01 2003
-+--- misc/build/epm-3.7/bsd.c Sat Jun 4 06:18:27 2005
-+***************
-+*** 26,31 ****
-+--- 26,38 ----
-+
-+ #include "epm.h"
-+
-++ void cr2semicolon(char *command)
-++ {
-++ int len, i;
-++ len=strlen(command);
-++ for (i=0;i<len;i++)
-++ if(*(command+i)=='\n') *(command+i)=';';
-++ }
-+
-+ /*
-+ * 'make_bsd()' - Make a FreeBSD software distribution package.
-+***************
-+*** 150,156 ****
-+ for (i = dist->num_depends, d = dist->depends; i > 0; i --, d ++)
-+ {
-+ if (d->type == DEPEND_REQUIRES)
-+! fprintf(fp, "@pkgdep %s", d->product);
-+ else
-+ #ifdef __FreeBSD__
-+ /*
-+--- 157,163 ----
-+ for (i = dist->num_depends, d = dist->depends; i > 0; i --, d ++)
-+ {
-+ if (d->type == DEPEND_REQUIRES)
-+! fprintf(fp, "@pkgdep %s-%s-%s", d->product, dist->version, platname);
-+ else
-+ #ifdef __FreeBSD__
-+ /*
-+***************
-+*** 179,187 ****
-+--- 186,196 ----
-+ " by the BSD packager.\n", stderr);
-+ break;
-+ case COMMAND_POST_INSTALL :
-++ cr2semicolon(c->command);
-+ fprintf(fp, "@exec %s\n", c->command);
-+ break;
-+ case COMMAND_PRE_REMOVE :
-++ cr2semicolon(c->command);
-+ fprintf(fp, "@unexec %s\n", c->command);
-+ break;
-+ case COMMAND_POST_REMOVE :
-+***************
-+*** 199,205 ****
-+ */
-+
-+ fprintf(fp, "@exec /bin/mkdir -p %s\n", file->dst);
-+! fprintf(fp, "@exec /bin/chown %s:%s %s\n", file->user, file->group,
-+ file->dst);
-+ fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
-+ }
-+--- 208,214 ----
-+ */
-+
-+ fprintf(fp, "@exec /bin/mkdir -p %s\n", file->dst);
-+! fprintf(fp, "@exec /usr/sbin/chown %s:%s %s\n", file->user, file->group,
-+ file->dst);
-+ fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
-+ }
- *** misc/epm-3.7/epm.c 2003-10-28 15:48:30.000000000 +0100
- --- misc/build/epm-3.7/epm.c 2004-11-24 10:38:40.000000000 +0100
- ***************
-
diff --git a/editors/openoffice-3-devel/files/patch-icu+icu-2.6.patch b/editors/openoffice-3-devel/files/patch-icu+icu-2.6.patch
deleted file mode 100644
index 91b67fb35cf3..000000000000
--- a/editors/openoffice-3-devel/files/patch-icu+icu-2.6.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Issuetracker : #i56952#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Passing $ORIGIN to linker at icu project
-We also want to pass -rpath $ORIGIN to linker as GNU/Linux and/or Solaris's case.
-
-Index: icu/icu-2.6.patch
-===================================================================
-RCS file: /cvs/external/icu/icu-2.6.patch,v
-retrieving revision 1.15
-diff -u -r1.15 icu-2.6.patch
---- icu/icu-2.6.patch 28 Dec 2005 16:54:16 -0000 1.15
-+++ icu/icu-2.6.patch 5 Jan 2006 12:58:57 -0000
-@@ -2775,3 +2775,31 @@
- commands = pkg_appendToList(commands, NULL, uprv_strdup(stanza));
-
- sprintf(stanza, "@$(RMV) $(TEMP_DIR)/%s", cfile+genFileOffset);
-+*** misc/icu/source/config/mh-bsd-gcc Thu May 2 08:48:10 2002
-+--- misc/build/icu/source/config/mh-bsd-gcc Mon Oct 24 18:16:57 2005
-+***************
-+*** 10,21 ****
-+--- 10,30 ----
-+ GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS)
-+
-+ ## Flags for position independent code
-++ STATICCFLAGS = -fPIC
-++ STATICCXXFLAGS = -fPIC
-++ STATICCPPFLAGS = -DPIC
-+ SHAREDLIBCFLAGS = -fPIC
-+ SHAREDLIBCXXFLAGS = -fPIC
-+ SHAREDLIBCPPFLAGS = -DPIC
-+
-+ ## Compiler switch to embed a runtime search path
-+ LD_RPATH=
-++ ## Force RPATH=$ORIGIN to locate own dependencies w/o need for LD_LIBRARY_PATH
-++ ENABLE_RPATH=YES
-++ RPATHLDFLAGS=${LD_RPATH_PRE}'$$ORIGIN'
-++
-++ #SH# ENABLE_RPATH=YES
-++ #SH# RPATHLDFLAGS="${LD_RPATH_PRE}'$$ORIGIN'"
-+ LD_RPATH_PRE= -Wl,-rpath,
-+
-+ ## Compiler switch to embed a library name
-+
-+
diff --git a/editors/openoffice-3-devel/files/patch-instsetoo b/editors/openoffice-3-devel/files/patch-instsetoo
deleted file mode 100644
index 77fcd635acfa..000000000000
--- a/editors/openoffice-3-devel/files/patch-instsetoo
+++ /dev/null
@@ -1,154 +0,0 @@
-Issuetracker : #i53288#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : remove circular dependency
-
-in this case,
-core01 is depend on core02-core08, and core0[2-9] and core10
-depends on core01. for FreeBSD this is regarded as circular dependency
-and pkg_add command is forked infinite times and eats up systems' resource.
-namely when core01 tries to install core02, core02 also tries to
-install core01.
-Index: instsetoo_native/inc_openoffice/unix/packagelist.txt
-===================================================================
-RCS file: /cvs/installation/instsetoo_native/inc_openoffice/unix/packagelist.txt,v
-retrieving revision 1.21
-diff -u -r1.21 packagelist.txt
---- instsetoo_native/inc_openoffice/unix/packagelist.txt 30 Nov 2005 13:21:44 -0000 1.21
-+++ instsetoo_native/inc_openoffice/unix/packagelist.txt 3 Dec 2005 22:26:12 -0000
-@@ -37,6 +37,7 @@
- packagename = "%UNIXPRODUCTNAME-core01"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-mailcap,%WITHOUTDOTUNIXPRODUCTNAME-core,%WITHOUTDOTUNIXPRODUCTNAME-core01"
- requires = "%UNIXPRODUCTNAME-core02,%UNIXPRODUCTNAME-core03,%UNIXPRODUCTNAME-core04,%UNIXPRODUCTNAME-core05,%UNIXPRODUCTNAME-core06,%UNIXPRODUCTNAME-core07,%UNIXPRODUCTNAME-core08"
-+freebsdrequires = "%UNIXPRODUCTNAME-core02,%UNIXPRODUCTNAME-core03,%UNIXPRODUCTNAME-core04,%UNIXPRODUCTNAME-core05,%UNIXPRODUCTNAME-core06,%UNIXPRODUCTNAME-core07,%UNIXPRODUCTNAME-core08,%UNIXPRODUCTNAME-core09,%UNIXPRODUCTNAME-core10"
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -278,6 +279,7 @@
- packagename = "%UNIXPRODUCTNAME-core02"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core02"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -291,6 +293,7 @@
- packagename = "%UNIXPRODUCTNAME-core03"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core03"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -304,6 +307,7 @@
- packagename = "%UNIXPRODUCTNAME-core04"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core04"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -317,6 +321,7 @@
- packagename = "%UNIXPRODUCTNAME-core05"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core05"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -330,6 +335,7 @@
- packagename = "%UNIXPRODUCTNAME-core06"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core06"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -343,6 +349,7 @@
- packagename = "%UNIXPRODUCTNAME-core07"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core07"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -356,6 +363,7 @@
- packagename = "%UNIXPRODUCTNAME-core08"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core08"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -369,6 +377,7 @@
- packagename = "%UNIXPRODUCTNAME-core09"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core09"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -383,6 +392,7 @@
- packagename = "%UNIXPRODUCTNAME-core10"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core10"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-Index: solenv/bin/modules/installer/epmfile.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/epmfile.pm,v
-retrieving revision 1.42
-diff -u -r1.42 epmfile.pm
---- solenv/bin/modules/installer/epmfile.pm 9 Nov 2005 09:09:49 -0000 1.42
-+++ solenv/bin/modules/installer/epmfile.pm 3 Dec 2005 22:26:52 -0000
-@@ -395,6 +395,11 @@
- $provides = "solarisprovides"; # the name in the packagelist
- $requires = "solarisrequires"; # the name in the packagelist
- }
-+ elsif ( $installer::globals::isfreebsdpkgbuild )
-+ {
-+ $provides = "freebsdprovides"; # the name in the packagelist
-+ $requires = "freebsdrequires"; # the name in the packagelist
-+ }
- else
- {
- $provides = "provides"; # the name in the packagelist
-Index: solenv/bin/modules/installer/globals.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/globals.pm,v
-retrieving revision 1.47
-diff -u -r1.47 globals.pm
---- solenv/bin/modules/installer/globals.pm 9 Nov 2005 09:10:01 -0000 1.47
-+++ solenv/bin/modules/installer/globals.pm 3 Dec 2005 22:26:52 -0000
-@@ -80,6 +80,7 @@
- $issolarispkgbuild = 0;
- $issolarissparcbuild = 0;
- $issolarisx86build = 0;
-+ $isfreebsdpkgbuild = 0;
- $unpackpath = "";
- $idttemplatepath = "";
- $idtlanguagepath = "";
-
-Index: solenv/bin/modules/installer/parameter.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/parameter.pm,v
-retrieving revision 1.29
-diff -u -r1.29 parameter.pm
---- solenv/bin/modules/installer/parameter.pm 9 Nov 2005 09:10:12 -0000 1.29
-+++ solenv/bin/modules/installer/parameter.pm 10 Dec 2005 13:11:30 -0000
-@@ -304,6 +304,13 @@
- $installer::globals::epmoutpath = "packages";
- }
- }
-+ if ( $installer::globals::compiler =~ /unxfbsdi/ )
-+ {
-+ if ( $installer::globals::packageformat eq "bsd" )
-+ {
-+ $installer::globals::isfreebsdpkgbuild = 1;
-+ }
-+ }
-
- if ( $installer::globals::compiler =~ /unxso[lg]s/ ) { $installer::globals::issolarissparcbuild = 1; }
-
diff --git a/editors/openoffice-3-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk b/editors/openoffice-3-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk
deleted file mode 100644
index 2c89e95a8cdb..000000000000
--- a/editors/openoffice-3-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-Issuetracker : #i56951#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : javavendors_linux.xml can be used for FreeBSD as well.
-javavendors_linux.xml can be used for FreeBSD as well.
-
---- jvmfwk/distributions/OpenOfficeorg/makefile.mk Thu Sep 8 04:26:17 2005
-+++ jvmfwk/distributions/OpenOfficeorg/makefile.mk Sat Oct 22 18:31:16 2005
-@@ -49,7 +49,7 @@
- .IF "$(GUI)"=="UNX"
- .IF "$(OS)"=="MACOSX"
- +-$(COPY) javavendors_macosx.xml $(BIN)$/javavendors_ooo.xml
--.ELIF "$(OS)"=="LINUX"
-+.ELIF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
- +-$(COPY) javavendors_linux.xml $(BIN)$/javavendors_ooo.xml
- .ELSE
- +-$(COPY) javavendors_unx.xml $(BIN)$/javavendors_ooo.xml
diff --git a/editors/openoffice-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx b/editors/openoffice-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
index c963d013cc07..610b3b087221 100644
--- a/editors/openoffice-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
+++ b/editors/openoffice-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
@@ -12,18 +12,17 @@ java 1.4.1-p10 for example to 1.4.1_110.
--- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Thu Sep 8 04:31:40 2005
+++ jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Sat Oct 22 18:25:49 2005
-@@ -208,7 +208,16 @@
+@@ -208,7 +208,15 @@
return false;
#if defined(FREEBSD)
if (m_preRelease == Rel_FreeBSD) {
- m_nUpdateSpecial = *pCur;
+ pCur++; //elemnate `p'
+ if (pCur < pEnd && isdigit(*pCur))
-+ if (pCur < pEnd)
-+ pCur ++;
++ pCur ++;
+ int len = pCur - pLast -1; //elemenate `p'
+ if (len >= 127)
-+ return false;
++ return false;
+ strncpy(buf, (pLast+1), len); //elemenate `p'
+ buf[len] = 0;
+ m_nUpdateSpecial = atoi(buf)+100; //hack for FBSD
diff --git a/editors/openoffice-3-devel/files/patch-libxmlsec+makefile.mk b/editors/openoffice-3-devel/files/patch-libxmlsec+makefile.mk
deleted file mode 100644
index 4e674ce211f0..000000000000
--- a/editors/openoffice-3-devel/files/patch-libxmlsec+makefile.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-Issuetracker : #i56954#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Passing $ORIGIN to linker at libxmlsec project
-We also want to pass -rpath $ORIGIN to linker as GNU/Linux and/or Solaris's case.
-
-Index: libxmlsec/makefile.mk
-===================================================================
-RCS file: /cvs/external/libxmlsec/makefile.mk,v
-retrieving revision 1.7
-diff -u -r1.7 makefile.mk
---- libxmlsec/makefile.mk 28 Dec 2005 16:58:06 -0000 1.7
-+++ libxmlsec/makefile.mk 5 Jan 2006 12:34:24 -0000
-@@ -98,6 +98,9 @@
- .IF "$(OS)$(COM)"=="SOLARISC52"
- xmlsec_LDFLAGS+=-Wl,-R'$$$$ORIGIN'
- .ENDIF # "$(OS)$(COM)"=="SOLARISC52"
-+.IF "$(OS)$(COM)"=="FREEBSDGCC"
-+LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN'
-+.ENDIF # "$(OS)$(COM)"=="FREEBSDGCC"
- LDFLAGS:=$(xmlsec_LDFLAGS)
- .EXPORT: LDFLAGS
-
diff --git a/editors/openoffice-3-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx b/editors/openoffice-3-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx
deleted file mode 100644
index 65073f215e7b..000000000000
--- a/editors/openoffice-3-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx
+++ /dev/null
@@ -1,65 +0,0 @@
-Issuetracker : #i60097#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : getc and ungetc are defined at stdio.h
-
-Index: psprint/source/fontmanager/parseAFM.cxx
-===================================================================
-RCS file: /cvs/gsl/psprint/source/fontmanager/parseAFM.cxx,v
-retrieving revision 1.6
-diff -u -r1.6 parseAFM.cxx
---- psprint/source/fontmanager/parseAFM.cxx 28 Dec 2005 17:08:38 -0000 1.6
-+++ psprint/source/fontmanager/parseAFM.cxx 5 Jan 2006 22:05:26 -0000
-@@ -113,8 +113,8 @@
- FileInputStream( const char* pFilename );
- ~FileInputStream();
-
-- int getc() { return (m_nPos < m_nLen) ? int(m_pMemory[m_nPos++]) : -1; }
-- void ungetc()
-+ int getChar() { return (m_nPos < m_nLen) ? int(m_pMemory[m_nPos++]) : -1; }
-+ void ungetChar()
- {
- if( m_nPos > 0 )
- m_nPos--;
-@@ -278,18 +278,18 @@
-
- /* skip over white space */
- // relies on EOF = -1
-- while( is_white_Array[ (ch = stream->getc()) & 255 ] )
-+ while( is_white_Array[ (ch = stream->getChar()) & 255 ] )
- ;
-
- idx = 0;
- while( ch != -1 && ! is_delimiter_Array[ ch & 255 ] )
- {
- ident[idx++] = ch;
-- ch = stream->getc();
-+ ch = stream->getChar();
- }
-
- if (ch == -1 && idx < 1) return ((char *)NULL);
-- if (idx >= 1 && ch != ':' ) stream->ungetc();
-+ if (idx >= 1 && ch != ':' ) stream->ungetChar();
- if (idx < 1 ) ident[idx++] = ch; /* single-character token */
- ident[idx] = 0;
- rLen = idx;
-@@ -311,16 +311,16 @@
- static char ident[MAX_NAME]; /* storage buffer for keywords */
- int ch, idx;
-
-- while ((ch = stream->getc()) == ' ' || ch == '\t' );
-+ while ((ch = stream->getChar()) == ' ' || ch == '\t' );
-
- idx = 0;
- while (ch != -1 && ch != lineterm && ch != '\r')
- {
- ident[idx++] = ch;
-- ch = stream->getc();
-+ ch = stream->getChar();
- } /* while */
-
-- stream->ungetc();
-+ stream->ungetChar();
- ident[idx] = 0;
-
- return(ident); /* returns pointer to the token */
diff --git a/editors/openoffice-3-devel/files/patch-sdkoo b/editors/openoffice-3-devel/files/patch-sdkoo
deleted file mode 100644
index 6dfc9a5fb029..000000000000
--- a/editors/openoffice-3-devel/files/patch-sdkoo
+++ /dev/null
@@ -1,64 +0,0 @@
-Issuetracker : #iXXXXX#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : building sdk fails for FreeBSD
-
-1. Build error
-dmake sdkoo fails like:
-
-##############################################################################
-... starting unpatched epm ...
-... epm -f bsd openoffice.org-sdk /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_SRC680__en-US.lst -v 2>&1 | ...
-
-**************************************************
-ERROR: ERROR: "epm -f bsd openoffice.org-sdk /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_SRC680__en-US.lst -v 2>&1 |"!
-in function: call_epm
-**************************************************
-
-**************************************************
-ERROR: Saved logfile: /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/logging/en-US/log_SRC680__en-US.log
-**************************************************
-... cleaning the output tree ...
-... removing directory /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/zip/en-US ...
-Fri Nov 18 22:49:33 2005 (08:05 min.)
-dmake: Error code 255, while making 'sdkoo_en-US.bsd'
-'---* tg_merge.mk *---'
-##############################################################################
-
-2. Reason why it fails:
-since quoting for filename containing `$' produces an error
-
-tar: opt/openoffice.org2.0_sdk/classes/com/sun/star/lib/loader/InstallationFinder\$StreamGobbler.class: Could not stat: No such file or directory
-tar: opt/openoffice.org2.0_sdk/classes/com/sun/star/lib/loader/Loader\$CustomURLClassLoader.class: Could not stat: No such file or directory
-
-3. Solution
-
-For FreeBSD, we don't need quoting. We use printf for files names
-instead of using qprintf, a function that treats quoting string.
-
---- epm/epm-3.7.patch Sat Nov 19 10:21:34 2005
-+++ epm/epm-3.7.patch Sat Nov 19 10:22:23 2005
-@@ -586,3 +586,23 @@
- }
-
- --- 457,462 ----
-+
-+*** misc/epm-3.7/bsd.c Wed Jan 15 02:05:01 2003
-+--- misc/build/epm-3.7/bsd.c Sat Jun 4 06:18:27 2005
-+***************
-+*** 234,240 ****
-+ case 'c' :
-+ case 'f' :
-+ case 'l' :
-+! qprintf(fp, "%s\n", file->dst + 1);
-+ break;
-+ }
-+ }
-+--- 243,249 ----
-+ case 'c' :
-+ case 'f' :
-+ case 'l' :
-+! fprintf(fp, "%s\n", file->dst + 1);
-+ break;
-+ }
-+ }
diff --git a/editors/openoffice-3-devel/files/patch-solenv+inc+unxfbsdi.mk b/editors/openoffice-3-devel/files/patch-solenv+inc+unxfbsdi.mk
deleted file mode 100644
index 02b0c8ad1400..000000000000
--- a/editors/openoffice-3-devel/files/patch-solenv+inc+unxfbsdi.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-Issuetracker : #i56956#
-CWS : N/A
-Author: : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : catch up recent version of solenv/inc/unxlngi6.mk
-catch up recent version of solenv/inc/unxlngi6.mk and STLPORT_VERSION is 450 in FreeBSD
-
---- solenv/inc/unxfbsdi.mk Wed Oct 5 20:33:12 2005
-+++ solenv/inc/unxfbsdi.mk Mon Oct 24 11:13:39 2005
-@@ -45,7 +45,7 @@
- #LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter"
-
- # _PTHREADS is needed for the stl
--CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400
-+CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450
-
- # enable visibility define in "sal/types.h"
- .IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
-@@ -190,8 +190,13 @@
-
- LIBSALCPPRT*=-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive
-
-+.IF "$(USE_STLP_DEBUG)" != ""
-+LIBSTLPORT=$(DYNAMIC) -lstlport_gcc_stldebug
-+LIBSTLPORTST=$(STATIC) -lstlport_gcc_stldebug $(DYNAMIC)
-+.ELSE # "$(USE_STLP_DEBUG)" != ""
- LIBSTLPORT=$(DYNAMIC) -lstlport_gcc
- LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC)
-+.ENDIF # "$(USE_STLP_DEBUG)" != ""
-
- #FILLUPARC=$(STATIC) -lsupc++ $(DYNAMIC)
-
diff --git a/editors/openoffice.org-2-devel/Makefile b/editors/openoffice.org-2-devel/Makefile
index d24e0c28f41d..d1de2d1a680c 100644
--- a/editors/openoffice.org-2-devel/Makefile
+++ b/editors/openoffice.org-2-devel/Makefile
@@ -9,15 +9,19 @@ PORTNAME?= openoffice.org
PORTVERSION?= 2.0.${SNAPDATE}
CATEGORIES+= editors java
MASTER_SITES+= http://openoffice.lunarshells.com/sources/ \
- ftp://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
+ http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
+ ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:antbin,} \
${MASTER_SITE_MOZILLA:S/$/:mozsrc/}
MASTER_SITE_SUBDIR+= mozilla/releases/mozilla${MOZILLA_VERSION}/source/:mozsrc
-DISTFILES+= OOo_${OOOTAG}_source.tar.bz2
+DISTFILES+= OOo_${OOOTAG}_source${EXTRACT_SUFX}
.if defined(WITH_GPC)
DISTFILES+= gpc231.tar.Z:gpc
.endif
-EXTRACT_ONLY= OOo_${OOOTAG}_source.tar.bz2
+.if defined(WITH_GNUGCJ)
+DISTFILES+= ${ANT_DISTFILE}:antbin
+.endif
+EXTRACT_ONLY= OOo_${OOOTAG}_source${EXTRACT_SUFX}
MAINTAINER= openoffice@FreeBSD.org
COMMENT?= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser(developer version)
@@ -59,9 +63,9 @@ IGNORE= install lang/perl5.8 then try again
CODELINE= 680
RELEASE_NR= 2.0
-MILESTONE?= 151
+MILESTONE?= 155
OOOTAG?= SRC680_m${MILESTONE}
-SNAPDATE= 20060117
+SNAPDATE= 20060203
INSTALLATION_BASEDIR?= openoffice.org-${OOOTAG}
EXECBASE?= openoffice.org-${OOOTAG}
DIST_SUBDIR= openoffice.org2.0
@@ -78,7 +82,7 @@ PKGNAMESUFFIX?= -${LANG_SUFFIX}
.endif
.if defined(WITH_GNUGCJ)
-BUILD_DEPENDS+= gcc41:${PORTSDIR}/lang/gcc41
+#BUILD_DEPENDS+= ${LOCALBASE}/bin/gcc41:${PORTSDIR}/lang/gcc41-wgcj
BROKEN= "still work in progress"
.else
BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
@@ -88,8 +92,8 @@ BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
.if defined(WITH_GNUGCJ)
-CC= ccache gcc41
-CXX= ccache g++41
+CC= ccache ${LOCALBASE}/gcc41/bin/gcc
+CXX= ccache ${LOCALBASE}/gcc41/bin/g++
.else
CC= ccache gcc-ooo
CXX= ccache g++-ooo
@@ -97,8 +101,8 @@ CXX= ccache g++-ooo
.endif #WITH_CCACHE
.if !defined(WITH_CCACHE)
.if defined(WITH_GNUGCJ)
-CC= gcc41
-CXX= g++41
+CC= ${LOCALBASE}/gcc41/bin/gcc
+CXX= ${LOCALBASE}/gcc41/bin/g++
.else
CC= gcc-ooo
CXX= g++-ooo
@@ -112,26 +116,40 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
bison2:${PORTSDIR}/devel/bison2 \
imake:${X_IMAKE_PORT}
-.if !defined(WITHOUT_JAVA)
-BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/apache-ant
+.if !defined(WITHOUT_JAVA) && !defined(WITH_GNUGCJ)
+BUILD_DEPENDS+= ant:${PORTSDIR}/devel/apache-ant
.else
LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
.endif
+.if defined(WITH_GNUGCJ)
+ANT_DISTFILE= apache-ant-${ANT_VERSION}-bin.tar.bz2
+ANT_VERSION= 1.6.5
+.endif
.if !defined(WITH_GPC)
LIB_DEPENDS= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl2
.endif
+
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
-ANT?= ${LOCALBASE}/bin/ant
-ZIP?= ${PREFIX}/bin/zip
TCSH?= /bin/tcsh
PKGMESSAGE= ${WRKDIR}/pkg-message
NUMOFPROCESSES?= 1
+USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --with-gnu-patch=${LOCALBASE}/bin/gpatch --with-epm=internal --with-system-freetype --enable-crashdump=yes --enable-symbols=SMALL
+.if (${OSVERSION} <= 492000)
+EXTRA_PATCHES+= ${FILESDIR}/fbsd4-workaroundpatch
+.endif
+.if defined(WITH_GNUGCJ)
+EXTRA_PATCHES+= ${FILESDIR}/gcj-cws_jaxpapi ${FILESDIR}/gcj-patches
+.endif
+#.if defined(WITH_TTF_BYTECODE_ENABLED)
+#EXTRA_PATCHES+= ${FILESDIR}/optpatch-freetype
+#.endif
+
.include <${FILESDIR}/Makefile.knobs>
pre-everything::
@@ -152,11 +170,8 @@ pre-everything::
.endif
post-extract:
-#.if defined(WITH_TTF_BYTECODE_ENABLED)
-# @cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/optpatch-freetype
-#.endif
-.if (${OSVERSION} <= 492000)
- @cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/fbsd4-workaroundpatch
+.if defined(WITH_GNUGCJ)
+ @cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${ANT_DISTFILE} | ${BZIP2_CMD} -d | ${TAR} xf -
.endif
.if defined(WITH_GPC)
@cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/gpc231.tar.Z | ${TAR} xfz -
diff --git a/editors/openoffice.org-2-devel/distinfo b/editors/openoffice.org-2-devel/distinfo
index 4a24eeb47005..5f814dd0406e 100644
--- a/editors/openoffice.org-2-devel/distinfo
+++ b/editors/openoffice.org-2-devel/distinfo
@@ -1,9 +1,12 @@
-MD5 (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = f652b703f21ade84d6ff814684df2327
-SHA256 (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = 2c6a2e37ff5dd8b01c4d976239922e12b26bf948908f62d9e2df620c8ce4cf2d
-SIZE (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = 236161920
+MD5 (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = b8a712737bb146baf1ebb00c88ed3dc3
+SHA256 (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = 80b481f8815f7bc9263d9544f1a0326abeb61de7349e4947614a5e72e49c4b0b
+SIZE (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = 235716251
MD5 (openoffice.org2.0/gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
SHA256 (openoffice.org2.0/gpc231.tar.Z) = c1265948554a9882fe8342ecc9ccbdb423321a572a5a6b56f7dfad389540da4e
SIZE (openoffice.org2.0/gpc231.tar.Z) = 27917
+MD5 (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = 26031ee1a2fd248ad0cc2e7f17c44c39
+SHA256 (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = d463b8259cb199cd26799c817756c73e4e7808b0cf915f86841ac9779e0f9936
+SIZE (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = 6743024
MD5 (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = d3f3528b6c5eade402ed058207cffa14
SHA256 (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = 3e252bab95ecad3016b72fa594e0c44b9633d8c7b6af187e088a092019b56445
SIZE (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = 38721366
diff --git a/editors/openoffice.org-2-devel/files/Makefile.knobs b/editors/openoffice.org-2-devel/files/Makefile.knobs
index 8fc898b33521..1d119fc69a6a 100644
--- a/editors/openoffice.org-2-devel/files/Makefile.knobs
+++ b/editors/openoffice.org-2-devel/files/Makefile.knobs
@@ -6,7 +6,7 @@
CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}" --with-ant-home=${LOCALBASE}/ant
.endif
.if !defined(WITHOUT_JAVA) && defined(WITH_GNUGCJ)
-CONFIGURE_ARGS+= --with-java=gij --with-ant-home=${LOCALBASE}/ant
+CONFIGURE_ARGS+= --with-jdk-home="${LOCALBASE}/gcc41" --with-java=gij --with-ant-home="${WRKDIR}/apache-ant-${ANT_VERSION}" --disable-qadevooo
.endif
.if defined(WITHOUT_JAVA)
CONFIGURE_ARGS+= --without-java
diff --git a/editors/openoffice.org-2-devel/files/gcj-cws_jaxpapi b/editors/openoffice.org-2-devel/files/gcj-cws_jaxpapi
new file mode 100644
index 000000000000..b7473b8dc748
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/gcj-cws_jaxpapi
@@ -0,0 +1,1308 @@
+Index: external/prj/d.lst
+===================================================================
+RCS file: /cvs/util/external/prj/d.lst,v
+retrieving revision 1.21
+retrieving revision 1.21.18.1
+diff -u -r1.21 -r1.21.18.1
+--- external/prj/d.lst 24 Nov 2004 15:13:13 -0000 1.21
++++ external/prj/d.lst 17 Jan 2006 10:39:46 -0000 1.21.18.1
+@@ -24,8 +24,6 @@
+ ..\%__SRC%\bin\*.zip %_DEST%\pck%_EXT%\*.zip
+ ..\common.pro\bin\*.zip %_DEST%\pck%_EXT%\*.zip
+ ..\common\xt.jar %_DEST%\bin%_EXT%\xt.jar
+-..\common\jaxp.jar %_DEST%\bin%_EXT%\jaxp.jar
+-..\common\parser.jar %_DEST%\bin%_EXT%\parser.jar
+
+ ..\audio\rtufiles\lib\audio\libaudio.a %_DEST%\lib%_EXT%\libaudio.a
+ ..\audio\rtufiles\lib\audio\*.h %_DEST%\inc%_EXT%\audio\*
+Index: filter/source/config/fragments/makefile.mk
+===================================================================
+RCS file: /cvs/framework/filter/source/config/fragments/makefile.mk,v
+retrieving revision 1.16
+retrieving revision 1.16.16.1
+diff -u -r1.16 -r1.16.16.1
+--- filter/source/config/fragments/makefile.mk 14 Dec 2005 14:48:16 -0000 1.16
++++ filter/source/config/fragments/makefile.mk 17 Jan 2006 11:03:31 -0000 1.16.16.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.16 $
++# $Revision: 1.16.16.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/12/14 14:48:16 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:03:31 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -156,11 +156,7 @@
+ MERGE:=python ../tools/merge/pyAltFCFGMerge
+ .ELSE
+ MERGE := $(JAVAI) -jar $(CLASSDIR)$/FCFGMerge.jar
+-.IF "$(JDK)" == "gcj"
+-XALANCLASS=$(SOLARBINDIR)/xalan.jar
+-CLASSPATH:=$(CLASSPATH)$(PATH_SEPERATOR){$(subst,%Z*Z%,$(PATH_SEPERATOR) $(XALANCLASS:s/ /%Z*Z%/))}
+-.ENDIF
+-PACKLANG := $(JAVAI) org.apache.xalan.xslt.Process -XSL langfilter.xsl
++PACKLANG := $(JAVAI) $(JAVACPS) $(SOLARBINDIR)/xalan.jar org.apache.xalan.xslt.Process -XSL langfilter.xsl
+ .ENDIF
+
+ # -----------------------------------------------------------------------------
+Index: filter/source/config/tools/utils/makefile.mk
+===================================================================
+RCS file: /cvs/framework/filter/source/config/tools/utils/makefile.mk,v
+retrieving revision 1.5
+retrieving revision 1.5.92.1
+diff -u -r1.5 -r1.5.92.1
+--- filter/source/config/tools/utils/makefile.mk 8 Sep 2005 21:39:14 -0000 1.5
++++ filter/source/config/tools/utils/makefile.mk 17 Jan 2006 11:03:44 -0000 1.5.92.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.5 $
++# $Revision: 1.5.92.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/09/08 21:39:14 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:03:44 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -51,8 +51,8 @@
+ juh.jar \
+ jut.jar \
+ java_uno.jar \
+- jaxp.jar \
+- parser.jar
++ xml-apis.jar \
++ xercesImpl.jar
+
+ JAVACLASSFILES = \
+ $(CLASSDIR)$/$(PACKAGE)$/AnalyzeStartupLog.class \
+Index: helpcontent2/settings.pmk
+===================================================================
+RCS file: /cvs/documentation/helpcontent2/settings.pmk,v
+retrieving revision 1.5
+retrieving revision 1.5.106.1
+diff -u -r1.5 -r1.5.106.1
+--- helpcontent2/settings.pmk 29 Apr 2005 09:14:07 -0000 1.5
++++ helpcontent2/settings.pmk 17 Jan 2006 12:52:53 -0000 1.5.106.1
+@@ -1,5 +1,5 @@
+
+-my_cp:=$(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.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
++my_cp:=$(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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
+
+ .IF "$(SYSTEM_DB)" == "YES"
+ my_cp!:=$(my_cp)$(PATH_SEPERATOR)$(DB_JAR)
+Index: officecfg/org/openoffice/configuration/FileHelper.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/FileHelper.java,v
+retrieving revision 1.2
+retrieving revision 1.2.88.1
+diff -u -r1.2 -r1.2.88.1
+--- officecfg/org/openoffice/configuration/FileHelper.java 8 Sep 2005 14:42:51 -0000 1.2
++++ officecfg/org/openoffice/configuration/FileHelper.java 17 Jan 2006 11:28:49 -0000 1.2.88.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: FileHelper.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.88.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/08 14:42:51 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:28:49 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -62,7 +62,7 @@
+ File aFile = new File(sSource);
+
+ try {
+- absPath = aFile.getAbsoluteFile().toURL().toString();
++ absPath = aFile.getAbsolutePath();
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+Index: officecfg/org/openoffice/configuration/Generator.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/Generator.java,v
+retrieving revision 1.2
+retrieving revision 1.2.902.1
+diff -u -r1.2 -r1.2.902.1
+--- officecfg/org/openoffice/configuration/Generator.java 5 Jul 2001 08:04:36 -0000 1.2
++++ officecfg/org/openoffice/configuration/Generator.java 17 Jan 2006 11:28:50 -0000 1.2.902.1
+@@ -18,7 +18,7 @@
+ public Generator() throws Exception
+ {
+ // set the driver for xt
+- System.setProperty("com.jclark.xsl.sax.parser", "com.sun.xml.parser.Parser");
++ System.setProperty("com.jclark.xsl.sax.parser", "org.apache.xerces.parsers.SAXParser");
+ }
+
+ /**
+Index: officecfg/org/openoffice/configuration/XMLDefaultGenerator.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/XMLDefaultGenerator.java,v
+retrieving revision 1.4
+retrieving revision 1.4.88.1
+diff -u -r1.4 -r1.4.88.1
+--- officecfg/org/openoffice/configuration/XMLDefaultGenerator.java 8 Sep 2005 14:43:34 -0000 1.4
++++ officecfg/org/openoffice/configuration/XMLDefaultGenerator.java 17 Jan 2006 11:28:50 -0000 1.4.88.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XMLDefaultGenerator.java,v $
+ *
+- * $Revision: 1.4 $
++ * $Revision: 1.4.88.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/08 14:43:34 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:28:50 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -36,12 +36,10 @@
+
+ import org.xml.sax.*;
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.XmlDocument;
+ import org.xml.sax.SAXException;
+ import org.xml.sax.SAXParseException;
+ import javax.xml.parsers.SAXParserFactory;
+ import javax.xml.parsers.SAXParser;
+-import com.sun.xml.tree.*;
+ import java.util.*;
+ import java.io.*;
+ import com.jclark.xsl.sax.Driver;
+@@ -65,7 +63,7 @@
+ public XMLDefaultGenerator(String sourceFile) throws Exception
+ {
+ // set the driver for xt
+- System.setProperty("com.jclark.xsl.sax.parser", "com.sun.xml.parser.Parser");
++ System.setProperty("com.jclark.xsl.sax.parser", "org.apache.xerces.parsers.SAXParser");
+ evaluateSchema(sourceFile);
+ }
+
+Index: readlicense_oo/util/makefile.pmk
+===================================================================
+RCS file: /cvs/installation/readlicense/util/makefile.pmk,v
+retrieving revision 1.10
+retrieving revision 1.10.12.1
+diff -u -r1.10 -r1.10.12.1
+--- readlicense_oo/util/makefile.pmk 25 Oct 2005 10:43:44 -0000 1.10
++++ readlicense_oo/util/makefile.pmk 17 Jan 2006 11:15:07 -0000 1.10.12.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.pmk,v $
+ #
+-# $Revision: 1.10 $
++# $Revision: 1.10.12.1 $
+ #
+-# last change: $Author: hr $ $Date: 2005/10/25 10:43:44 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:15:07 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -70,7 +70,7 @@
+ $(MISC)$/readme%.html :
+ @+-$(MKDIR) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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%.txt :
+ @+-$(MKDIR) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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: scripting/java/build.xml
+===================================================================
+RCS file: /cvs/framework/scripting/java/build.xml,v
+retrieving revision 1.32
+retrieving revision 1.32.18.1
+diff -u -r1.32 -r1.32.18.1
+--- scripting/java/build.xml 9 Sep 2005 01:54:21 -0000 1.32
++++ scripting/java/build.xml 17 Jan 2006 11:15:56 -0000 1.32.18.1
+@@ -4,9 +4,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.32 $
++ $Revision: 1.32.18.1 $
+
+- last change: $Author: rt $ $Date: 2005/09/09 01:54:21 $
++ last change: $Author: cmc $ $Date: 2006/01/17 11:15:56 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -65,15 +65,11 @@
+
+ <path id="idesupport.class.path">
+ <pathelement path="${jardir}"/>
+- <!-- <pathelement path="${solar.jar}/jaxp.jar"/>
+- <pathelement path="${solar.jar}/parser.jar"/>
+- <pathelement path="${install.dir}/xerces.jar"/> -->
+ </path>
+
+ <path id="openide.class.path">
+ <pathelement path="${jardir}"/>
+ <pathelement path="${solar.jar}/openide.jar"/>
+- <!-- <pathelement path="${install.dir}/xerces.jar"/> -->
+ </path>
+
+ <path id="netbeans.editor.support.classpath">
+Index: solenv/bin/modules/installer/javainstaller.pm
+===================================================================
+RCS file: /cvs/tools/solenv/bin/modules/installer/javainstaller.pm,v
+retrieving revision 1.22
+retrieving revision 1.21.184.2
+diff -u -r1.22 -r1.21.184.2
+--- solenv/bin/modules/installer/javainstaller.pm 13 Jan 2006 15:01:29 -0000 1.22
++++ solenv/bin/modules/installer/javainstaller.pm 18 Jan 2006 12:05:44 -0000 1.21.184.2
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: javainstaller.pm,v $
+ #
+-# $Revision: 1.22 $
++# $Revision: 1.21.184.2 $
+ #
+-# last change: $Author: rt $ $Date: 2006/01/13 15:01:29 $
++# last change: $Author: cmc $ $Date: 2006/01/18 12:05:44 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -494,14 +494,14 @@
+
+ # The variable CLASSPATH has to contain:
+ # $installsdk/classes:$installsdk/classes/setupsdk.jar:
+- # $installsdk/classes/parser.jar:$installsdk/classes/jaxp.jar:
++ # $installsdk/classes/xercesImpl.jar:$installsdk/classes/xml-apis.jar:
+ # $installsdk/classes/ldapjdk.jar:$directory
+
+ my @additional_classpath = ();
+ push(@additional_classpath, "$installsdk\/classes");
+ push(@additional_classpath, "$installsdk\/installsdk.jar");
+- push(@additional_classpath, "$installsdk\/classes\/parser.jar");
+- push(@additional_classpath, "$installsdk\/classes\/jaxp.jar");
++ push(@additional_classpath, "$installsdk\/classes\/xml-apis.jar");
++ push(@additional_classpath, "$installsdk\/classes\/xercesImpl.jar");
+ push(@additional_classpath, "$directory");
+
+ my $newclasspathstring = "";
+Index: solenv/inc/tg_config.mk
+===================================================================
+RCS file: /cvs/tools/solenv/inc/tg_config.mk,v
+retrieving revision 1.6
+retrieving revision 1.6.184.1
+diff -u -r1.6 -r1.6.184.1
+--- solenv/inc/tg_config.mk 8 Sep 2005 09:42:41 -0000 1.6
++++ solenv/inc/tg_config.mk 17 Jan 2006 11:10:09 -0000 1.6.184.1
+@@ -1,12 +1,12 @@
+-#*************************************************************************
++#************************************************************************
+ #
+ # OpenOffice.org - a multi-platform office productivity suite
+ #
+ # $RCSfile: tg_config.mk,v $
+ #
+-# $Revision: 1.6 $
++# $Revision: 1.6.184.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/09/08 09:42:41 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:10:09 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -62,12 +62,12 @@
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+ .IF "$(NO_INSPECTION)"==""
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.configuration.Inspector $<
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_val.xsl $(@:d)$*.val componentName=$(PACKAGE).$*
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/sanity.xsl $(@:d)$*.san
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_trim.xsl $(@:d)$*.tmp
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_trim.xsl $(@:d)$*.tmp
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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,
+ # org.openoffice.configuration.Inspector should be replaced and the
+@@ -101,7 +101,7 @@
+ @+echo -------------+ creating locale dependent resource bundles
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/resource.xsl $@ locale={$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))}
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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$/, $@))} \
+@@ -129,11 +129,11 @@
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+ .IF "$(NO_INSPECTION)"==""
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.configuration.Inspector $<
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/alllang.xsl $(@:d)$*.tmp xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs schemaRoot=$(XCSROOT)$/registry$/schema
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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,
+ # org.openoffice.configuration.Inspector should be replaced and the
+@@ -170,8 +170,8 @@
+ @+echo -------------+ creating locale dependent entries
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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 \
+ --stringparam xcs $(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs \
+@@ -206,8 +206,8 @@
+ @+echo -------------+ creating a module file
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$(@:f:s/.xcu/.tmp/) $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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/) \
+ --stringparam xcs $(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$(<:b).xcs \
+Index: toolkit/test/accessibility/jawb.mf
+===================================================================
+RCS file: /cvs/gsl/toolkit/test/accessibility/jawb.mf,v
+retrieving revision 1.4
+retrieving revision 1.4.178.1
+diff -u -r1.4 -r1.4.178.1
+--- toolkit/test/accessibility/jawb.mf 23 Jul 2004 14:26:57 -0000 1.4
++++ toolkit/test/accessibility/jawb.mf 17 Jan 2006 11:03:18 -0000 1.4.178.1
+@@ -1,3 +1,3 @@
+ Manifest-Version: 1.0
+ Main-Class: AccessibilityWorkBench
+-Class-Path: classes.jar ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar xt.jar jaxp.jar
++Class-Path: classes.jar ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar xt.jar xml-apis.jar
+Index: xmerge/source/xmerge/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/build.xml,v
+retrieving revision 1.2
+retrieving revision 1.2.4.1
+diff -u -r1.2 -r1.2.4.1
+--- xmerge/source/xmerge/build.xml 24 Oct 2005 17:57:33 -0000 1.2
++++ xmerge/source/xmerge/build.xml 17 Jan 2006 10:54:44 -0000 1.2.4.1
+@@ -58,9 +58,8 @@
+ <property file="../inc/antbuild.properties"/>
+
+ <path id="classpath">
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ <pathelement location="${solar.jar}/unoil.jar"/>
+ <pathelement location="${solar.jar}/ridl.jar"/>
+ <pathelement location="${solar.jar}/jurt.jar"/>
+@@ -96,7 +95,7 @@
+ <attribute name="Specification-Vendor" value="OpenOffice.org"/>
+ <attribute name="Specification-Version" value="0.6.0"/>
+ <attribute name="Implementation-Version" value="#IMPL-VERSION#"/>
+- <attribute name="Class-Path" value="jaxp.jar parser.jar"/>
++ <attribute name="Class-Path" value="xml-apis.jar xercesImpl.jar"/>
+ </manifest>
+ </jar>
+ </target>
+Index: xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java,v
+retrieving revision 1.3
+retrieving revision 1.2.4.1
+diff -u -r1.3 -r1.2.4.1
+Index: xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml,v
+retrieving revision 1.2
+retrieving revision 1.2.4.1
+diff -u -r1.2 -r1.2.4.1
+--- xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml 24 Oct 2005 18:23:20 -0000 1.2
++++ xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml 17 Jan 2006 10:55:00 -0000 1.2.4.1
+@@ -79,9 +79,8 @@
+ <!-- classpath settings for javac tasks -->
+ <path id="classpath">
+ <pathelement location="${build.class}"/>
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ </path>
+
+ <!-- set whether we want to compile with or without deprecation -->
+Index: xmerge/util/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/util/build.xml,v
+retrieving revision 1.9
+retrieving revision 1.9.4.1
+diff -u -r1.9 -r1.9.4.1
+--- xmerge/util/build.xml 24 Oct 2005 18:23:52 -0000 1.9
++++ xmerge/util/build.xml 17 Jan 2006 10:55:05 -0000 1.9.4.1
+@@ -4,9 +4,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.9 $
++ $Revision: 1.9.4.1 $
+
+- last change: $Author: hr $ $Date: 2005/10/24 18:23:52 $
++ last change: $Author: cmc $ $Date: 2006/01/17 10:55:05 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -39,9 +39,8 @@
+ <property name="javadoc.dir" location="${build.dir}/javadoc"/>
+
+ <path id="classpath">
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ <pathelement location="${solar.jar}/unoil.jar"/>
+ <pathelement location="${solar.jar}/ridl.jar"/>
+ <pathelement location="${solar.jar}/jurt.jar"/>
+Index: xmerge/util/xmerge.mf
+===================================================================
+RCS file: /cvs/xml/xmerge/util/xmerge.mf,v
+retrieving revision 1.1
+retrieving revision 1.1.24.1
+diff -u -r1.1 -r1.1.24.1
+--- xmerge/util/xmerge.mf 7 Mar 2002 16:45:23 -0000 1.1
++++ xmerge/util/xmerge.mf 17 Jan 2006 10:55:11 -0000 1.1.24.1
+@@ -1,6 +1,6 @@
+ Manifest-Version: 1.0
+ Main-Class: org.openoffice.xmerge.test.Driver
+-Class-Path: jaxp.jar parser.jar
++Class-Path: xml-apis.jar xercesImpl.jar
+ Specification-Title: OpenOffice XMerge Framework
+ Specification-Vendor: OpenOffice.org
+ Specification-Version: 0.6.0
+Index: xmerge/workben/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/workben/build.xml,v
+retrieving revision 1.3
+retrieving revision 1.3.8.1
+diff -u -r1.3 -r1.3.8.1
+--- xmerge/workben/build.xml 9 Sep 2005 11:50:54 -0000 1.3
++++ xmerge/workben/build.xml 17 Jan 2006 10:55:13 -0000 1.3.8.1
+@@ -5,9 +5,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.3 $
++ $Revision: 1.3.8.1 $
+
+- last change: $Author: rt $ $Date: 2005/09/09 11:50:54 $
++ last change: $Author: cmc $ $Date: 2006/01/17 10:55:13 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -60,9 +60,8 @@
+ <!-- classpath settings for javac tasks -->
+ <path id="classpath">
+ <pathelement location="${build.class}"/>
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ </path>
+
+ <!-- set wether we want to compile with or without deprecation -->
+Index: xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java,v
+retrieving revision 1.2
+retrieving revision 1.2.2.1
+diff -u -r1.2 -r1.2.2.1
+--- xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java 16 Jan 2006 12:35:17 -0000 1.2
++++ xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java 19 Jan 2006 09:43:59 -0000 1.2.2.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: GCJFileURLStreamHandler.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.2.1 $
+ *
+- * last change: $Author: obo $ $Date: 2006/01/16 12:35:17 $
++ * last change: $Author: cmc $ $Date: 2006/01/19 09:43:59 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -43,12 +43,12 @@
+ import java.net.URLConnection;
+ import java.util.HashMap;
+
+-public class FileURLStreamHandler
++public class GCJFileURLStreamHandler
+ extends gnu.java.net.protocol.file.Handler {
+
+ private static HashMap cache = new HashMap();
+
+- FileURLStreamHandler() {
++ GCJFileURLStreamHandler() {
+ }
+
+ public URLConnection openConnection(URL url) throws IOException {
+Index: xmlhelp/source/com/sun/star/help/HelpCompiler.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/HelpCompiler.java,v
+retrieving revision 1.12
+retrieving revision 1.11.4.2
+diff -u -r1.12 -r1.11.4.2
+--- xmlhelp/source/com/sun/star/help/HelpCompiler.java 16 Jan 2006 12:35:49 -0000 1.12
++++ xmlhelp/source/com/sun/star/help/HelpCompiler.java 18 Jan 2006 12:08:35 -0000 1.11.4.2
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: HelpCompiler.java,v $
+ *
+- * $Revision: 1.12 $
++ * $Revision: 1.11.4.2 $
+ *
+- * last change: $Author: obo $ $Date: 2006/01/16 12:35:49 $
++ * last change: $Author: cmc $ $Date: 2006/01/18 12:08:35 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -38,6 +38,7 @@
+ import java.io.ByteArrayInputStream;
+ import java.io.File;
+ import java.io.IOException;
++import java.io.ByteArrayOutputStream;
+ import java.io.InputStreamReader;
+ import java.io.UnsupportedEncodingException;
+ import java.net.MalformedURLException;
+@@ -49,16 +50,20 @@
+ import java.util.LinkedList;
+ import java.util.List;
+
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
++
+ import org.w3c.dom.Document;
+ import org.w3c.dom.Element;
+ import org.w3c.dom.Node;
+ import org.w3c.dom.NodeList;
+ import org.w3c.dom.Text;
++import org.w3c.dom.traversal.DocumentTraversal;
++import org.w3c.dom.traversal.NodeFilter;
++import org.w3c.dom.traversal.TreeWalker;
++import org.w3c.dom.traversal.NodeIterator;
+ import org.xml.sax.InputSource;
+
+-import com.sun.xml.tree.TreeWalker;
+-import com.sun.xml.tree.XmlDocument;
+-
+ public class HelpCompiler {
+
+ private static final String makeRelPrefix = ".." + File.separator;
+@@ -98,25 +103,25 @@
+
+ }
+
+- private Object[] switchFind(Node node) {
++ private Object[] switchFind(Document doc) {
+ HashSet hs = new HashSet();
+- Node next;
+- TreeWalker tw = new TreeWalker(node);
+- while ((next = tw.getNextElement("switchinline")) != null) {
+- Element el = (Element) next;
+- if (!el.getAttribute("select").equals("appl"))
+- continue;
+-
+- NodeList nl = el.getChildNodes();
+- for (int i = 0; i < nl.getLength(); ++i) {
+- if (nl.item(i).getNodeName().equals("caseinline")) {
+- String appl = ((Element) nl.item(i)).getAttribute("select");
+- hs.add(appl);
+- } else if (nl.item(i).getNodeName().equals("defaultinline")) {
+- hs.add("DEFAULT");
+- }
+- }
+- }
++
++ NodeList nodelist = doc.getElementsByTagName("switchinline");
++
++ for (int j = 0; j < nodelist.getLength(); ++j) {
++ Element el = (Element) nodelist.item(j);
++ if (el.getAttribute("select").equals("appl")) {
++ NodeList nl = el.getChildNodes();
++ for (int i = 0; i < nl.getLength(); ++i) {
++ if (nl.item(i).getNodeName().equals("caseinline")) {
++ String appl = ((Element) nl.item(i)).getAttribute("select");
++ hs.add(appl);
++ } else if (nl.item(i).getNodeName().equals("defaultinline")) {
++ hs.add("DEFAULT");
++ }
++ }
++ }
++ }
+
+ hs.add("DEFAULT");
+ return hs.toArray();
+@@ -129,6 +134,9 @@
+ NodeList nl = node.getChildNodes();
+ for (int i = 0; i < nl.getLength(); ++i) {
+ Node n = nl.item(i);
++ if (n == null) {
++ continue;
++ }
+ if ((n.getNodeName().equals("switchinline")
+ || n.getNodeName().equals("switch"))
+ && ((Element) n).getAttribute("select").equals("appl")) {
+@@ -168,93 +176,119 @@
+ return parent;
+ }
+
+- public boolean compile() throws UnsupportedEncodingException {
+- // we now have the jaroutputstream, which will contain the document.
+- // now determine the document as a dom tree in variable docResolved
+- File inputFil = new File(inputFile);
+-
+- // HelpCompiler.getSourceDocument() takes a string that resembles an URL.
+- // Using inputFil.toURL() is way to expensive here,
+- // because it checks the filesystem to find out if inputFil
+- // might be a directory. This takes a lot of time if working from
+- // Windows via NFS on remote volumes. We "know" that inputfil is
+- // a file anyway.
+- String path;
+- if ( File.separatorChar == '\\' ) {
+- path = "file:/";
+- path += inputFil.getAbsolutePath();
+- path = path.replace('\\','/');
++ static byte[] docToBytes(Document doc) throws IOException {
++ ByteArrayOutputStream baos = new ByteArrayOutputStream();
++
++ java.lang.reflect.Constructor con;
++ java.lang.reflect.Method meth;
++ String domImpl = doc.getClass().getName();
++
++ /*
++ * We may have multiple XML parsers in the Classpath.
++ * Depending on which one is first, the actual type of
++ * doc may vary. Need a way to find out which API is being
++ * used and use an appropriate serialization method.
++ */
++ try {
++ // First of all try for JAXP 1.0
++ if (domImpl.equals("com.sun.xml.tree.XmlDocument")) {
++ Class jaxpDoc = Class.forName("com.sun.xml.tree.XmlDocument");
++
++ // The method is in the XMLDocument class itself, not a helper
++ meth = jaxpDoc.getMethod("write",
++ new Class[] { Class.forName("java.io.OutputStream") } );
++
++ meth.invoke(doc, new Object [] { baos } );
++ }
++ else if (domImpl.equals("org.apache.crimson.tree.XmlDocument")) {
++ Class crimsonDoc = Class.forName("org.apache.crimson.tree.XmlDocument");
++ // The method is in the XMLDocument class itself, not a helper
++ meth = crimsonDoc.getMethod("write",
++ new Class[] { Class.forName("java.io.OutputStream") } );
++
++ meth.invoke(doc, new Object [] { baos } );
++ }
++ else if (domImpl.equals("gnu.xml.dom.DomDocument")) {
++ Class gnuSer = Class.forName("gnu.xml.dom.ls.DomLSSerializer");
++
++ // Get the serialize method
++ meth = gnuSer.getMethod("serialize",
++ new Class [] { Class.forName("org.w3c.dom.Node"),
++ Class.forName("java.io.OutputStream") } );
++
++ // Get an instance
++ Object serializer = gnuSer.newInstance();
++
++ // Now call serialize to write the document
++ meth.invoke(serializer, new Object [] { doc, baos } );
++ }
++ else if (domImpl.equals("org.apache.xerces.dom.DocumentImpl")
++ || domImpl.equals("org.apache.xerces.dom.DeferredDocumentImpl")) {
++ // Try for Xerces
++ Class xercesSer =
++ Class.forName("org.apache.xml.serialize.XMLSerializer");
++
++ // Get the OutputStream constructor
++ // May want to use the OutputFormat parameter at some stage too
++ con = xercesSer.getConstructor(new Class []
++ { Class.forName("java.io.OutputStream"),
++ Class.forName("org.apache.xml.serialize.OutputFormat") } );
++
++
++ // Get the serialize method
++ meth = xercesSer.getMethod("serialize",
++ new Class [] { Class.forName("org.w3c.dom.Document") } );
++
++
++ // Get an instance
++ Object serializer = con.newInstance(new Object [] { baos, null } );
++
++
++ // Now call serialize to write the document
++ meth.invoke(serializer, new Object [] { doc } );
++ }
++ else {
++ // We don't have another parser
++ throw new IOException("No appropriate API (JAXP/Xerces) to serialize XML document: " + domImpl);
++ }
+ }
+- else {
+- path = "file:" + inputFil.getAbsolutePath();
++ catch (ClassNotFoundException cnfe) {
++ throw new IOException(cnfe.toString());
++ }
++ catch (Exception e) {
++ // We may get some other errors, but the bottom line is that
++ // the steps being executed no longer work
++ throw new IOException(e.toString());
+ }
+- byte[] embResolved = getSourceDocument(path);
+
+- // now add path to the document
+- // resolve the dom
+- if (embResolved == null) {
+- String sourcePath;
+- try {
+- sourcePath = inputFil.getCanonicalPath();
+- } catch (IOException e3) {
+- sourcePath = inputFil.getAbsolutePath();
+- }
+- System.err.println("ERROR: file not existing: " + sourcePath);
+- System.exit(1);
+- }
++ byte bytes[] = baos.toByteArray();
+
+- ByteArrayInputStream inByte = new ByteArrayInputStream(embResolved);
+- InputStreamReader inread;
+- try {
+- inread = new InputStreamReader(inByte, "UTF8");
+- } catch (UnsupportedEncodingException e) {
+- System.err.println(
+- "ERROR: unsupported Encoding '"
+- + inputFile
+- + "': "
+- + e.getMessage());
+- return false;
+- }
++ return bytes;
++ }
+
+- InputSource inputSource = new InputSource(inread);
+- inputSource.setEncoding("UTF8");
+- Document docResolvedOrg = null;
+- try {
+- docResolvedOrg = XmlDocument.createXmlDocument(inputSource, false);
+- } catch (Exception e) {
+- System.err.println(
+- "ERROR: XmlDocument.createXmlDocument() failed for '"
+- + inputFile
+- + "': "
+- + e.getMessage());
+- return false;
+- }
++ public class myparser {
++ HashSet hidlist = null;
++ HashSet extendedHelpText = null;
++ Hashtable keywords = null;
++ Hashtable helptexts = null;
++ String documentId = null;
++ String fileName = null;
++ String title = null;
++
++ public myparser(String indocumentId, String infileName, String intitle) {
++ hidlist = new HashSet();
++ extendedHelpText = new HashSet();
++ keywords = new Hashtable();
++ helptexts = new Hashtable();
++ documentId = indocumentId;
++ fileName = infileName;
++ title = intitle;
++ }
+
+- // now find all applications for which one has to compile
+- String documentId = null;
+- String fileName = null;
+- String title = null;
+- // returns all applications for which one has to compile
+- Object[] applications = switchFind(docResolvedOrg);
+-
+- for (int i = 0; i < applications.length; ++i) {
+- String appl = (String) applications[i];
+- // returns a clone of the document with swich-cases resolved
+- Element docResolved =
+- (Element) clone(docResolvedOrg.getDocumentElement(), appl);
+- // now determine the id of the document, which is part of the
+- // bookmark - tag (HID)
+- Node test;
+- TreeWalker treewalker = new TreeWalker(docResolved);
+- // a number to determine the anchor of the whole stuff
+- HashSet hidlist = new HashSet();
+- HashSet extendedHelpText = new HashSet();
+- Hashtable keywords = new Hashtable();
+- Hashtable helptexts = new Hashtable();
+-
+- while ((test = treewalker.getNext()) != null) {
+- if (fileName == null
+- && test.getNodeName().equals("filename")) {
++ public void traverse( Node parentNode ) {
++ // traverse all nodes that belong to the parent
++ for(Node test=parentNode.getFirstChild(); test!=null; test=test.getNextSibling()) {
++ if (fileName == null && test.getNodeName().equals("filename")) {
+ NodeList list = test.getChildNodes();
+ Node node = list.item(0);
+ if (node.getNodeType() == Node.TEXT_NODE)
+@@ -332,15 +366,102 @@
+ if (!extendedHelpText.isEmpty())
+ extendedHelpText = new HashSet();
+ }
+- } // now save the info
++ // traverse children
++ traverse(test);
++ }
++ }
++ }
++
++ public boolean compile() throws UnsupportedEncodingException, java.io.IOException {
++ // we now have the jaroutputstream, which will contain the document.
++ // now determine the document as a dom tree in variable docResolved
++ String absolutePath;
++ String sourcePath;
++ File inputFil = new File(inputFile);
++ try {
++ absolutePath = inputFil.getCanonicalPath();
++ } catch (IOException e3) {
++ absolutePath = inputFil.getAbsolutePath();
++ }
++ try {
++ sourcePath = new File(src).getCanonicalPath();
++ } catch (IOException e3) {
++ sourcePath = new File(inputFile).getAbsolutePath();
++ }
++
++ byte[] embResolved = null;
++ try {
++ embResolved = getSourceDocument(inputFil.toURL().toExternalForm());
++ } catch (MalformedURLException e4) {
++ System.err.println(
++ "ERROR: malformed URL '" + inputFile + "': " + e4.getMessage());
++ return false;
++ }
++
++ // now add path to the document
++ // resolve the dom
++ if (embResolved == null) {
++ System.err.println("ERROR: file not existing: " + sourcePath);
++ System.exit(1);
++ }
++
++ ByteArrayInputStream inByte = new ByteArrayInputStream(embResolved);
++ InputStreamReader inread;
++ try {
++ inread = new InputStreamReader(inByte, "UTF8");
++ } catch (UnsupportedEncodingException e) {
++ System.err.println(
++ "ERROR: unsupported Encoding '"
++ + inputFile
++ + "': "
++ + e.getMessage());
++ return false;
++ }
++
++ InputSource inputSource = new InputSource(inread);
++ inputSource.setEncoding("UTF8");
++ Document docResolvedOrg = null;
++ try {
++ //System.err.println("Compiling " + inputFile);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ docResolvedOrg = dBuilder.parse(inputSource);
++ } catch (Exception e) {
++ System.err.println(
++ "ERROR: XmlDocument.createXmlDocument() failed for '"
++ + inputFile
++ + "': "
++ + e.getMessage());
++ return false;
++ }
++
++ // now find all applications for which one has to compile
++ String documentId = null;
++ String fileName = null;
++ String title = null;
++ // returns all applications for which one has to compile
++ Object[] applications = switchFind(docResolvedOrg);
++
++ for (int i = 0; i < applications.length; ++i) {
++ String appl = (String) applications[i];
++ // returns a clone of the document with swich-cases resolved
++ Element docResolved =
++ (Element) clone(docResolvedOrg.getDocumentElement(), appl);
++
++ myparser aparser = new myparser(documentId, fileName, title);
++ aparser.traverse(docResolved);
++ documentId = aparser.documentId;
++ fileName = aparser.fileName;
++ title = aparser.title;
+
+ addEntryToJarFile(
+ appl,
+ "text",
+- docResolved.toString().getBytes("UTF8"));
+- addEntryToJarFile(appl, "hidlist", hidlist);
+- addEntryToJarFile(appl, "helptexts", helptexts);
+- addEntryToJarFile(appl, "keywords", keywords);
++ docToBytes(docResolved.getOwnerDocument()));
++ addEntryToJarFile(appl, "hidlist", aparser.hidlist);
++ addEntryToJarFile(appl, "helptexts", aparser.helptexts);
++ addEntryToJarFile(appl, "keywords", aparser.keywords);
+ } // end iteration over all applications
+
+ try {
+Index: xmlhelp/source/com/sun/star/help/HelpIndexer.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/HelpIndexer.java,v
+retrieving revision 1.16
+retrieving revision 1.16.20.1
+diff -u -r1.16 -r1.16.20.1
+--- xmlhelp/source/com/sun/star/help/HelpIndexer.java 25 Oct 2005 11:24:55 -0000 1.16
++++ xmlhelp/source/com/sun/star/help/HelpIndexer.java 17 Jan 2006 11:20:47 -0000 1.16.20.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: HelpIndexer.java,v $
+ *
+- * $Revision: 1.16 $
++ * $Revision: 1.16.20.1 $
+ *
+- * last change: $Author: hr $ $Date: 2005/10/25 11:24:55 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:20:47 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -46,7 +46,6 @@
+ import java.util.*;
+
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.*;
+ import org.xml.sax.*;
+ import javax.xml.parsers.*;
+ import com.jclark.xsl.sax.*;
+@@ -246,7 +245,10 @@
+ in.setEncoding("UTF8");
+ Document docResolved = null;
+ try {
+- docResolved = XmlDocument.createXmlDocument(in, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ docResolved = dBuilder.parse(in);
+ } catch (Exception e) {
+ if (docResolved == null)
+ System.err.println("Nullpointer");
+Index: xmlhelp/source/com/sun/star/help/makefile.mk
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/makefile.mk,v
+retrieving revision 1.21
+retrieving revision 1.21.2.1
+diff -u -r1.21 -r1.21.2.1
+--- xmlhelp/source/com/sun/star/help/makefile.mk 16 Jan 2006 12:42:15 -0000 1.21
++++ xmlhelp/source/com/sun/star/help/makefile.mk 19 Jan 2006 14:48:36 -0000 1.21.2.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.21 $
++# $Revision: 1.21.2.1 $
+ #
+-# last change: $Author: obo $ $Date: 2006/01/16 12:42:15 $
++# last change: $Author: cmc $ $Date: 2006/01/19 14:48:36 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -42,7 +42,7 @@
+
+ .INCLUDE : settings.mk
+
+-JARFILES = jaxp.jar parser.jar xt.jar unoil.jar ridl.jar jurt.jar jut.jar xmlsearch.jar
++JARFILES = xml-apis.jar xercesImpl.jar xt.jar unoil.jar ridl.jar jurt.jar jut.jar xmlsearch.jar
+ EXTRAJARFILES =
+
+ .IF "$(SYSTEM_DB)" == "YES"
+Index: XmlSearch/src/com/sun/xmlsearch/makefile.mk
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/makefile.mk,v
+retrieving revision 1.5
+retrieving revision 1.5.6.1
+diff -u -r1.5 -r1.5.6.1
+--- XmlSearch/src/com/sun/xmlsearch/makefile.mk 25 Oct 2005 11:11:58 -0000 1.5
++++ XmlSearch/src/com/sun/xmlsearch/makefile.mk 17 Jan 2006 10:54:03 -0000 1.5.6.1
+@@ -3,9 +3,9 @@
+ #* $Workfile:$
+ #*
+ #* Creation date KR 28.06.99
+-#* last change $Author: hr $ $Date: 2005/10/25 11:11:58 $
++#* last change $Author: cmc $ $Date: 2006/01/17 10:54:03 $
+ #*
+-#* $Revision: 1.5 $
++#* $Revision: 1.5.6.1 $
+ #*
+ #* $Logfile:$
+ #*
+@@ -21,8 +21,7 @@
+
+ .INCLUDE : settings.mk
+
+-JARFILES = jaxp.jar parser.jar xt.jar
+-#EXTRAJARFILES = jaxp.jar parser.jar xt.jar
++JARFILES = xpi-apis.jar xercesImpl.jar xt.jar
+
+ JAVAFILES = $(subst,$(CLASSDIR)$/$(PACKAGE)$/, $(subst,.class,.java $(JAVACLASSFILES)))
+
+Index: XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java 9 Sep 2005 16:41:49 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java 17 Jan 2006 10:54:04 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: TreeBuilder.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:41:49 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:04 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -46,7 +46,8 @@
+ import org.xml.sax.HandlerBase;
+ import org.xml.sax.AttributeList;
+ import org.xml.sax.InputSource;
+-import com.sun.xml.parser.Parser;
++import javax.xml.parsers.SAXParserFactory;
++import javax.xml.parsers.SAXParser;
+ import com.sun.xmlsearch.util.IntegerArray;
+ import com.jclark.xsl.om.*;
+
+@@ -610,22 +611,29 @@
+ }
+ } // end of SubstitutedElement
+
++ private SAXParser getParser() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
++ {
++ SAXParserFactory spf = SAXParserFactory.newInstance();
++ spf.setValidating(false);
++ return spf.newSAXParser();
++ }
++
+ private static final int InitStackSize = 256;
+ private static final Name EmptyName = null;
+- private Parser _parser = new Parser();
++ private SAXParser _parser = null;
+ private Hashtable _names = new Hashtable(256);
+
+ private NameTable _nameTable;
+ private NamespacePrefixMap _nsMap;
+
+- public TreeBuilder() {
++ public TreeBuilder() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException {
+ this(new NameTableImpl());
+ }
+
+- public TreeBuilder(NameTable nameTable) {
++ public TreeBuilder(NameTable nameTable) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException {
++ _parser = getParser();
+ _nameTable = nameTable;
+ _nsMap = _nameTable.getEmptyNamespacePrefixMap();
+- _parser.setFastStandalone(true);
+ }
+
+ public Node makeSubstituteElement(Name name, Node2[] children, Node original) {
+@@ -917,9 +925,8 @@
+
+ public synchronized Node getRoot(InputSource input) {
+ try {
+- _parser.setDocumentHandler(this);
+ // long start = System.currentTimeMillis();
+- _parser.parse(input);
++ _parser.parse(input, this);
+ /*
+ System.out.println((System.currentTimeMillis()-start)
+ +" msec parse");
+Index: XmlSearch/src/com/sun/xmlsearch/util/Configuration.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/util/Configuration.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/util/Configuration.java 9 Sep 2005 16:45:09 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/util/Configuration.java 17 Jan 2006 10:54:05 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: Configuration.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:45:09 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:05 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -40,8 +40,8 @@
+ import java.util.Vector;
+ import java.net.URL;
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.XmlDocument;
+-import com.sun.xml.parser.Resolver;
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
+ import org.xml.sax.InputSource;
+
+ public final class Configuration {
+@@ -68,14 +68,19 @@
+ }
+
+ public static Element parse(URL location) throws Exception {
+- InputSource input = Resolver.createInputSource(location, true);
+- XmlDocument document = XmlDocument.createXmlDocument(input, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document document = dBuilder.parse(location.openStream());
+ return document.getDocumentElement();
+ }
+
+ public static Element parse(byte[] xmlBytes) throws Exception {
+ ByteArrayInputStream input = new ByteArrayInputStream(xmlBytes);
+- XmlDocument document = XmlDocument.createXmlDocument(input, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document document = dBuilder.parse(input);
+ return document.getDocumentElement();
+ }
+
+Index: XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java,v
+retrieving revision 1.7
+retrieving revision 1.7.12.1
+diff -u -r1.7 -r1.7.12.1
+--- XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java 9 Sep 2005 16:52:56 -0000 1.7
++++ XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java 17 Jan 2006 10:54:06 -0000 1.7.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XmlIndexBuilder.java,v $
+ *
+- * $Revision: 1.7 $
++ * $Revision: 1.7.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:52:56 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:06 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -42,15 +42,17 @@
+ import java.net.URL;
+ import org.xml.sax.InputSource;
+ import org.xml.sax.HandlerBase;
+-import com.sun.xml.parser.Resolver;
+-import com.sun.xml.tree.XmlDocument;
+ import com.sun.xmlsearch.tree.*;
+ import com.sun.xmlsearch.util.*;
+ import com.sun.xmlsearch.db.*;
+ import com.sun.xmlsearch.xml.XmlIndex;
+
+-import com.sun.xml.parser.Parser;
+-import com.sun.xml.parser.ValidatingParser;
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
++import javax.xml.parsers.SAXParserFactory;
++import javax.xml.parsers.SAXParser;
++import org.xml.sax.Parser;
++import org.w3c.dom.Document;
+
+ import com.jclark.xsl.om.*;
+ import com.jclark.xsl.sax.*;
+@@ -465,8 +467,10 @@
+ public void indexDocument(URL docURL, String title) throws Exception {
+ InputSource source = new InputSource(docURL.openStream());
+ source.setSystemId(docURL.toString());
+- Parser sourceParser = new Parser();
+- sourceParser.setFastStandalone(true);
++ SAXParserFactory spf = SAXParserFactory.newInstance();
++ spf.setValidating(false);
++ SAXParser saxParser = spf.newSAXParser();
++ Parser sourceParser = saxParser.getParser();
+ XMLProcessorEx sourceLoader = new XMLProcessorImpl(sourceParser);
+ // long start = System.currentTimeMillis();
+ Node root =
+@@ -545,8 +549,10 @@
+ }
+ // System.out.println(stylesheetUrl.toString());
+ InputStream stylesheetStream = stylesheetUrl.openStream();
+- XmlDocument sheet =
+- XmlDocument.createXmlDocument(stylesheetStream, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document sheet = dBuilder.parse(stylesheetStream);
+ return _transformEngine.createTransform(sheet);
+ }
+
+Index: XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java 9 Sep 2005 16:53:09 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java 17 Jan 2006 10:54:07 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XmlIndexer.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:53:09 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:07 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -39,8 +39,6 @@
+ import java.io.*;
+ import java.util.*;
+
+-import com.sun.xml.tree.XmlDocument;
+-import com.sun.xml.parser.Resolver;
+ import org.w3c.dom.*;
+ import org.xml.sax.InputSource;
+ import org.xml.sax.SAXException;
diff --git a/editors/openoffice.org-2-devel/files/gcj-patches b/editors/openoffice.org-2-devel/files/gcj-patches
new file mode 100644
index 000000000000..aeb80007018b
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/gcj-patches
@@ -0,0 +1,137 @@
+Index: wizards/com/sun/star/wizards/ui/FilterComponent.java
+===================================================================
+RCS file: /cvs/installation/wizards/com/sun/star/wizards/ui/FilterComponent.java,v
+retrieving revision 1.8
+diff -u -r1.8 FilterComponent.java
+--- wizards/com/sun/star/wizards/ui/FilterComponent.java 28 Dec 2005 17:25:36 -0000 1.8
++++ wizards/com/sun/star/wizards/ui/FilterComponent.java 27 Jan 2006 22:55:38 -0000
+@@ -261,10 +261,7 @@
+ case DataType.BOOLEAN:
+ double dblvalue = ((Double) curValue).doubleValue();
+ curValue = new Boolean(dblvalue == 1.0);
+- /**TODO: 1) Datei SingleSelectQueryComposer modifizieren:
+- / Zeilen 1525ff in Methode auslagern und Aufruf in Zeile 1356 ändern TypeConverter is parameter
+- * 2) setDisplayCondition ändern
+- */
++ /* */
+ break;
+ default:
+ curValue = String.valueOf(curValue);
+
+Index: solenv/inc/settings.mk
+===================================================================
+RCS file: /cvs/tools/solenv/inc/settings.mk,v
+retrieving revision 1.185
+diff -u -r1.185 settings.mk
+--- solenv/inc/settings.mk 20 Jan 2006 12:09:20 -0000 1.185
++++ solenv/inc/settings.mk 27 Jan 2006 23:11:31 -0000
+@@ -187,7 +187,8 @@
+
+ #required arguments
+ .IF "$(JAVACACHE)" != ""
+-JAVAC=$(JAVACOMPILER) --encoding=ISO-8859-15 -O2 -fno-assert -Wno-deprecated -C
++#JAVAC=$(JAVACOMPILER) --encoding=ISO-8859-15 -O2 -fno-assert -Wno-deprecated -C
++JAVAC=$(JAVACOMPILER) --encoding=UTF-8 -O2 -fno-assert -Wno-deprecated -C
+ JAVAI=$(JAVAINTERPRETER) -Dgnu.gcj.precompiled.db.path=$(GCJ_DATABASE)
+ .ELSE
+ JAVAC=$(JAVACOMPILER)
+
+Index: source/ui/slidesorter/cache/SlsQueueProcessor.hxx
+===================================================================
+RCS file: /cvs/graphics/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx,v
+retrieving revision 1.10
+diff -u -p -u -r1.10 SlsQueueProcessor.hxx
+--- sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx 19 Jan 2006 12:52:20 -0000 1.10
++++ sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx 26 Jan 2006 08:29:38 -0000
+@@ -164,7 +164,7 @@ template <class Queue, class RequestData
+ while ( ! mrQueue.IsEmpty())
+ {
+ // Determine whether the system is idle.
+- sal_Int32 nIdleState (tools::IdleDetection::GetIdleState(mrView.GetWindow()));
++ sal_Int32 nIdleState (tools::IdleDetection::GetIdleState(static_cast< ::Window* >(mrView.GetWindow())));
+ if (nIdleState != tools::IdleDetection::IDET_IDLE)
+ {
+ if ((nIdleState&tools::IdleDetection::IDET_FULL_SCREEN_SHOW_ACTIVE) != 0)
+
+Index: config_office/configure.in
+===================================================================
+RCS file: /cvs/tools/config_office/configure.in,v
+retrieving revision 1.150
+diff -u -r1.150 configure.in
+--- config_office/configure.in 20 Jan 2006 13:28:25 -0000 1.150
++++ config_office/configure.in 2 Feb 2006 05:13:30 -0000
+@@ -1975,6 +1975,7 @@
+ dnl Checks for javadoc
+ dnl ===================================================================
+ if test "$SOLAR_JAVA" != ""; then
++ if test "$JDK" != "gcj"; then
+ if test -z "$with_jdk_home"; then
+ AC_PATH_PROG(JAVADOC, javadoc)
+ else
+@@ -1996,6 +1997,9 @@
+ JAVADOC=`cygpath -d "$JAVADOC"`
+ JAVADOC=`cygpath -u "$JAVADOC"`
+ fi
++ else
++ AC_PATH_PROG(JAVADOC, gjdoc)
++ fi
+ fi
+
+ if test "$SOLAR_JAVA" != ""; then
+@@ -2032,8 +2036,14 @@
+ if test "$JDK" = "gcj"; then
+ save_CFLAGS=$CFLAGS
+ save_LDFLAGS=$LDFLAGS
+- CFLAGS="$CFLAGS -I$JAVA_HOME/include"
+- LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj"
++ CFLAGS="$CFLAGS -I$JAVA_HOME/include -pthread"
++ LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj -pthread"
++ JAR="$JAVA_HOME/bin/fastjar"
++ JAVACMD="$JAVA_HOME/bin/gij"
++ JAVA="$JAVA_HOME/bin/gij"
++ AC_SUBST(JAVA)
++ AC_SUBST(JAVACMD)
++ AC_SUBST(JAR)
+ AC_CHECK_HEADER(jni.h, [],
+ [AC_MSG_ERROR([jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?])], [])
+
+@@ -4214,7 +4224,7 @@
+ EOF
+ oldJAVA_HOME=$JAVA_HOME
+ if test "$JDK" = "gcj"; then
+- JAVA_HOME=; export JAVA_HOME
++ JAVACMD="$JAVA_HOME/bin/gij"; export JAVACMD
+ ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2"
+ else
+ ant_cmd="$ANT -buildfile conftest.xml 1>&2"
+Index: config_office/set_soenv.in
+===================================================================
+RCS file: /cvs/tools/config_office/set_soenv.in,v
+retrieving revision 1.86
+diff -u -r1.86 set_soenv.in
+--- config_office/set_soenv.in 13 Jan 2006 16:37:16 -0000 1.86
++++ config_office/set_soenv.in 2 Feb 2006 05:13:31 -0000
+@@ -68,7 +68,7 @@
+ #
+ # Help variables.
+ my ( $USR, $ETC, $BIN, $LIB, $LIB64, $INC, $INCLUDE, $DEV, $OPT, $LOCAL, $SOLENV, $SOLVER, $CONFIG,
+- $USR_BIN, $USR_LIB, $USR_LOCAL, $USR_CCS, $JAVA_BIN, $JAVA_LIB, $JAVA_INCLUDE,
++ $USR_BIN, $USR_LIB, $USR_LOCAL, $USR_CCS, $JAVA_BIN, $JAVA_LIB, $JAVA_INCLUDE, $JAVACMD, $JAVA, $JAR,
+ $SOLARENVINC, $USR_DT, $USR_OPENWIN, $TCSH_PATH, $XLIB, $XINC,
+ $CYGWIN_PATH, $language, $dict, $ASM_PATH, $ps_STLPORT_LIB, $L_STLPORT_LIB,
+ $STLPORT_stlport, $STLPORT_inc_stlport, $PERL_PATH );
+@@ -1679,6 +1679,9 @@
+ ToFile( "JAVAINTERPRETER", "@JAVAINTERPRETER@","e" );
+ ToFile( "JAVACOMPILER", "@JAVACOMPILER@", "e" );
+ ToFile( "JAVADOC", "@JAVADOC@", "e" );
++ ToFile( "JAVA", "@JAVA@", "e" );
++ ToFile( "JAVACMD", "@JAVACMD@", "e" );
++ ToFile( "JAR", "@JAR@", "e" );
+ }
+ if ( $platform =~ m/darwin/ )
+ { ToFile( "DYLD_LIBRARY_PATH", $LD_LIBRARY_PATH, "e" );
+
+Javadoc@xmerge http://qa.openoffice.org/issues/show_bug.cgi?id=57286
+JAVA@berkeleydb http://qa.openoffice.org/issues/show_bug.cgi?id=54657
+JAVACMD@ant
+JAR@berkeleydb
diff --git a/editors/openoffice.org-2-devel/files/patch-Python-2.3.4.patch b/editors/openoffice.org-2-devel/files/patch-Python-2.3.4.patch
deleted file mode 100644
index 41b3577a44c6..000000000000
--- a/editors/openoffice.org-2-devel/files/patch-Python-2.3.4.patch
+++ /dev/null
@@ -1,752 +0,0 @@
-Issuetracker : #i53287#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : Support for FreeBSD 6 and 7
-
-Index: python/Python-2.3.4.patch
-===================================================================
-RCS file: /cvs/external/python/Python-2.3.4.patch,v
-retrieving revision 1.6
-diff -u -r1.6 Python-2.3.4.patch
---- python/Python-2.3.4.patch 3 Mar 2005 17:33:54 -0000 1.6
-+++ python/Python-2.3.4.patch 8 Aug 2005 21:50:08 -0000
-@@ -13776,3 +13776,739 @@
- atheos*) DYNLOADFILE="dynload_atheos.o";;
- *)
- # use dynload_shlib.c and dlopen() if we have it; otherwise stub
-+*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:26:23 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:20:25 2005
-+***************
-+*** 0 ****
-+--- 1,355 ----
-++ # Generated by h2py from /usr/include/netinet/in.h
-++ IPPROTO_IP = 0
-++ IPPROTO_HOPOPTS = 0
-++ IPPROTO_ICMP = 1
-++ IPPROTO_IGMP = 2
-++ IPPROTO_GGP = 3
-++ IPPROTO_IPV4 = 4
-++ IPPROTO_IPIP = IPPROTO_IPV4
-++ IPPROTO_TCP = 6
-++ IPPROTO_ST = 7
-++ IPPROTO_EGP = 8
-++ IPPROTO_PIGP = 9
-++ IPPROTO_RCCMON = 10
-++ IPPROTO_NVPII = 11
-++ IPPROTO_PUP = 12
-++ IPPROTO_ARGUS = 13
-++ IPPROTO_EMCON = 14
-++ IPPROTO_XNET = 15
-++ IPPROTO_CHAOS = 16
-++ IPPROTO_UDP = 17
-++ IPPROTO_MUX = 18
-++ IPPROTO_MEAS = 19
-++ IPPROTO_HMP = 20
-++ IPPROTO_PRM = 21
-++ IPPROTO_IDP = 22
-++ IPPROTO_TRUNK1 = 23
-++ IPPROTO_TRUNK2 = 24
-++ IPPROTO_LEAF1 = 25
-++ IPPROTO_LEAF2 = 26
-++ IPPROTO_RDP = 27
-++ IPPROTO_IRTP = 28
-++ IPPROTO_TP = 29
-++ IPPROTO_BLT = 30
-++ IPPROTO_NSP = 31
-++ IPPROTO_INP = 32
-++ IPPROTO_SEP = 33
-++ IPPROTO_3PC = 34
-++ IPPROTO_IDPR = 35
-++ IPPROTO_XTP = 36
-++ IPPROTO_DDP = 37
-++ IPPROTO_CMTP = 38
-++ IPPROTO_TPXX = 39
-++ IPPROTO_IL = 40
-++ IPPROTO_IPV6 = 41
-++ IPPROTO_SDRP = 42
-++ IPPROTO_ROUTING = 43
-++ IPPROTO_FRAGMENT = 44
-++ IPPROTO_IDRP = 45
-++ IPPROTO_RSVP = 46
-++ IPPROTO_GRE = 47
-++ IPPROTO_MHRP = 48
-++ IPPROTO_BHA = 49
-++ IPPROTO_ESP = 50
-++ IPPROTO_AH = 51
-++ IPPROTO_INLSP = 52
-++ IPPROTO_SWIPE = 53
-++ IPPROTO_NHRP = 54
-++ IPPROTO_ICMPV6 = 58
-++ IPPROTO_NONE = 59
-++ IPPROTO_DSTOPTS = 60
-++ IPPROTO_AHIP = 61
-++ IPPROTO_CFTP = 62
-++ IPPROTO_HELLO = 63
-++ IPPROTO_SATEXPAK = 64
-++ IPPROTO_KRYPTOLAN = 65
-++ IPPROTO_RVD = 66
-++ IPPROTO_IPPC = 67
-++ IPPROTO_ADFS = 68
-++ IPPROTO_SATMON = 69
-++ IPPROTO_VISA = 70
-++ IPPROTO_IPCV = 71
-++ IPPROTO_CPNX = 72
-++ IPPROTO_CPHB = 73
-++ IPPROTO_WSN = 74
-++ IPPROTO_PVP = 75
-++ IPPROTO_BRSATMON = 76
-++ IPPROTO_ND = 77
-++ IPPROTO_WBMON = 78
-++ IPPROTO_WBEXPAK = 79
-++ IPPROTO_EON = 80
-++ IPPROTO_VMTP = 81
-++ IPPROTO_SVMTP = 82
-++ IPPROTO_VINES = 83
-++ IPPROTO_TTP = 84
-++ IPPROTO_IGP = 85
-++ IPPROTO_DGP = 86
-++ IPPROTO_TCF = 87
-++ IPPROTO_IGRP = 88
-++ IPPROTO_OSPFIGP = 89
-++ IPPROTO_SRPC = 90
-++ IPPROTO_LARP = 91
-++ IPPROTO_MTP = 92
-++ IPPROTO_AX25 = 93
-++ IPPROTO_IPEIP = 94
-++ IPPROTO_MICP = 95
-++ IPPROTO_SCCSP = 96
-++ IPPROTO_ETHERIP = 97
-++ IPPROTO_ENCAP = 98
-++ IPPROTO_APES = 99
-++ IPPROTO_GMTP = 100
-++ IPPROTO_IPCOMP = 108
-++ IPPROTO_PIM = 103
-++ IPPROTO_PGM = 113
-++ IPPROTO_DIVERT = 254
-++ IPPROTO_RAW = 255
-++ IPPROTO_MAX = 256
-++ IPPROTO_DONE = 257
-++ IPPORT_RESERVED = 1024
-++ IPPORT_USERRESERVED = 5000
-++ IPPORT_HIFIRSTAUTO = 49152
-++ IPPORT_HILASTAUTO = 65535
-++ IPPORT_RESERVEDSTART = 600
-++ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0)
-++
-++ IN_CLASSA_NET = 0xff000000
-++ IN_CLASSA_NSHIFT = 24
-++ IN_CLASSA_HOST = 0x00ffffff
-++ IN_CLASSA_MAX = 128
-++ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000)
-++
-++ IN_CLASSB_NET = 0xffff0000
-++ IN_CLASSB_NSHIFT = 16
-++ IN_CLASSB_HOST = 0x0000ffff
-++ IN_CLASSB_MAX = 65536
-++ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000)
-++
-++ IN_CLASSC_NET = 0xffffff00
-++ IN_CLASSC_NSHIFT = 8
-++ IN_CLASSC_HOST = 0x000000ff
-++ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
-++
-++ IN_CLASSD_NET = 0xf0000000
-++ IN_CLASSD_NSHIFT = 28
-++ IN_CLASSD_HOST = 0x0fffffff
-++ def IN_MULTICAST(i): return IN_CLASSD(i)
-++
-++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ INADDR_NONE = 0xffffffff
-++ IN_LOOPBACKNET = 127
-++ INET_ADDRSTRLEN = 16
-++ IP_OPTIONS = 1
-++ IP_HDRINCL = 2
-++ IP_TOS = 3
-++ IP_TTL = 4
-++ IP_RECVOPTS = 5
-++ IP_RECVRETOPTS = 6
-++ IP_RECVDSTADDR = 7
-++ IP_RETOPTS = 8
-++ IP_MULTICAST_IF = 9
-++ IP_MULTICAST_TTL = 10
-++ IP_MULTICAST_LOOP = 11
-++ IP_ADD_MEMBERSHIP = 12
-++ IP_DROP_MEMBERSHIP = 13
-++ IP_MULTICAST_VIF = 14
-++ IP_RSVP_ON = 15
-++ IP_RSVP_OFF = 16
-++ IP_RSVP_VIF_ON = 17
-++ IP_RSVP_VIF_OFF = 18
-++ IP_PORTRANGE = 19
-++ IP_RECVIF = 20
-++ IP_IPSEC_POLICY = 21
-++ IP_FAITH = 22
-++ IP_FW_ADD = 50
-++ IP_FW_DEL = 51
-++ IP_FW_FLUSH = 52
-++ IP_FW_ZERO = 53
-++ IP_FW_GET = 54
-++ IP_FW_RESETLOG = 55
-++ IP_DUMMYNET_CONFIGURE = 60
-++ IP_DUMMYNET_DEL = 61
-++ IP_DUMMYNET_FLUSH = 62
-++ IP_DUMMYNET_GET = 64
-++ IP_DEFAULT_MULTICAST_TTL = 1
-++ IP_DEFAULT_MULTICAST_LOOP = 1
-++ IP_MAX_MEMBERSHIPS = 20
-++ IP_PORTRANGE_DEFAULT = 0
-++ IP_PORTRANGE_HIGH = 1
-++ IP_PORTRANGE_LOW = 2
-++ IPPROTO_MAXID = (IPPROTO_AH + 1)
-++ IPCTL_FORWARDING = 1
-++ IPCTL_SENDREDIRECTS = 2
-++ IPCTL_DEFTTL = 3
-++ IPCTL_DEFMTU = 4
-++ IPCTL_RTEXPIRE = 5
-++ IPCTL_RTMINEXPIRE = 6
-++ IPCTL_RTMAXCACHE = 7
-++ IPCTL_SOURCEROUTE = 8
-++ IPCTL_DIRECTEDBROADCAST = 9
-++ IPCTL_INTRQMAXLEN = 10
-++ IPCTL_INTRQDROPS = 11
-++ IPCTL_STATS = 12
-++ IPCTL_ACCEPTSOURCEROUTE = 13
-++ IPCTL_FASTFORWARDING = 14
-++ IPCTL_KEEPFAITH = 15
-++ IPCTL_GIF_TTL = 16
-++ IPCTL_MAXID = 17
-++
-++ # Included from netinet6/in6.h
-++
-++ # Included from sys/queue.h
-++ def SLIST_HEAD_INITIALIZER(head): return \
-++
-++ def SLIST_ENTRY(type): return \
-++
-++ def STAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def STAILQ_ENTRY(type): return \
-++
-++ def LIST_HEAD_INITIALIZER(head): return \
-++
-++ def LIST_ENTRY(type): return \
-++
-++ def TAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def TAILQ_ENTRY(type): return \
-++
-++ def CIRCLEQ_ENTRY(type): return \
-++
-++ __KAME_VERSION = "20000701/FreeBSD-current"
-++ IPV6PORT_RESERVED = 1024
-++ IPV6PORT_ANONMIN = 49152
-++ IPV6PORT_ANONMAX = 65535
-++ IPV6PORT_RESERVEDMIN = 600
-++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
-++ INET6_ADDRSTRLEN = 46
-++ IPV6_ADDR_INT32_ONE = 1
-++ IPV6_ADDR_INT32_TWO = 2
-++ IPV6_ADDR_INT32_MNL = 0xff010000
-++ IPV6_ADDR_INT32_MLL = 0xff020000
-++ IPV6_ADDR_INT32_SMP = 0x0000ffff
-++ IPV6_ADDR_INT16_ULL = 0xfe80
-++ IPV6_ADDR_INT16_USL = 0xfec0
-++ IPV6_ADDR_INT16_MLL = 0xff02
-++ IPV6_ADDR_INT32_ONE = 0x01000000
-++ IPV6_ADDR_INT32_TWO = 0x02000000
-++ IPV6_ADDR_INT32_MNL = 0x000001ff
-++ IPV6_ADDR_INT32_MLL = 0x000002ff
-++ IPV6_ADDR_INT32_SMP = 0xffff0000
-++ IPV6_ADDR_INT16_ULL = 0x80fe
-++ IPV6_ADDR_INT16_USL = 0xc0fe
-++ IPV6_ADDR_INT16_MLL = 0x02ff
-++ def IN6_IS_ADDR_UNSPECIFIED(a): return \
-++
-++ def IN6_IS_ADDR_LOOPBACK(a): return \
-++
-++ def IN6_IS_ADDR_V4COMPAT(a): return \
-++
-++ def IN6_IS_ADDR_V4MAPPED(a): return \
-++
-++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ def IN6_IS_ADDR_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_SCOPE_LINKLOCAL(a): return \
-++
-++ IPV6_OPTIONS = 1
-++ IPV6_RECVOPTS = 5
-++ IPV6_RECVRETOPTS = 6
-++ IPV6_RECVDSTADDR = 7
-++ IPV6_RETOPTS = 8
-++ IPV6_SOCKOPT_RESERVED1 = 3
-++ IPV6_UNICAST_HOPS = 4
-++ IPV6_MULTICAST_IF = 9
-++ IPV6_MULTICAST_HOPS = 10
-++ IPV6_MULTICAST_LOOP = 11
-++ IPV6_JOIN_GROUP = 12
-++ IPV6_LEAVE_GROUP = 13
-++ IPV6_PORTRANGE = 14
-++ ICMP6_FILTER = 18
-++ IPV6_PKTINFO = 19
-++ IPV6_HOPLIMIT = 20
-++ IPV6_NEXTHOP = 21
-++ IPV6_HOPOPTS = 22
-++ IPV6_DSTOPTS = 23
-++ IPV6_RTHDR = 24
-++ IPV6_PKTOPTIONS = 25
-++ IPV6_CHECKSUM = 26
-++ IPV6_BINDV6ONLY = 27
-++ IPV6_IPSEC_POLICY = 28
-++ IPV6_FAITH = 29
-++ IPV6_FW_ADD = 30
-++ IPV6_FW_DEL = 31
-++ IPV6_FW_FLUSH = 32
-++ IPV6_FW_ZERO = 33
-++ IPV6_FW_GET = 34
-++ IPV6_RTHDR_LOOSE = 0
-++ IPV6_RTHDR_STRICT = 1
-++ IPV6_RTHDR_TYPE_0 = 0
-++ IPV6_DEFAULT_MULTICAST_HOPS = 1
-++ IPV6_DEFAULT_MULTICAST_LOOP = 1
-++ IPV6_PORTRANGE_DEFAULT = 0
-++ IPV6_PORTRANGE_HIGH = 1
-++ IPV6_PORTRANGE_LOW = 2
-++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1)
-++ IPV6CTL_FORWARDING = 1
-++ IPV6CTL_SENDREDIRECTS = 2
-++ IPV6CTL_DEFHLIM = 3
-++ IPV6CTL_DEFMTU = 4
-++ IPV6CTL_FORWSRCRT = 5
-++ IPV6CTL_STATS = 6
-++ IPV6CTL_MRTSTATS = 7
-++ IPV6CTL_MRTPROTO = 8
-++ IPV6CTL_MAXFRAGPACKETS = 9
-++ IPV6CTL_SOURCECHECK = 10
-++ IPV6CTL_SOURCECHECK_LOGINT = 11
-++ IPV6CTL_ACCEPT_RTADV = 12
-++ IPV6CTL_KEEPFAITH = 13
-++ IPV6CTL_LOG_INTERVAL = 14
-++ IPV6CTL_HDRNESTLIMIT = 15
-++ IPV6CTL_DAD_COUNT = 16
-++ IPV6CTL_AUTO_FLOWLABEL = 17
-++ IPV6CTL_DEFMCASTHLIM = 18
-++ IPV6CTL_GIF_HLIM = 19
-++ IPV6CTL_KAME_VERSION = 20
-++ IPV6CTL_USE_DEPRECATED = 21
-++ IPV6CTL_RR_PRUNE = 22
-++ IPV6CTL_MAPPED_ADDR = 23
-++ IPV6CTL_BINDV6ONLY = 24
-++ IPV6CTL_RTEXPIRE = 25
-++ IPV6CTL_RTMINEXPIRE = 26
-++ IPV6CTL_RTMAXCACHE = 27
-++ IPV6CTL_MAXID = 28
-+*** misc/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:26:27 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:19:02 2005
-+***************
-+*** 0 ****
-+--- 1,3 ----
-++ #! /bin/sh
-++ set -v
-++ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
-+*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:26:23 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:20:25 2005
-+***************
-+*** 0 ****
-+--- 1,355 ----
-++ # Generated by h2py from /usr/include/netinet/in.h
-++ IPPROTO_IP = 0
-++ IPPROTO_HOPOPTS = 0
-++ IPPROTO_ICMP = 1
-++ IPPROTO_IGMP = 2
-++ IPPROTO_GGP = 3
-++ IPPROTO_IPV4 = 4
-++ IPPROTO_IPIP = IPPROTO_IPV4
-++ IPPROTO_TCP = 6
-++ IPPROTO_ST = 7
-++ IPPROTO_EGP = 8
-++ IPPROTO_PIGP = 9
-++ IPPROTO_RCCMON = 10
-++ IPPROTO_NVPII = 11
-++ IPPROTO_PUP = 12
-++ IPPROTO_ARGUS = 13
-++ IPPROTO_EMCON = 14
-++ IPPROTO_XNET = 15
-++ IPPROTO_CHAOS = 16
-++ IPPROTO_UDP = 17
-++ IPPROTO_MUX = 18
-++ IPPROTO_MEAS = 19
-++ IPPROTO_HMP = 20
-++ IPPROTO_PRM = 21
-++ IPPROTO_IDP = 22
-++ IPPROTO_TRUNK1 = 23
-++ IPPROTO_TRUNK2 = 24
-++ IPPROTO_LEAF1 = 25
-++ IPPROTO_LEAF2 = 26
-++ IPPROTO_RDP = 27
-++ IPPROTO_IRTP = 28
-++ IPPROTO_TP = 29
-++ IPPROTO_BLT = 30
-++ IPPROTO_NSP = 31
-++ IPPROTO_INP = 32
-++ IPPROTO_SEP = 33
-++ IPPROTO_3PC = 34
-++ IPPROTO_IDPR = 35
-++ IPPROTO_XTP = 36
-++ IPPROTO_DDP = 37
-++ IPPROTO_CMTP = 38
-++ IPPROTO_TPXX = 39
-++ IPPROTO_IL = 40
-++ IPPROTO_IPV6 = 41
-++ IPPROTO_SDRP = 42
-++ IPPROTO_ROUTING = 43
-++ IPPROTO_FRAGMENT = 44
-++ IPPROTO_IDRP = 45
-++ IPPROTO_RSVP = 46
-++ IPPROTO_GRE = 47
-++ IPPROTO_MHRP = 48
-++ IPPROTO_BHA = 49
-++ IPPROTO_ESP = 50
-++ IPPROTO_AH = 51
-++ IPPROTO_INLSP = 52
-++ IPPROTO_SWIPE = 53
-++ IPPROTO_NHRP = 54
-++ IPPROTO_ICMPV6 = 58
-++ IPPROTO_NONE = 59
-++ IPPROTO_DSTOPTS = 60
-++ IPPROTO_AHIP = 61
-++ IPPROTO_CFTP = 62
-++ IPPROTO_HELLO = 63
-++ IPPROTO_SATEXPAK = 64
-++ IPPROTO_KRYPTOLAN = 65
-++ IPPROTO_RVD = 66
-++ IPPROTO_IPPC = 67
-++ IPPROTO_ADFS = 68
-++ IPPROTO_SATMON = 69
-++ IPPROTO_VISA = 70
-++ IPPROTO_IPCV = 71
-++ IPPROTO_CPNX = 72
-++ IPPROTO_CPHB = 73
-++ IPPROTO_WSN = 74
-++ IPPROTO_PVP = 75
-++ IPPROTO_BRSATMON = 76
-++ IPPROTO_ND = 77
-++ IPPROTO_WBMON = 78
-++ IPPROTO_WBEXPAK = 79
-++ IPPROTO_EON = 80
-++ IPPROTO_VMTP = 81
-++ IPPROTO_SVMTP = 82
-++ IPPROTO_VINES = 83
-++ IPPROTO_TTP = 84
-++ IPPROTO_IGP = 85
-++ IPPROTO_DGP = 86
-++ IPPROTO_TCF = 87
-++ IPPROTO_IGRP = 88
-++ IPPROTO_OSPFIGP = 89
-++ IPPROTO_SRPC = 90
-++ IPPROTO_LARP = 91
-++ IPPROTO_MTP = 92
-++ IPPROTO_AX25 = 93
-++ IPPROTO_IPEIP = 94
-++ IPPROTO_MICP = 95
-++ IPPROTO_SCCSP = 96
-++ IPPROTO_ETHERIP = 97
-++ IPPROTO_ENCAP = 98
-++ IPPROTO_APES = 99
-++ IPPROTO_GMTP = 100
-++ IPPROTO_IPCOMP = 108
-++ IPPROTO_PIM = 103
-++ IPPROTO_PGM = 113
-++ IPPROTO_DIVERT = 254
-++ IPPROTO_RAW = 255
-++ IPPROTO_MAX = 256
-++ IPPROTO_DONE = 257
-++ IPPORT_RESERVED = 1024
-++ IPPORT_USERRESERVED = 5000
-++ IPPORT_HIFIRSTAUTO = 49152
-++ IPPORT_HILASTAUTO = 65535
-++ IPPORT_RESERVEDSTART = 600
-++ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0)
-++
-++ IN_CLASSA_NET = 0xff000000
-++ IN_CLASSA_NSHIFT = 24
-++ IN_CLASSA_HOST = 0x00ffffff
-++ IN_CLASSA_MAX = 128
-++ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000)
-++
-++ IN_CLASSB_NET = 0xffff0000
-++ IN_CLASSB_NSHIFT = 16
-++ IN_CLASSB_HOST = 0x0000ffff
-++ IN_CLASSB_MAX = 65536
-++ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000)
-++
-++ IN_CLASSC_NET = 0xffffff00
-++ IN_CLASSC_NSHIFT = 8
-++ IN_CLASSC_HOST = 0x000000ff
-++ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
-++
-++ IN_CLASSD_NET = 0xf0000000
-++ IN_CLASSD_NSHIFT = 28
-++ IN_CLASSD_HOST = 0x0fffffff
-++ def IN_MULTICAST(i): return IN_CLASSD(i)
-++
-++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ INADDR_NONE = 0xffffffff
-++ IN_LOOPBACKNET = 127
-++ INET_ADDRSTRLEN = 16
-++ IP_OPTIONS = 1
-++ IP_HDRINCL = 2
-++ IP_TOS = 3
-++ IP_TTL = 4
-++ IP_RECVOPTS = 5
-++ IP_RECVRETOPTS = 6
-++ IP_RECVDSTADDR = 7
-++ IP_RETOPTS = 8
-++ IP_MULTICAST_IF = 9
-++ IP_MULTICAST_TTL = 10
-++ IP_MULTICAST_LOOP = 11
-++ IP_ADD_MEMBERSHIP = 12
-++ IP_DROP_MEMBERSHIP = 13
-++ IP_MULTICAST_VIF = 14
-++ IP_RSVP_ON = 15
-++ IP_RSVP_OFF = 16
-++ IP_RSVP_VIF_ON = 17
-++ IP_RSVP_VIF_OFF = 18
-++ IP_PORTRANGE = 19
-++ IP_RECVIF = 20
-++ IP_IPSEC_POLICY = 21
-++ IP_FAITH = 22
-++ IP_FW_ADD = 50
-++ IP_FW_DEL = 51
-++ IP_FW_FLUSH = 52
-++ IP_FW_ZERO = 53
-++ IP_FW_GET = 54
-++ IP_FW_RESETLOG = 55
-++ IP_DUMMYNET_CONFIGURE = 60
-++ IP_DUMMYNET_DEL = 61
-++ IP_DUMMYNET_FLUSH = 62
-++ IP_DUMMYNET_GET = 64
-++ IP_DEFAULT_MULTICAST_TTL = 1
-++ IP_DEFAULT_MULTICAST_LOOP = 1
-++ IP_MAX_MEMBERSHIPS = 20
-++ IP_PORTRANGE_DEFAULT = 0
-++ IP_PORTRANGE_HIGH = 1
-++ IP_PORTRANGE_LOW = 2
-++ IPPROTO_MAXID = (IPPROTO_AH + 1)
-++ IPCTL_FORWARDING = 1
-++ IPCTL_SENDREDIRECTS = 2
-++ IPCTL_DEFTTL = 3
-++ IPCTL_DEFMTU = 4
-++ IPCTL_RTEXPIRE = 5
-++ IPCTL_RTMINEXPIRE = 6
-++ IPCTL_RTMAXCACHE = 7
-++ IPCTL_SOURCEROUTE = 8
-++ IPCTL_DIRECTEDBROADCAST = 9
-++ IPCTL_INTRQMAXLEN = 10
-++ IPCTL_INTRQDROPS = 11
-++ IPCTL_STATS = 12
-++ IPCTL_ACCEPTSOURCEROUTE = 13
-++ IPCTL_FASTFORWARDING = 14
-++ IPCTL_KEEPFAITH = 15
-++ IPCTL_GIF_TTL = 16
-++ IPCTL_MAXID = 17
-++
-++ # Included from netinet6/in6.h
-++
-++ # Included from sys/queue.h
-++ def SLIST_HEAD_INITIALIZER(head): return \
-++
-++ def SLIST_ENTRY(type): return \
-++
-++ def STAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def STAILQ_ENTRY(type): return \
-++
-++ def LIST_HEAD_INITIALIZER(head): return \
-++
-++ def LIST_ENTRY(type): return \
-++
-++ def TAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def TAILQ_ENTRY(type): return \
-++
-++ def CIRCLEQ_ENTRY(type): return \
-++
-++ __KAME_VERSION = "20000701/FreeBSD-current"
-++ IPV6PORT_RESERVED = 1024
-++ IPV6PORT_ANONMIN = 49152
-++ IPV6PORT_ANONMAX = 65535
-++ IPV6PORT_RESERVEDMIN = 600
-++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
-++ INET6_ADDRSTRLEN = 46
-++ IPV6_ADDR_INT32_ONE = 1
-++ IPV6_ADDR_INT32_TWO = 2
-++ IPV6_ADDR_INT32_MNL = 0xff010000
-++ IPV6_ADDR_INT32_MLL = 0xff020000
-++ IPV6_ADDR_INT32_SMP = 0x0000ffff
-++ IPV6_ADDR_INT16_ULL = 0xfe80
-++ IPV6_ADDR_INT16_USL = 0xfec0
-++ IPV6_ADDR_INT16_MLL = 0xff02
-++ IPV6_ADDR_INT32_ONE = 0x01000000
-++ IPV6_ADDR_INT32_TWO = 0x02000000
-++ IPV6_ADDR_INT32_MNL = 0x000001ff
-++ IPV6_ADDR_INT32_MLL = 0x000002ff
-++ IPV6_ADDR_INT32_SMP = 0xffff0000
-++ IPV6_ADDR_INT16_ULL = 0x80fe
-++ IPV6_ADDR_INT16_USL = 0xc0fe
-++ IPV6_ADDR_INT16_MLL = 0x02ff
-++ def IN6_IS_ADDR_UNSPECIFIED(a): return \
-++
-++ def IN6_IS_ADDR_LOOPBACK(a): return \
-++
-++ def IN6_IS_ADDR_V4COMPAT(a): return \
-++
-++ def IN6_IS_ADDR_V4MAPPED(a): return \
-++
-++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ def IN6_IS_ADDR_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_SCOPE_LINKLOCAL(a): return \
-++
-++ IPV6_OPTIONS = 1
-++ IPV6_RECVOPTS = 5
-++ IPV6_RECVRETOPTS = 6
-++ IPV6_RECVDSTADDR = 7
-++ IPV6_RETOPTS = 8
-++ IPV6_SOCKOPT_RESERVED1 = 3
-++ IPV6_UNICAST_HOPS = 4
-++ IPV6_MULTICAST_IF = 9
-++ IPV6_MULTICAST_HOPS = 10
-++ IPV6_MULTICAST_LOOP = 11
-++ IPV6_JOIN_GROUP = 12
-++ IPV6_LEAVE_GROUP = 13
-++ IPV6_PORTRANGE = 14
-++ ICMP6_FILTER = 18
-++ IPV6_PKTINFO = 19
-++ IPV6_HOPLIMIT = 20
-++ IPV6_NEXTHOP = 21
-++ IPV6_HOPOPTS = 22
-++ IPV6_DSTOPTS = 23
-++ IPV6_RTHDR = 24
-++ IPV6_PKTOPTIONS = 25
-++ IPV6_CHECKSUM = 26
-++ IPV6_BINDV6ONLY = 27
-++ IPV6_IPSEC_POLICY = 28
-++ IPV6_FAITH = 29
-++ IPV6_FW_ADD = 30
-++ IPV6_FW_DEL = 31
-++ IPV6_FW_FLUSH = 32
-++ IPV6_FW_ZERO = 33
-++ IPV6_FW_GET = 34
-++ IPV6_RTHDR_LOOSE = 0
-++ IPV6_RTHDR_STRICT = 1
-++ IPV6_RTHDR_TYPE_0 = 0
-++ IPV6_DEFAULT_MULTICAST_HOPS = 1
-++ IPV6_DEFAULT_MULTICAST_LOOP = 1
-++ IPV6_PORTRANGE_DEFAULT = 0
-++ IPV6_PORTRANGE_HIGH = 1
-++ IPV6_PORTRANGE_LOW = 2
-++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1)
-++ IPV6CTL_FORWARDING = 1
-++ IPV6CTL_SENDREDIRECTS = 2
-++ IPV6CTL_DEFHLIM = 3
-++ IPV6CTL_DEFMTU = 4
-++ IPV6CTL_FORWSRCRT = 5
-++ IPV6CTL_STATS = 6
-++ IPV6CTL_MRTSTATS = 7
-++ IPV6CTL_MRTPROTO = 8
-++ IPV6CTL_MAXFRAGPACKETS = 9
-++ IPV6CTL_SOURCECHECK = 10
-++ IPV6CTL_SOURCECHECK_LOGINT = 11
-++ IPV6CTL_ACCEPT_RTADV = 12
-++ IPV6CTL_KEEPFAITH = 13
-++ IPV6CTL_LOG_INTERVAL = 14
-++ IPV6CTL_HDRNESTLIMIT = 15
-++ IPV6CTL_DAD_COUNT = 16
-++ IPV6CTL_AUTO_FLOWLABEL = 17
-++ IPV6CTL_DEFMCASTHLIM = 18
-++ IPV6CTL_GIF_HLIM = 19
-++ IPV6CTL_KAME_VERSION = 20
-++ IPV6CTL_USE_DEPRECATED = 21
-++ IPV6CTL_RR_PRUNE = 22
-++ IPV6CTL_MAPPED_ADDR = 23
-++ IPV6CTL_BINDV6ONLY = 24
-++ IPV6CTL_RTEXPIRE = 25
-++ IPV6CTL_RTMINEXPIRE = 26
-++ IPV6CTL_RTMAXCACHE = 27
-++ IPV6CTL_MAXID = 28
-+*** misc/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:26:27 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:19:02 2005
-+***************
-+*** 0 ****
-+--- 1,3 ----
-++ #! /bin/sh
-++ set -v
-++ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/editors/openoffice.org-2-devel/files/patch-bridges b/editors/openoffice.org-2-devel/files/patch-bridges
deleted file mode 100644
index 8375332a3e20..000000000000
--- a/editors/openoffice.org-2-devel/files/patch-bridges
+++ /dev/null
@@ -1,173 +0,0 @@
-Issuetracker : #i56947#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : update files at bridges project
-catch up version up of bridge project of GNU/Linux
-
---- bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx Thu Sep 8 07:20:08 2005
-+++ bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx Wed Oct 26 15:10:05 2005
-@@ -57,7 +57,7 @@
- typelib_TypeDescriptionReference * pReturnTypeRef, // 0 indicates void return
- sal_Int32 nParams, typelib_MethodParameter * pParams,
- void ** pCallStack,
-- sal_Int64 * pRegisterReturn /* space for register return */ )
-+ void * pReturnValue )
- {
- // pCallStack: ret, [return ptr], this, params
- char * pCppStack = (char *)(pCallStack +1);
-@@ -74,7 +74,7 @@
- {
- if (bridges::cpp_uno::shared::isSimpleType( pReturnTypeDescr ))
- {
-- pUnoReturn = pRegisterReturn; // direct way for simple types
-+ pUnoReturn = pReturnValue; // direct way for simple types
- }
- else // complex return via ptr (pCppReturn)
- {
-@@ -215,7 +215,7 @@
- uno_destructData( pUnoReturn, pReturnTypeDescr, 0 );
- }
- // complex return ptr is set to eax
-- *(void **)pRegisterReturn = pCppReturn;
-+ *static_cast< void ** >(pReturnValue) = pCppReturn;
- }
- if (pReturnTypeDescr)
- {
-@@ -228,7 +228,7 @@
- //==================================================================================================
- extern "C" void cpp_vtable_call(
- int nFunctionIndex, int nVtableOffset, void** pCallStack,
-- sal_Int64 nRegReturn )
-+ void * pReturnValue )
- {
- OSL_ENSURE( sizeof(sal_Int32)==sizeof(void *), "### unexpected!" );
-
-@@ -275,7 +275,7 @@
- pCppI, aMemberDescr.get(),
- ((typelib_InterfaceAttributeTypeDescription *)aMemberDescr.get())->pAttributeTypeRef,
- 0, 0, // no params
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- else
- {
-@@ -290,7 +290,7 @@
- pCppI, aMemberDescr.get(),
- 0, // indicates void return
- 1, &aParam,
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- break;
- }
-@@ -324,7 +324,7 @@
- &pInterface, pTD, cpp_acquire );
- pInterface->release();
- TYPELIB_DANGER_RELEASE( pTD );
-- *(void **)&nRegReturn = pCallStack[1];
-+ *static_cast< void ** >(pReturnValue) = pCallStack[1];
- break;
- }
- TYPELIB_DANGER_RELEASE( pTD );
-@@ -336,7 +336,7 @@
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->pReturnTypeRef,
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->nParams,
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->pParams,
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- break;
- }
---- bridges/source/cpp_uno/gcc3_freebsd_intel/call.s Wed Jun 1 01:32:41 2005
-+++ bridges/source/cpp_uno/gcc3_freebsd_intel/call.s Wed Oct 26 15:10:04 2005
-@@ -9,12 +9,13 @@
- .LCFIg0:
- movl %esp,%ebp
- .LCFIg1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-+ movl 16(%esp),%eax # 32bit returnValue
- leave
- ret
- .LFEg:
-@@ -29,7 +30,7 @@
- .LCFIv0:
- movl %esp,%ebp
- .LCFIv1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ pushl $0 # 32bit null pointer (returnValue not used)
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
-@@ -48,13 +49,14 @@
- .LCFIh0:
- movl %esp,%ebp
- .LCFIh1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x8,%esp # 64bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-- movl 16(%esp),%edx # 64 bit nRegReturn, upper half
-+ movl 16(%esp),%eax # 64bit returnValue, lower half
-+ movl 20(%esp),%edx # 64bit returnValue, upper half
- leave
- ret
- .LFEh:
-@@ -69,12 +71,13 @@
- .LCFIf0:
- movl %esp,%ebp
- .LCFIf1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- flds 12(%esp) # 64 bit nRegReturn, lower half
-+ flds 16(%esp) # 32bit returnValue
- leave
- ret
- .LFEf:
-@@ -89,12 +92,13 @@
- .LCFId0:
- movl %esp,%ebp
- .LCFId1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x8,%esp # 64bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- fldl 12(%esp) # 64 bit nRegReturn
-+ fldl 16(%esp) # 64bit returnValue
- leave
- ret
- .LFEd:
-@@ -109,12 +113,13 @@
- .LCFIc0:
- movl %esp,%ebp
- .LCFIc1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-+ movl 16(%esp),%eax # 32bit returnValue
- leave
- ret $4
- .LFEc:
diff --git a/editors/openoffice.org-2-devel/files/patch-config_office+set_soenv.in b/editors/openoffice.org-2-devel/files/patch-config_office+set_soenv.in
deleted file mode 100644
index a06f28849d7a..000000000000
--- a/editors/openoffice.org-2-devel/files/patch-config_office+set_soenv.in
+++ /dev/null
@@ -1,18 +0,0 @@
-Issuetracker : #i56949#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Add conditional the case of @GCCVER@ >= 30401.
-Like GNU/Linux's case, we also need the case for $CVER if @GCCVER@ is equal to or larger than 3.4.1
-
---- config_office/set_soenv.in Thu Sep 22 23:30:56 2005
-+++ config_office/set_soenv.in Sat Oct 1 12:59:30 2005
-@@ -347,6 +347,9 @@
- $JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386";
- $JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."client";
- $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."native_threads";
-+ if( @GCCVER@ >= 30401 ) {
-+ $CVER = "C341";
-+ }
- }
- elsif ( $platform =~ m/linux-gnu/ )
- {
diff --git a/editors/openoffice.org-2-devel/files/patch-epm+epm-3.7.patch b/editors/openoffice.org-2-devel/files/patch-epm+epm-3.7.patch
deleted file mode 100644
index 2182489d5445..000000000000
--- a/editors/openoffice.org-2-devel/files/patch-epm+epm-3.7.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-Issuetracker : #iXXXXX#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : epm porting for FreeBSD
-o FreeBSD's package manager doesn't allow multiple lines for
- @exec and @unexec
-o chown is at /usr/sbin/
-o the way to recording package dependency is incorrect
-
-Index: epm/epm-3.7.patch
-===================================================================
-RCS file: /cvs/external/epm/epm-3.7.patch,v
-retrieving revision 1.2
-diff -u -r1.2 epm-3.7.patch
---- epm/epm-3.7.patch 10 Mar 2005 11:52:43 -0000 1.2
-+++ epm/epm-3.7.patch 3 Jun 2005 22:05:23 -0000
-@@ -1,3 +1,69 @@
-+*** misc/epm-3.7/bsd.c Wed Jan 15 02:05:01 2003
-+--- misc/build/epm-3.7/bsd.c Sat Jun 4 06:18:27 2005
-+***************
-+*** 26,31 ****
-+--- 26,38 ----
-+
-+ #include "epm.h"
-+
-++ void cr2semicolon(char *command)
-++ {
-++ int len, i;
-++ len=strlen(command);
-++ for (i=0;i<len;i++)
-++ if(*(command+i)=='\n') *(command+i)=';';
-++ }
-+
-+ /*
-+ * 'make_bsd()' - Make a FreeBSD software distribution package.
-+***************
-+*** 150,156 ****
-+ for (i = dist->num_depends, d = dist->depends; i > 0; i --, d ++)
-+ {
-+ if (d->type == DEPEND_REQUIRES)
-+! fprintf(fp, "@pkgdep %s", d->product);
-+ else
-+ #ifdef __FreeBSD__
-+ /*
-+--- 157,163 ----
-+ for (i = dist->num_depends, d = dist->depends; i > 0; i --, d ++)
-+ {
-+ if (d->type == DEPEND_REQUIRES)
-+! fprintf(fp, "@pkgdep %s-%s-%s", d->product, dist->version, platname);
-+ else
-+ #ifdef __FreeBSD__
-+ /*
-+***************
-+*** 179,187 ****
-+--- 186,196 ----
-+ " by the BSD packager.\n", stderr);
-+ break;
-+ case COMMAND_POST_INSTALL :
-++ cr2semicolon(c->command);
-+ fprintf(fp, "@exec %s\n", c->command);
-+ break;
-+ case COMMAND_PRE_REMOVE :
-++ cr2semicolon(c->command);
-+ fprintf(fp, "@unexec %s\n", c->command);
-+ break;
-+ case COMMAND_POST_REMOVE :
-+***************
-+*** 199,205 ****
-+ */
-+
-+ fprintf(fp, "@exec /bin/mkdir -p %s\n", file->dst);
-+! fprintf(fp, "@exec /bin/chown %s:%s %s\n", file->user, file->group,
-+ file->dst);
-+ fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
-+ }
-+--- 208,214 ----
-+ */
-+
-+ fprintf(fp, "@exec /bin/mkdir -p %s\n", file->dst);
-+! fprintf(fp, "@exec /usr/sbin/chown %s:%s %s\n", file->user, file->group,
-+ file->dst);
-+ fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
-+ }
- *** misc/epm-3.7/epm.c 2003-10-28 15:48:30.000000000 +0100
- --- misc/build/epm-3.7/epm.c 2004-11-24 10:38:40.000000000 +0100
- ***************
-
diff --git a/editors/openoffice.org-2-devel/files/patch-icu+icu-2.6.patch b/editors/openoffice.org-2-devel/files/patch-icu+icu-2.6.patch
deleted file mode 100644
index 91b67fb35cf3..000000000000
--- a/editors/openoffice.org-2-devel/files/patch-icu+icu-2.6.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Issuetracker : #i56952#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Passing $ORIGIN to linker at icu project
-We also want to pass -rpath $ORIGIN to linker as GNU/Linux and/or Solaris's case.
-
-Index: icu/icu-2.6.patch
-===================================================================
-RCS file: /cvs/external/icu/icu-2.6.patch,v
-retrieving revision 1.15
-diff -u -r1.15 icu-2.6.patch
---- icu/icu-2.6.patch 28 Dec 2005 16:54:16 -0000 1.15
-+++ icu/icu-2.6.patch 5 Jan 2006 12:58:57 -0000
-@@ -2775,3 +2775,31 @@
- commands = pkg_appendToList(commands, NULL, uprv_strdup(stanza));
-
- sprintf(stanza, "@$(RMV) $(TEMP_DIR)/%s", cfile+genFileOffset);
-+*** misc/icu/source/config/mh-bsd-gcc Thu May 2 08:48:10 2002
-+--- misc/build/icu/source/config/mh-bsd-gcc Mon Oct 24 18:16:57 2005
-+***************
-+*** 10,21 ****
-+--- 10,30 ----
-+ GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS)
-+
-+ ## Flags for position independent code
-++ STATICCFLAGS = -fPIC
-++ STATICCXXFLAGS = -fPIC
-++ STATICCPPFLAGS = -DPIC
-+ SHAREDLIBCFLAGS = -fPIC
-+ SHAREDLIBCXXFLAGS = -fPIC
-+ SHAREDLIBCPPFLAGS = -DPIC
-+
-+ ## Compiler switch to embed a runtime search path
-+ LD_RPATH=
-++ ## Force RPATH=$ORIGIN to locate own dependencies w/o need for LD_LIBRARY_PATH
-++ ENABLE_RPATH=YES
-++ RPATHLDFLAGS=${LD_RPATH_PRE}'$$ORIGIN'
-++
-++ #SH# ENABLE_RPATH=YES
-++ #SH# RPATHLDFLAGS="${LD_RPATH_PRE}'$$ORIGIN'"
-+ LD_RPATH_PRE= -Wl,-rpath,
-+
-+ ## Compiler switch to embed a library name
-+
-+
diff --git a/editors/openoffice.org-2-devel/files/patch-instsetoo b/editors/openoffice.org-2-devel/files/patch-instsetoo
deleted file mode 100644
index 77fcd635acfa..000000000000
--- a/editors/openoffice.org-2-devel/files/patch-instsetoo
+++ /dev/null
@@ -1,154 +0,0 @@
-Issuetracker : #i53288#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : remove circular dependency
-
-in this case,
-core01 is depend on core02-core08, and core0[2-9] and core10
-depends on core01. for FreeBSD this is regarded as circular dependency
-and pkg_add command is forked infinite times and eats up systems' resource.
-namely when core01 tries to install core02, core02 also tries to
-install core01.
-Index: instsetoo_native/inc_openoffice/unix/packagelist.txt
-===================================================================
-RCS file: /cvs/installation/instsetoo_native/inc_openoffice/unix/packagelist.txt,v
-retrieving revision 1.21
-diff -u -r1.21 packagelist.txt
---- instsetoo_native/inc_openoffice/unix/packagelist.txt 30 Nov 2005 13:21:44 -0000 1.21
-+++ instsetoo_native/inc_openoffice/unix/packagelist.txt 3 Dec 2005 22:26:12 -0000
-@@ -37,6 +37,7 @@
- packagename = "%UNIXPRODUCTNAME-core01"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-mailcap,%WITHOUTDOTUNIXPRODUCTNAME-core,%WITHOUTDOTUNIXPRODUCTNAME-core01"
- requires = "%UNIXPRODUCTNAME-core02,%UNIXPRODUCTNAME-core03,%UNIXPRODUCTNAME-core04,%UNIXPRODUCTNAME-core05,%UNIXPRODUCTNAME-core06,%UNIXPRODUCTNAME-core07,%UNIXPRODUCTNAME-core08"
-+freebsdrequires = "%UNIXPRODUCTNAME-core02,%UNIXPRODUCTNAME-core03,%UNIXPRODUCTNAME-core04,%UNIXPRODUCTNAME-core05,%UNIXPRODUCTNAME-core06,%UNIXPRODUCTNAME-core07,%UNIXPRODUCTNAME-core08,%UNIXPRODUCTNAME-core09,%UNIXPRODUCTNAME-core10"
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -278,6 +279,7 @@
- packagename = "%UNIXPRODUCTNAME-core02"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core02"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -291,6 +293,7 @@
- packagename = "%UNIXPRODUCTNAME-core03"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core03"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -304,6 +307,7 @@
- packagename = "%UNIXPRODUCTNAME-core04"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core04"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -317,6 +321,7 @@
- packagename = "%UNIXPRODUCTNAME-core05"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core05"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -330,6 +335,7 @@
- packagename = "%UNIXPRODUCTNAME-core06"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core06"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -343,6 +349,7 @@
- packagename = "%UNIXPRODUCTNAME-core07"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core07"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -356,6 +363,7 @@
- packagename = "%UNIXPRODUCTNAME-core08"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core08"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -369,6 +377,7 @@
- packagename = "%UNIXPRODUCTNAME-core09"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core09"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -383,6 +392,7 @@
- packagename = "%UNIXPRODUCTNAME-core10"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core10"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-Index: solenv/bin/modules/installer/epmfile.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/epmfile.pm,v
-retrieving revision 1.42
-diff -u -r1.42 epmfile.pm
---- solenv/bin/modules/installer/epmfile.pm 9 Nov 2005 09:09:49 -0000 1.42
-+++ solenv/bin/modules/installer/epmfile.pm 3 Dec 2005 22:26:52 -0000
-@@ -395,6 +395,11 @@
- $provides = "solarisprovides"; # the name in the packagelist
- $requires = "solarisrequires"; # the name in the packagelist
- }
-+ elsif ( $installer::globals::isfreebsdpkgbuild )
-+ {
-+ $provides = "freebsdprovides"; # the name in the packagelist
-+ $requires = "freebsdrequires"; # the name in the packagelist
-+ }
- else
- {
- $provides = "provides"; # the name in the packagelist
-Index: solenv/bin/modules/installer/globals.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/globals.pm,v
-retrieving revision 1.47
-diff -u -r1.47 globals.pm
---- solenv/bin/modules/installer/globals.pm 9 Nov 2005 09:10:01 -0000 1.47
-+++ solenv/bin/modules/installer/globals.pm 3 Dec 2005 22:26:52 -0000
-@@ -80,6 +80,7 @@
- $issolarispkgbuild = 0;
- $issolarissparcbuild = 0;
- $issolarisx86build = 0;
-+ $isfreebsdpkgbuild = 0;
- $unpackpath = "";
- $idttemplatepath = "";
- $idtlanguagepath = "";
-
-Index: solenv/bin/modules/installer/parameter.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/parameter.pm,v
-retrieving revision 1.29
-diff -u -r1.29 parameter.pm
---- solenv/bin/modules/installer/parameter.pm 9 Nov 2005 09:10:12 -0000 1.29
-+++ solenv/bin/modules/installer/parameter.pm 10 Dec 2005 13:11:30 -0000
-@@ -304,6 +304,13 @@
- $installer::globals::epmoutpath = "packages";
- }
- }
-+ if ( $installer::globals::compiler =~ /unxfbsdi/ )
-+ {
-+ if ( $installer::globals::packageformat eq "bsd" )
-+ {
-+ $installer::globals::isfreebsdpkgbuild = 1;
-+ }
-+ }
-
- if ( $installer::globals::compiler =~ /unxso[lg]s/ ) { $installer::globals::issolarissparcbuild = 1; }
-
diff --git a/editors/openoffice.org-2-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk b/editors/openoffice.org-2-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk
deleted file mode 100644
index 2c89e95a8cdb..000000000000
--- a/editors/openoffice.org-2-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-Issuetracker : #i56951#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : javavendors_linux.xml can be used for FreeBSD as well.
-javavendors_linux.xml can be used for FreeBSD as well.
-
---- jvmfwk/distributions/OpenOfficeorg/makefile.mk Thu Sep 8 04:26:17 2005
-+++ jvmfwk/distributions/OpenOfficeorg/makefile.mk Sat Oct 22 18:31:16 2005
-@@ -49,7 +49,7 @@
- .IF "$(GUI)"=="UNX"
- .IF "$(OS)"=="MACOSX"
- +-$(COPY) javavendors_macosx.xml $(BIN)$/javavendors_ooo.xml
--.ELIF "$(OS)"=="LINUX"
-+.ELIF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
- +-$(COPY) javavendors_linux.xml $(BIN)$/javavendors_ooo.xml
- .ELSE
- +-$(COPY) javavendors_unx.xml $(BIN)$/javavendors_ooo.xml
diff --git a/editors/openoffice.org-2-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx b/editors/openoffice.org-2-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
index c963d013cc07..610b3b087221 100644
--- a/editors/openoffice.org-2-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
+++ b/editors/openoffice.org-2-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
@@ -12,18 +12,17 @@ java 1.4.1-p10 for example to 1.4.1_110.
--- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Thu Sep 8 04:31:40 2005
+++ jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Sat Oct 22 18:25:49 2005
-@@ -208,7 +208,16 @@
+@@ -208,7 +208,15 @@
return false;
#if defined(FREEBSD)
if (m_preRelease == Rel_FreeBSD) {
- m_nUpdateSpecial = *pCur;
+ pCur++; //elemnate `p'
+ if (pCur < pEnd && isdigit(*pCur))
-+ if (pCur < pEnd)
-+ pCur ++;
++ pCur ++;
+ int len = pCur - pLast -1; //elemenate `p'
+ if (len >= 127)
-+ return false;
++ return false;
+ strncpy(buf, (pLast+1), len); //elemenate `p'
+ buf[len] = 0;
+ m_nUpdateSpecial = atoi(buf)+100; //hack for FBSD
diff --git a/editors/openoffice.org-2-devel/files/patch-libxmlsec+makefile.mk b/editors/openoffice.org-2-devel/files/patch-libxmlsec+makefile.mk
deleted file mode 100644
index 4e674ce211f0..000000000000
--- a/editors/openoffice.org-2-devel/files/patch-libxmlsec+makefile.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-Issuetracker : #i56954#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Passing $ORIGIN to linker at libxmlsec project
-We also want to pass -rpath $ORIGIN to linker as GNU/Linux and/or Solaris's case.
-
-Index: libxmlsec/makefile.mk
-===================================================================
-RCS file: /cvs/external/libxmlsec/makefile.mk,v
-retrieving revision 1.7
-diff -u -r1.7 makefile.mk
---- libxmlsec/makefile.mk 28 Dec 2005 16:58:06 -0000 1.7
-+++ libxmlsec/makefile.mk 5 Jan 2006 12:34:24 -0000
-@@ -98,6 +98,9 @@
- .IF "$(OS)$(COM)"=="SOLARISC52"
- xmlsec_LDFLAGS+=-Wl,-R'$$$$ORIGIN'
- .ENDIF # "$(OS)$(COM)"=="SOLARISC52"
-+.IF "$(OS)$(COM)"=="FREEBSDGCC"
-+LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN'
-+.ENDIF # "$(OS)$(COM)"=="FREEBSDGCC"
- LDFLAGS:=$(xmlsec_LDFLAGS)
- .EXPORT: LDFLAGS
-
diff --git a/editors/openoffice.org-2-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx b/editors/openoffice.org-2-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx
deleted file mode 100644
index 65073f215e7b..000000000000
--- a/editors/openoffice.org-2-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx
+++ /dev/null
@@ -1,65 +0,0 @@
-Issuetracker : #i60097#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : getc and ungetc are defined at stdio.h
-
-Index: psprint/source/fontmanager/parseAFM.cxx
-===================================================================
-RCS file: /cvs/gsl/psprint/source/fontmanager/parseAFM.cxx,v
-retrieving revision 1.6
-diff -u -r1.6 parseAFM.cxx
---- psprint/source/fontmanager/parseAFM.cxx 28 Dec 2005 17:08:38 -0000 1.6
-+++ psprint/source/fontmanager/parseAFM.cxx 5 Jan 2006 22:05:26 -0000
-@@ -113,8 +113,8 @@
- FileInputStream( const char* pFilename );
- ~FileInputStream();
-
-- int getc() { return (m_nPos < m_nLen) ? int(m_pMemory[m_nPos++]) : -1; }
-- void ungetc()
-+ int getChar() { return (m_nPos < m_nLen) ? int(m_pMemory[m_nPos++]) : -1; }
-+ void ungetChar()
- {
- if( m_nPos > 0 )
- m_nPos--;
-@@ -278,18 +278,18 @@
-
- /* skip over white space */
- // relies on EOF = -1
-- while( is_white_Array[ (ch = stream->getc()) & 255 ] )
-+ while( is_white_Array[ (ch = stream->getChar()) & 255 ] )
- ;
-
- idx = 0;
- while( ch != -1 && ! is_delimiter_Array[ ch & 255 ] )
- {
- ident[idx++] = ch;
-- ch = stream->getc();
-+ ch = stream->getChar();
- }
-
- if (ch == -1 && idx < 1) return ((char *)NULL);
-- if (idx >= 1 && ch != ':' ) stream->ungetc();
-+ if (idx >= 1 && ch != ':' ) stream->ungetChar();
- if (idx < 1 ) ident[idx++] = ch; /* single-character token */
- ident[idx] = 0;
- rLen = idx;
-@@ -311,16 +311,16 @@
- static char ident[MAX_NAME]; /* storage buffer for keywords */
- int ch, idx;
-
-- while ((ch = stream->getc()) == ' ' || ch == '\t' );
-+ while ((ch = stream->getChar()) == ' ' || ch == '\t' );
-
- idx = 0;
- while (ch != -1 && ch != lineterm && ch != '\r')
- {
- ident[idx++] = ch;
-- ch = stream->getc();
-+ ch = stream->getChar();
- } /* while */
-
-- stream->ungetc();
-+ stream->ungetChar();
- ident[idx] = 0;
-
- return(ident); /* returns pointer to the token */
diff --git a/editors/openoffice.org-2-devel/files/patch-sdkoo b/editors/openoffice.org-2-devel/files/patch-sdkoo
deleted file mode 100644
index 6dfc9a5fb029..000000000000
--- a/editors/openoffice.org-2-devel/files/patch-sdkoo
+++ /dev/null
@@ -1,64 +0,0 @@
-Issuetracker : #iXXXXX#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : building sdk fails for FreeBSD
-
-1. Build error
-dmake sdkoo fails like:
-
-##############################################################################
-... starting unpatched epm ...
-... epm -f bsd openoffice.org-sdk /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_SRC680__en-US.lst -v 2>&1 | ...
-
-**************************************************
-ERROR: ERROR: "epm -f bsd openoffice.org-sdk /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_SRC680__en-US.lst -v 2>&1 |"!
-in function: call_epm
-**************************************************
-
-**************************************************
-ERROR: Saved logfile: /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/logging/en-US/log_SRC680__en-US.log
-**************************************************
-... cleaning the output tree ...
-... removing directory /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/zip/en-US ...
-Fri Nov 18 22:49:33 2005 (08:05 min.)
-dmake: Error code 255, while making 'sdkoo_en-US.bsd'
-'---* tg_merge.mk *---'
-##############################################################################
-
-2. Reason why it fails:
-since quoting for filename containing `$' produces an error
-
-tar: opt/openoffice.org2.0_sdk/classes/com/sun/star/lib/loader/InstallationFinder\$StreamGobbler.class: Could not stat: No such file or directory
-tar: opt/openoffice.org2.0_sdk/classes/com/sun/star/lib/loader/Loader\$CustomURLClassLoader.class: Could not stat: No such file or directory
-
-3. Solution
-
-For FreeBSD, we don't need quoting. We use printf for files names
-instead of using qprintf, a function that treats quoting string.
-
---- epm/epm-3.7.patch Sat Nov 19 10:21:34 2005
-+++ epm/epm-3.7.patch Sat Nov 19 10:22:23 2005
-@@ -586,3 +586,23 @@
- }
-
- --- 457,462 ----
-+
-+*** misc/epm-3.7/bsd.c Wed Jan 15 02:05:01 2003
-+--- misc/build/epm-3.7/bsd.c Sat Jun 4 06:18:27 2005
-+***************
-+*** 234,240 ****
-+ case 'c' :
-+ case 'f' :
-+ case 'l' :
-+! qprintf(fp, "%s\n", file->dst + 1);
-+ break;
-+ }
-+ }
-+--- 243,249 ----
-+ case 'c' :
-+ case 'f' :
-+ case 'l' :
-+! fprintf(fp, "%s\n", file->dst + 1);
-+ break;
-+ }
-+ }
diff --git a/editors/openoffice.org-2-devel/files/patch-solenv+inc+unxfbsdi.mk b/editors/openoffice.org-2-devel/files/patch-solenv+inc+unxfbsdi.mk
deleted file mode 100644
index 02b0c8ad1400..000000000000
--- a/editors/openoffice.org-2-devel/files/patch-solenv+inc+unxfbsdi.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-Issuetracker : #i56956#
-CWS : N/A
-Author: : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : catch up recent version of solenv/inc/unxlngi6.mk
-catch up recent version of solenv/inc/unxlngi6.mk and STLPORT_VERSION is 450 in FreeBSD
-
---- solenv/inc/unxfbsdi.mk Wed Oct 5 20:33:12 2005
-+++ solenv/inc/unxfbsdi.mk Mon Oct 24 11:13:39 2005
-@@ -45,7 +45,7 @@
- #LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter"
-
- # _PTHREADS is needed for the stl
--CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400
-+CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450
-
- # enable visibility define in "sal/types.h"
- .IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
-@@ -190,8 +190,13 @@
-
- LIBSALCPPRT*=-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive
-
-+.IF "$(USE_STLP_DEBUG)" != ""
-+LIBSTLPORT=$(DYNAMIC) -lstlport_gcc_stldebug
-+LIBSTLPORTST=$(STATIC) -lstlport_gcc_stldebug $(DYNAMIC)
-+.ELSE # "$(USE_STLP_DEBUG)" != ""
- LIBSTLPORT=$(DYNAMIC) -lstlport_gcc
- LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC)
-+.ENDIF # "$(USE_STLP_DEBUG)" != ""
-
- #FILLUPARC=$(STATIC) -lsupc++ $(DYNAMIC)
-
diff --git a/editors/openoffice.org-2.0-devel/Makefile b/editors/openoffice.org-2.0-devel/Makefile
index d24e0c28f41d..d1de2d1a680c 100644
--- a/editors/openoffice.org-2.0-devel/Makefile
+++ b/editors/openoffice.org-2.0-devel/Makefile
@@ -9,15 +9,19 @@ PORTNAME?= openoffice.org
PORTVERSION?= 2.0.${SNAPDATE}
CATEGORIES+= editors java
MASTER_SITES+= http://openoffice.lunarshells.com/sources/ \
- ftp://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
+ http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
+ ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:antbin,} \
${MASTER_SITE_MOZILLA:S/$/:mozsrc/}
MASTER_SITE_SUBDIR+= mozilla/releases/mozilla${MOZILLA_VERSION}/source/:mozsrc
-DISTFILES+= OOo_${OOOTAG}_source.tar.bz2
+DISTFILES+= OOo_${OOOTAG}_source${EXTRACT_SUFX}
.if defined(WITH_GPC)
DISTFILES+= gpc231.tar.Z:gpc
.endif
-EXTRACT_ONLY= OOo_${OOOTAG}_source.tar.bz2
+.if defined(WITH_GNUGCJ)
+DISTFILES+= ${ANT_DISTFILE}:antbin
+.endif
+EXTRACT_ONLY= OOo_${OOOTAG}_source${EXTRACT_SUFX}
MAINTAINER= openoffice@FreeBSD.org
COMMENT?= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser(developer version)
@@ -59,9 +63,9 @@ IGNORE= install lang/perl5.8 then try again
CODELINE= 680
RELEASE_NR= 2.0
-MILESTONE?= 151
+MILESTONE?= 155
OOOTAG?= SRC680_m${MILESTONE}
-SNAPDATE= 20060117
+SNAPDATE= 20060203
INSTALLATION_BASEDIR?= openoffice.org-${OOOTAG}
EXECBASE?= openoffice.org-${OOOTAG}
DIST_SUBDIR= openoffice.org2.0
@@ -78,7 +82,7 @@ PKGNAMESUFFIX?= -${LANG_SUFFIX}
.endif
.if defined(WITH_GNUGCJ)
-BUILD_DEPENDS+= gcc41:${PORTSDIR}/lang/gcc41
+#BUILD_DEPENDS+= ${LOCALBASE}/bin/gcc41:${PORTSDIR}/lang/gcc41-wgcj
BROKEN= "still work in progress"
.else
BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
@@ -88,8 +92,8 @@ BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
.if defined(WITH_GNUGCJ)
-CC= ccache gcc41
-CXX= ccache g++41
+CC= ccache ${LOCALBASE}/gcc41/bin/gcc
+CXX= ccache ${LOCALBASE}/gcc41/bin/g++
.else
CC= ccache gcc-ooo
CXX= ccache g++-ooo
@@ -97,8 +101,8 @@ CXX= ccache g++-ooo
.endif #WITH_CCACHE
.if !defined(WITH_CCACHE)
.if defined(WITH_GNUGCJ)
-CC= gcc41
-CXX= g++41
+CC= ${LOCALBASE}/gcc41/bin/gcc
+CXX= ${LOCALBASE}/gcc41/bin/g++
.else
CC= gcc-ooo
CXX= g++-ooo
@@ -112,26 +116,40 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
bison2:${PORTSDIR}/devel/bison2 \
imake:${X_IMAKE_PORT}
-.if !defined(WITHOUT_JAVA)
-BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/apache-ant
+.if !defined(WITHOUT_JAVA) && !defined(WITH_GNUGCJ)
+BUILD_DEPENDS+= ant:${PORTSDIR}/devel/apache-ant
.else
LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
.endif
+.if defined(WITH_GNUGCJ)
+ANT_DISTFILE= apache-ant-${ANT_VERSION}-bin.tar.bz2
+ANT_VERSION= 1.6.5
+.endif
.if !defined(WITH_GPC)
LIB_DEPENDS= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl2
.endif
+
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
-ANT?= ${LOCALBASE}/bin/ant
-ZIP?= ${PREFIX}/bin/zip
TCSH?= /bin/tcsh
PKGMESSAGE= ${WRKDIR}/pkg-message
NUMOFPROCESSES?= 1
+USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --with-gnu-patch=${LOCALBASE}/bin/gpatch --with-epm=internal --with-system-freetype --enable-crashdump=yes --enable-symbols=SMALL
+.if (${OSVERSION} <= 492000)
+EXTRA_PATCHES+= ${FILESDIR}/fbsd4-workaroundpatch
+.endif
+.if defined(WITH_GNUGCJ)
+EXTRA_PATCHES+= ${FILESDIR}/gcj-cws_jaxpapi ${FILESDIR}/gcj-patches
+.endif
+#.if defined(WITH_TTF_BYTECODE_ENABLED)
+#EXTRA_PATCHES+= ${FILESDIR}/optpatch-freetype
+#.endif
+
.include <${FILESDIR}/Makefile.knobs>
pre-everything::
@@ -152,11 +170,8 @@ pre-everything::
.endif
post-extract:
-#.if defined(WITH_TTF_BYTECODE_ENABLED)
-# @cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/optpatch-freetype
-#.endif
-.if (${OSVERSION} <= 492000)
- @cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/fbsd4-workaroundpatch
+.if defined(WITH_GNUGCJ)
+ @cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${ANT_DISTFILE} | ${BZIP2_CMD} -d | ${TAR} xf -
.endif
.if defined(WITH_GPC)
@cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/gpc231.tar.Z | ${TAR} xfz -
diff --git a/editors/openoffice.org-2.0-devel/distinfo b/editors/openoffice.org-2.0-devel/distinfo
index 4a24eeb47005..5f814dd0406e 100644
--- a/editors/openoffice.org-2.0-devel/distinfo
+++ b/editors/openoffice.org-2.0-devel/distinfo
@@ -1,9 +1,12 @@
-MD5 (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = f652b703f21ade84d6ff814684df2327
-SHA256 (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = 2c6a2e37ff5dd8b01c4d976239922e12b26bf948908f62d9e2df620c8ce4cf2d
-SIZE (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = 236161920
+MD5 (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = b8a712737bb146baf1ebb00c88ed3dc3
+SHA256 (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = 80b481f8815f7bc9263d9544f1a0326abeb61de7349e4947614a5e72e49c4b0b
+SIZE (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = 235716251
MD5 (openoffice.org2.0/gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
SHA256 (openoffice.org2.0/gpc231.tar.Z) = c1265948554a9882fe8342ecc9ccbdb423321a572a5a6b56f7dfad389540da4e
SIZE (openoffice.org2.0/gpc231.tar.Z) = 27917
+MD5 (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = 26031ee1a2fd248ad0cc2e7f17c44c39
+SHA256 (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = d463b8259cb199cd26799c817756c73e4e7808b0cf915f86841ac9779e0f9936
+SIZE (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = 6743024
MD5 (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = d3f3528b6c5eade402ed058207cffa14
SHA256 (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = 3e252bab95ecad3016b72fa594e0c44b9633d8c7b6af187e088a092019b56445
SIZE (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = 38721366
diff --git a/editors/openoffice.org-2.0-devel/files/Makefile.knobs b/editors/openoffice.org-2.0-devel/files/Makefile.knobs
index 8fc898b33521..1d119fc69a6a 100644
--- a/editors/openoffice.org-2.0-devel/files/Makefile.knobs
+++ b/editors/openoffice.org-2.0-devel/files/Makefile.knobs
@@ -6,7 +6,7 @@
CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}" --with-ant-home=${LOCALBASE}/ant
.endif
.if !defined(WITHOUT_JAVA) && defined(WITH_GNUGCJ)
-CONFIGURE_ARGS+= --with-java=gij --with-ant-home=${LOCALBASE}/ant
+CONFIGURE_ARGS+= --with-jdk-home="${LOCALBASE}/gcc41" --with-java=gij --with-ant-home="${WRKDIR}/apache-ant-${ANT_VERSION}" --disable-qadevooo
.endif
.if defined(WITHOUT_JAVA)
CONFIGURE_ARGS+= --without-java
diff --git a/editors/openoffice.org-2.0-devel/files/gcj-cws_jaxpapi b/editors/openoffice.org-2.0-devel/files/gcj-cws_jaxpapi
new file mode 100644
index 000000000000..b7473b8dc748
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/gcj-cws_jaxpapi
@@ -0,0 +1,1308 @@
+Index: external/prj/d.lst
+===================================================================
+RCS file: /cvs/util/external/prj/d.lst,v
+retrieving revision 1.21
+retrieving revision 1.21.18.1
+diff -u -r1.21 -r1.21.18.1
+--- external/prj/d.lst 24 Nov 2004 15:13:13 -0000 1.21
++++ external/prj/d.lst 17 Jan 2006 10:39:46 -0000 1.21.18.1
+@@ -24,8 +24,6 @@
+ ..\%__SRC%\bin\*.zip %_DEST%\pck%_EXT%\*.zip
+ ..\common.pro\bin\*.zip %_DEST%\pck%_EXT%\*.zip
+ ..\common\xt.jar %_DEST%\bin%_EXT%\xt.jar
+-..\common\jaxp.jar %_DEST%\bin%_EXT%\jaxp.jar
+-..\common\parser.jar %_DEST%\bin%_EXT%\parser.jar
+
+ ..\audio\rtufiles\lib\audio\libaudio.a %_DEST%\lib%_EXT%\libaudio.a
+ ..\audio\rtufiles\lib\audio\*.h %_DEST%\inc%_EXT%\audio\*
+Index: filter/source/config/fragments/makefile.mk
+===================================================================
+RCS file: /cvs/framework/filter/source/config/fragments/makefile.mk,v
+retrieving revision 1.16
+retrieving revision 1.16.16.1
+diff -u -r1.16 -r1.16.16.1
+--- filter/source/config/fragments/makefile.mk 14 Dec 2005 14:48:16 -0000 1.16
++++ filter/source/config/fragments/makefile.mk 17 Jan 2006 11:03:31 -0000 1.16.16.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.16 $
++# $Revision: 1.16.16.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/12/14 14:48:16 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:03:31 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -156,11 +156,7 @@
+ MERGE:=python ../tools/merge/pyAltFCFGMerge
+ .ELSE
+ MERGE := $(JAVAI) -jar $(CLASSDIR)$/FCFGMerge.jar
+-.IF "$(JDK)" == "gcj"
+-XALANCLASS=$(SOLARBINDIR)/xalan.jar
+-CLASSPATH:=$(CLASSPATH)$(PATH_SEPERATOR){$(subst,%Z*Z%,$(PATH_SEPERATOR) $(XALANCLASS:s/ /%Z*Z%/))}
+-.ENDIF
+-PACKLANG := $(JAVAI) org.apache.xalan.xslt.Process -XSL langfilter.xsl
++PACKLANG := $(JAVAI) $(JAVACPS) $(SOLARBINDIR)/xalan.jar org.apache.xalan.xslt.Process -XSL langfilter.xsl
+ .ENDIF
+
+ # -----------------------------------------------------------------------------
+Index: filter/source/config/tools/utils/makefile.mk
+===================================================================
+RCS file: /cvs/framework/filter/source/config/tools/utils/makefile.mk,v
+retrieving revision 1.5
+retrieving revision 1.5.92.1
+diff -u -r1.5 -r1.5.92.1
+--- filter/source/config/tools/utils/makefile.mk 8 Sep 2005 21:39:14 -0000 1.5
++++ filter/source/config/tools/utils/makefile.mk 17 Jan 2006 11:03:44 -0000 1.5.92.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.5 $
++# $Revision: 1.5.92.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/09/08 21:39:14 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:03:44 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -51,8 +51,8 @@
+ juh.jar \
+ jut.jar \
+ java_uno.jar \
+- jaxp.jar \
+- parser.jar
++ xml-apis.jar \
++ xercesImpl.jar
+
+ JAVACLASSFILES = \
+ $(CLASSDIR)$/$(PACKAGE)$/AnalyzeStartupLog.class \
+Index: helpcontent2/settings.pmk
+===================================================================
+RCS file: /cvs/documentation/helpcontent2/settings.pmk,v
+retrieving revision 1.5
+retrieving revision 1.5.106.1
+diff -u -r1.5 -r1.5.106.1
+--- helpcontent2/settings.pmk 29 Apr 2005 09:14:07 -0000 1.5
++++ helpcontent2/settings.pmk 17 Jan 2006 12:52:53 -0000 1.5.106.1
+@@ -1,5 +1,5 @@
+
+-my_cp:=$(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.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
++my_cp:=$(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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
+
+ .IF "$(SYSTEM_DB)" == "YES"
+ my_cp!:=$(my_cp)$(PATH_SEPERATOR)$(DB_JAR)
+Index: officecfg/org/openoffice/configuration/FileHelper.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/FileHelper.java,v
+retrieving revision 1.2
+retrieving revision 1.2.88.1
+diff -u -r1.2 -r1.2.88.1
+--- officecfg/org/openoffice/configuration/FileHelper.java 8 Sep 2005 14:42:51 -0000 1.2
++++ officecfg/org/openoffice/configuration/FileHelper.java 17 Jan 2006 11:28:49 -0000 1.2.88.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: FileHelper.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.88.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/08 14:42:51 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:28:49 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -62,7 +62,7 @@
+ File aFile = new File(sSource);
+
+ try {
+- absPath = aFile.getAbsoluteFile().toURL().toString();
++ absPath = aFile.getAbsolutePath();
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+Index: officecfg/org/openoffice/configuration/Generator.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/Generator.java,v
+retrieving revision 1.2
+retrieving revision 1.2.902.1
+diff -u -r1.2 -r1.2.902.1
+--- officecfg/org/openoffice/configuration/Generator.java 5 Jul 2001 08:04:36 -0000 1.2
++++ officecfg/org/openoffice/configuration/Generator.java 17 Jan 2006 11:28:50 -0000 1.2.902.1
+@@ -18,7 +18,7 @@
+ public Generator() throws Exception
+ {
+ // set the driver for xt
+- System.setProperty("com.jclark.xsl.sax.parser", "com.sun.xml.parser.Parser");
++ System.setProperty("com.jclark.xsl.sax.parser", "org.apache.xerces.parsers.SAXParser");
+ }
+
+ /**
+Index: officecfg/org/openoffice/configuration/XMLDefaultGenerator.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/XMLDefaultGenerator.java,v
+retrieving revision 1.4
+retrieving revision 1.4.88.1
+diff -u -r1.4 -r1.4.88.1
+--- officecfg/org/openoffice/configuration/XMLDefaultGenerator.java 8 Sep 2005 14:43:34 -0000 1.4
++++ officecfg/org/openoffice/configuration/XMLDefaultGenerator.java 17 Jan 2006 11:28:50 -0000 1.4.88.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XMLDefaultGenerator.java,v $
+ *
+- * $Revision: 1.4 $
++ * $Revision: 1.4.88.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/08 14:43:34 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:28:50 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -36,12 +36,10 @@
+
+ import org.xml.sax.*;
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.XmlDocument;
+ import org.xml.sax.SAXException;
+ import org.xml.sax.SAXParseException;
+ import javax.xml.parsers.SAXParserFactory;
+ import javax.xml.parsers.SAXParser;
+-import com.sun.xml.tree.*;
+ import java.util.*;
+ import java.io.*;
+ import com.jclark.xsl.sax.Driver;
+@@ -65,7 +63,7 @@
+ public XMLDefaultGenerator(String sourceFile) throws Exception
+ {
+ // set the driver for xt
+- System.setProperty("com.jclark.xsl.sax.parser", "com.sun.xml.parser.Parser");
++ System.setProperty("com.jclark.xsl.sax.parser", "org.apache.xerces.parsers.SAXParser");
+ evaluateSchema(sourceFile);
+ }
+
+Index: readlicense_oo/util/makefile.pmk
+===================================================================
+RCS file: /cvs/installation/readlicense/util/makefile.pmk,v
+retrieving revision 1.10
+retrieving revision 1.10.12.1
+diff -u -r1.10 -r1.10.12.1
+--- readlicense_oo/util/makefile.pmk 25 Oct 2005 10:43:44 -0000 1.10
++++ readlicense_oo/util/makefile.pmk 17 Jan 2006 11:15:07 -0000 1.10.12.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.pmk,v $
+ #
+-# $Revision: 1.10 $
++# $Revision: 1.10.12.1 $
+ #
+-# last change: $Author: hr $ $Date: 2005/10/25 10:43:44 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:15:07 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -70,7 +70,7 @@
+ $(MISC)$/readme%.html :
+ @+-$(MKDIR) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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%.txt :
+ @+-$(MKDIR) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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: scripting/java/build.xml
+===================================================================
+RCS file: /cvs/framework/scripting/java/build.xml,v
+retrieving revision 1.32
+retrieving revision 1.32.18.1
+diff -u -r1.32 -r1.32.18.1
+--- scripting/java/build.xml 9 Sep 2005 01:54:21 -0000 1.32
++++ scripting/java/build.xml 17 Jan 2006 11:15:56 -0000 1.32.18.1
+@@ -4,9 +4,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.32 $
++ $Revision: 1.32.18.1 $
+
+- last change: $Author: rt $ $Date: 2005/09/09 01:54:21 $
++ last change: $Author: cmc $ $Date: 2006/01/17 11:15:56 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -65,15 +65,11 @@
+
+ <path id="idesupport.class.path">
+ <pathelement path="${jardir}"/>
+- <!-- <pathelement path="${solar.jar}/jaxp.jar"/>
+- <pathelement path="${solar.jar}/parser.jar"/>
+- <pathelement path="${install.dir}/xerces.jar"/> -->
+ </path>
+
+ <path id="openide.class.path">
+ <pathelement path="${jardir}"/>
+ <pathelement path="${solar.jar}/openide.jar"/>
+- <!-- <pathelement path="${install.dir}/xerces.jar"/> -->
+ </path>
+
+ <path id="netbeans.editor.support.classpath">
+Index: solenv/bin/modules/installer/javainstaller.pm
+===================================================================
+RCS file: /cvs/tools/solenv/bin/modules/installer/javainstaller.pm,v
+retrieving revision 1.22
+retrieving revision 1.21.184.2
+diff -u -r1.22 -r1.21.184.2
+--- solenv/bin/modules/installer/javainstaller.pm 13 Jan 2006 15:01:29 -0000 1.22
++++ solenv/bin/modules/installer/javainstaller.pm 18 Jan 2006 12:05:44 -0000 1.21.184.2
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: javainstaller.pm,v $
+ #
+-# $Revision: 1.22 $
++# $Revision: 1.21.184.2 $
+ #
+-# last change: $Author: rt $ $Date: 2006/01/13 15:01:29 $
++# last change: $Author: cmc $ $Date: 2006/01/18 12:05:44 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -494,14 +494,14 @@
+
+ # The variable CLASSPATH has to contain:
+ # $installsdk/classes:$installsdk/classes/setupsdk.jar:
+- # $installsdk/classes/parser.jar:$installsdk/classes/jaxp.jar:
++ # $installsdk/classes/xercesImpl.jar:$installsdk/classes/xml-apis.jar:
+ # $installsdk/classes/ldapjdk.jar:$directory
+
+ my @additional_classpath = ();
+ push(@additional_classpath, "$installsdk\/classes");
+ push(@additional_classpath, "$installsdk\/installsdk.jar");
+- push(@additional_classpath, "$installsdk\/classes\/parser.jar");
+- push(@additional_classpath, "$installsdk\/classes\/jaxp.jar");
++ push(@additional_classpath, "$installsdk\/classes\/xml-apis.jar");
++ push(@additional_classpath, "$installsdk\/classes\/xercesImpl.jar");
+ push(@additional_classpath, "$directory");
+
+ my $newclasspathstring = "";
+Index: solenv/inc/tg_config.mk
+===================================================================
+RCS file: /cvs/tools/solenv/inc/tg_config.mk,v
+retrieving revision 1.6
+retrieving revision 1.6.184.1
+diff -u -r1.6 -r1.6.184.1
+--- solenv/inc/tg_config.mk 8 Sep 2005 09:42:41 -0000 1.6
++++ solenv/inc/tg_config.mk 17 Jan 2006 11:10:09 -0000 1.6.184.1
+@@ -1,12 +1,12 @@
+-#*************************************************************************
++#************************************************************************
+ #
+ # OpenOffice.org - a multi-platform office productivity suite
+ #
+ # $RCSfile: tg_config.mk,v $
+ #
+-# $Revision: 1.6 $
++# $Revision: 1.6.184.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/09/08 09:42:41 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:10:09 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -62,12 +62,12 @@
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+ .IF "$(NO_INSPECTION)"==""
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.configuration.Inspector $<
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_val.xsl $(@:d)$*.val componentName=$(PACKAGE).$*
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/sanity.xsl $(@:d)$*.san
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_trim.xsl $(@:d)$*.tmp
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_trim.xsl $(@:d)$*.tmp
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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,
+ # org.openoffice.configuration.Inspector should be replaced and the
+@@ -101,7 +101,7 @@
+ @+echo -------------+ creating locale dependent resource bundles
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/resource.xsl $@ locale={$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))}
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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$/, $@))} \
+@@ -129,11 +129,11 @@
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+ .IF "$(NO_INSPECTION)"==""
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.configuration.Inspector $<
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/alllang.xsl $(@:d)$*.tmp xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs schemaRoot=$(XCSROOT)$/registry$/schema
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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,
+ # org.openoffice.configuration.Inspector should be replaced and the
+@@ -170,8 +170,8 @@
+ @+echo -------------+ creating locale dependent entries
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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 \
+ --stringparam xcs $(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs \
+@@ -206,8 +206,8 @@
+ @+echo -------------+ creating a module file
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$(@:f:s/.xcu/.tmp/) $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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/) \
+ --stringparam xcs $(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$(<:b).xcs \
+Index: toolkit/test/accessibility/jawb.mf
+===================================================================
+RCS file: /cvs/gsl/toolkit/test/accessibility/jawb.mf,v
+retrieving revision 1.4
+retrieving revision 1.4.178.1
+diff -u -r1.4 -r1.4.178.1
+--- toolkit/test/accessibility/jawb.mf 23 Jul 2004 14:26:57 -0000 1.4
++++ toolkit/test/accessibility/jawb.mf 17 Jan 2006 11:03:18 -0000 1.4.178.1
+@@ -1,3 +1,3 @@
+ Manifest-Version: 1.0
+ Main-Class: AccessibilityWorkBench
+-Class-Path: classes.jar ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar xt.jar jaxp.jar
++Class-Path: classes.jar ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar xt.jar xml-apis.jar
+Index: xmerge/source/xmerge/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/build.xml,v
+retrieving revision 1.2
+retrieving revision 1.2.4.1
+diff -u -r1.2 -r1.2.4.1
+--- xmerge/source/xmerge/build.xml 24 Oct 2005 17:57:33 -0000 1.2
++++ xmerge/source/xmerge/build.xml 17 Jan 2006 10:54:44 -0000 1.2.4.1
+@@ -58,9 +58,8 @@
+ <property file="../inc/antbuild.properties"/>
+
+ <path id="classpath">
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ <pathelement location="${solar.jar}/unoil.jar"/>
+ <pathelement location="${solar.jar}/ridl.jar"/>
+ <pathelement location="${solar.jar}/jurt.jar"/>
+@@ -96,7 +95,7 @@
+ <attribute name="Specification-Vendor" value="OpenOffice.org"/>
+ <attribute name="Specification-Version" value="0.6.0"/>
+ <attribute name="Implementation-Version" value="#IMPL-VERSION#"/>
+- <attribute name="Class-Path" value="jaxp.jar parser.jar"/>
++ <attribute name="Class-Path" value="xml-apis.jar xercesImpl.jar"/>
+ </manifest>
+ </jar>
+ </target>
+Index: xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java,v
+retrieving revision 1.3
+retrieving revision 1.2.4.1
+diff -u -r1.3 -r1.2.4.1
+Index: xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml,v
+retrieving revision 1.2
+retrieving revision 1.2.4.1
+diff -u -r1.2 -r1.2.4.1
+--- xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml 24 Oct 2005 18:23:20 -0000 1.2
++++ xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml 17 Jan 2006 10:55:00 -0000 1.2.4.1
+@@ -79,9 +79,8 @@
+ <!-- classpath settings for javac tasks -->
+ <path id="classpath">
+ <pathelement location="${build.class}"/>
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ </path>
+
+ <!-- set whether we want to compile with or without deprecation -->
+Index: xmerge/util/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/util/build.xml,v
+retrieving revision 1.9
+retrieving revision 1.9.4.1
+diff -u -r1.9 -r1.9.4.1
+--- xmerge/util/build.xml 24 Oct 2005 18:23:52 -0000 1.9
++++ xmerge/util/build.xml 17 Jan 2006 10:55:05 -0000 1.9.4.1
+@@ -4,9 +4,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.9 $
++ $Revision: 1.9.4.1 $
+
+- last change: $Author: hr $ $Date: 2005/10/24 18:23:52 $
++ last change: $Author: cmc $ $Date: 2006/01/17 10:55:05 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -39,9 +39,8 @@
+ <property name="javadoc.dir" location="${build.dir}/javadoc"/>
+
+ <path id="classpath">
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ <pathelement location="${solar.jar}/unoil.jar"/>
+ <pathelement location="${solar.jar}/ridl.jar"/>
+ <pathelement location="${solar.jar}/jurt.jar"/>
+Index: xmerge/util/xmerge.mf
+===================================================================
+RCS file: /cvs/xml/xmerge/util/xmerge.mf,v
+retrieving revision 1.1
+retrieving revision 1.1.24.1
+diff -u -r1.1 -r1.1.24.1
+--- xmerge/util/xmerge.mf 7 Mar 2002 16:45:23 -0000 1.1
++++ xmerge/util/xmerge.mf 17 Jan 2006 10:55:11 -0000 1.1.24.1
+@@ -1,6 +1,6 @@
+ Manifest-Version: 1.0
+ Main-Class: org.openoffice.xmerge.test.Driver
+-Class-Path: jaxp.jar parser.jar
++Class-Path: xml-apis.jar xercesImpl.jar
+ Specification-Title: OpenOffice XMerge Framework
+ Specification-Vendor: OpenOffice.org
+ Specification-Version: 0.6.0
+Index: xmerge/workben/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/workben/build.xml,v
+retrieving revision 1.3
+retrieving revision 1.3.8.1
+diff -u -r1.3 -r1.3.8.1
+--- xmerge/workben/build.xml 9 Sep 2005 11:50:54 -0000 1.3
++++ xmerge/workben/build.xml 17 Jan 2006 10:55:13 -0000 1.3.8.1
+@@ -5,9 +5,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.3 $
++ $Revision: 1.3.8.1 $
+
+- last change: $Author: rt $ $Date: 2005/09/09 11:50:54 $
++ last change: $Author: cmc $ $Date: 2006/01/17 10:55:13 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -60,9 +60,8 @@
+ <!-- classpath settings for javac tasks -->
+ <path id="classpath">
+ <pathelement location="${build.class}"/>
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ </path>
+
+ <!-- set wether we want to compile with or without deprecation -->
+Index: xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java,v
+retrieving revision 1.2
+retrieving revision 1.2.2.1
+diff -u -r1.2 -r1.2.2.1
+--- xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java 16 Jan 2006 12:35:17 -0000 1.2
++++ xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java 19 Jan 2006 09:43:59 -0000 1.2.2.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: GCJFileURLStreamHandler.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.2.1 $
+ *
+- * last change: $Author: obo $ $Date: 2006/01/16 12:35:17 $
++ * last change: $Author: cmc $ $Date: 2006/01/19 09:43:59 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -43,12 +43,12 @@
+ import java.net.URLConnection;
+ import java.util.HashMap;
+
+-public class FileURLStreamHandler
++public class GCJFileURLStreamHandler
+ extends gnu.java.net.protocol.file.Handler {
+
+ private static HashMap cache = new HashMap();
+
+- FileURLStreamHandler() {
++ GCJFileURLStreamHandler() {
+ }
+
+ public URLConnection openConnection(URL url) throws IOException {
+Index: xmlhelp/source/com/sun/star/help/HelpCompiler.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/HelpCompiler.java,v
+retrieving revision 1.12
+retrieving revision 1.11.4.2
+diff -u -r1.12 -r1.11.4.2
+--- xmlhelp/source/com/sun/star/help/HelpCompiler.java 16 Jan 2006 12:35:49 -0000 1.12
++++ xmlhelp/source/com/sun/star/help/HelpCompiler.java 18 Jan 2006 12:08:35 -0000 1.11.4.2
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: HelpCompiler.java,v $
+ *
+- * $Revision: 1.12 $
++ * $Revision: 1.11.4.2 $
+ *
+- * last change: $Author: obo $ $Date: 2006/01/16 12:35:49 $
++ * last change: $Author: cmc $ $Date: 2006/01/18 12:08:35 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -38,6 +38,7 @@
+ import java.io.ByteArrayInputStream;
+ import java.io.File;
+ import java.io.IOException;
++import java.io.ByteArrayOutputStream;
+ import java.io.InputStreamReader;
+ import java.io.UnsupportedEncodingException;
+ import java.net.MalformedURLException;
+@@ -49,16 +50,20 @@
+ import java.util.LinkedList;
+ import java.util.List;
+
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
++
+ import org.w3c.dom.Document;
+ import org.w3c.dom.Element;
+ import org.w3c.dom.Node;
+ import org.w3c.dom.NodeList;
+ import org.w3c.dom.Text;
++import org.w3c.dom.traversal.DocumentTraversal;
++import org.w3c.dom.traversal.NodeFilter;
++import org.w3c.dom.traversal.TreeWalker;
++import org.w3c.dom.traversal.NodeIterator;
+ import org.xml.sax.InputSource;
+
+-import com.sun.xml.tree.TreeWalker;
+-import com.sun.xml.tree.XmlDocument;
+-
+ public class HelpCompiler {
+
+ private static final String makeRelPrefix = ".." + File.separator;
+@@ -98,25 +103,25 @@
+
+ }
+
+- private Object[] switchFind(Node node) {
++ private Object[] switchFind(Document doc) {
+ HashSet hs = new HashSet();
+- Node next;
+- TreeWalker tw = new TreeWalker(node);
+- while ((next = tw.getNextElement("switchinline")) != null) {
+- Element el = (Element) next;
+- if (!el.getAttribute("select").equals("appl"))
+- continue;
+-
+- NodeList nl = el.getChildNodes();
+- for (int i = 0; i < nl.getLength(); ++i) {
+- if (nl.item(i).getNodeName().equals("caseinline")) {
+- String appl = ((Element) nl.item(i)).getAttribute("select");
+- hs.add(appl);
+- } else if (nl.item(i).getNodeName().equals("defaultinline")) {
+- hs.add("DEFAULT");
+- }
+- }
+- }
++
++ NodeList nodelist = doc.getElementsByTagName("switchinline");
++
++ for (int j = 0; j < nodelist.getLength(); ++j) {
++ Element el = (Element) nodelist.item(j);
++ if (el.getAttribute("select").equals("appl")) {
++ NodeList nl = el.getChildNodes();
++ for (int i = 0; i < nl.getLength(); ++i) {
++ if (nl.item(i).getNodeName().equals("caseinline")) {
++ String appl = ((Element) nl.item(i)).getAttribute("select");
++ hs.add(appl);
++ } else if (nl.item(i).getNodeName().equals("defaultinline")) {
++ hs.add("DEFAULT");
++ }
++ }
++ }
++ }
+
+ hs.add("DEFAULT");
+ return hs.toArray();
+@@ -129,6 +134,9 @@
+ NodeList nl = node.getChildNodes();
+ for (int i = 0; i < nl.getLength(); ++i) {
+ Node n = nl.item(i);
++ if (n == null) {
++ continue;
++ }
+ if ((n.getNodeName().equals("switchinline")
+ || n.getNodeName().equals("switch"))
+ && ((Element) n).getAttribute("select").equals("appl")) {
+@@ -168,93 +176,119 @@
+ return parent;
+ }
+
+- public boolean compile() throws UnsupportedEncodingException {
+- // we now have the jaroutputstream, which will contain the document.
+- // now determine the document as a dom tree in variable docResolved
+- File inputFil = new File(inputFile);
+-
+- // HelpCompiler.getSourceDocument() takes a string that resembles an URL.
+- // Using inputFil.toURL() is way to expensive here,
+- // because it checks the filesystem to find out if inputFil
+- // might be a directory. This takes a lot of time if working from
+- // Windows via NFS on remote volumes. We "know" that inputfil is
+- // a file anyway.
+- String path;
+- if ( File.separatorChar == '\\' ) {
+- path = "file:/";
+- path += inputFil.getAbsolutePath();
+- path = path.replace('\\','/');
++ static byte[] docToBytes(Document doc) throws IOException {
++ ByteArrayOutputStream baos = new ByteArrayOutputStream();
++
++ java.lang.reflect.Constructor con;
++ java.lang.reflect.Method meth;
++ String domImpl = doc.getClass().getName();
++
++ /*
++ * We may have multiple XML parsers in the Classpath.
++ * Depending on which one is first, the actual type of
++ * doc may vary. Need a way to find out which API is being
++ * used and use an appropriate serialization method.
++ */
++ try {
++ // First of all try for JAXP 1.0
++ if (domImpl.equals("com.sun.xml.tree.XmlDocument")) {
++ Class jaxpDoc = Class.forName("com.sun.xml.tree.XmlDocument");
++
++ // The method is in the XMLDocument class itself, not a helper
++ meth = jaxpDoc.getMethod("write",
++ new Class[] { Class.forName("java.io.OutputStream") } );
++
++ meth.invoke(doc, new Object [] { baos } );
++ }
++ else if (domImpl.equals("org.apache.crimson.tree.XmlDocument")) {
++ Class crimsonDoc = Class.forName("org.apache.crimson.tree.XmlDocument");
++ // The method is in the XMLDocument class itself, not a helper
++ meth = crimsonDoc.getMethod("write",
++ new Class[] { Class.forName("java.io.OutputStream") } );
++
++ meth.invoke(doc, new Object [] { baos } );
++ }
++ else if (domImpl.equals("gnu.xml.dom.DomDocument")) {
++ Class gnuSer = Class.forName("gnu.xml.dom.ls.DomLSSerializer");
++
++ // Get the serialize method
++ meth = gnuSer.getMethod("serialize",
++ new Class [] { Class.forName("org.w3c.dom.Node"),
++ Class.forName("java.io.OutputStream") } );
++
++ // Get an instance
++ Object serializer = gnuSer.newInstance();
++
++ // Now call serialize to write the document
++ meth.invoke(serializer, new Object [] { doc, baos } );
++ }
++ else if (domImpl.equals("org.apache.xerces.dom.DocumentImpl")
++ || domImpl.equals("org.apache.xerces.dom.DeferredDocumentImpl")) {
++ // Try for Xerces
++ Class xercesSer =
++ Class.forName("org.apache.xml.serialize.XMLSerializer");
++
++ // Get the OutputStream constructor
++ // May want to use the OutputFormat parameter at some stage too
++ con = xercesSer.getConstructor(new Class []
++ { Class.forName("java.io.OutputStream"),
++ Class.forName("org.apache.xml.serialize.OutputFormat") } );
++
++
++ // Get the serialize method
++ meth = xercesSer.getMethod("serialize",
++ new Class [] { Class.forName("org.w3c.dom.Document") } );
++
++
++ // Get an instance
++ Object serializer = con.newInstance(new Object [] { baos, null } );
++
++
++ // Now call serialize to write the document
++ meth.invoke(serializer, new Object [] { doc } );
++ }
++ else {
++ // We don't have another parser
++ throw new IOException("No appropriate API (JAXP/Xerces) to serialize XML document: " + domImpl);
++ }
+ }
+- else {
+- path = "file:" + inputFil.getAbsolutePath();
++ catch (ClassNotFoundException cnfe) {
++ throw new IOException(cnfe.toString());
++ }
++ catch (Exception e) {
++ // We may get some other errors, but the bottom line is that
++ // the steps being executed no longer work
++ throw new IOException(e.toString());
+ }
+- byte[] embResolved = getSourceDocument(path);
+
+- // now add path to the document
+- // resolve the dom
+- if (embResolved == null) {
+- String sourcePath;
+- try {
+- sourcePath = inputFil.getCanonicalPath();
+- } catch (IOException e3) {
+- sourcePath = inputFil.getAbsolutePath();
+- }
+- System.err.println("ERROR: file not existing: " + sourcePath);
+- System.exit(1);
+- }
++ byte bytes[] = baos.toByteArray();
+
+- ByteArrayInputStream inByte = new ByteArrayInputStream(embResolved);
+- InputStreamReader inread;
+- try {
+- inread = new InputStreamReader(inByte, "UTF8");
+- } catch (UnsupportedEncodingException e) {
+- System.err.println(
+- "ERROR: unsupported Encoding '"
+- + inputFile
+- + "': "
+- + e.getMessage());
+- return false;
+- }
++ return bytes;
++ }
+
+- InputSource inputSource = new InputSource(inread);
+- inputSource.setEncoding("UTF8");
+- Document docResolvedOrg = null;
+- try {
+- docResolvedOrg = XmlDocument.createXmlDocument(inputSource, false);
+- } catch (Exception e) {
+- System.err.println(
+- "ERROR: XmlDocument.createXmlDocument() failed for '"
+- + inputFile
+- + "': "
+- + e.getMessage());
+- return false;
+- }
++ public class myparser {
++ HashSet hidlist = null;
++ HashSet extendedHelpText = null;
++ Hashtable keywords = null;
++ Hashtable helptexts = null;
++ String documentId = null;
++ String fileName = null;
++ String title = null;
++
++ public myparser(String indocumentId, String infileName, String intitle) {
++ hidlist = new HashSet();
++ extendedHelpText = new HashSet();
++ keywords = new Hashtable();
++ helptexts = new Hashtable();
++ documentId = indocumentId;
++ fileName = infileName;
++ title = intitle;
++ }
+
+- // now find all applications for which one has to compile
+- String documentId = null;
+- String fileName = null;
+- String title = null;
+- // returns all applications for which one has to compile
+- Object[] applications = switchFind(docResolvedOrg);
+-
+- for (int i = 0; i < applications.length; ++i) {
+- String appl = (String) applications[i];
+- // returns a clone of the document with swich-cases resolved
+- Element docResolved =
+- (Element) clone(docResolvedOrg.getDocumentElement(), appl);
+- // now determine the id of the document, which is part of the
+- // bookmark - tag (HID)
+- Node test;
+- TreeWalker treewalker = new TreeWalker(docResolved);
+- // a number to determine the anchor of the whole stuff
+- HashSet hidlist = new HashSet();
+- HashSet extendedHelpText = new HashSet();
+- Hashtable keywords = new Hashtable();
+- Hashtable helptexts = new Hashtable();
+-
+- while ((test = treewalker.getNext()) != null) {
+- if (fileName == null
+- && test.getNodeName().equals("filename")) {
++ public void traverse( Node parentNode ) {
++ // traverse all nodes that belong to the parent
++ for(Node test=parentNode.getFirstChild(); test!=null; test=test.getNextSibling()) {
++ if (fileName == null && test.getNodeName().equals("filename")) {
+ NodeList list = test.getChildNodes();
+ Node node = list.item(0);
+ if (node.getNodeType() == Node.TEXT_NODE)
+@@ -332,15 +366,102 @@
+ if (!extendedHelpText.isEmpty())
+ extendedHelpText = new HashSet();
+ }
+- } // now save the info
++ // traverse children
++ traverse(test);
++ }
++ }
++ }
++
++ public boolean compile() throws UnsupportedEncodingException, java.io.IOException {
++ // we now have the jaroutputstream, which will contain the document.
++ // now determine the document as a dom tree in variable docResolved
++ String absolutePath;
++ String sourcePath;
++ File inputFil = new File(inputFile);
++ try {
++ absolutePath = inputFil.getCanonicalPath();
++ } catch (IOException e3) {
++ absolutePath = inputFil.getAbsolutePath();
++ }
++ try {
++ sourcePath = new File(src).getCanonicalPath();
++ } catch (IOException e3) {
++ sourcePath = new File(inputFile).getAbsolutePath();
++ }
++
++ byte[] embResolved = null;
++ try {
++ embResolved = getSourceDocument(inputFil.toURL().toExternalForm());
++ } catch (MalformedURLException e4) {
++ System.err.println(
++ "ERROR: malformed URL '" + inputFile + "': " + e4.getMessage());
++ return false;
++ }
++
++ // now add path to the document
++ // resolve the dom
++ if (embResolved == null) {
++ System.err.println("ERROR: file not existing: " + sourcePath);
++ System.exit(1);
++ }
++
++ ByteArrayInputStream inByte = new ByteArrayInputStream(embResolved);
++ InputStreamReader inread;
++ try {
++ inread = new InputStreamReader(inByte, "UTF8");
++ } catch (UnsupportedEncodingException e) {
++ System.err.println(
++ "ERROR: unsupported Encoding '"
++ + inputFile
++ + "': "
++ + e.getMessage());
++ return false;
++ }
++
++ InputSource inputSource = new InputSource(inread);
++ inputSource.setEncoding("UTF8");
++ Document docResolvedOrg = null;
++ try {
++ //System.err.println("Compiling " + inputFile);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ docResolvedOrg = dBuilder.parse(inputSource);
++ } catch (Exception e) {
++ System.err.println(
++ "ERROR: XmlDocument.createXmlDocument() failed for '"
++ + inputFile
++ + "': "
++ + e.getMessage());
++ return false;
++ }
++
++ // now find all applications for which one has to compile
++ String documentId = null;
++ String fileName = null;
++ String title = null;
++ // returns all applications for which one has to compile
++ Object[] applications = switchFind(docResolvedOrg);
++
++ for (int i = 0; i < applications.length; ++i) {
++ String appl = (String) applications[i];
++ // returns a clone of the document with swich-cases resolved
++ Element docResolved =
++ (Element) clone(docResolvedOrg.getDocumentElement(), appl);
++
++ myparser aparser = new myparser(documentId, fileName, title);
++ aparser.traverse(docResolved);
++ documentId = aparser.documentId;
++ fileName = aparser.fileName;
++ title = aparser.title;
+
+ addEntryToJarFile(
+ appl,
+ "text",
+- docResolved.toString().getBytes("UTF8"));
+- addEntryToJarFile(appl, "hidlist", hidlist);
+- addEntryToJarFile(appl, "helptexts", helptexts);
+- addEntryToJarFile(appl, "keywords", keywords);
++ docToBytes(docResolved.getOwnerDocument()));
++ addEntryToJarFile(appl, "hidlist", aparser.hidlist);
++ addEntryToJarFile(appl, "helptexts", aparser.helptexts);
++ addEntryToJarFile(appl, "keywords", aparser.keywords);
+ } // end iteration over all applications
+
+ try {
+Index: xmlhelp/source/com/sun/star/help/HelpIndexer.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/HelpIndexer.java,v
+retrieving revision 1.16
+retrieving revision 1.16.20.1
+diff -u -r1.16 -r1.16.20.1
+--- xmlhelp/source/com/sun/star/help/HelpIndexer.java 25 Oct 2005 11:24:55 -0000 1.16
++++ xmlhelp/source/com/sun/star/help/HelpIndexer.java 17 Jan 2006 11:20:47 -0000 1.16.20.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: HelpIndexer.java,v $
+ *
+- * $Revision: 1.16 $
++ * $Revision: 1.16.20.1 $
+ *
+- * last change: $Author: hr $ $Date: 2005/10/25 11:24:55 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:20:47 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -46,7 +46,6 @@
+ import java.util.*;
+
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.*;
+ import org.xml.sax.*;
+ import javax.xml.parsers.*;
+ import com.jclark.xsl.sax.*;
+@@ -246,7 +245,10 @@
+ in.setEncoding("UTF8");
+ Document docResolved = null;
+ try {
+- docResolved = XmlDocument.createXmlDocument(in, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ docResolved = dBuilder.parse(in);
+ } catch (Exception e) {
+ if (docResolved == null)
+ System.err.println("Nullpointer");
+Index: xmlhelp/source/com/sun/star/help/makefile.mk
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/makefile.mk,v
+retrieving revision 1.21
+retrieving revision 1.21.2.1
+diff -u -r1.21 -r1.21.2.1
+--- xmlhelp/source/com/sun/star/help/makefile.mk 16 Jan 2006 12:42:15 -0000 1.21
++++ xmlhelp/source/com/sun/star/help/makefile.mk 19 Jan 2006 14:48:36 -0000 1.21.2.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.21 $
++# $Revision: 1.21.2.1 $
+ #
+-# last change: $Author: obo $ $Date: 2006/01/16 12:42:15 $
++# last change: $Author: cmc $ $Date: 2006/01/19 14:48:36 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -42,7 +42,7 @@
+
+ .INCLUDE : settings.mk
+
+-JARFILES = jaxp.jar parser.jar xt.jar unoil.jar ridl.jar jurt.jar jut.jar xmlsearch.jar
++JARFILES = xml-apis.jar xercesImpl.jar xt.jar unoil.jar ridl.jar jurt.jar jut.jar xmlsearch.jar
+ EXTRAJARFILES =
+
+ .IF "$(SYSTEM_DB)" == "YES"
+Index: XmlSearch/src/com/sun/xmlsearch/makefile.mk
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/makefile.mk,v
+retrieving revision 1.5
+retrieving revision 1.5.6.1
+diff -u -r1.5 -r1.5.6.1
+--- XmlSearch/src/com/sun/xmlsearch/makefile.mk 25 Oct 2005 11:11:58 -0000 1.5
++++ XmlSearch/src/com/sun/xmlsearch/makefile.mk 17 Jan 2006 10:54:03 -0000 1.5.6.1
+@@ -3,9 +3,9 @@
+ #* $Workfile:$
+ #*
+ #* Creation date KR 28.06.99
+-#* last change $Author: hr $ $Date: 2005/10/25 11:11:58 $
++#* last change $Author: cmc $ $Date: 2006/01/17 10:54:03 $
+ #*
+-#* $Revision: 1.5 $
++#* $Revision: 1.5.6.1 $
+ #*
+ #* $Logfile:$
+ #*
+@@ -21,8 +21,7 @@
+
+ .INCLUDE : settings.mk
+
+-JARFILES = jaxp.jar parser.jar xt.jar
+-#EXTRAJARFILES = jaxp.jar parser.jar xt.jar
++JARFILES = xpi-apis.jar xercesImpl.jar xt.jar
+
+ JAVAFILES = $(subst,$(CLASSDIR)$/$(PACKAGE)$/, $(subst,.class,.java $(JAVACLASSFILES)))
+
+Index: XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java 9 Sep 2005 16:41:49 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java 17 Jan 2006 10:54:04 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: TreeBuilder.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:41:49 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:04 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -46,7 +46,8 @@
+ import org.xml.sax.HandlerBase;
+ import org.xml.sax.AttributeList;
+ import org.xml.sax.InputSource;
+-import com.sun.xml.parser.Parser;
++import javax.xml.parsers.SAXParserFactory;
++import javax.xml.parsers.SAXParser;
+ import com.sun.xmlsearch.util.IntegerArray;
+ import com.jclark.xsl.om.*;
+
+@@ -610,22 +611,29 @@
+ }
+ } // end of SubstitutedElement
+
++ private SAXParser getParser() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
++ {
++ SAXParserFactory spf = SAXParserFactory.newInstance();
++ spf.setValidating(false);
++ return spf.newSAXParser();
++ }
++
+ private static final int InitStackSize = 256;
+ private static final Name EmptyName = null;
+- private Parser _parser = new Parser();
++ private SAXParser _parser = null;
+ private Hashtable _names = new Hashtable(256);
+
+ private NameTable _nameTable;
+ private NamespacePrefixMap _nsMap;
+
+- public TreeBuilder() {
++ public TreeBuilder() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException {
+ this(new NameTableImpl());
+ }
+
+- public TreeBuilder(NameTable nameTable) {
++ public TreeBuilder(NameTable nameTable) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException {
++ _parser = getParser();
+ _nameTable = nameTable;
+ _nsMap = _nameTable.getEmptyNamespacePrefixMap();
+- _parser.setFastStandalone(true);
+ }
+
+ public Node makeSubstituteElement(Name name, Node2[] children, Node original) {
+@@ -917,9 +925,8 @@
+
+ public synchronized Node getRoot(InputSource input) {
+ try {
+- _parser.setDocumentHandler(this);
+ // long start = System.currentTimeMillis();
+- _parser.parse(input);
++ _parser.parse(input, this);
+ /*
+ System.out.println((System.currentTimeMillis()-start)
+ +" msec parse");
+Index: XmlSearch/src/com/sun/xmlsearch/util/Configuration.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/util/Configuration.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/util/Configuration.java 9 Sep 2005 16:45:09 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/util/Configuration.java 17 Jan 2006 10:54:05 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: Configuration.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:45:09 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:05 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -40,8 +40,8 @@
+ import java.util.Vector;
+ import java.net.URL;
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.XmlDocument;
+-import com.sun.xml.parser.Resolver;
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
+ import org.xml.sax.InputSource;
+
+ public final class Configuration {
+@@ -68,14 +68,19 @@
+ }
+
+ public static Element parse(URL location) throws Exception {
+- InputSource input = Resolver.createInputSource(location, true);
+- XmlDocument document = XmlDocument.createXmlDocument(input, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document document = dBuilder.parse(location.openStream());
+ return document.getDocumentElement();
+ }
+
+ public static Element parse(byte[] xmlBytes) throws Exception {
+ ByteArrayInputStream input = new ByteArrayInputStream(xmlBytes);
+- XmlDocument document = XmlDocument.createXmlDocument(input, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document document = dBuilder.parse(input);
+ return document.getDocumentElement();
+ }
+
+Index: XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java,v
+retrieving revision 1.7
+retrieving revision 1.7.12.1
+diff -u -r1.7 -r1.7.12.1
+--- XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java 9 Sep 2005 16:52:56 -0000 1.7
++++ XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java 17 Jan 2006 10:54:06 -0000 1.7.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XmlIndexBuilder.java,v $
+ *
+- * $Revision: 1.7 $
++ * $Revision: 1.7.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:52:56 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:06 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -42,15 +42,17 @@
+ import java.net.URL;
+ import org.xml.sax.InputSource;
+ import org.xml.sax.HandlerBase;
+-import com.sun.xml.parser.Resolver;
+-import com.sun.xml.tree.XmlDocument;
+ import com.sun.xmlsearch.tree.*;
+ import com.sun.xmlsearch.util.*;
+ import com.sun.xmlsearch.db.*;
+ import com.sun.xmlsearch.xml.XmlIndex;
+
+-import com.sun.xml.parser.Parser;
+-import com.sun.xml.parser.ValidatingParser;
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
++import javax.xml.parsers.SAXParserFactory;
++import javax.xml.parsers.SAXParser;
++import org.xml.sax.Parser;
++import org.w3c.dom.Document;
+
+ import com.jclark.xsl.om.*;
+ import com.jclark.xsl.sax.*;
+@@ -465,8 +467,10 @@
+ public void indexDocument(URL docURL, String title) throws Exception {
+ InputSource source = new InputSource(docURL.openStream());
+ source.setSystemId(docURL.toString());
+- Parser sourceParser = new Parser();
+- sourceParser.setFastStandalone(true);
++ SAXParserFactory spf = SAXParserFactory.newInstance();
++ spf.setValidating(false);
++ SAXParser saxParser = spf.newSAXParser();
++ Parser sourceParser = saxParser.getParser();
+ XMLProcessorEx sourceLoader = new XMLProcessorImpl(sourceParser);
+ // long start = System.currentTimeMillis();
+ Node root =
+@@ -545,8 +549,10 @@
+ }
+ // System.out.println(stylesheetUrl.toString());
+ InputStream stylesheetStream = stylesheetUrl.openStream();
+- XmlDocument sheet =
+- XmlDocument.createXmlDocument(stylesheetStream, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document sheet = dBuilder.parse(stylesheetStream);
+ return _transformEngine.createTransform(sheet);
+ }
+
+Index: XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java 9 Sep 2005 16:53:09 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java 17 Jan 2006 10:54:07 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XmlIndexer.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:53:09 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:07 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -39,8 +39,6 @@
+ import java.io.*;
+ import java.util.*;
+
+-import com.sun.xml.tree.XmlDocument;
+-import com.sun.xml.parser.Resolver;
+ import org.w3c.dom.*;
+ import org.xml.sax.InputSource;
+ import org.xml.sax.SAXException;
diff --git a/editors/openoffice.org-2.0-devel/files/gcj-patches b/editors/openoffice.org-2.0-devel/files/gcj-patches
new file mode 100644
index 000000000000..aeb80007018b
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/gcj-patches
@@ -0,0 +1,137 @@
+Index: wizards/com/sun/star/wizards/ui/FilterComponent.java
+===================================================================
+RCS file: /cvs/installation/wizards/com/sun/star/wizards/ui/FilterComponent.java,v
+retrieving revision 1.8
+diff -u -r1.8 FilterComponent.java
+--- wizards/com/sun/star/wizards/ui/FilterComponent.java 28 Dec 2005 17:25:36 -0000 1.8
++++ wizards/com/sun/star/wizards/ui/FilterComponent.java 27 Jan 2006 22:55:38 -0000
+@@ -261,10 +261,7 @@
+ case DataType.BOOLEAN:
+ double dblvalue = ((Double) curValue).doubleValue();
+ curValue = new Boolean(dblvalue == 1.0);
+- /**TODO: 1) Datei SingleSelectQueryComposer modifizieren:
+- / Zeilen 1525ff in Methode auslagern und Aufruf in Zeile 1356 ändern TypeConverter is parameter
+- * 2) setDisplayCondition ändern
+- */
++ /* */
+ break;
+ default:
+ curValue = String.valueOf(curValue);
+
+Index: solenv/inc/settings.mk
+===================================================================
+RCS file: /cvs/tools/solenv/inc/settings.mk,v
+retrieving revision 1.185
+diff -u -r1.185 settings.mk
+--- solenv/inc/settings.mk 20 Jan 2006 12:09:20 -0000 1.185
++++ solenv/inc/settings.mk 27 Jan 2006 23:11:31 -0000
+@@ -187,7 +187,8 @@
+
+ #required arguments
+ .IF "$(JAVACACHE)" != ""
+-JAVAC=$(JAVACOMPILER) --encoding=ISO-8859-15 -O2 -fno-assert -Wno-deprecated -C
++#JAVAC=$(JAVACOMPILER) --encoding=ISO-8859-15 -O2 -fno-assert -Wno-deprecated -C
++JAVAC=$(JAVACOMPILER) --encoding=UTF-8 -O2 -fno-assert -Wno-deprecated -C
+ JAVAI=$(JAVAINTERPRETER) -Dgnu.gcj.precompiled.db.path=$(GCJ_DATABASE)
+ .ELSE
+ JAVAC=$(JAVACOMPILER)
+
+Index: source/ui/slidesorter/cache/SlsQueueProcessor.hxx
+===================================================================
+RCS file: /cvs/graphics/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx,v
+retrieving revision 1.10
+diff -u -p -u -r1.10 SlsQueueProcessor.hxx
+--- sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx 19 Jan 2006 12:52:20 -0000 1.10
++++ sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx 26 Jan 2006 08:29:38 -0000
+@@ -164,7 +164,7 @@ template <class Queue, class RequestData
+ while ( ! mrQueue.IsEmpty())
+ {
+ // Determine whether the system is idle.
+- sal_Int32 nIdleState (tools::IdleDetection::GetIdleState(mrView.GetWindow()));
++ sal_Int32 nIdleState (tools::IdleDetection::GetIdleState(static_cast< ::Window* >(mrView.GetWindow())));
+ if (nIdleState != tools::IdleDetection::IDET_IDLE)
+ {
+ if ((nIdleState&tools::IdleDetection::IDET_FULL_SCREEN_SHOW_ACTIVE) != 0)
+
+Index: config_office/configure.in
+===================================================================
+RCS file: /cvs/tools/config_office/configure.in,v
+retrieving revision 1.150
+diff -u -r1.150 configure.in
+--- config_office/configure.in 20 Jan 2006 13:28:25 -0000 1.150
++++ config_office/configure.in 2 Feb 2006 05:13:30 -0000
+@@ -1975,6 +1975,7 @@
+ dnl Checks for javadoc
+ dnl ===================================================================
+ if test "$SOLAR_JAVA" != ""; then
++ if test "$JDK" != "gcj"; then
+ if test -z "$with_jdk_home"; then
+ AC_PATH_PROG(JAVADOC, javadoc)
+ else
+@@ -1996,6 +1997,9 @@
+ JAVADOC=`cygpath -d "$JAVADOC"`
+ JAVADOC=`cygpath -u "$JAVADOC"`
+ fi
++ else
++ AC_PATH_PROG(JAVADOC, gjdoc)
++ fi
+ fi
+
+ if test "$SOLAR_JAVA" != ""; then
+@@ -2032,8 +2036,14 @@
+ if test "$JDK" = "gcj"; then
+ save_CFLAGS=$CFLAGS
+ save_LDFLAGS=$LDFLAGS
+- CFLAGS="$CFLAGS -I$JAVA_HOME/include"
+- LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj"
++ CFLAGS="$CFLAGS -I$JAVA_HOME/include -pthread"
++ LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj -pthread"
++ JAR="$JAVA_HOME/bin/fastjar"
++ JAVACMD="$JAVA_HOME/bin/gij"
++ JAVA="$JAVA_HOME/bin/gij"
++ AC_SUBST(JAVA)
++ AC_SUBST(JAVACMD)
++ AC_SUBST(JAR)
+ AC_CHECK_HEADER(jni.h, [],
+ [AC_MSG_ERROR([jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?])], [])
+
+@@ -4214,7 +4224,7 @@
+ EOF
+ oldJAVA_HOME=$JAVA_HOME
+ if test "$JDK" = "gcj"; then
+- JAVA_HOME=; export JAVA_HOME
++ JAVACMD="$JAVA_HOME/bin/gij"; export JAVACMD
+ ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2"
+ else
+ ant_cmd="$ANT -buildfile conftest.xml 1>&2"
+Index: config_office/set_soenv.in
+===================================================================
+RCS file: /cvs/tools/config_office/set_soenv.in,v
+retrieving revision 1.86
+diff -u -r1.86 set_soenv.in
+--- config_office/set_soenv.in 13 Jan 2006 16:37:16 -0000 1.86
++++ config_office/set_soenv.in 2 Feb 2006 05:13:31 -0000
+@@ -68,7 +68,7 @@
+ #
+ # Help variables.
+ my ( $USR, $ETC, $BIN, $LIB, $LIB64, $INC, $INCLUDE, $DEV, $OPT, $LOCAL, $SOLENV, $SOLVER, $CONFIG,
+- $USR_BIN, $USR_LIB, $USR_LOCAL, $USR_CCS, $JAVA_BIN, $JAVA_LIB, $JAVA_INCLUDE,
++ $USR_BIN, $USR_LIB, $USR_LOCAL, $USR_CCS, $JAVA_BIN, $JAVA_LIB, $JAVA_INCLUDE, $JAVACMD, $JAVA, $JAR,
+ $SOLARENVINC, $USR_DT, $USR_OPENWIN, $TCSH_PATH, $XLIB, $XINC,
+ $CYGWIN_PATH, $language, $dict, $ASM_PATH, $ps_STLPORT_LIB, $L_STLPORT_LIB,
+ $STLPORT_stlport, $STLPORT_inc_stlport, $PERL_PATH );
+@@ -1679,6 +1679,9 @@
+ ToFile( "JAVAINTERPRETER", "@JAVAINTERPRETER@","e" );
+ ToFile( "JAVACOMPILER", "@JAVACOMPILER@", "e" );
+ ToFile( "JAVADOC", "@JAVADOC@", "e" );
++ ToFile( "JAVA", "@JAVA@", "e" );
++ ToFile( "JAVACMD", "@JAVACMD@", "e" );
++ ToFile( "JAR", "@JAR@", "e" );
+ }
+ if ( $platform =~ m/darwin/ )
+ { ToFile( "DYLD_LIBRARY_PATH", $LD_LIBRARY_PATH, "e" );
+
+Javadoc@xmerge http://qa.openoffice.org/issues/show_bug.cgi?id=57286
+JAVA@berkeleydb http://qa.openoffice.org/issues/show_bug.cgi?id=54657
+JAVACMD@ant
+JAR@berkeleydb
diff --git a/editors/openoffice.org-2.0-devel/files/patch-Python-2.3.4.patch b/editors/openoffice.org-2.0-devel/files/patch-Python-2.3.4.patch
deleted file mode 100644
index 41b3577a44c6..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-Python-2.3.4.patch
+++ /dev/null
@@ -1,752 +0,0 @@
-Issuetracker : #i53287#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : Support for FreeBSD 6 and 7
-
-Index: python/Python-2.3.4.patch
-===================================================================
-RCS file: /cvs/external/python/Python-2.3.4.patch,v
-retrieving revision 1.6
-diff -u -r1.6 Python-2.3.4.patch
---- python/Python-2.3.4.patch 3 Mar 2005 17:33:54 -0000 1.6
-+++ python/Python-2.3.4.patch 8 Aug 2005 21:50:08 -0000
-@@ -13776,3 +13776,739 @@
- atheos*) DYNLOADFILE="dynload_atheos.o";;
- *)
- # use dynload_shlib.c and dlopen() if we have it; otherwise stub
-+*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:26:23 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:20:25 2005
-+***************
-+*** 0 ****
-+--- 1,355 ----
-++ # Generated by h2py from /usr/include/netinet/in.h
-++ IPPROTO_IP = 0
-++ IPPROTO_HOPOPTS = 0
-++ IPPROTO_ICMP = 1
-++ IPPROTO_IGMP = 2
-++ IPPROTO_GGP = 3
-++ IPPROTO_IPV4 = 4
-++ IPPROTO_IPIP = IPPROTO_IPV4
-++ IPPROTO_TCP = 6
-++ IPPROTO_ST = 7
-++ IPPROTO_EGP = 8
-++ IPPROTO_PIGP = 9
-++ IPPROTO_RCCMON = 10
-++ IPPROTO_NVPII = 11
-++ IPPROTO_PUP = 12
-++ IPPROTO_ARGUS = 13
-++ IPPROTO_EMCON = 14
-++ IPPROTO_XNET = 15
-++ IPPROTO_CHAOS = 16
-++ IPPROTO_UDP = 17
-++ IPPROTO_MUX = 18
-++ IPPROTO_MEAS = 19
-++ IPPROTO_HMP = 20
-++ IPPROTO_PRM = 21
-++ IPPROTO_IDP = 22
-++ IPPROTO_TRUNK1 = 23
-++ IPPROTO_TRUNK2 = 24
-++ IPPROTO_LEAF1 = 25
-++ IPPROTO_LEAF2 = 26
-++ IPPROTO_RDP = 27
-++ IPPROTO_IRTP = 28
-++ IPPROTO_TP = 29
-++ IPPROTO_BLT = 30
-++ IPPROTO_NSP = 31
-++ IPPROTO_INP = 32
-++ IPPROTO_SEP = 33
-++ IPPROTO_3PC = 34
-++ IPPROTO_IDPR = 35
-++ IPPROTO_XTP = 36
-++ IPPROTO_DDP = 37
-++ IPPROTO_CMTP = 38
-++ IPPROTO_TPXX = 39
-++ IPPROTO_IL = 40
-++ IPPROTO_IPV6 = 41
-++ IPPROTO_SDRP = 42
-++ IPPROTO_ROUTING = 43
-++ IPPROTO_FRAGMENT = 44
-++ IPPROTO_IDRP = 45
-++ IPPROTO_RSVP = 46
-++ IPPROTO_GRE = 47
-++ IPPROTO_MHRP = 48
-++ IPPROTO_BHA = 49
-++ IPPROTO_ESP = 50
-++ IPPROTO_AH = 51
-++ IPPROTO_INLSP = 52
-++ IPPROTO_SWIPE = 53
-++ IPPROTO_NHRP = 54
-++ IPPROTO_ICMPV6 = 58
-++ IPPROTO_NONE = 59
-++ IPPROTO_DSTOPTS = 60
-++ IPPROTO_AHIP = 61
-++ IPPROTO_CFTP = 62
-++ IPPROTO_HELLO = 63
-++ IPPROTO_SATEXPAK = 64
-++ IPPROTO_KRYPTOLAN = 65
-++ IPPROTO_RVD = 66
-++ IPPROTO_IPPC = 67
-++ IPPROTO_ADFS = 68
-++ IPPROTO_SATMON = 69
-++ IPPROTO_VISA = 70
-++ IPPROTO_IPCV = 71
-++ IPPROTO_CPNX = 72
-++ IPPROTO_CPHB = 73
-++ IPPROTO_WSN = 74
-++ IPPROTO_PVP = 75
-++ IPPROTO_BRSATMON = 76
-++ IPPROTO_ND = 77
-++ IPPROTO_WBMON = 78
-++ IPPROTO_WBEXPAK = 79
-++ IPPROTO_EON = 80
-++ IPPROTO_VMTP = 81
-++ IPPROTO_SVMTP = 82
-++ IPPROTO_VINES = 83
-++ IPPROTO_TTP = 84
-++ IPPROTO_IGP = 85
-++ IPPROTO_DGP = 86
-++ IPPROTO_TCF = 87
-++ IPPROTO_IGRP = 88
-++ IPPROTO_OSPFIGP = 89
-++ IPPROTO_SRPC = 90
-++ IPPROTO_LARP = 91
-++ IPPROTO_MTP = 92
-++ IPPROTO_AX25 = 93
-++ IPPROTO_IPEIP = 94
-++ IPPROTO_MICP = 95
-++ IPPROTO_SCCSP = 96
-++ IPPROTO_ETHERIP = 97
-++ IPPROTO_ENCAP = 98
-++ IPPROTO_APES = 99
-++ IPPROTO_GMTP = 100
-++ IPPROTO_IPCOMP = 108
-++ IPPROTO_PIM = 103
-++ IPPROTO_PGM = 113
-++ IPPROTO_DIVERT = 254
-++ IPPROTO_RAW = 255
-++ IPPROTO_MAX = 256
-++ IPPROTO_DONE = 257
-++ IPPORT_RESERVED = 1024
-++ IPPORT_USERRESERVED = 5000
-++ IPPORT_HIFIRSTAUTO = 49152
-++ IPPORT_HILASTAUTO = 65535
-++ IPPORT_RESERVEDSTART = 600
-++ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0)
-++
-++ IN_CLASSA_NET = 0xff000000
-++ IN_CLASSA_NSHIFT = 24
-++ IN_CLASSA_HOST = 0x00ffffff
-++ IN_CLASSA_MAX = 128
-++ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000)
-++
-++ IN_CLASSB_NET = 0xffff0000
-++ IN_CLASSB_NSHIFT = 16
-++ IN_CLASSB_HOST = 0x0000ffff
-++ IN_CLASSB_MAX = 65536
-++ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000)
-++
-++ IN_CLASSC_NET = 0xffffff00
-++ IN_CLASSC_NSHIFT = 8
-++ IN_CLASSC_HOST = 0x000000ff
-++ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
-++
-++ IN_CLASSD_NET = 0xf0000000
-++ IN_CLASSD_NSHIFT = 28
-++ IN_CLASSD_HOST = 0x0fffffff
-++ def IN_MULTICAST(i): return IN_CLASSD(i)
-++
-++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ INADDR_NONE = 0xffffffff
-++ IN_LOOPBACKNET = 127
-++ INET_ADDRSTRLEN = 16
-++ IP_OPTIONS = 1
-++ IP_HDRINCL = 2
-++ IP_TOS = 3
-++ IP_TTL = 4
-++ IP_RECVOPTS = 5
-++ IP_RECVRETOPTS = 6
-++ IP_RECVDSTADDR = 7
-++ IP_RETOPTS = 8
-++ IP_MULTICAST_IF = 9
-++ IP_MULTICAST_TTL = 10
-++ IP_MULTICAST_LOOP = 11
-++ IP_ADD_MEMBERSHIP = 12
-++ IP_DROP_MEMBERSHIP = 13
-++ IP_MULTICAST_VIF = 14
-++ IP_RSVP_ON = 15
-++ IP_RSVP_OFF = 16
-++ IP_RSVP_VIF_ON = 17
-++ IP_RSVP_VIF_OFF = 18
-++ IP_PORTRANGE = 19
-++ IP_RECVIF = 20
-++ IP_IPSEC_POLICY = 21
-++ IP_FAITH = 22
-++ IP_FW_ADD = 50
-++ IP_FW_DEL = 51
-++ IP_FW_FLUSH = 52
-++ IP_FW_ZERO = 53
-++ IP_FW_GET = 54
-++ IP_FW_RESETLOG = 55
-++ IP_DUMMYNET_CONFIGURE = 60
-++ IP_DUMMYNET_DEL = 61
-++ IP_DUMMYNET_FLUSH = 62
-++ IP_DUMMYNET_GET = 64
-++ IP_DEFAULT_MULTICAST_TTL = 1
-++ IP_DEFAULT_MULTICAST_LOOP = 1
-++ IP_MAX_MEMBERSHIPS = 20
-++ IP_PORTRANGE_DEFAULT = 0
-++ IP_PORTRANGE_HIGH = 1
-++ IP_PORTRANGE_LOW = 2
-++ IPPROTO_MAXID = (IPPROTO_AH + 1)
-++ IPCTL_FORWARDING = 1
-++ IPCTL_SENDREDIRECTS = 2
-++ IPCTL_DEFTTL = 3
-++ IPCTL_DEFMTU = 4
-++ IPCTL_RTEXPIRE = 5
-++ IPCTL_RTMINEXPIRE = 6
-++ IPCTL_RTMAXCACHE = 7
-++ IPCTL_SOURCEROUTE = 8
-++ IPCTL_DIRECTEDBROADCAST = 9
-++ IPCTL_INTRQMAXLEN = 10
-++ IPCTL_INTRQDROPS = 11
-++ IPCTL_STATS = 12
-++ IPCTL_ACCEPTSOURCEROUTE = 13
-++ IPCTL_FASTFORWARDING = 14
-++ IPCTL_KEEPFAITH = 15
-++ IPCTL_GIF_TTL = 16
-++ IPCTL_MAXID = 17
-++
-++ # Included from netinet6/in6.h
-++
-++ # Included from sys/queue.h
-++ def SLIST_HEAD_INITIALIZER(head): return \
-++
-++ def SLIST_ENTRY(type): return \
-++
-++ def STAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def STAILQ_ENTRY(type): return \
-++
-++ def LIST_HEAD_INITIALIZER(head): return \
-++
-++ def LIST_ENTRY(type): return \
-++
-++ def TAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def TAILQ_ENTRY(type): return \
-++
-++ def CIRCLEQ_ENTRY(type): return \
-++
-++ __KAME_VERSION = "20000701/FreeBSD-current"
-++ IPV6PORT_RESERVED = 1024
-++ IPV6PORT_ANONMIN = 49152
-++ IPV6PORT_ANONMAX = 65535
-++ IPV6PORT_RESERVEDMIN = 600
-++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
-++ INET6_ADDRSTRLEN = 46
-++ IPV6_ADDR_INT32_ONE = 1
-++ IPV6_ADDR_INT32_TWO = 2
-++ IPV6_ADDR_INT32_MNL = 0xff010000
-++ IPV6_ADDR_INT32_MLL = 0xff020000
-++ IPV6_ADDR_INT32_SMP = 0x0000ffff
-++ IPV6_ADDR_INT16_ULL = 0xfe80
-++ IPV6_ADDR_INT16_USL = 0xfec0
-++ IPV6_ADDR_INT16_MLL = 0xff02
-++ IPV6_ADDR_INT32_ONE = 0x01000000
-++ IPV6_ADDR_INT32_TWO = 0x02000000
-++ IPV6_ADDR_INT32_MNL = 0x000001ff
-++ IPV6_ADDR_INT32_MLL = 0x000002ff
-++ IPV6_ADDR_INT32_SMP = 0xffff0000
-++ IPV6_ADDR_INT16_ULL = 0x80fe
-++ IPV6_ADDR_INT16_USL = 0xc0fe
-++ IPV6_ADDR_INT16_MLL = 0x02ff
-++ def IN6_IS_ADDR_UNSPECIFIED(a): return \
-++
-++ def IN6_IS_ADDR_LOOPBACK(a): return \
-++
-++ def IN6_IS_ADDR_V4COMPAT(a): return \
-++
-++ def IN6_IS_ADDR_V4MAPPED(a): return \
-++
-++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ def IN6_IS_ADDR_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_SCOPE_LINKLOCAL(a): return \
-++
-++ IPV6_OPTIONS = 1
-++ IPV6_RECVOPTS = 5
-++ IPV6_RECVRETOPTS = 6
-++ IPV6_RECVDSTADDR = 7
-++ IPV6_RETOPTS = 8
-++ IPV6_SOCKOPT_RESERVED1 = 3
-++ IPV6_UNICAST_HOPS = 4
-++ IPV6_MULTICAST_IF = 9
-++ IPV6_MULTICAST_HOPS = 10
-++ IPV6_MULTICAST_LOOP = 11
-++ IPV6_JOIN_GROUP = 12
-++ IPV6_LEAVE_GROUP = 13
-++ IPV6_PORTRANGE = 14
-++ ICMP6_FILTER = 18
-++ IPV6_PKTINFO = 19
-++ IPV6_HOPLIMIT = 20
-++ IPV6_NEXTHOP = 21
-++ IPV6_HOPOPTS = 22
-++ IPV6_DSTOPTS = 23
-++ IPV6_RTHDR = 24
-++ IPV6_PKTOPTIONS = 25
-++ IPV6_CHECKSUM = 26
-++ IPV6_BINDV6ONLY = 27
-++ IPV6_IPSEC_POLICY = 28
-++ IPV6_FAITH = 29
-++ IPV6_FW_ADD = 30
-++ IPV6_FW_DEL = 31
-++ IPV6_FW_FLUSH = 32
-++ IPV6_FW_ZERO = 33
-++ IPV6_FW_GET = 34
-++ IPV6_RTHDR_LOOSE = 0
-++ IPV6_RTHDR_STRICT = 1
-++ IPV6_RTHDR_TYPE_0 = 0
-++ IPV6_DEFAULT_MULTICAST_HOPS = 1
-++ IPV6_DEFAULT_MULTICAST_LOOP = 1
-++ IPV6_PORTRANGE_DEFAULT = 0
-++ IPV6_PORTRANGE_HIGH = 1
-++ IPV6_PORTRANGE_LOW = 2
-++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1)
-++ IPV6CTL_FORWARDING = 1
-++ IPV6CTL_SENDREDIRECTS = 2
-++ IPV6CTL_DEFHLIM = 3
-++ IPV6CTL_DEFMTU = 4
-++ IPV6CTL_FORWSRCRT = 5
-++ IPV6CTL_STATS = 6
-++ IPV6CTL_MRTSTATS = 7
-++ IPV6CTL_MRTPROTO = 8
-++ IPV6CTL_MAXFRAGPACKETS = 9
-++ IPV6CTL_SOURCECHECK = 10
-++ IPV6CTL_SOURCECHECK_LOGINT = 11
-++ IPV6CTL_ACCEPT_RTADV = 12
-++ IPV6CTL_KEEPFAITH = 13
-++ IPV6CTL_LOG_INTERVAL = 14
-++ IPV6CTL_HDRNESTLIMIT = 15
-++ IPV6CTL_DAD_COUNT = 16
-++ IPV6CTL_AUTO_FLOWLABEL = 17
-++ IPV6CTL_DEFMCASTHLIM = 18
-++ IPV6CTL_GIF_HLIM = 19
-++ IPV6CTL_KAME_VERSION = 20
-++ IPV6CTL_USE_DEPRECATED = 21
-++ IPV6CTL_RR_PRUNE = 22
-++ IPV6CTL_MAPPED_ADDR = 23
-++ IPV6CTL_BINDV6ONLY = 24
-++ IPV6CTL_RTEXPIRE = 25
-++ IPV6CTL_RTMINEXPIRE = 26
-++ IPV6CTL_RTMAXCACHE = 27
-++ IPV6CTL_MAXID = 28
-+*** misc/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:26:27 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:19:02 2005
-+***************
-+*** 0 ****
-+--- 1,3 ----
-++ #! /bin/sh
-++ set -v
-++ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
-+*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:26:23 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:20:25 2005
-+***************
-+*** 0 ****
-+--- 1,355 ----
-++ # Generated by h2py from /usr/include/netinet/in.h
-++ IPPROTO_IP = 0
-++ IPPROTO_HOPOPTS = 0
-++ IPPROTO_ICMP = 1
-++ IPPROTO_IGMP = 2
-++ IPPROTO_GGP = 3
-++ IPPROTO_IPV4 = 4
-++ IPPROTO_IPIP = IPPROTO_IPV4
-++ IPPROTO_TCP = 6
-++ IPPROTO_ST = 7
-++ IPPROTO_EGP = 8
-++ IPPROTO_PIGP = 9
-++ IPPROTO_RCCMON = 10
-++ IPPROTO_NVPII = 11
-++ IPPROTO_PUP = 12
-++ IPPROTO_ARGUS = 13
-++ IPPROTO_EMCON = 14
-++ IPPROTO_XNET = 15
-++ IPPROTO_CHAOS = 16
-++ IPPROTO_UDP = 17
-++ IPPROTO_MUX = 18
-++ IPPROTO_MEAS = 19
-++ IPPROTO_HMP = 20
-++ IPPROTO_PRM = 21
-++ IPPROTO_IDP = 22
-++ IPPROTO_TRUNK1 = 23
-++ IPPROTO_TRUNK2 = 24
-++ IPPROTO_LEAF1 = 25
-++ IPPROTO_LEAF2 = 26
-++ IPPROTO_RDP = 27
-++ IPPROTO_IRTP = 28
-++ IPPROTO_TP = 29
-++ IPPROTO_BLT = 30
-++ IPPROTO_NSP = 31
-++ IPPROTO_INP = 32
-++ IPPROTO_SEP = 33
-++ IPPROTO_3PC = 34
-++ IPPROTO_IDPR = 35
-++ IPPROTO_XTP = 36
-++ IPPROTO_DDP = 37
-++ IPPROTO_CMTP = 38
-++ IPPROTO_TPXX = 39
-++ IPPROTO_IL = 40
-++ IPPROTO_IPV6 = 41
-++ IPPROTO_SDRP = 42
-++ IPPROTO_ROUTING = 43
-++ IPPROTO_FRAGMENT = 44
-++ IPPROTO_IDRP = 45
-++ IPPROTO_RSVP = 46
-++ IPPROTO_GRE = 47
-++ IPPROTO_MHRP = 48
-++ IPPROTO_BHA = 49
-++ IPPROTO_ESP = 50
-++ IPPROTO_AH = 51
-++ IPPROTO_INLSP = 52
-++ IPPROTO_SWIPE = 53
-++ IPPROTO_NHRP = 54
-++ IPPROTO_ICMPV6 = 58
-++ IPPROTO_NONE = 59
-++ IPPROTO_DSTOPTS = 60
-++ IPPROTO_AHIP = 61
-++ IPPROTO_CFTP = 62
-++ IPPROTO_HELLO = 63
-++ IPPROTO_SATEXPAK = 64
-++ IPPROTO_KRYPTOLAN = 65
-++ IPPROTO_RVD = 66
-++ IPPROTO_IPPC = 67
-++ IPPROTO_ADFS = 68
-++ IPPROTO_SATMON = 69
-++ IPPROTO_VISA = 70
-++ IPPROTO_IPCV = 71
-++ IPPROTO_CPNX = 72
-++ IPPROTO_CPHB = 73
-++ IPPROTO_WSN = 74
-++ IPPROTO_PVP = 75
-++ IPPROTO_BRSATMON = 76
-++ IPPROTO_ND = 77
-++ IPPROTO_WBMON = 78
-++ IPPROTO_WBEXPAK = 79
-++ IPPROTO_EON = 80
-++ IPPROTO_VMTP = 81
-++ IPPROTO_SVMTP = 82
-++ IPPROTO_VINES = 83
-++ IPPROTO_TTP = 84
-++ IPPROTO_IGP = 85
-++ IPPROTO_DGP = 86
-++ IPPROTO_TCF = 87
-++ IPPROTO_IGRP = 88
-++ IPPROTO_OSPFIGP = 89
-++ IPPROTO_SRPC = 90
-++ IPPROTO_LARP = 91
-++ IPPROTO_MTP = 92
-++ IPPROTO_AX25 = 93
-++ IPPROTO_IPEIP = 94
-++ IPPROTO_MICP = 95
-++ IPPROTO_SCCSP = 96
-++ IPPROTO_ETHERIP = 97
-++ IPPROTO_ENCAP = 98
-++ IPPROTO_APES = 99
-++ IPPROTO_GMTP = 100
-++ IPPROTO_IPCOMP = 108
-++ IPPROTO_PIM = 103
-++ IPPROTO_PGM = 113
-++ IPPROTO_DIVERT = 254
-++ IPPROTO_RAW = 255
-++ IPPROTO_MAX = 256
-++ IPPROTO_DONE = 257
-++ IPPORT_RESERVED = 1024
-++ IPPORT_USERRESERVED = 5000
-++ IPPORT_HIFIRSTAUTO = 49152
-++ IPPORT_HILASTAUTO = 65535
-++ IPPORT_RESERVEDSTART = 600
-++ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0)
-++
-++ IN_CLASSA_NET = 0xff000000
-++ IN_CLASSA_NSHIFT = 24
-++ IN_CLASSA_HOST = 0x00ffffff
-++ IN_CLASSA_MAX = 128
-++ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000)
-++
-++ IN_CLASSB_NET = 0xffff0000
-++ IN_CLASSB_NSHIFT = 16
-++ IN_CLASSB_HOST = 0x0000ffff
-++ IN_CLASSB_MAX = 65536
-++ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000)
-++
-++ IN_CLASSC_NET = 0xffffff00
-++ IN_CLASSC_NSHIFT = 8
-++ IN_CLASSC_HOST = 0x000000ff
-++ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
-++
-++ IN_CLASSD_NET = 0xf0000000
-++ IN_CLASSD_NSHIFT = 28
-++ IN_CLASSD_HOST = 0x0fffffff
-++ def IN_MULTICAST(i): return IN_CLASSD(i)
-++
-++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ INADDR_NONE = 0xffffffff
-++ IN_LOOPBACKNET = 127
-++ INET_ADDRSTRLEN = 16
-++ IP_OPTIONS = 1
-++ IP_HDRINCL = 2
-++ IP_TOS = 3
-++ IP_TTL = 4
-++ IP_RECVOPTS = 5
-++ IP_RECVRETOPTS = 6
-++ IP_RECVDSTADDR = 7
-++ IP_RETOPTS = 8
-++ IP_MULTICAST_IF = 9
-++ IP_MULTICAST_TTL = 10
-++ IP_MULTICAST_LOOP = 11
-++ IP_ADD_MEMBERSHIP = 12
-++ IP_DROP_MEMBERSHIP = 13
-++ IP_MULTICAST_VIF = 14
-++ IP_RSVP_ON = 15
-++ IP_RSVP_OFF = 16
-++ IP_RSVP_VIF_ON = 17
-++ IP_RSVP_VIF_OFF = 18
-++ IP_PORTRANGE = 19
-++ IP_RECVIF = 20
-++ IP_IPSEC_POLICY = 21
-++ IP_FAITH = 22
-++ IP_FW_ADD = 50
-++ IP_FW_DEL = 51
-++ IP_FW_FLUSH = 52
-++ IP_FW_ZERO = 53
-++ IP_FW_GET = 54
-++ IP_FW_RESETLOG = 55
-++ IP_DUMMYNET_CONFIGURE = 60
-++ IP_DUMMYNET_DEL = 61
-++ IP_DUMMYNET_FLUSH = 62
-++ IP_DUMMYNET_GET = 64
-++ IP_DEFAULT_MULTICAST_TTL = 1
-++ IP_DEFAULT_MULTICAST_LOOP = 1
-++ IP_MAX_MEMBERSHIPS = 20
-++ IP_PORTRANGE_DEFAULT = 0
-++ IP_PORTRANGE_HIGH = 1
-++ IP_PORTRANGE_LOW = 2
-++ IPPROTO_MAXID = (IPPROTO_AH + 1)
-++ IPCTL_FORWARDING = 1
-++ IPCTL_SENDREDIRECTS = 2
-++ IPCTL_DEFTTL = 3
-++ IPCTL_DEFMTU = 4
-++ IPCTL_RTEXPIRE = 5
-++ IPCTL_RTMINEXPIRE = 6
-++ IPCTL_RTMAXCACHE = 7
-++ IPCTL_SOURCEROUTE = 8
-++ IPCTL_DIRECTEDBROADCAST = 9
-++ IPCTL_INTRQMAXLEN = 10
-++ IPCTL_INTRQDROPS = 11
-++ IPCTL_STATS = 12
-++ IPCTL_ACCEPTSOURCEROUTE = 13
-++ IPCTL_FASTFORWARDING = 14
-++ IPCTL_KEEPFAITH = 15
-++ IPCTL_GIF_TTL = 16
-++ IPCTL_MAXID = 17
-++
-++ # Included from netinet6/in6.h
-++
-++ # Included from sys/queue.h
-++ def SLIST_HEAD_INITIALIZER(head): return \
-++
-++ def SLIST_ENTRY(type): return \
-++
-++ def STAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def STAILQ_ENTRY(type): return \
-++
-++ def LIST_HEAD_INITIALIZER(head): return \
-++
-++ def LIST_ENTRY(type): return \
-++
-++ def TAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def TAILQ_ENTRY(type): return \
-++
-++ def CIRCLEQ_ENTRY(type): return \
-++
-++ __KAME_VERSION = "20000701/FreeBSD-current"
-++ IPV6PORT_RESERVED = 1024
-++ IPV6PORT_ANONMIN = 49152
-++ IPV6PORT_ANONMAX = 65535
-++ IPV6PORT_RESERVEDMIN = 600
-++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
-++ INET6_ADDRSTRLEN = 46
-++ IPV6_ADDR_INT32_ONE = 1
-++ IPV6_ADDR_INT32_TWO = 2
-++ IPV6_ADDR_INT32_MNL = 0xff010000
-++ IPV6_ADDR_INT32_MLL = 0xff020000
-++ IPV6_ADDR_INT32_SMP = 0x0000ffff
-++ IPV6_ADDR_INT16_ULL = 0xfe80
-++ IPV6_ADDR_INT16_USL = 0xfec0
-++ IPV6_ADDR_INT16_MLL = 0xff02
-++ IPV6_ADDR_INT32_ONE = 0x01000000
-++ IPV6_ADDR_INT32_TWO = 0x02000000
-++ IPV6_ADDR_INT32_MNL = 0x000001ff
-++ IPV6_ADDR_INT32_MLL = 0x000002ff
-++ IPV6_ADDR_INT32_SMP = 0xffff0000
-++ IPV6_ADDR_INT16_ULL = 0x80fe
-++ IPV6_ADDR_INT16_USL = 0xc0fe
-++ IPV6_ADDR_INT16_MLL = 0x02ff
-++ def IN6_IS_ADDR_UNSPECIFIED(a): return \
-++
-++ def IN6_IS_ADDR_LOOPBACK(a): return \
-++
-++ def IN6_IS_ADDR_V4COMPAT(a): return \
-++
-++ def IN6_IS_ADDR_V4MAPPED(a): return \
-++
-++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ def IN6_IS_ADDR_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_SCOPE_LINKLOCAL(a): return \
-++
-++ IPV6_OPTIONS = 1
-++ IPV6_RECVOPTS = 5
-++ IPV6_RECVRETOPTS = 6
-++ IPV6_RECVDSTADDR = 7
-++ IPV6_RETOPTS = 8
-++ IPV6_SOCKOPT_RESERVED1 = 3
-++ IPV6_UNICAST_HOPS = 4
-++ IPV6_MULTICAST_IF = 9
-++ IPV6_MULTICAST_HOPS = 10
-++ IPV6_MULTICAST_LOOP = 11
-++ IPV6_JOIN_GROUP = 12
-++ IPV6_LEAVE_GROUP = 13
-++ IPV6_PORTRANGE = 14
-++ ICMP6_FILTER = 18
-++ IPV6_PKTINFO = 19
-++ IPV6_HOPLIMIT = 20
-++ IPV6_NEXTHOP = 21
-++ IPV6_HOPOPTS = 22
-++ IPV6_DSTOPTS = 23
-++ IPV6_RTHDR = 24
-++ IPV6_PKTOPTIONS = 25
-++ IPV6_CHECKSUM = 26
-++ IPV6_BINDV6ONLY = 27
-++ IPV6_IPSEC_POLICY = 28
-++ IPV6_FAITH = 29
-++ IPV6_FW_ADD = 30
-++ IPV6_FW_DEL = 31
-++ IPV6_FW_FLUSH = 32
-++ IPV6_FW_ZERO = 33
-++ IPV6_FW_GET = 34
-++ IPV6_RTHDR_LOOSE = 0
-++ IPV6_RTHDR_STRICT = 1
-++ IPV6_RTHDR_TYPE_0 = 0
-++ IPV6_DEFAULT_MULTICAST_HOPS = 1
-++ IPV6_DEFAULT_MULTICAST_LOOP = 1
-++ IPV6_PORTRANGE_DEFAULT = 0
-++ IPV6_PORTRANGE_HIGH = 1
-++ IPV6_PORTRANGE_LOW = 2
-++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1)
-++ IPV6CTL_FORWARDING = 1
-++ IPV6CTL_SENDREDIRECTS = 2
-++ IPV6CTL_DEFHLIM = 3
-++ IPV6CTL_DEFMTU = 4
-++ IPV6CTL_FORWSRCRT = 5
-++ IPV6CTL_STATS = 6
-++ IPV6CTL_MRTSTATS = 7
-++ IPV6CTL_MRTPROTO = 8
-++ IPV6CTL_MAXFRAGPACKETS = 9
-++ IPV6CTL_SOURCECHECK = 10
-++ IPV6CTL_SOURCECHECK_LOGINT = 11
-++ IPV6CTL_ACCEPT_RTADV = 12
-++ IPV6CTL_KEEPFAITH = 13
-++ IPV6CTL_LOG_INTERVAL = 14
-++ IPV6CTL_HDRNESTLIMIT = 15
-++ IPV6CTL_DAD_COUNT = 16
-++ IPV6CTL_AUTO_FLOWLABEL = 17
-++ IPV6CTL_DEFMCASTHLIM = 18
-++ IPV6CTL_GIF_HLIM = 19
-++ IPV6CTL_KAME_VERSION = 20
-++ IPV6CTL_USE_DEPRECATED = 21
-++ IPV6CTL_RR_PRUNE = 22
-++ IPV6CTL_MAPPED_ADDR = 23
-++ IPV6CTL_BINDV6ONLY = 24
-++ IPV6CTL_RTEXPIRE = 25
-++ IPV6CTL_RTMINEXPIRE = 26
-++ IPV6CTL_RTMAXCACHE = 27
-++ IPV6CTL_MAXID = 28
-+*** misc/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:26:27 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:19:02 2005
-+***************
-+*** 0 ****
-+--- 1,3 ----
-++ #! /bin/sh
-++ set -v
-++ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/editors/openoffice.org-2.0-devel/files/patch-bridges b/editors/openoffice.org-2.0-devel/files/patch-bridges
deleted file mode 100644
index 8375332a3e20..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-bridges
+++ /dev/null
@@ -1,173 +0,0 @@
-Issuetracker : #i56947#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : update files at bridges project
-catch up version up of bridge project of GNU/Linux
-
---- bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx Thu Sep 8 07:20:08 2005
-+++ bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx Wed Oct 26 15:10:05 2005
-@@ -57,7 +57,7 @@
- typelib_TypeDescriptionReference * pReturnTypeRef, // 0 indicates void return
- sal_Int32 nParams, typelib_MethodParameter * pParams,
- void ** pCallStack,
-- sal_Int64 * pRegisterReturn /* space for register return */ )
-+ void * pReturnValue )
- {
- // pCallStack: ret, [return ptr], this, params
- char * pCppStack = (char *)(pCallStack +1);
-@@ -74,7 +74,7 @@
- {
- if (bridges::cpp_uno::shared::isSimpleType( pReturnTypeDescr ))
- {
-- pUnoReturn = pRegisterReturn; // direct way for simple types
-+ pUnoReturn = pReturnValue; // direct way for simple types
- }
- else // complex return via ptr (pCppReturn)
- {
-@@ -215,7 +215,7 @@
- uno_destructData( pUnoReturn, pReturnTypeDescr, 0 );
- }
- // complex return ptr is set to eax
-- *(void **)pRegisterReturn = pCppReturn;
-+ *static_cast< void ** >(pReturnValue) = pCppReturn;
- }
- if (pReturnTypeDescr)
- {
-@@ -228,7 +228,7 @@
- //==================================================================================================
- extern "C" void cpp_vtable_call(
- int nFunctionIndex, int nVtableOffset, void** pCallStack,
-- sal_Int64 nRegReturn )
-+ void * pReturnValue )
- {
- OSL_ENSURE( sizeof(sal_Int32)==sizeof(void *), "### unexpected!" );
-
-@@ -275,7 +275,7 @@
- pCppI, aMemberDescr.get(),
- ((typelib_InterfaceAttributeTypeDescription *)aMemberDescr.get())->pAttributeTypeRef,
- 0, 0, // no params
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- else
- {
-@@ -290,7 +290,7 @@
- pCppI, aMemberDescr.get(),
- 0, // indicates void return
- 1, &aParam,
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- break;
- }
-@@ -324,7 +324,7 @@
- &pInterface, pTD, cpp_acquire );
- pInterface->release();
- TYPELIB_DANGER_RELEASE( pTD );
-- *(void **)&nRegReturn = pCallStack[1];
-+ *static_cast< void ** >(pReturnValue) = pCallStack[1];
- break;
- }
- TYPELIB_DANGER_RELEASE( pTD );
-@@ -336,7 +336,7 @@
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->pReturnTypeRef,
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->nParams,
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->pParams,
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- break;
- }
---- bridges/source/cpp_uno/gcc3_freebsd_intel/call.s Wed Jun 1 01:32:41 2005
-+++ bridges/source/cpp_uno/gcc3_freebsd_intel/call.s Wed Oct 26 15:10:04 2005
-@@ -9,12 +9,13 @@
- .LCFIg0:
- movl %esp,%ebp
- .LCFIg1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-+ movl 16(%esp),%eax # 32bit returnValue
- leave
- ret
- .LFEg:
-@@ -29,7 +30,7 @@
- .LCFIv0:
- movl %esp,%ebp
- .LCFIv1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ pushl $0 # 32bit null pointer (returnValue not used)
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
-@@ -48,13 +49,14 @@
- .LCFIh0:
- movl %esp,%ebp
- .LCFIh1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x8,%esp # 64bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-- movl 16(%esp),%edx # 64 bit nRegReturn, upper half
-+ movl 16(%esp),%eax # 64bit returnValue, lower half
-+ movl 20(%esp),%edx # 64bit returnValue, upper half
- leave
- ret
- .LFEh:
-@@ -69,12 +71,13 @@
- .LCFIf0:
- movl %esp,%ebp
- .LCFIf1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- flds 12(%esp) # 64 bit nRegReturn, lower half
-+ flds 16(%esp) # 32bit returnValue
- leave
- ret
- .LFEf:
-@@ -89,12 +92,13 @@
- .LCFId0:
- movl %esp,%ebp
- .LCFId1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x8,%esp # 64bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- fldl 12(%esp) # 64 bit nRegReturn
-+ fldl 16(%esp) # 64bit returnValue
- leave
- ret
- .LFEd:
-@@ -109,12 +113,13 @@
- .LCFIc0:
- movl %esp,%ebp
- .LCFIc1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-+ movl 16(%esp),%eax # 32bit returnValue
- leave
- ret $4
- .LFEc:
diff --git a/editors/openoffice.org-2.0-devel/files/patch-config_office+set_soenv.in b/editors/openoffice.org-2.0-devel/files/patch-config_office+set_soenv.in
deleted file mode 100644
index a06f28849d7a..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-config_office+set_soenv.in
+++ /dev/null
@@ -1,18 +0,0 @@
-Issuetracker : #i56949#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Add conditional the case of @GCCVER@ >= 30401.
-Like GNU/Linux's case, we also need the case for $CVER if @GCCVER@ is equal to or larger than 3.4.1
-
---- config_office/set_soenv.in Thu Sep 22 23:30:56 2005
-+++ config_office/set_soenv.in Sat Oct 1 12:59:30 2005
-@@ -347,6 +347,9 @@
- $JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386";
- $JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."client";
- $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."native_threads";
-+ if( @GCCVER@ >= 30401 ) {
-+ $CVER = "C341";
-+ }
- }
- elsif ( $platform =~ m/linux-gnu/ )
- {
diff --git a/editors/openoffice.org-2.0-devel/files/patch-epm+epm-3.7.patch b/editors/openoffice.org-2.0-devel/files/patch-epm+epm-3.7.patch
deleted file mode 100644
index 2182489d5445..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-epm+epm-3.7.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-Issuetracker : #iXXXXX#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : epm porting for FreeBSD
-o FreeBSD's package manager doesn't allow multiple lines for
- @exec and @unexec
-o chown is at /usr/sbin/
-o the way to recording package dependency is incorrect
-
-Index: epm/epm-3.7.patch
-===================================================================
-RCS file: /cvs/external/epm/epm-3.7.patch,v
-retrieving revision 1.2
-diff -u -r1.2 epm-3.7.patch
---- epm/epm-3.7.patch 10 Mar 2005 11:52:43 -0000 1.2
-+++ epm/epm-3.7.patch 3 Jun 2005 22:05:23 -0000
-@@ -1,3 +1,69 @@
-+*** misc/epm-3.7/bsd.c Wed Jan 15 02:05:01 2003
-+--- misc/build/epm-3.7/bsd.c Sat Jun 4 06:18:27 2005
-+***************
-+*** 26,31 ****
-+--- 26,38 ----
-+
-+ #include "epm.h"
-+
-++ void cr2semicolon(char *command)
-++ {
-++ int len, i;
-++ len=strlen(command);
-++ for (i=0;i<len;i++)
-++ if(*(command+i)=='\n') *(command+i)=';';
-++ }
-+
-+ /*
-+ * 'make_bsd()' - Make a FreeBSD software distribution package.
-+***************
-+*** 150,156 ****
-+ for (i = dist->num_depends, d = dist->depends; i > 0; i --, d ++)
-+ {
-+ if (d->type == DEPEND_REQUIRES)
-+! fprintf(fp, "@pkgdep %s", d->product);
-+ else
-+ #ifdef __FreeBSD__
-+ /*
-+--- 157,163 ----
-+ for (i = dist->num_depends, d = dist->depends; i > 0; i --, d ++)
-+ {
-+ if (d->type == DEPEND_REQUIRES)
-+! fprintf(fp, "@pkgdep %s-%s-%s", d->product, dist->version, platname);
-+ else
-+ #ifdef __FreeBSD__
-+ /*
-+***************
-+*** 179,187 ****
-+--- 186,196 ----
-+ " by the BSD packager.\n", stderr);
-+ break;
-+ case COMMAND_POST_INSTALL :
-++ cr2semicolon(c->command);
-+ fprintf(fp, "@exec %s\n", c->command);
-+ break;
-+ case COMMAND_PRE_REMOVE :
-++ cr2semicolon(c->command);
-+ fprintf(fp, "@unexec %s\n", c->command);
-+ break;
-+ case COMMAND_POST_REMOVE :
-+***************
-+*** 199,205 ****
-+ */
-+
-+ fprintf(fp, "@exec /bin/mkdir -p %s\n", file->dst);
-+! fprintf(fp, "@exec /bin/chown %s:%s %s\n", file->user, file->group,
-+ file->dst);
-+ fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
-+ }
-+--- 208,214 ----
-+ */
-+
-+ fprintf(fp, "@exec /bin/mkdir -p %s\n", file->dst);
-+! fprintf(fp, "@exec /usr/sbin/chown %s:%s %s\n", file->user, file->group,
-+ file->dst);
-+ fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
-+ }
- *** misc/epm-3.7/epm.c 2003-10-28 15:48:30.000000000 +0100
- --- misc/build/epm-3.7/epm.c 2004-11-24 10:38:40.000000000 +0100
- ***************
-
diff --git a/editors/openoffice.org-2.0-devel/files/patch-icu+icu-2.6.patch b/editors/openoffice.org-2.0-devel/files/patch-icu+icu-2.6.patch
deleted file mode 100644
index 91b67fb35cf3..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-icu+icu-2.6.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Issuetracker : #i56952#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Passing $ORIGIN to linker at icu project
-We also want to pass -rpath $ORIGIN to linker as GNU/Linux and/or Solaris's case.
-
-Index: icu/icu-2.6.patch
-===================================================================
-RCS file: /cvs/external/icu/icu-2.6.patch,v
-retrieving revision 1.15
-diff -u -r1.15 icu-2.6.patch
---- icu/icu-2.6.patch 28 Dec 2005 16:54:16 -0000 1.15
-+++ icu/icu-2.6.patch 5 Jan 2006 12:58:57 -0000
-@@ -2775,3 +2775,31 @@
- commands = pkg_appendToList(commands, NULL, uprv_strdup(stanza));
-
- sprintf(stanza, "@$(RMV) $(TEMP_DIR)/%s", cfile+genFileOffset);
-+*** misc/icu/source/config/mh-bsd-gcc Thu May 2 08:48:10 2002
-+--- misc/build/icu/source/config/mh-bsd-gcc Mon Oct 24 18:16:57 2005
-+***************
-+*** 10,21 ****
-+--- 10,30 ----
-+ GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS)
-+
-+ ## Flags for position independent code
-++ STATICCFLAGS = -fPIC
-++ STATICCXXFLAGS = -fPIC
-++ STATICCPPFLAGS = -DPIC
-+ SHAREDLIBCFLAGS = -fPIC
-+ SHAREDLIBCXXFLAGS = -fPIC
-+ SHAREDLIBCPPFLAGS = -DPIC
-+
-+ ## Compiler switch to embed a runtime search path
-+ LD_RPATH=
-++ ## Force RPATH=$ORIGIN to locate own dependencies w/o need for LD_LIBRARY_PATH
-++ ENABLE_RPATH=YES
-++ RPATHLDFLAGS=${LD_RPATH_PRE}'$$ORIGIN'
-++
-++ #SH# ENABLE_RPATH=YES
-++ #SH# RPATHLDFLAGS="${LD_RPATH_PRE}'$$ORIGIN'"
-+ LD_RPATH_PRE= -Wl,-rpath,
-+
-+ ## Compiler switch to embed a library name
-+
-+
diff --git a/editors/openoffice.org-2.0-devel/files/patch-instsetoo b/editors/openoffice.org-2.0-devel/files/patch-instsetoo
deleted file mode 100644
index 77fcd635acfa..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-instsetoo
+++ /dev/null
@@ -1,154 +0,0 @@
-Issuetracker : #i53288#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : remove circular dependency
-
-in this case,
-core01 is depend on core02-core08, and core0[2-9] and core10
-depends on core01. for FreeBSD this is regarded as circular dependency
-and pkg_add command is forked infinite times and eats up systems' resource.
-namely when core01 tries to install core02, core02 also tries to
-install core01.
-Index: instsetoo_native/inc_openoffice/unix/packagelist.txt
-===================================================================
-RCS file: /cvs/installation/instsetoo_native/inc_openoffice/unix/packagelist.txt,v
-retrieving revision 1.21
-diff -u -r1.21 packagelist.txt
---- instsetoo_native/inc_openoffice/unix/packagelist.txt 30 Nov 2005 13:21:44 -0000 1.21
-+++ instsetoo_native/inc_openoffice/unix/packagelist.txt 3 Dec 2005 22:26:12 -0000
-@@ -37,6 +37,7 @@
- packagename = "%UNIXPRODUCTNAME-core01"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-mailcap,%WITHOUTDOTUNIXPRODUCTNAME-core,%WITHOUTDOTUNIXPRODUCTNAME-core01"
- requires = "%UNIXPRODUCTNAME-core02,%UNIXPRODUCTNAME-core03,%UNIXPRODUCTNAME-core04,%UNIXPRODUCTNAME-core05,%UNIXPRODUCTNAME-core06,%UNIXPRODUCTNAME-core07,%UNIXPRODUCTNAME-core08"
-+freebsdrequires = "%UNIXPRODUCTNAME-core02,%UNIXPRODUCTNAME-core03,%UNIXPRODUCTNAME-core04,%UNIXPRODUCTNAME-core05,%UNIXPRODUCTNAME-core06,%UNIXPRODUCTNAME-core07,%UNIXPRODUCTNAME-core08,%UNIXPRODUCTNAME-core09,%UNIXPRODUCTNAME-core10"
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -278,6 +279,7 @@
- packagename = "%UNIXPRODUCTNAME-core02"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core02"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -291,6 +293,7 @@
- packagename = "%UNIXPRODUCTNAME-core03"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core03"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -304,6 +307,7 @@
- packagename = "%UNIXPRODUCTNAME-core04"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core04"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -317,6 +321,7 @@
- packagename = "%UNIXPRODUCTNAME-core05"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core05"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -330,6 +335,7 @@
- packagename = "%UNIXPRODUCTNAME-core06"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core06"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -343,6 +349,7 @@
- packagename = "%UNIXPRODUCTNAME-core07"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core07"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -356,6 +363,7 @@
- packagename = "%UNIXPRODUCTNAME-core08"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core08"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -369,6 +377,7 @@
- packagename = "%UNIXPRODUCTNAME-core09"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core09"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -383,6 +392,7 @@
- packagename = "%UNIXPRODUCTNAME-core10"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core10"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-Index: solenv/bin/modules/installer/epmfile.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/epmfile.pm,v
-retrieving revision 1.42
-diff -u -r1.42 epmfile.pm
---- solenv/bin/modules/installer/epmfile.pm 9 Nov 2005 09:09:49 -0000 1.42
-+++ solenv/bin/modules/installer/epmfile.pm 3 Dec 2005 22:26:52 -0000
-@@ -395,6 +395,11 @@
- $provides = "solarisprovides"; # the name in the packagelist
- $requires = "solarisrequires"; # the name in the packagelist
- }
-+ elsif ( $installer::globals::isfreebsdpkgbuild )
-+ {
-+ $provides = "freebsdprovides"; # the name in the packagelist
-+ $requires = "freebsdrequires"; # the name in the packagelist
-+ }
- else
- {
- $provides = "provides"; # the name in the packagelist
-Index: solenv/bin/modules/installer/globals.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/globals.pm,v
-retrieving revision 1.47
-diff -u -r1.47 globals.pm
---- solenv/bin/modules/installer/globals.pm 9 Nov 2005 09:10:01 -0000 1.47
-+++ solenv/bin/modules/installer/globals.pm 3 Dec 2005 22:26:52 -0000
-@@ -80,6 +80,7 @@
- $issolarispkgbuild = 0;
- $issolarissparcbuild = 0;
- $issolarisx86build = 0;
-+ $isfreebsdpkgbuild = 0;
- $unpackpath = "";
- $idttemplatepath = "";
- $idtlanguagepath = "";
-
-Index: solenv/bin/modules/installer/parameter.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/parameter.pm,v
-retrieving revision 1.29
-diff -u -r1.29 parameter.pm
---- solenv/bin/modules/installer/parameter.pm 9 Nov 2005 09:10:12 -0000 1.29
-+++ solenv/bin/modules/installer/parameter.pm 10 Dec 2005 13:11:30 -0000
-@@ -304,6 +304,13 @@
- $installer::globals::epmoutpath = "packages";
- }
- }
-+ if ( $installer::globals::compiler =~ /unxfbsdi/ )
-+ {
-+ if ( $installer::globals::packageformat eq "bsd" )
-+ {
-+ $installer::globals::isfreebsdpkgbuild = 1;
-+ }
-+ }
-
- if ( $installer::globals::compiler =~ /unxso[lg]s/ ) { $installer::globals::issolarissparcbuild = 1; }
-
diff --git a/editors/openoffice.org-2.0-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk b/editors/openoffice.org-2.0-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk
deleted file mode 100644
index 2c89e95a8cdb..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-Issuetracker : #i56951#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : javavendors_linux.xml can be used for FreeBSD as well.
-javavendors_linux.xml can be used for FreeBSD as well.
-
---- jvmfwk/distributions/OpenOfficeorg/makefile.mk Thu Sep 8 04:26:17 2005
-+++ jvmfwk/distributions/OpenOfficeorg/makefile.mk Sat Oct 22 18:31:16 2005
-@@ -49,7 +49,7 @@
- .IF "$(GUI)"=="UNX"
- .IF "$(OS)"=="MACOSX"
- +-$(COPY) javavendors_macosx.xml $(BIN)$/javavendors_ooo.xml
--.ELIF "$(OS)"=="LINUX"
-+.ELIF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
- +-$(COPY) javavendors_linux.xml $(BIN)$/javavendors_ooo.xml
- .ELSE
- +-$(COPY) javavendors_unx.xml $(BIN)$/javavendors_ooo.xml
diff --git a/editors/openoffice.org-2.0-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx b/editors/openoffice.org-2.0-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
index c963d013cc07..610b3b087221 100644
--- a/editors/openoffice.org-2.0-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
+++ b/editors/openoffice.org-2.0-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
@@ -12,18 +12,17 @@ java 1.4.1-p10 for example to 1.4.1_110.
--- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Thu Sep 8 04:31:40 2005
+++ jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Sat Oct 22 18:25:49 2005
-@@ -208,7 +208,16 @@
+@@ -208,7 +208,15 @@
return false;
#if defined(FREEBSD)
if (m_preRelease == Rel_FreeBSD) {
- m_nUpdateSpecial = *pCur;
+ pCur++; //elemnate `p'
+ if (pCur < pEnd && isdigit(*pCur))
-+ if (pCur < pEnd)
-+ pCur ++;
++ pCur ++;
+ int len = pCur - pLast -1; //elemenate `p'
+ if (len >= 127)
-+ return false;
++ return false;
+ strncpy(buf, (pLast+1), len); //elemenate `p'
+ buf[len] = 0;
+ m_nUpdateSpecial = atoi(buf)+100; //hack for FBSD
diff --git a/editors/openoffice.org-2.0-devel/files/patch-libxmlsec+makefile.mk b/editors/openoffice.org-2.0-devel/files/patch-libxmlsec+makefile.mk
deleted file mode 100644
index 4e674ce211f0..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-libxmlsec+makefile.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-Issuetracker : #i56954#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Passing $ORIGIN to linker at libxmlsec project
-We also want to pass -rpath $ORIGIN to linker as GNU/Linux and/or Solaris's case.
-
-Index: libxmlsec/makefile.mk
-===================================================================
-RCS file: /cvs/external/libxmlsec/makefile.mk,v
-retrieving revision 1.7
-diff -u -r1.7 makefile.mk
---- libxmlsec/makefile.mk 28 Dec 2005 16:58:06 -0000 1.7
-+++ libxmlsec/makefile.mk 5 Jan 2006 12:34:24 -0000
-@@ -98,6 +98,9 @@
- .IF "$(OS)$(COM)"=="SOLARISC52"
- xmlsec_LDFLAGS+=-Wl,-R'$$$$ORIGIN'
- .ENDIF # "$(OS)$(COM)"=="SOLARISC52"
-+.IF "$(OS)$(COM)"=="FREEBSDGCC"
-+LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN'
-+.ENDIF # "$(OS)$(COM)"=="FREEBSDGCC"
- LDFLAGS:=$(xmlsec_LDFLAGS)
- .EXPORT: LDFLAGS
-
diff --git a/editors/openoffice.org-2.0-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx b/editors/openoffice.org-2.0-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx
deleted file mode 100644
index 65073f215e7b..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx
+++ /dev/null
@@ -1,65 +0,0 @@
-Issuetracker : #i60097#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : getc and ungetc are defined at stdio.h
-
-Index: psprint/source/fontmanager/parseAFM.cxx
-===================================================================
-RCS file: /cvs/gsl/psprint/source/fontmanager/parseAFM.cxx,v
-retrieving revision 1.6
-diff -u -r1.6 parseAFM.cxx
---- psprint/source/fontmanager/parseAFM.cxx 28 Dec 2005 17:08:38 -0000 1.6
-+++ psprint/source/fontmanager/parseAFM.cxx 5 Jan 2006 22:05:26 -0000
-@@ -113,8 +113,8 @@
- FileInputStream( const char* pFilename );
- ~FileInputStream();
-
-- int getc() { return (m_nPos < m_nLen) ? int(m_pMemory[m_nPos++]) : -1; }
-- void ungetc()
-+ int getChar() { return (m_nPos < m_nLen) ? int(m_pMemory[m_nPos++]) : -1; }
-+ void ungetChar()
- {
- if( m_nPos > 0 )
- m_nPos--;
-@@ -278,18 +278,18 @@
-
- /* skip over white space */
- // relies on EOF = -1
-- while( is_white_Array[ (ch = stream->getc()) & 255 ] )
-+ while( is_white_Array[ (ch = stream->getChar()) & 255 ] )
- ;
-
- idx = 0;
- while( ch != -1 && ! is_delimiter_Array[ ch & 255 ] )
- {
- ident[idx++] = ch;
-- ch = stream->getc();
-+ ch = stream->getChar();
- }
-
- if (ch == -1 && idx < 1) return ((char *)NULL);
-- if (idx >= 1 && ch != ':' ) stream->ungetc();
-+ if (idx >= 1 && ch != ':' ) stream->ungetChar();
- if (idx < 1 ) ident[idx++] = ch; /* single-character token */
- ident[idx] = 0;
- rLen = idx;
-@@ -311,16 +311,16 @@
- static char ident[MAX_NAME]; /* storage buffer for keywords */
- int ch, idx;
-
-- while ((ch = stream->getc()) == ' ' || ch == '\t' );
-+ while ((ch = stream->getChar()) == ' ' || ch == '\t' );
-
- idx = 0;
- while (ch != -1 && ch != lineterm && ch != '\r')
- {
- ident[idx++] = ch;
-- ch = stream->getc();
-+ ch = stream->getChar();
- } /* while */
-
-- stream->ungetc();
-+ stream->ungetChar();
- ident[idx] = 0;
-
- return(ident); /* returns pointer to the token */
diff --git a/editors/openoffice.org-2.0-devel/files/patch-sdkoo b/editors/openoffice.org-2.0-devel/files/patch-sdkoo
deleted file mode 100644
index 6dfc9a5fb029..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-sdkoo
+++ /dev/null
@@ -1,64 +0,0 @@
-Issuetracker : #iXXXXX#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : building sdk fails for FreeBSD
-
-1. Build error
-dmake sdkoo fails like:
-
-##############################################################################
-... starting unpatched epm ...
-... epm -f bsd openoffice.org-sdk /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_SRC680__en-US.lst -v 2>&1 | ...
-
-**************************************************
-ERROR: ERROR: "epm -f bsd openoffice.org-sdk /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_SRC680__en-US.lst -v 2>&1 |"!
-in function: call_epm
-**************************************************
-
-**************************************************
-ERROR: Saved logfile: /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/logging/en-US/log_SRC680__en-US.log
-**************************************************
-... cleaning the output tree ...
-... removing directory /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/zip/en-US ...
-Fri Nov 18 22:49:33 2005 (08:05 min.)
-dmake: Error code 255, while making 'sdkoo_en-US.bsd'
-'---* tg_merge.mk *---'
-##############################################################################
-
-2. Reason why it fails:
-since quoting for filename containing `$' produces an error
-
-tar: opt/openoffice.org2.0_sdk/classes/com/sun/star/lib/loader/InstallationFinder\$StreamGobbler.class: Could not stat: No such file or directory
-tar: opt/openoffice.org2.0_sdk/classes/com/sun/star/lib/loader/Loader\$CustomURLClassLoader.class: Could not stat: No such file or directory
-
-3. Solution
-
-For FreeBSD, we don't need quoting. We use printf for files names
-instead of using qprintf, a function that treats quoting string.
-
---- epm/epm-3.7.patch Sat Nov 19 10:21:34 2005
-+++ epm/epm-3.7.patch Sat Nov 19 10:22:23 2005
-@@ -586,3 +586,23 @@
- }
-
- --- 457,462 ----
-+
-+*** misc/epm-3.7/bsd.c Wed Jan 15 02:05:01 2003
-+--- misc/build/epm-3.7/bsd.c Sat Jun 4 06:18:27 2005
-+***************
-+*** 234,240 ****
-+ case 'c' :
-+ case 'f' :
-+ case 'l' :
-+! qprintf(fp, "%s\n", file->dst + 1);
-+ break;
-+ }
-+ }
-+--- 243,249 ----
-+ case 'c' :
-+ case 'f' :
-+ case 'l' :
-+! fprintf(fp, "%s\n", file->dst + 1);
-+ break;
-+ }
-+ }
diff --git a/editors/openoffice.org-2.0-devel/files/patch-solenv+inc+unxfbsdi.mk b/editors/openoffice.org-2.0-devel/files/patch-solenv+inc+unxfbsdi.mk
deleted file mode 100644
index 02b0c8ad1400..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-solenv+inc+unxfbsdi.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-Issuetracker : #i56956#
-CWS : N/A
-Author: : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : catch up recent version of solenv/inc/unxlngi6.mk
-catch up recent version of solenv/inc/unxlngi6.mk and STLPORT_VERSION is 450 in FreeBSD
-
---- solenv/inc/unxfbsdi.mk Wed Oct 5 20:33:12 2005
-+++ solenv/inc/unxfbsdi.mk Mon Oct 24 11:13:39 2005
-@@ -45,7 +45,7 @@
- #LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter"
-
- # _PTHREADS is needed for the stl
--CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400
-+CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450
-
- # enable visibility define in "sal/types.h"
- .IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
-@@ -190,8 +190,13 @@
-
- LIBSALCPPRT*=-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive
-
-+.IF "$(USE_STLP_DEBUG)" != ""
-+LIBSTLPORT=$(DYNAMIC) -lstlport_gcc_stldebug
-+LIBSTLPORTST=$(STATIC) -lstlport_gcc_stldebug $(DYNAMIC)
-+.ELSE # "$(USE_STLP_DEBUG)" != ""
- LIBSTLPORT=$(DYNAMIC) -lstlport_gcc
- LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC)
-+.ENDIF # "$(USE_STLP_DEBUG)" != ""
-
- #FILLUPARC=$(STATIC) -lsupc++ $(DYNAMIC)
-
diff --git a/editors/openoffice.org-3-devel/Makefile b/editors/openoffice.org-3-devel/Makefile
index d24e0c28f41d..d1de2d1a680c 100644
--- a/editors/openoffice.org-3-devel/Makefile
+++ b/editors/openoffice.org-3-devel/Makefile
@@ -9,15 +9,19 @@ PORTNAME?= openoffice.org
PORTVERSION?= 2.0.${SNAPDATE}
CATEGORIES+= editors java
MASTER_SITES+= http://openoffice.lunarshells.com/sources/ \
- ftp://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
+ http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
+ ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:antbin,} \
${MASTER_SITE_MOZILLA:S/$/:mozsrc/}
MASTER_SITE_SUBDIR+= mozilla/releases/mozilla${MOZILLA_VERSION}/source/:mozsrc
-DISTFILES+= OOo_${OOOTAG}_source.tar.bz2
+DISTFILES+= OOo_${OOOTAG}_source${EXTRACT_SUFX}
.if defined(WITH_GPC)
DISTFILES+= gpc231.tar.Z:gpc
.endif
-EXTRACT_ONLY= OOo_${OOOTAG}_source.tar.bz2
+.if defined(WITH_GNUGCJ)
+DISTFILES+= ${ANT_DISTFILE}:antbin
+.endif
+EXTRACT_ONLY= OOo_${OOOTAG}_source${EXTRACT_SUFX}
MAINTAINER= openoffice@FreeBSD.org
COMMENT?= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser(developer version)
@@ -59,9 +63,9 @@ IGNORE= install lang/perl5.8 then try again
CODELINE= 680
RELEASE_NR= 2.0
-MILESTONE?= 151
+MILESTONE?= 155
OOOTAG?= SRC680_m${MILESTONE}
-SNAPDATE= 20060117
+SNAPDATE= 20060203
INSTALLATION_BASEDIR?= openoffice.org-${OOOTAG}
EXECBASE?= openoffice.org-${OOOTAG}
DIST_SUBDIR= openoffice.org2.0
@@ -78,7 +82,7 @@ PKGNAMESUFFIX?= -${LANG_SUFFIX}
.endif
.if defined(WITH_GNUGCJ)
-BUILD_DEPENDS+= gcc41:${PORTSDIR}/lang/gcc41
+#BUILD_DEPENDS+= ${LOCALBASE}/bin/gcc41:${PORTSDIR}/lang/gcc41-wgcj
BROKEN= "still work in progress"
.else
BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
@@ -88,8 +92,8 @@ BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
.if defined(WITH_GNUGCJ)
-CC= ccache gcc41
-CXX= ccache g++41
+CC= ccache ${LOCALBASE}/gcc41/bin/gcc
+CXX= ccache ${LOCALBASE}/gcc41/bin/g++
.else
CC= ccache gcc-ooo
CXX= ccache g++-ooo
@@ -97,8 +101,8 @@ CXX= ccache g++-ooo
.endif #WITH_CCACHE
.if !defined(WITH_CCACHE)
.if defined(WITH_GNUGCJ)
-CC= gcc41
-CXX= g++41
+CC= ${LOCALBASE}/gcc41/bin/gcc
+CXX= ${LOCALBASE}/gcc41/bin/g++
.else
CC= gcc-ooo
CXX= g++-ooo
@@ -112,26 +116,40 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
bison2:${PORTSDIR}/devel/bison2 \
imake:${X_IMAKE_PORT}
-.if !defined(WITHOUT_JAVA)
-BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/apache-ant
+.if !defined(WITHOUT_JAVA) && !defined(WITH_GNUGCJ)
+BUILD_DEPENDS+= ant:${PORTSDIR}/devel/apache-ant
.else
LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
.endif
+.if defined(WITH_GNUGCJ)
+ANT_DISTFILE= apache-ant-${ANT_VERSION}-bin.tar.bz2
+ANT_VERSION= 1.6.5
+.endif
.if !defined(WITH_GPC)
LIB_DEPENDS= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl2
.endif
+
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
-ANT?= ${LOCALBASE}/bin/ant
-ZIP?= ${PREFIX}/bin/zip
TCSH?= /bin/tcsh
PKGMESSAGE= ${WRKDIR}/pkg-message
NUMOFPROCESSES?= 1
+USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --with-gnu-patch=${LOCALBASE}/bin/gpatch --with-epm=internal --with-system-freetype --enable-crashdump=yes --enable-symbols=SMALL
+.if (${OSVERSION} <= 492000)
+EXTRA_PATCHES+= ${FILESDIR}/fbsd4-workaroundpatch
+.endif
+.if defined(WITH_GNUGCJ)
+EXTRA_PATCHES+= ${FILESDIR}/gcj-cws_jaxpapi ${FILESDIR}/gcj-patches
+.endif
+#.if defined(WITH_TTF_BYTECODE_ENABLED)
+#EXTRA_PATCHES+= ${FILESDIR}/optpatch-freetype
+#.endif
+
.include <${FILESDIR}/Makefile.knobs>
pre-everything::
@@ -152,11 +170,8 @@ pre-everything::
.endif
post-extract:
-#.if defined(WITH_TTF_BYTECODE_ENABLED)
-# @cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/optpatch-freetype
-#.endif
-.if (${OSVERSION} <= 492000)
- @cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/fbsd4-workaroundpatch
+.if defined(WITH_GNUGCJ)
+ @cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${ANT_DISTFILE} | ${BZIP2_CMD} -d | ${TAR} xf -
.endif
.if defined(WITH_GPC)
@cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/gpc231.tar.Z | ${TAR} xfz -
diff --git a/editors/openoffice.org-3-devel/distinfo b/editors/openoffice.org-3-devel/distinfo
index 4a24eeb47005..5f814dd0406e 100644
--- a/editors/openoffice.org-3-devel/distinfo
+++ b/editors/openoffice.org-3-devel/distinfo
@@ -1,9 +1,12 @@
-MD5 (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = f652b703f21ade84d6ff814684df2327
-SHA256 (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = 2c6a2e37ff5dd8b01c4d976239922e12b26bf948908f62d9e2df620c8ce4cf2d
-SIZE (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = 236161920
+MD5 (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = b8a712737bb146baf1ebb00c88ed3dc3
+SHA256 (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = 80b481f8815f7bc9263d9544f1a0326abeb61de7349e4947614a5e72e49c4b0b
+SIZE (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = 235716251
MD5 (openoffice.org2.0/gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
SHA256 (openoffice.org2.0/gpc231.tar.Z) = c1265948554a9882fe8342ecc9ccbdb423321a572a5a6b56f7dfad389540da4e
SIZE (openoffice.org2.0/gpc231.tar.Z) = 27917
+MD5 (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = 26031ee1a2fd248ad0cc2e7f17c44c39
+SHA256 (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = d463b8259cb199cd26799c817756c73e4e7808b0cf915f86841ac9779e0f9936
+SIZE (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = 6743024
MD5 (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = d3f3528b6c5eade402ed058207cffa14
SHA256 (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = 3e252bab95ecad3016b72fa594e0c44b9633d8c7b6af187e088a092019b56445
SIZE (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = 38721366
diff --git a/editors/openoffice.org-3-devel/files/Makefile.knobs b/editors/openoffice.org-3-devel/files/Makefile.knobs
index 8fc898b33521..1d119fc69a6a 100644
--- a/editors/openoffice.org-3-devel/files/Makefile.knobs
+++ b/editors/openoffice.org-3-devel/files/Makefile.knobs
@@ -6,7 +6,7 @@
CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}" --with-ant-home=${LOCALBASE}/ant
.endif
.if !defined(WITHOUT_JAVA) && defined(WITH_GNUGCJ)
-CONFIGURE_ARGS+= --with-java=gij --with-ant-home=${LOCALBASE}/ant
+CONFIGURE_ARGS+= --with-jdk-home="${LOCALBASE}/gcc41" --with-java=gij --with-ant-home="${WRKDIR}/apache-ant-${ANT_VERSION}" --disable-qadevooo
.endif
.if defined(WITHOUT_JAVA)
CONFIGURE_ARGS+= --without-java
diff --git a/editors/openoffice.org-3-devel/files/gcj-cws_jaxpapi b/editors/openoffice.org-3-devel/files/gcj-cws_jaxpapi
new file mode 100644
index 000000000000..b7473b8dc748
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/gcj-cws_jaxpapi
@@ -0,0 +1,1308 @@
+Index: external/prj/d.lst
+===================================================================
+RCS file: /cvs/util/external/prj/d.lst,v
+retrieving revision 1.21
+retrieving revision 1.21.18.1
+diff -u -r1.21 -r1.21.18.1
+--- external/prj/d.lst 24 Nov 2004 15:13:13 -0000 1.21
++++ external/prj/d.lst 17 Jan 2006 10:39:46 -0000 1.21.18.1
+@@ -24,8 +24,6 @@
+ ..\%__SRC%\bin\*.zip %_DEST%\pck%_EXT%\*.zip
+ ..\common.pro\bin\*.zip %_DEST%\pck%_EXT%\*.zip
+ ..\common\xt.jar %_DEST%\bin%_EXT%\xt.jar
+-..\common\jaxp.jar %_DEST%\bin%_EXT%\jaxp.jar
+-..\common\parser.jar %_DEST%\bin%_EXT%\parser.jar
+
+ ..\audio\rtufiles\lib\audio\libaudio.a %_DEST%\lib%_EXT%\libaudio.a
+ ..\audio\rtufiles\lib\audio\*.h %_DEST%\inc%_EXT%\audio\*
+Index: filter/source/config/fragments/makefile.mk
+===================================================================
+RCS file: /cvs/framework/filter/source/config/fragments/makefile.mk,v
+retrieving revision 1.16
+retrieving revision 1.16.16.1
+diff -u -r1.16 -r1.16.16.1
+--- filter/source/config/fragments/makefile.mk 14 Dec 2005 14:48:16 -0000 1.16
++++ filter/source/config/fragments/makefile.mk 17 Jan 2006 11:03:31 -0000 1.16.16.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.16 $
++# $Revision: 1.16.16.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/12/14 14:48:16 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:03:31 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -156,11 +156,7 @@
+ MERGE:=python ../tools/merge/pyAltFCFGMerge
+ .ELSE
+ MERGE := $(JAVAI) -jar $(CLASSDIR)$/FCFGMerge.jar
+-.IF "$(JDK)" == "gcj"
+-XALANCLASS=$(SOLARBINDIR)/xalan.jar
+-CLASSPATH:=$(CLASSPATH)$(PATH_SEPERATOR){$(subst,%Z*Z%,$(PATH_SEPERATOR) $(XALANCLASS:s/ /%Z*Z%/))}
+-.ENDIF
+-PACKLANG := $(JAVAI) org.apache.xalan.xslt.Process -XSL langfilter.xsl
++PACKLANG := $(JAVAI) $(JAVACPS) $(SOLARBINDIR)/xalan.jar org.apache.xalan.xslt.Process -XSL langfilter.xsl
+ .ENDIF
+
+ # -----------------------------------------------------------------------------
+Index: filter/source/config/tools/utils/makefile.mk
+===================================================================
+RCS file: /cvs/framework/filter/source/config/tools/utils/makefile.mk,v
+retrieving revision 1.5
+retrieving revision 1.5.92.1
+diff -u -r1.5 -r1.5.92.1
+--- filter/source/config/tools/utils/makefile.mk 8 Sep 2005 21:39:14 -0000 1.5
++++ filter/source/config/tools/utils/makefile.mk 17 Jan 2006 11:03:44 -0000 1.5.92.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.5 $
++# $Revision: 1.5.92.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/09/08 21:39:14 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:03:44 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -51,8 +51,8 @@
+ juh.jar \
+ jut.jar \
+ java_uno.jar \
+- jaxp.jar \
+- parser.jar
++ xml-apis.jar \
++ xercesImpl.jar
+
+ JAVACLASSFILES = \
+ $(CLASSDIR)$/$(PACKAGE)$/AnalyzeStartupLog.class \
+Index: helpcontent2/settings.pmk
+===================================================================
+RCS file: /cvs/documentation/helpcontent2/settings.pmk,v
+retrieving revision 1.5
+retrieving revision 1.5.106.1
+diff -u -r1.5 -r1.5.106.1
+--- helpcontent2/settings.pmk 29 Apr 2005 09:14:07 -0000 1.5
++++ helpcontent2/settings.pmk 17 Jan 2006 12:52:53 -0000 1.5.106.1
+@@ -1,5 +1,5 @@
+
+-my_cp:=$(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.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
++my_cp:=$(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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
+
+ .IF "$(SYSTEM_DB)" == "YES"
+ my_cp!:=$(my_cp)$(PATH_SEPERATOR)$(DB_JAR)
+Index: officecfg/org/openoffice/configuration/FileHelper.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/FileHelper.java,v
+retrieving revision 1.2
+retrieving revision 1.2.88.1
+diff -u -r1.2 -r1.2.88.1
+--- officecfg/org/openoffice/configuration/FileHelper.java 8 Sep 2005 14:42:51 -0000 1.2
++++ officecfg/org/openoffice/configuration/FileHelper.java 17 Jan 2006 11:28:49 -0000 1.2.88.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: FileHelper.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.88.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/08 14:42:51 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:28:49 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -62,7 +62,7 @@
+ File aFile = new File(sSource);
+
+ try {
+- absPath = aFile.getAbsoluteFile().toURL().toString();
++ absPath = aFile.getAbsolutePath();
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+Index: officecfg/org/openoffice/configuration/Generator.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/Generator.java,v
+retrieving revision 1.2
+retrieving revision 1.2.902.1
+diff -u -r1.2 -r1.2.902.1
+--- officecfg/org/openoffice/configuration/Generator.java 5 Jul 2001 08:04:36 -0000 1.2
++++ officecfg/org/openoffice/configuration/Generator.java 17 Jan 2006 11:28:50 -0000 1.2.902.1
+@@ -18,7 +18,7 @@
+ public Generator() throws Exception
+ {
+ // set the driver for xt
+- System.setProperty("com.jclark.xsl.sax.parser", "com.sun.xml.parser.Parser");
++ System.setProperty("com.jclark.xsl.sax.parser", "org.apache.xerces.parsers.SAXParser");
+ }
+
+ /**
+Index: officecfg/org/openoffice/configuration/XMLDefaultGenerator.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/XMLDefaultGenerator.java,v
+retrieving revision 1.4
+retrieving revision 1.4.88.1
+diff -u -r1.4 -r1.4.88.1
+--- officecfg/org/openoffice/configuration/XMLDefaultGenerator.java 8 Sep 2005 14:43:34 -0000 1.4
++++ officecfg/org/openoffice/configuration/XMLDefaultGenerator.java 17 Jan 2006 11:28:50 -0000 1.4.88.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XMLDefaultGenerator.java,v $
+ *
+- * $Revision: 1.4 $
++ * $Revision: 1.4.88.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/08 14:43:34 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:28:50 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -36,12 +36,10 @@
+
+ import org.xml.sax.*;
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.XmlDocument;
+ import org.xml.sax.SAXException;
+ import org.xml.sax.SAXParseException;
+ import javax.xml.parsers.SAXParserFactory;
+ import javax.xml.parsers.SAXParser;
+-import com.sun.xml.tree.*;
+ import java.util.*;
+ import java.io.*;
+ import com.jclark.xsl.sax.Driver;
+@@ -65,7 +63,7 @@
+ public XMLDefaultGenerator(String sourceFile) throws Exception
+ {
+ // set the driver for xt
+- System.setProperty("com.jclark.xsl.sax.parser", "com.sun.xml.parser.Parser");
++ System.setProperty("com.jclark.xsl.sax.parser", "org.apache.xerces.parsers.SAXParser");
+ evaluateSchema(sourceFile);
+ }
+
+Index: readlicense_oo/util/makefile.pmk
+===================================================================
+RCS file: /cvs/installation/readlicense/util/makefile.pmk,v
+retrieving revision 1.10
+retrieving revision 1.10.12.1
+diff -u -r1.10 -r1.10.12.1
+--- readlicense_oo/util/makefile.pmk 25 Oct 2005 10:43:44 -0000 1.10
++++ readlicense_oo/util/makefile.pmk 17 Jan 2006 11:15:07 -0000 1.10.12.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.pmk,v $
+ #
+-# $Revision: 1.10 $
++# $Revision: 1.10.12.1 $
+ #
+-# last change: $Author: hr $ $Date: 2005/10/25 10:43:44 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:15:07 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -70,7 +70,7 @@
+ $(MISC)$/readme%.html :
+ @+-$(MKDIR) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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%.txt :
+ @+-$(MKDIR) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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: scripting/java/build.xml
+===================================================================
+RCS file: /cvs/framework/scripting/java/build.xml,v
+retrieving revision 1.32
+retrieving revision 1.32.18.1
+diff -u -r1.32 -r1.32.18.1
+--- scripting/java/build.xml 9 Sep 2005 01:54:21 -0000 1.32
++++ scripting/java/build.xml 17 Jan 2006 11:15:56 -0000 1.32.18.1
+@@ -4,9 +4,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.32 $
++ $Revision: 1.32.18.1 $
+
+- last change: $Author: rt $ $Date: 2005/09/09 01:54:21 $
++ last change: $Author: cmc $ $Date: 2006/01/17 11:15:56 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -65,15 +65,11 @@
+
+ <path id="idesupport.class.path">
+ <pathelement path="${jardir}"/>
+- <!-- <pathelement path="${solar.jar}/jaxp.jar"/>
+- <pathelement path="${solar.jar}/parser.jar"/>
+- <pathelement path="${install.dir}/xerces.jar"/> -->
+ </path>
+
+ <path id="openide.class.path">
+ <pathelement path="${jardir}"/>
+ <pathelement path="${solar.jar}/openide.jar"/>
+- <!-- <pathelement path="${install.dir}/xerces.jar"/> -->
+ </path>
+
+ <path id="netbeans.editor.support.classpath">
+Index: solenv/bin/modules/installer/javainstaller.pm
+===================================================================
+RCS file: /cvs/tools/solenv/bin/modules/installer/javainstaller.pm,v
+retrieving revision 1.22
+retrieving revision 1.21.184.2
+diff -u -r1.22 -r1.21.184.2
+--- solenv/bin/modules/installer/javainstaller.pm 13 Jan 2006 15:01:29 -0000 1.22
++++ solenv/bin/modules/installer/javainstaller.pm 18 Jan 2006 12:05:44 -0000 1.21.184.2
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: javainstaller.pm,v $
+ #
+-# $Revision: 1.22 $
++# $Revision: 1.21.184.2 $
+ #
+-# last change: $Author: rt $ $Date: 2006/01/13 15:01:29 $
++# last change: $Author: cmc $ $Date: 2006/01/18 12:05:44 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -494,14 +494,14 @@
+
+ # The variable CLASSPATH has to contain:
+ # $installsdk/classes:$installsdk/classes/setupsdk.jar:
+- # $installsdk/classes/parser.jar:$installsdk/classes/jaxp.jar:
++ # $installsdk/classes/xercesImpl.jar:$installsdk/classes/xml-apis.jar:
+ # $installsdk/classes/ldapjdk.jar:$directory
+
+ my @additional_classpath = ();
+ push(@additional_classpath, "$installsdk\/classes");
+ push(@additional_classpath, "$installsdk\/installsdk.jar");
+- push(@additional_classpath, "$installsdk\/classes\/parser.jar");
+- push(@additional_classpath, "$installsdk\/classes\/jaxp.jar");
++ push(@additional_classpath, "$installsdk\/classes\/xml-apis.jar");
++ push(@additional_classpath, "$installsdk\/classes\/xercesImpl.jar");
+ push(@additional_classpath, "$directory");
+
+ my $newclasspathstring = "";
+Index: solenv/inc/tg_config.mk
+===================================================================
+RCS file: /cvs/tools/solenv/inc/tg_config.mk,v
+retrieving revision 1.6
+retrieving revision 1.6.184.1
+diff -u -r1.6 -r1.6.184.1
+--- solenv/inc/tg_config.mk 8 Sep 2005 09:42:41 -0000 1.6
++++ solenv/inc/tg_config.mk 17 Jan 2006 11:10:09 -0000 1.6.184.1
+@@ -1,12 +1,12 @@
+-#*************************************************************************
++#************************************************************************
+ #
+ # OpenOffice.org - a multi-platform office productivity suite
+ #
+ # $RCSfile: tg_config.mk,v $
+ #
+-# $Revision: 1.6 $
++# $Revision: 1.6.184.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/09/08 09:42:41 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:10:09 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -62,12 +62,12 @@
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+ .IF "$(NO_INSPECTION)"==""
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.configuration.Inspector $<
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_val.xsl $(@:d)$*.val componentName=$(PACKAGE).$*
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/sanity.xsl $(@:d)$*.san
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_trim.xsl $(@:d)$*.tmp
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_trim.xsl $(@:d)$*.tmp
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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,
+ # org.openoffice.configuration.Inspector should be replaced and the
+@@ -101,7 +101,7 @@
+ @+echo -------------+ creating locale dependent resource bundles
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/resource.xsl $@ locale={$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))}
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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$/, $@))} \
+@@ -129,11 +129,11 @@
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+ .IF "$(NO_INSPECTION)"==""
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.configuration.Inspector $<
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/alllang.xsl $(@:d)$*.tmp xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs schemaRoot=$(XCSROOT)$/registry$/schema
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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,
+ # org.openoffice.configuration.Inspector should be replaced and the
+@@ -170,8 +170,8 @@
+ @+echo -------------+ creating locale dependent entries
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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 \
+ --stringparam xcs $(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs \
+@@ -206,8 +206,8 @@
+ @+echo -------------+ creating a module file
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$(@:f:s/.xcu/.tmp/) $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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/) \
+ --stringparam xcs $(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$(<:b).xcs \
+Index: toolkit/test/accessibility/jawb.mf
+===================================================================
+RCS file: /cvs/gsl/toolkit/test/accessibility/jawb.mf,v
+retrieving revision 1.4
+retrieving revision 1.4.178.1
+diff -u -r1.4 -r1.4.178.1
+--- toolkit/test/accessibility/jawb.mf 23 Jul 2004 14:26:57 -0000 1.4
++++ toolkit/test/accessibility/jawb.mf 17 Jan 2006 11:03:18 -0000 1.4.178.1
+@@ -1,3 +1,3 @@
+ Manifest-Version: 1.0
+ Main-Class: AccessibilityWorkBench
+-Class-Path: classes.jar ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar xt.jar jaxp.jar
++Class-Path: classes.jar ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar xt.jar xml-apis.jar
+Index: xmerge/source/xmerge/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/build.xml,v
+retrieving revision 1.2
+retrieving revision 1.2.4.1
+diff -u -r1.2 -r1.2.4.1
+--- xmerge/source/xmerge/build.xml 24 Oct 2005 17:57:33 -0000 1.2
++++ xmerge/source/xmerge/build.xml 17 Jan 2006 10:54:44 -0000 1.2.4.1
+@@ -58,9 +58,8 @@
+ <property file="../inc/antbuild.properties"/>
+
+ <path id="classpath">
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ <pathelement location="${solar.jar}/unoil.jar"/>
+ <pathelement location="${solar.jar}/ridl.jar"/>
+ <pathelement location="${solar.jar}/jurt.jar"/>
+@@ -96,7 +95,7 @@
+ <attribute name="Specification-Vendor" value="OpenOffice.org"/>
+ <attribute name="Specification-Version" value="0.6.0"/>
+ <attribute name="Implementation-Version" value="#IMPL-VERSION#"/>
+- <attribute name="Class-Path" value="jaxp.jar parser.jar"/>
++ <attribute name="Class-Path" value="xml-apis.jar xercesImpl.jar"/>
+ </manifest>
+ </jar>
+ </target>
+Index: xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java,v
+retrieving revision 1.3
+retrieving revision 1.2.4.1
+diff -u -r1.3 -r1.2.4.1
+Index: xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml,v
+retrieving revision 1.2
+retrieving revision 1.2.4.1
+diff -u -r1.2 -r1.2.4.1
+--- xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml 24 Oct 2005 18:23:20 -0000 1.2
++++ xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml 17 Jan 2006 10:55:00 -0000 1.2.4.1
+@@ -79,9 +79,8 @@
+ <!-- classpath settings for javac tasks -->
+ <path id="classpath">
+ <pathelement location="${build.class}"/>
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ </path>
+
+ <!-- set whether we want to compile with or without deprecation -->
+Index: xmerge/util/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/util/build.xml,v
+retrieving revision 1.9
+retrieving revision 1.9.4.1
+diff -u -r1.9 -r1.9.4.1
+--- xmerge/util/build.xml 24 Oct 2005 18:23:52 -0000 1.9
++++ xmerge/util/build.xml 17 Jan 2006 10:55:05 -0000 1.9.4.1
+@@ -4,9 +4,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.9 $
++ $Revision: 1.9.4.1 $
+
+- last change: $Author: hr $ $Date: 2005/10/24 18:23:52 $
++ last change: $Author: cmc $ $Date: 2006/01/17 10:55:05 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -39,9 +39,8 @@
+ <property name="javadoc.dir" location="${build.dir}/javadoc"/>
+
+ <path id="classpath">
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ <pathelement location="${solar.jar}/unoil.jar"/>
+ <pathelement location="${solar.jar}/ridl.jar"/>
+ <pathelement location="${solar.jar}/jurt.jar"/>
+Index: xmerge/util/xmerge.mf
+===================================================================
+RCS file: /cvs/xml/xmerge/util/xmerge.mf,v
+retrieving revision 1.1
+retrieving revision 1.1.24.1
+diff -u -r1.1 -r1.1.24.1
+--- xmerge/util/xmerge.mf 7 Mar 2002 16:45:23 -0000 1.1
++++ xmerge/util/xmerge.mf 17 Jan 2006 10:55:11 -0000 1.1.24.1
+@@ -1,6 +1,6 @@
+ Manifest-Version: 1.0
+ Main-Class: org.openoffice.xmerge.test.Driver
+-Class-Path: jaxp.jar parser.jar
++Class-Path: xml-apis.jar xercesImpl.jar
+ Specification-Title: OpenOffice XMerge Framework
+ Specification-Vendor: OpenOffice.org
+ Specification-Version: 0.6.0
+Index: xmerge/workben/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/workben/build.xml,v
+retrieving revision 1.3
+retrieving revision 1.3.8.1
+diff -u -r1.3 -r1.3.8.1
+--- xmerge/workben/build.xml 9 Sep 2005 11:50:54 -0000 1.3
++++ xmerge/workben/build.xml 17 Jan 2006 10:55:13 -0000 1.3.8.1
+@@ -5,9 +5,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.3 $
++ $Revision: 1.3.8.1 $
+
+- last change: $Author: rt $ $Date: 2005/09/09 11:50:54 $
++ last change: $Author: cmc $ $Date: 2006/01/17 10:55:13 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -60,9 +60,8 @@
+ <!-- classpath settings for javac tasks -->
+ <path id="classpath">
+ <pathelement location="${build.class}"/>
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ </path>
+
+ <!-- set wether we want to compile with or without deprecation -->
+Index: xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java,v
+retrieving revision 1.2
+retrieving revision 1.2.2.1
+diff -u -r1.2 -r1.2.2.1
+--- xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java 16 Jan 2006 12:35:17 -0000 1.2
++++ xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java 19 Jan 2006 09:43:59 -0000 1.2.2.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: GCJFileURLStreamHandler.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.2.1 $
+ *
+- * last change: $Author: obo $ $Date: 2006/01/16 12:35:17 $
++ * last change: $Author: cmc $ $Date: 2006/01/19 09:43:59 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -43,12 +43,12 @@
+ import java.net.URLConnection;
+ import java.util.HashMap;
+
+-public class FileURLStreamHandler
++public class GCJFileURLStreamHandler
+ extends gnu.java.net.protocol.file.Handler {
+
+ private static HashMap cache = new HashMap();
+
+- FileURLStreamHandler() {
++ GCJFileURLStreamHandler() {
+ }
+
+ public URLConnection openConnection(URL url) throws IOException {
+Index: xmlhelp/source/com/sun/star/help/HelpCompiler.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/HelpCompiler.java,v
+retrieving revision 1.12
+retrieving revision 1.11.4.2
+diff -u -r1.12 -r1.11.4.2
+--- xmlhelp/source/com/sun/star/help/HelpCompiler.java 16 Jan 2006 12:35:49 -0000 1.12
++++ xmlhelp/source/com/sun/star/help/HelpCompiler.java 18 Jan 2006 12:08:35 -0000 1.11.4.2
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: HelpCompiler.java,v $
+ *
+- * $Revision: 1.12 $
++ * $Revision: 1.11.4.2 $
+ *
+- * last change: $Author: obo $ $Date: 2006/01/16 12:35:49 $
++ * last change: $Author: cmc $ $Date: 2006/01/18 12:08:35 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -38,6 +38,7 @@
+ import java.io.ByteArrayInputStream;
+ import java.io.File;
+ import java.io.IOException;
++import java.io.ByteArrayOutputStream;
+ import java.io.InputStreamReader;
+ import java.io.UnsupportedEncodingException;
+ import java.net.MalformedURLException;
+@@ -49,16 +50,20 @@
+ import java.util.LinkedList;
+ import java.util.List;
+
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
++
+ import org.w3c.dom.Document;
+ import org.w3c.dom.Element;
+ import org.w3c.dom.Node;
+ import org.w3c.dom.NodeList;
+ import org.w3c.dom.Text;
++import org.w3c.dom.traversal.DocumentTraversal;
++import org.w3c.dom.traversal.NodeFilter;
++import org.w3c.dom.traversal.TreeWalker;
++import org.w3c.dom.traversal.NodeIterator;
+ import org.xml.sax.InputSource;
+
+-import com.sun.xml.tree.TreeWalker;
+-import com.sun.xml.tree.XmlDocument;
+-
+ public class HelpCompiler {
+
+ private static final String makeRelPrefix = ".." + File.separator;
+@@ -98,25 +103,25 @@
+
+ }
+
+- private Object[] switchFind(Node node) {
++ private Object[] switchFind(Document doc) {
+ HashSet hs = new HashSet();
+- Node next;
+- TreeWalker tw = new TreeWalker(node);
+- while ((next = tw.getNextElement("switchinline")) != null) {
+- Element el = (Element) next;
+- if (!el.getAttribute("select").equals("appl"))
+- continue;
+-
+- NodeList nl = el.getChildNodes();
+- for (int i = 0; i < nl.getLength(); ++i) {
+- if (nl.item(i).getNodeName().equals("caseinline")) {
+- String appl = ((Element) nl.item(i)).getAttribute("select");
+- hs.add(appl);
+- } else if (nl.item(i).getNodeName().equals("defaultinline")) {
+- hs.add("DEFAULT");
+- }
+- }
+- }
++
++ NodeList nodelist = doc.getElementsByTagName("switchinline");
++
++ for (int j = 0; j < nodelist.getLength(); ++j) {
++ Element el = (Element) nodelist.item(j);
++ if (el.getAttribute("select").equals("appl")) {
++ NodeList nl = el.getChildNodes();
++ for (int i = 0; i < nl.getLength(); ++i) {
++ if (nl.item(i).getNodeName().equals("caseinline")) {
++ String appl = ((Element) nl.item(i)).getAttribute("select");
++ hs.add(appl);
++ } else if (nl.item(i).getNodeName().equals("defaultinline")) {
++ hs.add("DEFAULT");
++ }
++ }
++ }
++ }
+
+ hs.add("DEFAULT");
+ return hs.toArray();
+@@ -129,6 +134,9 @@
+ NodeList nl = node.getChildNodes();
+ for (int i = 0; i < nl.getLength(); ++i) {
+ Node n = nl.item(i);
++ if (n == null) {
++ continue;
++ }
+ if ((n.getNodeName().equals("switchinline")
+ || n.getNodeName().equals("switch"))
+ && ((Element) n).getAttribute("select").equals("appl")) {
+@@ -168,93 +176,119 @@
+ return parent;
+ }
+
+- public boolean compile() throws UnsupportedEncodingException {
+- // we now have the jaroutputstream, which will contain the document.
+- // now determine the document as a dom tree in variable docResolved
+- File inputFil = new File(inputFile);
+-
+- // HelpCompiler.getSourceDocument() takes a string that resembles an URL.
+- // Using inputFil.toURL() is way to expensive here,
+- // because it checks the filesystem to find out if inputFil
+- // might be a directory. This takes a lot of time if working from
+- // Windows via NFS on remote volumes. We "know" that inputfil is
+- // a file anyway.
+- String path;
+- if ( File.separatorChar == '\\' ) {
+- path = "file:/";
+- path += inputFil.getAbsolutePath();
+- path = path.replace('\\','/');
++ static byte[] docToBytes(Document doc) throws IOException {
++ ByteArrayOutputStream baos = new ByteArrayOutputStream();
++
++ java.lang.reflect.Constructor con;
++ java.lang.reflect.Method meth;
++ String domImpl = doc.getClass().getName();
++
++ /*
++ * We may have multiple XML parsers in the Classpath.
++ * Depending on which one is first, the actual type of
++ * doc may vary. Need a way to find out which API is being
++ * used and use an appropriate serialization method.
++ */
++ try {
++ // First of all try for JAXP 1.0
++ if (domImpl.equals("com.sun.xml.tree.XmlDocument")) {
++ Class jaxpDoc = Class.forName("com.sun.xml.tree.XmlDocument");
++
++ // The method is in the XMLDocument class itself, not a helper
++ meth = jaxpDoc.getMethod("write",
++ new Class[] { Class.forName("java.io.OutputStream") } );
++
++ meth.invoke(doc, new Object [] { baos } );
++ }
++ else if (domImpl.equals("org.apache.crimson.tree.XmlDocument")) {
++ Class crimsonDoc = Class.forName("org.apache.crimson.tree.XmlDocument");
++ // The method is in the XMLDocument class itself, not a helper
++ meth = crimsonDoc.getMethod("write",
++ new Class[] { Class.forName("java.io.OutputStream") } );
++
++ meth.invoke(doc, new Object [] { baos } );
++ }
++ else if (domImpl.equals("gnu.xml.dom.DomDocument")) {
++ Class gnuSer = Class.forName("gnu.xml.dom.ls.DomLSSerializer");
++
++ // Get the serialize method
++ meth = gnuSer.getMethod("serialize",
++ new Class [] { Class.forName("org.w3c.dom.Node"),
++ Class.forName("java.io.OutputStream") } );
++
++ // Get an instance
++ Object serializer = gnuSer.newInstance();
++
++ // Now call serialize to write the document
++ meth.invoke(serializer, new Object [] { doc, baos } );
++ }
++ else if (domImpl.equals("org.apache.xerces.dom.DocumentImpl")
++ || domImpl.equals("org.apache.xerces.dom.DeferredDocumentImpl")) {
++ // Try for Xerces
++ Class xercesSer =
++ Class.forName("org.apache.xml.serialize.XMLSerializer");
++
++ // Get the OutputStream constructor
++ // May want to use the OutputFormat parameter at some stage too
++ con = xercesSer.getConstructor(new Class []
++ { Class.forName("java.io.OutputStream"),
++ Class.forName("org.apache.xml.serialize.OutputFormat") } );
++
++
++ // Get the serialize method
++ meth = xercesSer.getMethod("serialize",
++ new Class [] { Class.forName("org.w3c.dom.Document") } );
++
++
++ // Get an instance
++ Object serializer = con.newInstance(new Object [] { baos, null } );
++
++
++ // Now call serialize to write the document
++ meth.invoke(serializer, new Object [] { doc } );
++ }
++ else {
++ // We don't have another parser
++ throw new IOException("No appropriate API (JAXP/Xerces) to serialize XML document: " + domImpl);
++ }
+ }
+- else {
+- path = "file:" + inputFil.getAbsolutePath();
++ catch (ClassNotFoundException cnfe) {
++ throw new IOException(cnfe.toString());
++ }
++ catch (Exception e) {
++ // We may get some other errors, but the bottom line is that
++ // the steps being executed no longer work
++ throw new IOException(e.toString());
+ }
+- byte[] embResolved = getSourceDocument(path);
+
+- // now add path to the document
+- // resolve the dom
+- if (embResolved == null) {
+- String sourcePath;
+- try {
+- sourcePath = inputFil.getCanonicalPath();
+- } catch (IOException e3) {
+- sourcePath = inputFil.getAbsolutePath();
+- }
+- System.err.println("ERROR: file not existing: " + sourcePath);
+- System.exit(1);
+- }
++ byte bytes[] = baos.toByteArray();
+
+- ByteArrayInputStream inByte = new ByteArrayInputStream(embResolved);
+- InputStreamReader inread;
+- try {
+- inread = new InputStreamReader(inByte, "UTF8");
+- } catch (UnsupportedEncodingException e) {
+- System.err.println(
+- "ERROR: unsupported Encoding '"
+- + inputFile
+- + "': "
+- + e.getMessage());
+- return false;
+- }
++ return bytes;
++ }
+
+- InputSource inputSource = new InputSource(inread);
+- inputSource.setEncoding("UTF8");
+- Document docResolvedOrg = null;
+- try {
+- docResolvedOrg = XmlDocument.createXmlDocument(inputSource, false);
+- } catch (Exception e) {
+- System.err.println(
+- "ERROR: XmlDocument.createXmlDocument() failed for '"
+- + inputFile
+- + "': "
+- + e.getMessage());
+- return false;
+- }
++ public class myparser {
++ HashSet hidlist = null;
++ HashSet extendedHelpText = null;
++ Hashtable keywords = null;
++ Hashtable helptexts = null;
++ String documentId = null;
++ String fileName = null;
++ String title = null;
++
++ public myparser(String indocumentId, String infileName, String intitle) {
++ hidlist = new HashSet();
++ extendedHelpText = new HashSet();
++ keywords = new Hashtable();
++ helptexts = new Hashtable();
++ documentId = indocumentId;
++ fileName = infileName;
++ title = intitle;
++ }
+
+- // now find all applications for which one has to compile
+- String documentId = null;
+- String fileName = null;
+- String title = null;
+- // returns all applications for which one has to compile
+- Object[] applications = switchFind(docResolvedOrg);
+-
+- for (int i = 0; i < applications.length; ++i) {
+- String appl = (String) applications[i];
+- // returns a clone of the document with swich-cases resolved
+- Element docResolved =
+- (Element) clone(docResolvedOrg.getDocumentElement(), appl);
+- // now determine the id of the document, which is part of the
+- // bookmark - tag (HID)
+- Node test;
+- TreeWalker treewalker = new TreeWalker(docResolved);
+- // a number to determine the anchor of the whole stuff
+- HashSet hidlist = new HashSet();
+- HashSet extendedHelpText = new HashSet();
+- Hashtable keywords = new Hashtable();
+- Hashtable helptexts = new Hashtable();
+-
+- while ((test = treewalker.getNext()) != null) {
+- if (fileName == null
+- && test.getNodeName().equals("filename")) {
++ public void traverse( Node parentNode ) {
++ // traverse all nodes that belong to the parent
++ for(Node test=parentNode.getFirstChild(); test!=null; test=test.getNextSibling()) {
++ if (fileName == null && test.getNodeName().equals("filename")) {
+ NodeList list = test.getChildNodes();
+ Node node = list.item(0);
+ if (node.getNodeType() == Node.TEXT_NODE)
+@@ -332,15 +366,102 @@
+ if (!extendedHelpText.isEmpty())
+ extendedHelpText = new HashSet();
+ }
+- } // now save the info
++ // traverse children
++ traverse(test);
++ }
++ }
++ }
++
++ public boolean compile() throws UnsupportedEncodingException, java.io.IOException {
++ // we now have the jaroutputstream, which will contain the document.
++ // now determine the document as a dom tree in variable docResolved
++ String absolutePath;
++ String sourcePath;
++ File inputFil = new File(inputFile);
++ try {
++ absolutePath = inputFil.getCanonicalPath();
++ } catch (IOException e3) {
++ absolutePath = inputFil.getAbsolutePath();
++ }
++ try {
++ sourcePath = new File(src).getCanonicalPath();
++ } catch (IOException e3) {
++ sourcePath = new File(inputFile).getAbsolutePath();
++ }
++
++ byte[] embResolved = null;
++ try {
++ embResolved = getSourceDocument(inputFil.toURL().toExternalForm());
++ } catch (MalformedURLException e4) {
++ System.err.println(
++ "ERROR: malformed URL '" + inputFile + "': " + e4.getMessage());
++ return false;
++ }
++
++ // now add path to the document
++ // resolve the dom
++ if (embResolved == null) {
++ System.err.println("ERROR: file not existing: " + sourcePath);
++ System.exit(1);
++ }
++
++ ByteArrayInputStream inByte = new ByteArrayInputStream(embResolved);
++ InputStreamReader inread;
++ try {
++ inread = new InputStreamReader(inByte, "UTF8");
++ } catch (UnsupportedEncodingException e) {
++ System.err.println(
++ "ERROR: unsupported Encoding '"
++ + inputFile
++ + "': "
++ + e.getMessage());
++ return false;
++ }
++
++ InputSource inputSource = new InputSource(inread);
++ inputSource.setEncoding("UTF8");
++ Document docResolvedOrg = null;
++ try {
++ //System.err.println("Compiling " + inputFile);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ docResolvedOrg = dBuilder.parse(inputSource);
++ } catch (Exception e) {
++ System.err.println(
++ "ERROR: XmlDocument.createXmlDocument() failed for '"
++ + inputFile
++ + "': "
++ + e.getMessage());
++ return false;
++ }
++
++ // now find all applications for which one has to compile
++ String documentId = null;
++ String fileName = null;
++ String title = null;
++ // returns all applications for which one has to compile
++ Object[] applications = switchFind(docResolvedOrg);
++
++ for (int i = 0; i < applications.length; ++i) {
++ String appl = (String) applications[i];
++ // returns a clone of the document with swich-cases resolved
++ Element docResolved =
++ (Element) clone(docResolvedOrg.getDocumentElement(), appl);
++
++ myparser aparser = new myparser(documentId, fileName, title);
++ aparser.traverse(docResolved);
++ documentId = aparser.documentId;
++ fileName = aparser.fileName;
++ title = aparser.title;
+
+ addEntryToJarFile(
+ appl,
+ "text",
+- docResolved.toString().getBytes("UTF8"));
+- addEntryToJarFile(appl, "hidlist", hidlist);
+- addEntryToJarFile(appl, "helptexts", helptexts);
+- addEntryToJarFile(appl, "keywords", keywords);
++ docToBytes(docResolved.getOwnerDocument()));
++ addEntryToJarFile(appl, "hidlist", aparser.hidlist);
++ addEntryToJarFile(appl, "helptexts", aparser.helptexts);
++ addEntryToJarFile(appl, "keywords", aparser.keywords);
+ } // end iteration over all applications
+
+ try {
+Index: xmlhelp/source/com/sun/star/help/HelpIndexer.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/HelpIndexer.java,v
+retrieving revision 1.16
+retrieving revision 1.16.20.1
+diff -u -r1.16 -r1.16.20.1
+--- xmlhelp/source/com/sun/star/help/HelpIndexer.java 25 Oct 2005 11:24:55 -0000 1.16
++++ xmlhelp/source/com/sun/star/help/HelpIndexer.java 17 Jan 2006 11:20:47 -0000 1.16.20.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: HelpIndexer.java,v $
+ *
+- * $Revision: 1.16 $
++ * $Revision: 1.16.20.1 $
+ *
+- * last change: $Author: hr $ $Date: 2005/10/25 11:24:55 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:20:47 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -46,7 +46,6 @@
+ import java.util.*;
+
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.*;
+ import org.xml.sax.*;
+ import javax.xml.parsers.*;
+ import com.jclark.xsl.sax.*;
+@@ -246,7 +245,10 @@
+ in.setEncoding("UTF8");
+ Document docResolved = null;
+ try {
+- docResolved = XmlDocument.createXmlDocument(in, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ docResolved = dBuilder.parse(in);
+ } catch (Exception e) {
+ if (docResolved == null)
+ System.err.println("Nullpointer");
+Index: xmlhelp/source/com/sun/star/help/makefile.mk
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/makefile.mk,v
+retrieving revision 1.21
+retrieving revision 1.21.2.1
+diff -u -r1.21 -r1.21.2.1
+--- xmlhelp/source/com/sun/star/help/makefile.mk 16 Jan 2006 12:42:15 -0000 1.21
++++ xmlhelp/source/com/sun/star/help/makefile.mk 19 Jan 2006 14:48:36 -0000 1.21.2.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.21 $
++# $Revision: 1.21.2.1 $
+ #
+-# last change: $Author: obo $ $Date: 2006/01/16 12:42:15 $
++# last change: $Author: cmc $ $Date: 2006/01/19 14:48:36 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -42,7 +42,7 @@
+
+ .INCLUDE : settings.mk
+
+-JARFILES = jaxp.jar parser.jar xt.jar unoil.jar ridl.jar jurt.jar jut.jar xmlsearch.jar
++JARFILES = xml-apis.jar xercesImpl.jar xt.jar unoil.jar ridl.jar jurt.jar jut.jar xmlsearch.jar
+ EXTRAJARFILES =
+
+ .IF "$(SYSTEM_DB)" == "YES"
+Index: XmlSearch/src/com/sun/xmlsearch/makefile.mk
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/makefile.mk,v
+retrieving revision 1.5
+retrieving revision 1.5.6.1
+diff -u -r1.5 -r1.5.6.1
+--- XmlSearch/src/com/sun/xmlsearch/makefile.mk 25 Oct 2005 11:11:58 -0000 1.5
++++ XmlSearch/src/com/sun/xmlsearch/makefile.mk 17 Jan 2006 10:54:03 -0000 1.5.6.1
+@@ -3,9 +3,9 @@
+ #* $Workfile:$
+ #*
+ #* Creation date KR 28.06.99
+-#* last change $Author: hr $ $Date: 2005/10/25 11:11:58 $
++#* last change $Author: cmc $ $Date: 2006/01/17 10:54:03 $
+ #*
+-#* $Revision: 1.5 $
++#* $Revision: 1.5.6.1 $
+ #*
+ #* $Logfile:$
+ #*
+@@ -21,8 +21,7 @@
+
+ .INCLUDE : settings.mk
+
+-JARFILES = jaxp.jar parser.jar xt.jar
+-#EXTRAJARFILES = jaxp.jar parser.jar xt.jar
++JARFILES = xpi-apis.jar xercesImpl.jar xt.jar
+
+ JAVAFILES = $(subst,$(CLASSDIR)$/$(PACKAGE)$/, $(subst,.class,.java $(JAVACLASSFILES)))
+
+Index: XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java 9 Sep 2005 16:41:49 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java 17 Jan 2006 10:54:04 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: TreeBuilder.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:41:49 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:04 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -46,7 +46,8 @@
+ import org.xml.sax.HandlerBase;
+ import org.xml.sax.AttributeList;
+ import org.xml.sax.InputSource;
+-import com.sun.xml.parser.Parser;
++import javax.xml.parsers.SAXParserFactory;
++import javax.xml.parsers.SAXParser;
+ import com.sun.xmlsearch.util.IntegerArray;
+ import com.jclark.xsl.om.*;
+
+@@ -610,22 +611,29 @@
+ }
+ } // end of SubstitutedElement
+
++ private SAXParser getParser() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
++ {
++ SAXParserFactory spf = SAXParserFactory.newInstance();
++ spf.setValidating(false);
++ return spf.newSAXParser();
++ }
++
+ private static final int InitStackSize = 256;
+ private static final Name EmptyName = null;
+- private Parser _parser = new Parser();
++ private SAXParser _parser = null;
+ private Hashtable _names = new Hashtable(256);
+
+ private NameTable _nameTable;
+ private NamespacePrefixMap _nsMap;
+
+- public TreeBuilder() {
++ public TreeBuilder() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException {
+ this(new NameTableImpl());
+ }
+
+- public TreeBuilder(NameTable nameTable) {
++ public TreeBuilder(NameTable nameTable) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException {
++ _parser = getParser();
+ _nameTable = nameTable;
+ _nsMap = _nameTable.getEmptyNamespacePrefixMap();
+- _parser.setFastStandalone(true);
+ }
+
+ public Node makeSubstituteElement(Name name, Node2[] children, Node original) {
+@@ -917,9 +925,8 @@
+
+ public synchronized Node getRoot(InputSource input) {
+ try {
+- _parser.setDocumentHandler(this);
+ // long start = System.currentTimeMillis();
+- _parser.parse(input);
++ _parser.parse(input, this);
+ /*
+ System.out.println((System.currentTimeMillis()-start)
+ +" msec parse");
+Index: XmlSearch/src/com/sun/xmlsearch/util/Configuration.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/util/Configuration.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/util/Configuration.java 9 Sep 2005 16:45:09 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/util/Configuration.java 17 Jan 2006 10:54:05 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: Configuration.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:45:09 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:05 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -40,8 +40,8 @@
+ import java.util.Vector;
+ import java.net.URL;
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.XmlDocument;
+-import com.sun.xml.parser.Resolver;
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
+ import org.xml.sax.InputSource;
+
+ public final class Configuration {
+@@ -68,14 +68,19 @@
+ }
+
+ public static Element parse(URL location) throws Exception {
+- InputSource input = Resolver.createInputSource(location, true);
+- XmlDocument document = XmlDocument.createXmlDocument(input, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document document = dBuilder.parse(location.openStream());
+ return document.getDocumentElement();
+ }
+
+ public static Element parse(byte[] xmlBytes) throws Exception {
+ ByteArrayInputStream input = new ByteArrayInputStream(xmlBytes);
+- XmlDocument document = XmlDocument.createXmlDocument(input, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document document = dBuilder.parse(input);
+ return document.getDocumentElement();
+ }
+
+Index: XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java,v
+retrieving revision 1.7
+retrieving revision 1.7.12.1
+diff -u -r1.7 -r1.7.12.1
+--- XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java 9 Sep 2005 16:52:56 -0000 1.7
++++ XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java 17 Jan 2006 10:54:06 -0000 1.7.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XmlIndexBuilder.java,v $
+ *
+- * $Revision: 1.7 $
++ * $Revision: 1.7.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:52:56 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:06 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -42,15 +42,17 @@
+ import java.net.URL;
+ import org.xml.sax.InputSource;
+ import org.xml.sax.HandlerBase;
+-import com.sun.xml.parser.Resolver;
+-import com.sun.xml.tree.XmlDocument;
+ import com.sun.xmlsearch.tree.*;
+ import com.sun.xmlsearch.util.*;
+ import com.sun.xmlsearch.db.*;
+ import com.sun.xmlsearch.xml.XmlIndex;
+
+-import com.sun.xml.parser.Parser;
+-import com.sun.xml.parser.ValidatingParser;
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
++import javax.xml.parsers.SAXParserFactory;
++import javax.xml.parsers.SAXParser;
++import org.xml.sax.Parser;
++import org.w3c.dom.Document;
+
+ import com.jclark.xsl.om.*;
+ import com.jclark.xsl.sax.*;
+@@ -465,8 +467,10 @@
+ public void indexDocument(URL docURL, String title) throws Exception {
+ InputSource source = new InputSource(docURL.openStream());
+ source.setSystemId(docURL.toString());
+- Parser sourceParser = new Parser();
+- sourceParser.setFastStandalone(true);
++ SAXParserFactory spf = SAXParserFactory.newInstance();
++ spf.setValidating(false);
++ SAXParser saxParser = spf.newSAXParser();
++ Parser sourceParser = saxParser.getParser();
+ XMLProcessorEx sourceLoader = new XMLProcessorImpl(sourceParser);
+ // long start = System.currentTimeMillis();
+ Node root =
+@@ -545,8 +549,10 @@
+ }
+ // System.out.println(stylesheetUrl.toString());
+ InputStream stylesheetStream = stylesheetUrl.openStream();
+- XmlDocument sheet =
+- XmlDocument.createXmlDocument(stylesheetStream, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document sheet = dBuilder.parse(stylesheetStream);
+ return _transformEngine.createTransform(sheet);
+ }
+
+Index: XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java 9 Sep 2005 16:53:09 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java 17 Jan 2006 10:54:07 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XmlIndexer.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:53:09 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:07 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -39,8 +39,6 @@
+ import java.io.*;
+ import java.util.*;
+
+-import com.sun.xml.tree.XmlDocument;
+-import com.sun.xml.parser.Resolver;
+ import org.w3c.dom.*;
+ import org.xml.sax.InputSource;
+ import org.xml.sax.SAXException;
diff --git a/editors/openoffice.org-3-devel/files/gcj-patches b/editors/openoffice.org-3-devel/files/gcj-patches
new file mode 100644
index 000000000000..aeb80007018b
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/gcj-patches
@@ -0,0 +1,137 @@
+Index: wizards/com/sun/star/wizards/ui/FilterComponent.java
+===================================================================
+RCS file: /cvs/installation/wizards/com/sun/star/wizards/ui/FilterComponent.java,v
+retrieving revision 1.8
+diff -u -r1.8 FilterComponent.java
+--- wizards/com/sun/star/wizards/ui/FilterComponent.java 28 Dec 2005 17:25:36 -0000 1.8
++++ wizards/com/sun/star/wizards/ui/FilterComponent.java 27 Jan 2006 22:55:38 -0000
+@@ -261,10 +261,7 @@
+ case DataType.BOOLEAN:
+ double dblvalue = ((Double) curValue).doubleValue();
+ curValue = new Boolean(dblvalue == 1.0);
+- /**TODO: 1) Datei SingleSelectQueryComposer modifizieren:
+- / Zeilen 1525ff in Methode auslagern und Aufruf in Zeile 1356 ändern TypeConverter is parameter
+- * 2) setDisplayCondition ändern
+- */
++ /* */
+ break;
+ default:
+ curValue = String.valueOf(curValue);
+
+Index: solenv/inc/settings.mk
+===================================================================
+RCS file: /cvs/tools/solenv/inc/settings.mk,v
+retrieving revision 1.185
+diff -u -r1.185 settings.mk
+--- solenv/inc/settings.mk 20 Jan 2006 12:09:20 -0000 1.185
++++ solenv/inc/settings.mk 27 Jan 2006 23:11:31 -0000
+@@ -187,7 +187,8 @@
+
+ #required arguments
+ .IF "$(JAVACACHE)" != ""
+-JAVAC=$(JAVACOMPILER) --encoding=ISO-8859-15 -O2 -fno-assert -Wno-deprecated -C
++#JAVAC=$(JAVACOMPILER) --encoding=ISO-8859-15 -O2 -fno-assert -Wno-deprecated -C
++JAVAC=$(JAVACOMPILER) --encoding=UTF-8 -O2 -fno-assert -Wno-deprecated -C
+ JAVAI=$(JAVAINTERPRETER) -Dgnu.gcj.precompiled.db.path=$(GCJ_DATABASE)
+ .ELSE
+ JAVAC=$(JAVACOMPILER)
+
+Index: source/ui/slidesorter/cache/SlsQueueProcessor.hxx
+===================================================================
+RCS file: /cvs/graphics/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx,v
+retrieving revision 1.10
+diff -u -p -u -r1.10 SlsQueueProcessor.hxx
+--- sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx 19 Jan 2006 12:52:20 -0000 1.10
++++ sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx 26 Jan 2006 08:29:38 -0000
+@@ -164,7 +164,7 @@ template <class Queue, class RequestData
+ while ( ! mrQueue.IsEmpty())
+ {
+ // Determine whether the system is idle.
+- sal_Int32 nIdleState (tools::IdleDetection::GetIdleState(mrView.GetWindow()));
++ sal_Int32 nIdleState (tools::IdleDetection::GetIdleState(static_cast< ::Window* >(mrView.GetWindow())));
+ if (nIdleState != tools::IdleDetection::IDET_IDLE)
+ {
+ if ((nIdleState&tools::IdleDetection::IDET_FULL_SCREEN_SHOW_ACTIVE) != 0)
+
+Index: config_office/configure.in
+===================================================================
+RCS file: /cvs/tools/config_office/configure.in,v
+retrieving revision 1.150
+diff -u -r1.150 configure.in
+--- config_office/configure.in 20 Jan 2006 13:28:25 -0000 1.150
++++ config_office/configure.in 2 Feb 2006 05:13:30 -0000
+@@ -1975,6 +1975,7 @@
+ dnl Checks for javadoc
+ dnl ===================================================================
+ if test "$SOLAR_JAVA" != ""; then
++ if test "$JDK" != "gcj"; then
+ if test -z "$with_jdk_home"; then
+ AC_PATH_PROG(JAVADOC, javadoc)
+ else
+@@ -1996,6 +1997,9 @@
+ JAVADOC=`cygpath -d "$JAVADOC"`
+ JAVADOC=`cygpath -u "$JAVADOC"`
+ fi
++ else
++ AC_PATH_PROG(JAVADOC, gjdoc)
++ fi
+ fi
+
+ if test "$SOLAR_JAVA" != ""; then
+@@ -2032,8 +2036,14 @@
+ if test "$JDK" = "gcj"; then
+ save_CFLAGS=$CFLAGS
+ save_LDFLAGS=$LDFLAGS
+- CFLAGS="$CFLAGS -I$JAVA_HOME/include"
+- LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj"
++ CFLAGS="$CFLAGS -I$JAVA_HOME/include -pthread"
++ LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj -pthread"
++ JAR="$JAVA_HOME/bin/fastjar"
++ JAVACMD="$JAVA_HOME/bin/gij"
++ JAVA="$JAVA_HOME/bin/gij"
++ AC_SUBST(JAVA)
++ AC_SUBST(JAVACMD)
++ AC_SUBST(JAR)
+ AC_CHECK_HEADER(jni.h, [],
+ [AC_MSG_ERROR([jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?])], [])
+
+@@ -4214,7 +4224,7 @@
+ EOF
+ oldJAVA_HOME=$JAVA_HOME
+ if test "$JDK" = "gcj"; then
+- JAVA_HOME=; export JAVA_HOME
++ JAVACMD="$JAVA_HOME/bin/gij"; export JAVACMD
+ ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2"
+ else
+ ant_cmd="$ANT -buildfile conftest.xml 1>&2"
+Index: config_office/set_soenv.in
+===================================================================
+RCS file: /cvs/tools/config_office/set_soenv.in,v
+retrieving revision 1.86
+diff -u -r1.86 set_soenv.in
+--- config_office/set_soenv.in 13 Jan 2006 16:37:16 -0000 1.86
++++ config_office/set_soenv.in 2 Feb 2006 05:13:31 -0000
+@@ -68,7 +68,7 @@
+ #
+ # Help variables.
+ my ( $USR, $ETC, $BIN, $LIB, $LIB64, $INC, $INCLUDE, $DEV, $OPT, $LOCAL, $SOLENV, $SOLVER, $CONFIG,
+- $USR_BIN, $USR_LIB, $USR_LOCAL, $USR_CCS, $JAVA_BIN, $JAVA_LIB, $JAVA_INCLUDE,
++ $USR_BIN, $USR_LIB, $USR_LOCAL, $USR_CCS, $JAVA_BIN, $JAVA_LIB, $JAVA_INCLUDE, $JAVACMD, $JAVA, $JAR,
+ $SOLARENVINC, $USR_DT, $USR_OPENWIN, $TCSH_PATH, $XLIB, $XINC,
+ $CYGWIN_PATH, $language, $dict, $ASM_PATH, $ps_STLPORT_LIB, $L_STLPORT_LIB,
+ $STLPORT_stlport, $STLPORT_inc_stlport, $PERL_PATH );
+@@ -1679,6 +1679,9 @@
+ ToFile( "JAVAINTERPRETER", "@JAVAINTERPRETER@","e" );
+ ToFile( "JAVACOMPILER", "@JAVACOMPILER@", "e" );
+ ToFile( "JAVADOC", "@JAVADOC@", "e" );
++ ToFile( "JAVA", "@JAVA@", "e" );
++ ToFile( "JAVACMD", "@JAVACMD@", "e" );
++ ToFile( "JAR", "@JAR@", "e" );
+ }
+ if ( $platform =~ m/darwin/ )
+ { ToFile( "DYLD_LIBRARY_PATH", $LD_LIBRARY_PATH, "e" );
+
+Javadoc@xmerge http://qa.openoffice.org/issues/show_bug.cgi?id=57286
+JAVA@berkeleydb http://qa.openoffice.org/issues/show_bug.cgi?id=54657
+JAVACMD@ant
+JAR@berkeleydb
diff --git a/editors/openoffice.org-3-devel/files/patch-Python-2.3.4.patch b/editors/openoffice.org-3-devel/files/patch-Python-2.3.4.patch
deleted file mode 100644
index 41b3577a44c6..000000000000
--- a/editors/openoffice.org-3-devel/files/patch-Python-2.3.4.patch
+++ /dev/null
@@ -1,752 +0,0 @@
-Issuetracker : #i53287#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : Support for FreeBSD 6 and 7
-
-Index: python/Python-2.3.4.patch
-===================================================================
-RCS file: /cvs/external/python/Python-2.3.4.patch,v
-retrieving revision 1.6
-diff -u -r1.6 Python-2.3.4.patch
---- python/Python-2.3.4.patch 3 Mar 2005 17:33:54 -0000 1.6
-+++ python/Python-2.3.4.patch 8 Aug 2005 21:50:08 -0000
-@@ -13776,3 +13776,739 @@
- atheos*) DYNLOADFILE="dynload_atheos.o";;
- *)
- # use dynload_shlib.c and dlopen() if we have it; otherwise stub
-+*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:26:23 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:20:25 2005
-+***************
-+*** 0 ****
-+--- 1,355 ----
-++ # Generated by h2py from /usr/include/netinet/in.h
-++ IPPROTO_IP = 0
-++ IPPROTO_HOPOPTS = 0
-++ IPPROTO_ICMP = 1
-++ IPPROTO_IGMP = 2
-++ IPPROTO_GGP = 3
-++ IPPROTO_IPV4 = 4
-++ IPPROTO_IPIP = IPPROTO_IPV4
-++ IPPROTO_TCP = 6
-++ IPPROTO_ST = 7
-++ IPPROTO_EGP = 8
-++ IPPROTO_PIGP = 9
-++ IPPROTO_RCCMON = 10
-++ IPPROTO_NVPII = 11
-++ IPPROTO_PUP = 12
-++ IPPROTO_ARGUS = 13
-++ IPPROTO_EMCON = 14
-++ IPPROTO_XNET = 15
-++ IPPROTO_CHAOS = 16
-++ IPPROTO_UDP = 17
-++ IPPROTO_MUX = 18
-++ IPPROTO_MEAS = 19
-++ IPPROTO_HMP = 20
-++ IPPROTO_PRM = 21
-++ IPPROTO_IDP = 22
-++ IPPROTO_TRUNK1 = 23
-++ IPPROTO_TRUNK2 = 24
-++ IPPROTO_LEAF1 = 25
-++ IPPROTO_LEAF2 = 26
-++ IPPROTO_RDP = 27
-++ IPPROTO_IRTP = 28
-++ IPPROTO_TP = 29
-++ IPPROTO_BLT = 30
-++ IPPROTO_NSP = 31
-++ IPPROTO_INP = 32
-++ IPPROTO_SEP = 33
-++ IPPROTO_3PC = 34
-++ IPPROTO_IDPR = 35
-++ IPPROTO_XTP = 36
-++ IPPROTO_DDP = 37
-++ IPPROTO_CMTP = 38
-++ IPPROTO_TPXX = 39
-++ IPPROTO_IL = 40
-++ IPPROTO_IPV6 = 41
-++ IPPROTO_SDRP = 42
-++ IPPROTO_ROUTING = 43
-++ IPPROTO_FRAGMENT = 44
-++ IPPROTO_IDRP = 45
-++ IPPROTO_RSVP = 46
-++ IPPROTO_GRE = 47
-++ IPPROTO_MHRP = 48
-++ IPPROTO_BHA = 49
-++ IPPROTO_ESP = 50
-++ IPPROTO_AH = 51
-++ IPPROTO_INLSP = 52
-++ IPPROTO_SWIPE = 53
-++ IPPROTO_NHRP = 54
-++ IPPROTO_ICMPV6 = 58
-++ IPPROTO_NONE = 59
-++ IPPROTO_DSTOPTS = 60
-++ IPPROTO_AHIP = 61
-++ IPPROTO_CFTP = 62
-++ IPPROTO_HELLO = 63
-++ IPPROTO_SATEXPAK = 64
-++ IPPROTO_KRYPTOLAN = 65
-++ IPPROTO_RVD = 66
-++ IPPROTO_IPPC = 67
-++ IPPROTO_ADFS = 68
-++ IPPROTO_SATMON = 69
-++ IPPROTO_VISA = 70
-++ IPPROTO_IPCV = 71
-++ IPPROTO_CPNX = 72
-++ IPPROTO_CPHB = 73
-++ IPPROTO_WSN = 74
-++ IPPROTO_PVP = 75
-++ IPPROTO_BRSATMON = 76
-++ IPPROTO_ND = 77
-++ IPPROTO_WBMON = 78
-++ IPPROTO_WBEXPAK = 79
-++ IPPROTO_EON = 80
-++ IPPROTO_VMTP = 81
-++ IPPROTO_SVMTP = 82
-++ IPPROTO_VINES = 83
-++ IPPROTO_TTP = 84
-++ IPPROTO_IGP = 85
-++ IPPROTO_DGP = 86
-++ IPPROTO_TCF = 87
-++ IPPROTO_IGRP = 88
-++ IPPROTO_OSPFIGP = 89
-++ IPPROTO_SRPC = 90
-++ IPPROTO_LARP = 91
-++ IPPROTO_MTP = 92
-++ IPPROTO_AX25 = 93
-++ IPPROTO_IPEIP = 94
-++ IPPROTO_MICP = 95
-++ IPPROTO_SCCSP = 96
-++ IPPROTO_ETHERIP = 97
-++ IPPROTO_ENCAP = 98
-++ IPPROTO_APES = 99
-++ IPPROTO_GMTP = 100
-++ IPPROTO_IPCOMP = 108
-++ IPPROTO_PIM = 103
-++ IPPROTO_PGM = 113
-++ IPPROTO_DIVERT = 254
-++ IPPROTO_RAW = 255
-++ IPPROTO_MAX = 256
-++ IPPROTO_DONE = 257
-++ IPPORT_RESERVED = 1024
-++ IPPORT_USERRESERVED = 5000
-++ IPPORT_HIFIRSTAUTO = 49152
-++ IPPORT_HILASTAUTO = 65535
-++ IPPORT_RESERVEDSTART = 600
-++ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0)
-++
-++ IN_CLASSA_NET = 0xff000000
-++ IN_CLASSA_NSHIFT = 24
-++ IN_CLASSA_HOST = 0x00ffffff
-++ IN_CLASSA_MAX = 128
-++ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000)
-++
-++ IN_CLASSB_NET = 0xffff0000
-++ IN_CLASSB_NSHIFT = 16
-++ IN_CLASSB_HOST = 0x0000ffff
-++ IN_CLASSB_MAX = 65536
-++ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000)
-++
-++ IN_CLASSC_NET = 0xffffff00
-++ IN_CLASSC_NSHIFT = 8
-++ IN_CLASSC_HOST = 0x000000ff
-++ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
-++
-++ IN_CLASSD_NET = 0xf0000000
-++ IN_CLASSD_NSHIFT = 28
-++ IN_CLASSD_HOST = 0x0fffffff
-++ def IN_MULTICAST(i): return IN_CLASSD(i)
-++
-++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ INADDR_NONE = 0xffffffff
-++ IN_LOOPBACKNET = 127
-++ INET_ADDRSTRLEN = 16
-++ IP_OPTIONS = 1
-++ IP_HDRINCL = 2
-++ IP_TOS = 3
-++ IP_TTL = 4
-++ IP_RECVOPTS = 5
-++ IP_RECVRETOPTS = 6
-++ IP_RECVDSTADDR = 7
-++ IP_RETOPTS = 8
-++ IP_MULTICAST_IF = 9
-++ IP_MULTICAST_TTL = 10
-++ IP_MULTICAST_LOOP = 11
-++ IP_ADD_MEMBERSHIP = 12
-++ IP_DROP_MEMBERSHIP = 13
-++ IP_MULTICAST_VIF = 14
-++ IP_RSVP_ON = 15
-++ IP_RSVP_OFF = 16
-++ IP_RSVP_VIF_ON = 17
-++ IP_RSVP_VIF_OFF = 18
-++ IP_PORTRANGE = 19
-++ IP_RECVIF = 20
-++ IP_IPSEC_POLICY = 21
-++ IP_FAITH = 22
-++ IP_FW_ADD = 50
-++ IP_FW_DEL = 51
-++ IP_FW_FLUSH = 52
-++ IP_FW_ZERO = 53
-++ IP_FW_GET = 54
-++ IP_FW_RESETLOG = 55
-++ IP_DUMMYNET_CONFIGURE = 60
-++ IP_DUMMYNET_DEL = 61
-++ IP_DUMMYNET_FLUSH = 62
-++ IP_DUMMYNET_GET = 64
-++ IP_DEFAULT_MULTICAST_TTL = 1
-++ IP_DEFAULT_MULTICAST_LOOP = 1
-++ IP_MAX_MEMBERSHIPS = 20
-++ IP_PORTRANGE_DEFAULT = 0
-++ IP_PORTRANGE_HIGH = 1
-++ IP_PORTRANGE_LOW = 2
-++ IPPROTO_MAXID = (IPPROTO_AH + 1)
-++ IPCTL_FORWARDING = 1
-++ IPCTL_SENDREDIRECTS = 2
-++ IPCTL_DEFTTL = 3
-++ IPCTL_DEFMTU = 4
-++ IPCTL_RTEXPIRE = 5
-++ IPCTL_RTMINEXPIRE = 6
-++ IPCTL_RTMAXCACHE = 7
-++ IPCTL_SOURCEROUTE = 8
-++ IPCTL_DIRECTEDBROADCAST = 9
-++ IPCTL_INTRQMAXLEN = 10
-++ IPCTL_INTRQDROPS = 11
-++ IPCTL_STATS = 12
-++ IPCTL_ACCEPTSOURCEROUTE = 13
-++ IPCTL_FASTFORWARDING = 14
-++ IPCTL_KEEPFAITH = 15
-++ IPCTL_GIF_TTL = 16
-++ IPCTL_MAXID = 17
-++
-++ # Included from netinet6/in6.h
-++
-++ # Included from sys/queue.h
-++ def SLIST_HEAD_INITIALIZER(head): return \
-++
-++ def SLIST_ENTRY(type): return \
-++
-++ def STAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def STAILQ_ENTRY(type): return \
-++
-++ def LIST_HEAD_INITIALIZER(head): return \
-++
-++ def LIST_ENTRY(type): return \
-++
-++ def TAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def TAILQ_ENTRY(type): return \
-++
-++ def CIRCLEQ_ENTRY(type): return \
-++
-++ __KAME_VERSION = "20000701/FreeBSD-current"
-++ IPV6PORT_RESERVED = 1024
-++ IPV6PORT_ANONMIN = 49152
-++ IPV6PORT_ANONMAX = 65535
-++ IPV6PORT_RESERVEDMIN = 600
-++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
-++ INET6_ADDRSTRLEN = 46
-++ IPV6_ADDR_INT32_ONE = 1
-++ IPV6_ADDR_INT32_TWO = 2
-++ IPV6_ADDR_INT32_MNL = 0xff010000
-++ IPV6_ADDR_INT32_MLL = 0xff020000
-++ IPV6_ADDR_INT32_SMP = 0x0000ffff
-++ IPV6_ADDR_INT16_ULL = 0xfe80
-++ IPV6_ADDR_INT16_USL = 0xfec0
-++ IPV6_ADDR_INT16_MLL = 0xff02
-++ IPV6_ADDR_INT32_ONE = 0x01000000
-++ IPV6_ADDR_INT32_TWO = 0x02000000
-++ IPV6_ADDR_INT32_MNL = 0x000001ff
-++ IPV6_ADDR_INT32_MLL = 0x000002ff
-++ IPV6_ADDR_INT32_SMP = 0xffff0000
-++ IPV6_ADDR_INT16_ULL = 0x80fe
-++ IPV6_ADDR_INT16_USL = 0xc0fe
-++ IPV6_ADDR_INT16_MLL = 0x02ff
-++ def IN6_IS_ADDR_UNSPECIFIED(a): return \
-++
-++ def IN6_IS_ADDR_LOOPBACK(a): return \
-++
-++ def IN6_IS_ADDR_V4COMPAT(a): return \
-++
-++ def IN6_IS_ADDR_V4MAPPED(a): return \
-++
-++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ def IN6_IS_ADDR_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_SCOPE_LINKLOCAL(a): return \
-++
-++ IPV6_OPTIONS = 1
-++ IPV6_RECVOPTS = 5
-++ IPV6_RECVRETOPTS = 6
-++ IPV6_RECVDSTADDR = 7
-++ IPV6_RETOPTS = 8
-++ IPV6_SOCKOPT_RESERVED1 = 3
-++ IPV6_UNICAST_HOPS = 4
-++ IPV6_MULTICAST_IF = 9
-++ IPV6_MULTICAST_HOPS = 10
-++ IPV6_MULTICAST_LOOP = 11
-++ IPV6_JOIN_GROUP = 12
-++ IPV6_LEAVE_GROUP = 13
-++ IPV6_PORTRANGE = 14
-++ ICMP6_FILTER = 18
-++ IPV6_PKTINFO = 19
-++ IPV6_HOPLIMIT = 20
-++ IPV6_NEXTHOP = 21
-++ IPV6_HOPOPTS = 22
-++ IPV6_DSTOPTS = 23
-++ IPV6_RTHDR = 24
-++ IPV6_PKTOPTIONS = 25
-++ IPV6_CHECKSUM = 26
-++ IPV6_BINDV6ONLY = 27
-++ IPV6_IPSEC_POLICY = 28
-++ IPV6_FAITH = 29
-++ IPV6_FW_ADD = 30
-++ IPV6_FW_DEL = 31
-++ IPV6_FW_FLUSH = 32
-++ IPV6_FW_ZERO = 33
-++ IPV6_FW_GET = 34
-++ IPV6_RTHDR_LOOSE = 0
-++ IPV6_RTHDR_STRICT = 1
-++ IPV6_RTHDR_TYPE_0 = 0
-++ IPV6_DEFAULT_MULTICAST_HOPS = 1
-++ IPV6_DEFAULT_MULTICAST_LOOP = 1
-++ IPV6_PORTRANGE_DEFAULT = 0
-++ IPV6_PORTRANGE_HIGH = 1
-++ IPV6_PORTRANGE_LOW = 2
-++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1)
-++ IPV6CTL_FORWARDING = 1
-++ IPV6CTL_SENDREDIRECTS = 2
-++ IPV6CTL_DEFHLIM = 3
-++ IPV6CTL_DEFMTU = 4
-++ IPV6CTL_FORWSRCRT = 5
-++ IPV6CTL_STATS = 6
-++ IPV6CTL_MRTSTATS = 7
-++ IPV6CTL_MRTPROTO = 8
-++ IPV6CTL_MAXFRAGPACKETS = 9
-++ IPV6CTL_SOURCECHECK = 10
-++ IPV6CTL_SOURCECHECK_LOGINT = 11
-++ IPV6CTL_ACCEPT_RTADV = 12
-++ IPV6CTL_KEEPFAITH = 13
-++ IPV6CTL_LOG_INTERVAL = 14
-++ IPV6CTL_HDRNESTLIMIT = 15
-++ IPV6CTL_DAD_COUNT = 16
-++ IPV6CTL_AUTO_FLOWLABEL = 17
-++ IPV6CTL_DEFMCASTHLIM = 18
-++ IPV6CTL_GIF_HLIM = 19
-++ IPV6CTL_KAME_VERSION = 20
-++ IPV6CTL_USE_DEPRECATED = 21
-++ IPV6CTL_RR_PRUNE = 22
-++ IPV6CTL_MAPPED_ADDR = 23
-++ IPV6CTL_BINDV6ONLY = 24
-++ IPV6CTL_RTEXPIRE = 25
-++ IPV6CTL_RTMINEXPIRE = 26
-++ IPV6CTL_RTMAXCACHE = 27
-++ IPV6CTL_MAXID = 28
-+*** misc/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:26:27 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:19:02 2005
-+***************
-+*** 0 ****
-+--- 1,3 ----
-++ #! /bin/sh
-++ set -v
-++ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
-+*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:26:23 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:20:25 2005
-+***************
-+*** 0 ****
-+--- 1,355 ----
-++ # Generated by h2py from /usr/include/netinet/in.h
-++ IPPROTO_IP = 0
-++ IPPROTO_HOPOPTS = 0
-++ IPPROTO_ICMP = 1
-++ IPPROTO_IGMP = 2
-++ IPPROTO_GGP = 3
-++ IPPROTO_IPV4 = 4
-++ IPPROTO_IPIP = IPPROTO_IPV4
-++ IPPROTO_TCP = 6
-++ IPPROTO_ST = 7
-++ IPPROTO_EGP = 8
-++ IPPROTO_PIGP = 9
-++ IPPROTO_RCCMON = 10
-++ IPPROTO_NVPII = 11
-++ IPPROTO_PUP = 12
-++ IPPROTO_ARGUS = 13
-++ IPPROTO_EMCON = 14
-++ IPPROTO_XNET = 15
-++ IPPROTO_CHAOS = 16
-++ IPPROTO_UDP = 17
-++ IPPROTO_MUX = 18
-++ IPPROTO_MEAS = 19
-++ IPPROTO_HMP = 20
-++ IPPROTO_PRM = 21
-++ IPPROTO_IDP = 22
-++ IPPROTO_TRUNK1 = 23
-++ IPPROTO_TRUNK2 = 24
-++ IPPROTO_LEAF1 = 25
-++ IPPROTO_LEAF2 = 26
-++ IPPROTO_RDP = 27
-++ IPPROTO_IRTP = 28
-++ IPPROTO_TP = 29
-++ IPPROTO_BLT = 30
-++ IPPROTO_NSP = 31
-++ IPPROTO_INP = 32
-++ IPPROTO_SEP = 33
-++ IPPROTO_3PC = 34
-++ IPPROTO_IDPR = 35
-++ IPPROTO_XTP = 36
-++ IPPROTO_DDP = 37
-++ IPPROTO_CMTP = 38
-++ IPPROTO_TPXX = 39
-++ IPPROTO_IL = 40
-++ IPPROTO_IPV6 = 41
-++ IPPROTO_SDRP = 42
-++ IPPROTO_ROUTING = 43
-++ IPPROTO_FRAGMENT = 44
-++ IPPROTO_IDRP = 45
-++ IPPROTO_RSVP = 46
-++ IPPROTO_GRE = 47
-++ IPPROTO_MHRP = 48
-++ IPPROTO_BHA = 49
-++ IPPROTO_ESP = 50
-++ IPPROTO_AH = 51
-++ IPPROTO_INLSP = 52
-++ IPPROTO_SWIPE = 53
-++ IPPROTO_NHRP = 54
-++ IPPROTO_ICMPV6 = 58
-++ IPPROTO_NONE = 59
-++ IPPROTO_DSTOPTS = 60
-++ IPPROTO_AHIP = 61
-++ IPPROTO_CFTP = 62
-++ IPPROTO_HELLO = 63
-++ IPPROTO_SATEXPAK = 64
-++ IPPROTO_KRYPTOLAN = 65
-++ IPPROTO_RVD = 66
-++ IPPROTO_IPPC = 67
-++ IPPROTO_ADFS = 68
-++ IPPROTO_SATMON = 69
-++ IPPROTO_VISA = 70
-++ IPPROTO_IPCV = 71
-++ IPPROTO_CPNX = 72
-++ IPPROTO_CPHB = 73
-++ IPPROTO_WSN = 74
-++ IPPROTO_PVP = 75
-++ IPPROTO_BRSATMON = 76
-++ IPPROTO_ND = 77
-++ IPPROTO_WBMON = 78
-++ IPPROTO_WBEXPAK = 79
-++ IPPROTO_EON = 80
-++ IPPROTO_VMTP = 81
-++ IPPROTO_SVMTP = 82
-++ IPPROTO_VINES = 83
-++ IPPROTO_TTP = 84
-++ IPPROTO_IGP = 85
-++ IPPROTO_DGP = 86
-++ IPPROTO_TCF = 87
-++ IPPROTO_IGRP = 88
-++ IPPROTO_OSPFIGP = 89
-++ IPPROTO_SRPC = 90
-++ IPPROTO_LARP = 91
-++ IPPROTO_MTP = 92
-++ IPPROTO_AX25 = 93
-++ IPPROTO_IPEIP = 94
-++ IPPROTO_MICP = 95
-++ IPPROTO_SCCSP = 96
-++ IPPROTO_ETHERIP = 97
-++ IPPROTO_ENCAP = 98
-++ IPPROTO_APES = 99
-++ IPPROTO_GMTP = 100
-++ IPPROTO_IPCOMP = 108
-++ IPPROTO_PIM = 103
-++ IPPROTO_PGM = 113
-++ IPPROTO_DIVERT = 254
-++ IPPROTO_RAW = 255
-++ IPPROTO_MAX = 256
-++ IPPROTO_DONE = 257
-++ IPPORT_RESERVED = 1024
-++ IPPORT_USERRESERVED = 5000
-++ IPPORT_HIFIRSTAUTO = 49152
-++ IPPORT_HILASTAUTO = 65535
-++ IPPORT_RESERVEDSTART = 600
-++ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0)
-++
-++ IN_CLASSA_NET = 0xff000000
-++ IN_CLASSA_NSHIFT = 24
-++ IN_CLASSA_HOST = 0x00ffffff
-++ IN_CLASSA_MAX = 128
-++ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000)
-++
-++ IN_CLASSB_NET = 0xffff0000
-++ IN_CLASSB_NSHIFT = 16
-++ IN_CLASSB_HOST = 0x0000ffff
-++ IN_CLASSB_MAX = 65536
-++ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000)
-++
-++ IN_CLASSC_NET = 0xffffff00
-++ IN_CLASSC_NSHIFT = 8
-++ IN_CLASSC_HOST = 0x000000ff
-++ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
-++
-++ IN_CLASSD_NET = 0xf0000000
-++ IN_CLASSD_NSHIFT = 28
-++ IN_CLASSD_HOST = 0x0fffffff
-++ def IN_MULTICAST(i): return IN_CLASSD(i)
-++
-++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ INADDR_NONE = 0xffffffff
-++ IN_LOOPBACKNET = 127
-++ INET_ADDRSTRLEN = 16
-++ IP_OPTIONS = 1
-++ IP_HDRINCL = 2
-++ IP_TOS = 3
-++ IP_TTL = 4
-++ IP_RECVOPTS = 5
-++ IP_RECVRETOPTS = 6
-++ IP_RECVDSTADDR = 7
-++ IP_RETOPTS = 8
-++ IP_MULTICAST_IF = 9
-++ IP_MULTICAST_TTL = 10
-++ IP_MULTICAST_LOOP = 11
-++ IP_ADD_MEMBERSHIP = 12
-++ IP_DROP_MEMBERSHIP = 13
-++ IP_MULTICAST_VIF = 14
-++ IP_RSVP_ON = 15
-++ IP_RSVP_OFF = 16
-++ IP_RSVP_VIF_ON = 17
-++ IP_RSVP_VIF_OFF = 18
-++ IP_PORTRANGE = 19
-++ IP_RECVIF = 20
-++ IP_IPSEC_POLICY = 21
-++ IP_FAITH = 22
-++ IP_FW_ADD = 50
-++ IP_FW_DEL = 51
-++ IP_FW_FLUSH = 52
-++ IP_FW_ZERO = 53
-++ IP_FW_GET = 54
-++ IP_FW_RESETLOG = 55
-++ IP_DUMMYNET_CONFIGURE = 60
-++ IP_DUMMYNET_DEL = 61
-++ IP_DUMMYNET_FLUSH = 62
-++ IP_DUMMYNET_GET = 64
-++ IP_DEFAULT_MULTICAST_TTL = 1
-++ IP_DEFAULT_MULTICAST_LOOP = 1
-++ IP_MAX_MEMBERSHIPS = 20
-++ IP_PORTRANGE_DEFAULT = 0
-++ IP_PORTRANGE_HIGH = 1
-++ IP_PORTRANGE_LOW = 2
-++ IPPROTO_MAXID = (IPPROTO_AH + 1)
-++ IPCTL_FORWARDING = 1
-++ IPCTL_SENDREDIRECTS = 2
-++ IPCTL_DEFTTL = 3
-++ IPCTL_DEFMTU = 4
-++ IPCTL_RTEXPIRE = 5
-++ IPCTL_RTMINEXPIRE = 6
-++ IPCTL_RTMAXCACHE = 7
-++ IPCTL_SOURCEROUTE = 8
-++ IPCTL_DIRECTEDBROADCAST = 9
-++ IPCTL_INTRQMAXLEN = 10
-++ IPCTL_INTRQDROPS = 11
-++ IPCTL_STATS = 12
-++ IPCTL_ACCEPTSOURCEROUTE = 13
-++ IPCTL_FASTFORWARDING = 14
-++ IPCTL_KEEPFAITH = 15
-++ IPCTL_GIF_TTL = 16
-++ IPCTL_MAXID = 17
-++
-++ # Included from netinet6/in6.h
-++
-++ # Included from sys/queue.h
-++ def SLIST_HEAD_INITIALIZER(head): return \
-++
-++ def SLIST_ENTRY(type): return \
-++
-++ def STAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def STAILQ_ENTRY(type): return \
-++
-++ def LIST_HEAD_INITIALIZER(head): return \
-++
-++ def LIST_ENTRY(type): return \
-++
-++ def TAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def TAILQ_ENTRY(type): return \
-++
-++ def CIRCLEQ_ENTRY(type): return \
-++
-++ __KAME_VERSION = "20000701/FreeBSD-current"
-++ IPV6PORT_RESERVED = 1024
-++ IPV6PORT_ANONMIN = 49152
-++ IPV6PORT_ANONMAX = 65535
-++ IPV6PORT_RESERVEDMIN = 600
-++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
-++ INET6_ADDRSTRLEN = 46
-++ IPV6_ADDR_INT32_ONE = 1
-++ IPV6_ADDR_INT32_TWO = 2
-++ IPV6_ADDR_INT32_MNL = 0xff010000
-++ IPV6_ADDR_INT32_MLL = 0xff020000
-++ IPV6_ADDR_INT32_SMP = 0x0000ffff
-++ IPV6_ADDR_INT16_ULL = 0xfe80
-++ IPV6_ADDR_INT16_USL = 0xfec0
-++ IPV6_ADDR_INT16_MLL = 0xff02
-++ IPV6_ADDR_INT32_ONE = 0x01000000
-++ IPV6_ADDR_INT32_TWO = 0x02000000
-++ IPV6_ADDR_INT32_MNL = 0x000001ff
-++ IPV6_ADDR_INT32_MLL = 0x000002ff
-++ IPV6_ADDR_INT32_SMP = 0xffff0000
-++ IPV6_ADDR_INT16_ULL = 0x80fe
-++ IPV6_ADDR_INT16_USL = 0xc0fe
-++ IPV6_ADDR_INT16_MLL = 0x02ff
-++ def IN6_IS_ADDR_UNSPECIFIED(a): return \
-++
-++ def IN6_IS_ADDR_LOOPBACK(a): return \
-++
-++ def IN6_IS_ADDR_V4COMPAT(a): return \
-++
-++ def IN6_IS_ADDR_V4MAPPED(a): return \
-++
-++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ def IN6_IS_ADDR_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_SCOPE_LINKLOCAL(a): return \
-++
-++ IPV6_OPTIONS = 1
-++ IPV6_RECVOPTS = 5
-++ IPV6_RECVRETOPTS = 6
-++ IPV6_RECVDSTADDR = 7
-++ IPV6_RETOPTS = 8
-++ IPV6_SOCKOPT_RESERVED1 = 3
-++ IPV6_UNICAST_HOPS = 4
-++ IPV6_MULTICAST_IF = 9
-++ IPV6_MULTICAST_HOPS = 10
-++ IPV6_MULTICAST_LOOP = 11
-++ IPV6_JOIN_GROUP = 12
-++ IPV6_LEAVE_GROUP = 13
-++ IPV6_PORTRANGE = 14
-++ ICMP6_FILTER = 18
-++ IPV6_PKTINFO = 19
-++ IPV6_HOPLIMIT = 20
-++ IPV6_NEXTHOP = 21
-++ IPV6_HOPOPTS = 22
-++ IPV6_DSTOPTS = 23
-++ IPV6_RTHDR = 24
-++ IPV6_PKTOPTIONS = 25
-++ IPV6_CHECKSUM = 26
-++ IPV6_BINDV6ONLY = 27
-++ IPV6_IPSEC_POLICY = 28
-++ IPV6_FAITH = 29
-++ IPV6_FW_ADD = 30
-++ IPV6_FW_DEL = 31
-++ IPV6_FW_FLUSH = 32
-++ IPV6_FW_ZERO = 33
-++ IPV6_FW_GET = 34
-++ IPV6_RTHDR_LOOSE = 0
-++ IPV6_RTHDR_STRICT = 1
-++ IPV6_RTHDR_TYPE_0 = 0
-++ IPV6_DEFAULT_MULTICAST_HOPS = 1
-++ IPV6_DEFAULT_MULTICAST_LOOP = 1
-++ IPV6_PORTRANGE_DEFAULT = 0
-++ IPV6_PORTRANGE_HIGH = 1
-++ IPV6_PORTRANGE_LOW = 2
-++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1)
-++ IPV6CTL_FORWARDING = 1
-++ IPV6CTL_SENDREDIRECTS = 2
-++ IPV6CTL_DEFHLIM = 3
-++ IPV6CTL_DEFMTU = 4
-++ IPV6CTL_FORWSRCRT = 5
-++ IPV6CTL_STATS = 6
-++ IPV6CTL_MRTSTATS = 7
-++ IPV6CTL_MRTPROTO = 8
-++ IPV6CTL_MAXFRAGPACKETS = 9
-++ IPV6CTL_SOURCECHECK = 10
-++ IPV6CTL_SOURCECHECK_LOGINT = 11
-++ IPV6CTL_ACCEPT_RTADV = 12
-++ IPV6CTL_KEEPFAITH = 13
-++ IPV6CTL_LOG_INTERVAL = 14
-++ IPV6CTL_HDRNESTLIMIT = 15
-++ IPV6CTL_DAD_COUNT = 16
-++ IPV6CTL_AUTO_FLOWLABEL = 17
-++ IPV6CTL_DEFMCASTHLIM = 18
-++ IPV6CTL_GIF_HLIM = 19
-++ IPV6CTL_KAME_VERSION = 20
-++ IPV6CTL_USE_DEPRECATED = 21
-++ IPV6CTL_RR_PRUNE = 22
-++ IPV6CTL_MAPPED_ADDR = 23
-++ IPV6CTL_BINDV6ONLY = 24
-++ IPV6CTL_RTEXPIRE = 25
-++ IPV6CTL_RTMINEXPIRE = 26
-++ IPV6CTL_RTMAXCACHE = 27
-++ IPV6CTL_MAXID = 28
-+*** misc/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:26:27 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:19:02 2005
-+***************
-+*** 0 ****
-+--- 1,3 ----
-++ #! /bin/sh
-++ set -v
-++ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/editors/openoffice.org-3-devel/files/patch-bridges b/editors/openoffice.org-3-devel/files/patch-bridges
deleted file mode 100644
index 8375332a3e20..000000000000
--- a/editors/openoffice.org-3-devel/files/patch-bridges
+++ /dev/null
@@ -1,173 +0,0 @@
-Issuetracker : #i56947#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : update files at bridges project
-catch up version up of bridge project of GNU/Linux
-
---- bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx Thu Sep 8 07:20:08 2005
-+++ bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx Wed Oct 26 15:10:05 2005
-@@ -57,7 +57,7 @@
- typelib_TypeDescriptionReference * pReturnTypeRef, // 0 indicates void return
- sal_Int32 nParams, typelib_MethodParameter * pParams,
- void ** pCallStack,
-- sal_Int64 * pRegisterReturn /* space for register return */ )
-+ void * pReturnValue )
- {
- // pCallStack: ret, [return ptr], this, params
- char * pCppStack = (char *)(pCallStack +1);
-@@ -74,7 +74,7 @@
- {
- if (bridges::cpp_uno::shared::isSimpleType( pReturnTypeDescr ))
- {
-- pUnoReturn = pRegisterReturn; // direct way for simple types
-+ pUnoReturn = pReturnValue; // direct way for simple types
- }
- else // complex return via ptr (pCppReturn)
- {
-@@ -215,7 +215,7 @@
- uno_destructData( pUnoReturn, pReturnTypeDescr, 0 );
- }
- // complex return ptr is set to eax
-- *(void **)pRegisterReturn = pCppReturn;
-+ *static_cast< void ** >(pReturnValue) = pCppReturn;
- }
- if (pReturnTypeDescr)
- {
-@@ -228,7 +228,7 @@
- //==================================================================================================
- extern "C" void cpp_vtable_call(
- int nFunctionIndex, int nVtableOffset, void** pCallStack,
-- sal_Int64 nRegReturn )
-+ void * pReturnValue )
- {
- OSL_ENSURE( sizeof(sal_Int32)==sizeof(void *), "### unexpected!" );
-
-@@ -275,7 +275,7 @@
- pCppI, aMemberDescr.get(),
- ((typelib_InterfaceAttributeTypeDescription *)aMemberDescr.get())->pAttributeTypeRef,
- 0, 0, // no params
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- else
- {
-@@ -290,7 +290,7 @@
- pCppI, aMemberDescr.get(),
- 0, // indicates void return
- 1, &aParam,
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- break;
- }
-@@ -324,7 +324,7 @@
- &pInterface, pTD, cpp_acquire );
- pInterface->release();
- TYPELIB_DANGER_RELEASE( pTD );
-- *(void **)&nRegReturn = pCallStack[1];
-+ *static_cast< void ** >(pReturnValue) = pCallStack[1];
- break;
- }
- TYPELIB_DANGER_RELEASE( pTD );
-@@ -336,7 +336,7 @@
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->pReturnTypeRef,
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->nParams,
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->pParams,
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- break;
- }
---- bridges/source/cpp_uno/gcc3_freebsd_intel/call.s Wed Jun 1 01:32:41 2005
-+++ bridges/source/cpp_uno/gcc3_freebsd_intel/call.s Wed Oct 26 15:10:04 2005
-@@ -9,12 +9,13 @@
- .LCFIg0:
- movl %esp,%ebp
- .LCFIg1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-+ movl 16(%esp),%eax # 32bit returnValue
- leave
- ret
- .LFEg:
-@@ -29,7 +30,7 @@
- .LCFIv0:
- movl %esp,%ebp
- .LCFIv1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ pushl $0 # 32bit null pointer (returnValue not used)
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
-@@ -48,13 +49,14 @@
- .LCFIh0:
- movl %esp,%ebp
- .LCFIh1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x8,%esp # 64bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-- movl 16(%esp),%edx # 64 bit nRegReturn, upper half
-+ movl 16(%esp),%eax # 64bit returnValue, lower half
-+ movl 20(%esp),%edx # 64bit returnValue, upper half
- leave
- ret
- .LFEh:
-@@ -69,12 +71,13 @@
- .LCFIf0:
- movl %esp,%ebp
- .LCFIf1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- flds 12(%esp) # 64 bit nRegReturn, lower half
-+ flds 16(%esp) # 32bit returnValue
- leave
- ret
- .LFEf:
-@@ -89,12 +92,13 @@
- .LCFId0:
- movl %esp,%ebp
- .LCFId1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x8,%esp # 64bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- fldl 12(%esp) # 64 bit nRegReturn
-+ fldl 16(%esp) # 64bit returnValue
- leave
- ret
- .LFEd:
-@@ -109,12 +113,13 @@
- .LCFIc0:
- movl %esp,%ebp
- .LCFIc1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-+ movl 16(%esp),%eax # 32bit returnValue
- leave
- ret $4
- .LFEc:
diff --git a/editors/openoffice.org-3-devel/files/patch-config_office+set_soenv.in b/editors/openoffice.org-3-devel/files/patch-config_office+set_soenv.in
deleted file mode 100644
index a06f28849d7a..000000000000
--- a/editors/openoffice.org-3-devel/files/patch-config_office+set_soenv.in
+++ /dev/null
@@ -1,18 +0,0 @@
-Issuetracker : #i56949#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Add conditional the case of @GCCVER@ >= 30401.
-Like GNU/Linux's case, we also need the case for $CVER if @GCCVER@ is equal to or larger than 3.4.1
-
---- config_office/set_soenv.in Thu Sep 22 23:30:56 2005
-+++ config_office/set_soenv.in Sat Oct 1 12:59:30 2005
-@@ -347,6 +347,9 @@
- $JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386";
- $JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."client";
- $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."native_threads";
-+ if( @GCCVER@ >= 30401 ) {
-+ $CVER = "C341";
-+ }
- }
- elsif ( $platform =~ m/linux-gnu/ )
- {
diff --git a/editors/openoffice.org-3-devel/files/patch-epm+epm-3.7.patch b/editors/openoffice.org-3-devel/files/patch-epm+epm-3.7.patch
deleted file mode 100644
index 2182489d5445..000000000000
--- a/editors/openoffice.org-3-devel/files/patch-epm+epm-3.7.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-Issuetracker : #iXXXXX#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : epm porting for FreeBSD
-o FreeBSD's package manager doesn't allow multiple lines for
- @exec and @unexec
-o chown is at /usr/sbin/
-o the way to recording package dependency is incorrect
-
-Index: epm/epm-3.7.patch
-===================================================================
-RCS file: /cvs/external/epm/epm-3.7.patch,v
-retrieving revision 1.2
-diff -u -r1.2 epm-3.7.patch
---- epm/epm-3.7.patch 10 Mar 2005 11:52:43 -0000 1.2
-+++ epm/epm-3.7.patch 3 Jun 2005 22:05:23 -0000
-@@ -1,3 +1,69 @@
-+*** misc/epm-3.7/bsd.c Wed Jan 15 02:05:01 2003
-+--- misc/build/epm-3.7/bsd.c Sat Jun 4 06:18:27 2005
-+***************
-+*** 26,31 ****
-+--- 26,38 ----
-+
-+ #include "epm.h"
-+
-++ void cr2semicolon(char *command)
-++ {
-++ int len, i;
-++ len=strlen(command);
-++ for (i=0;i<len;i++)
-++ if(*(command+i)=='\n') *(command+i)=';';
-++ }
-+
-+ /*
-+ * 'make_bsd()' - Make a FreeBSD software distribution package.
-+***************
-+*** 150,156 ****
-+ for (i = dist->num_depends, d = dist->depends; i > 0; i --, d ++)
-+ {
-+ if (d->type == DEPEND_REQUIRES)
-+! fprintf(fp, "@pkgdep %s", d->product);
-+ else
-+ #ifdef __FreeBSD__
-+ /*
-+--- 157,163 ----
-+ for (i = dist->num_depends, d = dist->depends; i > 0; i --, d ++)
-+ {
-+ if (d->type == DEPEND_REQUIRES)
-+! fprintf(fp, "@pkgdep %s-%s-%s", d->product, dist->version, platname);
-+ else
-+ #ifdef __FreeBSD__
-+ /*
-+***************
-+*** 179,187 ****
-+--- 186,196 ----
-+ " by the BSD packager.\n", stderr);
-+ break;
-+ case COMMAND_POST_INSTALL :
-++ cr2semicolon(c->command);
-+ fprintf(fp, "@exec %s\n", c->command);
-+ break;
-+ case COMMAND_PRE_REMOVE :
-++ cr2semicolon(c->command);
-+ fprintf(fp, "@unexec %s\n", c->command);
-+ break;
-+ case COMMAND_POST_REMOVE :
-+***************
-+*** 199,205 ****
-+ */
-+
-+ fprintf(fp, "@exec /bin/mkdir -p %s\n", file->dst);
-+! fprintf(fp, "@exec /bin/chown %s:%s %s\n", file->user, file->group,
-+ file->dst);
-+ fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
-+ }
-+--- 208,214 ----
-+ */
-+
-+ fprintf(fp, "@exec /bin/mkdir -p %s\n", file->dst);
-+! fprintf(fp, "@exec /usr/sbin/chown %s:%s %s\n", file->user, file->group,
-+ file->dst);
-+ fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
-+ }
- *** misc/epm-3.7/epm.c 2003-10-28 15:48:30.000000000 +0100
- --- misc/build/epm-3.7/epm.c 2004-11-24 10:38:40.000000000 +0100
- ***************
-
diff --git a/editors/openoffice.org-3-devel/files/patch-icu+icu-2.6.patch b/editors/openoffice.org-3-devel/files/patch-icu+icu-2.6.patch
deleted file mode 100644
index 91b67fb35cf3..000000000000
--- a/editors/openoffice.org-3-devel/files/patch-icu+icu-2.6.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Issuetracker : #i56952#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Passing $ORIGIN to linker at icu project
-We also want to pass -rpath $ORIGIN to linker as GNU/Linux and/or Solaris's case.
-
-Index: icu/icu-2.6.patch
-===================================================================
-RCS file: /cvs/external/icu/icu-2.6.patch,v
-retrieving revision 1.15
-diff -u -r1.15 icu-2.6.patch
---- icu/icu-2.6.patch 28 Dec 2005 16:54:16 -0000 1.15
-+++ icu/icu-2.6.patch 5 Jan 2006 12:58:57 -0000
-@@ -2775,3 +2775,31 @@
- commands = pkg_appendToList(commands, NULL, uprv_strdup(stanza));
-
- sprintf(stanza, "@$(RMV) $(TEMP_DIR)/%s", cfile+genFileOffset);
-+*** misc/icu/source/config/mh-bsd-gcc Thu May 2 08:48:10 2002
-+--- misc/build/icu/source/config/mh-bsd-gcc Mon Oct 24 18:16:57 2005
-+***************
-+*** 10,21 ****
-+--- 10,30 ----
-+ GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS)
-+
-+ ## Flags for position independent code
-++ STATICCFLAGS = -fPIC
-++ STATICCXXFLAGS = -fPIC
-++ STATICCPPFLAGS = -DPIC
-+ SHAREDLIBCFLAGS = -fPIC
-+ SHAREDLIBCXXFLAGS = -fPIC
-+ SHAREDLIBCPPFLAGS = -DPIC
-+
-+ ## Compiler switch to embed a runtime search path
-+ LD_RPATH=
-++ ## Force RPATH=$ORIGIN to locate own dependencies w/o need for LD_LIBRARY_PATH
-++ ENABLE_RPATH=YES
-++ RPATHLDFLAGS=${LD_RPATH_PRE}'$$ORIGIN'
-++
-++ #SH# ENABLE_RPATH=YES
-++ #SH# RPATHLDFLAGS="${LD_RPATH_PRE}'$$ORIGIN'"
-+ LD_RPATH_PRE= -Wl,-rpath,
-+
-+ ## Compiler switch to embed a library name
-+
-+
diff --git a/editors/openoffice.org-3-devel/files/patch-instsetoo b/editors/openoffice.org-3-devel/files/patch-instsetoo
deleted file mode 100644
index 77fcd635acfa..000000000000
--- a/editors/openoffice.org-3-devel/files/patch-instsetoo
+++ /dev/null
@@ -1,154 +0,0 @@
-Issuetracker : #i53288#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : remove circular dependency
-
-in this case,
-core01 is depend on core02-core08, and core0[2-9] and core10
-depends on core01. for FreeBSD this is regarded as circular dependency
-and pkg_add command is forked infinite times and eats up systems' resource.
-namely when core01 tries to install core02, core02 also tries to
-install core01.
-Index: instsetoo_native/inc_openoffice/unix/packagelist.txt
-===================================================================
-RCS file: /cvs/installation/instsetoo_native/inc_openoffice/unix/packagelist.txt,v
-retrieving revision 1.21
-diff -u -r1.21 packagelist.txt
---- instsetoo_native/inc_openoffice/unix/packagelist.txt 30 Nov 2005 13:21:44 -0000 1.21
-+++ instsetoo_native/inc_openoffice/unix/packagelist.txt 3 Dec 2005 22:26:12 -0000
-@@ -37,6 +37,7 @@
- packagename = "%UNIXPRODUCTNAME-core01"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-mailcap,%WITHOUTDOTUNIXPRODUCTNAME-core,%WITHOUTDOTUNIXPRODUCTNAME-core01"
- requires = "%UNIXPRODUCTNAME-core02,%UNIXPRODUCTNAME-core03,%UNIXPRODUCTNAME-core04,%UNIXPRODUCTNAME-core05,%UNIXPRODUCTNAME-core06,%UNIXPRODUCTNAME-core07,%UNIXPRODUCTNAME-core08"
-+freebsdrequires = "%UNIXPRODUCTNAME-core02,%UNIXPRODUCTNAME-core03,%UNIXPRODUCTNAME-core04,%UNIXPRODUCTNAME-core05,%UNIXPRODUCTNAME-core06,%UNIXPRODUCTNAME-core07,%UNIXPRODUCTNAME-core08,%UNIXPRODUCTNAME-core09,%UNIXPRODUCTNAME-core10"
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -278,6 +279,7 @@
- packagename = "%UNIXPRODUCTNAME-core02"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core02"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -291,6 +293,7 @@
- packagename = "%UNIXPRODUCTNAME-core03"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core03"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -304,6 +307,7 @@
- packagename = "%UNIXPRODUCTNAME-core04"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core04"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -317,6 +321,7 @@
- packagename = "%UNIXPRODUCTNAME-core05"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core05"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -330,6 +335,7 @@
- packagename = "%UNIXPRODUCTNAME-core06"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core06"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -343,6 +349,7 @@
- packagename = "%UNIXPRODUCTNAME-core07"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core07"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -356,6 +363,7 @@
- packagename = "%UNIXPRODUCTNAME-core08"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core08"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -369,6 +377,7 @@
- packagename = "%UNIXPRODUCTNAME-core09"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core09"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -383,6 +392,7 @@
- packagename = "%UNIXPRODUCTNAME-core10"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core10"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-Index: solenv/bin/modules/installer/epmfile.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/epmfile.pm,v
-retrieving revision 1.42
-diff -u -r1.42 epmfile.pm
---- solenv/bin/modules/installer/epmfile.pm 9 Nov 2005 09:09:49 -0000 1.42
-+++ solenv/bin/modules/installer/epmfile.pm 3 Dec 2005 22:26:52 -0000
-@@ -395,6 +395,11 @@
- $provides = "solarisprovides"; # the name in the packagelist
- $requires = "solarisrequires"; # the name in the packagelist
- }
-+ elsif ( $installer::globals::isfreebsdpkgbuild )
-+ {
-+ $provides = "freebsdprovides"; # the name in the packagelist
-+ $requires = "freebsdrequires"; # the name in the packagelist
-+ }
- else
- {
- $provides = "provides"; # the name in the packagelist
-Index: solenv/bin/modules/installer/globals.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/globals.pm,v
-retrieving revision 1.47
-diff -u -r1.47 globals.pm
---- solenv/bin/modules/installer/globals.pm 9 Nov 2005 09:10:01 -0000 1.47
-+++ solenv/bin/modules/installer/globals.pm 3 Dec 2005 22:26:52 -0000
-@@ -80,6 +80,7 @@
- $issolarispkgbuild = 0;
- $issolarissparcbuild = 0;
- $issolarisx86build = 0;
-+ $isfreebsdpkgbuild = 0;
- $unpackpath = "";
- $idttemplatepath = "";
- $idtlanguagepath = "";
-
-Index: solenv/bin/modules/installer/parameter.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/parameter.pm,v
-retrieving revision 1.29
-diff -u -r1.29 parameter.pm
---- solenv/bin/modules/installer/parameter.pm 9 Nov 2005 09:10:12 -0000 1.29
-+++ solenv/bin/modules/installer/parameter.pm 10 Dec 2005 13:11:30 -0000
-@@ -304,6 +304,13 @@
- $installer::globals::epmoutpath = "packages";
- }
- }
-+ if ( $installer::globals::compiler =~ /unxfbsdi/ )
-+ {
-+ if ( $installer::globals::packageformat eq "bsd" )
-+ {
-+ $installer::globals::isfreebsdpkgbuild = 1;
-+ }
-+ }
-
- if ( $installer::globals::compiler =~ /unxso[lg]s/ ) { $installer::globals::issolarissparcbuild = 1; }
-
diff --git a/editors/openoffice.org-3-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk b/editors/openoffice.org-3-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk
deleted file mode 100644
index 2c89e95a8cdb..000000000000
--- a/editors/openoffice.org-3-devel/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-Issuetracker : #i56951#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : javavendors_linux.xml can be used for FreeBSD as well.
-javavendors_linux.xml can be used for FreeBSD as well.
-
---- jvmfwk/distributions/OpenOfficeorg/makefile.mk Thu Sep 8 04:26:17 2005
-+++ jvmfwk/distributions/OpenOfficeorg/makefile.mk Sat Oct 22 18:31:16 2005
-@@ -49,7 +49,7 @@
- .IF "$(GUI)"=="UNX"
- .IF "$(OS)"=="MACOSX"
- +-$(COPY) javavendors_macosx.xml $(BIN)$/javavendors_ooo.xml
--.ELIF "$(OS)"=="LINUX"
-+.ELIF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
- +-$(COPY) javavendors_linux.xml $(BIN)$/javavendors_ooo.xml
- .ELSE
- +-$(COPY) javavendors_unx.xml $(BIN)$/javavendors_ooo.xml
diff --git a/editors/openoffice.org-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx b/editors/openoffice.org-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
index c963d013cc07..610b3b087221 100644
--- a/editors/openoffice.org-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
+++ b/editors/openoffice.org-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
@@ -12,18 +12,17 @@ java 1.4.1-p10 for example to 1.4.1_110.
--- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Thu Sep 8 04:31:40 2005
+++ jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Sat Oct 22 18:25:49 2005
-@@ -208,7 +208,16 @@
+@@ -208,7 +208,15 @@
return false;
#if defined(FREEBSD)
if (m_preRelease == Rel_FreeBSD) {
- m_nUpdateSpecial = *pCur;
+ pCur++; //elemnate `p'
+ if (pCur < pEnd && isdigit(*pCur))
-+ if (pCur < pEnd)
-+ pCur ++;
++ pCur ++;
+ int len = pCur - pLast -1; //elemenate `p'
+ if (len >= 127)
-+ return false;
++ return false;
+ strncpy(buf, (pLast+1), len); //elemenate `p'
+ buf[len] = 0;
+ m_nUpdateSpecial = atoi(buf)+100; //hack for FBSD
diff --git a/editors/openoffice.org-3-devel/files/patch-libxmlsec+makefile.mk b/editors/openoffice.org-3-devel/files/patch-libxmlsec+makefile.mk
deleted file mode 100644
index 4e674ce211f0..000000000000
--- a/editors/openoffice.org-3-devel/files/patch-libxmlsec+makefile.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-Issuetracker : #i56954#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Passing $ORIGIN to linker at libxmlsec project
-We also want to pass -rpath $ORIGIN to linker as GNU/Linux and/or Solaris's case.
-
-Index: libxmlsec/makefile.mk
-===================================================================
-RCS file: /cvs/external/libxmlsec/makefile.mk,v
-retrieving revision 1.7
-diff -u -r1.7 makefile.mk
---- libxmlsec/makefile.mk 28 Dec 2005 16:58:06 -0000 1.7
-+++ libxmlsec/makefile.mk 5 Jan 2006 12:34:24 -0000
-@@ -98,6 +98,9 @@
- .IF "$(OS)$(COM)"=="SOLARISC52"
- xmlsec_LDFLAGS+=-Wl,-R'$$$$ORIGIN'
- .ENDIF # "$(OS)$(COM)"=="SOLARISC52"
-+.IF "$(OS)$(COM)"=="FREEBSDGCC"
-+LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN'
-+.ENDIF # "$(OS)$(COM)"=="FREEBSDGCC"
- LDFLAGS:=$(xmlsec_LDFLAGS)
- .EXPORT: LDFLAGS
-
diff --git a/editors/openoffice.org-3-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx b/editors/openoffice.org-3-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx
deleted file mode 100644
index 65073f215e7b..000000000000
--- a/editors/openoffice.org-3-devel/files/patch-psprint+source+fontmanager+parseAFM.cxx
+++ /dev/null
@@ -1,65 +0,0 @@
-Issuetracker : #i60097#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : getc and ungetc are defined at stdio.h
-
-Index: psprint/source/fontmanager/parseAFM.cxx
-===================================================================
-RCS file: /cvs/gsl/psprint/source/fontmanager/parseAFM.cxx,v
-retrieving revision 1.6
-diff -u -r1.6 parseAFM.cxx
---- psprint/source/fontmanager/parseAFM.cxx 28 Dec 2005 17:08:38 -0000 1.6
-+++ psprint/source/fontmanager/parseAFM.cxx 5 Jan 2006 22:05:26 -0000
-@@ -113,8 +113,8 @@
- FileInputStream( const char* pFilename );
- ~FileInputStream();
-
-- int getc() { return (m_nPos < m_nLen) ? int(m_pMemory[m_nPos++]) : -1; }
-- void ungetc()
-+ int getChar() { return (m_nPos < m_nLen) ? int(m_pMemory[m_nPos++]) : -1; }
-+ void ungetChar()
- {
- if( m_nPos > 0 )
- m_nPos--;
-@@ -278,18 +278,18 @@
-
- /* skip over white space */
- // relies on EOF = -1
-- while( is_white_Array[ (ch = stream->getc()) & 255 ] )
-+ while( is_white_Array[ (ch = stream->getChar()) & 255 ] )
- ;
-
- idx = 0;
- while( ch != -1 && ! is_delimiter_Array[ ch & 255 ] )
- {
- ident[idx++] = ch;
-- ch = stream->getc();
-+ ch = stream->getChar();
- }
-
- if (ch == -1 && idx < 1) return ((char *)NULL);
-- if (idx >= 1 && ch != ':' ) stream->ungetc();
-+ if (idx >= 1 && ch != ':' ) stream->ungetChar();
- if (idx < 1 ) ident[idx++] = ch; /* single-character token */
- ident[idx] = 0;
- rLen = idx;
-@@ -311,16 +311,16 @@
- static char ident[MAX_NAME]; /* storage buffer for keywords */
- int ch, idx;
-
-- while ((ch = stream->getc()) == ' ' || ch == '\t' );
-+ while ((ch = stream->getChar()) == ' ' || ch == '\t' );
-
- idx = 0;
- while (ch != -1 && ch != lineterm && ch != '\r')
- {
- ident[idx++] = ch;
-- ch = stream->getc();
-+ ch = stream->getChar();
- } /* while */
-
-- stream->ungetc();
-+ stream->ungetChar();
- ident[idx] = 0;
-
- return(ident); /* returns pointer to the token */
diff --git a/editors/openoffice.org-3-devel/files/patch-sdkoo b/editors/openoffice.org-3-devel/files/patch-sdkoo
deleted file mode 100644
index 6dfc9a5fb029..000000000000
--- a/editors/openoffice.org-3-devel/files/patch-sdkoo
+++ /dev/null
@@ -1,64 +0,0 @@
-Issuetracker : #iXXXXX#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : building sdk fails for FreeBSD
-
-1. Build error
-dmake sdkoo fails like:
-
-##############################################################################
-... starting unpatched epm ...
-... epm -f bsd openoffice.org-sdk /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_SRC680__en-US.lst -v 2>&1 | ...
-
-**************************************************
-ERROR: ERROR: "epm -f bsd openoffice.org-sdk /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_SRC680__en-US.lst -v 2>&1 |"!
-in function: call_epm
-**************************************************
-
-**************************************************
-ERROR: Saved logfile: /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/logging/en-US/log_SRC680__en-US.log
-**************************************************
-... cleaning the output tree ...
-... removing directory /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/zip/en-US ...
-Fri Nov 18 22:49:33 2005 (08:05 min.)
-dmake: Error code 255, while making 'sdkoo_en-US.bsd'
-'---* tg_merge.mk *---'
-##############################################################################
-
-2. Reason why it fails:
-since quoting for filename containing `$' produces an error
-
-tar: opt/openoffice.org2.0_sdk/classes/com/sun/star/lib/loader/InstallationFinder\$StreamGobbler.class: Could not stat: No such file or directory
-tar: opt/openoffice.org2.0_sdk/classes/com/sun/star/lib/loader/Loader\$CustomURLClassLoader.class: Could not stat: No such file or directory
-
-3. Solution
-
-For FreeBSD, we don't need quoting. We use printf for files names
-instead of using qprintf, a function that treats quoting string.
-
---- epm/epm-3.7.patch Sat Nov 19 10:21:34 2005
-+++ epm/epm-3.7.patch Sat Nov 19 10:22:23 2005
-@@ -586,3 +586,23 @@
- }
-
- --- 457,462 ----
-+
-+*** misc/epm-3.7/bsd.c Wed Jan 15 02:05:01 2003
-+--- misc/build/epm-3.7/bsd.c Sat Jun 4 06:18:27 2005
-+***************
-+*** 234,240 ****
-+ case 'c' :
-+ case 'f' :
-+ case 'l' :
-+! qprintf(fp, "%s\n", file->dst + 1);
-+ break;
-+ }
-+ }
-+--- 243,249 ----
-+ case 'c' :
-+ case 'f' :
-+ case 'l' :
-+! fprintf(fp, "%s\n", file->dst + 1);
-+ break;
-+ }
-+ }
diff --git a/editors/openoffice.org-3-devel/files/patch-solenv+inc+unxfbsdi.mk b/editors/openoffice.org-3-devel/files/patch-solenv+inc+unxfbsdi.mk
deleted file mode 100644
index 02b0c8ad1400..000000000000
--- a/editors/openoffice.org-3-devel/files/patch-solenv+inc+unxfbsdi.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-Issuetracker : #i56956#
-CWS : N/A
-Author: : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : catch up recent version of solenv/inc/unxlngi6.mk
-catch up recent version of solenv/inc/unxlngi6.mk and STLPORT_VERSION is 450 in FreeBSD
-
---- solenv/inc/unxfbsdi.mk Wed Oct 5 20:33:12 2005
-+++ solenv/inc/unxfbsdi.mk Mon Oct 24 11:13:39 2005
-@@ -45,7 +45,7 @@
- #LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter"
-
- # _PTHREADS is needed for the stl
--CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400
-+CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450
-
- # enable visibility define in "sal/types.h"
- .IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
-@@ -190,8 +190,13 @@
-
- LIBSALCPPRT*=-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive
-
-+.IF "$(USE_STLP_DEBUG)" != ""
-+LIBSTLPORT=$(DYNAMIC) -lstlport_gcc_stldebug
-+LIBSTLPORTST=$(STATIC) -lstlport_gcc_stldebug $(DYNAMIC)
-+.ELSE # "$(USE_STLP_DEBUG)" != ""
- LIBSTLPORT=$(DYNAMIC) -lstlport_gcc
- LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC)
-+.ENDIF # "$(USE_STLP_DEBUG)" != ""
-
- #FILLUPARC=$(STATIC) -lsupc++ $(DYNAMIC)
-
diff --git a/editors/openoffice.org-vcltesttool/Makefile b/editors/openoffice.org-vcltesttool/Makefile
index d24e0c28f41d..d1de2d1a680c 100644
--- a/editors/openoffice.org-vcltesttool/Makefile
+++ b/editors/openoffice.org-vcltesttool/Makefile
@@ -9,15 +9,19 @@ PORTNAME?= openoffice.org
PORTVERSION?= 2.0.${SNAPDATE}
CATEGORIES+= editors java
MASTER_SITES+= http://openoffice.lunarshells.com/sources/ \
- ftp://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
+ http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
+ ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:antbin,} \
${MASTER_SITE_MOZILLA:S/$/:mozsrc/}
MASTER_SITE_SUBDIR+= mozilla/releases/mozilla${MOZILLA_VERSION}/source/:mozsrc
-DISTFILES+= OOo_${OOOTAG}_source.tar.bz2
+DISTFILES+= OOo_${OOOTAG}_source${EXTRACT_SUFX}
.if defined(WITH_GPC)
DISTFILES+= gpc231.tar.Z:gpc
.endif
-EXTRACT_ONLY= OOo_${OOOTAG}_source.tar.bz2
+.if defined(WITH_GNUGCJ)
+DISTFILES+= ${ANT_DISTFILE}:antbin
+.endif
+EXTRACT_ONLY= OOo_${OOOTAG}_source${EXTRACT_SUFX}
MAINTAINER= openoffice@FreeBSD.org
COMMENT?= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser(developer version)
@@ -59,9 +63,9 @@ IGNORE= install lang/perl5.8 then try again
CODELINE= 680
RELEASE_NR= 2.0
-MILESTONE?= 151
+MILESTONE?= 155
OOOTAG?= SRC680_m${MILESTONE}
-SNAPDATE= 20060117
+SNAPDATE= 20060203
INSTALLATION_BASEDIR?= openoffice.org-${OOOTAG}
EXECBASE?= openoffice.org-${OOOTAG}
DIST_SUBDIR= openoffice.org2.0
@@ -78,7 +82,7 @@ PKGNAMESUFFIX?= -${LANG_SUFFIX}
.endif
.if defined(WITH_GNUGCJ)
-BUILD_DEPENDS+= gcc41:${PORTSDIR}/lang/gcc41
+#BUILD_DEPENDS+= ${LOCALBASE}/bin/gcc41:${PORTSDIR}/lang/gcc41-wgcj
BROKEN= "still work in progress"
.else
BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
@@ -88,8 +92,8 @@ BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
.if defined(WITH_GNUGCJ)
-CC= ccache gcc41
-CXX= ccache g++41
+CC= ccache ${LOCALBASE}/gcc41/bin/gcc
+CXX= ccache ${LOCALBASE}/gcc41/bin/g++
.else
CC= ccache gcc-ooo
CXX= ccache g++-ooo
@@ -97,8 +101,8 @@ CXX= ccache g++-ooo
.endif #WITH_CCACHE
.if !defined(WITH_CCACHE)
.if defined(WITH_GNUGCJ)
-CC= gcc41
-CXX= g++41
+CC= ${LOCALBASE}/gcc41/bin/gcc
+CXX= ${LOCALBASE}/gcc41/bin/g++
.else
CC= gcc-ooo
CXX= g++-ooo
@@ -112,26 +116,40 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
bison2:${PORTSDIR}/devel/bison2 \
imake:${X_IMAKE_PORT}
-.if !defined(WITHOUT_JAVA)
-BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/apache-ant
+.if !defined(WITHOUT_JAVA) && !defined(WITH_GNUGCJ)
+BUILD_DEPENDS+= ant:${PORTSDIR}/devel/apache-ant
.else
LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
.endif
+.if defined(WITH_GNUGCJ)
+ANT_DISTFILE= apache-ant-${ANT_VERSION}-bin.tar.bz2
+ANT_VERSION= 1.6.5
+.endif
.if !defined(WITH_GPC)
LIB_DEPENDS= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl2
.endif
+
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
-ANT?= ${LOCALBASE}/bin/ant
-ZIP?= ${PREFIX}/bin/zip
TCSH?= /bin/tcsh
PKGMESSAGE= ${WRKDIR}/pkg-message
NUMOFPROCESSES?= 1
+USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --with-gnu-patch=${LOCALBASE}/bin/gpatch --with-epm=internal --with-system-freetype --enable-crashdump=yes --enable-symbols=SMALL
+.if (${OSVERSION} <= 492000)
+EXTRA_PATCHES+= ${FILESDIR}/fbsd4-workaroundpatch
+.endif
+.if defined(WITH_GNUGCJ)
+EXTRA_PATCHES+= ${FILESDIR}/gcj-cws_jaxpapi ${FILESDIR}/gcj-patches
+.endif
+#.if defined(WITH_TTF_BYTECODE_ENABLED)
+#EXTRA_PATCHES+= ${FILESDIR}/optpatch-freetype
+#.endif
+
.include <${FILESDIR}/Makefile.knobs>
pre-everything::
@@ -152,11 +170,8 @@ pre-everything::
.endif
post-extract:
-#.if defined(WITH_TTF_BYTECODE_ENABLED)
-# @cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/optpatch-freetype
-#.endif
-.if (${OSVERSION} <= 492000)
- @cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/fbsd4-workaroundpatch
+.if defined(WITH_GNUGCJ)
+ @cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${ANT_DISTFILE} | ${BZIP2_CMD} -d | ${TAR} xf -
.endif
.if defined(WITH_GPC)
@cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/gpc231.tar.Z | ${TAR} xfz -
diff --git a/editors/openoffice.org-vcltesttool/distinfo b/editors/openoffice.org-vcltesttool/distinfo
index 4a24eeb47005..5f814dd0406e 100644
--- a/editors/openoffice.org-vcltesttool/distinfo
+++ b/editors/openoffice.org-vcltesttool/distinfo
@@ -1,9 +1,12 @@
-MD5 (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = f652b703f21ade84d6ff814684df2327
-SHA256 (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = 2c6a2e37ff5dd8b01c4d976239922e12b26bf948908f62d9e2df620c8ce4cf2d
-SIZE (openoffice.org2.0/OOo_SRC680_m151_source.tar.bz2) = 236161920
+MD5 (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = b8a712737bb146baf1ebb00c88ed3dc3
+SHA256 (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = 80b481f8815f7bc9263d9544f1a0326abeb61de7349e4947614a5e72e49c4b0b
+SIZE (openoffice.org2.0/OOo_SRC680_m155_source.tar.bz2) = 235716251
MD5 (openoffice.org2.0/gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
SHA256 (openoffice.org2.0/gpc231.tar.Z) = c1265948554a9882fe8342ecc9ccbdb423321a572a5a6b56f7dfad389540da4e
SIZE (openoffice.org2.0/gpc231.tar.Z) = 27917
+MD5 (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = 26031ee1a2fd248ad0cc2e7f17c44c39
+SHA256 (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = d463b8259cb199cd26799c817756c73e4e7808b0cf915f86841ac9779e0f9936
+SIZE (openoffice.org2.0/apache-ant-1.6.5-bin.tar.bz2) = 6743024
MD5 (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = d3f3528b6c5eade402ed058207cffa14
SHA256 (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = 3e252bab95ecad3016b72fa594e0c44b9633d8c7b6af187e088a092019b56445
SIZE (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = 38721366
diff --git a/editors/openoffice.org-vcltesttool/files/Makefile.knobs b/editors/openoffice.org-vcltesttool/files/Makefile.knobs
index 8fc898b33521..1d119fc69a6a 100644
--- a/editors/openoffice.org-vcltesttool/files/Makefile.knobs
+++ b/editors/openoffice.org-vcltesttool/files/Makefile.knobs
@@ -6,7 +6,7 @@
CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}" --with-ant-home=${LOCALBASE}/ant
.endif
.if !defined(WITHOUT_JAVA) && defined(WITH_GNUGCJ)
-CONFIGURE_ARGS+= --with-java=gij --with-ant-home=${LOCALBASE}/ant
+CONFIGURE_ARGS+= --with-jdk-home="${LOCALBASE}/gcc41" --with-java=gij --with-ant-home="${WRKDIR}/apache-ant-${ANT_VERSION}" --disable-qadevooo
.endif
.if defined(WITHOUT_JAVA)
CONFIGURE_ARGS+= --without-java
diff --git a/editors/openoffice.org-vcltesttool/files/gcj-cws_jaxpapi b/editors/openoffice.org-vcltesttool/files/gcj-cws_jaxpapi
new file mode 100644
index 000000000000..b7473b8dc748
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/gcj-cws_jaxpapi
@@ -0,0 +1,1308 @@
+Index: external/prj/d.lst
+===================================================================
+RCS file: /cvs/util/external/prj/d.lst,v
+retrieving revision 1.21
+retrieving revision 1.21.18.1
+diff -u -r1.21 -r1.21.18.1
+--- external/prj/d.lst 24 Nov 2004 15:13:13 -0000 1.21
++++ external/prj/d.lst 17 Jan 2006 10:39:46 -0000 1.21.18.1
+@@ -24,8 +24,6 @@
+ ..\%__SRC%\bin\*.zip %_DEST%\pck%_EXT%\*.zip
+ ..\common.pro\bin\*.zip %_DEST%\pck%_EXT%\*.zip
+ ..\common\xt.jar %_DEST%\bin%_EXT%\xt.jar
+-..\common\jaxp.jar %_DEST%\bin%_EXT%\jaxp.jar
+-..\common\parser.jar %_DEST%\bin%_EXT%\parser.jar
+
+ ..\audio\rtufiles\lib\audio\libaudio.a %_DEST%\lib%_EXT%\libaudio.a
+ ..\audio\rtufiles\lib\audio\*.h %_DEST%\inc%_EXT%\audio\*
+Index: filter/source/config/fragments/makefile.mk
+===================================================================
+RCS file: /cvs/framework/filter/source/config/fragments/makefile.mk,v
+retrieving revision 1.16
+retrieving revision 1.16.16.1
+diff -u -r1.16 -r1.16.16.1
+--- filter/source/config/fragments/makefile.mk 14 Dec 2005 14:48:16 -0000 1.16
++++ filter/source/config/fragments/makefile.mk 17 Jan 2006 11:03:31 -0000 1.16.16.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.16 $
++# $Revision: 1.16.16.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/12/14 14:48:16 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:03:31 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -156,11 +156,7 @@
+ MERGE:=python ../tools/merge/pyAltFCFGMerge
+ .ELSE
+ MERGE := $(JAVAI) -jar $(CLASSDIR)$/FCFGMerge.jar
+-.IF "$(JDK)" == "gcj"
+-XALANCLASS=$(SOLARBINDIR)/xalan.jar
+-CLASSPATH:=$(CLASSPATH)$(PATH_SEPERATOR){$(subst,%Z*Z%,$(PATH_SEPERATOR) $(XALANCLASS:s/ /%Z*Z%/))}
+-.ENDIF
+-PACKLANG := $(JAVAI) org.apache.xalan.xslt.Process -XSL langfilter.xsl
++PACKLANG := $(JAVAI) $(JAVACPS) $(SOLARBINDIR)/xalan.jar org.apache.xalan.xslt.Process -XSL langfilter.xsl
+ .ENDIF
+
+ # -----------------------------------------------------------------------------
+Index: filter/source/config/tools/utils/makefile.mk
+===================================================================
+RCS file: /cvs/framework/filter/source/config/tools/utils/makefile.mk,v
+retrieving revision 1.5
+retrieving revision 1.5.92.1
+diff -u -r1.5 -r1.5.92.1
+--- filter/source/config/tools/utils/makefile.mk 8 Sep 2005 21:39:14 -0000 1.5
++++ filter/source/config/tools/utils/makefile.mk 17 Jan 2006 11:03:44 -0000 1.5.92.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.5 $
++# $Revision: 1.5.92.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/09/08 21:39:14 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:03:44 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -51,8 +51,8 @@
+ juh.jar \
+ jut.jar \
+ java_uno.jar \
+- jaxp.jar \
+- parser.jar
++ xml-apis.jar \
++ xercesImpl.jar
+
+ JAVACLASSFILES = \
+ $(CLASSDIR)$/$(PACKAGE)$/AnalyzeStartupLog.class \
+Index: helpcontent2/settings.pmk
+===================================================================
+RCS file: /cvs/documentation/helpcontent2/settings.pmk,v
+retrieving revision 1.5
+retrieving revision 1.5.106.1
+diff -u -r1.5 -r1.5.106.1
+--- helpcontent2/settings.pmk 29 Apr 2005 09:14:07 -0000 1.5
++++ helpcontent2/settings.pmk 17 Jan 2006 12:52:53 -0000 1.5.106.1
+@@ -1,5 +1,5 @@
+
+-my_cp:=$(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.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
++my_cp:=$(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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
+
+ .IF "$(SYSTEM_DB)" == "YES"
+ my_cp!:=$(my_cp)$(PATH_SEPERATOR)$(DB_JAR)
+Index: officecfg/org/openoffice/configuration/FileHelper.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/FileHelper.java,v
+retrieving revision 1.2
+retrieving revision 1.2.88.1
+diff -u -r1.2 -r1.2.88.1
+--- officecfg/org/openoffice/configuration/FileHelper.java 8 Sep 2005 14:42:51 -0000 1.2
++++ officecfg/org/openoffice/configuration/FileHelper.java 17 Jan 2006 11:28:49 -0000 1.2.88.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: FileHelper.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.88.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/08 14:42:51 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:28:49 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -62,7 +62,7 @@
+ File aFile = new File(sSource);
+
+ try {
+- absPath = aFile.getAbsoluteFile().toURL().toString();
++ absPath = aFile.getAbsolutePath();
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+Index: officecfg/org/openoffice/configuration/Generator.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/Generator.java,v
+retrieving revision 1.2
+retrieving revision 1.2.902.1
+diff -u -r1.2 -r1.2.902.1
+--- officecfg/org/openoffice/configuration/Generator.java 5 Jul 2001 08:04:36 -0000 1.2
++++ officecfg/org/openoffice/configuration/Generator.java 17 Jan 2006 11:28:50 -0000 1.2.902.1
+@@ -18,7 +18,7 @@
+ public Generator() throws Exception
+ {
+ // set the driver for xt
+- System.setProperty("com.jclark.xsl.sax.parser", "com.sun.xml.parser.Parser");
++ System.setProperty("com.jclark.xsl.sax.parser", "org.apache.xerces.parsers.SAXParser");
+ }
+
+ /**
+Index: officecfg/org/openoffice/configuration/XMLDefaultGenerator.java
+===================================================================
+RCS file: /cvs/util/officecfg/org/openoffice/configuration/XMLDefaultGenerator.java,v
+retrieving revision 1.4
+retrieving revision 1.4.88.1
+diff -u -r1.4 -r1.4.88.1
+--- officecfg/org/openoffice/configuration/XMLDefaultGenerator.java 8 Sep 2005 14:43:34 -0000 1.4
++++ officecfg/org/openoffice/configuration/XMLDefaultGenerator.java 17 Jan 2006 11:28:50 -0000 1.4.88.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XMLDefaultGenerator.java,v $
+ *
+- * $Revision: 1.4 $
++ * $Revision: 1.4.88.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/08 14:43:34 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:28:50 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -36,12 +36,10 @@
+
+ import org.xml.sax.*;
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.XmlDocument;
+ import org.xml.sax.SAXException;
+ import org.xml.sax.SAXParseException;
+ import javax.xml.parsers.SAXParserFactory;
+ import javax.xml.parsers.SAXParser;
+-import com.sun.xml.tree.*;
+ import java.util.*;
+ import java.io.*;
+ import com.jclark.xsl.sax.Driver;
+@@ -65,7 +63,7 @@
+ public XMLDefaultGenerator(String sourceFile) throws Exception
+ {
+ // set the driver for xt
+- System.setProperty("com.jclark.xsl.sax.parser", "com.sun.xml.parser.Parser");
++ System.setProperty("com.jclark.xsl.sax.parser", "org.apache.xerces.parsers.SAXParser");
+ evaluateSchema(sourceFile);
+ }
+
+Index: readlicense_oo/util/makefile.pmk
+===================================================================
+RCS file: /cvs/installation/readlicense/util/makefile.pmk,v
+retrieving revision 1.10
+retrieving revision 1.10.12.1
+diff -u -r1.10 -r1.10.12.1
+--- readlicense_oo/util/makefile.pmk 25 Oct 2005 10:43:44 -0000 1.10
++++ readlicense_oo/util/makefile.pmk 17 Jan 2006 11:15:07 -0000 1.10.12.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.pmk,v $
+ #
+-# $Revision: 1.10 $
++# $Revision: 1.10.12.1 $
+ #
+-# last change: $Author: hr $ $Date: 2005/10/25 10:43:44 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:15:07 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -70,7 +70,7 @@
+ $(MISC)$/readme%.html :
+ @+-$(MKDIR) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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%.txt :
+ @+-$(MKDIR) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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: scripting/java/build.xml
+===================================================================
+RCS file: /cvs/framework/scripting/java/build.xml,v
+retrieving revision 1.32
+retrieving revision 1.32.18.1
+diff -u -r1.32 -r1.32.18.1
+--- scripting/java/build.xml 9 Sep 2005 01:54:21 -0000 1.32
++++ scripting/java/build.xml 17 Jan 2006 11:15:56 -0000 1.32.18.1
+@@ -4,9 +4,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.32 $
++ $Revision: 1.32.18.1 $
+
+- last change: $Author: rt $ $Date: 2005/09/09 01:54:21 $
++ last change: $Author: cmc $ $Date: 2006/01/17 11:15:56 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -65,15 +65,11 @@
+
+ <path id="idesupport.class.path">
+ <pathelement path="${jardir}"/>
+- <!-- <pathelement path="${solar.jar}/jaxp.jar"/>
+- <pathelement path="${solar.jar}/parser.jar"/>
+- <pathelement path="${install.dir}/xerces.jar"/> -->
+ </path>
+
+ <path id="openide.class.path">
+ <pathelement path="${jardir}"/>
+ <pathelement path="${solar.jar}/openide.jar"/>
+- <!-- <pathelement path="${install.dir}/xerces.jar"/> -->
+ </path>
+
+ <path id="netbeans.editor.support.classpath">
+Index: solenv/bin/modules/installer/javainstaller.pm
+===================================================================
+RCS file: /cvs/tools/solenv/bin/modules/installer/javainstaller.pm,v
+retrieving revision 1.22
+retrieving revision 1.21.184.2
+diff -u -r1.22 -r1.21.184.2
+--- solenv/bin/modules/installer/javainstaller.pm 13 Jan 2006 15:01:29 -0000 1.22
++++ solenv/bin/modules/installer/javainstaller.pm 18 Jan 2006 12:05:44 -0000 1.21.184.2
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: javainstaller.pm,v $
+ #
+-# $Revision: 1.22 $
++# $Revision: 1.21.184.2 $
+ #
+-# last change: $Author: rt $ $Date: 2006/01/13 15:01:29 $
++# last change: $Author: cmc $ $Date: 2006/01/18 12:05:44 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -494,14 +494,14 @@
+
+ # The variable CLASSPATH has to contain:
+ # $installsdk/classes:$installsdk/classes/setupsdk.jar:
+- # $installsdk/classes/parser.jar:$installsdk/classes/jaxp.jar:
++ # $installsdk/classes/xercesImpl.jar:$installsdk/classes/xml-apis.jar:
+ # $installsdk/classes/ldapjdk.jar:$directory
+
+ my @additional_classpath = ();
+ push(@additional_classpath, "$installsdk\/classes");
+ push(@additional_classpath, "$installsdk\/installsdk.jar");
+- push(@additional_classpath, "$installsdk\/classes\/parser.jar");
+- push(@additional_classpath, "$installsdk\/classes\/jaxp.jar");
++ push(@additional_classpath, "$installsdk\/classes\/xml-apis.jar");
++ push(@additional_classpath, "$installsdk\/classes\/xercesImpl.jar");
+ push(@additional_classpath, "$directory");
+
+ my $newclasspathstring = "";
+Index: solenv/inc/tg_config.mk
+===================================================================
+RCS file: /cvs/tools/solenv/inc/tg_config.mk,v
+retrieving revision 1.6
+retrieving revision 1.6.184.1
+diff -u -r1.6 -r1.6.184.1
+--- solenv/inc/tg_config.mk 8 Sep 2005 09:42:41 -0000 1.6
++++ solenv/inc/tg_config.mk 17 Jan 2006 11:10:09 -0000 1.6.184.1
+@@ -1,12 +1,12 @@
+-#*************************************************************************
++#************************************************************************
+ #
+ # OpenOffice.org - a multi-platform office productivity suite
+ #
+ # $RCSfile: tg_config.mk,v $
+ #
+-# $Revision: 1.6 $
++# $Revision: 1.6.184.1 $
+ #
+-# last change: $Author: rt $ $Date: 2005/09/08 09:42:41 $
++# last change: $Author: cmc $ $Date: 2006/01/17 11:10:09 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -62,12 +62,12 @@
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+ .IF "$(NO_INSPECTION)"==""
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.configuration.Inspector $<
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_val.xsl $(@:d)$*.val componentName=$(PACKAGE).$*
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/sanity.xsl $(@:d)$*.san
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_trim.xsl $(@:d)$*.tmp
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.jar -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/schema_trim.xsl $(@:d)$*.tmp
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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,
+ # org.openoffice.configuration.Inspector should be replaced and the
+@@ -101,7 +101,7 @@
+ @+echo -------------+ creating locale dependent resource bundles
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/resource.xsl $@ locale={$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))}
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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$/, $@))} \
+@@ -129,11 +129,11 @@
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+ .IF "$(NO_INSPECTION)"==""
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.configuration.Inspector $<
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(XSLDIR)$/alllang.xsl $(@:d)$*.tmp xcs=$(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs schemaRoot=$(XCSROOT)$/registry$/schema
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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,
+ # org.openoffice.configuration.Inspector should be replaced and the
+@@ -170,8 +170,8 @@
+ @+echo -------------+ creating locale dependent entries
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$*.tmp $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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 \
+ --stringparam xcs $(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$*.xcs \
+@@ -206,8 +206,8 @@
+ @+echo -------------+ creating a module file
+ -$(MKDIRHIER) $(@:d)
+ .IF "$(XSLTPROC)"=="NO_XSLTPROC"
+- $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/cfgimport.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser 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) $(SOLARBINDIR)$/jaxp.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar$(PATH_SEPERATOR)$(PROCESSORDIR)$/schema.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.helper.PrettyPrinter $(@:d)$(@:f:s/.xcu/.tmp/) $@
++ $(JAVAI) $(JAVACPS) $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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) $(SOLARBINDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/xercesImpl.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/) \
+ --stringparam xcs $(XCSROOT)$/registry$/schema$/$(PACKAGEDIR)$/$(<:b).xcs \
+Index: toolkit/test/accessibility/jawb.mf
+===================================================================
+RCS file: /cvs/gsl/toolkit/test/accessibility/jawb.mf,v
+retrieving revision 1.4
+retrieving revision 1.4.178.1
+diff -u -r1.4 -r1.4.178.1
+--- toolkit/test/accessibility/jawb.mf 23 Jul 2004 14:26:57 -0000 1.4
++++ toolkit/test/accessibility/jawb.mf 17 Jan 2006 11:03:18 -0000 1.4.178.1
+@@ -1,3 +1,3 @@
+ Manifest-Version: 1.0
+ Main-Class: AccessibilityWorkBench
+-Class-Path: classes.jar ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar xt.jar jaxp.jar
++Class-Path: classes.jar ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar xt.jar xml-apis.jar
+Index: xmerge/source/xmerge/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/build.xml,v
+retrieving revision 1.2
+retrieving revision 1.2.4.1
+diff -u -r1.2 -r1.2.4.1
+--- xmerge/source/xmerge/build.xml 24 Oct 2005 17:57:33 -0000 1.2
++++ xmerge/source/xmerge/build.xml 17 Jan 2006 10:54:44 -0000 1.2.4.1
+@@ -58,9 +58,8 @@
+ <property file="../inc/antbuild.properties"/>
+
+ <path id="classpath">
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ <pathelement location="${solar.jar}/unoil.jar"/>
+ <pathelement location="${solar.jar}/ridl.jar"/>
+ <pathelement location="${solar.jar}/jurt.jar"/>
+@@ -96,7 +95,7 @@
+ <attribute name="Specification-Vendor" value="OpenOffice.org"/>
+ <attribute name="Specification-Version" value="0.6.0"/>
+ <attribute name="Implementation-Version" value="#IMPL-VERSION#"/>
+- <attribute name="Class-Path" value="jaxp.jar parser.jar"/>
++ <attribute name="Class-Path" value="xml-apis.jar xercesImpl.jar"/>
+ </manifest>
+ </jar>
+ </target>
+Index: xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java,v
+retrieving revision 1.3
+retrieving revision 1.2.4.1
+diff -u -r1.3 -r1.2.4.1
+Index: xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml,v
+retrieving revision 1.2
+retrieving revision 1.2.4.1
+diff -u -r1.2 -r1.2.4.1
+--- xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml 24 Oct 2005 18:23:20 -0000 1.2
++++ xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/build.xml 17 Jan 2006 10:55:00 -0000 1.2.4.1
+@@ -79,9 +79,8 @@
+ <!-- classpath settings for javac tasks -->
+ <path id="classpath">
+ <pathelement location="${build.class}"/>
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ </path>
+
+ <!-- set whether we want to compile with or without deprecation -->
+Index: xmerge/util/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/util/build.xml,v
+retrieving revision 1.9
+retrieving revision 1.9.4.1
+diff -u -r1.9 -r1.9.4.1
+--- xmerge/util/build.xml 24 Oct 2005 18:23:52 -0000 1.9
++++ xmerge/util/build.xml 17 Jan 2006 10:55:05 -0000 1.9.4.1
+@@ -4,9 +4,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.9 $
++ $Revision: 1.9.4.1 $
+
+- last change: $Author: hr $ $Date: 2005/10/24 18:23:52 $
++ last change: $Author: cmc $ $Date: 2006/01/17 10:55:05 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -39,9 +39,8 @@
+ <property name="javadoc.dir" location="${build.dir}/javadoc"/>
+
+ <path id="classpath">
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ <pathelement location="${solar.jar}/unoil.jar"/>
+ <pathelement location="${solar.jar}/ridl.jar"/>
+ <pathelement location="${solar.jar}/jurt.jar"/>
+Index: xmerge/util/xmerge.mf
+===================================================================
+RCS file: /cvs/xml/xmerge/util/xmerge.mf,v
+retrieving revision 1.1
+retrieving revision 1.1.24.1
+diff -u -r1.1 -r1.1.24.1
+--- xmerge/util/xmerge.mf 7 Mar 2002 16:45:23 -0000 1.1
++++ xmerge/util/xmerge.mf 17 Jan 2006 10:55:11 -0000 1.1.24.1
+@@ -1,6 +1,6 @@
+ Manifest-Version: 1.0
+ Main-Class: org.openoffice.xmerge.test.Driver
+-Class-Path: jaxp.jar parser.jar
++Class-Path: xml-apis.jar xercesImpl.jar
+ Specification-Title: OpenOffice XMerge Framework
+ Specification-Vendor: OpenOffice.org
+ Specification-Version: 0.6.0
+Index: xmerge/workben/build.xml
+===================================================================
+RCS file: /cvs/xml/xmerge/workben/build.xml,v
+retrieving revision 1.3
+retrieving revision 1.3.8.1
+diff -u -r1.3 -r1.3.8.1
+--- xmerge/workben/build.xml 9 Sep 2005 11:50:54 -0000 1.3
++++ xmerge/workben/build.xml 17 Jan 2006 10:55:13 -0000 1.3.8.1
+@@ -5,9 +5,9 @@
+
+ $RCSfile: build.xml,v $
+
+- $Revision: 1.3 $
++ $Revision: 1.3.8.1 $
+
+- last change: $Author: rt $ $Date: 2005/09/09 11:50:54 $
++ last change: $Author: cmc $ $Date: 2006/01/17 10:55:13 $
+
+ The Contents of this file are made available subject to
+ the terms of GNU Lesser General Public License Version 2.1.
+@@ -60,9 +60,8 @@
+ <!-- classpath settings for javac tasks -->
+ <path id="classpath">
+ <pathelement location="${build.class}"/>
+- <pathelement location="${solar.jar}/parser.jar"/>
+- <pathelement location="${solar.jar}/jaxp.jar"/>
+- <pathelement location="${solar.jar}/xerces.jar"/>
++ <pathelement location="${solar.jar}/xml-apis.jar"/>
++ <pathelement location="${solar.jar}/xercesImpl.jar"/>
+ </path>
+
+ <!-- set wether we want to compile with or without deprecation -->
+Index: xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java,v
+retrieving revision 1.2
+retrieving revision 1.2.2.1
+diff -u -r1.2 -r1.2.2.1
+--- xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java 16 Jan 2006 12:35:17 -0000 1.2
++++ xmlhelp/source/com/sun/star/help/GCJFileURLStreamHandler.java 19 Jan 2006 09:43:59 -0000 1.2.2.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: GCJFileURLStreamHandler.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.2.1 $
+ *
+- * last change: $Author: obo $ $Date: 2006/01/16 12:35:17 $
++ * last change: $Author: cmc $ $Date: 2006/01/19 09:43:59 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -43,12 +43,12 @@
+ import java.net.URLConnection;
+ import java.util.HashMap;
+
+-public class FileURLStreamHandler
++public class GCJFileURLStreamHandler
+ extends gnu.java.net.protocol.file.Handler {
+
+ private static HashMap cache = new HashMap();
+
+- FileURLStreamHandler() {
++ GCJFileURLStreamHandler() {
+ }
+
+ public URLConnection openConnection(URL url) throws IOException {
+Index: xmlhelp/source/com/sun/star/help/HelpCompiler.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/HelpCompiler.java,v
+retrieving revision 1.12
+retrieving revision 1.11.4.2
+diff -u -r1.12 -r1.11.4.2
+--- xmlhelp/source/com/sun/star/help/HelpCompiler.java 16 Jan 2006 12:35:49 -0000 1.12
++++ xmlhelp/source/com/sun/star/help/HelpCompiler.java 18 Jan 2006 12:08:35 -0000 1.11.4.2
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: HelpCompiler.java,v $
+ *
+- * $Revision: 1.12 $
++ * $Revision: 1.11.4.2 $
+ *
+- * last change: $Author: obo $ $Date: 2006/01/16 12:35:49 $
++ * last change: $Author: cmc $ $Date: 2006/01/18 12:08:35 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -38,6 +38,7 @@
+ import java.io.ByteArrayInputStream;
+ import java.io.File;
+ import java.io.IOException;
++import java.io.ByteArrayOutputStream;
+ import java.io.InputStreamReader;
+ import java.io.UnsupportedEncodingException;
+ import java.net.MalformedURLException;
+@@ -49,16 +50,20 @@
+ import java.util.LinkedList;
+ import java.util.List;
+
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
++
+ import org.w3c.dom.Document;
+ import org.w3c.dom.Element;
+ import org.w3c.dom.Node;
+ import org.w3c.dom.NodeList;
+ import org.w3c.dom.Text;
++import org.w3c.dom.traversal.DocumentTraversal;
++import org.w3c.dom.traversal.NodeFilter;
++import org.w3c.dom.traversal.TreeWalker;
++import org.w3c.dom.traversal.NodeIterator;
+ import org.xml.sax.InputSource;
+
+-import com.sun.xml.tree.TreeWalker;
+-import com.sun.xml.tree.XmlDocument;
+-
+ public class HelpCompiler {
+
+ private static final String makeRelPrefix = ".." + File.separator;
+@@ -98,25 +103,25 @@
+
+ }
+
+- private Object[] switchFind(Node node) {
++ private Object[] switchFind(Document doc) {
+ HashSet hs = new HashSet();
+- Node next;
+- TreeWalker tw = new TreeWalker(node);
+- while ((next = tw.getNextElement("switchinline")) != null) {
+- Element el = (Element) next;
+- if (!el.getAttribute("select").equals("appl"))
+- continue;
+-
+- NodeList nl = el.getChildNodes();
+- for (int i = 0; i < nl.getLength(); ++i) {
+- if (nl.item(i).getNodeName().equals("caseinline")) {
+- String appl = ((Element) nl.item(i)).getAttribute("select");
+- hs.add(appl);
+- } else if (nl.item(i).getNodeName().equals("defaultinline")) {
+- hs.add("DEFAULT");
+- }
+- }
+- }
++
++ NodeList nodelist = doc.getElementsByTagName("switchinline");
++
++ for (int j = 0; j < nodelist.getLength(); ++j) {
++ Element el = (Element) nodelist.item(j);
++ if (el.getAttribute("select").equals("appl")) {
++ NodeList nl = el.getChildNodes();
++ for (int i = 0; i < nl.getLength(); ++i) {
++ if (nl.item(i).getNodeName().equals("caseinline")) {
++ String appl = ((Element) nl.item(i)).getAttribute("select");
++ hs.add(appl);
++ } else if (nl.item(i).getNodeName().equals("defaultinline")) {
++ hs.add("DEFAULT");
++ }
++ }
++ }
++ }
+
+ hs.add("DEFAULT");
+ return hs.toArray();
+@@ -129,6 +134,9 @@
+ NodeList nl = node.getChildNodes();
+ for (int i = 0; i < nl.getLength(); ++i) {
+ Node n = nl.item(i);
++ if (n == null) {
++ continue;
++ }
+ if ((n.getNodeName().equals("switchinline")
+ || n.getNodeName().equals("switch"))
+ && ((Element) n).getAttribute("select").equals("appl")) {
+@@ -168,93 +176,119 @@
+ return parent;
+ }
+
+- public boolean compile() throws UnsupportedEncodingException {
+- // we now have the jaroutputstream, which will contain the document.
+- // now determine the document as a dom tree in variable docResolved
+- File inputFil = new File(inputFile);
+-
+- // HelpCompiler.getSourceDocument() takes a string that resembles an URL.
+- // Using inputFil.toURL() is way to expensive here,
+- // because it checks the filesystem to find out if inputFil
+- // might be a directory. This takes a lot of time if working from
+- // Windows via NFS on remote volumes. We "know" that inputfil is
+- // a file anyway.
+- String path;
+- if ( File.separatorChar == '\\' ) {
+- path = "file:/";
+- path += inputFil.getAbsolutePath();
+- path = path.replace('\\','/');
++ static byte[] docToBytes(Document doc) throws IOException {
++ ByteArrayOutputStream baos = new ByteArrayOutputStream();
++
++ java.lang.reflect.Constructor con;
++ java.lang.reflect.Method meth;
++ String domImpl = doc.getClass().getName();
++
++ /*
++ * We may have multiple XML parsers in the Classpath.
++ * Depending on which one is first, the actual type of
++ * doc may vary. Need a way to find out which API is being
++ * used and use an appropriate serialization method.
++ */
++ try {
++ // First of all try for JAXP 1.0
++ if (domImpl.equals("com.sun.xml.tree.XmlDocument")) {
++ Class jaxpDoc = Class.forName("com.sun.xml.tree.XmlDocument");
++
++ // The method is in the XMLDocument class itself, not a helper
++ meth = jaxpDoc.getMethod("write",
++ new Class[] { Class.forName("java.io.OutputStream") } );
++
++ meth.invoke(doc, new Object [] { baos } );
++ }
++ else if (domImpl.equals("org.apache.crimson.tree.XmlDocument")) {
++ Class crimsonDoc = Class.forName("org.apache.crimson.tree.XmlDocument");
++ // The method is in the XMLDocument class itself, not a helper
++ meth = crimsonDoc.getMethod("write",
++ new Class[] { Class.forName("java.io.OutputStream") } );
++
++ meth.invoke(doc, new Object [] { baos } );
++ }
++ else if (domImpl.equals("gnu.xml.dom.DomDocument")) {
++ Class gnuSer = Class.forName("gnu.xml.dom.ls.DomLSSerializer");
++
++ // Get the serialize method
++ meth = gnuSer.getMethod("serialize",
++ new Class [] { Class.forName("org.w3c.dom.Node"),
++ Class.forName("java.io.OutputStream") } );
++
++ // Get an instance
++ Object serializer = gnuSer.newInstance();
++
++ // Now call serialize to write the document
++ meth.invoke(serializer, new Object [] { doc, baos } );
++ }
++ else if (domImpl.equals("org.apache.xerces.dom.DocumentImpl")
++ || domImpl.equals("org.apache.xerces.dom.DeferredDocumentImpl")) {
++ // Try for Xerces
++ Class xercesSer =
++ Class.forName("org.apache.xml.serialize.XMLSerializer");
++
++ // Get the OutputStream constructor
++ // May want to use the OutputFormat parameter at some stage too
++ con = xercesSer.getConstructor(new Class []
++ { Class.forName("java.io.OutputStream"),
++ Class.forName("org.apache.xml.serialize.OutputFormat") } );
++
++
++ // Get the serialize method
++ meth = xercesSer.getMethod("serialize",
++ new Class [] { Class.forName("org.w3c.dom.Document") } );
++
++
++ // Get an instance
++ Object serializer = con.newInstance(new Object [] { baos, null } );
++
++
++ // Now call serialize to write the document
++ meth.invoke(serializer, new Object [] { doc } );
++ }
++ else {
++ // We don't have another parser
++ throw new IOException("No appropriate API (JAXP/Xerces) to serialize XML document: " + domImpl);
++ }
+ }
+- else {
+- path = "file:" + inputFil.getAbsolutePath();
++ catch (ClassNotFoundException cnfe) {
++ throw new IOException(cnfe.toString());
++ }
++ catch (Exception e) {
++ // We may get some other errors, but the bottom line is that
++ // the steps being executed no longer work
++ throw new IOException(e.toString());
+ }
+- byte[] embResolved = getSourceDocument(path);
+
+- // now add path to the document
+- // resolve the dom
+- if (embResolved == null) {
+- String sourcePath;
+- try {
+- sourcePath = inputFil.getCanonicalPath();
+- } catch (IOException e3) {
+- sourcePath = inputFil.getAbsolutePath();
+- }
+- System.err.println("ERROR: file not existing: " + sourcePath);
+- System.exit(1);
+- }
++ byte bytes[] = baos.toByteArray();
+
+- ByteArrayInputStream inByte = new ByteArrayInputStream(embResolved);
+- InputStreamReader inread;
+- try {
+- inread = new InputStreamReader(inByte, "UTF8");
+- } catch (UnsupportedEncodingException e) {
+- System.err.println(
+- "ERROR: unsupported Encoding '"
+- + inputFile
+- + "': "
+- + e.getMessage());
+- return false;
+- }
++ return bytes;
++ }
+
+- InputSource inputSource = new InputSource(inread);
+- inputSource.setEncoding("UTF8");
+- Document docResolvedOrg = null;
+- try {
+- docResolvedOrg = XmlDocument.createXmlDocument(inputSource, false);
+- } catch (Exception e) {
+- System.err.println(
+- "ERROR: XmlDocument.createXmlDocument() failed for '"
+- + inputFile
+- + "': "
+- + e.getMessage());
+- return false;
+- }
++ public class myparser {
++ HashSet hidlist = null;
++ HashSet extendedHelpText = null;
++ Hashtable keywords = null;
++ Hashtable helptexts = null;
++ String documentId = null;
++ String fileName = null;
++ String title = null;
++
++ public myparser(String indocumentId, String infileName, String intitle) {
++ hidlist = new HashSet();
++ extendedHelpText = new HashSet();
++ keywords = new Hashtable();
++ helptexts = new Hashtable();
++ documentId = indocumentId;
++ fileName = infileName;
++ title = intitle;
++ }
+
+- // now find all applications for which one has to compile
+- String documentId = null;
+- String fileName = null;
+- String title = null;
+- // returns all applications for which one has to compile
+- Object[] applications = switchFind(docResolvedOrg);
+-
+- for (int i = 0; i < applications.length; ++i) {
+- String appl = (String) applications[i];
+- // returns a clone of the document with swich-cases resolved
+- Element docResolved =
+- (Element) clone(docResolvedOrg.getDocumentElement(), appl);
+- // now determine the id of the document, which is part of the
+- // bookmark - tag (HID)
+- Node test;
+- TreeWalker treewalker = new TreeWalker(docResolved);
+- // a number to determine the anchor of the whole stuff
+- HashSet hidlist = new HashSet();
+- HashSet extendedHelpText = new HashSet();
+- Hashtable keywords = new Hashtable();
+- Hashtable helptexts = new Hashtable();
+-
+- while ((test = treewalker.getNext()) != null) {
+- if (fileName == null
+- && test.getNodeName().equals("filename")) {
++ public void traverse( Node parentNode ) {
++ // traverse all nodes that belong to the parent
++ for(Node test=parentNode.getFirstChild(); test!=null; test=test.getNextSibling()) {
++ if (fileName == null && test.getNodeName().equals("filename")) {
+ NodeList list = test.getChildNodes();
+ Node node = list.item(0);
+ if (node.getNodeType() == Node.TEXT_NODE)
+@@ -332,15 +366,102 @@
+ if (!extendedHelpText.isEmpty())
+ extendedHelpText = new HashSet();
+ }
+- } // now save the info
++ // traverse children
++ traverse(test);
++ }
++ }
++ }
++
++ public boolean compile() throws UnsupportedEncodingException, java.io.IOException {
++ // we now have the jaroutputstream, which will contain the document.
++ // now determine the document as a dom tree in variable docResolved
++ String absolutePath;
++ String sourcePath;
++ File inputFil = new File(inputFile);
++ try {
++ absolutePath = inputFil.getCanonicalPath();
++ } catch (IOException e3) {
++ absolutePath = inputFil.getAbsolutePath();
++ }
++ try {
++ sourcePath = new File(src).getCanonicalPath();
++ } catch (IOException e3) {
++ sourcePath = new File(inputFile).getAbsolutePath();
++ }
++
++ byte[] embResolved = null;
++ try {
++ embResolved = getSourceDocument(inputFil.toURL().toExternalForm());
++ } catch (MalformedURLException e4) {
++ System.err.println(
++ "ERROR: malformed URL '" + inputFile + "': " + e4.getMessage());
++ return false;
++ }
++
++ // now add path to the document
++ // resolve the dom
++ if (embResolved == null) {
++ System.err.println("ERROR: file not existing: " + sourcePath);
++ System.exit(1);
++ }
++
++ ByteArrayInputStream inByte = new ByteArrayInputStream(embResolved);
++ InputStreamReader inread;
++ try {
++ inread = new InputStreamReader(inByte, "UTF8");
++ } catch (UnsupportedEncodingException e) {
++ System.err.println(
++ "ERROR: unsupported Encoding '"
++ + inputFile
++ + "': "
++ + e.getMessage());
++ return false;
++ }
++
++ InputSource inputSource = new InputSource(inread);
++ inputSource.setEncoding("UTF8");
++ Document docResolvedOrg = null;
++ try {
++ //System.err.println("Compiling " + inputFile);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ docResolvedOrg = dBuilder.parse(inputSource);
++ } catch (Exception e) {
++ System.err.println(
++ "ERROR: XmlDocument.createXmlDocument() failed for '"
++ + inputFile
++ + "': "
++ + e.getMessage());
++ return false;
++ }
++
++ // now find all applications for which one has to compile
++ String documentId = null;
++ String fileName = null;
++ String title = null;
++ // returns all applications for which one has to compile
++ Object[] applications = switchFind(docResolvedOrg);
++
++ for (int i = 0; i < applications.length; ++i) {
++ String appl = (String) applications[i];
++ // returns a clone of the document with swich-cases resolved
++ Element docResolved =
++ (Element) clone(docResolvedOrg.getDocumentElement(), appl);
++
++ myparser aparser = new myparser(documentId, fileName, title);
++ aparser.traverse(docResolved);
++ documentId = aparser.documentId;
++ fileName = aparser.fileName;
++ title = aparser.title;
+
+ addEntryToJarFile(
+ appl,
+ "text",
+- docResolved.toString().getBytes("UTF8"));
+- addEntryToJarFile(appl, "hidlist", hidlist);
+- addEntryToJarFile(appl, "helptexts", helptexts);
+- addEntryToJarFile(appl, "keywords", keywords);
++ docToBytes(docResolved.getOwnerDocument()));
++ addEntryToJarFile(appl, "hidlist", aparser.hidlist);
++ addEntryToJarFile(appl, "helptexts", aparser.helptexts);
++ addEntryToJarFile(appl, "keywords", aparser.keywords);
+ } // end iteration over all applications
+
+ try {
+Index: xmlhelp/source/com/sun/star/help/HelpIndexer.java
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/HelpIndexer.java,v
+retrieving revision 1.16
+retrieving revision 1.16.20.1
+diff -u -r1.16 -r1.16.20.1
+--- xmlhelp/source/com/sun/star/help/HelpIndexer.java 25 Oct 2005 11:24:55 -0000 1.16
++++ xmlhelp/source/com/sun/star/help/HelpIndexer.java 17 Jan 2006 11:20:47 -0000 1.16.20.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: HelpIndexer.java,v $
+ *
+- * $Revision: 1.16 $
++ * $Revision: 1.16.20.1 $
+ *
+- * last change: $Author: hr $ $Date: 2005/10/25 11:24:55 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 11:20:47 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -46,7 +46,6 @@
+ import java.util.*;
+
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.*;
+ import org.xml.sax.*;
+ import javax.xml.parsers.*;
+ import com.jclark.xsl.sax.*;
+@@ -246,7 +245,10 @@
+ in.setEncoding("UTF8");
+ Document docResolved = null;
+ try {
+- docResolved = XmlDocument.createXmlDocument(in, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ docResolved = dBuilder.parse(in);
+ } catch (Exception e) {
+ if (docResolved == null)
+ System.err.println("Nullpointer");
+Index: xmlhelp/source/com/sun/star/help/makefile.mk
+===================================================================
+RCS file: /cvs/util/xmlhelp/source/com/sun/star/help/makefile.mk,v
+retrieving revision 1.21
+retrieving revision 1.21.2.1
+diff -u -r1.21 -r1.21.2.1
+--- xmlhelp/source/com/sun/star/help/makefile.mk 16 Jan 2006 12:42:15 -0000 1.21
++++ xmlhelp/source/com/sun/star/help/makefile.mk 19 Jan 2006 14:48:36 -0000 1.21.2.1
+@@ -4,9 +4,9 @@
+ #
+ # $RCSfile: makefile.mk,v $
+ #
+-# $Revision: 1.21 $
++# $Revision: 1.21.2.1 $
+ #
+-# last change: $Author: obo $ $Date: 2006/01/16 12:42:15 $
++# last change: $Author: cmc $ $Date: 2006/01/19 14:48:36 $
+ #
+ # The Contents of this file are made available subject to
+ # the terms of GNU Lesser General Public License Version 2.1.
+@@ -42,7 +42,7 @@
+
+ .INCLUDE : settings.mk
+
+-JARFILES = jaxp.jar parser.jar xt.jar unoil.jar ridl.jar jurt.jar jut.jar xmlsearch.jar
++JARFILES = xml-apis.jar xercesImpl.jar xt.jar unoil.jar ridl.jar jurt.jar jut.jar xmlsearch.jar
+ EXTRAJARFILES =
+
+ .IF "$(SYSTEM_DB)" == "YES"
+Index: XmlSearch/src/com/sun/xmlsearch/makefile.mk
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/makefile.mk,v
+retrieving revision 1.5
+retrieving revision 1.5.6.1
+diff -u -r1.5 -r1.5.6.1
+--- XmlSearch/src/com/sun/xmlsearch/makefile.mk 25 Oct 2005 11:11:58 -0000 1.5
++++ XmlSearch/src/com/sun/xmlsearch/makefile.mk 17 Jan 2006 10:54:03 -0000 1.5.6.1
+@@ -3,9 +3,9 @@
+ #* $Workfile:$
+ #*
+ #* Creation date KR 28.06.99
+-#* last change $Author: hr $ $Date: 2005/10/25 11:11:58 $
++#* last change $Author: cmc $ $Date: 2006/01/17 10:54:03 $
+ #*
+-#* $Revision: 1.5 $
++#* $Revision: 1.5.6.1 $
+ #*
+ #* $Logfile:$
+ #*
+@@ -21,8 +21,7 @@
+
+ .INCLUDE : settings.mk
+
+-JARFILES = jaxp.jar parser.jar xt.jar
+-#EXTRAJARFILES = jaxp.jar parser.jar xt.jar
++JARFILES = xpi-apis.jar xercesImpl.jar xt.jar
+
+ JAVAFILES = $(subst,$(CLASSDIR)$/$(PACKAGE)$/, $(subst,.class,.java $(JAVACLASSFILES)))
+
+Index: XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java 9 Sep 2005 16:41:49 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/tree/TreeBuilder.java 17 Jan 2006 10:54:04 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: TreeBuilder.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:41:49 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:04 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -46,7 +46,8 @@
+ import org.xml.sax.HandlerBase;
+ import org.xml.sax.AttributeList;
+ import org.xml.sax.InputSource;
+-import com.sun.xml.parser.Parser;
++import javax.xml.parsers.SAXParserFactory;
++import javax.xml.parsers.SAXParser;
+ import com.sun.xmlsearch.util.IntegerArray;
+ import com.jclark.xsl.om.*;
+
+@@ -610,22 +611,29 @@
+ }
+ } // end of SubstitutedElement
+
++ private SAXParser getParser() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
++ {
++ SAXParserFactory spf = SAXParserFactory.newInstance();
++ spf.setValidating(false);
++ return spf.newSAXParser();
++ }
++
+ private static final int InitStackSize = 256;
+ private static final Name EmptyName = null;
+- private Parser _parser = new Parser();
++ private SAXParser _parser = null;
+ private Hashtable _names = new Hashtable(256);
+
+ private NameTable _nameTable;
+ private NamespacePrefixMap _nsMap;
+
+- public TreeBuilder() {
++ public TreeBuilder() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException {
+ this(new NameTableImpl());
+ }
+
+- public TreeBuilder(NameTable nameTable) {
++ public TreeBuilder(NameTable nameTable) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException {
++ _parser = getParser();
+ _nameTable = nameTable;
+ _nsMap = _nameTable.getEmptyNamespacePrefixMap();
+- _parser.setFastStandalone(true);
+ }
+
+ public Node makeSubstituteElement(Name name, Node2[] children, Node original) {
+@@ -917,9 +925,8 @@
+
+ public synchronized Node getRoot(InputSource input) {
+ try {
+- _parser.setDocumentHandler(this);
+ // long start = System.currentTimeMillis();
+- _parser.parse(input);
++ _parser.parse(input, this);
+ /*
+ System.out.println((System.currentTimeMillis()-start)
+ +" msec parse");
+Index: XmlSearch/src/com/sun/xmlsearch/util/Configuration.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/util/Configuration.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/util/Configuration.java 9 Sep 2005 16:45:09 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/util/Configuration.java 17 Jan 2006 10:54:05 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: Configuration.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:45:09 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:05 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -40,8 +40,8 @@
+ import java.util.Vector;
+ import java.net.URL;
+ import org.w3c.dom.*;
+-import com.sun.xml.tree.XmlDocument;
+-import com.sun.xml.parser.Resolver;
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
+ import org.xml.sax.InputSource;
+
+ public final class Configuration {
+@@ -68,14 +68,19 @@
+ }
+
+ public static Element parse(URL location) throws Exception {
+- InputSource input = Resolver.createInputSource(location, true);
+- XmlDocument document = XmlDocument.createXmlDocument(input, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document document = dBuilder.parse(location.openStream());
+ return document.getDocumentElement();
+ }
+
+ public static Element parse(byte[] xmlBytes) throws Exception {
+ ByteArrayInputStream input = new ByteArrayInputStream(xmlBytes);
+- XmlDocument document = XmlDocument.createXmlDocument(input, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document document = dBuilder.parse(input);
+ return document.getDocumentElement();
+ }
+
+Index: XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java,v
+retrieving revision 1.7
+retrieving revision 1.7.12.1
+diff -u -r1.7 -r1.7.12.1
+--- XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java 9 Sep 2005 16:52:56 -0000 1.7
++++ XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexBuilder.java 17 Jan 2006 10:54:06 -0000 1.7.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XmlIndexBuilder.java,v $
+ *
+- * $Revision: 1.7 $
++ * $Revision: 1.7.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:52:56 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:06 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -42,15 +42,17 @@
+ import java.net.URL;
+ import org.xml.sax.InputSource;
+ import org.xml.sax.HandlerBase;
+-import com.sun.xml.parser.Resolver;
+-import com.sun.xml.tree.XmlDocument;
+ import com.sun.xmlsearch.tree.*;
+ import com.sun.xmlsearch.util.*;
+ import com.sun.xmlsearch.db.*;
+ import com.sun.xmlsearch.xml.XmlIndex;
+
+-import com.sun.xml.parser.Parser;
+-import com.sun.xml.parser.ValidatingParser;
++import javax.xml.parsers.DocumentBuilder;
++import javax.xml.parsers.DocumentBuilderFactory;
++import javax.xml.parsers.SAXParserFactory;
++import javax.xml.parsers.SAXParser;
++import org.xml.sax.Parser;
++import org.w3c.dom.Document;
+
+ import com.jclark.xsl.om.*;
+ import com.jclark.xsl.sax.*;
+@@ -465,8 +467,10 @@
+ public void indexDocument(URL docURL, String title) throws Exception {
+ InputSource source = new InputSource(docURL.openStream());
+ source.setSystemId(docURL.toString());
+- Parser sourceParser = new Parser();
+- sourceParser.setFastStandalone(true);
++ SAXParserFactory spf = SAXParserFactory.newInstance();
++ spf.setValidating(false);
++ SAXParser saxParser = spf.newSAXParser();
++ Parser sourceParser = saxParser.getParser();
+ XMLProcessorEx sourceLoader = new XMLProcessorImpl(sourceParser);
+ // long start = System.currentTimeMillis();
+ Node root =
+@@ -545,8 +549,10 @@
+ }
+ // System.out.println(stylesheetUrl.toString());
+ InputStream stylesheetStream = stylesheetUrl.openStream();
+- XmlDocument sheet =
+- XmlDocument.createXmlDocument(stylesheetStream, false);
++ DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance();
++ dFactory.setValidating(false);
++ DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
++ Document sheet = dBuilder.parse(stylesheetStream);
+ return _transformEngine.createTransform(sheet);
+ }
+
+Index: XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java
+===================================================================
+RCS file: /cvs/util/XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java,v
+retrieving revision 1.2
+retrieving revision 1.2.12.1
+diff -u -r1.2 -r1.2.12.1
+--- XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java 9 Sep 2005 16:53:09 -0000 1.2
++++ XmlSearch/src/com/sun/xmlsearch/xml/indexer/XmlIndexer.java 17 Jan 2006 10:54:07 -0000 1.2.12.1
+@@ -4,9 +4,9 @@
+ *
+ * $RCSfile: XmlIndexer.java,v $
+ *
+- * $Revision: 1.2 $
++ * $Revision: 1.2.12.1 $
+ *
+- * last change: $Author: rt $ $Date: 2005/09/09 16:53:09 $
++ * last change: $Author: cmc $ $Date: 2006/01/17 10:54:07 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+@@ -39,8 +39,6 @@
+ import java.io.*;
+ import java.util.*;
+
+-import com.sun.xml.tree.XmlDocument;
+-import com.sun.xml.parser.Resolver;
+ import org.w3c.dom.*;
+ import org.xml.sax.InputSource;
+ import org.xml.sax.SAXException;
diff --git a/editors/openoffice.org-vcltesttool/files/gcj-patches b/editors/openoffice.org-vcltesttool/files/gcj-patches
new file mode 100644
index 000000000000..aeb80007018b
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/gcj-patches
@@ -0,0 +1,137 @@
+Index: wizards/com/sun/star/wizards/ui/FilterComponent.java
+===================================================================
+RCS file: /cvs/installation/wizards/com/sun/star/wizards/ui/FilterComponent.java,v
+retrieving revision 1.8
+diff -u -r1.8 FilterComponent.java
+--- wizards/com/sun/star/wizards/ui/FilterComponent.java 28 Dec 2005 17:25:36 -0000 1.8
++++ wizards/com/sun/star/wizards/ui/FilterComponent.java 27 Jan 2006 22:55:38 -0000
+@@ -261,10 +261,7 @@
+ case DataType.BOOLEAN:
+ double dblvalue = ((Double) curValue).doubleValue();
+ curValue = new Boolean(dblvalue == 1.0);
+- /**TODO: 1) Datei SingleSelectQueryComposer modifizieren:
+- / Zeilen 1525ff in Methode auslagern und Aufruf in Zeile 1356 ändern TypeConverter is parameter
+- * 2) setDisplayCondition ändern
+- */
++ /* */
+ break;
+ default:
+ curValue = String.valueOf(curValue);
+
+Index: solenv/inc/settings.mk
+===================================================================
+RCS file: /cvs/tools/solenv/inc/settings.mk,v
+retrieving revision 1.185
+diff -u -r1.185 settings.mk
+--- solenv/inc/settings.mk 20 Jan 2006 12:09:20 -0000 1.185
++++ solenv/inc/settings.mk 27 Jan 2006 23:11:31 -0000
+@@ -187,7 +187,8 @@
+
+ #required arguments
+ .IF "$(JAVACACHE)" != ""
+-JAVAC=$(JAVACOMPILER) --encoding=ISO-8859-15 -O2 -fno-assert -Wno-deprecated -C
++#JAVAC=$(JAVACOMPILER) --encoding=ISO-8859-15 -O2 -fno-assert -Wno-deprecated -C
++JAVAC=$(JAVACOMPILER) --encoding=UTF-8 -O2 -fno-assert -Wno-deprecated -C
+ JAVAI=$(JAVAINTERPRETER) -Dgnu.gcj.precompiled.db.path=$(GCJ_DATABASE)
+ .ELSE
+ JAVAC=$(JAVACOMPILER)
+
+Index: source/ui/slidesorter/cache/SlsQueueProcessor.hxx
+===================================================================
+RCS file: /cvs/graphics/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx,v
+retrieving revision 1.10
+diff -u -p -u -r1.10 SlsQueueProcessor.hxx
+--- sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx 19 Jan 2006 12:52:20 -0000 1.10
++++ sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx 26 Jan 2006 08:29:38 -0000
+@@ -164,7 +164,7 @@ template <class Queue, class RequestData
+ while ( ! mrQueue.IsEmpty())
+ {
+ // Determine whether the system is idle.
+- sal_Int32 nIdleState (tools::IdleDetection::GetIdleState(mrView.GetWindow()));
++ sal_Int32 nIdleState (tools::IdleDetection::GetIdleState(static_cast< ::Window* >(mrView.GetWindow())));
+ if (nIdleState != tools::IdleDetection::IDET_IDLE)
+ {
+ if ((nIdleState&tools::IdleDetection::IDET_FULL_SCREEN_SHOW_ACTIVE) != 0)
+
+Index: config_office/configure.in
+===================================================================
+RCS file: /cvs/tools/config_office/configure.in,v
+retrieving revision 1.150
+diff -u -r1.150 configure.in
+--- config_office/configure.in 20 Jan 2006 13:28:25 -0000 1.150
++++ config_office/configure.in 2 Feb 2006 05:13:30 -0000
+@@ -1975,6 +1975,7 @@
+ dnl Checks for javadoc
+ dnl ===================================================================
+ if test "$SOLAR_JAVA" != ""; then
++ if test "$JDK" != "gcj"; then
+ if test -z "$with_jdk_home"; then
+ AC_PATH_PROG(JAVADOC, javadoc)
+ else
+@@ -1996,6 +1997,9 @@
+ JAVADOC=`cygpath -d "$JAVADOC"`
+ JAVADOC=`cygpath -u "$JAVADOC"`
+ fi
++ else
++ AC_PATH_PROG(JAVADOC, gjdoc)
++ fi
+ fi
+
+ if test "$SOLAR_JAVA" != ""; then
+@@ -2032,8 +2036,14 @@
+ if test "$JDK" = "gcj"; then
+ save_CFLAGS=$CFLAGS
+ save_LDFLAGS=$LDFLAGS
+- CFLAGS="$CFLAGS -I$JAVA_HOME/include"
+- LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj"
++ CFLAGS="$CFLAGS -I$JAVA_HOME/include -pthread"
++ LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj -pthread"
++ JAR="$JAVA_HOME/bin/fastjar"
++ JAVACMD="$JAVA_HOME/bin/gij"
++ JAVA="$JAVA_HOME/bin/gij"
++ AC_SUBST(JAVA)
++ AC_SUBST(JAVACMD)
++ AC_SUBST(JAR)
+ AC_CHECK_HEADER(jni.h, [],
+ [AC_MSG_ERROR([jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?])], [])
+
+@@ -4214,7 +4224,7 @@
+ EOF
+ oldJAVA_HOME=$JAVA_HOME
+ if test "$JDK" = "gcj"; then
+- JAVA_HOME=; export JAVA_HOME
++ JAVACMD="$JAVA_HOME/bin/gij"; export JAVACMD
+ ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2"
+ else
+ ant_cmd="$ANT -buildfile conftest.xml 1>&2"
+Index: config_office/set_soenv.in
+===================================================================
+RCS file: /cvs/tools/config_office/set_soenv.in,v
+retrieving revision 1.86
+diff -u -r1.86 set_soenv.in
+--- config_office/set_soenv.in 13 Jan 2006 16:37:16 -0000 1.86
++++ config_office/set_soenv.in 2 Feb 2006 05:13:31 -0000
+@@ -68,7 +68,7 @@
+ #
+ # Help variables.
+ my ( $USR, $ETC, $BIN, $LIB, $LIB64, $INC, $INCLUDE, $DEV, $OPT, $LOCAL, $SOLENV, $SOLVER, $CONFIG,
+- $USR_BIN, $USR_LIB, $USR_LOCAL, $USR_CCS, $JAVA_BIN, $JAVA_LIB, $JAVA_INCLUDE,
++ $USR_BIN, $USR_LIB, $USR_LOCAL, $USR_CCS, $JAVA_BIN, $JAVA_LIB, $JAVA_INCLUDE, $JAVACMD, $JAVA, $JAR,
+ $SOLARENVINC, $USR_DT, $USR_OPENWIN, $TCSH_PATH, $XLIB, $XINC,
+ $CYGWIN_PATH, $language, $dict, $ASM_PATH, $ps_STLPORT_LIB, $L_STLPORT_LIB,
+ $STLPORT_stlport, $STLPORT_inc_stlport, $PERL_PATH );
+@@ -1679,6 +1679,9 @@
+ ToFile( "JAVAINTERPRETER", "@JAVAINTERPRETER@","e" );
+ ToFile( "JAVACOMPILER", "@JAVACOMPILER@", "e" );
+ ToFile( "JAVADOC", "@JAVADOC@", "e" );
++ ToFile( "JAVA", "@JAVA@", "e" );
++ ToFile( "JAVACMD", "@JAVACMD@", "e" );
++ ToFile( "JAR", "@JAR@", "e" );
+ }
+ if ( $platform =~ m/darwin/ )
+ { ToFile( "DYLD_LIBRARY_PATH", $LD_LIBRARY_PATH, "e" );
+
+Javadoc@xmerge http://qa.openoffice.org/issues/show_bug.cgi?id=57286
+JAVA@berkeleydb http://qa.openoffice.org/issues/show_bug.cgi?id=54657
+JAVACMD@ant
+JAR@berkeleydb
diff --git a/editors/openoffice.org-vcltesttool/files/patch-Python-2.3.4.patch b/editors/openoffice.org-vcltesttool/files/patch-Python-2.3.4.patch
deleted file mode 100644
index 41b3577a44c6..000000000000
--- a/editors/openoffice.org-vcltesttool/files/patch-Python-2.3.4.patch
+++ /dev/null
@@ -1,752 +0,0 @@
-Issuetracker : #i53287#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : Support for FreeBSD 6 and 7
-
-Index: python/Python-2.3.4.patch
-===================================================================
-RCS file: /cvs/external/python/Python-2.3.4.patch,v
-retrieving revision 1.6
-diff -u -r1.6 Python-2.3.4.patch
---- python/Python-2.3.4.patch 3 Mar 2005 17:33:54 -0000 1.6
-+++ python/Python-2.3.4.patch 8 Aug 2005 21:50:08 -0000
-@@ -13776,3 +13776,739 @@
- atheos*) DYNLOADFILE="dynload_atheos.o";;
- *)
- # use dynload_shlib.c and dlopen() if we have it; otherwise stub
-+*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:26:23 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Aug 9 06:20:25 2005
-+***************
-+*** 0 ****
-+--- 1,355 ----
-++ # Generated by h2py from /usr/include/netinet/in.h
-++ IPPROTO_IP = 0
-++ IPPROTO_HOPOPTS = 0
-++ IPPROTO_ICMP = 1
-++ IPPROTO_IGMP = 2
-++ IPPROTO_GGP = 3
-++ IPPROTO_IPV4 = 4
-++ IPPROTO_IPIP = IPPROTO_IPV4
-++ IPPROTO_TCP = 6
-++ IPPROTO_ST = 7
-++ IPPROTO_EGP = 8
-++ IPPROTO_PIGP = 9
-++ IPPROTO_RCCMON = 10
-++ IPPROTO_NVPII = 11
-++ IPPROTO_PUP = 12
-++ IPPROTO_ARGUS = 13
-++ IPPROTO_EMCON = 14
-++ IPPROTO_XNET = 15
-++ IPPROTO_CHAOS = 16
-++ IPPROTO_UDP = 17
-++ IPPROTO_MUX = 18
-++ IPPROTO_MEAS = 19
-++ IPPROTO_HMP = 20
-++ IPPROTO_PRM = 21
-++ IPPROTO_IDP = 22
-++ IPPROTO_TRUNK1 = 23
-++ IPPROTO_TRUNK2 = 24
-++ IPPROTO_LEAF1 = 25
-++ IPPROTO_LEAF2 = 26
-++ IPPROTO_RDP = 27
-++ IPPROTO_IRTP = 28
-++ IPPROTO_TP = 29
-++ IPPROTO_BLT = 30
-++ IPPROTO_NSP = 31
-++ IPPROTO_INP = 32
-++ IPPROTO_SEP = 33
-++ IPPROTO_3PC = 34
-++ IPPROTO_IDPR = 35
-++ IPPROTO_XTP = 36
-++ IPPROTO_DDP = 37
-++ IPPROTO_CMTP = 38
-++ IPPROTO_TPXX = 39
-++ IPPROTO_IL = 40
-++ IPPROTO_IPV6 = 41
-++ IPPROTO_SDRP = 42
-++ IPPROTO_ROUTING = 43
-++ IPPROTO_FRAGMENT = 44
-++ IPPROTO_IDRP = 45
-++ IPPROTO_RSVP = 46
-++ IPPROTO_GRE = 47
-++ IPPROTO_MHRP = 48
-++ IPPROTO_BHA = 49
-++ IPPROTO_ESP = 50
-++ IPPROTO_AH = 51
-++ IPPROTO_INLSP = 52
-++ IPPROTO_SWIPE = 53
-++ IPPROTO_NHRP = 54
-++ IPPROTO_ICMPV6 = 58
-++ IPPROTO_NONE = 59
-++ IPPROTO_DSTOPTS = 60
-++ IPPROTO_AHIP = 61
-++ IPPROTO_CFTP = 62
-++ IPPROTO_HELLO = 63
-++ IPPROTO_SATEXPAK = 64
-++ IPPROTO_KRYPTOLAN = 65
-++ IPPROTO_RVD = 66
-++ IPPROTO_IPPC = 67
-++ IPPROTO_ADFS = 68
-++ IPPROTO_SATMON = 69
-++ IPPROTO_VISA = 70
-++ IPPROTO_IPCV = 71
-++ IPPROTO_CPNX = 72
-++ IPPROTO_CPHB = 73
-++ IPPROTO_WSN = 74
-++ IPPROTO_PVP = 75
-++ IPPROTO_BRSATMON = 76
-++ IPPROTO_ND = 77
-++ IPPROTO_WBMON = 78
-++ IPPROTO_WBEXPAK = 79
-++ IPPROTO_EON = 80
-++ IPPROTO_VMTP = 81
-++ IPPROTO_SVMTP = 82
-++ IPPROTO_VINES = 83
-++ IPPROTO_TTP = 84
-++ IPPROTO_IGP = 85
-++ IPPROTO_DGP = 86
-++ IPPROTO_TCF = 87
-++ IPPROTO_IGRP = 88
-++ IPPROTO_OSPFIGP = 89
-++ IPPROTO_SRPC = 90
-++ IPPROTO_LARP = 91
-++ IPPROTO_MTP = 92
-++ IPPROTO_AX25 = 93
-++ IPPROTO_IPEIP = 94
-++ IPPROTO_MICP = 95
-++ IPPROTO_SCCSP = 96
-++ IPPROTO_ETHERIP = 97
-++ IPPROTO_ENCAP = 98
-++ IPPROTO_APES = 99
-++ IPPROTO_GMTP = 100
-++ IPPROTO_IPCOMP = 108
-++ IPPROTO_PIM = 103
-++ IPPROTO_PGM = 113
-++ IPPROTO_DIVERT = 254
-++ IPPROTO_RAW = 255
-++ IPPROTO_MAX = 256
-++ IPPROTO_DONE = 257
-++ IPPORT_RESERVED = 1024
-++ IPPORT_USERRESERVED = 5000
-++ IPPORT_HIFIRSTAUTO = 49152
-++ IPPORT_HILASTAUTO = 65535
-++ IPPORT_RESERVEDSTART = 600
-++ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0)
-++
-++ IN_CLASSA_NET = 0xff000000
-++ IN_CLASSA_NSHIFT = 24
-++ IN_CLASSA_HOST = 0x00ffffff
-++ IN_CLASSA_MAX = 128
-++ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000)
-++
-++ IN_CLASSB_NET = 0xffff0000
-++ IN_CLASSB_NSHIFT = 16
-++ IN_CLASSB_HOST = 0x0000ffff
-++ IN_CLASSB_MAX = 65536
-++ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000)
-++
-++ IN_CLASSC_NET = 0xffffff00
-++ IN_CLASSC_NSHIFT = 8
-++ IN_CLASSC_HOST = 0x000000ff
-++ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
-++
-++ IN_CLASSD_NET = 0xf0000000
-++ IN_CLASSD_NSHIFT = 28
-++ IN_CLASSD_HOST = 0x0fffffff
-++ def IN_MULTICAST(i): return IN_CLASSD(i)
-++
-++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ INADDR_NONE = 0xffffffff
-++ IN_LOOPBACKNET = 127
-++ INET_ADDRSTRLEN = 16
-++ IP_OPTIONS = 1
-++ IP_HDRINCL = 2
-++ IP_TOS = 3
-++ IP_TTL = 4
-++ IP_RECVOPTS = 5
-++ IP_RECVRETOPTS = 6
-++ IP_RECVDSTADDR = 7
-++ IP_RETOPTS = 8
-++ IP_MULTICAST_IF = 9
-++ IP_MULTICAST_TTL = 10
-++ IP_MULTICAST_LOOP = 11
-++ IP_ADD_MEMBERSHIP = 12
-++ IP_DROP_MEMBERSHIP = 13
-++ IP_MULTICAST_VIF = 14
-++ IP_RSVP_ON = 15
-++ IP_RSVP_OFF = 16
-++ IP_RSVP_VIF_ON = 17
-++ IP_RSVP_VIF_OFF = 18
-++ IP_PORTRANGE = 19
-++ IP_RECVIF = 20
-++ IP_IPSEC_POLICY = 21
-++ IP_FAITH = 22
-++ IP_FW_ADD = 50
-++ IP_FW_DEL = 51
-++ IP_FW_FLUSH = 52
-++ IP_FW_ZERO = 53
-++ IP_FW_GET = 54
-++ IP_FW_RESETLOG = 55
-++ IP_DUMMYNET_CONFIGURE = 60
-++ IP_DUMMYNET_DEL = 61
-++ IP_DUMMYNET_FLUSH = 62
-++ IP_DUMMYNET_GET = 64
-++ IP_DEFAULT_MULTICAST_TTL = 1
-++ IP_DEFAULT_MULTICAST_LOOP = 1
-++ IP_MAX_MEMBERSHIPS = 20
-++ IP_PORTRANGE_DEFAULT = 0
-++ IP_PORTRANGE_HIGH = 1
-++ IP_PORTRANGE_LOW = 2
-++ IPPROTO_MAXID = (IPPROTO_AH + 1)
-++ IPCTL_FORWARDING = 1
-++ IPCTL_SENDREDIRECTS = 2
-++ IPCTL_DEFTTL = 3
-++ IPCTL_DEFMTU = 4
-++ IPCTL_RTEXPIRE = 5
-++ IPCTL_RTMINEXPIRE = 6
-++ IPCTL_RTMAXCACHE = 7
-++ IPCTL_SOURCEROUTE = 8
-++ IPCTL_DIRECTEDBROADCAST = 9
-++ IPCTL_INTRQMAXLEN = 10
-++ IPCTL_INTRQDROPS = 11
-++ IPCTL_STATS = 12
-++ IPCTL_ACCEPTSOURCEROUTE = 13
-++ IPCTL_FASTFORWARDING = 14
-++ IPCTL_KEEPFAITH = 15
-++ IPCTL_GIF_TTL = 16
-++ IPCTL_MAXID = 17
-++
-++ # Included from netinet6/in6.h
-++
-++ # Included from sys/queue.h
-++ def SLIST_HEAD_INITIALIZER(head): return \
-++
-++ def SLIST_ENTRY(type): return \
-++
-++ def STAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def STAILQ_ENTRY(type): return \
-++
-++ def LIST_HEAD_INITIALIZER(head): return \
-++
-++ def LIST_ENTRY(type): return \
-++
-++ def TAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def TAILQ_ENTRY(type): return \
-++
-++ def CIRCLEQ_ENTRY(type): return \
-++
-++ __KAME_VERSION = "20000701/FreeBSD-current"
-++ IPV6PORT_RESERVED = 1024
-++ IPV6PORT_ANONMIN = 49152
-++ IPV6PORT_ANONMAX = 65535
-++ IPV6PORT_RESERVEDMIN = 600
-++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
-++ INET6_ADDRSTRLEN = 46
-++ IPV6_ADDR_INT32_ONE = 1
-++ IPV6_ADDR_INT32_TWO = 2
-++ IPV6_ADDR_INT32_MNL = 0xff010000
-++ IPV6_ADDR_INT32_MLL = 0xff020000
-++ IPV6_ADDR_INT32_SMP = 0x0000ffff
-++ IPV6_ADDR_INT16_ULL = 0xfe80
-++ IPV6_ADDR_INT16_USL = 0xfec0
-++ IPV6_ADDR_INT16_MLL = 0xff02
-++ IPV6_ADDR_INT32_ONE = 0x01000000
-++ IPV6_ADDR_INT32_TWO = 0x02000000
-++ IPV6_ADDR_INT32_MNL = 0x000001ff
-++ IPV6_ADDR_INT32_MLL = 0x000002ff
-++ IPV6_ADDR_INT32_SMP = 0xffff0000
-++ IPV6_ADDR_INT16_ULL = 0x80fe
-++ IPV6_ADDR_INT16_USL = 0xc0fe
-++ IPV6_ADDR_INT16_MLL = 0x02ff
-++ def IN6_IS_ADDR_UNSPECIFIED(a): return \
-++
-++ def IN6_IS_ADDR_LOOPBACK(a): return \
-++
-++ def IN6_IS_ADDR_V4COMPAT(a): return \
-++
-++ def IN6_IS_ADDR_V4MAPPED(a): return \
-++
-++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ def IN6_IS_ADDR_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_SCOPE_LINKLOCAL(a): return \
-++
-++ IPV6_OPTIONS = 1
-++ IPV6_RECVOPTS = 5
-++ IPV6_RECVRETOPTS = 6
-++ IPV6_RECVDSTADDR = 7
-++ IPV6_RETOPTS = 8
-++ IPV6_SOCKOPT_RESERVED1 = 3
-++ IPV6_UNICAST_HOPS = 4
-++ IPV6_MULTICAST_IF = 9
-++ IPV6_MULTICAST_HOPS = 10
-++ IPV6_MULTICAST_LOOP = 11
-++ IPV6_JOIN_GROUP = 12
-++ IPV6_LEAVE_GROUP = 13
-++ IPV6_PORTRANGE = 14
-++ ICMP6_FILTER = 18
-++ IPV6_PKTINFO = 19
-++ IPV6_HOPLIMIT = 20
-++ IPV6_NEXTHOP = 21
-++ IPV6_HOPOPTS = 22
-++ IPV6_DSTOPTS = 23
-++ IPV6_RTHDR = 24
-++ IPV6_PKTOPTIONS = 25
-++ IPV6_CHECKSUM = 26
-++ IPV6_BINDV6ONLY = 27
-++ IPV6_IPSEC_POLICY = 28
-++ IPV6_FAITH = 29
-++ IPV6_FW_ADD = 30
-++ IPV6_FW_DEL = 31
-++ IPV6_FW_FLUSH = 32
-++ IPV6_FW_ZERO = 33
-++ IPV6_FW_GET = 34
-++ IPV6_RTHDR_LOOSE = 0
-++ IPV6_RTHDR_STRICT = 1
-++ IPV6_RTHDR_TYPE_0 = 0
-++ IPV6_DEFAULT_MULTICAST_HOPS = 1
-++ IPV6_DEFAULT_MULTICAST_LOOP = 1
-++ IPV6_PORTRANGE_DEFAULT = 0
-++ IPV6_PORTRANGE_HIGH = 1
-++ IPV6_PORTRANGE_LOW = 2
-++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1)
-++ IPV6CTL_FORWARDING = 1
-++ IPV6CTL_SENDREDIRECTS = 2
-++ IPV6CTL_DEFHLIM = 3
-++ IPV6CTL_DEFMTU = 4
-++ IPV6CTL_FORWSRCRT = 5
-++ IPV6CTL_STATS = 6
-++ IPV6CTL_MRTSTATS = 7
-++ IPV6CTL_MRTPROTO = 8
-++ IPV6CTL_MAXFRAGPACKETS = 9
-++ IPV6CTL_SOURCECHECK = 10
-++ IPV6CTL_SOURCECHECK_LOGINT = 11
-++ IPV6CTL_ACCEPT_RTADV = 12
-++ IPV6CTL_KEEPFAITH = 13
-++ IPV6CTL_LOG_INTERVAL = 14
-++ IPV6CTL_HDRNESTLIMIT = 15
-++ IPV6CTL_DAD_COUNT = 16
-++ IPV6CTL_AUTO_FLOWLABEL = 17
-++ IPV6CTL_DEFMCASTHLIM = 18
-++ IPV6CTL_GIF_HLIM = 19
-++ IPV6CTL_KAME_VERSION = 20
-++ IPV6CTL_USE_DEPRECATED = 21
-++ IPV6CTL_RR_PRUNE = 22
-++ IPV6CTL_MAPPED_ADDR = 23
-++ IPV6CTL_BINDV6ONLY = 24
-++ IPV6CTL_RTEXPIRE = 25
-++ IPV6CTL_RTMINEXPIRE = 26
-++ IPV6CTL_RTMAXCACHE = 27
-++ IPV6CTL_MAXID = 28
-+*** misc/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:26:27 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd6/regen Tue Aug 9 06:19:02 2005
-+***************
-+*** 0 ****
-+--- 1,3 ----
-++ #! /bin/sh
-++ set -v
-++ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
-+*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:26:23 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Aug 9 06:20:25 2005
-+***************
-+*** 0 ****
-+--- 1,355 ----
-++ # Generated by h2py from /usr/include/netinet/in.h
-++ IPPROTO_IP = 0
-++ IPPROTO_HOPOPTS = 0
-++ IPPROTO_ICMP = 1
-++ IPPROTO_IGMP = 2
-++ IPPROTO_GGP = 3
-++ IPPROTO_IPV4 = 4
-++ IPPROTO_IPIP = IPPROTO_IPV4
-++ IPPROTO_TCP = 6
-++ IPPROTO_ST = 7
-++ IPPROTO_EGP = 8
-++ IPPROTO_PIGP = 9
-++ IPPROTO_RCCMON = 10
-++ IPPROTO_NVPII = 11
-++ IPPROTO_PUP = 12
-++ IPPROTO_ARGUS = 13
-++ IPPROTO_EMCON = 14
-++ IPPROTO_XNET = 15
-++ IPPROTO_CHAOS = 16
-++ IPPROTO_UDP = 17
-++ IPPROTO_MUX = 18
-++ IPPROTO_MEAS = 19
-++ IPPROTO_HMP = 20
-++ IPPROTO_PRM = 21
-++ IPPROTO_IDP = 22
-++ IPPROTO_TRUNK1 = 23
-++ IPPROTO_TRUNK2 = 24
-++ IPPROTO_LEAF1 = 25
-++ IPPROTO_LEAF2 = 26
-++ IPPROTO_RDP = 27
-++ IPPROTO_IRTP = 28
-++ IPPROTO_TP = 29
-++ IPPROTO_BLT = 30
-++ IPPROTO_NSP = 31
-++ IPPROTO_INP = 32
-++ IPPROTO_SEP = 33
-++ IPPROTO_3PC = 34
-++ IPPROTO_IDPR = 35
-++ IPPROTO_XTP = 36
-++ IPPROTO_DDP = 37
-++ IPPROTO_CMTP = 38
-++ IPPROTO_TPXX = 39
-++ IPPROTO_IL = 40
-++ IPPROTO_IPV6 = 41
-++ IPPROTO_SDRP = 42
-++ IPPROTO_ROUTING = 43
-++ IPPROTO_FRAGMENT = 44
-++ IPPROTO_IDRP = 45
-++ IPPROTO_RSVP = 46
-++ IPPROTO_GRE = 47
-++ IPPROTO_MHRP = 48
-++ IPPROTO_BHA = 49
-++ IPPROTO_ESP = 50
-++ IPPROTO_AH = 51
-++ IPPROTO_INLSP = 52
-++ IPPROTO_SWIPE = 53
-++ IPPROTO_NHRP = 54
-++ IPPROTO_ICMPV6 = 58
-++ IPPROTO_NONE = 59
-++ IPPROTO_DSTOPTS = 60
-++ IPPROTO_AHIP = 61
-++ IPPROTO_CFTP = 62
-++ IPPROTO_HELLO = 63
-++ IPPROTO_SATEXPAK = 64
-++ IPPROTO_KRYPTOLAN = 65
-++ IPPROTO_RVD = 66
-++ IPPROTO_IPPC = 67
-++ IPPROTO_ADFS = 68
-++ IPPROTO_SATMON = 69
-++ IPPROTO_VISA = 70
-++ IPPROTO_IPCV = 71
-++ IPPROTO_CPNX = 72
-++ IPPROTO_CPHB = 73
-++ IPPROTO_WSN = 74
-++ IPPROTO_PVP = 75
-++ IPPROTO_BRSATMON = 76
-++ IPPROTO_ND = 77
-++ IPPROTO_WBMON = 78
-++ IPPROTO_WBEXPAK = 79
-++ IPPROTO_EON = 80
-++ IPPROTO_VMTP = 81
-++ IPPROTO_SVMTP = 82
-++ IPPROTO_VINES = 83
-++ IPPROTO_TTP = 84
-++ IPPROTO_IGP = 85
-++ IPPROTO_DGP = 86
-++ IPPROTO_TCF = 87
-++ IPPROTO_IGRP = 88
-++ IPPROTO_OSPFIGP = 89
-++ IPPROTO_SRPC = 90
-++ IPPROTO_LARP = 91
-++ IPPROTO_MTP = 92
-++ IPPROTO_AX25 = 93
-++ IPPROTO_IPEIP = 94
-++ IPPROTO_MICP = 95
-++ IPPROTO_SCCSP = 96
-++ IPPROTO_ETHERIP = 97
-++ IPPROTO_ENCAP = 98
-++ IPPROTO_APES = 99
-++ IPPROTO_GMTP = 100
-++ IPPROTO_IPCOMP = 108
-++ IPPROTO_PIM = 103
-++ IPPROTO_PGM = 113
-++ IPPROTO_DIVERT = 254
-++ IPPROTO_RAW = 255
-++ IPPROTO_MAX = 256
-++ IPPROTO_DONE = 257
-++ IPPORT_RESERVED = 1024
-++ IPPORT_USERRESERVED = 5000
-++ IPPORT_HIFIRSTAUTO = 49152
-++ IPPORT_HILASTAUTO = 65535
-++ IPPORT_RESERVEDSTART = 600
-++ def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0)
-++
-++ IN_CLASSA_NET = 0xff000000
-++ IN_CLASSA_NSHIFT = 24
-++ IN_CLASSA_HOST = 0x00ffffff
-++ IN_CLASSA_MAX = 128
-++ def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000)
-++
-++ IN_CLASSB_NET = 0xffff0000
-++ IN_CLASSB_NSHIFT = 16
-++ IN_CLASSB_HOST = 0x0000ffff
-++ IN_CLASSB_MAX = 65536
-++ def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000)
-++
-++ IN_CLASSC_NET = 0xffffff00
-++ IN_CLASSC_NSHIFT = 8
-++ IN_CLASSC_HOST = 0x000000ff
-++ def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
-++
-++ IN_CLASSD_NET = 0xf0000000
-++ IN_CLASSD_NSHIFT = 28
-++ IN_CLASSD_HOST = 0x0fffffff
-++ def IN_MULTICAST(i): return IN_CLASSD(i)
-++
-++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
-++
-++ INADDR_NONE = 0xffffffff
-++ IN_LOOPBACKNET = 127
-++ INET_ADDRSTRLEN = 16
-++ IP_OPTIONS = 1
-++ IP_HDRINCL = 2
-++ IP_TOS = 3
-++ IP_TTL = 4
-++ IP_RECVOPTS = 5
-++ IP_RECVRETOPTS = 6
-++ IP_RECVDSTADDR = 7
-++ IP_RETOPTS = 8
-++ IP_MULTICAST_IF = 9
-++ IP_MULTICAST_TTL = 10
-++ IP_MULTICAST_LOOP = 11
-++ IP_ADD_MEMBERSHIP = 12
-++ IP_DROP_MEMBERSHIP = 13
-++ IP_MULTICAST_VIF = 14
-++ IP_RSVP_ON = 15
-++ IP_RSVP_OFF = 16
-++ IP_RSVP_VIF_ON = 17
-++ IP_RSVP_VIF_OFF = 18
-++ IP_PORTRANGE = 19
-++ IP_RECVIF = 20
-++ IP_IPSEC_POLICY = 21
-++ IP_FAITH = 22
-++ IP_FW_ADD = 50
-++ IP_FW_DEL = 51
-++ IP_FW_FLUSH = 52
-++ IP_FW_ZERO = 53
-++ IP_FW_GET = 54
-++ IP_FW_RESETLOG = 55
-++ IP_DUMMYNET_CONFIGURE = 60
-++ IP_DUMMYNET_DEL = 61
-++ IP_DUMMYNET_FLUSH = 62
-++ IP_DUMMYNET_GET = 64
-++ IP_DEFAULT_MULTICAST_TTL = 1
-++ IP_DEFAULT_MULTICAST_LOOP = 1
-++ IP_MAX_MEMBERSHIPS = 20
-++ IP_PORTRANGE_DEFAULT = 0
-++ IP_PORTRANGE_HIGH = 1
-++ IP_PORTRANGE_LOW = 2
-++ IPPROTO_MAXID = (IPPROTO_AH + 1)
-++ IPCTL_FORWARDING = 1
-++ IPCTL_SENDREDIRECTS = 2
-++ IPCTL_DEFTTL = 3
-++ IPCTL_DEFMTU = 4
-++ IPCTL_RTEXPIRE = 5
-++ IPCTL_RTMINEXPIRE = 6
-++ IPCTL_RTMAXCACHE = 7
-++ IPCTL_SOURCEROUTE = 8
-++ IPCTL_DIRECTEDBROADCAST = 9
-++ IPCTL_INTRQMAXLEN = 10
-++ IPCTL_INTRQDROPS = 11
-++ IPCTL_STATS = 12
-++ IPCTL_ACCEPTSOURCEROUTE = 13
-++ IPCTL_FASTFORWARDING = 14
-++ IPCTL_KEEPFAITH = 15
-++ IPCTL_GIF_TTL = 16
-++ IPCTL_MAXID = 17
-++
-++ # Included from netinet6/in6.h
-++
-++ # Included from sys/queue.h
-++ def SLIST_HEAD_INITIALIZER(head): return \
-++
-++ def SLIST_ENTRY(type): return \
-++
-++ def STAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def STAILQ_ENTRY(type): return \
-++
-++ def LIST_HEAD_INITIALIZER(head): return \
-++
-++ def LIST_ENTRY(type): return \
-++
-++ def TAILQ_HEAD_INITIALIZER(head): return \
-++
-++ def TAILQ_ENTRY(type): return \
-++
-++ def CIRCLEQ_ENTRY(type): return \
-++
-++ __KAME_VERSION = "20000701/FreeBSD-current"
-++ IPV6PORT_RESERVED = 1024
-++ IPV6PORT_ANONMIN = 49152
-++ IPV6PORT_ANONMAX = 65535
-++ IPV6PORT_RESERVEDMIN = 600
-++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
-++ INET6_ADDRSTRLEN = 46
-++ IPV6_ADDR_INT32_ONE = 1
-++ IPV6_ADDR_INT32_TWO = 2
-++ IPV6_ADDR_INT32_MNL = 0xff010000
-++ IPV6_ADDR_INT32_MLL = 0xff020000
-++ IPV6_ADDR_INT32_SMP = 0x0000ffff
-++ IPV6_ADDR_INT16_ULL = 0xfe80
-++ IPV6_ADDR_INT16_USL = 0xfec0
-++ IPV6_ADDR_INT16_MLL = 0xff02
-++ IPV6_ADDR_INT32_ONE = 0x01000000
-++ IPV6_ADDR_INT32_TWO = 0x02000000
-++ IPV6_ADDR_INT32_MNL = 0x000001ff
-++ IPV6_ADDR_INT32_MLL = 0x000002ff
-++ IPV6_ADDR_INT32_SMP = 0xffff0000
-++ IPV6_ADDR_INT16_ULL = 0x80fe
-++ IPV6_ADDR_INT16_USL = 0xc0fe
-++ IPV6_ADDR_INT16_MLL = 0x02ff
-++ def IN6_IS_ADDR_UNSPECIFIED(a): return \
-++
-++ def IN6_IS_ADDR_LOOPBACK(a): return \
-++
-++ def IN6_IS_ADDR_V4COMPAT(a): return \
-++
-++ def IN6_IS_ADDR_V4MAPPED(a): return \
-++
-++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01
-++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
-++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05
-++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
-++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e
-++ def IN6_IS_ADDR_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
-++
-++ def IN6_IS_ADDR_MC_GLOBAL(a): return \
-++
-++ def IN6_IS_SCOPE_LINKLOCAL(a): return \
-++
-++ IPV6_OPTIONS = 1
-++ IPV6_RECVOPTS = 5
-++ IPV6_RECVRETOPTS = 6
-++ IPV6_RECVDSTADDR = 7
-++ IPV6_RETOPTS = 8
-++ IPV6_SOCKOPT_RESERVED1 = 3
-++ IPV6_UNICAST_HOPS = 4
-++ IPV6_MULTICAST_IF = 9
-++ IPV6_MULTICAST_HOPS = 10
-++ IPV6_MULTICAST_LOOP = 11
-++ IPV6_JOIN_GROUP = 12
-++ IPV6_LEAVE_GROUP = 13
-++ IPV6_PORTRANGE = 14
-++ ICMP6_FILTER = 18
-++ IPV6_PKTINFO = 19
-++ IPV6_HOPLIMIT = 20
-++ IPV6_NEXTHOP = 21
-++ IPV6_HOPOPTS = 22
-++ IPV6_DSTOPTS = 23
-++ IPV6_RTHDR = 24
-++ IPV6_PKTOPTIONS = 25
-++ IPV6_CHECKSUM = 26
-++ IPV6_BINDV6ONLY = 27
-++ IPV6_IPSEC_POLICY = 28
-++ IPV6_FAITH = 29
-++ IPV6_FW_ADD = 30
-++ IPV6_FW_DEL = 31
-++ IPV6_FW_FLUSH = 32
-++ IPV6_FW_ZERO = 33
-++ IPV6_FW_GET = 34
-++ IPV6_RTHDR_LOOSE = 0
-++ IPV6_RTHDR_STRICT = 1
-++ IPV6_RTHDR_TYPE_0 = 0
-++ IPV6_DEFAULT_MULTICAST_HOPS = 1
-++ IPV6_DEFAULT_MULTICAST_LOOP = 1
-++ IPV6_PORTRANGE_DEFAULT = 0
-++ IPV6_PORTRANGE_HIGH = 1
-++ IPV6_PORTRANGE_LOW = 2
-++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1)
-++ IPV6CTL_FORWARDING = 1
-++ IPV6CTL_SENDREDIRECTS = 2
-++ IPV6CTL_DEFHLIM = 3
-++ IPV6CTL_DEFMTU = 4
-++ IPV6CTL_FORWSRCRT = 5
-++ IPV6CTL_STATS = 6
-++ IPV6CTL_MRTSTATS = 7
-++ IPV6CTL_MRTPROTO = 8
-++ IPV6CTL_MAXFRAGPACKETS = 9
-++ IPV6CTL_SOURCECHECK = 10
-++ IPV6CTL_SOURCECHECK_LOGINT = 11
-++ IPV6CTL_ACCEPT_RTADV = 12
-++ IPV6CTL_KEEPFAITH = 13
-++ IPV6CTL_LOG_INTERVAL = 14
-++ IPV6CTL_HDRNESTLIMIT = 15
-++ IPV6CTL_DAD_COUNT = 16
-++ IPV6CTL_AUTO_FLOWLABEL = 17
-++ IPV6CTL_DEFMCASTHLIM = 18
-++ IPV6CTL_GIF_HLIM = 19
-++ IPV6CTL_KAME_VERSION = 20
-++ IPV6CTL_USE_DEPRECATED = 21
-++ IPV6CTL_RR_PRUNE = 22
-++ IPV6CTL_MAPPED_ADDR = 23
-++ IPV6CTL_BINDV6ONLY = 24
-++ IPV6CTL_RTEXPIRE = 25
-++ IPV6CTL_RTMINEXPIRE = 26
-++ IPV6CTL_RTMAXCACHE = 27
-++ IPV6CTL_MAXID = 28
-+*** misc/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:26:27 2005
-+--- misc/build/Python-2.3.4/Lib/plat-freebsd7/regen Tue Aug 9 06:19:02 2005
-+***************
-+*** 0 ****
-+--- 1,3 ----
-++ #! /bin/sh
-++ set -v
-++ python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
diff --git a/editors/openoffice.org-vcltesttool/files/patch-bridges b/editors/openoffice.org-vcltesttool/files/patch-bridges
deleted file mode 100644
index 8375332a3e20..000000000000
--- a/editors/openoffice.org-vcltesttool/files/patch-bridges
+++ /dev/null
@@ -1,173 +0,0 @@
-Issuetracker : #i56947#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : update files at bridges project
-catch up version up of bridge project of GNU/Linux
-
---- bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx Thu Sep 8 07:20:08 2005
-+++ bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx Wed Oct 26 15:10:05 2005
-@@ -57,7 +57,7 @@
- typelib_TypeDescriptionReference * pReturnTypeRef, // 0 indicates void return
- sal_Int32 nParams, typelib_MethodParameter * pParams,
- void ** pCallStack,
-- sal_Int64 * pRegisterReturn /* space for register return */ )
-+ void * pReturnValue )
- {
- // pCallStack: ret, [return ptr], this, params
- char * pCppStack = (char *)(pCallStack +1);
-@@ -74,7 +74,7 @@
- {
- if (bridges::cpp_uno::shared::isSimpleType( pReturnTypeDescr ))
- {
-- pUnoReturn = pRegisterReturn; // direct way for simple types
-+ pUnoReturn = pReturnValue; // direct way for simple types
- }
- else // complex return via ptr (pCppReturn)
- {
-@@ -215,7 +215,7 @@
- uno_destructData( pUnoReturn, pReturnTypeDescr, 0 );
- }
- // complex return ptr is set to eax
-- *(void **)pRegisterReturn = pCppReturn;
-+ *static_cast< void ** >(pReturnValue) = pCppReturn;
- }
- if (pReturnTypeDescr)
- {
-@@ -228,7 +228,7 @@
- //==================================================================================================
- extern "C" void cpp_vtable_call(
- int nFunctionIndex, int nVtableOffset, void** pCallStack,
-- sal_Int64 nRegReturn )
-+ void * pReturnValue )
- {
- OSL_ENSURE( sizeof(sal_Int32)==sizeof(void *), "### unexpected!" );
-
-@@ -275,7 +275,7 @@
- pCppI, aMemberDescr.get(),
- ((typelib_InterfaceAttributeTypeDescription *)aMemberDescr.get())->pAttributeTypeRef,
- 0, 0, // no params
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- else
- {
-@@ -290,7 +290,7 @@
- pCppI, aMemberDescr.get(),
- 0, // indicates void return
- 1, &aParam,
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- break;
- }
-@@ -324,7 +324,7 @@
- &pInterface, pTD, cpp_acquire );
- pInterface->release();
- TYPELIB_DANGER_RELEASE( pTD );
-- *(void **)&nRegReturn = pCallStack[1];
-+ *static_cast< void ** >(pReturnValue) = pCallStack[1];
- break;
- }
- TYPELIB_DANGER_RELEASE( pTD );
-@@ -336,7 +336,7 @@
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->pReturnTypeRef,
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->nParams,
- ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->pParams,
-- pCallStack, &nRegReturn );
-+ pCallStack, pReturnValue );
- }
- break;
- }
---- bridges/source/cpp_uno/gcc3_freebsd_intel/call.s Wed Jun 1 01:32:41 2005
-+++ bridges/source/cpp_uno/gcc3_freebsd_intel/call.s Wed Oct 26 15:10:04 2005
-@@ -9,12 +9,13 @@
- .LCFIg0:
- movl %esp,%ebp
- .LCFIg1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-+ movl 16(%esp),%eax # 32bit returnValue
- leave
- ret
- .LFEg:
-@@ -29,7 +30,7 @@
- .LCFIv0:
- movl %esp,%ebp
- .LCFIv1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ pushl $0 # 32bit null pointer (returnValue not used)
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
-@@ -48,13 +49,14 @@
- .LCFIh0:
- movl %esp,%ebp
- .LCFIh1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x8,%esp # 64bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-- movl 16(%esp),%edx # 64 bit nRegReturn, upper half
-+ movl 16(%esp),%eax # 64bit returnValue, lower half
-+ movl 20(%esp),%edx # 64bit returnValue, upper half
- leave
- ret
- .LFEh:
-@@ -69,12 +71,13 @@
- .LCFIf0:
- movl %esp,%ebp
- .LCFIf1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- flds 12(%esp) # 64 bit nRegReturn, lower half
-+ flds 16(%esp) # 32bit returnValue
- leave
- ret
- .LFEf:
-@@ -89,12 +92,13 @@
- .LCFId0:
- movl %esp,%ebp
- .LCFId1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x8,%esp # 64bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- fldl 12(%esp) # 64 bit nRegReturn
-+ fldl 16(%esp) # 64bit returnValue
- leave
- ret
- .LFEd:
-@@ -109,12 +113,13 @@
- .LCFIc0:
- movl %esp,%ebp
- .LCFIc1:
-- subl $0x8,%esp # 64bit nRegReturn
-+ subl $0x4,%esp # 32bit returnValue
-+ pushl %esp # 32bit &returnValue
- pushl %ecx # 32bit pCallStack
- pushl %edx # 32bit nVtableOffset
- pushl %eax # 32bit nFunctionIndex
- call cpp_vtable_call
-- movl 12(%esp),%eax # 64 bit nRegReturn, lower half
-+ movl 16(%esp),%eax # 32bit returnValue
- leave
- ret $4
- .LFEc:
diff --git a/editors/openoffice.org-vcltesttool/files/patch-config_office+set_soenv.in b/editors/openoffice.org-vcltesttool/files/patch-config_office+set_soenv.in
deleted file mode 100644
index a06f28849d7a..000000000000
--- a/editors/openoffice.org-vcltesttool/files/patch-config_office+set_soenv.in
+++ /dev/null
@@ -1,18 +0,0 @@
-Issuetracker : #i56949#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Add conditional the case of @GCCVER@ >= 30401.
-Like GNU/Linux's case, we also need the case for $CVER if @GCCVER@ is equal to or larger than 3.4.1
-
---- config_office/set_soenv.in Thu Sep 22 23:30:56 2005
-+++ config_office/set_soenv.in Sat Oct 1 12:59:30 2005
-@@ -347,6 +347,9 @@
- $JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386";
- $JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."client";
- $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."native_threads";
-+ if( @GCCVER@ >= 30401 ) {
-+ $CVER = "C341";
-+ }
- }
- elsif ( $platform =~ m/linux-gnu/ )
- {
diff --git a/editors/openoffice.org-vcltesttool/files/patch-epm+epm-3.7.patch b/editors/openoffice.org-vcltesttool/files/patch-epm+epm-3.7.patch
deleted file mode 100644
index 2182489d5445..000000000000
--- a/editors/openoffice.org-vcltesttool/files/patch-epm+epm-3.7.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-Issuetracker : #iXXXXX#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : epm porting for FreeBSD
-o FreeBSD's package manager doesn't allow multiple lines for
- @exec and @unexec
-o chown is at /usr/sbin/
-o the way to recording package dependency is incorrect
-
-Index: epm/epm-3.7.patch
-===================================================================
-RCS file: /cvs/external/epm/epm-3.7.patch,v
-retrieving revision 1.2
-diff -u -r1.2 epm-3.7.patch
---- epm/epm-3.7.patch 10 Mar 2005 11:52:43 -0000 1.2
-+++ epm/epm-3.7.patch 3 Jun 2005 22:05:23 -0000
-@@ -1,3 +1,69 @@
-+*** misc/epm-3.7/bsd.c Wed Jan 15 02:05:01 2003
-+--- misc/build/epm-3.7/bsd.c Sat Jun 4 06:18:27 2005
-+***************
-+*** 26,31 ****
-+--- 26,38 ----
-+
-+ #include "epm.h"
-+
-++ void cr2semicolon(char *command)
-++ {
-++ int len, i;
-++ len=strlen(command);
-++ for (i=0;i<len;i++)
-++ if(*(command+i)=='\n') *(command+i)=';';
-++ }
-+
-+ /*
-+ * 'make_bsd()' - Make a FreeBSD software distribution package.
-+***************
-+*** 150,156 ****
-+ for (i = dist->num_depends, d = dist->depends; i > 0; i --, d ++)
-+ {
-+ if (d->type == DEPEND_REQUIRES)
-+! fprintf(fp, "@pkgdep %s", d->product);
-+ else
-+ #ifdef __FreeBSD__
-+ /*
-+--- 157,163 ----
-+ for (i = dist->num_depends, d = dist->depends; i > 0; i --, d ++)
-+ {
-+ if (d->type == DEPEND_REQUIRES)
-+! fprintf(fp, "@pkgdep %s-%s-%s", d->product, dist->version, platname);
-+ else
-+ #ifdef __FreeBSD__
-+ /*
-+***************
-+*** 179,187 ****
-+--- 186,196 ----
-+ " by the BSD packager.\n", stderr);
-+ break;
-+ case COMMAND_POST_INSTALL :
-++ cr2semicolon(c->command);
-+ fprintf(fp, "@exec %s\n", c->command);
-+ break;
-+ case COMMAND_PRE_REMOVE :
-++ cr2semicolon(c->command);
-+ fprintf(fp, "@unexec %s\n", c->command);
-+ break;
-+ case COMMAND_POST_REMOVE :
-+***************
-+*** 199,205 ****
-+ */
-+
-+ fprintf(fp, "@exec /bin/mkdir -p %s\n", file->dst);
-+! fprintf(fp, "@exec /bin/chown %s:%s %s\n", file->user, file->group,
-+ file->dst);
-+ fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
-+ }
-+--- 208,214 ----
-+ */
-+
-+ fprintf(fp, "@exec /bin/mkdir -p %s\n", file->dst);
-+! fprintf(fp, "@exec /usr/sbin/chown %s:%s %s\n", file->user, file->group,
-+ file->dst);
-+ fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
-+ }
- *** misc/epm-3.7/epm.c 2003-10-28 15:48:30.000000000 +0100
- --- misc/build/epm-3.7/epm.c 2004-11-24 10:38:40.000000000 +0100
- ***************
-
diff --git a/editors/openoffice.org-vcltesttool/files/patch-icu+icu-2.6.patch b/editors/openoffice.org-vcltesttool/files/patch-icu+icu-2.6.patch
deleted file mode 100644
index 91b67fb35cf3..000000000000
--- a/editors/openoffice.org-vcltesttool/files/patch-icu+icu-2.6.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Issuetracker : #i56952#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Passing $ORIGIN to linker at icu project
-We also want to pass -rpath $ORIGIN to linker as GNU/Linux and/or Solaris's case.
-
-Index: icu/icu-2.6.patch
-===================================================================
-RCS file: /cvs/external/icu/icu-2.6.patch,v
-retrieving revision 1.15
-diff -u -r1.15 icu-2.6.patch
---- icu/icu-2.6.patch 28 Dec 2005 16:54:16 -0000 1.15
-+++ icu/icu-2.6.patch 5 Jan 2006 12:58:57 -0000
-@@ -2775,3 +2775,31 @@
- commands = pkg_appendToList(commands, NULL, uprv_strdup(stanza));
-
- sprintf(stanza, "@$(RMV) $(TEMP_DIR)/%s", cfile+genFileOffset);
-+*** misc/icu/source/config/mh-bsd-gcc Thu May 2 08:48:10 2002
-+--- misc/build/icu/source/config/mh-bsd-gcc Mon Oct 24 18:16:57 2005
-+***************
-+*** 10,21 ****
-+--- 10,30 ----
-+ GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS)
-+
-+ ## Flags for position independent code
-++ STATICCFLAGS = -fPIC
-++ STATICCXXFLAGS = -fPIC
-++ STATICCPPFLAGS = -DPIC
-+ SHAREDLIBCFLAGS = -fPIC
-+ SHAREDLIBCXXFLAGS = -fPIC
-+ SHAREDLIBCPPFLAGS = -DPIC
-+
-+ ## Compiler switch to embed a runtime search path
-+ LD_RPATH=
-++ ## Force RPATH=$ORIGIN to locate own dependencies w/o need for LD_LIBRARY_PATH
-++ ENABLE_RPATH=YES
-++ RPATHLDFLAGS=${LD_RPATH_PRE}'$$ORIGIN'
-++
-++ #SH# ENABLE_RPATH=YES
-++ #SH# RPATHLDFLAGS="${LD_RPATH_PRE}'$$ORIGIN'"
-+ LD_RPATH_PRE= -Wl,-rpath,
-+
-+ ## Compiler switch to embed a library name
-+
-+
diff --git a/editors/openoffice.org-vcltesttool/files/patch-instsetoo b/editors/openoffice.org-vcltesttool/files/patch-instsetoo
deleted file mode 100644
index 77fcd635acfa..000000000000
--- a/editors/openoffice.org-vcltesttool/files/patch-instsetoo
+++ /dev/null
@@ -1,154 +0,0 @@
-Issuetracker : #i53288#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : remove circular dependency
-
-in this case,
-core01 is depend on core02-core08, and core0[2-9] and core10
-depends on core01. for FreeBSD this is regarded as circular dependency
-and pkg_add command is forked infinite times and eats up systems' resource.
-namely when core01 tries to install core02, core02 also tries to
-install core01.
-Index: instsetoo_native/inc_openoffice/unix/packagelist.txt
-===================================================================
-RCS file: /cvs/installation/instsetoo_native/inc_openoffice/unix/packagelist.txt,v
-retrieving revision 1.21
-diff -u -r1.21 packagelist.txt
---- instsetoo_native/inc_openoffice/unix/packagelist.txt 30 Nov 2005 13:21:44 -0000 1.21
-+++ instsetoo_native/inc_openoffice/unix/packagelist.txt 3 Dec 2005 22:26:12 -0000
-@@ -37,6 +37,7 @@
- packagename = "%UNIXPRODUCTNAME-core01"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-mailcap,%WITHOUTDOTUNIXPRODUCTNAME-core,%WITHOUTDOTUNIXPRODUCTNAME-core01"
- requires = "%UNIXPRODUCTNAME-core02,%UNIXPRODUCTNAME-core03,%UNIXPRODUCTNAME-core04,%UNIXPRODUCTNAME-core05,%UNIXPRODUCTNAME-core06,%UNIXPRODUCTNAME-core07,%UNIXPRODUCTNAME-core08"
-+freebsdrequires = "%UNIXPRODUCTNAME-core02,%UNIXPRODUCTNAME-core03,%UNIXPRODUCTNAME-core04,%UNIXPRODUCTNAME-core05,%UNIXPRODUCTNAME-core06,%UNIXPRODUCTNAME-core07,%UNIXPRODUCTNAME-core08,%UNIXPRODUCTNAME-core09,%UNIXPRODUCTNAME-core10"
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -278,6 +279,7 @@
- packagename = "%UNIXPRODUCTNAME-core02"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core02"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -291,6 +293,7 @@
- packagename = "%UNIXPRODUCTNAME-core03"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core03"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -304,6 +307,7 @@
- packagename = "%UNIXPRODUCTNAME-core04"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core04"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -317,6 +321,7 @@
- packagename = "%UNIXPRODUCTNAME-core05"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core05"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -330,6 +335,7 @@
- packagename = "%UNIXPRODUCTNAME-core06"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core06"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -343,6 +349,7 @@
- packagename = "%UNIXPRODUCTNAME-core07"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core07"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -356,6 +363,7 @@
- packagename = "%UNIXPRODUCTNAME-core08"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core08"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -369,6 +377,7 @@
- packagename = "%UNIXPRODUCTNAME-core09"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core09"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-@@ -383,6 +392,7 @@
- packagename = "%UNIXPRODUCTNAME-core10"
- linuxreplaces = "%WITHOUTDOTUNIXPRODUCTNAME-core10"
- requires = "%UNIXPRODUCTNAME-core01"
-+freebsdrequires = ""
- copyright = "1999-2005 by OpenOffice.org"
- vendor = "OpenOffice.org"
- description = "Office core module for %PRODUCTNAME %PRODUCTVERSION"
-Index: solenv/bin/modules/installer/epmfile.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/epmfile.pm,v
-retrieving revision 1.42
-diff -u -r1.42 epmfile.pm
---- solenv/bin/modules/installer/epmfile.pm 9 Nov 2005 09:09:49 -0000 1.42
-+++ solenv/bin/modules/installer/epmfile.pm 3 Dec 2005 22:26:52 -0000
-@@ -395,6 +395,11 @@
- $provides = "solarisprovides"; # the name in the packagelist
- $requires = "solarisrequires"; # the name in the packagelist
- }
-+ elsif ( $installer::globals::isfreebsdpkgbuild )
-+ {
-+ $provides = "freebsdprovides"; # the name in the packagelist
-+ $requires = "freebsdrequires"; # the name in the packagelist
-+ }
- else
- {
- $provides = "provides"; # the name in the packagelist
-Index: solenv/bin/modules/installer/globals.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/globals.pm,v
-retrieving revision 1.47
-diff -u -r1.47 globals.pm
---- solenv/bin/modules/installer/globals.pm 9 Nov 2005 09:10:01 -0000 1.47
-+++ solenv/bin/modules/installer/globals.pm 3 Dec 2005 22:26:52 -0000
-@@ -80,6 +80,7 @@
- $issolarispkgbuild = 0;
- $issolarissparcbuild = 0;
- $issolarisx86build = 0;
-+ $isfreebsdpkgbuild = 0;
- $unpackpath = "";
- $idttemplatepath = "";
- $idtlanguagepath = "";
-
-Index: solenv/bin/modules/installer/parameter.pm
-===================================================================
-RCS file: /cvs/tools/solenv/bin/modules/installer/parameter.pm,v
-retrieving revision 1.29
-diff -u -r1.29 parameter.pm
---- solenv/bin/modules/installer/parameter.pm 9 Nov 2005 09:10:12 -0000 1.29
-+++ solenv/bin/modules/installer/parameter.pm 10 Dec 2005 13:11:30 -0000
-@@ -304,6 +304,13 @@
- $installer::globals::epmoutpath = "packages";
- }
- }
-+ if ( $installer::globals::compiler =~ /unxfbsdi/ )
-+ {
-+ if ( $installer::globals::packageformat eq "bsd" )
-+ {
-+ $installer::globals::isfreebsdpkgbuild = 1;
-+ }
-+ }
-
- if ( $installer::globals::compiler =~ /unxso[lg]s/ ) { $installer::globals::issolarissparcbuild = 1; }
-
diff --git a/editors/openoffice.org-vcltesttool/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk b/editors/openoffice.org-vcltesttool/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk
deleted file mode 100644
index 2c89e95a8cdb..000000000000
--- a/editors/openoffice.org-vcltesttool/files/patch-jvmfwk+distributions+OpenOfficeorg+makefile.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-Issuetracker : #i56951#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : javavendors_linux.xml can be used for FreeBSD as well.
-javavendors_linux.xml can be used for FreeBSD as well.
-
---- jvmfwk/distributions/OpenOfficeorg/makefile.mk Thu Sep 8 04:26:17 2005
-+++ jvmfwk/distributions/OpenOfficeorg/makefile.mk Sat Oct 22 18:31:16 2005
-@@ -49,7 +49,7 @@
- .IF "$(GUI)"=="UNX"
- .IF "$(OS)"=="MACOSX"
- +-$(COPY) javavendors_macosx.xml $(BIN)$/javavendors_ooo.xml
--.ELIF "$(OS)"=="LINUX"
-+.ELIF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
- +-$(COPY) javavendors_linux.xml $(BIN)$/javavendors_ooo.xml
- .ELSE
- +-$(COPY) javavendors_unx.xml $(BIN)$/javavendors_ooo.xml
diff --git a/editors/openoffice.org-vcltesttool/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx b/editors/openoffice.org-vcltesttool/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
index c963d013cc07..610b3b087221 100644
--- a/editors/openoffice.org-vcltesttool/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
+++ b/editors/openoffice.org-vcltesttool/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx
@@ -12,18 +12,17 @@ java 1.4.1-p10 for example to 1.4.1_110.
--- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Thu Sep 8 04:31:40 2005
+++ jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Sat Oct 22 18:25:49 2005
-@@ -208,7 +208,16 @@
+@@ -208,7 +208,15 @@
return false;
#if defined(FREEBSD)
if (m_preRelease == Rel_FreeBSD) {
- m_nUpdateSpecial = *pCur;
+ pCur++; //elemnate `p'
+ if (pCur < pEnd && isdigit(*pCur))
-+ if (pCur < pEnd)
-+ pCur ++;
++ pCur ++;
+ int len = pCur - pLast -1; //elemenate `p'
+ if (len >= 127)
-+ return false;
++ return false;
+ strncpy(buf, (pLast+1), len); //elemenate `p'
+ buf[len] = 0;
+ m_nUpdateSpecial = atoi(buf)+100; //hack for FBSD
diff --git a/editors/openoffice.org-vcltesttool/files/patch-libxmlsec+makefile.mk b/editors/openoffice.org-vcltesttool/files/patch-libxmlsec+makefile.mk
deleted file mode 100644
index 4e674ce211f0..000000000000
--- a/editors/openoffice.org-vcltesttool/files/patch-libxmlsec+makefile.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-Issuetracker : #i56954#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : Passing $ORIGIN to linker at libxmlsec project
-We also want to pass -rpath $ORIGIN to linker as GNU/Linux and/or Solaris's case.
-
-Index: libxmlsec/makefile.mk
-===================================================================
-RCS file: /cvs/external/libxmlsec/makefile.mk,v
-retrieving revision 1.7
-diff -u -r1.7 makefile.mk
---- libxmlsec/makefile.mk 28 Dec 2005 16:58:06 -0000 1.7
-+++ libxmlsec/makefile.mk 5 Jan 2006 12:34:24 -0000
-@@ -98,6 +98,9 @@
- .IF "$(OS)$(COM)"=="SOLARISC52"
- xmlsec_LDFLAGS+=-Wl,-R'$$$$ORIGIN'
- .ENDIF # "$(OS)$(COM)"=="SOLARISC52"
-+.IF "$(OS)$(COM)"=="FREEBSDGCC"
-+LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN'
-+.ENDIF # "$(OS)$(COM)"=="FREEBSDGCC"
- LDFLAGS:=$(xmlsec_LDFLAGS)
- .EXPORT: LDFLAGS
-
diff --git a/editors/openoffice.org-vcltesttool/files/patch-psprint+source+fontmanager+parseAFM.cxx b/editors/openoffice.org-vcltesttool/files/patch-psprint+source+fontmanager+parseAFM.cxx
deleted file mode 100644
index 65073f215e7b..000000000000
--- a/editors/openoffice.org-vcltesttool/files/patch-psprint+source+fontmanager+parseAFM.cxx
+++ /dev/null
@@ -1,65 +0,0 @@
-Issuetracker : #i60097#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : getc and ungetc are defined at stdio.h
-
-Index: psprint/source/fontmanager/parseAFM.cxx
-===================================================================
-RCS file: /cvs/gsl/psprint/source/fontmanager/parseAFM.cxx,v
-retrieving revision 1.6
-diff -u -r1.6 parseAFM.cxx
---- psprint/source/fontmanager/parseAFM.cxx 28 Dec 2005 17:08:38 -0000 1.6
-+++ psprint/source/fontmanager/parseAFM.cxx 5 Jan 2006 22:05:26 -0000
-@@ -113,8 +113,8 @@
- FileInputStream( const char* pFilename );
- ~FileInputStream();
-
-- int getc() { return (m_nPos < m_nLen) ? int(m_pMemory[m_nPos++]) : -1; }
-- void ungetc()
-+ int getChar() { return (m_nPos < m_nLen) ? int(m_pMemory[m_nPos++]) : -1; }
-+ void ungetChar()
- {
- if( m_nPos > 0 )
- m_nPos--;
-@@ -278,18 +278,18 @@
-
- /* skip over white space */
- // relies on EOF = -1
-- while( is_white_Array[ (ch = stream->getc()) & 255 ] )
-+ while( is_white_Array[ (ch = stream->getChar()) & 255 ] )
- ;
-
- idx = 0;
- while( ch != -1 && ! is_delimiter_Array[ ch & 255 ] )
- {
- ident[idx++] = ch;
-- ch = stream->getc();
-+ ch = stream->getChar();
- }
-
- if (ch == -1 && idx < 1) return ((char *)NULL);
-- if (idx >= 1 && ch != ':' ) stream->ungetc();
-+ if (idx >= 1 && ch != ':' ) stream->ungetChar();
- if (idx < 1 ) ident[idx++] = ch; /* single-character token */
- ident[idx] = 0;
- rLen = idx;
-@@ -311,16 +311,16 @@
- static char ident[MAX_NAME]; /* storage buffer for keywords */
- int ch, idx;
-
-- while ((ch = stream->getc()) == ' ' || ch == '\t' );
-+ while ((ch = stream->getChar()) == ' ' || ch == '\t' );
-
- idx = 0;
- while (ch != -1 && ch != lineterm && ch != '\r')
- {
- ident[idx++] = ch;
-- ch = stream->getc();
-+ ch = stream->getChar();
- } /* while */
-
-- stream->ungetc();
-+ stream->ungetChar();
- ident[idx] = 0;
-
- return(ident); /* returns pointer to the token */
diff --git a/editors/openoffice.org-vcltesttool/files/patch-sdkoo b/editors/openoffice.org-vcltesttool/files/patch-sdkoo
deleted file mode 100644
index 6dfc9a5fb029..000000000000
--- a/editors/openoffice.org-vcltesttool/files/patch-sdkoo
+++ /dev/null
@@ -1,64 +0,0 @@
-Issuetracker : #iXXXXX#
-CWS : N/A
-Author : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : building sdk fails for FreeBSD
-
-1. Build error
-dmake sdkoo fails like:
-
-##############################################################################
-... starting unpatched epm ...
-... epm -f bsd openoffice.org-sdk /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_SRC680__en-US.lst -v 2>&1 | ...
-
-**************************************************
-ERROR: ERROR: "epm -f bsd openoffice.org-sdk /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_SRC680__en-US.lst -v 2>&1 |"!
-in function: call_epm
-**************************************************
-
-**************************************************
-ERROR: Saved logfile: /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/logging/en-US/log_SRC680__en-US.log
-**************************************************
-... cleaning the output tree ...
-... removing directory /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/zip/en-US ...
-Fri Nov 18 22:49:33 2005 (08:05 min.)
-dmake: Error code 255, while making 'sdkoo_en-US.bsd'
-'---* tg_merge.mk *---'
-##############################################################################
-
-2. Reason why it fails:
-since quoting for filename containing `$' produces an error
-
-tar: opt/openoffice.org2.0_sdk/classes/com/sun/star/lib/loader/InstallationFinder\$StreamGobbler.class: Could not stat: No such file or directory
-tar: opt/openoffice.org2.0_sdk/classes/com/sun/star/lib/loader/Loader\$CustomURLClassLoader.class: Could not stat: No such file or directory
-
-3. Solution
-
-For FreeBSD, we don't need quoting. We use printf for files names
-instead of using qprintf, a function that treats quoting string.
-
---- epm/epm-3.7.patch Sat Nov 19 10:21:34 2005
-+++ epm/epm-3.7.patch Sat Nov 19 10:22:23 2005
-@@ -586,3 +586,23 @@
- }
-
- --- 457,462 ----
-+
-+*** misc/epm-3.7/bsd.c Wed Jan 15 02:05:01 2003
-+--- misc/build/epm-3.7/bsd.c Sat Jun 4 06:18:27 2005
-+***************
-+*** 234,240 ****
-+ case 'c' :
-+ case 'f' :
-+ case 'l' :
-+! qprintf(fp, "%s\n", file->dst + 1);
-+ break;
-+ }
-+ }
-+--- 243,249 ----
-+ case 'c' :
-+ case 'f' :
-+ case 'l' :
-+! fprintf(fp, "%s\n", file->dst + 1);
-+ break;
-+ }
-+ }
diff --git a/editors/openoffice.org-vcltesttool/files/patch-solenv+inc+unxfbsdi.mk b/editors/openoffice.org-vcltesttool/files/patch-solenv+inc+unxfbsdi.mk
deleted file mode 100644
index 02b0c8ad1400..000000000000
--- a/editors/openoffice.org-vcltesttool/files/patch-solenv+inc+unxfbsdi.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-Issuetracker : #i56956#
-CWS : N/A
-Author: : <maho@openoffice.org> (JCA)
-Description : FreeBSD porting : catch up recent version of solenv/inc/unxlngi6.mk
-catch up recent version of solenv/inc/unxlngi6.mk and STLPORT_VERSION is 450 in FreeBSD
-
---- solenv/inc/unxfbsdi.mk Wed Oct 5 20:33:12 2005
-+++ solenv/inc/unxfbsdi.mk Mon Oct 24 11:13:39 2005
-@@ -45,7 +45,7 @@
- #LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter"
-
- # _PTHREADS is needed for the stl
--CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400
-+CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450
-
- # enable visibility define in "sal/types.h"
- .IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
-@@ -190,8 +190,13 @@
-
- LIBSALCPPRT*=-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive
-
-+.IF "$(USE_STLP_DEBUG)" != ""
-+LIBSTLPORT=$(DYNAMIC) -lstlport_gcc_stldebug
-+LIBSTLPORTST=$(STATIC) -lstlport_gcc_stldebug $(DYNAMIC)
-+.ELSE # "$(USE_STLP_DEBUG)" != ""
- LIBSTLPORT=$(DYNAMIC) -lstlport_gcc
- LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC)
-+.ENDIF # "$(USE_STLP_DEBUG)" != ""
-
- #FILLUPARC=$(STATIC) -lsupc++ $(DYNAMIC)
-