diff options
author | David Tardon <dtardon@redhat.com> | 2013-05-04 15:14:22 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-05-04 14:43:58 +0000 |
commit | ea9ba874c3a0d85eb9430dc7913928086fff34c3 (patch) | |
tree | c814a31001d2153d0a2e3e1897e3da09eea56679 /moz | |
parent | 054852042554893165f6ee09a6879007b9cf3718 (diff) |
install moz. runtime files using filelist
Change-Id: Iddc1a86d34a6d05f2a2939fb72f057fb387bbe1f
Reviewed-on: https://gerrit.libreoffice.org/3781
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'moz')
-rw-r--r-- | moz/CustomTarget_runtime.mk | 27 | ||||
-rw-r--r-- | moz/ExternalPackage_runtime.mk | 57 | ||||
-rw-r--r-- | moz/Module_moz.mk | 2 | ||||
-rw-r--r-- | moz/UnpackedTarball_mozruntime.mk (renamed from moz/Package_runtime.mk) | 4 |
4 files changed, 60 insertions, 30 deletions
diff --git a/moz/CustomTarget_runtime.mk b/moz/CustomTarget_runtime.mk deleted file mode 100644 index 1296f2ae6ea2..000000000000 --- a/moz/CustomTarget_runtime.mk +++ /dev/null @@ -1,27 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# - -MOZ_DEL_LIST := freebl3.dll \ - nspr4.dll \ - nss3.dll \ - plc4.dll \ - plds4.dll \ - smime3.dll \ - softokn3.dll \ - ssl3.dll - -$(eval $(call gb_CustomTarget_CustomTarget,moz/runtime)) - -$(eval $(call gb_CustomTarget_register_target,moz/runtime,mozruntime.zip)) - -$(call gb_CustomTarget_get_workdir,moz/runtime)/mozruntime.zip: $(TARFILE_LOCATION)/$(MOZ_ZIP_RUNTIME) - cp $< $@ - zip -qd $@ $(MOZ_DEL_LIST) - -# vim: set noet sw=4 ts=4: diff --git a/moz/ExternalPackage_runtime.mk b/moz/ExternalPackage_runtime.mk new file mode 100644 index 000000000000..e43519e48488 --- /dev/null +++ b/moz/ExternalPackage_runtime.mk @@ -0,0 +1,57 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_ExternalPackage_ExternalPackage,moz_runtime,mozruntime)) + +$(eval $(call gb_ExternalPackage_set_outdir,moz_runtime,$(INSTDIR))) + +$(eval $(call gb_ExternalPackage_add_unpacked_files_with_dir,moz_runtime,program,\ + components/addrbook.dll \ + components/addrbook.xpt \ + components/i18n.dll \ + components/mork.dll \ + components/mozldap.dll \ + components/mozldap.xpt \ + components/necko.dll \ + components/necko_dns.xpt \ + components/pipnss.dll \ + components/pref.xpt \ + components/profile.dll \ + components/rdf.dll \ + components/uconv.dll \ + components/vcard.dll \ + components/xpc3250.dll \ + components/xpcom_base.xpt \ + components/xpcom_compat_c.dll \ + components/xpcom_components.xpt \ + components/xpcom_ds.xpt \ + components/xpcom_io.xpt \ + components/xpcom_obsolete.xpt \ + components/xpcom_thread.xpt \ + components/xpcom_xpti.xpt \ + components/xppref32.dll \ + defaults/autoconfig/platform.js \ + defaults/autoconfig/prefcalls.js \ + defaults/pref/browser-prefs.js \ + defaults/pref/mailnews.js \ + defaults/pref/mdn.js \ + defaults/pref/smime.js \ + greprefs/all.js \ + greprefs/security-prefs.js \ + js3250.dll \ + mozz.dll \ + msgbsutl.dll \ + nsldap32v50.dll \ + nsldappr32v50.dll \ + xpcom.dll \ + xpcom_compat.dll \ + xpcom_core.dll \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/moz/Module_moz.mk b/moz/Module_moz.mk index f447668f46f1..3be2c18f8aaa 100644 --- a/moz/Module_moz.mk +++ b/moz/Module_moz.mk @@ -13,7 +13,7 @@ ifeq ($(WITH_MOZAB4WIN),YES) $(eval $(call gb_Module_add_targets,moz,\ ExternalPackage_moz_lib \ - CustomTarget_runtime \ + ExternalPackage_runtime \ Package_runtime \ UnpackedTarball_moz_inc \ UnpackedTarball_moz_lib \ diff --git a/moz/Package_runtime.mk b/moz/UnpackedTarball_mozruntime.mk index 59fb894cb0fe..228890c4da6a 100644 --- a/moz/Package_runtime.mk +++ b/moz/UnpackedTarball_mozruntime.mk @@ -7,8 +7,8 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -$(eval $(call gb_Package_Package,moz/runtime,$(call gb_CustomTarget_get_workdir,moz/runtime))) +$(eval $(call gb_UnpackedTarball_UnpackedTarball,mozruntime)) -$(eval $(call gb_Package_add_file,moz/runtime,bin/mozruntime.zip,mozruntime.zip)) +$(eval $(call gb_UnpackedTarball_set_tarball,mozruntime,$(MOZ_ZIP_RUNTIME))) # vim: set noet sw=4 ts=4: |