Joey Hess
e70a969ef1
EvilSplicer: fix handling of newlines in multiline strings
2013-05-02 22:56:06 -04:00
Joey Hess
25c8258225
fix build
2013-04-24 11:08:35 -04:00
Joey Hess
10fc9bc667
fix build
2013-04-24 10:48:06 -04:00
Joey Hess
b9341fd4c0
handle rpath in OSXMkLibs
...
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.
2013-04-22 13:33:29 -04:00
Joey Hess
5faedad2d6
recent change broke this
2013-04-20 19:35:33 -04:00
Joey Hess
d2e92e2494
Install FDO desktop menu file when webapp is started in standalone mode.
2013-04-20 18:48:05 -04:00
Joey Hess
79c0a6f807
argh!! http://hackage.haskell.org/package/zeroth
2013-04-18 20:10:31 -04:00
Joey Hess
715e68ad58
avoid adding parens to lambdas in tuples
2013-04-18 15:07:29 -04:00
Joey Hess
6ee4c2038e
run lambda parenthesisation recursively inside the body of the lambda
2013-04-18 14:31:39 -04:00
Joey Hess
b86712ca80
fix lambda parenthesisation
2013-04-18 14:17:24 -04:00
Joey Hess
0d833239f1
fix build
2013-04-18 12:34:14 -04:00
Joey Hess
cc4d11eadd
tighten search and replace slightly
2013-04-17 13:18:53 -04:00
Joey Hess
e62de3f3b8
split out library
2013-04-17 12:02:44 -04:00
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
7858f92e1a
minor cleanup
2013-04-17 02:51:59 -04:00
Joey Hess
9fdca995de
very close now.. but still so far
2013-04-17 00:51:29 -04:00
Joey Hess
e9738fd10d
deal with GHC's broken layout of case expressions. ARGH why GHC WHY?!?!
2013-04-17 00:01:25 -04:00
Joey Hess
ab905a55fb
Splicer contines his evil ways (and Joey goes slowly insane)
2013-04-16 22:28:42 -04:00
Joey Hess
35f2e01c23
Evil Splicer only *thought* he was evil until this commit happened.
...
So many nasty hacks!
2013-04-16 21:47:08 -04:00
Joey Hess
ce11c339e6
need to mangle another symbol
2013-04-16 19:58:39 -04:00
Joey Hess
a85c9ba561
a few nasty hacks for yesod
2013-04-16 15:10:23 -04:00
Joey Hess
737ece771b
update
2013-04-15 17:42:39 -04:00
Joey Hess
f44c917b22
fix 2 splicing bugs
2013-04-15 14:50:05 -04:00
Joey Hess
859c0cdc86
handle multi-line QQ
2013-04-15 14:23:39 -04:00
Joey Hess
c172bf7092
only show files that are really changed
2013-04-15 12:11:27 -04:00
Joey Hess
aaad52881a
hack around incorrect nested instance code generated by GHC
...
Yesod-specific hack for now.
2013-04-14 16:53:41 -04:00
Joey Hess
5fc8bef2e6
better handling of declaration splices
...
Still not quite enough to properly expand yesod type safe routes, but
getting there..
2013-04-14 16:44:05 -04:00
Joey Hess
2e94852994
fix inplace mode
2013-04-14 16:11:12 -04:00
Joey Hess
0c9bb2371e
avoid updating a file if the old splice is the same as the new
2013-04-14 15:50:38 -04:00
Joey Hess
dd7e35ed97
incremental android builds with the EvilSplicer
2013-04-14 13:43:36 -04:00
Joey Hess
0b17d28988
better splice joining
2013-04-13 18:09:20 -04:00
Joey Hess
42ac215827
work around ghc weirdness
2013-04-13 17:53:59 -04:00
Joey Hess
eda0ba7397
fix a syntax problem with a splace that provides a parameter to a function
2013-04-13 17:22:15 -04:00
Joey Hess
504cce3ce3
added symbol de-mangling
2013-04-13 17:15:05 -04:00
Joey Hess
36d581f08d
first version of the Evil Splicer!
2013-04-13 16:43:56 -04:00
Joey Hess
59f616684d
The version number is now derived from git, unless built with VERSION_FROM_CHANGELOG.
2013-04-10 16:53:38 -04:00
Peter Simons
39e29f7178
Build/mdwn2man: don't rely on perl being installed in /usr/bin; instead find it in $PATH
2013-02-28 16:04:46 -04:00
Joey Hess
0f4cc559a7
Android: Support ssh connection caching.
2013-02-19 14:57:45 -04:00
Joey Hess
a7ef05a988
configure: hardcode some things that cannot be probed for when cross-compiling for Android
2013-02-11 16:56:30 -04:00
Joey Hess
f202d997f4
Now uses the Haskell uuid library, rather than needing a uuid program.
...
Been meaning to do this for some time; Android port was last straw.
Note that newer versions of the uuid library have a Data.UUID.V4 that
generates random UUIDs slightly more cleanly, but Debian has an old version
of the library, so I do it slightly round-about.
2013-02-10 14:52:54 -04:00
Joey Hess
82617b92e9
move thirdparty program installation for standalone bundle into haskell program
...
This allows it to use Build.SysConfig to always install the programs
configure detected. Amoung other fixes, this ensures the right uuid
generator and checksum programs are installed.
I also cleaned up the handling of lsof's path; configure now checks for
it in PATH, but falls back to looking for it in sbin directories.
2012-12-14 16:07:59 -04:00
Joey Hess
1a10f109c1
quiet shell error message
2012-12-14 15:05:08 -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