[Libreoffice-commits] core.git: 2 commits - Repository.mk scp2/AutoInstall.mk scp2/InstallModule_gnome.mk scp2/InstallModule_ooo.mk scp2/source

Matúš Kukan matus.kukan at gmail.com
Sun Dec 25 08:09:57 UTC 2016


 Repository.mk                             |    5 ++++-
 scp2/AutoInstall.mk                       |    1 +
 scp2/InstallModule_gnome.mk               |    4 ----
 scp2/InstallModule_ooo.mk                 |    6 ++----
 scp2/source/ooo/module_libreofficekit.scp |   30 +++---------------------------
 5 files changed, 10 insertions(+), 36 deletions(-)

New commits:
commit 98c0a80a1c1522a74a8b82d2e876d0d30de2dcb7
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Sat Dec 24 14:48:33 2016 +0100

    scp2: Bin not used defines
    
    Change-Id: I4d2fe64fb8635bb87c9eb3b3f5b98227811cea03

diff --git a/scp2/InstallModule_gnome.mk b/scp2/InstallModule_gnome.mk
index ac3a1fd..c33f4f5 100644
--- a/scp2/InstallModule_gnome.mk
+++ b/scp2/InstallModule_gnome.mk
@@ -11,10 +11,6 @@ $(eval $(call gb_InstallModule_InstallModule,scp2/gnome))
 
 $(eval $(call gb_InstallModule_use_auto_install_libs,scp2/gnome,gnome))
 
-$(eval $(call gb_InstallModule_define_if_set,scp2/gnome,\
-    ENABLE_GTK \
-))
-
 $(eval $(call gb_InstallModule_add_scpfiles,scp2/gnome,\
     scp2/source/gnome/file_gnome \
 ))
diff --git a/scp2/InstallModule_ooo.mk b/scp2/InstallModule_ooo.mk
index 5831304..3a1f2a4 100644
--- a/scp2/InstallModule_ooo.mk
+++ b/scp2/InstallModule_ooo.mk
@@ -19,11 +19,9 @@ $(eval $(call gb_InstallModule_use_auto_install_libs,scp2/ooo,\
 ))
 
 $(eval $(call gb_InstallModule_define_if_set,scp2/ooo,\
-	ENABLE_GTK \
 	ENABLE_SYSTRAY_GTK \
 	ENABLE_MACOSX_SANDBOX \
 	ENABLE_ONLINE_UPDATE \
-	ENABLE_TDE \
 	SYSTEM_CURL \
 	SYSTEM_HSQLDB \
 	SYSTEM_LIBXSLT \
commit 7b340f0d88e32408c4dd797aba826c73caccc01d
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Sat Dec 24 14:42:54 2016 +0100

    tdf#90753: AutoInstall libreofficekit_selectionhandles package
    
    Change-Id: I9998f3dcd6725a49aa2c083eac0de1f970b167e0

diff --git a/Repository.mk b/Repository.mk
index 939b91d..dbc3c2b 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -786,7 +786,6 @@ $(eval $(call gb_Helper_register_packages, \
 	more_fonts_conf \
 	instsetoo_native_setup \
 	$(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
-	libreofficekit_selectionhandles \
 	odk_headers_generated \
 	oox_customshapes \
 	oox_generated \
@@ -807,6 +806,10 @@ $(eval $(call gb_Helper_register_packages_for_install,calc,\
 	sc_res_xml \
 ))
 
+$(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
+	$(if $(filter LINUX %BSD SOLARIS, $(OS)),$(if $(ENABLE_GTK3),libreofficekit_selectionhandles)) \
+))
+
 $(eval $(call gb_Helper_register_packages_for_install,ure,\
 	instsetoo_native_setup_ure \
 	ure_install \
diff --git a/scp2/AutoInstall.mk b/scp2/AutoInstall.mk
index cba489f..43c53ab 100644
--- a/scp2/AutoInstall.mk
+++ b/scp2/AutoInstall.mk
@@ -27,6 +27,7 @@ $(eval $(call gb_AutoInstall_add_module,graphicfilter,LIBO_LIB_FILE))
 $(eval $(call gb_AutoInstall_add_module,impress,LIBO_LIB_FILE))
 $(eval $(call gb_AutoInstall_add_module,impress_brand,,LIBO_EXECUTABLE))
 $(eval $(call gb_AutoInstall_add_module,kde,LIBO_LIB_FILE,LIBO_EXECUTABLE))
+$(eval $(call gb_AutoInstall_add_module,libreofficekit,LIBO_LIB_FILE,LIBO_EXECUTABLE))
 $(eval $(call gb_AutoInstall_add_module,math,LIBO_LIB_FILE))
 $(eval $(call gb_AutoInstall_add_module,math_brand,,LIBO_EXECUTABLE))
 $(eval $(call gb_AutoInstall_add_module,ogltrans,LIBO_LIB_FILE))
diff --git a/scp2/InstallModule_ooo.mk b/scp2/InstallModule_ooo.mk
index ade0cbd..5831304 100644
--- a/scp2/InstallModule_ooo.mk
+++ b/scp2/InstallModule_ooo.mk
@@ -11,16 +11,16 @@ $(eval $(call gb_InstallModule_InstallModule,scp2/ooo))
 
 $(eval $(call gb_InstallModule_use_auto_install_libs,scp2/ooo,\
 	brand \
+	libreofficekit \
 	ooo \
 	ooobinarytable \
-	reportbuilder \
 	pdfimport \
+	reportbuilder \
 ))
 
 $(eval $(call gb_InstallModule_define_if_set,scp2/ooo,\
 	ENABLE_GTK \
 	ENABLE_SYSTRAY_GTK \
-	ENABLE_GTK3 \
 	ENABLE_MACOSX_SANDBOX \
 	ENABLE_ONLINE_UPDATE \
 	ENABLE_TDE \
diff --git a/scp2/source/ooo/module_libreofficekit.scp b/scp2/source/ooo/module_libreofficekit.scp
index 4a31923..80af179 100644
--- a/scp2/source/ooo/module_libreofficekit.scp
+++ b/scp2/source/ooo/module_libreofficekit.scp
@@ -9,6 +9,8 @@
 
 #include "macros.inc"
 
+#include "AutoInstall/libreofficekit"
+
 Module gid_Module_Libreofficekit
     Name = "Libreofficekit Data";
     Description = "Libreofficekit Data";
@@ -16,10 +18,7 @@ Module gid_Module_Libreofficekit
     ParentID = gid_Module_Root_Brand;
     Styles = (HIDDEN_ROOT);
     Dirs = (gid_Dir_Share_Libreofficekit);
-    Files = (
-        gid_File_Dat_HandleImageStart,
-        gid_File_Dat_HandleImageMiddle,
-        gid_File_Dat_HandleImageEnd);
+    Files = (auto_libreofficekit_ALL);
 End
 
 Directory gid_Dir_Share_Libreofficekit
@@ -27,27 +26,4 @@ Directory gid_Dir_Share_Libreofficekit
     DosName = "libreofficekit";
 End
 
-#ifdef ENABLE_GTK3
-File gid_File_Dat_HandleImageStart
-    TXT_FILE_BODY;
-    Dir = gid_Dir_Share_Libreofficekit;
-    Name = "handle_image_start.png";
-    Styles = (PACKED);
-End
-
-File gid_File_Dat_HandleImageMiddle
-    TXT_FILE_BODY;
-    Dir = gid_Dir_Share_Libreofficekit;
-    Name = "handle_image_middle.png";
-    Styles = (PACKED);
-End
-
-File gid_File_Dat_HandleImageEnd
-    TXT_FILE_BODY;
-    Dir = gid_Dir_Share_Libreofficekit;
-    Name = "handle_image_end.png";
-    Styles = (PACKED);
-End
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list