Commit Graph

72 Commits (f270217be5647cb29de6e2336fe8477027454095)

Author SHA1 Message Date
lethosor 6a1f046995
Add --sizecheck option to Linux launcher script, update docs 2020-08-08 00:41:04 -04:00
Tommy R 1d2b0bb3a5 Fix the unquarantine behavior on OSX.
- Using print0 but without the parenthesis, find only outputs one
filename.
- Also added the .framework files to the unquarantine list.
2020-07-13 10:04:09 -07:00
lethosor 9c5e5de999 Disable stty in launchers if stdin is not a terminal 2020-03-26 22:58:43 -04:00
Ben Lubar be6f9a2531
fix typo in be881936f3 2020-02-09 18:12:47 -06:00
Ben Lubar be881936f3
add -x (--exec) flag to run DFHack via the exec builtin
this means the process run by ./dfhack will be Dwarf Fortress itself rather than the wrapper script, but it also means that no cleanup actions can occur.
2020-02-09 18:01:24 -06:00
lethosor 045d8bfd1e Linux launcher: attempt to fall back to a working architecture for setarch
Also include directions if this fails

Closes #1466
2020-01-14 23:56:25 -05:00
lethosor f3d5a185ba macOS launcher: remove quarantine flags
Fixes #1465
2019-11-01 22:48:16 -04:00
Pauli 05dfac28e1 Automatically preload asan runtime library 2018-07-05 17:58:56 +03:00
Pauli cfb646f576 Add gdbserver support to linux dfhack script
It use set envinronment because
* I couldn't get exec-wrapper to work correctly
* Even with shell remote gdb doesn't support spaces in arguments
2018-06-12 20:47:45 +03:00
Pauli 69b42d5ecf Support DF command line arguments with gdb 2018-06-12 20:46:22 +03:00
Pauli bbe70afa2d Add strace support to the linux dfhack script 2018-06-12 20:42:12 +03:00
Daniel Brooks 9e935f67f8 makes dfhack -g work correctly
First, simplifies the quoting of the environment variables. Then sets
startup-with-shell to off so that gdb does not start bash first; if it
starts bash ld will see the LD_PRELOAD and try to load libdfhack.so
into the bash process, which is not what we want.

We could instead use an exec-wrapper, but that would be a slightly
larger change and we don't need any of the convenience features that
using a shell gives us (argument expansion and redirects, basically).
2018-05-19 03:02:44 -07:00
lethosor ceb4cc7577 Add downloads for OS X GCC 7 stdlib 2018-04-04 19:45:44 -04:00
lethosor 4f38260e8c Pass the correct architecture to setarch on Linux
Fixes #1129
2017-08-21 19:34:46 -04:00
lethosor 33ca7638f2 Make DFHack libraries take priority on Linux
Fixes #1008
2016-10-22 13:04:15 -04:00
lethosor 42c620bb9c Download non-broken libstdc++ on OS X 2016-07-27 21:43:38 -04:00
lethosor 828fee532a Switch to downloading zlib.lib and SDLreal.dll on Windows 2016-07-27 21:08:24 -04:00
lethosor eef66b0db1 Get rid of OS X path restrictions (see package/linux/dfhack) 2016-07-12 14:54:06 -04:00
Matthew Lindner ed96725293 Add protection from spaces in path and add warning in documentation 2016-07-12 14:44:18 -04:00
lethosor a6c10307b0 Reset terminal color on exit 2016-05-14 19:39:10 -04:00
lethosor c15cf5f415 Rename libstdc++ automatically in Linux launcher script 2016-01-18 09:21:31 -05:00
txtsd 07e59139fd Use distro_fixes.sh from LNP if it exists 2015-12-23 00:38:03 +05:30
lethosor 00d39e270c Add hack/libs to DYLD_LIBRARY_PATH on OS X
Fixes an issue in #649
2015-08-25 14:17:45 -04:00
lethosor a1fd1d9219 Document dwarfmonitor and allow date format to be modified 2015-04-19 12:38:37 -04:00
lethosor 02cb510d20 Build OS X libstdc++ with -mmacosx-version-min=10.5
Fixes #561
2015-03-22 15:01:13 -04:00
miffedmap ca6646e963 avoid dangling colon 2015-02-07 23:26:10 +02:00
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