Kaydet (Commit) 2dcf42b4 authored tarafından David Tardon's avatar David Tardon

install data files from extras using filelists

Change-Id: Ib092623501e36fa759a5215a435d21e1fea8dfdd
üst 2f8d2c4c
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
$(eval $(call gb_Package_Package,extras_glade,$(call gb_CustomTarget_get_workdir,extras/source/glade))) $(eval $(call gb_Package_Package,extras_glade,$(call gb_CustomTarget_get_workdir,extras/source/glade)))
$(eval $(call gb_Package_add_file,extras_glade,pck/libreoffice-catalog.xml,libreoffice-catalog.xml)) $(eval $(call gb_Package_set_outdir,extras_glade,$(INSTDIR)))
$(eval $(call gb_Package_add_file,extras_glade,share/glade/libreoffice-catalog.xml,libreoffice-catalog.xml))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
$(eval $(call gb_Package_Package,extras_labels,$(SRCDIR)/extras/source/labels)) $(eval $(call gb_Package_Package,extras_labels,$(SRCDIR)/extras/source/labels))
$(eval $(call gb_Package_add_file,extras_labels,pck/labels.xml,labels.xml)) $(eval $(call gb_Package_set_outdir,extras_labels,$(INSTDIR)))
$(eval $(call gb_Package_add_file,extras_labels,share/labels/labels.xml,labels.xml))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
$(eval $(call gb_Package_Package,extras_newfiles,$(SRCDIR)/extras/source/shellnew)) $(eval $(call gb_Package_Package,extras_newfiles,$(SRCDIR)/extras/source/shellnew))
$(eval $(call gb_Package_add_files,extras_newfiles,pck,\ $(eval $(call gb_Package_set_outdir,extras_newfiles,$(INSTDIR)))
$(eval $(call gb_Package_add_files,extras_newfiles,share/template/shellnew,\
soffice.odg \ soffice.odg \
soffice.odp \ soffice.odp \
soffice.ods \ soffice.ods \
......
...@@ -161,17 +161,6 @@ ...@@ -161,17 +161,6 @@
#define JARFILENAME(name) STRING(CONCAT2(name,.jar)) #define JARFILENAME(name) STRING(CONCAT2(name,.jar))
#define PACKED_SHELLNEW_FILE_BODY \
TXT_FILE_BODY; \
Styles = (PACKED,WORKSTATION, OVERWRITE); \
Dir = gid_Dir_Shellnew
#define STD_SHELLNEW_FILE(id,name) \
File id \
PACKED_SHELLNEW_FILE_BODY; \
Name = STRING(name) ; \
End
#define SPECIAL_COMPONENT_LIB_FILE(id,name) \ #define SPECIAL_COMPONENT_LIB_FILE(id,name) \
File id \ File id \
Name = SPECIAL_COMPONENT_LIB_NAME(name); \ Name = SPECIAL_COMPONENT_LIB_NAME(name); \
......
...@@ -506,16 +506,16 @@ End ...@@ -506,16 +506,16 @@ End
File gid_File_Share_Labels_Xml File gid_File_Share_Labels_Xml
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (FILELIST, PACKED);
Dir = gid_Brand_Dir_Share_Labels; Dir = FILELIST_DIR;
Name = "labels.xml"; Name = "extras_labels.filelist";
End End
File gid_File_Share_Glade_Xml File gid_File_Share_Glade_Xml
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (FILELIST, PACKED);
Dir = gid_Brand_Dir_Share_Glade; Dir = FILELIST_DIR;
Name = "libreoffice-catalog.xml"; Name = "extras_glade.filelist";
End End
File gid_File_Share_Registry_Main_Xcd File gid_File_Share_Registry_Main_Xcd
...@@ -710,10 +710,12 @@ UI_FILELIST_ALL_LANG(xmlsec, UIConfig/xmlsec, filelist) ...@@ -710,10 +710,12 @@ UI_FILELIST_ALL_LANG(xmlsec, UIConfig/xmlsec, filelist)
#ifdef WNT #ifdef WNT
STD_SHELLNEW_FILE(gid_File_Shellnew_Ods_Soffice, soffice.ods) File gid_File_extras_newfiles
STD_SHELLNEW_FILE(gid_File_Shellnew_Odg_Soffice, soffice.odg) TXT_FILE_BODY;
STD_SHELLNEW_FILE(gid_File_Shellnew_Odp_Soffice, soffice.odp) Styles = (FILELIST, PACKED, WORKSTATION, OVERWRITE);
STD_SHELLNEW_FILE(gid_File_Shellnew_Odt_Soffice, soffice.odt) Dir = FILELIST_DIR;
Name = "extras_newfiles.filelist";
End
#endif #endif
......
...@@ -107,10 +107,7 @@ Module gid_Module_Root_Files_2 ...@@ -107,10 +107,7 @@ Module gid_Module_Root_Files_2
gid_File_Txt_Pagein_Draw, gid_File_Txt_Pagein_Draw,
gid_File_Txt_Pagein_Impress, gid_File_Txt_Pagein_Impress,
gid_File_Txt_Pagein_Writer, gid_File_Txt_Pagein_Writer,
gid_File_Shellnew_Ods_Soffice, gid_File_extras_newfiles);
gid_File_Shellnew_Odg_Soffice,
gid_File_Shellnew_Odp_Soffice,
gid_File_Shellnew_Odt_Soffice);
End End
Module gid_Module_Root_Files_3 Module gid_Module_Root_Files_3
......
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