Kaydet (Commit) 20a30f13 authored tarafından David Tardon's avatar David Tardon

let gb_Extension do the necessary manifest updates

üst ff0b5e24
...@@ -31,10 +31,6 @@ $(eval $(call gb_Extension_Extension,presentation-minimizer,sdext/source/minimiz ...@@ -31,10 +31,6 @@ $(eval $(call gb_Extension_Extension,presentation-minimizer,sdext/source/minimiz
$(eval $(call gb_Extension_set_platform,presentation-minimizer,$(sdext_PLATFORM))) $(eval $(call gb_Extension_set_platform,presentation-minimizer,$(sdext_PLATFORM)))
$(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_file,presentation-minimizer,$(call gb_Library_get_dllname,SunPresentationMinimizer),$(call gb_Library_get_target,SunPresentationMinimizer)))
$(eval $(call gb_Extension_add_files,presentation-minimizer,bitmaps,\ $(eval $(call gb_Extension_add_files,presentation-minimizer,bitmaps,\
......
...@@ -31,11 +31,8 @@ $(eval $(call gb_Extension_Extension,pdfimport,sdext/source/pdfimport)) ...@@ -31,11 +31,8 @@ $(eval $(call gb_Extension_Extension,pdfimport,sdext/source/pdfimport))
$(eval $(call gb_Extension_set_platform,pdfimport,$(sdext_PLATFORM))) $(eval $(call gb_Extension_set_platform,pdfimport,$(sdext_PLATFORM)))
$(eval $(call gb_Extension_set_manifest,pdfimport,$(WORKDIR)/CustomTarget/sdext/source/pdfimport/config/manifest.xml))
$(eval $(call gb_Extension_add_package_dependencies,pdfimport,\ $(eval $(call gb_Extension_add_package_dependencies,pdfimport,\
sdext_pdfimport_keywords \ sdext_pdfimport_keywords \
sdext_pdfimport_manifest \
)) ))
$(eval $(call gb_Extension_add_files,pdfimport,.,\ $(eval $(call gb_Extension_add_files,pdfimport,.,\
......
...@@ -31,11 +31,8 @@ $(eval $(call gb_Extension_Extension,presenter-screen,sdext/source/presenter)) ...@@ -31,11 +31,8 @@ $(eval $(call gb_Extension_Extension,presenter-screen,sdext/source/presenter))
$(eval $(call gb_Extension_set_platform,presenter-screen,$(sdext_PLATFORM))) $(eval $(call gb_Extension_set_platform,presenter-screen,$(sdext_PLATFORM)))
$(eval $(call gb_Extension_set_manifest,presenter-screen,$(WORKDIR)/CustomTarget/sdext/source/presenter/manifest.xml))
$(eval $(call gb_Extension_add_package_dependencies,presenter-screen,\ $(eval $(call gb_Extension_add_package_dependencies,presenter-screen,\
sdext_presenter_help \ sdext_presenter_help \
sdext_presenter_manifest \
)) ))
$(eval $(call gb_Extension_add_files,presenter-screen,,\ $(eval $(call gb_Extension_add_files,presenter-screen,,\
......
...@@ -32,7 +32,6 @@ $(eval $(call gb_Module_add_targets,sdext,\ ...@@ -32,7 +32,6 @@ $(eval $(call gb_Module_add_targets,sdext,\
Configuration_minimizer \ Configuration_minimizer \
Extension_minimizer \ Extension_minimizer \
Library_minimizer \ Library_minimizer \
Package_minimizer_manifest \
Zip_minimizer \ Zip_minimizer \
)) ))
endif endif
...@@ -45,7 +44,6 @@ $(eval $(call gb_Module_add_targets,sdext,\ ...@@ -45,7 +44,6 @@ $(eval $(call gb_Module_add_targets,sdext,\
Extension_pdfimport \ Extension_pdfimport \
Library_pdfimport \ Library_pdfimport \
Package_pdfimport_keywords \ Package_pdfimport_keywords \
Package_pdfimport_manifest \
)) ))
endif endif
...@@ -55,7 +53,6 @@ $(eval $(call gb_Module_add_targets,sdext,\ ...@@ -55,7 +53,6 @@ $(eval $(call gb_Module_add_targets,sdext,\
Extension_presenter \ Extension_presenter \
Library_presenter \ Library_presenter \
Package_presenter_help \ Package_presenter_help \
Package_presenter_manifest \
Zip_presenter \ Zip_presenter \
)) ))
endif endif
......
# -*- 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:
# -*- 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:
# -*- 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:
# -*- 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:
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd"> <!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> <manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=native" <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=native"
manifest:full-path="SunPresentationMinimizer.unoSHARED_EXTENSION"/> manifest:full-path="SunPresentationMinimizer.uno@SHARED_EXTENSION@"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-schema" <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-schema"
manifest:full-path="registry/schema/org/openoffice/Office/extension/SunPresentationMinimizer.xcs"/> manifest:full-path="registry/schema/org/openoffice/Office/extension/SunPresentationMinimizer.xcs"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
......
# -*- 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:
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd"> <!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> <manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=native" <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=native"
manifest:full-path="pdfimport.unoSHARED_EXTENSION"/> manifest:full-path="pdfimport.uno@SHARED_EXTENSION@"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.executable" <manifest:file-entry manifest:media-type="application/vnd.sun.star.executable"
manifest:full-path="xpdfimportEXEC_EXTENSION"/> manifest:full-path="xpdfimport@EXEC_EXTENSION@"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
manifest:full-path="pdf_import_filter.xcu"/> manifest:full-path="pdf_import_filter.xcu"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
......
# -*- 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:
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd"> <!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> <manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=native" <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=native"
manifest:full-path="PresenterScreen.unoSHARED_EXTENSION"/> manifest:full-path="PresenterScreen.uno@SHARED_EXTENSION@"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
manifest:full-path="registry/data/org/openoffice/Office/Jobs.xcu"/> manifest:full-path="registry/data/org/openoffice/Office/Jobs.xcu"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment