diff options
author | Kalman Szalai - KAMI <kami911@gmail.com> | 2010-12-20 12:30:14 +0100 |
---|---|---|
committer | Kalman Szalai - KAMI <kami911@gmail.com> | 2010-12-20 12:47:35 +0100 |
commit | 22807f825ad30fa4ef5dfe809e5662d025819b04 (patch) | |
tree | a4f8b9560ca863a9202180d519af24708a6e6529 | |
parent | c98624788583a1b56145a8bb16f17f53bb7c228f (diff) |
Update SUN Template Pack extensions' packaing mechanism
Install extracted extension files to separated and language dependent
directory. This is the new way to include extensions to installation
set.
-rw-r--r-- | scp2/source/extensions/directory_extensions.scp | 15 | ||||
-rw-r--r-- | scp2/source/extensions/file_extensions.scp | 8 |
2 files changed, 19 insertions, 4 deletions
diff --git a/scp2/source/extensions/directory_extensions.scp b/scp2/source/extensions/directory_extensions.scp index a9a6330dc..e73979e1d 100644 --- a/scp2/source/extensions/directory_extensions.scp +++ b/scp2/source/extensions/directory_extensions.scp @@ -241,4 +241,19 @@ End /* ** Sun Template Pack ** */ +#ifdef WITH_EXTENSION_SUN_TEMPLATE_PACK + +Directory gid_Brand_Dir_Share_Extensions_Sun_Template_Pack + ParentID = gid_Brand_Dir_Share_Extensions; + DosName (en-US)= "Sun_ODF_Template_Pack_en-US"; + DosName (de) = "Sun_ODF_Template_Pack_de"; + DosName (it) = "Sun_ODF_Template_Pack_it"; + DosName (fr) = "Sun_ODF_Template_Pack_fr"; + DosName (es) = "Sun_ODF_Template_Pack_es"; + DosName (hu) = "Sun_ODF_Template_Pack_hu"; +End + #endif + +#endif + diff --git a/scp2/source/extensions/file_extensions.scp b/scp2/source/extensions/file_extensions.scp index c61a924d6..519213de2 100644 --- a/scp2/source/extensions/file_extensions.scp +++ b/scp2/source/extensions/file_extensions.scp @@ -110,7 +110,7 @@ End File gid_File_Oxt_LightProof TXT_FILE_BODY; - Styles = (PACKED); + Styles = (PACKED, ARCHIVE); Dir = gid_Brand_Dir_Share_Extensions_Install; Name (hu) = "lightproof-hu-1.2.oxt"; Name (en-US) = "lightproof-en-US-0.1.oxt"; @@ -293,15 +293,15 @@ End #ifdef WITH_EXTENSION_SUN_TEMPLATE_PACK File gid_File_Optional_Extensions_Sun_Template_Pack - Dir = gid_Brand_Dir_Share_Extensions_Install; + TXT_FILE_BODY; + Styles = (PACKED, ARCHIVE); + Dir = gid_Brand_Dir_Share_Extensions_Sun_Template_Pack; Name (en-US) = "Sun_ODF_Template_Pack_en-US.oxt"; Name (de) = "Sun_ODF_Template_Pack_de.oxt"; Name (it) = "Sun_ODF_Template_Pack_it.oxt"; Name (fr) = "Sun_ODF_Template_Pack_fr.oxt"; Name (es) = "Sun_ODF_Template_Pack_es.oxt"; Name (hu) = "Sun_ODF_Template_Pack_hu.oxt"; - Styles = (PACKED); - UnixRights = 444; End #endif |