Joey Hess
6f8ec9a1d2
argle
2013-04-17 11:57:46 -04:00
Joey Hess
faa9b4473c
remove module definitions for these standalone programs
...
Sometimes ghc --make skips building these binaries, as it sees no Main
module.
2013-04-17 11:54:27 -04:00
Joey Hess
9b663c7f8c
remove libSystem.b from OSX build
...
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.
2012-12-13 12:17:12 -04:00
Joey Hess
900351ab85
try skipping OSX frameworks
2012-12-12 21:34:59 -04:00
Joey Hess
43f7110220
typo
2012-12-09 13:45:51 -04:00
Joey Hess
ad488c23ac
install libs in subdirs again
2012-12-09 13:42:30 -04:00
Joey Hess
a2a0a71e2b
install_name_tool fix
2012-12-09 13:38:08 -04:00
Joey Hess
acbd640f89
optimisation; only run install_name_tool once per binary
2012-12-09 13:29:30 -04:00
Joey Hess
ecc49d7db8
use full path name to generate library filename
...
avoids overlaps
2012-12-09 13:17:55 -04:00
Joey Hess
4bb8fdb70d
typo
2012-12-09 13:08:57 -04:00
Joey Hess
5d73a790e8
avoid using short lib names that clash with unix command names
2012-12-09 13:06:59 -04:00
Joey Hess
da53d0fa10
syntax
2012-12-09 13:02:59 -04:00
Joey Hess
8c082cda2e
remove unused cruft
2012-12-09 12:59:34 -04:00
Joey Hess
dea5599d3d
oh yeah, OSX is case insensative
2012-12-09 12:54:19 -04:00
Joey Hess
9370c32290
tweak
2012-12-09 12:46:28 -04:00
Joey Hess
8e26b2f941
reverse symlinks
2012-12-09 12:35:50 -04:00
Joey Hess
c6d570a1cc
install libs using short names, with symlinks to we can tell what libraries
...
they are supposed to be
2012-12-09 12:22:09 -04:00
Joey Hess
1c2da18b0b
fix executable permissions
...
sh at least does not default to having a write bit
2012-12-09 12:16:02 -04:00
Joey Hess
76b7ab0b35
fix infinite loop
2012-12-09 12:14:19 -04:00
Joey Hess
01b359b4f8
insane osx short library name hack
...
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.
2012-12-08 17:44:10 -04:00
Joey Hess
56b3dbe544
fix library filenames in osx app
2012-12-08 17:14:45 -04:00
Joey Hess
86e5da4c92
chmod libs so install_name_tool can modify them
2012-12-08 15:54:39 -04:00
Joey Hess
c7a4ad8bc3
move libs to try to fit within available path space
2012-12-08 12:29:09 -04:00
Joey Hess
1dd386903b
use install_name_tool to adjust library paths in osx app
...
Have not yet been able to test this.
2012-12-08 11:07:59 -04:00
Joey Hess
0986a21ce0
Revert "skip frameworks"
...
This reverts commit f850a64bd0
.
At least CoreFoundation framework seems to be needed.
2012-12-07 14:40:48 -04:00
Joey Hess
f850a64bd0
skip frameworks
...
I suspect this might be related to recent reports of hangs.
2012-12-07 12:21:15 -04:00
Joey Hess
ad71ccdb57
got this working
2012-11-26 17:11:09 -04:00
Joey Hess
40cdfd1a1e
add debugging
2012-11-26 16:31:41 -04:00
Joey Hess
4f9cb2041c
rewrote OSX library copier in Haskell, now with recursive copying of library deps
2012-11-26 14:09:40 -04:00