From e7a1e17c4fdea4103e7f921e8cd9c315c1dbe612 Mon Sep 17 00:00:00 2001 From: Peter Foley Date: Wed, 21 Sep 2011 15:38:53 -0400 Subject: convert swext to gbuild and add to tail_build --- swext/Configuration_mediawiki.mk | 50 +++++ swext/Extension_wiki-publisher.mk | 62 ++++++ swext/Jar_mediawiki.mk | 72 +++++++ swext/Makefile | 38 ++++ swext/Module_swext.mk | 39 ++++ swext/Zip_mediawiki_develop.mk | 60 ++++++ swext/makefile.pmk | 37 ---- swext/mediawiki/build.xml | 226 --------------------- swext/mediawiki/help/makefile.mk | 81 -------- swext/mediawiki/help/wiki.xhp | 12 +- swext/mediawiki/help/wikiaccount.xhp | 2 +- swext/mediawiki/help/wikiformats.xhp | 2 +- swext/mediawiki/help/wikisend.xhp | 2 +- swext/mediawiki/help/wikisettings.xhp | 4 +- swext/mediawiki/makefile.mk | 69 ------- swext/mediawiki/src/com/sun/star/wiki/MANIFEST.MF | 1 + swext/mediawiki/src/component.txt | 0 swext/mediawiki/src/description.xml | 2 +- swext/mediawiki/src/makefile.mk | 59 ------ swext/mediawiki/src/manifest.xml | 51 +++++ .../data/org/openoffice/Office/Custom/makefile.mk | 48 ----- .../data/org/openoffice/Office/OptionsDialog.xcu | 2 +- .../data/org/openoffice/Office/makefile.mk | 46 ----- .../data/org/openoffice/TypeDetection/makefile.mk | 46 ----- .../org/openoffice/Office/Custom/makefile.mk | 46 ----- swext/mediawiki/src/uno-extension-manifest.xml | 51 ----- swext/prj/build.lst | 9 +- swext/prj/d.lst | 5 - swext/prj/makefile.mk | 1 + 29 files changed, 388 insertions(+), 735 deletions(-) create mode 100644 swext/Configuration_mediawiki.mk create mode 100644 swext/Extension_wiki-publisher.mk create mode 100644 swext/Jar_mediawiki.mk create mode 100644 swext/Makefile create mode 100644 swext/Module_swext.mk create mode 100644 swext/Zip_mediawiki_develop.mk delete mode 100644 swext/makefile.pmk delete mode 100644 swext/mediawiki/build.xml delete mode 100644 swext/mediawiki/help/makefile.mk delete mode 100644 swext/mediawiki/makefile.mk create mode 100644 swext/mediawiki/src/com/sun/star/wiki/MANIFEST.MF mode change 100644 => 100755 swext/mediawiki/src/component.txt delete mode 100644 swext/mediawiki/src/makefile.mk create mode 100644 swext/mediawiki/src/manifest.xml delete mode 100644 swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/makefile.mk delete mode 100644 swext/mediawiki/src/registry/data/org/openoffice/Office/makefile.mk delete mode 100644 swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/makefile.mk delete mode 100644 swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/makefile.mk delete mode 100644 swext/mediawiki/src/uno-extension-manifest.xml create mode 100644 swext/prj/makefile.mk (limited to 'swext') diff --git a/swext/Configuration_mediawiki.mk b/swext/Configuration_mediawiki.mk new file mode 100644 index 000000000000..9ece045fdddc --- /dev/null +++ b/swext/Configuration_mediawiki.mk @@ -0,0 +1,50 @@ +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Initial Developer of the Original Code is +# Peter Foley +# Portions created by the Initial Developer are Copyright (C) 2011 the +# Initial Developer. All Rights Reserved. +# +# Major Contributor(s): +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. +# + +$(eval $(call gb_Configuration_Configuration,mediawiki,SRCDIR)) + +$(eval $(call gb_Configuration_add_datas,mediawiki,swext/mediawiki/src/registry/data,\ + org/openoffice/Office/Addons.xcu \ + org/openoffice/Office/OptionsDialog.xcu \ + org/openoffice/Office/ProtocolHandler.xcu \ + org/openoffice/Office/Paths.xcu \ + org/openoffice/Office/Custom/WikiExtension.xcu \ + org/openoffice/TypeDetection/Filter.xcu \ + org/openoffice/TypeDetection/Types.xcu \ +)) + +$(eval $(call gb_Configuration_add_localized_datas,mediawiki,swext/mediawiki/src/registry/data,\ + org/openoffice/Office/Addons.xcu \ + org/openoffice/Office/OptionsDialog.xcu \ + org/openoffice/Office/Custom/WikiExtension.xcu \ +)) + +$(eval $(call gb_Configuration_add_schemas,mediawiki,swext/mediawiki/src/registry/schema,\ + org/openoffice/Office/Custom/WikiExtension.xcs \ +)) diff --git a/swext/Extension_wiki-publisher.mk b/swext/Extension_wiki-publisher.mk new file mode 100644 index 000000000000..278b467d5a35 --- /dev/null +++ b/swext/Extension_wiki-publisher.mk @@ -0,0 +1,62 @@ +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Initial Developer of the Original Code is +# Peter Foley +# Portions created by the Initial Developer are Copyright (C) 2011 the +# Initial Developer. All Rights Reserved. +# +# Major Contributor(s): +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. +# + +WIKISRC := $(SRCDIR)/swext/mediawiki + +$(eval $(call gb_Extension_Extension,wiki-publisher,swext/mediawiki/src)) + +$(eval $(call gb_Extension_add_file,wiki-publisher,commons-codec-1.3.jar,$(OUTDIR)/bin/commons-codec-1.3.jar)) +$(eval $(call gb_Extension_add_file,wiki-publisher,commons-httpclient-3.1.jar,$(OUTDIR)/bin/commons-httpclient-3.1.jar)) +$(eval $(call gb_Extension_add_file,wiki-publisher,commons-lang-2.3.jar,$(OUTDIR)/bin/commons-lang-2.3.jar)) +$(eval $(call gb_Extension_add_file,wiki-publisher,commons-logging-1.1.1.jar,$(OUTDIR)/bin/commons-logging-1.1.1.jar)) +$(eval $(call gb_Extension_add_file,wiki-publisher,Addons.xcu,$(WIKISRC)/src/registry/data/org/openoffice/Office/Addons.xcu)) +$(eval $(call gb_Extension_add_file,wiki-publisher,Filter.xcu,$(WIKISRC)/src/registry/data/org/openoffice/TypeDetection/Filter.xcu)) +$(eval $(call gb_Extension_add_file,wiki-publisher,OptionsDialog.xcu,$(WIKISRC)/src/registry/data/org/openoffice/Office/OptionsDialog.xcu)) +$(eval $(call gb_Extension_add_file,wiki-publisher,Paths.xcu,$(WIKISRC)/src/registry/data/org/openoffice/Office/Paths.xcu)) +$(eval $(call gb_Extension_add_file,wiki-publisher,ProtocolHandler.xcu,$(WIKISRC)/src/registry/data/org/openoffice/Office/ProtocolHandler.xcu)) +$(eval $(call gb_Extension_add_file,wiki-publisher,Types.xcu,$(WIKISRC)/src/registry/data/org/openoffice/TypeDetection/Types.xcu)) +$(eval $(call gb_Extension_add_file,wiki-publisher,WikiExtension.xcs,$(WIKISRC)/src/registry/schema/org/openoffice/Office/Custom/WikiExtension.xcs)) +$(eval $(call gb_Extension_add_file,wiki-publisher,WikiExtension.xcu,$(WIKISRC)/src/registry/data/org/openoffice/Office/Custom/WikiExtension.xcu)) +$(eval $(call gb_Extension_add_file,wiki-publisher,mediawiki.jar,$(OUTDIR)/bin/mediawiki.jar)) +$(eval $(call gb_Extension_add_file,wiki-publisher,WikiEditor/EditSetting.xdl,$(WIKISRC)/dialogs/EditSetting.xdl)) +$(eval $(call gb_Extension_add_file,wiki-publisher,WikiEditor/Settings.xdl,$(WIKISRC)/dialogs/Settings.xdl)) +$(eval $(call gb_Extension_add_file,wiki-publisher,WikiEditor/Module1.xba,$(WIKISRC)/dialogs/Module1.xba)) +$(eval $(call gb_Extension_add_file,wiki-publisher,WikiEditor/script.xlb,$(WIKISRC)/dialogs/script.xlb)) +$(eval $(call gb_Extension_add_file,wiki-publisher,WikiEditor/dialog.xlb,$(WIKISRC)/dialogs/dialog.xlb)) +$(eval $(call gb_Extension_add_file,wiki-publisher,WikiEditor/SendToMediaWiki.xdl,$(WIKISRC)/dialogs/SendToMediaWiki.xdl)) +$(eval $(call gb_Extension_add_file,wiki-publisher,filter/odt2mediawiki.xsl,$(WIKISRC)/src/filter/odt2mediawiki.xsl)) +$(eval $(call gb_Extension_add_file,wiki-publisher,component.txt,$(WIKISRC)/src/component.txt)) +$(eval $(call gb_Extension_add_file,wiki-publisher,help/en-US/com.sun.wiki-publisher/wikisend.xhp,$(WIKISRC)/help/wikisend.xhp)) +$(eval $(call gb_Extension_add_file,wiki-publisher,help/en-US/com.sun.wiki-publisher/wikiformats.xhp,$(WIKISRC)/help/wikiformats.xhp)) +$(eval $(call gb_Extension_add_file,wiki-publisher,help/en-US/com.sun.wiki-publisher/wikiaccount.xhp,$(WIKISRC)/help/wikiaccount.xhp)) +$(eval $(call gb_Extension_add_file,wiki-publisher,help/en-US/com.sun.wiki-publisher/wiki.xhp,$(WIKISRC)/help/wiki.xhp)) +$(eval $(call gb_Extension_add_file,wiki-publisher,help/en-US/com.sun.wiki-publisher/wikisettings.xhp,$(WIKISRC)/help/wikisettings.xhp)) +$(eval $(call gb_Extension_add_file,wiki-publisher,license/THIRDPARTYLICENSEREADME.html,$(WIKISRC)/src/THIRDPARTYLICENSEREADME.html)) +$(eval $(call gb_Extension_add_file,wiki-publisher,templates/MediaWiki/mediawiki.ott,$(WIKISRC)/src/filter/mediawiki.ott)) + diff --git a/swext/Jar_mediawiki.mk b/swext/Jar_mediawiki.mk new file mode 100644 index 000000000000..acafa8636587 --- /dev/null +++ b/swext/Jar_mediawiki.mk @@ -0,0 +1,72 @@ +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Initial Developer of the Original Code is +# Peter Foley +# Portions created by the Initial Developer are Copyright (C) 2011 the +# Initial Developer. All Rights Reserved. +# +# Major Contributor(s): +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. +# + +$(eval $(call gb_Jar_Jar,mediawiki,SRCDIR)) + +$(eval $(call gb_Jar_set_packageroot,mediawiki,com)) + +$(eval $(call gb_Jar_set_manifest,mediawiki,$(SRCDIR)/swext/mediawiki/src/com/sun/star/wiki/MANIFEST.MF)) + +$(eval $(call gb_Jar_set_jarclasspath,mediawiki,\ + commons-codec-1.3.jar \ + commons-lang-2.3.jar \ + commons-httpclient-3.1.jar \ + commons-logging-1.1.1.jar \ +)) + +$(eval $(call gb_Jar_add_jars,mediawiki,\ + $(OUTDIR)/bin/juh.jar \ + $(OUTDIR)/bin/jurt.jar \ + $(OUTDIR)/bin/ridl.jar \ + $(OUTDIR)/bin/unoil.jar \ +)) + +ifneq ($(SYSTEM_APACHE_COMMONS),YES) +$(eval $(call gb_Jar_add_jars,mediawiki,\ + $(OUTDIR)/bin/commons-codec-1.3.jar \ + $(OUTDIR)/bin/commons-lang-2.3.jar \ + $(OUTDIR)/bin/commons-httpclient-3.1.jar \ + $(OUTDIR)/bin/commons-logging-1.1.1.jar \ +)) +endif + +$(eval $(call gb_Jar_add_sourcefiles,mediawiki,\ + swext/mediawiki/src/com/sun/star/wiki/EditPageParser \ + swext/mediawiki/src/com/sun/star/wiki/Helper \ + swext/mediawiki/src/com/sun/star/wiki/MainThreadDialogExecutor \ + swext/mediawiki/src/com/sun/star/wiki/Settings \ + swext/mediawiki/src/com/sun/star/wiki/WikiArticle \ + swext/mediawiki/src/com/sun/star/wiki/WikiCancelException \ + swext/mediawiki/src/com/sun/star/wiki/WikiDialog \ + swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl \ + swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog \ + swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl \ + swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog \ + swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory \ +)) diff --git a/swext/Makefile b/swext/Makefile new file mode 100644 index 000000000000..5bedaf0b9dcf --- /dev/null +++ b/swext/Makefile @@ -0,0 +1,38 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +ifeq ($(strip $(SOLARENV)),) +$(error No environment set!) +endif + +gb_PARTIALBUILD := T +GBUILDDIR := $(SOLARENV)/gbuild +include $(GBUILDDIR)/gbuild.mk + +$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk))) + +# vim: set noet sw=4 ts=4: diff --git a/swext/Module_swext.mk b/swext/Module_swext.mk new file mode 100644 index 000000000000..00229f886585 --- /dev/null +++ b/swext/Module_swext.mk @@ -0,0 +1,39 @@ +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Initial Developer of the Original Code is +# Peter Foley +# Portions created by the Initial Developer are Copyright (C) 2011 the +# Initial Developer. All Rights Reserved. +# +# Major Contributor(s): +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. +# + +$(eval $(call gb_Module_Module,swext)) + +ifeq ($(ENABLE_MEDIAWIKI),YES) +$(eval $(call gb_Module_add_targets,swext,\ + Jar_mediawiki \ + Configuration_mediawiki \ + Zip_mediawiki_develop \ + Extension_wiki-publisher \ +)) +endif diff --git a/swext/Zip_mediawiki_develop.mk b/swext/Zip_mediawiki_develop.mk new file mode 100644 index 000000000000..cb99ce894cd1 --- /dev/null +++ b/swext/Zip_mediawiki_develop.mk @@ -0,0 +1,60 @@ +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Initial Developer of the Original Code is +# Peter Foley +# Portions created by the Initial Developer are Copyright (C) 2011 the +# Initial Developer. All Rights Reserved. +# +# Major Contributor(s): +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. +# + +WIKISRC := $(SRCDIR)/swext/mediawiki + +$(eval $(call gb_Zip_Zip,mediawiki_develop,$(WORKDIR)/Zip/mediawiki_develop)) + +$(eval $(call gb_Zip_add_file,mediawiki_develop,Addons.xcu,$(WIKISRC)/src/registry/data/org/openoffice/Office/Addons.xcu)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,Filter.xcu,$(WIKISRC)/src/registry/data/org/openoffice/TypeDetection/Filter.xcu)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,OptionsDialog.xcu,$(WIKISRC)/src/registry/data/org/openoffice/Office/OptionsDialog.xcu)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,Paths.xcu,$(WIKISRC)/src/registry/data/org/openoffice/Office/Paths.xcu)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,ProtocolHandler.xcu,$(WIKISRC)/src/registry/data/org/openoffice/Office/ProtocolHandler.xcu)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,Types.xcu,$(WIKISRC)/src/registry/data/org/openoffice/TypeDetection/Types.xcu)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,WikiExtension.xcs,$(WIKISRC)/src/registry/schema/org/openoffice/Office/Custom/WikiExtension.xcs)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,WikiExtension.xcu,$(WIKISRC)/src/registry/data/org/openoffice/Office/Custom/WikiExtension.xcu)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,description.xml,$(WIKISRC)/src/description.xml)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,mediawiki.jar,$(OUTDIR)/bin/mediawiki.jar)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,META-INF/manifest.xml,$(WIKISRC)/src/manifest.xml)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,WikiEditor/EditSetting.xdl,$(WIKISRC)/dialogs/EditSetting.xdl)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,WikiEditor/Settings.xdl,$(WIKISRC)/dialogs/Settings.xdl)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,WikiEditor/Module1.xba,$(WIKISRC)/dialogs/Module1.xba)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,WikiEditor/script.xlb,$(WIKISRC)/dialogs/script.xlb)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,WikiEditor/dialog.xlb,$(WIKISRC)/dialogs/dialog.xlb)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,WikiEditor/SendToMediaWiki.xdl,$(WIKISRC)/dialogs/SendToMediaWiki.xdl)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,filter/odt2mediawiki.xsl,$(WIKISRC)/src/filter/odt2mediawiki.xsl)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,component.txt,$(WIKISRC)/src/component.txt)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,help/en-US/com.sun.wiki-publisher/wikisend.xhp,$(WIKISRC)/help/wikisend.xhp)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,help/en-US/com.sun.wiki-publisher/wikiformats.xhp,$(WIKISRC)/help/wikiformats.xhp)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,help/en-US/com.sun.wiki-publisher/wikiaccount.xhp,$(WIKISRC)/help/wikiaccount.xhp)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,help/en-US/com.sun.wiki-publisher/wiki.xhp,$(WIKISRC)/help/wiki.xhp)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,help/en-US/com.sun.wiki-publisher/wikisettings.xhp,$(WIKISRC)/help/wikisettings.xhp)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,license/THIRDPARTYLICENSEREADME.html,$(WIKISRC)/src/THIRDPARTYLICENSEREADME.html)) +$(eval $(call gb_Zip_add_file,mediawiki_develop,templates/MediaWiki/mediawiki.ott,$(WIKISRC)/src/filter/mediawiki.ott)) + diff --git a/swext/makefile.pmk b/swext/makefile.pmk deleted file mode 100644 index 8e43f2f723f0..000000000000 --- a/swext/makefile.pmk +++ /dev/null @@ -1,37 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -XSLDIR=$(SOLARXMLDIR)$/processing -XCSROOT=$(SOLARXMLDIR) -ABSXCSROOT=$(SOLARXMLDIR) -DTDDIR=$(SOLARXMLDIR) -PROCESSOUT=$(MISC)$/$(CUSTID) -PROCESSORDIR=$(SOLARBINDIR) - -# no validation by inspector class -NO_INSPECTION=TRUE - diff --git a/swext/mediawiki/build.xml b/swext/mediawiki/build.xml deleted file mode 100644 index f941e39529d3..000000000000 --- a/swext/mediawiki/build.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This target can only run inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/swext/mediawiki/help/makefile.mk b/swext/mediawiki/help/makefile.mk deleted file mode 100644 index 70ed4cd1eb1d..000000000000 --- a/swext/mediawiki/help/makefile.mk +++ /dev/null @@ -1,81 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. -PRJNAME=swext -TARGET=$(PRJNAME)_help - -.INCLUDE : settings.mk - -.IF "$(WITH_LANG)"!="" -# workaround for the problem in help, the help uses en instead of en-US -MEDIAWIKI_LANG=$(uniq en $(alllangiso)) -aux_alllangiso:=$(MEDIAWIKI_LANG) -.ELSE # "$(WITH_LANG)"!="" -aux_alllangiso:=$(defaultlangiso) -MEDIAWIKI_LANG=$(uniq en $(alllangiso)) -.ENDIF # "$(WITH_LANG)"!="" - -.IF "$(ENABLE_MEDIAWIKI)" != "YES" -all: - @echo Building mediawiki disabled... -.ELSE # "$(ENABLE_MEDIAWIKI)" != "YES" - -PACKAGE=com.sun.wiki-publisher - -OUT_MEDIAWIKI:=$(MISC)$/mediawiki - -LINKNAME:=help -XHPLINKSRC:=$(OUT_MEDIAWIKI)/help - -XHPDEST=$(OUT_MEDIAWIKI)_merge/help - -XHPFILES= \ - wiki.xhp\ - wikiaccount.xhp\ - wikiformats.xhp\ - wikisend.xhp\ - wikisettings.xhp - -LINKLINKFILES= \ - $(PACKAGE)/{$(XHPFILES)} - -# define with own language set -HLANGXHPFILES=$(foreach,i,$(XHPFILES) $(foreach,j,$(MEDIAWIKI_LANG) $(XHPDEST)$/$j$/$(PACKAGE)$/$(i:f))) - -.INCLUDE : target.mk -.INCLUDE : tg_help.mk -.INCLUDE : extension_helplink.mk - -$(OUT_MEDIAWIKI)/help/%.xhp : $(OUT_MEDIAWIKI)_merge/help/%.xhp - @-$(MKDIRHIER) $(@:d) - $(COMMAND_ECHO)cat $< | \ - sed 's/@WIKIEXTENSIONID@/com.sun.wiki-publisher/g' | \ - sed 's/@WIKIEXTENSIONFILENAME@/wiki-publisher/g' > $@ - -.ENDIF # "$(ENABLE_MEDIAWIKI)" != "YES" - diff --git a/swext/mediawiki/help/wiki.xhp b/swext/mediawiki/help/wiki.xhp index 20a57b58cb22..8d49b1385715 100644 --- a/swext/mediawiki/help/wiki.xhp +++ b/swext/mediawiki/help/wiki.xhp @@ -30,7 +30,7 @@ Wiki Publisher -/@WIKIEXTENSIONID@/wiki.xhp +/com.sun.wiki-publisher/wiki.xhp @@ -73,7 +73,7 @@ In the Extension Manager dialog, click Add. -Locate the @WIKIEXTENSIONFILENAME@.oxt file, click Open, and then click Close. +Locate the wiki-publisher.oxt file, click Open, and then click Close. Close %PRODUCTNAME, and close also the Quickstarter if enabled. @@ -102,10 +102,10 @@ Open a Writer document, and choose Tools - Options - Internet - MediaWiki. -In the Options dialog, click Add. +In the Options dialog, click Add. -In the MediaWiki dialog, enter the account information for the Wiki. +In the MediaWiki dialog, enter the account information for the Wiki. @@ -128,13 +128,13 @@ Open a Writer document. -Write the content of the Wiki page. You can use formatting like text formats, headings, footnotes, and more. See the list of supported formats. +Write the content of the Wiki page. You can use formatting like text formats, headings, footnotes, and more. See the list of supported formats. Choose File - Send - To MediaWiki. -In the Send to MediaWiki dialog, specify the settings for your entry. +In the Send to MediaWiki dialog, specify the settings for your entry. diff --git a/swext/mediawiki/help/wikiaccount.xhp b/swext/mediawiki/help/wikiaccount.xhp index 8d1d57ba1d25..3254de7e8128 100644 --- a/swext/mediawiki/help/wikiaccount.xhp +++ b/swext/mediawiki/help/wikiaccount.xhp @@ -30,7 +30,7 @@ MediaWiki -/@WIKIEXTENSIONID@/wikiaccount.xhp +/com.sun.wiki-publisher/wikiaccount.xhp diff --git a/swext/mediawiki/help/wikiformats.xhp b/swext/mediawiki/help/wikiformats.xhp index eb02a5f4ad96..86db68dd8205 100644 --- a/swext/mediawiki/help/wikiformats.xhp +++ b/swext/mediawiki/help/wikiformats.xhp @@ -30,7 +30,7 @@ MediaWiki Formats -/@WIKIEXTENSIONID@/wikiformats.xhp +/com.sun.wiki-publisher/wikiformats.xhp diff --git a/swext/mediawiki/help/wikisend.xhp b/swext/mediawiki/help/wikisend.xhp index f9a5613b5184..f34b0e5e4377 100644 --- a/swext/mediawiki/help/wikisend.xhp +++ b/swext/mediawiki/help/wikisend.xhp @@ -30,7 +30,7 @@ Send to MediaWiki -/@WIKIEXTENSIONID@/wikisend.xhp +/com.sun.wiki-publisher/wikisend.xhp diff --git a/swext/mediawiki/help/wikisettings.xhp b/swext/mediawiki/help/wikisettings.xhp index ce15f11c187c..d7994e00c931 100644 --- a/swext/mediawiki/help/wikisettings.xhp +++ b/swext/mediawiki/help/wikisettings.xhp @@ -30,7 +30,7 @@ MediaWiki Options -/@WIKIEXTENSIONID@/wikisettings.xhp +/com.sun.wiki-publisher/wikisettings.xhp @@ -49,6 +49,6 @@ Opens the MediaWiki dialog to edit the selected entry.Remove button Removes the selected entry from the list. -When you click Add or Edit, the MediaWiki dialog opens. +When you click Add or Edit, the MediaWiki dialog opens. diff --git a/swext/mediawiki/makefile.mk b/swext/mediawiki/makefile.mk deleted file mode 100644 index 52d9900ab1e6..000000000000 --- a/swext/mediawiki/makefile.mk +++ /dev/null @@ -1,69 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=.. -PRJNAME=swext -TARGET=mediawiki -.IF "$(L10N_framework)"=="" -.IF "$(ENABLE_MEDIAWIKI)" == "YES" -.INCLUDE : ant.mk - -.IF "$(SYSTEM_APACHE_COMMONS)" != "YES" -COMMONS_CODEC_JAR=$(SOLARVER)$/$(INPATH)$/bin$(UPDMINOREXT)$/commons-codec-1.3.jar -COMMONS_LANG_JAR=$(SOLARVER)$/$(INPATH)$/bin$(UPDMINOREXT)$/commons-lang-2.3.jar -COMMONS_HTTPCLIENT_JAR=$(SOLARVER)$/$(INPATH)$/bin$(UPDMINOREXT)$/commons-httpclient-3.1.jar -COMMONS_LOGGING_JAR=$(SOLARVER)$/$(INPATH)$/bin$(UPDMINOREXT)$/commons-logging-1.1.1.jar -.ELSE -COMP=fix_system_commons -.ENDIF - -.IF defined(debug) || defined(DEBUG) -ANTDEBUG=true -.ELSE -ANTDEBUG=off -.ENDIF - -ANT_FLAGS+=-Dcommons-codec-jar=$(COMMONS_CODEC_JAR) -Dcommons-lang-jar=$(COMMONS_LANG_JAR) -Dcommons-httpclient-jar=$(COMMONS_HTTPCLIENT_JAR) -Dcommons-logging-jar=$(COMMONS_LOGGING_JAR) -Dantdebug=$(ANTDEBUG) - -# creates two files wiki-publisher.oxt and mediawiki_develop.zip, the second one might be used in further build process -ALLTAR: $(COMP) ANTBUILD - -fix_system_commons: - @echo "Fix Java Class-Path entry for Apache Commons libraries from system." - @$(SED) -r -e "s#(name=\"Class-Path\" value=\").*\"#\1file://$(COMMONS_CODEC_JAR) file://$(COMMONS_LANG_JAR) \ -file://$(COMMONS_HTTPCLIENT_JAR) file://$(COMMONS_LOGGING_JAR)\"#" -i build.xml - @echo "Unbundle Apache Commons libraries from Mediawiki Presentation extension." - @$(SED) '/file="..commons/d' -i build.xml - -.ELSE -@all: - @echo "MediaWiki Publisher extension disabled." -.ENDIF - -.ELSE -pesudo: -.ENDIF diff --git a/swext/mediawiki/src/com/sun/star/wiki/MANIFEST.MF b/swext/mediawiki/src/com/sun/star/wiki/MANIFEST.MF new file mode 100644 index 000000000000..6f900e21f56b --- /dev/null +++ b/swext/mediawiki/src/com/sun/star/wiki/MANIFEST.MF @@ -0,0 +1 @@ +RegistrationClassName: com.sun.star.wiki.WikiEditorImpl diff --git a/swext/mediawiki/src/component.txt b/swext/mediawiki/src/component.txt old mode 100644 new mode 100755 diff --git a/swext/mediawiki/src/description.xml b/swext/mediawiki/src/description.xml index 11c790e5000d..31dcfe3d9840 100644 --- a/swext/mediawiki/src/description.xml +++ b/swext/mediawiki/src/description.xml @@ -1,7 +1,7 @@ - + Wiki Publisher diff --git a/swext/mediawiki/src/makefile.mk b/swext/mediawiki/src/makefile.mk deleted file mode 100644 index bd1f1bbf75b7..000000000000 --- a/swext/mediawiki/src/makefile.mk +++ /dev/null @@ -1,59 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. -PRJNAME=swext -TARGET=mediawiki -GEN_HID=FALSE - -ENABLE_EXCEPTIONS=TRUE - -# --- Settings ---------------------------------- - -.INCLUDE : settings.mk - -DESCRIPTION:=$(MISC)$/$(TARGET)$/description.xml - -common_build_zip= - -.INCLUDE : target.mk - -ALLTAR: $(DESCRIPTION) $(MISC)/$(TARGET)/component.txt - -.INCLUDE .IGNORE : $(MISC)$/$(TARGET)_lang_track.mk -.IF "$(LAST_WITH_LANG)"!="$(WITH_LANG)" -PHONYDESC=.PHONY -.ENDIF # "$(LAST_WITH_LANG)"!="$(WITH_LANG)" -$(DESCRIPTION) $(PHONYDESC) : $$(@:f) - @@-$(MKDIRHIER) $(@:d) - $(PERL) $(SOLARENV)$/bin$/licinserter.pl description.xml license/LICENSE_xxx $@ - @echo LAST_WITH_LANG=$(WITH_LANG) > $(MISC)$/$(TARGET)_lang_track.mk - -$(MISC)/$(TARGET)/component.txt : component.txt - @-$(MKDIRHIER) $(@:d) - $(COMMAND_ECHO)$(COPY) $< $@ - diff --git a/swext/mediawiki/src/manifest.xml b/swext/mediawiki/src/manifest.xml new file mode 100644 index 000000000000..1f9b839e86c5 --- /dev/null +++ b/swext/mediawiki/src/manifest.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/makefile.mk b/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/makefile.mk deleted file mode 100644 index 82f8303054ab..000000000000 --- a/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/makefile.mk +++ /dev/null @@ -1,48 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/..$/..$/..$/..$/..$/.. -PRJNAME=swext -CUSTID=mediawiki -TARGET=mediawiki_registry_data_Custom -PACKAGE=org.openoffice.Office.Custom - -.INCLUDE : settings.mk -.INCLUDE : ${PRJ}$/makefile.pmk - -ABSXCSROOT=$(PWD)$/$(MISC)$/$(CUSTID) -XCSROOT=$(MISC)$/$(CUSTID) - -.IF "$(ENABLE_MEDIAWIKI)" == "YES" -LOCALIZEDFILES= WikiExtension.xcu - -MODULEFILES= - -XCUFILES = WikiExtension.xcu -.ENDIF - -.INCLUDE : target.mk diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu index f6498c5faef3..5ae52ce668f6 100644 --- a/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu @@ -31,7 +31,7 @@ - @WIKIEXTENSIONID@ + com.sun.wiki-publisher MediaWiki diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/makefile.mk b/swext/mediawiki/src/registry/data/org/openoffice/Office/makefile.mk deleted file mode 100644 index 3d1409827390..000000000000 --- a/swext/mediawiki/src/registry/data/org/openoffice/Office/makefile.mk +++ /dev/null @@ -1,46 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/..$/..$/..$/..$/.. -PRJNAME=swext -CUSTID=mediawiki -TARGET=mediawiki_registry_data_office -PACKAGE=org.openoffice.Office - -.INCLUDE : settings.mk -.INCLUDE : ${PRJ}$/makefile.pmk - -.IF "$(ENABLE_MEDIAWIKI)" == "YES" -LOCALIZEDFILES= Addons.xcu OptionsDialog.xcu - -MODULEFILES= - -XCUFILES = Addons.xcu OptionsDialog.xcu ProtocolHandler.xcu Paths.xcu -.ENDIF - -.INCLUDE : target.mk - diff --git a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/makefile.mk b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/makefile.mk deleted file mode 100644 index 3224851026c0..000000000000 --- a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/makefile.mk +++ /dev/null @@ -1,46 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/..$/..$/..$/..$/.. -PRJNAME=swext -CUSTID=mediawiki -TARGET=mediawiki_registry_data_typedetection -PACKAGE=org.openoffice.TypeDetection - -.INCLUDE : settings.mk -.INCLUDE : ${PRJ}$/makefile.pmk - -.IF "$(ENABLE_MEDIAWIKI)" == "YES" -LOCALIZEDFILES= - -MODULEFILES= - -XCUFILES = Filter.xcu Types.xcu -.ENDIF - -.INCLUDE : target.mk - diff --git a/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/makefile.mk b/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/makefile.mk deleted file mode 100644 index bbbb9c664cbb..000000000000 --- a/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/makefile.mk +++ /dev/null @@ -1,46 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/..$/..$/..$/..$/..$/.. -PRJNAME=swext -CUSTID=mediawiki -TARGET=mediawiki_registry_schema_custom -PACKAGE=org.openoffice.Office.Custom - -.INCLUDE : settings.mk -.INCLUDE : ${PRJ}$/makefile.pmk - -.IF "$(ENABLE_MEDIAWIKI)" == "YES" -LOCALIZEDFILES= - -MODULEFILES= - -XCSFILES = WikiExtension.xcs -.ENDIF - -.INCLUDE : target.mk - diff --git a/swext/mediawiki/src/uno-extension-manifest.xml b/swext/mediawiki/src/uno-extension-manifest.xml deleted file mode 100644 index 1f9b839e86c5..000000000000 --- a/swext/mediawiki/src/uno-extension-manifest.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/swext/prj/build.lst b/swext/prj/build.lst index 0bac744df814..314cbd8f9248 100644 --- a/swext/prj/build.lst +++ b/swext/prj/build.lst @@ -1,10 +1,3 @@ swext swext : officecfg TRANSLATIONS:translations DESKTOP:l10ntools javaunohelper ridljar unoil jurt APACHE_COMMONS:apache-commons readlicense_oo xsltml xmlhelp NULL -swext swext usr1 - all swext_mkout NULL -swext swext\mediawiki\help nmake - all swext_mwhelp NULL -swext swext\mediawiki\src\registry\schema\org\openoffice\Office\Custom nmake - all swext_mwschema NULL -swext swext\mediawiki\src\registry\data\org\openoffice\Office\Custom nmake - all swext_mwcustomdata swext_mwschema NULL -swext swext\mediawiki\src\registry\data\org\openoffice\Office nmake - all swext_mwofficedata NULL -swext swext\mediawiki\src\registry\data\org\openoffice\TypeDetection nmake - all swext_mwtypedetection NULL -swext swext\mediawiki\src nmake - all swext_mwlicense NULL -swext swext\mediawiki nmake - all swext_mw swext_mwhelp swext_mwschema swext_mwcustomdata swext_mwofficedata swext_mwlicense swext_mwtypedetection NULL +swext swext\prj nmake - all swext_prj NULL diff --git a/swext/prj/d.lst b/swext/prj/d.lst index 7f7ff29dc0ee..e69de29bb2d1 100644 --- a/swext/prj/d.lst +++ b/swext/prj/d.lst @@ -1,5 +0,0 @@ -mkdir: %_DEST%\bin\swext -..\%__SRC%\bin\wiki-publisher.oxt %_DEST%\bin\swext\wiki-publisher.oxt -..\%__SRC%\bin\wiki-publisher.oxt %_DEST%\bin\wiki-publisher.oxt -..\%__SRC%\bin\mediawiki_develop.zip %_DEST%\bin\swext\mediawiki_develop.zip - diff --git a/swext/prj/makefile.mk b/swext/prj/makefile.mk new file mode 100644 index 000000000000..0997622e00f6 --- /dev/null +++ b/swext/prj/makefile.mk @@ -0,0 +1 @@ +.INCLUDE : gbuildbridge.mk -- cgit