|
Message-ID: <53D39B12.1050402@barfooze.de> Date: Sat, 26 Jul 2014 14:12:02 +0200 From: John Spencer <maillist-musl@...fooze.de> To: sabotage@...ts.openwall.com CC: musl@...ts.openwall.com, alpine-devel@...ts.alpinelinux.org Subject: Re: [ANN] Dwarf Fortress 40.04 available for sabotage/musl (was: DF 34.11 available) DF 40.04 for musl is now available on http://ftp.barfooze.de/pub/sabotage/bin/ it was created from branch 4004_nogl of [2] (and mayday package from updated master of [3]). it again comes in three flavors: $ sha512sum df_linux_4004-musl_nogl.tar.xz fa40c0568a963baaf6fb9025fd94a52ba29916ddfff4f49d0b129f1093f301cb9a5512b0e45b99d0986758b766773a6f1bd8f6a54d12d968ac6b8eee66fb48b8 df_linux_4004-musl_nogl.tar.xz base package (vanilla); containing only original DF files plus musl-linked libgraphics.so and libstdc++.so. for usage on i386 musl systems with all required libs installed (openal, alsa,sdl,libx11,ncurses...) NOTE: sdl must be patched to create thread stacks of at least 128KB, see http://bugzilla.libsdl.org/show_bug.cgi?id=2019 (already the case on sabotage linux) $ sha512sum df_linux_4004-musl_nogl-alllibs.tar.xz 5d57e068202f16e84a84b1ccb6220bdf6e9228cc1ceff9f5877043b5925c6991b98af9f32c0e979afe76df060e1ada1a75d2d3356d1972222b268f40ab6b1c05 df_linux_4004-musl_nogl-alllibs.tar.xz same as above but with all dependent 32bit libraries included in libs/; can be used on x86_64 without further ado (given that kernel has CONFIG_IA32_EMULATION turned on). $ sha512sum df_linux_4004-musl_nogl_mayday-allibs.tar.xz 10f557cb04fa8e581785c029d0156d57f2f7d5d532fbe5f4b37febf5ee98cec63f601403f839f50fc8ac8f99ba5c89b8cafd117f3b14ef8cb0add9645f61d1a2 df_linux_4004-musl_nogl_mayday-allibs.tar.xz same as above but with mayday tileset from [3]. have Fun, --JS P.S.: it should be possible to update to DF 40.05 and newer versions, once they come out by dropping libstdc++.so and libgraphics.so from the vanilla tarball into the df_linux dir (plus the modified start shell script); and maybe even (if there are no changes in the RAW dir, which is likely - diff -r can tell you) to just copy an updated "Dwarf Fortress.exe" into df_linux_4004-musl_nogl's libs/ dir. John Spencer wrote: > dwarf fortress[0] is a very well known freeware game available for > linux, however only for glibc based systems, and i386 (32bit) only. > > the graphics part of it is opensource, available here: [1] > i forked it and applied a couple of patches to remove GTK+ and > OpenGL dependencies, so it works with plain SDL and stdio[2]. > > using this trimmed down libgraphics.so, it's possible to run > the GLibc linked binary thanks to musl's ABI compatibility > (either by patching the DT_INTERP with patchelf to point to > musl's dynlinker, or by launching /lib/ld-musl-i386.so.1 $binary, > we do the latter in order to not touch the original binaries). > > the libgraphics.so was additionally linked against ncurses, so > it can be used even in a raw terminal if no X server is available. > to use the ncurses driver, change the driver from "2D" to "TEXT" > in data/init/init.txt. > > i've uploaded 3 full DF tarballs containing this custom > libgraphics.so to > > http://ftp.barfooze.de/pub/sabotage/bin/ > > dwarf_fortress_34_11_linux_musl.tar.xz : > equivalent to the original df_34_11_linux.tar.bz2 from upstream. > only libgraphics.so and libstdc++.so/libgcc_s.so has been swapped > out for sabotage ones to reduce the incompatibility surface. > note that libstdc++.so from GCC >= 4.6 is not compatible with the > game binary. > sha512 checksum: > 44f7c50732959064709b15a737a61ba12232fa820e9416498b314a0ef79d97a67bb8953ae3b49e76ff72454be3e9765ac33234e3bd394b011a09e1a5deb7ea92 > > > dwarf_fortress_34_11_linux_musl_including_all_deps.tar.xz : > same as above, however all needed 32bit libraries have been added. > that way this tarball can be extracted on a x86_64 or i386 system > and started without further ado. > sha512: > 25698f960f11d6a367617a024b9358e58cbd2a4adc317c341fcd2bd86271d906b0b8ad62a5f03a0f6bfe7f246dd4a539cfeae36d8d13ce1ef0422c0cf6d10ffd > > > > dwarf_fortress_34_11_linux_musl_including_all_deps_and_mayday_tileset.tar.xz > : > same as above, plus the graphical tileset "mayday". > mayday support has been added using the patch/script available on [3]. > sha512: > 711c85ab09cfdb5a330bd17d13e44cb62d00fde7db6b42746b8b1da0d41baff8081e0d9b1a4aaaea14006f2be0afb7aeea75306853139fd281ec6f1c4a2bddd5 > > > so, now that even DF works on musl, there's no reason waiting any longer > to switch completely :-) > > have lots of Fun, > --JS > > [0] http://www.bay12games.com/dwarves/ > [1] https://github.com/Baughn/Dwarf-Fortress--libgraphics- > [2] https://github.com/rofl0r/df-libgraphics/tree/nogl > [3] https://github.com/rofl0r/df-mayday >
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.