Blame SOURCES/0001-Change-SDK-javaodc-from-static-Package-to-dynamic-Ge.patch

f085be
From a59e5ecd611ddd41cec6d9c78773f55887df67e6 Mon Sep 17 00:00:00 2001
f085be
From: Stephan Bergmann <sbergman@redhat.com>
f085be
Date: Tue, 25 Feb 2014 15:44:16 +0100
f085be
Subject: [PATCH] Change SDK javaodc from static Package to dynamic
f085be
 GeneratedPackage
f085be
f085be
...as e.g. the list of resrouces/*.gif apparently varies per javadoc version.
f085be
f085be
Change-Id: Idcf95229295c1c5cd16e565bcd168c1a0e7d4f0c
f085be
---
f085be
 odk/GeneratedPackage_odk_javadoc.mk |  16 ++++
f085be
 odk/Module_odk.mk                   |   2 +-
f085be
 odk/Package_javadoc.mk              | 146 ------------------------------------
f085be
 3 files changed, 17 insertions(+), 147 deletions(-)
f085be
 create mode 100644 odk/GeneratedPackage_odk_javadoc.mk
f085be
 delete mode 100644 odk/Package_javadoc.mk
f085be
f085be
diff --git a/odk/GeneratedPackage_odk_javadoc.mk b/odk/GeneratedPackage_odk_javadoc.mk
f085be
new file mode 100644
f085be
index 0000000..569377b
f085be
--- /dev/null
f085be
+++ b/odk/GeneratedPackage_odk_javadoc.mk
f085be
@@ -0,0 +1,16 @@
f085be
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
f085be
+#
f085be
+# This file is part of the LibreOffice project.
f085be
+#
f085be
+# This Source Code Form is subject to the terms of the Mozilla Public
f085be
+# License, v. 2.0. If a copy of the MPL was not distributed with this
f085be
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
f085be
+#
f085be
+
f085be
+$(eval $(call gb_GeneratedPackage_GeneratedPackage,odk_javadoc,$(call gb_CustomTarget_get_workdir,odk/docs/java/ref)))
f085be
+
f085be
+$(eval $(call gb_GeneratedPackage_add_dir,odk_javadoc,$(INSTDIR)/$(SDKDIRNAME)/docs/java/ref,.))
f085be
+
f085be
+$(eval $(call gb_GeneratedPackage_use_customtarget,odk_javadoc,odk/docs/java/ref))
f085be
+
f085be
+# vim: set noet sw=4 ts=4:
f085be
diff --git a/odk/Module_odk.mk b/odk/Module_odk.mk
f085be
index 9ddc400..32bdfc1 100644
f085be
--- a/odk/Module_odk.mk
f085be
+++ b/odk/Module_odk.mk
f085be
@@ -44,9 +44,9 @@ $(eval $(call gb_Module_add_targets,odk,\
f085be
 	$(if $(filter YESGCC,$(BUILD_UNOWINREG)$(COM)),CustomTarget_unowinreg) \
f085be
 	CustomTarget_classes \
f085be
 	CustomTarget_javadoc \
f085be
+	GeneratedPackage_odk_javadoc \
f085be
 	GeneratedPackage_uno_loader_classes \
f085be
 	$(if $(filter WNT,$(OS)),Library_unowinreg) \
f085be
-	Package_javadoc \
f085be
 	Package_unowinreg \
f085be
 ))
f085be
 endif
f085be
diff --git a/odk/Package_javadoc.mk b/odk/Package_javadoc.mk
f085be
deleted file mode 100644
f085be
index 5f0ea44..0000000
f085be
--- a/odk/Package_javadoc.mk
f085be
+++ /dev/null
f085be
@@ -1,146 +0,0 @@
f085be
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
f085be
-#
f085be
-# This file is part of the LibreOffice project.
f085be
-#
f085be
-# This Source Code Form is subject to the terms of the Mozilla Public
f085be
-# License, v. 2.0. If a copy of the MPL was not distributed with this
f085be
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
f085be
-#
f085be
-
f085be
-$(eval $(call gb_Package_Package,odk_javadoc,$(call gb_CustomTarget_get_workdir,odk/docs/java/ref)))
f085be
-
f085be
-$(eval $(call gb_Package_set_outdir,odk_javadoc,$(INSTDIR)))
f085be
-
f085be
-$(eval $(call gb_Package_add_files_with_dir,odk_javadoc,$(SDKDIRNAME)/docs/java/ref,\
f085be
-	allclasses-frame.html \
f085be
-	allclasses-noframe.html \
f085be
-	com/sun/star/comp/helper/Bootstrap.html \
f085be
-	com/sun/star/comp/helper/BootstrapException.html \
f085be
-	com/sun/star/comp/helper/ComponentContext.html \
f085be
-	com/sun/star/comp/helper/ComponentContextEntry.html \
f085be
-	com/sun/star/comp/helper/SharedLibraryLoader.html \
f085be
-	com/sun/star/comp/helper/class-use/Bootstrap.html \
f085be
-	com/sun/star/comp/helper/class-use/BootstrapException.html \
f085be
-	com/sun/star/comp/helper/class-use/ComponentContext.html \
f085be
-	com/sun/star/comp/helper/class-use/ComponentContextEntry.html \
f085be
-	com/sun/star/comp/helper/class-use/SharedLibraryLoader.html \
f085be
-	com/sun/star/comp/helper/package-frame.html \
f085be
-	com/sun/star/comp/helper/package-summary.html \
f085be
-	com/sun/star/comp/helper/package-tree.html \
f085be
-	com/sun/star/comp/helper/package-use.html \
f085be
-	com/sun/star/lib/uno/helper/ComponentBase.html \
f085be
-	com/sun/star/lib/uno/helper/Factory.html \
f085be
-	com/sun/star/lib/uno/helper/InterfaceContainer.html \
f085be
-	com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.html \
f085be
-	com/sun/star/lib/uno/helper/PropertySet.html \
f085be
-	com/sun/star/lib/uno/helper/PropertySetMixin.BoundListeners.html \
f085be
-	com/sun/star/lib/uno/helper/PropertySetMixin.html \
f085be
-	com/sun/star/lib/uno/helper/UnoUrl.html \
f085be
-	com/sun/star/lib/uno/helper/WeakAdapter.html \
f085be
-	com/sun/star/lib/uno/helper/WeakBase.html \
f085be
-	com/sun/star/lib/uno/helper/class-use/ComponentBase.html \
f085be
-	com/sun/star/lib/uno/helper/class-use/Factory.html \
f085be
-	com/sun/star/lib/uno/helper/class-use/InterfaceContainer.html \
f085be
-	com/sun/star/lib/uno/helper/class-use/MultiTypeInterfaceContainer.html \
f085be
-	com/sun/star/lib/uno/helper/class-use/PropertySet.html \
f085be
-	com/sun/star/lib/uno/helper/class-use/PropertySetMixin.BoundListeners.html \
f085be
-	com/sun/star/lib/uno/helper/class-use/PropertySetMixin.html \
f085be
-	com/sun/star/lib/uno/helper/class-use/UnoUrl.html \
f085be
-	com/sun/star/lib/uno/helper/class-use/WeakAdapter.html \
f085be
-	com/sun/star/lib/uno/helper/class-use/WeakBase.html \
f085be
-	com/sun/star/lib/uno/helper/package-frame.html \
f085be
-	com/sun/star/lib/uno/helper/package-summary.html \
f085be
-	com/sun/star/lib/uno/helper/package-tree.html \
f085be
-	com/sun/star/lib/uno/helper/package-use.html \
f085be
-	com/sun/star/lib/unoloader/UnoClassLoader.html \
f085be
-	com/sun/star/lib/unoloader/UnoLoader.html \
f085be
-	com/sun/star/lib/unoloader/class-use/UnoClassLoader.html \
f085be
-	com/sun/star/lib/unoloader/class-use/UnoLoader.html \
f085be
-	com/sun/star/lib/unoloader/package-frame.html \
f085be
-	com/sun/star/lib/unoloader/package-summary.html \
f085be
-	com/sun/star/lib/unoloader/package-tree.html \
f085be
-	com/sun/star/lib/unoloader/package-use.html \
f085be
-	com/sun/star/lib/util/UrlToFileMapper.html \
f085be
-	com/sun/star/lib/util/class-use/UrlToFileMapper.html \
f085be
-	com/sun/star/lib/util/package-frame.html \
f085be
-	com/sun/star/lib/util/package-summary.html \
f085be
-	com/sun/star/lib/util/package-tree.html \
f085be
-	com/sun/star/lib/util/package-use.html \
f085be
-	com/sun/star/uno/Any.html \
f085be
-	com/sun/star/uno/AnyConverter.html \
f085be
-	com/sun/star/uno/Ascii.html \
f085be
-	com/sun/star/uno/AsciiString.html \
f085be
-	com/sun/star/uno/Enum.html \
f085be
-	com/sun/star/uno/IBridge.html \
f085be
-	com/sun/star/uno/IEnvironment.html \
f085be
-	com/sun/star/uno/IFieldDescription.html \
f085be
-	com/sun/star/uno/IMapping.html \
f085be
-	com/sun/star/uno/IMemberDescription.html \
f085be
-	com/sun/star/uno/IMethodDescription.html \
f085be
-	com/sun/star/uno/IQueryInterface.html \
f085be
-	com/sun/star/uno/ITypeDescription.html \
f085be
-	com/sun/star/uno/MappingException.html \
f085be
-	com/sun/star/uno/Type.html \
f085be
-	com/sun/star/uno/Union.html \
f085be
-	com/sun/star/uno/UnoRuntime.html \
f085be
-	com/sun/star/uno/WeakReference.html \
f085be
-	com/sun/star/uno/class-use/Any.html \
f085be
-	com/sun/star/uno/class-use/AnyConverter.html \
f085be
-	com/sun/star/uno/class-use/Ascii.html \
f085be
-	com/sun/star/uno/class-use/AsciiString.html \
f085be
-	com/sun/star/uno/class-use/Enum.html \
f085be
-	com/sun/star/uno/class-use/IBridge.html \
f085be
-	com/sun/star/uno/class-use/IEnvironment.html \
f085be
-	com/sun/star/uno/class-use/IFieldDescription.html \
f085be
-	com/sun/star/uno/class-use/IMapping.html \
f085be
-	com/sun/star/uno/class-use/IMemberDescription.html \
f085be
-	com/sun/star/uno/class-use/IMethodDescription.html \
f085be
-	com/sun/star/uno/class-use/IQueryInterface.html \
f085be
-	com/sun/star/uno/class-use/ITypeDescription.html \
f085be
-	com/sun/star/uno/class-use/MappingException.html \
f085be
-	com/sun/star/uno/class-use/Type.html \
f085be
-	com/sun/star/uno/class-use/Union.html \
f085be
-	com/sun/star/uno/class-use/UnoRuntime.html \
f085be
-	com/sun/star/uno/class-use/WeakReference.html \
f085be
-	com/sun/star/uno/package-frame.html \
f085be
-	com/sun/star/uno/package-summary.html \
f085be
-	com/sun/star/uno/package-tree.html \
f085be
-	com/sun/star/uno/package-use.html \
f085be
-	constant-values.html \
f085be
-	deprecated-list.html \
f085be
-	help-doc.html \
f085be
-	index-files/index-1.html \
f085be
-	index-files/index-10.html \
f085be
-	index-files/index-11.html \
f085be
-	index-files/index-12.html \
f085be
-	index-files/index-13.html \
f085be
-	index-files/index-14.html \
f085be
-	index-files/index-15.html \
f085be
-	index-files/index-16.html \
f085be
-	index-files/index-17.html \
f085be
-	index-files/index-18.html \
f085be
-	index-files/index-19.html \
f085be
-	index-files/index-2.html \
f085be
-	index-files/index-20.html \
f085be
-	index-files/index-21.html \
f085be
-	index-files/index-3.html \
f085be
-	index-files/index-4.html \
f085be
-	index-files/index-5.html \
f085be
-	index-files/index-6.html \
f085be
-	index-files/index-7.html \
f085be
-	index-files/index-8.html \
f085be
-	index-files/index-9.html \
f085be
-	index.html \
f085be
-	overview-frame.html \
f085be
-	overview-summary.html \
f085be
-	overview-tree.html \
f085be
-	package-list \
f085be
-	resources/background.gif \
f085be
-	resources/tab.gif \
f085be
-	resources/titlebar.gif \
f085be
-	resources/titlebar_end.gif \
f085be
-	serialized-form.html \
f085be
-	stylesheet.css \
f085be
-))
f085be
-
f085be
-# vim: set noet sw=4 ts=4:
f085be
-- 
f085be
1.9.0
f085be