cleanup unfortunate license duplication

This commit is contained in:
Michael Meeks 2010-12-08 18:57:42 +00:00 committed by Fridrich Štrba
parent 12fad75f63
commit 0df9bf4c7a
3 changed files with 23 additions and 92 deletions

View file

@ -101,7 +101,10 @@ Module gid_Module_Root_Brand
gid_Brand_File_Share_Xdg_QStart, gid_Brand_File_Share_Xdg_QStart,
gid_Brand_File_Share_Xdg_StartCenter, gid_Brand_File_Share_Xdg_StartCenter,
gid_Brand_File_Share_Xdg_Writer, gid_Brand_File_Share_Xdg_Writer,
gid_Brand_File_Txt_Package); gid_Brand_File_Txt_Package,
gid_License_Txt,
git_License_Odt,
gid_Credits_Odt);
Unixlinks = (gid_Brand_Unixlink_BasisLink, Unixlinks = (gid_Brand_Unixlink_BasisLink,
gid_Brand_Unixlink_Program, gid_Brand_Unixlink_Program,
gid_Brand_Unixlink_Unopkg, gid_Brand_Unixlink_Unopkg,
@ -118,13 +121,10 @@ Module gid_Module_Langpack_Brand_Template
InstallOrder = "1050"; InstallOrder = "1050";
Dirs = (gid_Brand_Dir_Help, Dirs = (gid_Brand_Dir_Help,
gid_Brand_Dir_Help_Isolanguage, gid_Brand_Dir_Help_Isolanguage,
gid_Brand_Dir_License,
gid_Brand_Dir_Program, gid_Brand_Dir_Program,
gid_Brand_Dir_Program_Shell, gid_Brand_Dir_Program_Shell,
gid_Brand_Dir_Program_Resource, gid_Brand_Dir_Program_Resource,
gid_Brand_Dir_Readme, gid_Brand_Dir_Readme);
gid_Brand_Dir_Share,
gid_Brand_Dir_Share_Readme);
Files = (gid_Brand_File_Res_Iso, Files = (gid_Brand_File_Res_Iso,
gid_Brand_File_Res_Ooo, gid_Brand_File_Res_Ooo,
gid_Brand_File_Res_Oirm, gid_Brand_File_Res_Oirm,
@ -132,13 +132,9 @@ Module gid_Module_Langpack_Brand_Template
gid_Brand_File_Help_C05_Scalc_Zip, gid_Brand_File_Help_C05_Scalc_Zip,
gid_Brand_File_Help_C05_Sdraw_Zip, gid_Brand_File_Help_C05_Sdraw_Zip,
gid_Brand_File_Help_C05_Swriter_Zip, gid_Brand_File_Help_C05_Swriter_Zip,
gid_Brand_File_License_License,
gid_Brand_File_License_License_Small,
gid_Brand_File_Readme_Readme, gid_Brand_File_Readme_Readme,
gid_Brand_File_Share_Registry_Cjk_Xcd, gid_Brand_File_Share_Registry_Cjk_Xcd,
gid_Brand_File_Share_Registry_Korea_Xcd, gid_Brand_File_Share_Registry_Korea_Xcd,
gid_Brand_File_Txt_License,
gid_Brand_File_Txt_License_Small,
gid_Brand_File_Txt_Readme); gid_Brand_File_Txt_Readme);
End End
@ -173,15 +169,6 @@ Directory gid_Brand_Dir_Readme
DosName = "readmes"; DosName = "readmes";
End End
Directory gid_Brand_Dir_License
#if defined MACOSX
ParentID = gid_Brand_Dir_BasisLink;
#else
ParentID = gid_Dir_Brand_Root;
#endif
DosName = "licenses";
End
Directory gid_Brand_Dir_Help Directory gid_Brand_Dir_Help
#if defined MACOSX #if defined MACOSX
ParentID = gid_Dir_Bundle_Contents; ParentID = gid_Dir_Bundle_Contents;
@ -210,11 +197,6 @@ Directory gid_Brand_Dir_Share_Config
DosName = "config"; DosName = "config";
End End
Directory gid_Brand_Dir_Share_Readme
ParentID = gid_Brand_Dir_Share;
DosName = "readme";
End
Directory gid_Brand_Dir_Share_Extension Directory gid_Brand_Dir_Share_Extension
ParentID = gid_Brand_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "extension"; DosName = "extension";
@ -1503,6 +1485,22 @@ File gid_Brand_File_Bin_Python
End End
#endif #endif
File gid_License_Txt
TXT_FILE_BODY;
#if defined MACOSX
Dir = gid_Brand_Dir_BasisLink;
#else
Dir = gid_Dir_Brand_Root;
#endif
#ifdef UNX
Name = "LICENSE";
#endif
#ifdef WNT
Name = "license.txt";
#endif
Styles = (PACKED);
End
File gid_License_Odt File gid_License_Odt
BIN_FILE_BODY; BIN_FILE_BODY;
#if defined MACOSX #if defined MACOSX

View file

@ -29,45 +29,9 @@
// Files // Files
File gid_Brand_File_Txt_License
TXT_FILE_BODY;
Dir = gid_Brand_Dir_Share_Readme;
#ifdef UNX
README_ALL_LANG(Name, LICENSE);
#endif
#ifdef WNT
README_TXT_ALL_LANG(Name, license, txt);
#endif
Styles = (PACKED, SCPZIP_REPLACE);
End
File gid_Brand_File_License_License
TXT_FILE_BODY;
Dir = gid_Brand_Dir_License;
#ifdef UNX
README_ALL_LANG(Name, LICENSE);
#endif
#ifdef WNT
README_TXT_ALL_LANG(Name, license, txt);
#endif
Styles = (PACKED, SCPZIP_REPLACE);
End
File gid_Brand_File_Txt_Readme
TXT_FILE_BODY;
Dir = gid_Brand_Dir_Share_Readme;
#ifdef UNX
README_ALL_LANG(Name, README);
#endif
#ifdef WNT
README_TXT_ALL_LANG(Name, readme, txt);
#endif
Styles = (PACKED, SCPZIP_REPLACE);
End
File gid_Brand_File_Readme_Readme File gid_Brand_File_Readme_Readme
TXT_FILE_BODY; TXT_FILE_BODY;
Dir = gid_Brand_Dir_Readme; Dir = gid_Brand_Dir_Readme;
#ifdef UNX #ifdef UNX
README_ALL_LANG(Name, README); README_ALL_LANG(Name, README);
#endif #endif

View file

@ -27,22 +27,6 @@
#include "macros.inc" #include "macros.inc"
ScpAction scp_Copy_License_Txt
#ifdef UNX
README_ALL_LANG(Copy, LICENSE);
README_ALL_LANG(Name, LICENSE);
#else
README_TXT_ALL_LANG(Copy, license, txt);
README_TXT_ALL_LANG(Name, license, txt);
#endif
Styles = (SCPZIP_REPLACE);
#ifndef MACOSX
Subdir = "licenses";
#else
Subdir = "LICENSEs";
#endif
End
#ifdef MACOSX #ifdef MACOSX
ScpAction scp_Copy_Thirdpartylicense_Readme_Html ScpAction scp_Copy_Thirdpartylicense_Readme_Html
Copy = "THIRDPARTYLICENSEREADME.html"; Copy = "THIRDPARTYLICENSEREADME.html";
@ -116,21 +100,6 @@ ScpAction scp_Copy_Xpd_Gif_Setup
Subdir = "installdata/images"; Subdir = "installdata/images";
End End
// Setup license file
ScpAction scp_Copy_Xpd_Html_License
README_TXT_ALL_LANG(Copy, LICENSE, html);
README_TXT_ALL_LANG(Name, LICENSE, html);
Styles = (XPD_ONLY);
Subdir = "installdata/html";
End
ScpAction scp_Copy_Xpd_Html_License_En_Us
Copy = "LICENSE_en-US.html";
Name = "LICENSE.html";
Styles = (XPD_ONLY);
Subdir = "installdata/html";
End
// Setup help files // Setup help files
ScpAction scp_Copy_Xpd_Help_Html_Acceptlicense ScpAction scp_Copy_Xpd_Help_Html_Acceptlicense