summaryrefslogtreecommitdiff
path: root/Build/OSXMkLibs.hs
Commit message (Collapse)AuthorAge
* remove unused importGravatar Joey Hess2017-02-28
|
* fix OSX buildGravatar Joey Hess2017-02-13
|
* Some optimisations to string splitting code.Gravatar Joey Hess2017-01-31
| | | | | | | | | | | | | | | | | | | Turns out that Data.List.Utils.split is slow and makes a lot of allocations. Here's a much simpler single character splitter that behaves the same (even in wacky corner cases) while running in half the time and 75% the allocations. As well as being an optimisation, this helps move toward eliminating use of missingh. (Data.List.Split.splitOn is nearly as slow as Data.List.Utils.split and allocates even more.) I have not benchmarked the effect on git-annex, but would not be surprised to see some parsing of eg, large streams from git commands run twice as fast, and possibly in less memory. This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
* avoid warnings about not exported System.Directory.isSymbolicLinkGravatar Joey Hess2016-04-28
|
* Fix build with directory-1.2.6.2.Gravatar Joey Hess2016-04-28
| | | | | | It started exporting a isSymbolicLink which supports windows. But, git-annex does no use symlinks on windows yet and this conflicts with the function by the same name from unix-compat, so hide it.
* Fix OSX dmg to include libraries needed by bundled gpg, lost in last release.Gravatar Joey Hess2016-03-07
|
* throw exception if library copy failsGravatar Joey Hess2016-01-14
|
* fix build warning with AMP ghcGravatar Joey Hess2015-12-28
|
* update my email address and homepage urlGravatar Joey Hess2015-01-21
|
* revert parentDir changeGravatar Joey Hess2015-01-09
| | | | | | | | Reverts 2bba5bc22d049272d3328bfa6c452d3e2e50e86c Unfortunately, this caused breakage on Windows, and possibly elsewhere, because parentDir and takeDirectory do not behave the same when there is a trailing directory separator.
* made parentDir return a Maybe FilePath; removed most uses of itGravatar Joey Hess2015-01-06
| | | | | | | | parentDir is less safe than takeDirectory, especially when working with relative FilePaths. It's really only useful in loops that want to terminate at / This commit was sponsored by Audric SCHILTKNECHT.
* fix some mixed space+tab indentationGravatar Joey Hess2014-10-09
| | | | | | | | | This fixes all instances of " \t" in the code base. Most common case seems to be after a "where" line; probably vim copied the two space layout of that line. Done as a background task while listening to episode 2 of the Type Theory podcast.
* fix install_name_tool library name replacementGravatar Joey Hess2014-01-15
|
* fix warningGravatar Joey Hess2014-01-14
|
* search DYLD_LIBRARY_PATH for librariesGravatar Joey Hess2014-01-14
|
* use pure or return rather than (:[]) or \x -> [x]Gravatar Joey Hess2013-11-06
|
* handle rpath in OSXMkLibsGravatar Joey Hess2013-04-22
| | | | | | | | | | | | Now oberon has some binaries and libraries that use rpath, so I had to put in this ugly hack to replace the @rapth/lib with the lib in the app. This was particularly tricky for libraries that use @rpath because I could not find a way to extract the rpath from the library. (Only from the executable, by running it.. ugh!) The hack I put in place may fail if multiple different libraries use rpath to refer to other libraries, and the "@rpath/lib" string is the same, but actually refers to different files.
* argleGravatar Joey Hess2013-04-17
|
* remove module definitions for these standalone programsGravatar Joey Hess2013-04-17
| | | | | Sometimes ghc --make skips building these binaries, as it sees no Main module.
* remove libSystem.b from OSX buildGravatar Joey Hess2012-12-13
| | | | | | | | | | | Without the frameworks, but with this library, I get: dyld: Symbol not found: __vproc_transactions_enable Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation Expected in: /Volumes/git-annex/git-annex.app/Contents/MacOS/./C in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation Without this library, things seem to work again w/o frameworks.
* try skipping OSX frameworksGravatar Joey Hess2012-12-12
|
* typoGravatar Joey Hess2012-12-09
|
* install libs in subdirs againGravatar Joey Hess2012-12-09
|
* install_name_tool fixGravatar Joey Hess2012-12-09
|
* optimisation; only run install_name_tool once per binaryGravatar Joey Hess2012-12-09
|
* use full path name to generate library filenameGravatar Joey Hess2012-12-09
| | | | avoids overlaps
* typoGravatar Joey Hess2012-12-09
|
* avoid using short lib names that clash with unix command namesGravatar Joey Hess2012-12-09
|
* syntaxGravatar Joey Hess2012-12-09
|
* remove unused cruftGravatar Joey Hess2012-12-09
|
* oh yeah, OSX is case insensativeGravatar Joey Hess2012-12-09
|
* tweakGravatar Joey Hess2012-12-09
|
* reverse symlinksGravatar Joey Hess2012-12-09
|
* install libs using short names, with symlinks to we can tell what librariesGravatar Joey Hess2012-12-09
| | | | they are supposed to be
* fix executable permissionsGravatar Joey Hess2012-12-09
| | | | sh at least does not default to having a write bit
* fix infinite loopGravatar Joey Hess2012-12-09
|
* insane osx short library name hackGravatar Joey Hess2012-12-08
| | | | | | | | Since I'm dealing with arbitrarily short fields in which to store the library name, and would have to rebuild a bunch of stuff like git to avoid that, and I have to prefix this obnoxiously long "@executable_path" to it, it's easy to run out of space. This makes it use 1 and 2 letter long filenames for libraries in the app. Fun fun fun fun fun.
* fix library filenames in osx appGravatar Joey Hess2012-12-08
|
* chmod libs so install_name_tool can modify themGravatar Joey Hess2012-12-08
|
* move libs to try to fit within available path spaceGravatar Joey Hess2012-12-08
|
* use install_name_tool to adjust library paths in osx appGravatar Joey Hess2012-12-08
| | | | Have not yet been able to test this.
* Revert "skip frameworks"Gravatar Joey Hess2012-12-07
| | | | | | This reverts commit 206451dd02b4deea8b1cba9309883bef4cfbbc89. At least CoreFoundation framework seems to be needed.
* skip frameworksGravatar Joey Hess2012-12-07
| | | | I suspect this might be related to recent reports of hangs.
* got this workingGravatar Joey Hess2012-11-26
|
* add debuggingGravatar Joey Hess2012-11-26
|
* rewrote OSX library copier in Haskell, now with recursive copying of library ↵Gravatar Joey Hess2012-11-26
deps