1022bd5b4SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3022bd5b4SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4022bd5b4SAndrew Rist * or more contributor license agreements. See the NOTICE file 5022bd5b4SAndrew Rist * distributed with this work for additional information 6022bd5b4SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7022bd5b4SAndrew Rist * to you under the Apache License, Version 2.0 (the 8022bd5b4SAndrew Rist * "License"); you may not use this file except in compliance 9022bd5b4SAndrew Rist * with the License. You may obtain a copy of the License at 10022bd5b4SAndrew Rist * 11022bd5b4SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12022bd5b4SAndrew Rist * 13022bd5b4SAndrew Rist * Unless required by applicable law or agreed to in writing, 14022bd5b4SAndrew Rist * software distributed under the License is distributed on an 15022bd5b4SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16022bd5b4SAndrew Rist * KIND, either express or implied. See the License for the 17022bd5b4SAndrew Rist * specific language governing permissions and limitations 18022bd5b4SAndrew Rist * under the License. 19022bd5b4SAndrew Rist * 20022bd5b4SAndrew Rist *************************************************************/ 21022bd5b4SAndrew Rist 22022bd5b4SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "macros.inc" 25cdf0e10cSrcweir 26cdf0e10cSrcweirInstallation gid_Installation_Sdk 27cdf0e10cSrcweir ProductName = "${PRODUCTNAME}"; 28cdf0e10cSrcweir ProductVersion = "${PRODUCTVERSION}"; 29cdf0e10cSrcweir ProductExtension = "${PRODUCTEXTENSION}"; 30cdf0e10cSrcweir OOoBaseVersion = "${OOOBASEVERSION}"; 31cdf0e10cSrcweir#if defined WNT 32cdf0e10cSrcweir DefaultDestPath = "<winprogpath>\%PRODUCTNAME"; 33cdf0e10cSrcweir#else 34cdf0e10cSrcweir DefaultDestPath = "/opt/%PRODUCTNAME"; 35cdf0e10cSrcweir#endif 36cdf0e10cSrcweirEnd 37cdf0e10cSrcweir 38cdf0e10cSrcweirDataCarrier gid_Datacarrier 39cdf0e10cSrcweir Name = "%PRODUCTNAME %PRODUCTVERSION"; 40cdf0e10cSrcweir DiskNo = 1; 41cdf0e10cSrcweirEnd 42cdf0e10cSrcweir 43cdf0e10cSrcweir#ifndef MACOSX 44cdf0e10cSrcweir 45cdf0e10cSrcweir#ifdef WNT 46cdf0e10cSrcweirDirectory gid_Dir_Sdkoo_Root 47cdf0e10cSrcweir ParentID = PREDEFINED_PROGDIR; 48cdf0e10cSrcweir HostName = "${PRODUCTNAME}_${PRODUCTVERSION}_${POSTVERSIONEXTENSION}"; 49cdf0e10cSrcweir Styles = (OFFICEDIRECTORY, ISINSTALLLOCATION); 50cdf0e10cSrcweirEnd 51cdf0e10cSrcweir#endif 52cdf0e10cSrcweir 53cdf0e10cSrcweir#ifndef WNT 54cdf0e10cSrcweirDirectory gid_Dir_Ooo_Openofficeorg_Sdk 55cdf0e10cSrcweir ParentID = PREDEFINED_PROGDIR; 56cdf0e10cSrcweir #ifdef WNT 57cdf0e10cSrcweir HostName = "${BASISROOTNAME}"; 58cdf0e10cSrcweir #else 59cdf0e10cSrcweir HostName = "${UNIXBASISROOTNAME}"; 60cdf0e10cSrcweir #endif 61cdf0e10cSrcweirEnd 62cdf0e10cSrcweir#endif 63cdf0e10cSrcweir 64cdf0e10cSrcweir#ifndef WNT 65cdf0e10cSrcweirDirectory gid_Dir_Ooo_Basis_Sdk 66cdf0e10cSrcweir ParentID = gid_Dir_Ooo_Openofficeorg_Sdk; 67cdf0e10cSrcweir #ifdef WNT 68cdf0e10cSrcweir HostName = "Basis ${OOOBASEVERSION}"; 69cdf0e10cSrcweir #else 70cdf0e10cSrcweir HostName = "basis${OOOBASEVERSION}"; 71cdf0e10cSrcweir #endif 72cdf0e10cSrcweir Styles = (BASISDIRECTORY); 73cdf0e10cSrcweirEnd 74cdf0e10cSrcweir#endif 75cdf0e10cSrcweir 76cdf0e10cSrcweir#endif 77cdf0e10cSrcweir 78cdf0e10cSrcweirDirectory gid_Dir_Basis_Sdk 79cdf0e10cSrcweir#if defined MACOSX 80cdf0e10cSrcweir ParentID = PREDEFINED_PROGDIR; 81cdf0e10cSrcweir // DosName = "OpenOffice.org${OOOBASEVERSION}_SDK"; 82cdf0e10cSrcweir DosName = "OpenOffice.org_SDK"; 83cdf0e10cSrcweir#else 84cdf0e10cSrcweir #if defined WNT 85cdf0e10cSrcweir ParentID = gid_Dir_Sdkoo_Root; 86cdf0e10cSrcweir #else 87cdf0e10cSrcweir ParentID = gid_Dir_Ooo_Basis_Sdk; 88cdf0e10cSrcweir #endif 89cdf0e10cSrcweir DosName = "sdk"; 90cdf0e10cSrcweir#endif 91cdf0e10cSrcweirEnd 92cdf0e10cSrcweir 93cdf0e10cSrcweir 94cdf0e10cSrcweir#if defined MACOSX 95cdf0e10cSrcweirScpAction scp_Copy_License_Txt_Sdk 96cdf0e10cSrcweir README_ALL_LANG(Copy, LICENSE); 97cdf0e10cSrcweir README_ALL_LANG(Name, LICENSE); 98cdf0e10cSrcweir Styles = (SCPZIP_REPLACE); 99cdf0e10cSrcweir Subdir = "LICENSEs"; 100cdf0e10cSrcweirEnd 101*a4309db7SHerbert DürrScpAction scp_Copy_Notice_Txt_Sdk 102*a4309db7SHerbert Dürr README_ALL_LANG(Copy, NOTICE); 103*a4309db7SHerbert Dürr README_ALL_LANG(Name, NOTICE); 104*a4309db7SHerbert Dürr Styles = (SCPZIP_REPLACE); 105*a4309db7SHerbert Dürr Subdir = "LICENSEs"; 106*a4309db7SHerbert DürrEnd 107cdf0e10cSrcweir#endif 108cdf0e10cSrcweir 109cdf0e10cSrcweir 110cdf0e10cSrcweirDirectory gid_Dir_Share_Sdk 111cdf0e10cSrcweir ParentID = gid_Dir_Basis_Sdk; 112cdf0e10cSrcweir DosName = "share"; 113cdf0e10cSrcweirEnd 114cdf0e10cSrcweir 115cdf0e10cSrcweirDirectory gid_Dir_Share_Readme_Sdk 116cdf0e10cSrcweir ParentID = gid_Dir_Share_Sdk; 117cdf0e10cSrcweir DosName = "readme"; 118cdf0e10cSrcweirEnd 119cdf0e10cSrcweir 120cdf0e10cSrcweir 121cdf0e10cSrcweirModule gid_Module_Root 122cdf0e10cSrcweir Name = "sdkoo"; 123cdf0e10cSrcweir Description = "sdkoo"; 124cdf0e10cSrcweir PackageInfo = "packinfo_sdkoo.txt"; 125cdf0e10cSrcweirEnd 126cdf0e10cSrcweir 12704c650f9SJürgen SchmidtFile gid_File_Txt_Notice 12804c650f9SJürgen Schmidt TXT_FILE_BODY; 12904c650f9SJürgen Schmidt Dir = gid_Dir_Basis_Sdk; 13004c650f9SJürgen Schmidt Name = "NOTICE"; 13104c650f9SJürgen Schmidt Styles = (PACKED, SCPZIP_REPLACE); 13204c650f9SJürgen SchmidtEnd 13304c650f9SJürgen Schmidt 13404c650f9SJürgen SchmidtFile gid_File_Txt_License_Root 13504c650f9SJürgen Schmidt TXT_FILE_BODY; 13604c650f9SJürgen Schmidt Dir = gid_Dir_Basis_Sdk; 13704c650f9SJürgen Schmidt Name = "LICENSE"; 13804c650f9SJürgen Schmidt Styles = (PACKED, SCPZIP_REPLACE); 13904c650f9SJürgen SchmidtEnd 14004c650f9SJürgen Schmidt 141cdf0e10cSrcweirFile gid_File_Txt_Readme 142cdf0e10cSrcweir TXT_FILE_BODY; 143cdf0e10cSrcweir Dir = gid_Dir_Share_Readme_Sdk; 144cdf0e10cSrcweir #ifdef UNX 145cdf0e10cSrcweir Name = "README_en-US"; 146cdf0e10cSrcweir #endif 147cdf0e10cSrcweir #ifdef WNT 148cdf0e10cSrcweir Name = "readme_en-US.txt"; 149cdf0e10cSrcweir #endif 150cdf0e10cSrcweir Styles = (PACKED, SCPZIP_REPLACE); 151cdf0e10cSrcweirEnd 152cdf0e10cSrcweir 153cdf0e10cSrcweirFile gid_File_Txt_Readme_Html 154cdf0e10cSrcweir TXT_FILE_BODY; 155cdf0e10cSrcweir Dir = gid_Dir_Share_Readme_Sdk; 156cdf0e10cSrcweir #ifdef UNX 157cdf0e10cSrcweir Name = "README_en-US.html"; 158cdf0e10cSrcweir #endif 159cdf0e10cSrcweir #ifdef WNT 160cdf0e10cSrcweir Name = "readme_en-US.html"; 161cdf0e10cSrcweir #endif 162cdf0e10cSrcweir Styles = (PACKED, SCPZIP_REPLACE); 163cdf0e10cSrcweirEnd 164cdf0e10cSrcweir 165cdf0e10cSrcweir 166cdf0e10cSrcweirFile gid_File_Zip_Odkexamples 167cdf0e10cSrcweir TXT_FILE_BODY; 168cdf0e10cSrcweir Dir = gid_Dir_Basis_Sdk; 169cdf0e10cSrcweir Name = "odkexamples.zip"; 170cdf0e10cSrcweir Styles = (ARCHIVE,USE_INTERNAL_RIGHTS); 171cdf0e10cSrcweirEnd 172cdf0e10cSrcweir 173cdf0e10cSrcweir 174cdf0e10cSrcweirFile gid_File_Zip_Odkcommon 175cdf0e10cSrcweir TXT_FILE_BODY; 176cdf0e10cSrcweir Dir = gid_Dir_Basis_Sdk; 177cdf0e10cSrcweir Name = "odkcommon.zip"; 178cdf0e10cSrcweir Styles = (ARCHIVE,USE_INTERNAL_RIGHTS); 179cdf0e10cSrcweirEnd 180cdf0e10cSrcweir 181cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) ) 182cdf0e10cSrcweirDirectory gid_Dir_Lib_Sdk 183cdf0e10cSrcweir Styles = (CREATE); 184cdf0e10cSrcweir ParentID = gid_Dir_Basis_Sdk; 185cdf0e10cSrcweir DosName = "lib"; 186cdf0e10cSrcweirEnd 187cdf0e10cSrcweir#endif 188cdf0e10cSrcweir 189cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) ) 190cdf0e10cSrcweirUnixlink gid_Unixlink_Sal_Link_Sdk 191cdf0e10cSrcweir BIN_FILE_BODY; 192cdf0e10cSrcweir Styles = (); 193cdf0e10cSrcweir Name = SCP2_URE_DL_UNO_NORMAL("sal"); 194cdf0e10cSrcweir Dir = gid_Dir_Lib_Sdk; 195cdf0e10cSrcweir Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_VER("sal", "3"); 196cdf0e10cSrcweirEnd 197cdf0e10cSrcweir#endif 198cdf0e10cSrcweir 199cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) ) 200cdf0e10cSrcweirUnixlink gid_Unixlink_Salhelper_Link_Sdk 201cdf0e10cSrcweir BIN_FILE_BODY; 202cdf0e10cSrcweir Styles = (); 203cdf0e10cSrcweir Name = SCP2_URE_DL_UNO_COMID_NORMAL("salhelper"); 204cdf0e10cSrcweir Dir = gid_Dir_Lib_Sdk; 205cdf0e10cSrcweir Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("salhelper", "3"); 206cdf0e10cSrcweirEnd 207cdf0e10cSrcweir#endif 208cdf0e10cSrcweir 209cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) ) 210cdf0e10cSrcweirUnixlink gid_Unixlink_Cppu_Link_Sdk 211cdf0e10cSrcweir BIN_FILE_BODY; 212cdf0e10cSrcweir Styles = (); 213cdf0e10cSrcweir Name = SCP2_URE_DL_UNO_NORMAL("cppu"); 214cdf0e10cSrcweir Dir = gid_Dir_Lib_Sdk; 215cdf0e10cSrcweir Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_VER("cppu", "3"); 216cdf0e10cSrcweirEnd 217cdf0e10cSrcweir#endif 218cdf0e10cSrcweir 219cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) ) 220cdf0e10cSrcweirUnixlink gid_Unixlink_Cppuhelper_Link_Sdk 221cdf0e10cSrcweir BIN_FILE_BODY; 222cdf0e10cSrcweir Styles = (); 223cdf0e10cSrcweir // Styles = (LAYERLINK); 224cdf0e10cSrcweir Name = SCP2_URE_DL_UNO_COMID_NORMAL("cppuhelper"); 225cdf0e10cSrcweir Dir = gid_Dir_Lib_Sdk; 226cdf0e10cSrcweir Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("cppuhelper", "3"); 227cdf0e10cSrcweirEnd 228cdf0e10cSrcweir#endif 229cdf0e10cSrcweir 230cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) ) 231cdf0e10cSrcweirUnixlink gid_Unixlink_Purpenvhelper_Link_Sdk 232cdf0e10cSrcweir BIN_FILE_BODY; 233cdf0e10cSrcweir Styles = (); 234cdf0e10cSrcweir Name = SCP2_URE_DL_UNO_COMID_NORMAL("purpenvhelper"); 235cdf0e10cSrcweir Dir = gid_Dir_Lib_Sdk; 236cdf0e10cSrcweir Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("purpenvhelper", "3"); 237cdf0e10cSrcweirEnd 238cdf0e10cSrcweir#endif 239ef1ef8e6SJürgen Schmidt 240ef1ef8e6SJürgen Schmidt#ifdef MACOSX 241ef1ef8e6SJürgen SchmidtScpAction scp_Copy_Dmg_Background_Image 242ef1ef8e6SJürgen Schmidt Copy = "osxdndinstall.png"; 243ef1ef8e6SJürgen Schmidt Name = "background.png"; 244ef1ef8e6SJürgen Schmidt UnixRights = 444; 245ef1ef8e6SJürgen Schmidt Styles = (); 246ef1ef8e6SJürgen Schmidt Subdir = ".background"; 247ef1ef8e6SJürgen SchmidtEnd 248ef1ef8e6SJürgen Schmidt 249ef1ef8e6SJürgen SchmidtScpAction scp_Copy_Ds_Store 250ef1ef8e6SJürgen Schmidt Copy = "DS_Store_SDK"; 251ef1ef8e6SJürgen Schmidt# PatchCopy = "DS_Store_Patch"; 252ef1ef8e6SJürgen Schmidt Name = ".DS_Store"; 253ef1ef8e6SJürgen Schmidt UnixRights = 444; 254ef1ef8e6SJürgen Schmidt Styles = (); 255ef1ef8e6SJürgen SchmidtEnd 256ef1ef8e6SJürgen Schmidt#endif 257