summaryrefslogtreecommitdiff
path: root/solenv/bin/macosx-change-install-names.pl
AgeCommit message (Collapse)Author
2019-03-07log nice exception messages whereever possibleNoel Grandin
Change-Id: Idd125c18bee1a39b9ea8cc4f8c55cddfd37c33e1 Reviewed-on: https://gerrit.libreoffice.org/68579 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2015-09-28SDK apps actually find URE libs via DYLD_LIBRARY_PATHStephan Bergmann
Change-Id: I29c8177ee0c79f7e2b1834d4c181289cccfab17a
2014-09-16urelibs is part of the stable extension interface on Mac OS XStephan Bergmann
Change-Id: Id1f089b9306124e43a4e44cdd2efccb5f60761d5
2014-09-09Make the "Mac-like" or "canonical" app bundle structure always used on OS XTor Lillqvist
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
2013-10-24Allow NONE libs to find each other on Mac OS XStephan Bergmann
...otherwise e.g. during execution of sw/PythonTest_sw_python.mk workdir/*/LinkTarget/Library/libtest.dylib would not find workdir/*/LinkTarget/Library/libunotest.dylib without yet another addition to DYLD_LIBRARY_PATH. (Special cases where NONE libs are located somewhere else than workdir/*/LinkTarget/Library/ can be and are still found via DYLD_LIBRARY_PATH.) Change-Id: Ia301746842ef49393d0229915c01b61e378ca100
2013-09-13configure: ensure that install_name_tool matches the toolchain...Michael Stahl
... used to build, since otherwise it'll break with "malformed object" errors. Alo replace now unused XCRUN variable. Change-Id: I58a20c34f903b7a7acb46597d94243389e6b3842
2013-08-30ENABLE_MACOSX_MACLIKE* Harmonize ENABLE_* variable to TRUE/<nothing>Norbert Thiebaud
Change-Id: I0c51975c1c13dbd100bbd8e6103835ce8a8c3691
2013-08-29Simplify and fix the embedded Firebird on OS XTor Lillqvist
Don't bother constructing a Firebird framework and especially don't pretend we would have it at run-time in /Library/Frameworks/Firebird.framework. We only need the libfbembed.dylib, I hope. We need just libfbembed.dylib, not the version-numbered copies. Use gb_Helper_set_ld_path instead of manipulating LD_LIBRARY_PATH and DYLD_LIBRARY_PATH explicitly. Don't let Firebird's build mechanism totally override DYLD_LIBRARY_PATH. No need to handle "fb" specially in macosx-change-install-name.pl. We need to call macosx-change-install-name.pl on libfbembed.dylib, too. Change-Id: Id7e6c91a6763e1d5ede5c935b4c4fd946ae00f20
2013-08-18Further work on the "Mac-like app structure" optionTor Lillqvist
Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-07-16Patch firebird to build on Mac.Andrzej J.R. Hunt
Change-Id: I47ac500922d7e834f5915cc8fb1e19d584675620
2013-06-03re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-05-16Make sure macosx-change-install-names fails if otool -L failsStephan Bergmann
Change-Id: Ic3d3abc5404446ca378fda9ccfc12d741a560594
2013-04-26Binding OOO layer libs to NONE layer ones is bogusStephan Bergmann
Change-Id: I7470ab98cf68e1fd426983ce185c8fd2d73003e3
2013-02-06Tell what @__VIA_LIBRARY_PATH__ meansTor Lillqvist
Change-Id: I5ab38200d926376d3dbac8f3c795fa95ee2bbe46
2013-02-01No need for aliases hereStephan Bergmann
Change-Id: I29dcc26eb13222ef4348ab3281a19b2e6f8c46f2
2012-11-22Use xcrun when available to run install_name_toolTor Lillqvist
This hopefully should help in situations like Jonathan Aquilina's, where /usr/bin/install_name_tool does not correspond to the tool-chain used (but is from an earlier version of Xcode). Change-Id: I5b4ca9e5e163fb4a84967577d2146cdbe8344f03
2012-04-14replace APP?RPATH SDK by SDKBIN in old build systemDavid Tardon
Commit 0c80ad06fd96a4fec062a7edfff12bb65ef204b4 broke MacOS X builds because of this discrepancy. It would be easy to accept both, but I think it is better to be consistent with gbuild.
2012-04-13fix macosx buildDavid Ostrovsky
2012-02-29Simplify install name handling for external libraries on Mac OS XStephan Bergmann
...by allowing our special @___... tokens anywhere within an install name, so that external modules can configure --prefix=/@___... etc. This removes the need for the special extshl and EXTRPATH=LOADER. Also, a new OUT2BIN_NONE can be used for external modules where the generated libraries need the default EXTRPATH=OOO, but generated executables are only used during the build and such need RPATH=NONE.
2012-02-23Add shl/LOADER/URELIB to make --without-sytem-libxml work on Mac OS XStephan Bergmann
I doubt that the "LOADER" token is needed at all, but will investigate that later.
2011-10-24Undo basis/brand split: removed RPATH BRAND (same as OOO now).Stephan Bergmann
2011-10-24Undo basis/brand split: Move SDK and ure-link, remove OOO_BASE_DIR and ↵Stephan Bergmann
BaseInstallation.
2011-09-23Undo basis/brand split: move dynamic libraries from basis to brand.Stephan Bergmann
2011-09-20Removed unused BOXT feature.Stephan Bergmann
2011-06-11fix compilation with internal python on MacChristian Lohmaier
2011-04-22Merge branch 'DEV300_m106' into libreoffice-3-4Jan Holesovsky
Conflicts: Module_ooo.mk Repository.mk configure configure.in ooo.lst scp2/source/ooo/file_library_ooo.scp scp2/source/ooo/makefile.mk scp2/source/ooo/module_hidden_ooo.scp solenv/config/sdev300.ini solenv/config/ssolar.cmn solenv/gbuild/AllLangResTarget.mk solenv/gbuild/ComponentTarget.mk solenv/gbuild/CppunitTest.mk solenv/gbuild/Deliver.mk solenv/gbuild/JavaClassSet.mk solenv/gbuild/JunitTest.mk solenv/gbuild/Library.mk solenv/gbuild/LinkTarget.mk solenv/gbuild/Module.mk solenv/gbuild/Output.mk solenv/gbuild/SdiTarget.mk solenv/gbuild/TargetLocations.mk solenv/gbuild/gbuild.mk solenv/gbuild/platform/linux.mk solenv/gbuild/platform/macosx.mk solenv/gbuild/platform/solaris.mk solenv/gbuild/platform/windows.mk solenv/gbuild/platform/winmingw.mk solenv/inc/minor.mk
2011-03-08Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Norbert Thiebaud
* commit 'ooo/DEV300_m101': (500 commits) masterfix DEV300: #i10000# remove hard dep masterfix DEV300: #i10000# usage of L10N build_type masterfix DEV300: #i10000# usage of L10N build_type masterfix DEV300: #i100000# dep. fix masterfix DEV300: #i10000# removed one hard dep masterfix DEV300: #i10000# fixed patch handling masterfix DEV300: #i10000# new configure DEV300 masterfix DEV300: #i10000# nawk -> awk l10nmove: adjust repository handling l10nmove: fixed regex l10nmove: minor fixes l10nmove: add l10n repo to gb_REPOS DEV300 masterfix: gnumake3: subsequenttests requires in environment ab80: Adding changes of cws mib21, ab77, ab77run2, dr77i to dev300 DEV300 masterfix: #i10000#: windows: more bizare hacks ... locales34: have a matching configure as well DEV300 locales34: back out change from autoreconf gnumake3: JunitTest.mk: bizarre hacks to make it work on windows ... Conflicts: configure configure.in instsetoo_native/prj/build.lst instsetoo_native/util/makefile.mk instsetoo_native/util/openoffice.lst instsetoo_native/util/pack.lst ooo.lst scp2/source/canvas/canvascommons.scp scp2/source/canvas/mtfrenderer.scp scp2/source/ooo/common_brand.scp scp2/source/ooo/directory_ooo.scp scp2/source/ooo/file_library_ooo.scp scp2/source/ooo/file_ooo.scp scp2/source/ooo/makefile.mk scp2/source/ooo/module_hidden_ooo.scp scp2/source/ooo/module_langpack.ulf scp2/source/ooo/ure.scp scp2/source/python/file_python.scp scp2/source/sdkoo/sdkoo.scp scp2/source/templates/module_langpack_accessories_templates.sct scp2/source/templates/module_langpack_accessories_templates_root.sct set_soenv.in soldep/bootstrp/appdef.cxx soldep/bootstrp/dep.cxx soldep/bootstrp/hashtbl.cxx soldep/bootstrp/makefile.mk soldep/bootstrp/minormk.cxx soldep/bootstrp/prj.cxx soldep/bootstrp/prodmap.cxx soldep/inc/dep.hxx soldep/inc/minormk.hxx soldep/inc/prodmap.hxx soldep/inc/soldep/appdef.hxx soldep/inc/soldep/connctr.hxx soldep/inc/soldep/depper.hxx soldep/inc/soldep/depwin.hxx soldep/inc/soldep/hashtbl.hxx soldep/inc/soldep/objwin.hxx soldep/inc/soldep/prj.hxx soldep/inc/soldep/sdtresid.hxx soldep/inc/soldep/soldep.hxx soldep/inc/soldep/soldlg.hxx soldep/inc/soldep/tbox.hxx soldep/prj/d.lst soldep/source/connctr.cxx soldep/source/depapp.hxx soldep/source/depper.cxx soldep/source/depwin.cxx soldep/source/makefile.mk soldep/source/objwin.cxx soldep/source/soldep.cxx soldep/source/soldlg.cxx soldep/source/soldlg.src soldep/source/tbox.cxx solenv/bin/build.pl solenv/bin/cws.pl solenv/bin/make_installer.pl solenv/bin/mhids.pl solenv/bin/modules/CwsConfig.pm solenv/bin/modules/RepositoryHelper.pm solenv/bin/modules/installer/regmerge.pm solenv/bin/modules/installer/scriptitems.pm solenv/bin/modules/installer/servicesfile.pm solenv/bin/modules/installer/simplepackage.pm solenv/bin/modules/installer/substfilenamefiles.pm solenv/config/ssolar.cmn solenv/inc/_tg_rslb.mk solenv/inc/extension_post.mk solenv/inc/libs.mk solenv/inc/minor.mk solenv/inc/postset.mk solenv/inc/settings.mk solenv/inc/tg_rslb.mk solenv/inc/unxlng.mk solenv/inc/wntmsc.mk soltools/HIDCompiler/hidclex.l stlport/prj/d.lst stlport/systemstlguards/postextstl.h
2011-03-01rsvglibs: add gdk-pixbuf dependencyPhilipp Lohmann [pl]
2011-01-18gnumake3: mac gbuild fixesBjoern Michaelsen
2011-01-13gnumake3: refactoring gbuild linking to prepare for static lib linking fixingBjoern Michaelsen
2010-11-03Fix Mac build issues.Joseph Powers
2010-05-12jl152: #i110548# adapted relative paths to fix for issue 77196sb
2010-04-23sb122: merged in DEV300_m77 via cws/sb121sb
2010-04-06sb122: #i110548# extension native libraries linking against basis layer; new ↵sb
extension dependency deployment-repositories
2010-02-25sb118: merged in DEV300_m72sb
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2010-01-12sb118: missing macosx-change-install-name shl/NONE/OOO combinationsb
2010-01-11sb118: missing macosx-change-install-name app/NONE/NONE combinationsb
2009-12-18sb118: build cppunit as RPATH=NONE (as it will only be used while building, ↵sb
not go into installation sets)
2009-08-26CWS-TOOLING: integrate CWS jl127Release Engineers
2009-07-30 10:12:10 +0200 jl r274470 : #i100873# switch on checking for symbol definitions. It works with the current xpcom lib. 2009-07-29 09:48:29 +0200 jl r274443 : #i100873# 2009-07-29 09:47:36 +0200 jl r274442 : #i100873# changes after resync with DEV300m53 which contains the seamonkey update 2009-07-28 10:00:03 +0200 jl r274389 : #100873# Patches from tono 2009-07-27 16:59:39 +0200 jl r274372 : CWS-TOOLING: rebase CWS jl127 to trunk@274203 (milestone: DEV300:m53) 2009-07-07 09:08:53 +0200 jl r273768 : #100873# 2009-07-06 17:16:10 +0200 jl r273754 : #100873# 2009-07-01 13:58:09 +0200 jl r273576 : #100873# added to readme 2009-07-01 13:15:02 +0200 jl r273573 : #100873# deliver lib files when building with MS compiler 2009-06-30 11:22:06 +0200 jl r273498 : #i100873# accidentally commented out patch_files 2009-06-30 09:01:10 +0200 jl r273489 : #100873# make rc.exe work in ooo windows build 2009-06-29 09:47:56 +0200 jl r273451 : #i100873# applied mingw patch from tono 2009-06-24 12:52:14 +0200 jl r273332 : #100873# reapplying the configure.in patch on version 273150 2009-06-24 12:51:12 +0200 jl r273331 : #100873# reapplying the patch on version 273150 2009-06-23 17:17:36 +0200 jl r273299 : #100873# manually modified patch from tono 2009-06-22 17:05:41 +0200 jl r273243 : #100873# applying mingw patch from tono 2009-06-22 17:02:30 +0200 jl r273242 : #100873# applying mingw patch from tono 2009-06-22 12:49:57 +0200 jl r273216 : #100873# dependency to stlport 2009-06-19 11:56:16 +0200 jl r273155 : #100873# undoing a previous change, instset_native complained about missing libjpipe.jnilib (jurt) 2009-06-19 10:13:03 +0200 jl r273150 : #100873# ooo builds shall also use the new nss by default 2009-06-18 14:32:07 +0200 jl r273117 : #110873# more debug output when verifying a certificate 2009-06-16 11:23:50 +0200 jl r273012 : #i10873# 2009-06-16 10:57:41 +0200 jl r273011 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-16 10:56:45 +0200 jl r273010 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-15 16:20:42 +0200 jl r272996 : #100873# initialization of NSS is now threadsafe 2009-06-10 12:50:46 +0200 jl r272804 : #100873# rename in foreach fails in 4nt 2009-06-09 13:43:00 +0200 jl r272768 : #i100873# deliver only .h from inc/nss otherwise we get a warning when nss/nssck.api is delivered 2009-06-08 16:15:44 +0200 jl r272739 : #i100873# 2009-06-08 16:04:54 +0200 jl r272738 : #i100873# 2009-06-08 15:45:52 +0200 jl r272736 : #i100873# 2009-06-08 15:44:15 +0200 jl r272735 : #i100873# unzipping of nss.tar.z not working with 4nt 2009-06-08 09:45:46 +0200 jl r272720 : #i100873# 2009-06-03 13:53:52 +0200 jl r272562 : #i100873# MOZILLABUILD not correct 2009-06-03 13:17:54 +0200 jl r272557 : #i100873# readme and makefile changes from cws jl125, support of new nss module 2009-06-03 09:57:40 +0200 jl r272544 : #i100873# added readme 2009-06-02 16:47:47 +0200 jl r272512 : #i100873# removed no longer needed stuff regarding jnilibs 2009-06-02 15:54:42 +0200 jl r272510 : #i100873# added NSS to BUILD_TYPE 2009-06-02 15:20:18 +0200 jl r272508 : #i100873# DEREFERENCE option for copy command 2009-06-02 13:00:12 +0200 jl r272496 : #i100873# PATCH_FILE_NAMES is now PATCH_FILES 2009-06-02 12:23:39 +0200 jl r272494 : #i100873# build dependency to nss 2009-05-29 16:21:40 +0200 jl r272470 : #i100873# seting ENABLE_NSS_MODULE==YES and includeing mozilla-build-1.3 folder in environment 2009-05-29 16:03:23 +0200 jl r272468 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:57:16 +0200 jl r272466 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:49:58 +0200 jl r272464 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:33:14 +0200 jl r272463 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:28:39 +0200 jl r272461 : #i100873# build dependency to nss module 2009-05-29 15:24:57 +0200 jl r272460 : #i100873# pass additional certificates into verifyCertificate function 2009-05-29 14:49:40 +0200 jl r272458 : #i100873# new NSS module 2009-05-29 14:43:44 +0200 jl r272457 : #i100873# new NSS module
2009-02-19CWS-TOOLING: integrate CWS sb104Oliver Bolte
2009-01-27 13:09:06 +0100 sb r266986 : #i97992# cws rebase: merged cws/sb104/config_office/set_soenv.in with moved tags/DEV300_m40/set_soenv.in 2009-01-27 10:56:40 +0100 sb r266966 : CWS-TOOLING: rebase CWS sb104 to trunk@266944 (milestone: DEV300:m40) 2009-01-20 14:37:00 +0100 sb r266581 : #i97992# missing treatment of Solaris-only adjustvisibility as build-internal tool 2009-01-20 09:32:38 +0100 sb r266554 : CWS-TOOLING: rebase CWS sb104 to trunk@266428 (milestone: DEV300:m39) 2009-01-14 13:40:45 +0100 sb r266296 : #i97992# do not pass comment lines to shell 2009-01-14 12:50:34 +0100 sb r266290 : #i97992# avoid problems with checkdll not finding AWTLIB and its dependents 2009-01-14 12:49:20 +0100 sb r266289 : #i97992# on Linux and Solaris, regxpcom apparently needs to be called with the libxpcom.so directory on the LD_LIBRARY_PATH 2009-01-13 09:41:37 +0100 sb r266196 : #i97992# fixed AUGMENT_LIBRARY_PATH definitions 2009-01-12 18:02:03 +0100 sb r266177 : #i97992# get rid of LD_LIBRARY_PATH in build environment
2008-07-11INTEGRATION: CWS jsc21 (1.2.28); FILE MERGEDRüdiger Timm
2008/06/11 14:42:50 sb 1.2.28.3: RESYNC: (1.4-1.5); FILE MERGED 2008/04/23 09:50:15 jsc 1.2.28.2: RESYNC: (1.2-1.4); FILE MERGED 2008/04/11 12:20:14 jsc 1.2.28.1: #i86121# new rpath option for SDK related tools
2008-06-09INTEGRATION: CWS sb87 (1.4.42); FILE MERGEDRüdiger Timm
2008/05/07 11:53:32 sb 1.4.42.1: #i88687# added RPATH mode NONE
2008-04-10INTEGRATION: CWS changefileheader (1.2.12); FILE MERGEDRüdiger Timm
2008/03/28 15:55:29 rt 1.2.12.1: #i87441# Change license header to LPGL v3.
2008-04-07#i87923# fixes for macosxKurt Zenker
2008-03-18INTEGRATION: CWS sb83 (1.1.2); FILE ADDEDVladimir Glazounov
2008/02/25 15:44:32 sb 1.1.2.6: #i84200# fixed parsing of otool -D output 2008/02/01 11:02:16 sb 1.1.2.5: #i84200# added SHLnRPATH=OXT for libraries within extensions (that only link against URE libs) 2008/01/25 16:05:11 sb 1.1.2.4: #i84200# do normal shl processing for extshl as well 2008/01/18 09:57:44 sb 1.1.2.3: #i84200# untabified 2008/01/18 09:54:51 sb 1.1.2.2: #i84200# added extshl support 2008/01/09 09:43:01 sb 1.1.2.1: #i84200# use APP|SHLnRPATH (-> LINKFLAGSRUNPATH_xxx) to control the install_name on unxmacx, use new macosx-change-install-names to adapt recorded install_names of linked-against libraries to correct paths in the target environment