From 6492c8576e0393f7ee548cd938e84c80e8d37127 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 9 Sep 2014 10:44:56 +0300 Subject: Make the "Mac-like" or "canonical" app bundle structure always used on OS X In other words, only executable files go in the MacOS folder. Dynamic libraries and bundled frameworks (i.e., LibreOfficePython), and nothing else, go in the Frameworks folder, and all other files go in the Resources folder. Especially, note that Java class files and rc (.ini) files also go in Resources. Such an app bundle structure is what Apple strongly suggests one should use, and it has been hinted that future versions of code signing and/or Gatekeeper will require such a structure. There is still some ugliness thanks to traces of the historical separation of URE from "the office". Like there are two separate "unorc" files, one for URE, one for the LibreOffice application. IMHO, this should be cleaned up, but is probably controversial. (Eek! I now see there are actually *three* unorc files in the app bundle. Not intentional. Need to fix that later.) Change-Id: Idcf235038deb5b8e1d061734993e9f31869b7606 --- scp2/inc/macros.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scp2/inc') diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc index dd9b4b3c08e5..a2a2f3ea6984 100644 --- a/scp2/inc/macros.inc +++ b/scp2/inc/macros.inc @@ -75,7 +75,7 @@ #define SPECIAL_COMPONENT_LIB_NAME(name) STRING(CONCAT2(name,.dll)) #endif -#if defined ENABLE_MACOSX_MACLIKE_APP_STRUCTURE +#ifdef MACOSX #define GID_BRAND_DIR_ETC gid_Brand_Dir_Share #define GID_DIR_PY gid_Brand_Dir_Share #define GID_DIR_URE gid_Dir_Bundle_Contents @@ -102,7 +102,7 @@ #define SCP2_OOO_BIN_DIR gid_Brand_Dir_Program -#if defined ENABLE_MACOSX_MACLIKE_APP_STRUCTURE +#ifdef MACOSX #define SCP2_OOO_LIB_DIR gid_Dir_Frameworks #else #define SCP2_OOO_LIB_DIR SCP2_OOO_BIN_DIR -- cgit