Commit Graph

96 Commits (1f0c4a8624b07def5858ce3e3ccf5a63bf554e0b)

Author SHA1 Message Date
miffedmap df9633c827 LD_PRELOAD should use colon rather then space as delimiter 2015-02-07 22:27:38 +02:00
miffedmap 5f2d259593 Allow user to include custom libraries in LD_PRELOAD 2015-01-27 04:35:49 +02:00
Lethosor e20808b6f6 Allow `dfhack` script to be run from other directories on OS X 2015-01-11 13:53:51 -05:00
lethosor 57f6a94133 Merge remote-tracking branch 'lethosor/osx-libstdc++'
Also update NEWS
2015-01-05 16:39:42 -05:00
lethosor eb8bd82942 Add libstdc++.6.dylib to .gitignore 2014-12-23 10:32:46 -05:00
lethosor 02f2d88f35 Add option to install newer libstdc++ on OS X
Also include a bzipped copy of libstdc++.6.dylib
Fixes #437
Fixes #436
Fixes #460
Fixes #462
2014-12-23 10:31:00 -05:00
Lethosor 080c0bc5b2 Revert "Log output of "dfhack" script to dfhack.log" 2014-12-17 17:12:10 -05:00
lethosor 50765dd60f Log output of "dfhack" script to dfhack.log 2014-11-22 10:08:38 -05:00
Eric Wald 1b3e1b8e92 No longer prints -e when DF finishes.
That echo option is a bash-specific extension, unavailable under other shells.
Fortunately, a bare echo with no arguments prints the single newline required here.
2014-09-17 19:29:47 -06:00
Lethosor e120f536ec Pass command-line arguments to DF (OS X) 2014-06-14 09:22:32 -04:00
Alexander Gavrilov afdfd00aa3 Merge branch 'segfault-reset-osx' of git://github.com/lethosor/dfhack into develop 2014-05-12 21:45:56 +04:00
lethosor bbc417281c Restore old terminal settings on segfault on OS X 2014-05-11 14:42:40 -04:00
Lethosor 2ec1d84164 Use DYLD_LIBRARY_PATH on OS X instead of LD_LIBRARY_PATH
Fixes DFHack/dfhack#235
2014-05-08 23:15:26 -04:00
Alexander Gavrilov 74429f12d7 Pull the list of libraries to preload into a variable in linux/dfhack.
This is so that the workaround described here can be applied easily:

http://www.bay12games.com/dwarves/mantisbt/view.php?id=2688
2014-04-21 09:33:13 +04:00
Petr Mrázek 658e64c1b2 Fix allegro, stonesense/deplibs is now hack/libs, sync isoworld and stonesense 2013-04-07 20:25:38 +02:00
Petr Mrázek 575b1c45fc Sync isoworld, linux fixes 2013-04-03 01:10:06 +02:00
Timothy Collett 79dfb65b9a FORCE_FLAT_NAMESPACE no longer needed 2013-03-15 13:59:47 -04:00
Timothy Collett 24b93ea61f Library location fixing script 2012-09-13 14:58:52 -04:00
Timothy Collett 96abc903ab Merge branch 'master' of http://github.com/peterix/dfhack 2012-09-10 11:54:56 -04:00
Petr Mrázek aee15db75f Even better handling of terminal reset on linux 2012-07-12 13:00:01 +02:00
Petr Mrázek 493b059f4c Reset terminal to sane state after exiting on linux - without clearing the scrollback. 2012-07-12 02:51:00 +02:00
Timothy G Collett d5ae1fc4f2 Merge branch 'master' of https://github.com/danaris/dfhack
Conflicts:
	depends/clsocket
	package/darwin/dfhack
	package/darwin/dfhack-run
Fixed.
2012-06-24 18:41:24 -04:00
Timothy G Collett b40682f61c Add running scripts 2012-06-24 18:32:53 -04:00
Timothy Collett 06fedc9b78 Add scripts to run dfhack on the Mac 2012-06-14 09:56:54 -04:00
jj a59825ff80 linux: remove LD_PRELOAD warning on x86_64 distrib 2012-05-19 13:02:11 +02:00
Alexander Gavrilov 9d6e26fa5f Fix crashing color_ostream::printerr due to vfprintf vs fprintf mixup.
Also enable heap clearing in gdb mode, and fix a few newlines.
2012-03-31 22:26:41 +04:00
Alexander Gavrilov e7851f5abd Improve support for void RPC functions, dfhack-run, etc. 2012-03-15 11:07:43 +04:00
Petr Mrázek 731472a478 Add eggy hooks (linux only for now) 2012-02-28 03:37:56 +01:00
Petr Mrázek 647916e109 Graphic module 2011-12-07 20:37:09 +01:00
Petr Mrázek 780b659210 Zeromq hello world plugin. 2011-11-25 22:14:36 +01:00
Petr Mrázek 0808c9c0ab Add support for stonesense distributed with allegro libs as .so 2011-08-20 13:37:14 +02:00
Petr Mrázek a0f99ef707 Many tweaks to plugins, reorganized the build system and removed more cruft. 2011-08-14 08:42:21 +02:00
Petr Mrázek c423bb6e88 Use 'setarch i386 -R' on linux to be usre that ASLR won't break things. 2011-08-09 20:38:47 +02:00
Petr Mrázek 262a5c9da3 Callgrind in dfhack script, added an option for building stonesense. 2011-07-21 11:29:26 +02:00
Matthew Cline 592a65f9a3 ".dfhackrc" user config file
If the file ".dfhackrc" exists in the user's home directory or in the
game directory it will be sourced, so the user can set environmental
variables like LD_LIBRARY_PATH.  There's also a few shell variables it
can set to alter the behavior of the dfhack script.
2011-07-17 15:50:31 -07:00
Petr Mrázek 0d1dd5aead Extended escape sequences are 4 bytes, not 5. 2011-07-16 10:31:49 +02:00
Petr Mrázek 459d48d75a Made the linux console super awesome. The dfhack script won't LD_PRELOAD dfhack for gdb. 2011-07-15 15:55:01 +02:00
Petr Mrázek f2b46274ec Fix for a bug in command history queue access. dfhack script can run valgrind. 2011-07-14 08:02:29 +02:00
Matthew Cline fed916bf8d Linux launch script: gdb and terminal reset
1) Giving "-g" or "--gdb" as the first argument to the dfhack script
will launch DF under gdb.

2) "reset -I" is called after DF finishes, to return the terminal to a
sane state in case DF crashed or was killed.
2011-07-12 23:37:49 -07:00
Matthew Cline a30a4a2720 CMake linux: copy LD_PRELOAD script
Copy package/linux/dfhack to the games directory; it's the same as the
normal df script, but sets LD_PRELOAD properly.

Also, CMAkeLists.txt now checks to see that the output directory is set
to the game directory, and fatally fails if it isn't.
2011-07-12 17:25:27 -07:00
Petr Mrázek f2b91d3269 Making ready for adding plugins. Fixes all over the place, more removal of obsolete parts. 2011-06-20 01:12:07 +02:00
Petr Mrázek 42366c238f Simple packaging scripts 2011-04-02 02:34:21 +02:00
Petr Mrázek dcfa315acf windows 31.24 2011-03-27 16:06:44 +02:00
Petr Mrázek c06df18ea7 Fix linux builds not installing the header files 2011-03-20 02:06:50 +01:00
Petr Mrázek 467c50e97d Tiny ubuntu fix. 2011-03-20 00:54:11 +01:00
Petr Mrázek 1481b07b6b Ubuntu packaging magic, forgotten header files, an icon. 2011-03-19 23:26:32 +01:00