summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Repository.mk4
-rw-r--r--RepositoryExternal.mk34
-rw-r--r--sdext/Configuration_minimizer.mk43
-rw-r--r--sdext/Configuration_presenter.mk43
-rw-r--r--sdext/Executable_xpdfimport.mk45
-rw-r--r--sdext/Extension_minimizer.mk52
-rw-r--r--sdext/Extension_pdfimport.mk58
-rw-r--r--sdext/Extension_presenter.mk149
-rw-r--r--sdext/Library_minimizer.mk58
-rw-r--r--sdext/Library_pdfimport.mk86
-rw-r--r--sdext/Library_presenter.mk85
-rw-r--r--sdext/Makefile (renamed from sdext/inc/makefile.mk)19
-rw-r--r--sdext/Module_sdext.mk61
-rw-r--r--sdext/Package_minimizer_manifest.mk36
-rw-r--r--sdext/Package_pdfimport_keywords.mk36
-rw-r--r--sdext/Package_pdfimport_manifest.mk36
-rw-r--r--sdext/Package_presenter_help.mk36
-rw-r--r--sdext/Package_presenter_manifest.mk36
-rw-r--r--sdext/Zip_minimizer.mk35
-rw-r--r--sdext/Zip_presenter.mk34
-rw-r--r--sdext/prj/build.lst18
-rw-r--r--sdext/prj/d.lst13
-rw-r--r--sdext/prj/makefile.mk1
-rw-r--r--sdext/source/minimizer/Makefile40
-rw-r--r--sdext/source/minimizer/makefile.mk158
-rw-r--r--sdext/source/minimizer/registry/data/org/openoffice/Office/extension/makefile.mk50
-rw-r--r--sdext/source/minimizer/registry/data/org/openoffice/Office/makefile.mk48
-rw-r--r--sdext/source/minimizer/registry/schema/org/openoffice/Office/extension/SunPresentationMinimizer.xcs69
-rw-r--r--sdext/source/pdfimport/config/Makefile43
-rw-r--r--sdext/source/pdfimport/makefile.mk172
-rw-r--r--sdext/source/pdfimport/misc/makefile.mk51
-rw-r--r--sdext/source/pdfimport/odf/makefile.mk50
-rw-r--r--sdext/source/pdfimport/pdfparse/makefile.mk58
-rw-r--r--sdext/source/pdfimport/sax/makefile.mk51
-rw-r--r--sdext/source/pdfimport/tree/makefile.mk56
-rw-r--r--sdext/source/pdfimport/wrapper/Makefile37
-rwxr-xr-xsdext/source/pdfimport/wrapper/makefile.mk59
-rw-r--r--sdext/source/pdfimport/xpdfwrapper/makefile.mk82
-rw-r--r--sdext/source/presenter/Makefile40
-rw-r--r--sdext/source/presenter/PresenterExtensionIdentifier.hxx (renamed from sdext/source/presenter/PresenterExtensionIdentifier.txx)5
-rw-r--r--sdext/source/presenter/help/en-US/com.sun.PresenterScreen/Makefile40
-rw-r--r--sdext/source/presenter/help/en-US/com.sun.PresenterScreen/makefile.mk51
-rw-r--r--sdext/source/presenter/makefile.mk355
-rw-r--r--sdext/source/presenter/registry/data/org/openoffice/Office/extension/makefile.mk51
-rw-r--r--sdext/source/presenter/registry/data/org/openoffice/Office/makefile.mk48
-rw-r--r--sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs7
-rw-r--r--sdext/util/makefile.pmk37
47 files changed, 1254 insertions, 1422 deletions
diff --git a/Repository.mk b/Repository.mk
index 9d6ed2108989..c85d31b26e3b 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -45,6 +45,7 @@ $(eval $(call gb_Helper_register_executables,NONE, \
svidl \
typesconfig \
xml2cmp \
+ xpdfimport \
))
$(eval $(call gb_Helper_register_executables,OOO, \
@@ -454,11 +455,14 @@ $(eval $(call gb_Helper_register_libraries,UNOLIBS_OOO, \
nullcanvas \
OGLTrans \
passwordcontainer \
+ pdfimport \
+ PresenterScreen \
reflection \
simplecanvas \
slideshow \
stocservices \
stringresource \
+ SunPresentationMinimizer \
ucpcmis1 \
ucpexpand1 \
ucpext \
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 103c1c628871..e369ff4cc5d6 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -1060,6 +1060,40 @@ endef
endif # VALGRIND_CFLAGS
+ifeq ($(SYSTEM_POPPLER),YES)
+
+define gb_LinkTarget__use_poppler
+$(call gb_LinkTarget_add_defs,$(1),\
+ -DSYSTEM_POPPLER \
+)
+
+$(call gb_LinkTarget_set_include,$(1),\
+ $(POPPLER_CFLAGS) \
+ $$(INCLUDE) \
+)
+
+$(call gb_LinkTarget_add_libs,$(1),\
+ $(POPPLER_LIBS) \
+)
+
+endef
+
+else # !SYSTEM_POPPLER
+
+# FIXME: what are the libs created by xpdf?
+$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO,\
+ poppler \
+))
+
+define gb_LinkTarget__use_poppler
+$(call gb_LinkTarget_add_linked_libs,$(1),\
+ poppler \
+)
+
+endef
+
+endif # SYSTEM_POPPLER
+
# MacOSX-only frameworks ############################################
# (in alphabetical order)
diff --git a/sdext/Configuration_minimizer.mk b/sdext/Configuration_minimizer.mk
new file mode 100644
index 000000000000..d0bbbb3db875
--- /dev/null
+++ b/sdext/Configuration_minimizer.mk
@@ -0,0 +1,43 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_nozip,presentation-minimizer))
+
+$(eval $(call gb_Configuration_add_schemas,presentation-minimizer,sdext/source/minimizer/registry/schema,\
+ org/openoffice/Office/extension/SunPresentationMinimizer.xcs \
+))
+
+$(eval $(call gb_Configuration_add_datas,presentation-minimizer,sdext/source/minimizer/registry/data,\
+ org/openoffice/Office/ProtocolHandler.xcu \
+))
+
+$(eval $(call gb_Configuration_add_localized_datas,presentation-minimizer,sdext/source/minimizer/registry/data,\
+ org/openoffice/Office/Addons.xcu \
+ org/openoffice/Office/extension/SunPresentationMinimizer.xcu \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Configuration_presenter.mk b/sdext/Configuration_presenter.mk
new file mode 100644
index 000000000000..73b5aa776408
--- /dev/null
+++ b/sdext/Configuration_presenter.mk
@@ -0,0 +1,43 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_nozip,presenter-screen))
+
+$(eval $(call gb_Configuration_add_schemas,presenter-screen,sdext/source/presenter/registry/schema,\
+ org/openoffice/Office/extension/PresenterScreen.xcs \
+))
+
+$(eval $(call gb_Configuration_add_datas,presenter-screen,sdext/source/presenter/registry/data,\
+ org/openoffice/Office/Jobs.xcu \
+ org/openoffice/Office/ProtocolHandler.xcu \
+))
+
+$(eval $(call gb_Configuration_add_localized_datas,presenter-screen,sdext/source/presenter/registry/data,\
+ org/openoffice/Office/extension/PresenterScreen.xcu \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Executable_xpdfimport.mk b/sdext/Executable_xpdfimport.mk
new file mode 100644
index 000000000000..566baf76f1ee
--- /dev/null
+++ b/sdext/Executable_xpdfimport.mk
@@ -0,0 +1,45 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Executable_Executable,xpdfimport))
+
+$(eval $(call gb_Executable_use_externals,xpdfimport,\
+ poppler \
+ zlib \
+))
+
+$(eval $(call gb_Executable_set_include,xpdfimport,\
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,xpdfimport,\
+ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl \
+ sdext/source/pdfimport/xpdfwrapper/pnghelper \
+ sdext/source/pdfimport/xpdfwrapper/wrapper_gpl \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Extension_minimizer.mk b/sdext/Extension_minimizer.mk
new file mode 100644
index 000000000000..1afc2c4e7ded
--- /dev/null
+++ b/sdext/Extension_minimizer.mk
@@ -0,0 +1,52 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Extension_Extension,presentation-minimizer,sdext/source/minimizer))
+
+$(eval $(call gb_Extension_add_package_dependencies,presentation-minimizer,\
+ sdext_minimizer_manifest \
+))
+
+$(eval $(call gb_Extension_add_file,presentation-minimizer,$(call gb_Library_get_dllname,SunPresentationMinimizer),$(call gb_Library_get_target,SunPresentationMinimizer)))
+
+$(eval $(call gb_Extension_add_files,presentation-minimizer,bitmaps,\
+ $(SRCDIR)/icon-themes/galaxy/desktop/res/extension_32.png \
+ $(SRCDIR)/icon-themes/galaxy/minimizer/minimizepresi_80.png \
+ $(SRCDIR)/icon-themes/galaxy/minimizer/opt_16.png \
+ $(SRCDIR)/icon-themes/galaxy/minimizer/opt_26.png \
+))
+
+$(eval $(call gb_Extension_add_file,presentation-minimizer,registry/schema/org/openoffice/Office/extension/SunPresentationMinimizer.xcs,$(call gb_XcsTarget_get_target,sdext/source/minimizer/registry/schema/org/openoffice/Office/extension/SunPresentationMinimizer.xcs)))
+
+$(eval $(call gb_Extension_add_files,presentation-minimizer,registry/data/org/openoffice/Office,\
+ $(call gb_XcuDataTarget_get_target,sdext/source/minimizer/registry/data/org/openoffice/Office/Addons.xcu) \
+ $(call gb_XcuDataTarget_get_target,sdext/source/minimizer/registry/data/org/openoffice/Office/ProtocolHandler.xcu) \
+))
+
+$(eval $(call gb_Extension_add_file,presentation-minimizer,registry/data/org/openoffice/Office/extension/SunPresentationMinimizer.xcu,$(call gb_XcuDataTarget_get_target,sdext/source/minimizer/registry/data/org/openoffice/Office/extension/SunPresentationMinimizer.xcu)))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Extension_pdfimport.mk b/sdext/Extension_pdfimport.mk
new file mode 100644
index 000000000000..8c29d0020308
--- /dev/null
+++ b/sdext/Extension_pdfimport.mk
@@ -0,0 +1,58 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Extension_Extension,pdfimport,sdext/source/pdfimport))
+
+$(eval $(call gb_Extension_set_manifest,pdfimport,$(WORKDIR)/CustomTarget/sdext/source/pdfimport/config/manifest.xml))
+
+$(eval $(call gb_Extension_add_package_dependencies,pdfimport,\
+ sdext_pdfimport_keywords \
+ sdext_pdfimport_manifest \
+))
+
+$(eval $(call gb_Extension_add_files,pdfimport,.,\
+ $(call gb_Executable_get_target,xpdfimport) \
+ $(call gb_Library_get_target,pdfimport) \
+ $(SRCDIR)/sdext/source/pdfimport/config/pdf_import_filter.xcu \
+ $(SRCDIR)/sdext/source/pdfimport/config/pdf_types.xcu \
+ $(SRCDIR)/sdext/source/pdfimport/dialogs/xpdfimport_err.pdf \
+))
+
+$(eval $(call gb_Extension_add_files,pdfimport,basic,\
+ $(SRCDIR)/sdext/source/pdfimport/dialogs/dialog.xlb \
+ $(SRCDIR)/sdext/source/pdfimport/dialogs/impress.png \
+ $(SRCDIR)/sdext/source/pdfimport/dialogs/Module1.xba \
+ $(SRCDIR)/sdext/source/pdfimport/dialogs/script.xlb \
+ $(SRCDIR)/sdext/source/pdfimport/dialogs/TargetChooser.xdl \
+ $(SRCDIR)/sdext/source/pdfimport/dialogs/writer.png \
+))
+
+$(eval $(call gb_Extension_add_files,pdfimport,images,\
+ $(SRCDIR)/icon-themes/galaxy/desktop/res/extension_32.png \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Extension_presenter.mk b/sdext/Extension_presenter.mk
new file mode 100644
index 000000000000..537805935061
--- /dev/null
+++ b/sdext/Extension_presenter.mk
@@ -0,0 +1,149 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Extension_Extension,presenter-screen,sdext/source/presenter))
+
+$(eval $(call gb_Extension_set_manifest,presenter-screen,$(WORKDIR)/CustomTarget/sdext/source/presenter/manifest.xml))
+
+$(eval $(call gb_Extension_add_package_dependencies,presenter-screen,\
+ sdext_presenter_help \
+ sdext_presenter_manifest \
+))
+
+$(eval $(call gb_Extension_add_files,presenter-screen,,\
+ $(call gb_Library_get_target,presenter-screen) \
+))
+
+$(eval $(call gb_Extension_add_files,presenter-screen,bitmaps,\
+ $(SRCDIR)/icon-themes/galaxy/desktop/res/extension_32.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/Background.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveBottom.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveBottomCallout.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveBottomLeft.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveBottomRight.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveLeft.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveRight.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveTop.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveTopLeft.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderActiveTopRight.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderBottom.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderBottomLeft.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderBottomRight.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideBottom.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomLeft.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomRight.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideLeft.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideRight.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideTop.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideTopLeft.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderCurrentSlideTopRight.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderLeft.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderRight.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderToolbarBottom.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderToolbarLeft.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderToolbarRight.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderToolbarTop.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderToolbarTopLeft.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderToolbarTopRight.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderTop.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderTopLeft.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/BorderTopRight.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonEffectNextDisabled.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonEffectNextMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonEffectNextNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonEffectNextSelected.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonFrameCenterMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonFrameCenterNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonFrameLeftMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonFrameLeftNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonFrameRightMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonFrameRightNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonHelpDisabled.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonHelpMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonHelpNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonHelpSelected.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonMinusDisabled.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonMinusMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonMinusNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonMinusSelected.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonNotesDisabled.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonNotesMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonNotesNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonNotesSelected.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonPlusDisabled.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonPlusMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonPlusNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonPlusSelected.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideNextDisabled.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideNextMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideNextNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlidePreviousDisabled.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlidePreviousMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlidePreviousNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlidePreviousSelected.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideSorterDisabled.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideSorterMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideSorterNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSlideSorterSelected.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSwitchMonitorMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ButtonSwitchMonitorNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/LabelMouseOverCenter.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/LabelMouseOverLeft.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/LabelMouseOverRight.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowDownDisabled.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowDownMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowDownNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowDownSelected.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowUpDisabled.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowUpMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowUpNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarArrowUpSelected.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarThumbBottomMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarThumbBottomNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarThumbTopMouseOver.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ScrollbarThumbTopNormal.png \
+ $(SRCDIR)/sdext/source/presenter/bitmaps/ViewBackground.png \
+))
+
+$(eval $(call gb_Extension_add_file,presenter-screen,registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs,$(call gb_XcsTarget_get_target,sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs)))
+
+$(eval $(call gb_Extension_add_file,presenter-screen,registry/data/org/openoffice/Office/extension/PresenterScreen.xcu,$(call gb_XcuDataTarget_get_target,sdext/source/presenter/registry/data/org/openoffice/Office/extension/PresenterScreen.xcu)))
+
+$(eval $(call gb_Extension_add_files,presenter-screen,registry/data/org/openoffice/Office,\
+ $(call gb_XcuDataTarget_get_target,sdext/source/presenter/registry/data/org/openoffice/Office/Jobs.xcu) \
+ $(call gb_XcuDataTarget_get_target,sdext/source/presenter/registry/data/org/openoffice/Office/ProtocolHandler.xcu) \
+))
+
+$(eval $(call gb_Extension_localize_help,presenter-screen,\
+ help/lang/com.sun.presenter-screen/presenter.xhp,\
+ $(WORKDIR)/CustomTarget/sdext/source/presenter/help/en-US/com.sun.presenter-screen/presenter.xhp))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Library_minimizer.mk b/sdext/Library_minimizer.mk
new file mode 100644
index 000000000000..f00fc5ff19be
--- /dev/null
+++ b/sdext/Library_minimizer.mk
@@ -0,0 +1,58 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Library_Library,SunPresentationMinimizer))
+
+$(eval $(call gb_Library_add_api,SunPresentationMinimizer,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Library_add_linked_libs,SunPresentationMinimizer,\
+ cppu \
+ cppuhelper \
+ sal \
+))
+
+$(eval $(call gb_Library_add_exception_objects,SunPresentationMinimizer,\
+ sdext/source/minimizer/configurationaccess \
+ sdext/source/minimizer/fileopendialog \
+ sdext/source/minimizer/graphiccollector \
+ sdext/source/minimizer/impoptimizer \
+ sdext/source/minimizer/informationdialog \
+ sdext/source/minimizer/optimizationstats \
+ sdext/source/minimizer/optimizerdialog \
+ sdext/source/minimizer/optimizerdialogcontrols \
+ sdext/source/minimizer/pagecollector \
+ sdext/source/minimizer/pppoptimizer \
+ sdext/source/minimizer/pppoptimizerdialog \
+ sdext/source/minimizer/pppoptimizertoken \
+ sdext/source/minimizer/pppoptimizeruno \
+ sdext/source/minimizer/unodialog \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Library_pdfimport.mk b/sdext/Library_pdfimport.mk
new file mode 100644
index 000000000000..9f4528a9cf04
--- /dev/null
+++ b/sdext/Library_pdfimport.mk
@@ -0,0 +1,86 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Library_Library,pdfimport))
+
+$(eval $(call gb_Library_add_api,pdfimport,\
+ offapi \
+ udkapi \
+))
+
+# FIXME: set PLATFORMID correctly
+$(eval $(call gb_Library_add_defs,pdfimport,\
+ -DBOOST_SPIRIT_USE_OLD_NAMESPACE \
+ -DPDFI_IMPL_IDENTIFIER=\"com.sun.star.PDFImport-$(PLATFORMID)\" \
+))
+
+$(eval $(call gb_Library_add_package_headers,pdfimport,\
+ sdext_pdfimport_keywords \
+))
+
+$(eval $(call gb_Library_set_include,pdfimport,\
+ -I$(WORKDIR)/CustomTarget/sdext/source/pdfimport/wrapper \
+ -I$(SRCDIR)/sdext/source/pdfimport/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_add_linked_libs,pdfimport,\
+ cppu \
+ cppuhelper \
+ sal \
+))
+
+$(eval $(call gb_Library_add_linked_static_libs,pdfimport,\
+ basegfx_s \
+))
+
+$(eval $(call gb_Library_use_externals,pdfimport,\
+ zlib \
+))
+
+$(eval $(call gb_Library_add_exception_objects,pdfimport,\
+ sdext/source/pdfimport/filterdet \
+ sdext/source/pdfimport/misc/pdfihelper \
+ sdext/source/pdfimport/misc/pwdinteract \
+ sdext/source/pdfimport/odf/odfemitter \
+ sdext/source/pdfimport/pdfiadaptor \
+ sdext/source/pdfimport/pdfparse/pdfentries \
+ sdext/source/pdfimport/pdfparse/pdfparse \
+ sdext/source/pdfimport/sax/emitcontext \
+ sdext/source/pdfimport/sax/saxattrlist \
+ sdext/source/pdfimport/services \
+ sdext/source/pdfimport/tree/drawtreevisiting \
+ sdext/source/pdfimport/tree/genericelements \
+ sdext/source/pdfimport/tree/imagecontainer \
+ sdext/source/pdfimport/tree/pdfiprocessor \
+ sdext/source/pdfimport/tree/style \
+ sdext/source/pdfimport/tree/treevisitorfactory \
+ sdext/source/pdfimport/tree/writertreevisiting \
+ sdext/source/pdfimport/wrapper/wrapper \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Library_presenter.mk b/sdext/Library_presenter.mk
new file mode 100644
index 000000000000..eb9ec9586c8c
--- /dev/null
+++ b/sdext/Library_presenter.mk
@@ -0,0 +1,85 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Library_Library,PresenterScreen))
+
+$(eval $(call gb_Library_add_api,PresenterScreen,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Library_add_defs,PresenterScreen,\
+ -DPRESENTER_IMPL_IDENTIFIER=\"com.sun.PresenterScreen-$(PLATFORMID)\" \
+))
+
+$(eval $(call gb_Library_add_linked_libs,PresenterScreen,\
+ cppu \
+ cppuhelper \
+ sal \
+))
+
+$(eval $(call gb_Library_add_exception_objects,PresenterScreen,\
+ sdext/source/presenter/PresenterAccessibility \
+ sdext/source/presenter/PresenterAnimation \
+ sdext/source/presenter/PresenterAnimator \
+ sdext/source/presenter/PresenterBitmapContainer \
+ sdext/source/presenter/PresenterButton \
+ sdext/source/presenter/PresenterCanvasHelper \
+ sdext/source/presenter/PresenterComponent \
+ sdext/source/presenter/PresenterConfigurationAccess \
+ sdext/source/presenter/PresenterController \
+ sdext/source/presenter/PresenterCurrentSlideObserver \
+ sdext/source/presenter/PresenterFrameworkObserver \
+ sdext/source/presenter/PresenterGeometryHelper \
+ sdext/source/presenter/PresenterHelpView \
+ sdext/source/presenter/PresenterHelper \
+ sdext/source/presenter/PresenterNotesView \
+ sdext/source/presenter/PresenterPaintManager \
+ sdext/source/presenter/PresenterPane \
+ sdext/source/presenter/PresenterPaneBase \
+ sdext/source/presenter/PresenterPaneBorderManager \
+ sdext/source/presenter/PresenterPaneBorderPainter \
+ sdext/source/presenter/PresenterPaneContainer \
+ sdext/source/presenter/PresenterPaneFactory \
+ sdext/source/presenter/PresenterProtocolHandler \
+ sdext/source/presenter/PresenterScreen \
+ sdext/source/presenter/PresenterScrollBar \
+ sdext/source/presenter/PresenterSlidePreview \
+ sdext/source/presenter/PresenterSlideShowView \
+ sdext/source/presenter/PresenterSlideSorter \
+ sdext/source/presenter/PresenterSprite \
+ sdext/source/presenter/PresenterSpritePane \
+ sdext/source/presenter/PresenterTextView \
+ sdext/source/presenter/PresenterTheme \
+ sdext/source/presenter/PresenterTimer \
+ sdext/source/presenter/PresenterToolBar \
+ sdext/source/presenter/PresenterUIPainter \
+ sdext/source/presenter/PresenterViewFactory \
+ sdext/source/presenter/PresenterWindowManager \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/inc/makefile.mk b/sdext/Makefile
index 8851cad25f8c..7bbbe6c703e6 100644
--- a/sdext/inc/makefile.mk
+++ b/sdext/Makefile
@@ -1,3 +1,4 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -24,16 +25,16 @@
# for a copy of the LGPLv3 License.
#
#*************************************************************************
-PRJ=..
-PRJNAME=sdext
-TARGET=inc
+gb_PARTIALBUILD := T
+ifeq ($(strip $(SOLARENV)),)
+include $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/../solenv/gbuild/source_and_rerun.mk
+else
-# --- Settings -----------------------------------------------------
+gb_SourceEnvAndRecurse_STAGE=gbuild
+include $(SOLARENV)/gbuild/gbuild.mk
-.INCLUDE : settings.mk
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
-# --- Files --------------------------------------------------------
-# --- Targets -------------------------------------------------------
-
-.INCLUDE : target.mk
+endif
+# vim: set noet sw=4 ts=4:
diff --git a/sdext/Module_sdext.mk b/sdext/Module_sdext.mk
new file mode 100644
index 000000000000..15e570f1fa03
--- /dev/null
+++ b/sdext/Module_sdext.mk
@@ -0,0 +1,61 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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,sdext))
+
+ifeq ($(ENABLE_MINIMIZER),YES)
+$(eval $(call gb_Module_add_targets,sdext,\
+ Configuration_minimizer \
+ Extension_minimizer \
+ Library_minimizer \
+ Package_minimizer_manifest \
+ Zip_minimizer \
+))
+endif
+
+ifeq ($(ENABLE_PDFIMPORT),YES)
+$(eval $(call gb_Module_add_targets,sdext,\
+ Executable_xpdfimport \
+ Extension_pdfimport \
+ Library_pdfimport \
+ Package_pdfimport_keywords \
+ Package_pdfimport_manifest \
+))
+endif
+
+ifeq ($(ENABLE_PRESENTER_SCREEN),YES)
+$(eval $(call gb_Module_add_targets,sdext,\
+ Configuration_presenter \
+ Extension_presenter \
+ Library_presenter \
+ Package_presenter_help \
+ Package_presenter_manifest \
+ Zip_presenter \
+))
+endif
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Package_minimizer_manifest.mk b/sdext/Package_minimizer_manifest.mk
new file mode 100644
index 000000000000..dd4fe591b303
--- /dev/null
+++ b/sdext/Package_minimizer_manifest.mk
@@ -0,0 +1,36 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Package_Package,sdext_minimizer_manifest,$(WORKDIR)/CustomTarget/sdext/source/minimizer))
+
+$(eval $(call gb_Package_add_customtarget,sdext_minimizer_manifest,sdext/source/minimizer))
+
+$(eval $(call gb_CustomTarget_add_dependencies,sdext/source/minimizer,\
+ sdext/source/minimizer/manifest.xml \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Package_pdfimport_keywords.mk b/sdext/Package_pdfimport_keywords.mk
new file mode 100644
index 000000000000..0edb3fd0c714
--- /dev/null
+++ b/sdext/Package_pdfimport_keywords.mk
@@ -0,0 +1,36 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Package_Package,sdext_pdfimport_keywords,$(WORKDIR)/CustomTarget/sdext/source/pdfimport/wrapper))
+
+$(eval $(call gb_Package_add_customtarget,sdext_pdfimport_keywords,sdext/source/pdfimport/wrapper))
+
+$(eval $(call gb_CustomTarget_add_dependencies,sdext/source/pdfimport/wrapper,\
+ sdext/source/pdfimport/wrapper/keyword_list \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Package_pdfimport_manifest.mk b/sdext/Package_pdfimport_manifest.mk
new file mode 100644
index 000000000000..91e5644da2f4
--- /dev/null
+++ b/sdext/Package_pdfimport_manifest.mk
@@ -0,0 +1,36 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Package_Package,sdext_pdfimport_manifest,$(WORKDIR)/CustomTarget/sdext/source/pdfimport/config))
+
+$(eval $(call gb_Package_add_customtarget,sdext_pdfimport_manifest,sdext/source/pdfimport/config))
+
+$(eval $(call gb_CustomTarget_add_dependencies,sdext/source/pdfimport/config,\
+ sdext/source/pdfimport/config/manifest.xml \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Package_presenter_help.mk b/sdext/Package_presenter_help.mk
new file mode 100644
index 000000000000..d3efb71109ed
--- /dev/null
+++ b/sdext/Package_presenter_help.mk
@@ -0,0 +1,36 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Package_Package,sdext_presenter_help,$(WORKDIR)/CustomTarget/sdext/source/presenter/help/en-US/com.sun.PresenterScreen))
+
+$(eval $(call gb_Package_add_customtarget,sdext_presenter_help,sdext/source/presenter/help/en-US/com.sun.PresenterScreen))
+
+$(eval $(call gb_CustomTarget_add_dependencies,sdext/source/presenter/help/en-US/com.sun.PresenterScreen,\
+ sdext/source/presenter/help/en-US/com.sun.PresenterScreen/presenter.xhp \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Package_presenter_manifest.mk b/sdext/Package_presenter_manifest.mk
new file mode 100644
index 000000000000..43c1a5e1fce1
--- /dev/null
+++ b/sdext/Package_presenter_manifest.mk
@@ -0,0 +1,36 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Package_Package,sdext_presenter_manifest,$(WORKDIR)/CustomTarget/sdext/source/presenter))
+
+$(eval $(call gb_Package_add_customtarget,sdext_presenter_manifest,sdext/source/presenter))
+
+$(eval $(call gb_CustomTarget_add_dependencies,sdext/source/presenter,\
+ sdext/source/presenter/manifest.xml \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Zip_minimizer.mk b/sdext/Zip_minimizer.mk
new file mode 100644
index 000000000000..c19446bea549
--- /dev/null
+++ b/sdext/Zip_minimizer.mk
@@ -0,0 +1,35 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Zip_Zip,minimizer/presentation_minimizer_develop,$(SRCDIR)/sdext/source/minimizer/registry/data))
+
+$(eval $(call gb_Zip_add_files,minimizer/presentation_minimizer_develop,\
+ org/openoffice/Office/Addons.xcu \
+ org/openoffice/Office/extension/SunPresentationMinimizer.xcu \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/Zip_presenter.mk b/sdext/Zip_presenter.mk
new file mode 100644
index 000000000000..114095c7cb7f
--- /dev/null
+++ b/sdext/Zip_presenter.mk
@@ -0,0 +1,34 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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_Zip_Zip,presenter/presenter-screen_develop,$(SRCDIR)/sdext/source/presenter/help))
+
+$(eval $(call gb_Zip_add_files,presenter/presenter-screen_develop,\
+ en-US/com.sun.PresenterScreen/presenter.xhp \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sdext/prj/build.lst b/sdext/prj/build.lst
index fc92fb47664d..817553e6bf82 100644
--- a/sdext/prj/build.lst
+++ b/sdext/prj/build.lst
@@ -1,19 +1,3 @@
dx sdext : TRANSLATIONS:translations offapi comphelper unotools readlicense_oo cppu tools cppuhelper sal javaunohelper officecfg XPDF:xpdf LIBXSLT:libxslt DESKTOP:xmlhelp NULL
dx sdext usr1 - all sdext_mkout NULL
-dx sdext\prj get - all sdext_prj NULL
-dx sdext\source\minimizer nmake - all sdext_minimizer sdext_minimizer_rdoooe sdext_minimizer_rdooo sdext_inc NULL
-dx sdext\source\minimizer\registry\data\org\openoffice\Office\extension nmake - all sdext_minimizer_rdoooe NULL
-dx sdext\source\minimizer\registry\data\org\openoffice\Office nmake - all sdext_minimizer_rdooo NULL
-dx sdext\source\presenter\registry\data\org\openoffice\Office\extension nmake - all sdext_presenter_xcu NULL
-dx sdext\source\presenter\help\en-US\com.sun.PresenterScreen nmake - all sdext_presenter_help NULL
-dx sdext\source\presenter nmake - all sdext_presenter sdext_inc sdext_presenter_xcu sdext_presenter_help NULL
-dx sdext\inc nmake - all sdext_inc NULL
-dx sdext\source\pdfimport\xpdfwrapper nmake - all dx_xpdfwrap NULL
-dx sdext\source\pdfimport\xpdftest nmake - all dx_parsetest dx_xpdfwrap NULL
-dx sdext\source\pdfimport\wrapper nmake - all sdext_pdfwrap sdext_inc NULL
-dx sdext\source\pdfimport\misc nmake - all sdext_misc sdext_inc NULL
-dx sdext\source\pdfimport\odf nmake - all sdext_odf sdext_inc NULL
-dx sdext\source\pdfimport\pdfparse nmake - all sdext_pdfparse sdext_inc NULL
-dx sdext\source\pdfimport\sax nmake - all sdext_sax sdext_inc NULL
-dx sdext\source\pdfimport\tree nmake - all sdext_tree sdext_inc NULL
-dx sdext\source\pdfimport nmake - all sdext_pdfi sdext_pdfwrap sdext_misc sdext_odf sdext_pdfparse sdext_sax sdext_tree sdext_inc dx_xpdfwrap NULL
+dx sdext\prj nmake - all sdext_prj NULL
diff --git a/sdext/prj/d.lst b/sdext/prj/d.lst
index cd0f72555055..e69de29bb2d1 100644
--- a/sdext/prj/d.lst
+++ b/sdext/prj/d.lst
@@ -1,13 +0,0 @@
-mkdir: %_DEST%\bin\minimizer
-mkdir: %_DEST%\bin\presenter
-mkdir: %_DEST%\bin\pdfimport
-..\%__SRC%\bin\presentation-minimizer.oxt %_DEST%\bin\presentation-minimizer.oxt
-..\%__SRC%\bin\presenter-screen.oxt %_DEST%\bin\presenter-screen.oxt
-..\%__SRC%\bin\pdfimport.oxt %_DEST%\bin\pdfimport.oxt
-..\%__SRC%\bin\pdf2xml.* %_DEST%\bin\pdf2xml.*
-..\%__SRC%\bin\pdfunzip.* %_DEST%\bin\pdfunzip.*
-..\%__SRC%\bin\pdfimport.oxt %_DEST%\bin\pdfimport\pdfimport.oxt
-..\%__SRC%\bin\presentation-minimizer.oxt %_DEST%\bin\minimizer\presentation-minimizer.oxt
-..\%__SRC%\bin\presentation_minimizer_develop.zip %_DEST%\bin\minimizer\presentation_minimizer_develop.zip
-..\%__SRC%\bin\presenter-screen.oxt %_DEST%\bin\presenter\presenter-screen.oxt
-..\%__SRC%\bin\presenter-screen_develop.zip %_DEST%\bin\presenter\presenter-screen_develop.zip
diff --git a/sdext/prj/makefile.mk b/sdext/prj/makefile.mk
new file mode 100644
index 000000000000..0997622e00f6
--- /dev/null
+++ b/sdext/prj/makefile.mk
@@ -0,0 +1 @@
+.INCLUDE : gbuildbridge.mk
diff --git a/sdext/source/minimizer/Makefile b/sdext/source/minimizer/Makefile
new file mode 100644
index 000000000000..2f7171a3fef1
--- /dev/null
+++ b/sdext/source/minimizer/Makefile
@@ -0,0 +1,40 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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.
+
+PARTIAL_BUILD := T
+SOURCEDIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
+
+include $(GBUILDDIR)/gbuild_simple.mk
+
+manifest.xml :
+ sed "s/SHARED_EXTENSION/$(gb_Library_DLLEXT)/" $(SOURCEDIR)manifest.xml > $@
+
+.DEFAULT_GOAL := all
+.PHONY : all
+all : manifest.xml
+
+# vim:set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/sdext/source/minimizer/makefile.mk b/sdext/source/minimizer/makefile.mk
deleted file mode 100644
index e21ff84e98cb..000000000000
--- a/sdext/source/minimizer/makefile.mk
+++ /dev/null
@@ -1,158 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..
-PRJNAME=sdext
-TARGET=SunPresentationMinimizer
-GEN_HID=FALSE
-ENABLE_EXCEPTIONS=TRUE
-
-# --- Settings ----------------------------------
-.INCLUDE : settings.mk
-.IF "$(L10N_framework)"==""
-.INCLUDE : $(PRJ)$/source$/minimizer$/minimizer.pmk
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-# set in minimizer.pmk
-EXTENSION_ZIPNAME:=presentation-minimizer
-
-.IF "$(ENABLE_MINIMIZER)" != "YES"
-@all:
- @echo "Presentation Minimizer build disabled."
-.ENDIF
-
-DLLPRE=
-
-# --- Files -------------------------------------
-
-SLOFILES= $(SLO)$/unodialog.obj \
- $(SLO)$/optimizerdialog.obj \
- $(SLO)$/optimizerdialogcontrols.obj \
- $(SLO)$/configurationaccess.obj \
- $(SLO)$/impoptimizer.obj \
- $(SLO)$/pppoptimizer.obj \
- $(SLO)$/pppoptimizeruno.obj \
- $(SLO)$/pppoptimizertoken.obj \
- $(SLO)$/pppoptimizerdialog.obj \
- $(SLO)$/fileopendialog.obj \
- $(SLO)$/optimizationstats.obj \
- $(SLO)$/graphiccollector.obj \
- $(SLO)$/pagecollector.obj \
- $(SLO)$/informationdialog.obj
-
-# --- Library -----------------------------------
-
-SHL1TARGET= $(TARGET).uno
-
-SHL1STDLIBS= $(CPPUHELPERLIB) \
- $(CPPULIB) \
- $(SALLIB)
-SHL1DEPN=
-SHL1IMPLIB= i$(SHL1TARGET)
-SHL1LIBS= $(SLB)$/$(TARGET).lib
-SHL1DEF= $(MISC)$/$(SHL1TARGET).def
-SHL1VERSIONMAP=$(SOLARENV)/src/reg-component.map
-SHL1RPATH= OXT
-DEF1NAME= $(SHL1TARGET)
-
-COMPONENT_MERGED_XCU= \
- $(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/Addons.xcu \
- $(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/ProtocolHandler.xcu \
- $(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/extension$/SunPresentationMinimizer.xcu
-
-COMPONENT_FILES= \
- $(EXTENSIONDIR)$/registry$/schema$/org$/openoffice$/Office$/extension$/SunPresentationMinimizer.xcs
-
-# native libraries
-COMPONENT_LIBRARIES= \
- $(EXTENSIONDIR)$/SunPresentationMinimizer.uno$(DLLPOST)
-
-# rather freestyle or common to all?
-COMPONENT_BITMAPS= \
- $(EXTENSIONDIR)$/bitmaps$/opt_16.png \
- $(EXTENSIONDIR)$/bitmaps$/opt_26.png \
- $(EXTENSIONDIR)$/bitmaps$/minimizepresi_80.png
-
-COMPONENT_IMAGES=\
- $(EXTENSIONDIR)$/bitmaps$/extension_32.png
-
-DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml
-
-COMPONENT_DESCRIPTION= \
- $(foreach,lang,$(alllangiso) $(EXTENSIONDIR)$/description-$(lang).txt)
-
-# make sure to add your custom files here
-EXTENSION_PACKDEPS=$(COMPONENT_BITMAPS) $(COMPONENT_IMAGES) $(COMPONENT_DESCRIPTION)
-
-ZIP2TARGET= presentation_minimizer_develop
-.IF "$(WITH_LANG)"!=""
-ZIP2DIR= $(MISC)/$(EXTENSIONNAME)_in/merge
-.ELSE # "$(WITH_LANG)"!=""
-ZIP2DIR= registry/data
-.ENDIF # "$(WITH_LANG)"!=""
-ZIP2EXT= .zip
-ZIP2FLAGS=-r
-ZIP2LIST= \
- org/openoffice/Office/Addons.xcu \
- org/openoffice/Office/extension/*.xcu
-
-# --- Targets ----------------------------------
-
-.INCLUDE : extension_pre.mk
-
-.ENDIF # L10N_framework
-.INCLUDE : target.mk
-
-.IF "$(L10N_framework)"==""
-.INCLUDE : extension_post.mk
-
-$(COMPONENT_BITMAPS) : $(SRC_ROOT)/$(RSCDEFIMG)$/minimizer$/$$(@:f)
- @@-$(MKDIRHIER) $(@:d)
- $(COPY) $< $@
-
-$(COMPONENT_IMAGES) : $(SRC_ROOT)/$(RSCDEFIMG)$/desktop$/res$/$$(@:f)
- @@-$(MKDIRHIER) $(@:d)
- $(COPY) $< $@
-
-$(DESCRIPTION_SRC) : description.xml
- @@-$(MKDIRHIER) $(@:d)
-.IF "$(WITH_LANG)" != ""
- $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all
-.ELSE
- $(COPY) $< $@
-.ENDIF
-
-$(COMPONENT_DESCRIPTION) : $(MISC)/descriptions
-
-$(MISC)/descriptions : $(DESCRIPTION)
- $(COPY) description-en-US.txt $(EXTENSIONDIR)
-.IF "$(WITH_LANG)" != ""
- $(COPY) $(MISC)/$(EXTENSIONNAME)_in/description-*.txt $(EXTENSIONDIR)
-.ENDIF
- $(TOUCH) $@
-
-.ENDIF # L10N_framework
diff --git a/sdext/source/minimizer/registry/data/org/openoffice/Office/extension/makefile.mk b/sdext/source/minimizer/registry/data/org/openoffice/Office/extension/makefile.mk
deleted file mode 100644
index aa0d275a969a..000000000000
--- a/sdext/source/minimizer/registry/data/org/openoffice/Office/extension/makefile.mk
+++ /dev/null
@@ -1,50 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-PRJ=..$/..$/..$/..$/..$/..$/..$/..
-
-PRJNAME=sdext
-TARGET=data_ooOfficeext
-PACKAGE=org.openoffice.Office.extension
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/source$/minimizer$/minimizer.pmk
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-XCSROOT=$(PRJ)$/source$/minimizer
-ABSXCSROOT=$(PWD)$/$(PRJ)$/source$/minimizer
-
-# --- Targets ------------------------------------------------------
-
-XCUFILES= \
- SunPresentationMinimizer.xcu
-
-MODULEFILES=
-
-LOCALIZEDFILES= \
- SunPresentationMinimizer.xcu
-
-.INCLUDE : target.mk
diff --git a/sdext/source/minimizer/registry/data/org/openoffice/Office/makefile.mk b/sdext/source/minimizer/registry/data/org/openoffice/Office/makefile.mk
deleted file mode 100644
index 659e888045d9..000000000000
--- a/sdext/source/minimizer/registry/data/org/openoffice/Office/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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-PRJ=..$/..$/..$/..$/..$/..$/..
-
-PRJNAME=sdext
-TARGET=data_ooOffice
-PACKAGE=org.openoffice.Office
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/source$/minimizer$/minimizer.pmk
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-# --- Targets ------------------------------------------------------
-
-XCUFILES= \
- Addons.xcu \
- ProtocolHandler.xcu
-
-MODULEFILES=
-
-LOCALIZEDFILES= \
- Addons.xcu
-
-.INCLUDE : target.mk
diff --git a/sdext/source/minimizer/registry/schema/org/openoffice/Office/extension/SunPresentationMinimizer.xcs b/sdext/source/minimizer/registry/schema/org/openoffice/Office/extension/SunPresentationMinimizer.xcs
index 02e986f1145f..6e54658e96f0 100644
--- a/sdext/source/minimizer/registry/schema/org/openoffice/Office/extension/SunPresentationMinimizer.xcs
+++ b/sdext/source/minimizer/registry/schema/org/openoffice/Office/extension/SunPresentationMinimizer.xcs
@@ -102,147 +102,195 @@
</group>
</templates>
<component>
- <prop oor:name="BitmapPath" oor:type="xs:string"/>
+ <prop oor:name="BitmapPath" oor:type="xs:string">
+ <info><desc>Bitmap path.</desc></info>
+ </prop>
<group oor:name="Strings">
+ <info><desc>UI strings.</desc></info>
<prop oor:name="STR_SUN_OPTIMIZATION_WIZARD2" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_SUN_OPTIMIZATION_WIZARD2</desc></info>
<value>Presentation Minimizer</value>
</prop>
<prop oor:name="STR_STEPS" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_STEPS.</desc></info>
<value>Steps</value>
</prop>
<prop oor:name="STR_BACK" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_BACK.</desc></info>
<value>&lt; ~Back</value>
</prop>
<prop oor:name="STR_NEXT" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_NEXT.</desc></info>
<value>~Next &gt;</value>
</prop>
<prop oor:name="STR_FINISH" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_FINISH.</desc></info>
<value>~Finish</value>
</prop>
<prop oor:name="STR_CANCEL" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_CANCEL.</desc></info>
<value>Cancel</value>
</prop>
<prop oor:name="STR_INTRODUCTION" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_INTRODUCTION.</desc></info>
<value>Introduction</value>
</prop>
<prop oor:name="STR_INTRODUCTION_T" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_INTRODUCTION_T.</desc></info>
<value>The Presentation Minimizer is used to reduce the file size of the current presentation. Images will be compressed and data, that is no longer needed, will be removed.
At the last step of the wizard you can choose to apply the changes to the current presentation or to create an optimized new version of the presentation.</value>
</prop>
<prop oor:name="STR_CHOSE_SETTINGS" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_CHOSE_SETTINGS.</desc></info>
<value>~Choose settings for the Presentation Minimization Wizard</value>
</prop>
<prop oor:name="STR_REMOVE" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_REMOVE.</desc></info>
<value>~Delete</value>
</prop>
<prop oor:name="STR_GRAPHIC_OPTIMIZATION" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_GRAPHIC_OPTIMIZATION.</desc></info>
<value>Choose settings for optimizing pictures and graphics</value>
</prop>
<prop oor:name="STR_IMAGE_OPTIMIZATION" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_IMAGE_OPTIMIZATION.</desc></info>
<value>Graphics</value>
</prop>
<prop oor:name="STR_LOSSLESS_COMPRESSION" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_LOSSLESS_COMPRESSION.</desc></info>
<value>~Lossless compression</value>
</prop>
<prop oor:name="STR_JPEG_COMPRESSION" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_JPEG_COMPRESSION.</desc></info>
<value>~JPEG compression</value>
</prop>
<prop oor:name="STR_QUALITY" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_QUALITY.</desc></info>
<value>~Quality</value>
</prop>
<prop oor:name="STR_REMOVE_CROP_AREA" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_REMOVE_CROP_AREA.</desc></info>
<value>~Delete cropped graphic areas</value>
</prop>
<prop oor:name="STR_IMAGE_RESOLUTION" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_IMAGE_RESOLUTION.</desc></info>
<value>~Image Resolution</value>
</prop>
<prop oor:name="STR_IMAGE_RESOLUTION_0" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_IMAGE_RESOLUTION_0.</desc></info>
<value>0;&lt;no change&gt;</value>
</prop>
<prop oor:name="STR_IMAGE_RESOLUTION_1" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_IMAGE_RESOLUTION_1.</desc></info>
<value>90;90 DPI (screen resolution)</value>
</prop>
<prop oor:name="STR_IMAGE_RESOLUTION_2" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_IMAGE_RESOLUTION_2.</desc></info>
<value>150;150 DPI (projector resolution)</value>
</prop>
<prop oor:name="STR_IMAGE_RESOLUTION_3" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_IMAGE_RESOLUTION_3.</desc></info>
<value>300;300 DPI (print resolution)</value>
</prop>
<prop oor:name="STR_EMBED_LINKED_GRAPHICS" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_EMBED_LINKED_GRAPHICS.</desc></info>
<value>~Break links to external graphics</value>
</prop>
<prop oor:name="STR_OLE_OBJECTS" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_OLE_OBJECTS.</desc></info>
<value>OLE Objects</value>
</prop>
<prop oor:name="STR_OLE_OPTIMIZATION" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_OLE_OPTIMIZATION.</desc></info>
<value>Choose settings for replacing OLE objects</value>
</prop>
<prop oor:name="STR_OLE_REPLACE" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_OLE_REPLACE.</desc></info>
<value>Create static replacement graphics for OLE objects</value>
</prop>
<prop oor:name="STR_ALL_OLE_OBJECTS" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_ALL_OLE_OBJECTS.</desc></info>
<value>For ~all OLE objects</value>
</prop>
<prop oor:name="STR_ALIEN_OLE_OBJECTS_ONLY" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_ALIEN_OLE_OBJECTS_ONLY.</desc></info>
<value>~For OLE objects not based on OpenDocument format</value>
</prop>
<prop oor:name="STR_OLE_OBJECTS_DESC" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_OLE_OBJECTS_DESC.</desc></info>
<value>Object Linking and Embedding (OLE) is a technology that allows embedding and linking to documents and other objects.
The current presentation contains no OLE objects.</value>
</prop>
<prop oor:name="STR_NO_OLE_OBJECTS_DESC" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_NO_OLE_OBJECTS_DESC.</desc></info>
<value>Object Linking and Embedding (OLE) is a technology that allows embedding and linking to documents and other objects.
The current presentation contains no OLE objects.</value>
</prop>
<prop oor:name="STR_SLIDES" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_SLIDES.</desc></info>
<value>Slides</value>
</prop>
<prop oor:name="STR_CHOOSE_SLIDES" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_CHOOSE_SLIDES.</desc></info>
<value>Choose which slides to delete</value>
</prop>
<prop oor:name="STR_MASTER_PAGES" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_MASTER_PAGES.</desc></info>
<value>Master Pages</value>
</prop>
<prop oor:name="STR_DELETE_MASTER_PAGES" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_DELETE_MASTER_PAGES.</desc></info>
<value>Delete unused ~master pages</value>
</prop>
<prop oor:name="STR_DELETE_NOTES_PAGES" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_DELETE_NOTES_PAGES.</desc></info>
<value>~Clear notes</value>
</prop>
<prop oor:name="STR_DELETE_HIDDEN_SLIDES" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_DELETE_HIDDEN_SLIDES.</desc></info>
<value>Delete hidden ~slides</value>
</prop>
<prop oor:name="STR_CUSTOM_SHOW" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_CUSTOM_SHOW.</desc></info>
<value>Delete slides that are not used for the ~custom slide show</value>
</prop>
<prop oor:name="STR_SUMMARY" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_SUMMARY.</desc></info>
<value>Summary</value>
</prop>
<prop oor:name="STR_SUMMARY_TITLE" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_SUMMARY_TITLE.</desc></info>
<value>Choose where to apply the following changes</value>
</prop>
<prop oor:name="STR_PROGRESS" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_PROGRESS.</desc></info>
<value>Progress</value>
</prop>
<prop oor:name="STR_OBJECTS_OPTIMIZED" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_OBJECTS_OPTIMIZED.</desc></info>
<value>Objects optimized</value>
</prop>
<prop oor:name="STR_APPLY_TO_CURRENT" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_APPLY_TO_CURRENT.</desc></info>
<value>~Apply changes to current presentation</value>
</prop>
<prop oor:name="STR_AUTOMATICALLY_OPEN" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_AUTOMATICALLY_OPEN.</desc></info>
<value>~Open newly created presentation</value>
</prop>
<prop oor:name="STR_SAVE_SETTINGS" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_SAVE_SETTINGS.</desc></info>
<value>~Save settings as</value>
</prop>
<prop oor:name="STR_SAVE_AS" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_SAVE_AS.</desc></info>
<value>~Duplicate presentation before applying changes</value>
</prop>
<prop oor:name="STR_DELETE_SLIDES" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_DELETE_SLIDES.</desc></info>
<value>Delete %SLIDES slides</value>
</prop>
<prop oor:name="STR_OPTIMIZE_IMAGES" oor:type="xs:string" oor:localized="true">
@@ -252,57 +300,75 @@ The current presentation contains no OLE objects.</value>
<value>Optimize %IMAGES graphics to %QUALITY% JPEG quality at %RESOLUTION DPI.</value>
</prop>
<prop oor:name="STR_CREATE_REPLACEMENT" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_CREATE_REPLACEMENT.</desc></info>
<value>Create replacement graphics for %OLE objects.</value>
</prop>
<prop oor:name="STR_CURRENT_FILESIZE" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_CURRENT_FILESIZE.</desc></info>
<value>Current file size:</value>
</prop>
<prop oor:name="STR_ESTIMATED_FILESIZE" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_ESTIMATED_FILESIZE.</desc></info>
<value>Estimated new file size:</value>
</prop>
<prop oor:name="STR_MB" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_MB.</desc></info>
<value>%1 MB</value>
</prop>
<prop oor:name="MY_SETTINGS" oor:type="xs:string" oor:localized="true">
+ <info><desc>String MY_SETTINGS.</desc></info>
<value>My Settings</value>
</prop>
<prop oor:name="STR_DEFAULT_SESSION" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_DEFAULT_SESSION.</desc></info>
<value>default session</value>
</prop>
<prop oor:name="STR_MODIFY_WARNING" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_MODIFY_WARNING.</desc></info>
<value>The optimization will modify the current document. Do you want to continue?</value>
</prop>
<prop oor:name="STR_YES" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_YES.</desc></info>
<value>~Yes</value>
</prop>
<prop oor:name="STR_OK" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_OK.</desc></info>
<value>OK</value>
</prop>
<prop oor:name="STR_INFO_1" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_INFO_1.</desc></info>
<value>The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed from %OLDFILESIZE MB to %NEWFILESIZE MB.</value>
</prop>
<prop oor:name="STR_INFO_2" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_INFO_2.</desc></info>
<value>The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed from %OLDFILESIZE MB to approximated %NEWFILESIZE MB.</value>
</prop>
<prop oor:name="STR_INFO_3" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_INFO_3.</desc></info>
<value>The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed to %NEWFILESIZE MB.</value>
</prop>
<prop oor:name="STR_INFO_4" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_INFO_4.</desc></info>
<value>The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed to approximated %NEWFILESIZE MB.</value>
</prop>
<prop oor:name="STR_DUPLICATING_PRESENTATION" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_DUPLICATING_PRESENTATION.</desc></info>
<value>Duplicating presentation...</value>
</prop>
<prop oor:name="STR_DELETING_SLIDES" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_DELETING_SLIDES.</desc></info>
<value>Deleting slides...</value>
</prop>
<prop oor:name="STR_OPTIMIZING_GRAPHICS" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_OPTIMIZING_GRAPHICS.</desc></info>
<value>Optimizing graphics...</value>
</prop>
<prop oor:name="STR_CREATING_OLE_REPLACEMENTS" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_CREATING_OLE_REPLACEMENTS.</desc></info>
<value>Creating replacement graphics for OLE objects...</value>
</prop>
<prop oor:name="STR_FILESIZESEPARATOR" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_FILESIZESEPARATOR.</desc></info>
<value>.</value>
</prop>
</group>
@@ -312,6 +378,7 @@ The current presentation contains no OLE objects.</value>
</info>
</node-ref>
<group oor:name="Settings">
+ <info><desc>Describes saved settings.</desc></info>
<set oor:name="Templates" oor:node-type="OptimizerSettings">
<info>
<desc>List of the saved Presentation Optimization Wizard settings</desc>
diff --git a/sdext/source/pdfimport/config/Makefile b/sdext/source/pdfimport/config/Makefile
new file mode 100644
index 000000000000..8fa754bdf5bd
--- /dev/null
+++ b/sdext/source/pdfimport/config/Makefile
@@ -0,0 +1,43 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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.
+
+PARTIAL_BUILD := T
+SOURCEDIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
+
+include $(GBUILDDIR)/gbuild_simple.mk
+
+manifest.xml :
+ sed \
+ -e "s/EXEC_EXTENSION/$(gb_Executable_EXT)/" \
+ -e "s/SHARED_EXTENSION/$(gb_Library_DLLEXT)/" \
+ $(SOURCEDIR)manifest.xml > $@
+
+.DEFAULT_GOAL := all
+.PHONY : all
+all : manifest.xml
+
+# vim:set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/sdext/source/pdfimport/makefile.mk b/sdext/source/pdfimport/makefile.mk
deleted file mode 100644
index c83858736d7d..000000000000
--- a/sdext/source/pdfimport/makefile.mk
+++ /dev/null
@@ -1,172 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..
-
-PRJNAME=sdext
-TARGET=pdfimport
-ENABLE_EXCEPTIONS=TRUE
-VISIBILITY_HIDDEN=TRUE
-
-# --- Settings -----------------------------------------------------
-
-MKDEPENDSOLVER:=
-.INCLUDE: settings.mk
-
-.IF "$(L10N_framework)"==""
-
-.INCLUDE: pdfisettings.pmk
-INCPRE=-I$(PRJ)$/source$/pdfimport$/inc
-
-# --- Files --------------------------------------------------------
-
-EXTENSIONNAME:=PDFImport
-EXTENSION_ZIPNAME:=pdfimport
-
-.IF "$(ENABLE_PDFIMPORT)" == "NO"
-@all:
- @echo "PDF Import extension disabled."
-.ENDIF
-
-SLOFILES=\
- $(SLO)$/filterdet.obj \
- $(SLO)$/pdfiadaptor.obj \
- $(SLO)$/services.obj
-
-SHL1DLLPRE=
-SHL1TARGET=$(ENFORCEDSHLPREFIX)$(TARGET).uno
-
-SHL1LIBS=\
- $(SLB)$/pdfmisc.lib \
- $(SLB)$/pdfparse.lib \
- $(SLB)$/pdfsax.lib \
- $(SLB)$/pdfparsetree.lib \
- $(SLB)$/pdfodf.lib \
- $(SLB)$/xpdfwrapper.lib \
- $(SLB)$/$(TARGET).lib
-
-SHL1STDLIBS=\
- $(CPPUHELPERLIB) \
- $(ZLIB3RDLIB) \
- $(CPPULIB) \
- $(SALLIB)
-
-.IF "$(GUI)" == "UNX"
- SHL1STDLIBS+=-lbasegfx_s
-.ELSE
-.IF "$(GUI)" == "WNT"
-.IF "$(COM)"=="GCC"
- SHL1STDLIBS+=-lbasegfx_s
-.ELSE
- SHL1LIBS+=$(SOLARLIBDIR)$/basegfx_s.lib
-.ENDIF
-
-.ENDIF # WNT
-.ENDIF # UNX
-
-SHL1DEPN=
-SHL1IMPLIB= i$(SHL1TARGET)
-SHL1DEF= $(MISC)$/$(SHL1TARGET).def
-.IF "$(GUI)"=="WNT"
-SHL1VERSIONMAP=$(SOLARENV)/src/reg-component.map
-.ELSE # just a quick hack for GCC fdo#42865
-SHL1USE_EXPORTS = name
-.ENDIF
-SHL1RPATH=OXT
-
-DEF1NAME=$(SHL1TARGET)
-
-# --- Extension packaging ------------------------------------------
-
-DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml
-MANIFEST_SRC:=config$/manifest.xml
-COMPONENT_CONFIGDIR:=config
-COMPONENT_CONFIGDEST:=.
-COMPONENT_XCU= \
- $(EXTENSIONDIR)$/pdf_import_filter.xcu \
- $(EXTENSIONDIR)$/pdf_types.xcu
-
-CONVERTER_FILE= \
- $(EXTENSIONDIR)$/xpdfimport$(EXECPOST)
-
-COMPONENT_DIALOGS= \
- $(EXTENSIONDIR)$/basic$/Module1.xba \
- $(EXTENSIONDIR)$/basic$/TargetChooser.xdl \
- $(EXTENSIONDIR)$/basic$/dialog.xlb \
- $(EXTENSIONDIR)$/basic$/impress.png \
- $(EXTENSIONDIR)$/basic$/script.xlb \
- $(EXTENSIONDIR)$/basic$/writer.png \
- $(EXTENSIONDIR)$/xpdfimport_err.pdf
-
-COMPONENT_DESCRIPTION= \
- $(foreach,lang,$(alllangiso) $(EXTENSIONDIR)$/description-$(lang).txt)
-
-# native libraries
-COMPONENT_LIBRARIES= \
- $(EXTENSIONDIR)$/$(SHL1TARGET)$(DLLPOST)
-
-COMPONENT_IMAGES=\
- $(EXTENSIONDIR)$/images$/extension_32.png
-
-EXTENSION_PACKDEPS=$(CONVERTER_FILE) $(COMPONENT_DIALOGS) $(COMPONENT_DESCRIPTION) $(COMPONENT_IMAGES) makefile.mk
-
-.INCLUDE : extension_pre.mk
-.ENDIF # L10N_framework
-.INCLUDE : target.mk
-.IF "$(L10N_framework)"==""
-.INCLUDE : extension_post.mk
-
-$(DESCRIPTION_SRC) : description.xml
- @@-$(MKDIRHIER) $(@:d)
-.IF "$(WITH_LANG)" != ""
- $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all
-.ELSE
- $(COPY) $< $@
-.ENDIF
-
-$(CONVERTER_FILE) : $(BIN)$/$$(@:f)
- @@-$(MKDIRHIER) $(@:d)
- $(COPY) $< $@
-
-$(COMPONENT_DIALOGS) : dialogs$/$$(@:f)
- @@-$(MKDIRHIER) $(@:d)
- $(COPY) $< $@
-
-$(COMPONENT_DESCRIPTION) : $(MISC)/descriptions
-
-$(MISC)/descriptions : $(DESCRIPTION)
- $(COPY) description-en-US.txt $(EXTENSIONDIR)
-.IF "$(WITH_LANG)" != ""
- $(COPY) $(MISC)/$(EXTENSIONNAME)_in/description-*.txt $(EXTENSIONDIR)
-.ENDIF
- $(TOUCH) $@
-
-$(COMPONENT_IMAGES) : $(SRC_ROOT)/$(RSCDEFIMG)$/desktop$/res$/$$(@:f)
- @@-$(MKDIRHIER) $(@:d)
- $(COPY) $< $@
-.ENDIF # L10N_framework
-
diff --git a/sdext/source/pdfimport/misc/makefile.mk b/sdext/source/pdfimport/misc/makefile.mk
deleted file mode 100644
index 27f71cca46e4..000000000000
--- a/sdext/source/pdfimport/misc/makefile.mk
+++ /dev/null
@@ -1,51 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..
-
-PRJNAME=sdext
-TARGET=pdfmisc
-ENABLE_EXCEPTIONS=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE: settings.mk
-
-# --- Files --------------------------------------------------------
-
-SLOFILES=\
- $(SLO)$/pdfihelper.obj \
- $(SLO)$/pwdinteract.obj
-
-# --- Targets ------------------------------------------------------
-
-.IF "$(ENABLE_PDFIMPORT)" == "NO"
-@all:
- @echo "PDF Import extension disabled."
-.ENDIF
-
-.INCLUDE: target.mk
diff --git a/sdext/source/pdfimport/odf/makefile.mk b/sdext/source/pdfimport/odf/makefile.mk
deleted file mode 100644
index 0f0f5b15b611..000000000000
--- a/sdext/source/pdfimport/odf/makefile.mk
+++ /dev/null
@@ -1,50 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..
-
-PRJNAME=sdext
-TARGET=pdfodf
-ENABLE_EXCEPTIONS=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE: settings.mk
-
-# --- Files --------------------------------------------------------
-
-SLOFILES=\
- $(SLO)$/odfemitter.obj
-
-# --- Targets ------------------------------------------------------
-
-.IF "$(ENABLE_PDFIMPORT)" == "NO"
-@all:
- @echo "PDF Import extension disabled."
-.ENDIF
-
-.INCLUDE: target.mk
diff --git a/sdext/source/pdfimport/pdfparse/makefile.mk b/sdext/source/pdfimport/pdfparse/makefile.mk
deleted file mode 100644
index db549581e6f5..000000000000
--- a/sdext/source/pdfimport/pdfparse/makefile.mk
+++ /dev/null
@@ -1,58 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..
-
-PRJNAME=sdext
-TARGET=pdfparse
-ENABLE_EXCEPTIONS=TRUE
-EXTERNAL_WARNINGS_NOT_ERRORS=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-.IF "$(SYSTEM_ZLIB)" == "YES"
-CFLAGS+=-DSYSTEM_ZLIB
-.ENDIF
-
-ENVCFLAGS += -DBOOST_SPIRIT_USE_OLD_NAMESPACE
-
-# --- Files --------------------------------------------------------
-
-SLOFILES=\
- $(SLO)$/pdfparse.obj \
- $(SLO)$/pdfentries.obj
-
-# --- Targets ------------------------------------------------------
-
-.IF "$(ENABLE_PDFIMPORT)" == "NO"
-@all:
- @echo "PDF Import extension disabled."
-.ENDIF
-
-.INCLUDE : target.mk
diff --git a/sdext/source/pdfimport/sax/makefile.mk b/sdext/source/pdfimport/sax/makefile.mk
deleted file mode 100644
index 39c3c9f1e4d2..000000000000
--- a/sdext/source/pdfimport/sax/makefile.mk
+++ /dev/null
@@ -1,51 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..
-
-PRJNAME=sdext
-TARGET=pdfsax
-ENABLE_EXCEPTIONS=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE: settings.mk
-
-# --- Files --------------------------------------------------------
-
-SLOFILES=\
- $(SLO)$/emitcontext.obj \
- $(SLO)$/saxattrlist.obj
-
-# --- Targets ------------------------------------------------------
-
-.IF "$(ENABLE_PDFIMPORT)" == "NO"
-@all:
- @echo "PDF Import extension disabled."
-.ENDIF
-
-.INCLUDE: target.mk
diff --git a/sdext/source/pdfimport/tree/makefile.mk b/sdext/source/pdfimport/tree/makefile.mk
deleted file mode 100644
index 827833296f4a..000000000000
--- a/sdext/source/pdfimport/tree/makefile.mk
+++ /dev/null
@@ -1,56 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..
-
-PRJNAME=sdext
-TARGET=pdfparsetree
-ENABLE_EXCEPTIONS=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE: settings.mk
-
-# --- Files --------------------------------------------------------
-
-SLOFILES=\
- $(SLO)$/genericelements.obj \
- $(SLO)$/imagecontainer.obj \
- $(SLO)$/pdfiprocessor.obj \
- $(SLO)$/writertreevisiting.obj \
- $(SLO)$/drawtreevisiting.obj \
- $(SLO)$/treevisitorfactory.obj \
- $(SLO)$/style.obj
-
-# --- Targets ------------------------------------------------------
-
-.IF "$(ENABLE_PDFIMPORT)" == "NO"
-@all:
- @echo "PDF Import extension disabled."
-.ENDIF
-
-.INCLUDE: target.mk
diff --git a/sdext/source/pdfimport/wrapper/Makefile b/sdext/source/pdfimport/wrapper/Makefile
new file mode 100644
index 000000000000..868182ba7023
--- /dev/null
+++ b/sdext/source/pdfimport/wrapper/Makefile
@@ -0,0 +1,37 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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.
+
+gb_PARTIALBUILD := T
+
+hash.cxx : $(SRCDIR)/sdext/source/pdfimport/wrapper/keyword_list
+ $(GPERF) -C -t -l -L C++ -m 20 -Z PdfKeywordHash -k'4-5,$$' $< > $@
+
+.DEFAULT_GOAL := all
+.PHONY : all
+all : hash.cxx
+
+# vim:set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/sdext/source/pdfimport/wrapper/makefile.mk b/sdext/source/pdfimport/wrapper/makefile.mk
deleted file mode 100755
index b2fbdfaa72e8..000000000000
--- a/sdext/source/pdfimport/wrapper/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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..
-
-PRJNAME=sdext
-TARGET=xpdfwrapper
-ENABLE_EXCEPTIONS=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE: settings.mk
-.INCLUDE: ../pdfisettings.pmk
-
-CDEFS+= -DPDFI_IMPL_IDENTIFIER=$(IMPLEMENTATION_IDENTIFIER)
-
-# --- Files --------------------------------------------------------
-
-SLOFILES=\
- $(SLO)$/wrapper.obj
-
-# --- Targets ------------------------------------------------------
-
-.IF "$(ENABLE_PDFIMPORT)" == "NO"
-@all:
- @echo "PDF Import extension disabled."
-.ENDIF
-
-.INCLUDE : target.mk
-
-$(SLO)$/wrapper.obj: $(INCCOM)$/hash.cxx
-
-$(INCCOM)$/hash.cxx: keyword_list
- $(GPERF) -C -t -l -L C++ -m 20 -Z PdfKeywordHash -k'4-5,$$' keyword_list > $@
-
diff --git a/sdext/source/pdfimport/xpdfwrapper/makefile.mk b/sdext/source/pdfimport/xpdfwrapper/makefile.mk
deleted file mode 100644
index 0d74baf215fa..000000000000
--- a/sdext/source/pdfimport/xpdfwrapper/makefile.mk
+++ /dev/null
@@ -1,82 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..
-
-PRJNAME=sdext
-TARGET=xpdfimport
-TARGETTYPE=CUI
-ENABLE_EXCEPTIONS=TRUE
-EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE: settings.mk
-
-.IF "$(SYSTEM_ZLIB)" == "YES"
-CFLAGS+=-DSYSTEM_ZLIB
-.ENDIF
-
-.IF "$(ENABLE_PDFIMPORT)" == "NO"
-@all:
- @echo "PDF Import extension disabled."
-.ENDIF
-
-.IF "$(SYSTEM_POPPLER)" == "YES"
-CFLAGS += $(POPPLER_CFLAGS) -DSYSTEM_POPPLER
-.ELSE
-CFLAGS += -I$(SOLARINCDIR)$/xpdf
-.ENDIF
-
-# --- Files --------------------------------------------------------
-UWINAPILIB:=
-APP1TARGET=$(TARGET)
-APP1LIBSALCPPRT=
-APP1OBJS= \
- $(OBJ)$/wrapper_gpl.obj $(OBJ)/pdfioutdev_gpl.obj $(OBJ)/pnghelper.obj
-
-APP1STDLIBS+=$(ZLIB3RDLIB)
-
-.IF "$(SYSTEM_POPPLER)" == "YES"
-APP1STDLIBS+=$(POPPLER_LIBS)
-.ELSE
-.IF "$(GUI)" == "WNT"
-.IF "$(COM)"=="GCC"
-APP1STDLIBS+=-lxpdf -lfofi -lGoo -lgdi32 -ladvapi32
-.ELSE
-APP1STDLIBS+=xpdf.lib fofi.lib Goo.lib gdi32.lib advapi32.lib
-.ENDIF
-.ELSE
-.IF "$(OS)" == "MACOSX" && "$(GUIBASE)"=="unx"
-APP1STDLIBS+=-lobjc
-.ENDIF
-APP1STDLIBS+=-lxpdf -lfofi -lGoo
-.ENDIF
-.ENDIF
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
diff --git a/sdext/source/presenter/Makefile b/sdext/source/presenter/Makefile
new file mode 100644
index 000000000000..2f7171a3fef1
--- /dev/null
+++ b/sdext/source/presenter/Makefile
@@ -0,0 +1,40 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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.
+
+PARTIAL_BUILD := T
+SOURCEDIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
+
+include $(GBUILDDIR)/gbuild_simple.mk
+
+manifest.xml :
+ sed "s/SHARED_EXTENSION/$(gb_Library_DLLEXT)/" $(SOURCEDIR)manifest.xml > $@
+
+.DEFAULT_GOAL := all
+.PHONY : all
+all : manifest.xml
+
+# vim:set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/sdext/source/presenter/PresenterExtensionIdentifier.txx b/sdext/source/presenter/PresenterExtensionIdentifier.hxx
index e505fd092bba..5e4f9001b678 100644
--- a/sdext/source/presenter/PresenterExtensionIdentifier.txx
+++ b/sdext/source/presenter/PresenterExtensionIdentifier.hxx
@@ -30,11 +30,8 @@
namespace sdext { namespace presenter {
-/** The UPDATE_IDENTIFIER part of the string below is replaced by the
- makefile.mk with the actual, platform specific, extension identifier.
-*/
const ::rtl::OUString PresenterComponent::gsExtensionIdentifier(
- RTL_CONSTASCII_USTRINGPARAM("com.sun.PresenterScreen-UPDATED_PLATFORM"));
+ RTL_CONSTASCII_USTRINGPARAM(PRESENTER_IMPL_IDENTIFIER));
} }
diff --git a/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/Makefile b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/Makefile
new file mode 100644
index 000000000000..68f6dcd7bad6
--- /dev/null
+++ b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/Makefile
@@ -0,0 +1,40 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# 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.
+
+PARTIAL_BUILD := T
+SOURCEDIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
+
+include $(OUTDIR)/inc/rtlbootstrap.mk
+
+presenter.xhp :
+ sed "s/PLATFORMID/$(RTL_OS)_$(RTL_ARCH)/" < $(SOURCEDIR)/presenter.xhp > $@
+
+.DEFAULT_GOAL := all
+.PHONY : all
+all : presenter.xhp
+
+# vim:set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/makefile.mk b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/makefile.mk
deleted file mode 100644
index 95678f13aa11..000000000000
--- a/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/makefile.mk
+++ /dev/null
@@ -1,51 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=../../../../..
-PRJNAME=sdext
-TARGET=PresenterScreenHelp
-EXTNAME=PresenterScreen
-
-PACKAGE = com.sun.PresenterScreen
-
-# --- Settings ----------------------------------
-
-.INCLUDE : settings.mk
-
-.IF "$(ENABLE_PRESENTER_SCREEN)" == "NO"
-do_nothing:
- @echo "Presenter Screen build disabled."
-.ELSE
-
-XHPFILES= \
- presenter.xhp
-
-
-.INCLUDE : target.mk
-.INCLUDE : tg_help.mk
-
-.ENDIF
diff --git a/sdext/source/presenter/makefile.mk b/sdext/source/presenter/makefile.mk
deleted file mode 100644
index 883482f36ba6..000000000000
--- a/sdext/source/presenter/makefile.mk
+++ /dev/null
@@ -1,355 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..
-PRJNAME=sdext
-TARGET=PresenterScreen
-GEN_HID=FALSE
-EXTNAME=PresenterScreen
-
-ENABLE_EXCEPTIONS=TRUE
-VISIBILITY_HIDDEN=TRUE
-# survive zip dependencies
-MAXLINELENGTH:=100000
-
-# --- Settings ----------------------------------
-
-.INCLUDE : rtlbootstrap.mk
-.INCLUDE : settings.mk
-
-PACKAGE=com.sun.PresenterScreen-$(PLATFORMID)
-
-.IF "$(ENABLE_PRESENTER_SCREEN)" == "NO"
-@all:
- @echo "Presenter Screen build disabled."
-.ELSE
-
-.IF "$(L10N_framework)"==""
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-DLLPRE=
-
-# --- Files -------------------------------------
-
-SLOFILES= \
- $(SLO)$/PresenterAccessibility.obj \
- $(SLO)$/PresenterAnimation.obj \
- $(SLO)$/PresenterAnimator.obj \
- $(SLO)$/PresenterBitmapContainer.obj \
- $(SLO)$/PresenterButton.obj \
- $(SLO)$/PresenterCanvasHelper.obj \
- $(SLO)$/PresenterConfigurationAccess.obj \
- $(SLO)$/PresenterController.obj \
- $(SLO)$/PresenterCurrentSlideObserver.obj \
- $(SLO)$/PresenterFrameworkObserver.obj \
- $(SLO)$/PresenterGeometryHelper.obj \
- $(SLO)$/PresenterHelper.obj \
- $(SLO)$/PresenterHelpView.obj \
- $(SLO)$/PresenterNotesView.obj \
- $(SLO)$/PresenterPaintManager.obj \
- $(SLO)$/PresenterPane.obj \
- $(SLO)$/PresenterPaneBase.obj \
- $(SLO)$/PresenterPaneBorderManager.obj \
- $(SLO)$/PresenterPaneBorderPainter.obj \
- $(SLO)$/PresenterPaneContainer.obj \
- $(SLO)$/PresenterPaneFactory.obj \
- $(SLO)$/PresenterProtocolHandler.obj \
- $(SLO)$/PresenterScreen.obj \
- $(SLO)$/PresenterScrollBar.obj \
- $(SLO)$/PresenterSlidePreview.obj \
- $(SLO)$/PresenterSlideShowView.obj \
- $(SLO)$/PresenterSlideSorter.obj \
- $(SLO)$/PresenterSprite.obj \
- $(SLO)$/PresenterSpritePane.obj \
- $(SLO)$/PresenterTextView.obj \
- $(SLO)$/PresenterTheme.obj \
- $(SLO)$/PresenterTimer.obj \
- $(SLO)$/PresenterToolBar.obj \
- $(SLO)$/PresenterUIPainter.obj \
- $(SLO)$/PresenterViewFactory.obj \
- $(SLO)$/PresenterWindowManager.obj \
- $(SLO)$/PresenterComponent.obj
-
-
-# --- Library -----------------------------------
-
-SHL1TARGET=$(ENFORCEDSHLPREFIX)$(TARGET).uno
-
-SHL1STDLIBS= $(CPPUHELPERLIB) \
- $(CPPULIB) \
- $(SALLIB)
-
-SHL1DEPN=
-SHL1IMPLIB= i$(SHL1TARGET)
-SHL1LIBS= $(SLB)$/$(TARGET).lib
-SHL1DEF= $(MISC)$/$(SHL1TARGET).def
-.IF "$(GUI)"=="WNT"
-SHL1VERSIONMAP=$(SOLARENV)/src/reg-component.map
-.ELSE # just a quick hack for GCC fdo#42865
-SHL1USE_EXPORTS = name
-.ENDIF
-SHL1RPATH= OXT
-DEF1NAME= $(SHL1TARGET)
-
-ZIP2TARGET= presenter-screen_develop
-ZIP2DIR= $(COMMONMISC)
-ZIP2EXT= .zip
-ZIP2FLAGS=-r
-ZIP2LIST= */com.sun.PresenterScreen/*.xhp
-
-ZIP1TARGET= presenter-screen
-ZIP1DIR= $(MISC)$/$(TARGET)
-ZIP1EXT= .oxt
-ZIP1FLAGS=-r
-ZIP1LIST= *
-
-DESCRIPTION:=$(ZIP1DIR)$/description.xml
-
-.IF "$(WITH_LANG)"==""
-FIND_XCU=registry/data
-.ELSE # "$(WITH_LANG)"==""
-FIND_XCU=$(MISC)$/$(EXTNAME)_in$/merge
-.ENDIF # "$(WITH_LANG)"==""
-
-COMPONENT_FILES= \
- $(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/Jobs.xcu \
- $(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/ProtocolHandler.xcu \
- $(ZIP1DIR)$/registry$/schema/org$/openoffice$/Office$/extension$/PresenterScreen.xcs \
- $(ZIP1DIR)$/registry$/data/$/org$/openoffice$/Office$/extension$/PresenterScreen.xcu
-
-COMPONENT_BITMAPS= \
- $(ZIP1DIR)$/bitmaps$/BorderTop.png \
- $(ZIP1DIR)$/bitmaps$/BorderTopLeft.png \
- $(ZIP1DIR)$/bitmaps$/BorderTopRight.png \
- $(ZIP1DIR)$/bitmaps$/BorderLeft.png \
- $(ZIP1DIR)$/bitmaps$/BorderRight.png \
- $(ZIP1DIR)$/bitmaps$/BorderBottomLeft.png \
- $(ZIP1DIR)$/bitmaps$/BorderBottomRight.png \
- $(ZIP1DIR)$/bitmaps$/BorderBottom.png \
- \
- $(ZIP1DIR)$/bitmaps$/BorderActiveTop.png \
- $(ZIP1DIR)$/bitmaps$/BorderActiveTopLeft.png \
- $(ZIP1DIR)$/bitmaps$/BorderActiveTopRight.png \
- $(ZIP1DIR)$/bitmaps$/BorderActiveLeft.png \
- $(ZIP1DIR)$/bitmaps$/BorderActiveRight.png \
- $(ZIP1DIR)$/bitmaps$/BorderActiveBottomLeft.png \
- $(ZIP1DIR)$/bitmaps$/BorderActiveBottomRight.png \
- $(ZIP1DIR)$/bitmaps$/BorderActiveBottom.png \
- $(ZIP1DIR)$/bitmaps$/BorderActiveBottomCallout.png \
- \
- $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTop.png \
- $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTopLeft.png \
- $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTopRight.png \
- $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideLeft.png \
- $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideRight.png \
- $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottomLeft.png \
- $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottomRight.png \
- $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottom.png \
- \
- $(ZIP1DIR)$/bitmaps$/BorderToolbarTop.png \
- $(ZIP1DIR)$/bitmaps$/BorderToolbarTopLeft.png \
- $(ZIP1DIR)$/bitmaps$/BorderToolbarTopRight.png \
- $(ZIP1DIR)$/bitmaps$/BorderToolbarLeft.png \
- $(ZIP1DIR)$/bitmaps$/BorderToolbarRight.png \
- $(ZIP1DIR)$/bitmaps$/BorderToolbarBottom.png \
- \
- $(ZIP1DIR)$/bitmaps$/Background.png \
- $(ZIP1DIR)$/bitmaps$/ViewBackground.png \
- \
- $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousNormal.png \
- $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousMouseOver.png \
- $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousSelected.png \
- $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousDisabled.png \
- $(ZIP1DIR)$/bitmaps$/ButtonEffectNextNormal.png \
- $(ZIP1DIR)$/bitmaps$/ButtonEffectNextMouseOver.png \
- $(ZIP1DIR)$/bitmaps$/ButtonEffectNextSelected.png \
- $(ZIP1DIR)$/bitmaps$/ButtonEffectNextDisabled.png \
- $(ZIP1DIR)$/bitmaps$/ButtonNotesNormal.png \
- $(ZIP1DIR)$/bitmaps$/ButtonNotesMouseOver.png \
- $(ZIP1DIR)$/bitmaps$/ButtonNotesSelected.png \
- $(ZIP1DIR)$/bitmaps$/ButtonNotesDisabled.png \
- $(ZIP1DIR)$/bitmaps$/ButtonSwitchMonitorNormal.png \
- $(ZIP1DIR)$/bitmaps$/ButtonSwitchMonitorMouseOver.png \
- $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterNormal.png \
- $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterMouseOver.png \
- $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterSelected.png \
- $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterDisabled.png \
- $(ZIP1DIR)$/bitmaps$/ButtonHelpNormal.png \
- $(ZIP1DIR)$/bitmaps$/ButtonHelpMouseOver.png \
- $(ZIP1DIR)$/bitmaps$/ButtonHelpSelected.png \
- $(ZIP1DIR)$/bitmaps$/ButtonHelpDisabled.png \
- \
- $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpNormal.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpMouseOver.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpSelected.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpDisabled.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownNormal.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownMouseOver.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownSelected.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownDisabled.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarPagerMiddleNormal.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarPagerMiddleMouseOver.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarThumbTopNormal.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarThumbTopMouseOver.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarThumbBottomNormal.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarThumbBottomMouseOver.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarThumbMiddleNormal.png \
- $(ZIP1DIR)$/bitmaps/ScrollbarThumbMiddleMouseOver.png \
- \
- $(ZIP1DIR)$/bitmaps$/ButtonPlusNormal.png \
- $(ZIP1DIR)$/bitmaps$/ButtonPlusMouseOver.png \
- $(ZIP1DIR)$/bitmaps$/ButtonPlusSelected.png \
- $(ZIP1DIR)$/bitmaps$/ButtonPlusDisabled.png \
- $(ZIP1DIR)$/bitmaps$/ButtonMinusNormal.png \
- $(ZIP1DIR)$/bitmaps$/ButtonMinusMouseOver.png \
- $(ZIP1DIR)$/bitmaps$/ButtonMinusSelected.png \
- $(ZIP1DIR)$/bitmaps$/ButtonMinusDisabled.png \
- \
- $(ZIP1DIR)$/bitmaps$/ButtonFrameLeftNormal.png \
- $(ZIP1DIR)$/bitmaps$/ButtonFrameCenterNormal.png \
- $(ZIP1DIR)$/bitmaps$/ButtonFrameRightNormal.png \
- $(ZIP1DIR)$/bitmaps$/ButtonFrameLeftMouseOver.png \
- $(ZIP1DIR)$/bitmaps$/ButtonFrameCenterMouseOver.png \
- $(ZIP1DIR)$/bitmaps$/ButtonFrameRightMouseOver.png \
- \
- $(ZIP1DIR)$/bitmaps$/LabelMouseOverLeft.png \
- $(ZIP1DIR)$/bitmaps$/LabelMouseOverCenter.png \
- $(ZIP1DIR)$/bitmaps$/LabelMouseOverRight.png
-
-COMPONENT_IMAGES=\
- $(ZIP1DIR)$/bitmaps$/extension_32.png
-
-COMPONENT_MANIFEST= \
- $(ZIP1DIR)$/META-INF$/manifest.xml
-
-COMPONENT_LIBRARY= \
- $(ZIP1DIR)$/$(TARGET).uno$(DLLPOST)
-
-PLATFORMID:=$(RTL_OS:l)_$(RTL_ARCH:l)
-
-COMPONENT_HELP= \
- $(foreach,l,$(alllangiso) $(ZIP1DIR)$/help$/$l$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp)
-
-COMPONENT_DESCRIPTION= \
- $(foreach,lang,$(alllangiso) $(ZIP1DIR)$/description-$(lang).txt)
-
-ZIP1DEPS= \
- $(DESCRIPTION) \
- $(COMPONENT_MANIFEST) \
- $(COMPONENT_FILES) \
- $(COMPONENT_BITMAPS) \
- $(COMPONENT_IMAGES) \
- $(COMPONENT_LIBRARY) \
- $(COMPONENT_DESCRIPTION) \
- $(COMPONENT_HELP)
-
-LINKNAME:=help
-XHPLINKSRC:=$(ZIP1DIR)/help
-
-my_XHPFILES= \
- presenter.xhp
-
-LINKLINKFILES= \
- $(PACKAGE)/{$(my_XHPFILES)}
-
-# --- Targets ----------------------------------
-.ENDIF # L10N_framework
-
-.INCLUDE : target.mk
-.INCLUDE : extension_helplink.mk
-
-.IF "$(L10N_framework)"==""
-$(SLO)$/PresenterComponent.obj : $(INCCOM)$/PresenterExtensionIdentifier.hxx
-
-$(INCCOM)$/PresenterExtensionIdentifier.hxx : PresenterExtensionIdentifier.txx
- $(TYPE) $< | sed s/UPDATED_PLATFORM/$(PLATFORMID)/ > $@
-
-$(COMPONENT_MANIFEST) : $$(@:f)
- @-$(MKDIRHIER) $(@:d)
- +$(TYPE) $< | $(SED) "s/SHARED_EXTENSION/$(DLLPOST)/" > $@
-
-$(ZIP1DIR)$/help$/%$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp : $(COMMONMISC)$/%$/com.sun.PresenterScreen$/presenter.xhp
- @echo creating $@
- @-$(MKDIRHIER) $(@:d)
- $(TYPE) $< | sed "s/PLATFORMID/$(PLATFORMID)/" > $@
-
-.IF "$(ZIP1TARGETN)"!=""
-$(ZIP1TARGETN) : $(HELPLINKALLTARGETS)
-
-.ENDIF # "$(ZIP1TARGETN)"!=""
-
-$(COMPONENT_BITMAPS) : bitmaps$/$$(@:f)
- @-$(MKDIRHIER) $(@:d)
- +$(COPY) $< $@
-
-$(COMPONENT_IMAGES) : $(SRC_ROOT)/$(RSCDEFIMG)$/desktop$/res$/$$(@:f)
- @@-$(MKDIRHIER) $(@:d)
- $(COPY) $< $@
-
-$(COMPONENT_LIBRARY) : $(DLLDEST)$/$$(@:f)
- @-$(MKDIRHIER) $(@:d)
- +$(COPY) $< $@
-
-$(COMPONENT_DESCRIPTION) : $(DESCRIPTION)
-
-$(ZIP1DIR)/%.xcu : %.xcu
- @@-$(MKDIRHIER) $(@:d)
- $(GNUCOPY) $< $@
-
-$(ZIP1DIR)$/%.xcs : %.xcs
- @@-$(MKDIRHIER) $(@:d)
- $(GNUCOPY) $< $@
-
-.INCLUDE .IGNORE : $(ZIP1DIR)_lang_track.mk
-.IF "$(LAST_WITH_LANG)"!="$(WITH_LANG)"
-PHONYDESC=.PHONY
-.ENDIF # "$(LAST_WITH_LANG)"!="$(WITH_LANG)"
-$(DESCRIPTION) $(PHONYDESC) : $$(@:f)
- @-$(MKDIRHIER) $(@:d)
- @echo LAST_WITH_LANG=$(WITH_LANG) > $(ZIP1DIR)_lang_track.mk
- $(GNUCOPY) description-en-US.txt $(ZIP1DIR)/description-en-US.txt
-.IF "$(WITH_LANG)" != ""
- $(XRMEX) -p $(PRJNAME) -i description.xml -o $@ -m $(LOCALIZESDF) -l all
- sed s/UPDATED_PLATFORM/$(PLATFORMID)/ < $@ > $@.new
- mv $@.new $@
-.ELSE
- sed s/UPDATED_PLATFORM/$(PLATFORMID)/ < description.xml > $@
-.ENDIF
-
-ALLTAR: $(MISC)/../bin/presenter-screen.oxt
-# hotfix to missing localizations
-.IF "$(WITH_LANG)"!=""
- $(COPY) $(ZIP1DIR)_in/merge/org/openoffice/Office/extension/PresenterScreen.xcu $(ZIP1DIR)/registry/data/org/openoffice/Office/extension/
- cd $(ZIP1DIR);zip -r -u ../../bin/presenter-screen.oxt registry/data/org/openoffice/Office/extension/PresenterScreen.xcu
-.ENDIF
-
-.ELSE
-ivo:
- $(ECHO)
-.ENDIF # L10N_framework
-
-.ENDIF # "$(ENABLE_PRESENTER_SCREEN)" != "NO"
diff --git a/sdext/source/presenter/registry/data/org/openoffice/Office/extension/makefile.mk b/sdext/source/presenter/registry/data/org/openoffice/Office/extension/makefile.mk
deleted file mode 100644
index d3efd284ff66..000000000000
--- a/sdext/source/presenter/registry/data/org/openoffice/Office/extension/makefile.mk
+++ /dev/null
@@ -1,51 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..$/..$/..$/..$/..$/..
-
-PRJNAME=sdext
-TARGET=data_ooOfficeext
-PACKAGE=org.openoffice.Office.extension
-EXTENSIONNAME=PresenterScreen
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-XCSROOT=$(PRJ)$/source$/presenter
-ABSXCSROOT=$(PWD)/$(PRJ)$/source$/presenter
-
-# --- Targets ------------------------------------------------------
-
-XCUFILES= \
- PresenterScreen.xcu
-
-MODULEFILES=
-
-LOCALIZEDFILES= \
- PresenterScreen.xcu
-
-.INCLUDE : target.mk
diff --git a/sdext/source/presenter/registry/data/org/openoffice/Office/makefile.mk b/sdext/source/presenter/registry/data/org/openoffice/Office/makefile.mk
deleted file mode 100644
index 358ffd9f59a5..000000000000
--- a/sdext/source/presenter/registry/data/org/openoffice/Office/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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..$/..$/..$/..$/..
-
-PRJNAME=sdext
-TARGET=data_ooOffice
-PACKAGE=org.openoffice.Office
-EXTNAME=presenter
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-# --- Targets ------------------------------------------------------
-
-XCUFILES= \
- Jobs.xcu \
- ProtocolHandler.xcu
-
-MODULEFILES=
-
-LOCALIZEDFILES=
-
-.INCLUDE : target.mk
diff --git a/sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs b/sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs
index deba55ab258b..888142b7d89f 100644
--- a/sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs
+++ b/sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs
@@ -163,6 +163,7 @@
</prop>
</group>
<group oor:name="ToolBarDescription">
+ <info><desc>Description of a tool bar entry state.</desc></info>
<node-ref oor:name="Font" oor:node-type="Font">
<info><desc>Font used for displaying the text.</desc></info>
</node-ref>
@@ -177,6 +178,7 @@
</prop>
</group>
<group oor:name="ToolBarEntry">
+ <info><desc>Definition of a tool bar entry.</desc></info>
<prop oor:name="Name" oor:type="xs:string">
<info><desc>Name of the entry. May be used to have mode dependant entries.</desc></info>
</prop>
@@ -203,6 +205,7 @@
</set>
</group>
<group oor:name="Button">
+ <info><desc>Description of a button.</desc></info>
<prop oor:name="Name" oor:type="xs:string">
<info><desc>Name of the button that is used to look up the button.</desc></info>
</prop>
@@ -220,6 +223,7 @@
</prop>
</group>
<group oor:name="HelpEntry">
+ <info><desc>Description of a help entry.</desc></info>
<prop oor:name="Left" oor:type="xs:string" oor:localized="true">
<info><desc>Typically a list of keyboard key names.</desc></info>
</prop>
@@ -288,8 +292,9 @@
</prop>
</group>
<group oor:name="PresenterString">
- <info><desc></desc></info>
+ <info><desc>Presenter string, whatever that might mean.</desc></info>
<prop oor:name="String" oor:type="xs:string" oor:localized="true">
+ <info><desc>Just a string.</desc></info>
</prop>
</group>
<group oor:name="ViewDescription">
diff --git a/sdext/util/makefile.pmk b/sdext/util/makefile.pmk
deleted file mode 100644
index 0bfd6ddce0f1..000000000000
--- a/sdext/util/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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-XSLDIR=$(SOLARXMLDIR)$/processing
-XCSROOT=$(SOLARXMLDIR)
-ABSXCSROOT=$(SOLARXMLDIR)
-DTDDIR=$(SOLARXMLDIR)
-PROCESSOUT=$(MISC)$/$(EXTNAME)
-PROCESSORDIR=$(SOLARBINDIR)
-
-# no validation by inspector class
-NO_INSPECTION=TRUE
-