diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2005-10-28 05:31:45 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2005-10-28 05:31:45 +0000 |
commit | 4677ba1f22a3a410421c15c8f478a5e0c397c0f8 (patch) | |
tree | c0f26a70320d3538fd0ab216663b9cb1ed45ab26 /app-office/openoffice/files | |
parent | Drop SNAPSHOT flag as autoreconf isn't needed. (diff) | |
download | historical-4677ba1f22a3a410421c15c8f478a5e0c397c0f8.tar.gz historical-4677ba1f22a3a410421c15c8f478a5e0c397c0f8.tar.bz2 historical-4677ba1f22a3a410421c15c8f478a5e0c397c0f8.zip |
Implement a proper solution for the --without-java issue
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'app-office/openoffice/files')
5 files changed, 89 insertions, 372 deletions
diff --git a/app-office/openoffice/files/2.0.0/Filter.xcu b/app-office/openoffice/files/2.0.0/Filter.xcu deleted file mode 100644 index 092f49606388..000000000000 --- a/app-office/openoffice/files/2.0.0/Filter.xcu +++ /dev/null @@ -1,355 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:install="http://openoffice.org/2004/installation" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:package="org.openoffice.TypeDetection" oor:name="Filter"> -<node oor:name="Filters"> -<node oor:name="StarOffice XML (Base)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Database</value> -</prop> -</node> -<node oor:name="HTML (StarWriter)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">HTML Document (%productname% Writer)</value> -</prop> -</node> -<node oor:name="MS Word 95 Vorlage"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Microsoft Word 95 Template</value> -</prop> -</node> -<node oor:name="MS Word 97 Vorlage"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Microsoft Word 97/2000/XP Template</value> -</prop> -</node> -<node oor:name="StarOffice XML (Writer)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Text Document</value> -</prop> -</node> -<node oor:name="StarWriter 3.0 Vorlage/Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarWriter 3.0 Template</value> -</prop> -</node> -<node oor:name="StarWriter 4.0 Vorlage/Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarWriter 4.0 Template</value> -</prop> -</node> -<node oor:name="StarWriter 5.0 Vorlage/Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarWriter 5.0 Template</value> -</prop> -</node> -<node oor:name="Text"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Text</value> -</prop> -</node> -<node oor:name="Text (encoded)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Text Encoded</value> -</prop> -</node> -<node oor:name="writer_JustSystem_Ichitaro_10_template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Ichitaro 8/9/10/11 Template</value> -</prop> -</node> -<node oor:name="writer_StarOffice_XML_Writer_Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Text Document Template</value> -</prop> -</node> -<node oor:name="writer8"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Text</value> -</prop> -</node> -<node oor:name="writer8_template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Text Template</value> -</prop> -</node> -<node oor:name="MS Word 2003 XML"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Microsoft Word 2003 XML</value> -</prop> -</node> -<node oor:name="HTML"> -<prop oor:name="UIName"> -<value xml:lang="en-US">HTML Document</value> -</prop> -</node> -<node oor:name="StarWriter/Web 4.0 Vorlage/Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarWriter/Web 4.0 Template</value> -</prop> -</node> -<node oor:name="StarWriter/Web 5.0 Vorlage/Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarWriter/Web 5.0 Template</value> -</prop> -</node> -<node oor:name="Text (StarWriter/Web)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Text (%productname% Writer/Web)</value> -</prop> -</node> -<node oor:name="Text (encoded) (StarWriter/Web)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Text Encoded (%productname% Writer/Web)</value> -</prop> -</node> -<node oor:name="writer_web_StarOffice_XML_Writer"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Text Document (%productname% Writer/Web)</value> -</prop> -</node> -<node oor:name="writer_web_StarOffice_XML_Writer_Web_Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% HTML Template</value> -</prop> -</node> -<node oor:name="writerweb8_writer_template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">HTML Document Template</value> -</prop> -</node> -<node oor:name="writerweb8_writer"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% Text (%productname% Writer/Web)</value> -</prop> -</node> -<node oor:name="StarWriter 4.0/GlobalDocument"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarWriter 4.0 Master Document</value> -</prop> -</node> -<node oor:name="StarWriter 5.0/GlobalDocument"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarWriter 5.0 Master Document</value> -</prop> -</node> -<node oor:name="Text (encoded) (StarWriter/GlobalDocument)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Text Encoded (%productname% Master Document)</value> -</prop> -</node> -<node oor:name="writer_globaldocument_StarOffice_XML_Writer"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Text Document</value> -</prop> -</node> -<node oor:name="writer_globaldocument_StarOffice_XML_Writer_GlobalDocument"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Master Document</value> -</prop> -</node> -<node oor:name="writerglobal8"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Master Document</value> -</prop> -</node> -<node oor:name="writerglobal8_writer"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Text</value> -</prop> -</node> -<node oor:name="HTML (StarCalc)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">HTML Document (%productname% Calc)</value> -</prop> -</node> -<node oor:name="MS Excel 4.0 Vorlage/Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Microsoft Excel 4.0 Template</value> -</prop> -</node> -<node oor:name="MS Excel 5.0/95 Vorlage/Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Microsoft Excel 5.0 Template</value> -</prop> -</node> -<node oor:name="MS Excel 95 Vorlage/Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Microsoft Excel 95 Template</value> -</prop> -</node> -<node oor:name="MS Excel 97 Vorlage/Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Microsoft Excel 97/2000/XP Template</value> -</prop> -</node> -<node oor:name="StarCalc 3.0 Vorlage/Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarCalc 3.0 Template</value> -</prop> -</node> -<node oor:name="StarCalc 4.0 Vorlage/Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarCalc 4.0 Template</value> -</prop> -</node> -<node oor:name="StarCalc 5.0 Vorlage/Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarCalc 5.0 Template</value> -</prop> -</node> -<node oor:name="StarOffice XML (Calc)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Spreadsheet</value> -</prop> -</node> -<node oor:name="Text - txt - csv (StarCalc)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Text CSV</value> -</prop> -</node> -<node oor:name="calc_HTML_WebQuery"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Web Page Query (%productname% Calc)</value> -</prop> -</node> -<node oor:name="calc_StarOffice_XML_Calc_Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Spreadsheet Template</value> -</prop> -</node> -<node oor:name="calc8"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Spreadsheet</value> -</prop> -</node> -<node oor:name="calc8_template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Spreadsheet Template</value> -</prop> -</node> -<node oor:name="MS Excel 2003 XML"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Microsoft Excel 2003 XML</value> -</prop> -</node> -<node oor:name="StarDraw 3.0 Vorlage"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarDraw 3.0 Template</value> -</prop> -</node> -<node oor:name="StarDraw 5.0 Vorlage"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarDraw 5.0 Template</value> -</prop> -</node> -<node oor:name="StarOffice XML (Draw)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Drawing</value> -</prop> -</node> -<node oor:name="draw_StarOffice_XML_Draw_Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Drawing Template</value> -</prop> -</node> -<node oor:name="draw8"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Drawing</value> -</prop> -</node> -<node oor:name="draw8_template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Drawing Template</value> -</prop> -</node> -<node oor:name="MS PowerPoint 97 Vorlage"> -<prop oor:name="UIName"> -<value xml:lang="en-US">Microsoft PowerPoint 97/2000/XP Template</value> -</prop> -</node> -<node oor:name="StarDraw 3.0 Vorlage (StarImpress)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarDraw 3.0 Template (%productname% Impress)</value> -</prop> -</node> -<node oor:name="StarDraw 5.0 Vorlage (StarImpress)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarDraw 5.0 Template (%productname% Impress)</value> -</prop> -</node> -<node oor:name="impress_StarOffice_XML_Draw"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Drawing (%productname% Impress)</value> -</prop> -</node> -<node oor:name="StarImpress 4.0 Vorlage"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarImpress 4.0 Template</value> -</prop> -</node> -<node oor:name="StarImpress 5.0 Vorlage"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarImpress 5.0 Template</value> -</prop> -</node> -<node oor:name="StarImpress 5.0 (packed)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">StarImpress 5.0 Packed</value> -</prop> -</node> -<node oor:name="StarOffice XML (Impress)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Presentation</value> -</prop> -</node> -<node oor:name="impress_StarOffice_XML_Impress_Template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Presentation Template</value> -</prop> -</node> -<node oor:name="impress8"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Presentation</value> -</prop> -</node> -<node oor:name="impress8_template"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Presentation Template</value> -</prop> -</node> -<node oor:name="impress8_draw"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Drawing (Impress)</value> -</prop> -</node> -<node oor:name="StarOffice XML (Chart)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Chart</value> -</prop> -</node> -<node oor:name="chart8"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Chart</value> -</prop> -</node> -<node oor:name="StarOffice XML (Math)"> -<prop oor:name="UIName"> -<value xml:lang="en-US">%productname% %formatversion% Formula</value> -</prop> -</node> -<node oor:name="math8"> -<prop oor:name="UIName"> -<value xml:lang="en-US">OpenDocument Formula</value> -</prop> -</node> -<node oor:name="draw_html_Export"> -<prop oor:name="UIName"> -<value xml:lang="en-US">HTML Document (%productname% Draw)</value> -</prop> -</node> -<node oor:name="impress_html_Export"> -<prop oor:name="UIName"> -<value xml:lang="en-US">HTML Document (%productname% Impress)</value> -</prop> -</node> -</node> -</oor:component-data> diff --git a/app-office/openoffice/files/2.0.0/build-beanshell-fix.diff b/app-office/openoffice/files/2.0.0/build-beanshell-fix.diff deleted file mode 100644 index 96209f48435d..000000000000 --- a/app-office/openoffice/files/2.0.0/build-beanshell-fix.diff +++ /dev/null @@ -1,8 +0,0 @@ ---- beanshell/prj/build.lst -+++ beanshell/prj/build.lst -@@ -1,4 +1,4 @@ --be beanshell : solenv NULL -+be beanshell : solenv soltools NULL - be beanshell usr1 - all be_mkout NULL - be beanshell nmake - all be_beanshell NULL - diff --git a/app-office/openoffice/files/2.0.0/buildfix-new-xslt.diff b/app-office/openoffice/files/2.0.0/buildfix-new-xslt.diff new file mode 100644 index 000000000000..26e7fdb5a3eb --- /dev/null +++ b/app-office/openoffice/files/2.0.0/buildfix-new-xslt.diff @@ -0,0 +1,41 @@ +--- filter/source/config/fragments/langfilter.xsl.org 2005-10-27 20:38:20.000000000 +0200 ++++ filter/source/config/fragments/langfilter.xsl 2005-10-27 20:38:44.000000000 +0200 +@@ -2,19 +2,35 @@ + <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:oor="http://openoffice.org/2001/registry"> + <xsl:output method="xml" indent="yes" omit-xml-declaration="no" version="1.0" encoding="UTF-8"/> + <xsl:param name="lang"/> +-<xsl:template match="*[.//*[@xml:lang=$lang]] | @*"> ++<xsl:template match="*"> ++ <xsl:if test="count(.//*[@xml:lang=$lang])>0"> + <xsl:copy> + <xsl:apply-templates select="*|@*"/> + </xsl:copy> ++ </xsl:if> + </xsl:template> + +-<xsl:template match="value[@xml:lang=$lang] | text()[../@xml:lang=$lang]"> ++<xsl:template match="@*"> ++ <xsl:copy> ++ <xsl:apply-templates select="*|@*"/> ++ </xsl:copy> ++</xsl:template> ++ ++<xsl:template match="value"> ++ <xsl:if test="@xml:lang=$lang"> + <xsl:copy> + <xsl:apply-templates select="@*|text()"/> + </xsl:copy> ++ </xsl:if> + </xsl:template> + +-<xsl:template match="text()"/> ++<xsl:template match="text()"> ++ <xsl:if test="../@xml:lang=$lang"> ++ <xsl:copy> ++ <xsl:apply-templates select="@*|text()"/> ++ </xsl:copy> ++ </xsl:if> ++</xsl:template> + + + </xsl:stylesheet> diff --git a/app-office/openoffice/files/2.0.0/gentoo-2.0.0.diff b/app-office/openoffice/files/2.0.0/gentoo-2.0.0.diff index 93653ada7315..06a9ea343f1b 100644 --- a/app-office/openoffice/files/2.0.0/gentoo-2.0.0.diff +++ b/app-office/openoffice/files/2.0.0/gentoo-2.0.0.diff @@ -1,15 +1,15 @@ --- patches/OOO_2_0/apply +++ patches/OOO_2_0/apply -@@ -496,6 +496,9 @@ - buildfix-ucb-without-stlport4.diff - buildfix-svx-without-stlport4.diff +@@ -742,6 +742,9 @@ + default-system-fpicker.diff + # Fix for build breakage on PPC + stlport-ppc-buildfix.diff ++# Fix for broken filters without java i#56619 ++nojava-fix-stringparam.diff ++buildfix-new-xslt.diff -+# Fix beanshell dep -+build-beanshell-fix.diff -+ - [ ArkOnly ] - system-db-4.3-use-lpthread.diff - # FIXME this is generally useful -- currently applied here only because + # + # NOTE: 64 bit OOo is work in progress! --- bin/package-ooo +++ bin/package-ooo @@ -124,11 +124,11 @@ diff --git a/app-office/openoffice/files/2.0.0/nojava-fix-stringparam.diff b/app-office/openoffice/files/2.0.0/nojava-fix-stringparam.diff new file mode 100644 index 000000000000..bff02690aa1a --- /dev/null +++ b/app-office/openoffice/files/2.0.0/nojava-fix-stringparam.diff @@ -0,0 +1,39 @@ +Index: source/config/fragments/makefile.mk +=================================================================== +RCS file: /cvs/framework/filter/source/config/fragments/makefile.mk,v +retrieving revision 1.12 +diff -u -u -r1.12 makefile.mk +--- filter/source/config/fragments/makefile.mk 8 Sep 2005 21:33:23 -0000 1.12 ++++ filter/source/config/fragments/makefile.mk 25 Oct 2005 18:24:46 -0000 +@@ -147,13 +147,20 @@ + .IF "$(SOLAR_JAVA)"=="" + #cmc, hack to workaround the java build requirement + MERGE:=python ../tools/merge/pyAltFCFGMerge ++PACKLANG := $(XSLTPROC) ++PACKLANG_IN := ++PACKLANG_PARAM := --stringparam ++PACKLANG_XSL := + .ELSE + MERGE := $(JAVA) -jar $(CLASSDIR)$/FCFGMerge.jar + .IF "$(JDK)" == "gcj" +-PACKLANG := $(JAVA) $(JAVACPS) $(SOLARBINDIR)/xalan.jar org.apache.xalan.xslt.Process -XSL langfilter.xsl ++PACKLANG := $(JAVA) $(JAVACPS) $(SOLARBINDIR)/xalan.jar org.apache.xalan.xslt.Process + .ELSE +-PACKLANG := $(JAVA) org.apache.xalan.xslt.Process -XSL langfilter.xsl ++PACKLANG := $(JAVA) org.apache.xalan.xslt.Process + .ENDIF ++PACKLANG_IN := -IN ++PACKLANG_PARAM := -PARAM ++PACKLANG_XSL := -XSL + .ENDIF + + # ----------------------------------------------------------------------------- +@@ -182,7 +191,7 @@ + +@echo Building language packages $(@:b:s/Filter_//) for filters + +@echo =================================================================== + +-$(MKDIRHIER) $(@:d) +- +$(PACKLANG) -IN $< -PARAM lang $(@:d:d:d:d:d:d:d:d:b) > $@ ++ +$(PACKLANG) $(PACKLANG_PARAM) lang $(@:d:d:d:d:d:d:d:d:b) $(PACKLANG_XSL) langfilter.xsl $(PACKLANG_IN) $< > $@ + + $(REALFILTERPACKAGES_FILTERS_UI_LANGPACKS_PACKED) : $(REALFILTERPACKAGES_FILTERS_UI_LANGPACKS) + |