Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3781

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/81/3781/1

install moz. runtime files using filelist

Change-Id: Iddc1a86d34a6d05f2a2939fb72f057fb387bbe1f
---
D moz/CustomTarget_runtime.mk
A moz/ExternalPackage_runtime.mk
M moz/Module_moz.mk
R moz/UnpackedTarball_mozruntime.mk
M scp2/source/ooo/file_ooo.scp
5 files changed, 63 insertions(+), 33 deletions(-)



diff --git a/moz/CustomTarget_runtime.mk b/moz/CustomTarget_runtime.mk
deleted file mode 100644
index 1296f2a..0000000
--- 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 0000000..e43519e
--- /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 f447668..3be2c18 100644
--- a/moz/Module_moz.mk
+++ b/moz/Module_moz.mk
@@ -13,7 +13,7 @@
 
 $(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
similarity index 66%
rename from moz/Package_runtime.mk
rename to moz/UnpackedTarball_mozruntime.mk
index 59fb894..228890c 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:
diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp
index fb2b35e..6bca90f 100644
--- a/scp2/source/ooo/file_ooo.scp
+++ b/scp2/source/ooo/file_ooo.scp
@@ -595,9 +595,9 @@
 
 File gid_File_Mozilla_Runtime
     TXT_FILE_BODY;
-    Styles = (ARCHIVE);
-    Dir = SCP2_OOO_BIN_DIR;
-    Name = "mozruntime.zip";
+    Styles = (FILELIST);
+    Dir = FILELIST_DIR;
+    Name = "moz_runtime.filelist";
 End
 
 #endif

-- 
To view, visit https://gerrit.libreoffice.org/3781
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iddc1a86d34a6d05f2a2939fb72f057fb387bbe1f
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: David Tardon <dtardon@redhat.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.