diff options
author | bidet | 2017-11-11 01:36:30 -0300 |
---|---|---|
committer | bidet | 2017-11-11 02:22:37 -0300 |
commit | 38c5ba417e631a140ab6cf72ae569b0b84621e2e (patch) | |
tree | 91a2d9f971c567b47a309256de0ba9b0221666db | |
download | aur-38c5ba417e631a140ab6cf72ae569b0b84621e2e.tar.gz |
Rebirth
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | LICENSE | 168 | ||||
-rw-r--r-- | PKGBUILD | 62 | ||||
-rw-r--r-- | dwarf-fortress | 6 |
4 files changed, 261 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4637fd3895b8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = dwarffortress-phoebus + pkgdesc = Dwarf Fortress preloaded with Phoebus tileset + pkgver = 0.40.19 + pkgrel = 17 + epoch = 1 + url = http://www.bay12games.com/dwarves/ + arch = x86_64 + groups = games + license = custom:dwarffortress_phoebus + depends = lib32-sdl_image + depends = lib32-sdl_ttf + depends = lib32-gtk2 + depends = lib32-glu + depends = lib32-gcc-libs + source = https://kremlin.cc/dfmirror/Phoebus_40_19v00.zip + source = https://kremlin.cc/dfmirror/df_40_19_linux.tar.bz2 + source = dwarf-fortress + source = LICENSE + md5sums = df1a777f8defba96e14ac2baeb764bf4 + md5sums = f0b2c798fb5e297ea3cce38a63e20443 + md5sums = 5766ed7195876418b497d912d2f1512a + md5sums = eddfb4bd478f9c64e6801bda7c7791ba + +pkgname = dwarffortress-phoebus + diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..f274a4227080 --- /dev/null +++ b/LICENSE @@ -0,0 +1,168 @@ +Slaves to Armok: God of Blood +Chapter II: Dwarf Fortress + +*** COPYRIGHT INFORMATION **************************** + +Copyright (c) 2002-2014. All rights are retained by Tarn Adams, save the +following: you may redistribute the binary and accompanying files, unmodified, +provided you do so free of charge. If you'd like to distribute a modified +version of the game or portion of the archive and are worried about copyright +infringement, please contact Tarn Adams at toadyone@bay12games.com. + +This software is still in development, and this means that there are going to be +problems, including serious problems that, however unlikely, might damage your +system or the information stored on it. Please be aware of this before playing. + +*** SUPPORT BAY 12 *********************************** + +Bay 12 Games is fan-supported. We've put a lot of time and effort into these +games, which are all freely distributed, but we can't survive on your feedback +alone. Donations are appreciated. Visit www.bay12games.com/support.html to see +how you can help. + +*** CREDITS ****************************************** + +Programming: Tarn Adams +Design: Tarn and Zach Adams +Music: Tarn Adams + +Initial Playtesting: Alan Ames, Alex Mooney, Martin Packman, Ben Ringland and +Zonk +Lots of HTML/IT stuff: Martin Packman +First Mac port: Matthew Moss and eli +SDL port, and additional changes: Bernard Helyer (see license below) +OpenGL upgrade to this millenium, and additional changes: Svein Ove Aas (see +license below) + +Additional changes to the SDL Port and related main loop/input code: Theodorick +Grau (see license below) + +DF 2010 Playtesting: Svein Ove Aas, Aquillion, Kyle Brodzky, Richard Jensen, +Nathan Miller aka Rainseeker, Alex Mooney, Ben Ringland, Chris Rogers + +Bug Tracker Managers: Anthony Drawdy, Knight Otu, Logical2u, Chris Rogers + +Many suggestions from fans on the bay12games.com and other forums (and the +#bay12games IRC channel) have been incorporated over the years. The code +contributions credited above that are in use by the game are distributed with +the Linux version (see the g_src directory and licenses below). + +*** OPTIPNG ****************************************** + +optipng is bundled into the zip for use to change BMPs into PNGs easily, at +least until PNG support is added to DF itself. The license is included in this +folder. You can get the optipng documentation and source at +http://optipng.sourceforge.net. You can use the compress_bitmaps batch file to +convert any BMP in the folder to PNG. The BMP files are deleted afterward. + +*** NOTES ON MODIFICATIONS *************************** + +Existing save files will become unusable if any raw/objects entries are removed. +If you change the configuration of the bodies of existing creatures, save files +may become unstable. New additions to the files are not incorporated into +existing worlds but will be added to the next world you generate. + +We do not accept submissions for the official Dwarf Fortress releases. Please +do not ask for your code, art, sound or raw/objects txt files to be incorporated +into the official releases. + +*** SDL PORT/OPENGL UPGRADE LICENSE ****************** + +The game uses code by Svein Ove Aas (OpenGL upgrade) and Bernard Helyer (who did +the SDL port). This code was distributed under the following license (and will +be made available at some point at bay12games.com/games after it's tested a bit +more): + +Copyright (c) 2008, Svein Ove Aas, parts by Tarn Adams, portions Bernard Helyer + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +*** Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +*** Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +*** The names of Tarn Adams, Zach Adams, Svein Ove Aas, Bernard Helyer and Bay +12 Games may not be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Additional changes to the SDL Port and related main loop/input code by +Theodorick Grau, who provided the following license: + +Full license, ownership, and copyright is hereby granted to Tarn Adams, Zach +Adams, Bay 12 Games(represensations thereof), and all assignees they may +designate; for all source code submitted by me to any of the above mentioned +parties. + +I retain no rights to any source code once it has been submitted. I also make +no guarantees as to the fitness or mechantibility of any source code. All +source code, submitted by me, and its binary products are wholly property of the +above named parties. + +Signed this day the 11th of January 2009, + +Theodorick Grau + +*** LIBRARIES **************************************** + +DF uses the FMOD Sound System +Copyright (C) Firelight Technologies Pty, Ltd., 1994-2006. +The SDL version of DF uses SDL - Simple DirectMedia Layer +Copyright (C) 1997-2006 Sam Lantinga +See the SDL folder for license information. + +This SDL version of DF uses The OpenGL Extension Wrangler Library. What follows +is the GLEW License. + +*** start GLEW license *** + +Copyright (C) 2002-2007, Milan Ikits <milan ikits[]ieee org> +Copyright (C) 2002-2007, Marcelo E. Magallon <mmagallo[]debian org> +Copyright (C) 2002, Lev Povalahev +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* The name of the author may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +*** end GLEW license *** + +Portions of the SDL version are copyright (c)2008 The FreeType Project +(www.freetype.org). All rights reserved. diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..34a0b74bb680 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,62 @@ +# Maintainer: ian kremlin <ian [AT] kremlin [DOT] cc> +# Former Maintainer: Dennis Hamester <dennis.hamester [AT] gmail [DOT] com> + +pkgname=dwarffortress-phoebus +pkgver=0.43.05 + +# rewrite by kremlin, july 8th 2014 +# with help from halosghost +pkgrel=17 +epoch=1 + +pkgdesc='Dwarf Fortress preloaded with Phoebus tileset' + +arch=('x86_64') +url='http://www.bay12games.com/dwarves/' +license=('custom:dwarffortress_phoebus') +groups=('games') +depends=('lib32-sdl_image' 'lib32-sdl_ttf' 'lib32-gtk2' 'lib32-glu' 'lib32-gcc-libs') + +source=('https://github.com/tjkhaled/Phoebus/archive/43.05d.zip' + 'http://bay12games.com/dwarves/df_43_05_linux.tar.bz2' + 'dwarf-fortress' + 'LICENSE') + +md5sums=('5ab97342449693e02e70573ea964e786' + '5b8ee45e906d021c053f816e443c2983' + '5766ed7195876418b497d912d2f1512a' + 'eddfb4bd478f9c64e6801bda7c7791ba') + +prepare() { + + # inject DF with phoebus' tilesets + mv "$srcdir"/raw/graphics/* "$srcdir"/df_linux/raw/graphics/ + mv "$srcdir"/raw/objects/* "$srcdir"/df_linux/raw/objects/ + + cp -a --no-preserve=ownership "$srcdir"/data/art/* "$srcdir"/df_linux/data/art/ + cp -a --no-preserve=ownership "$srcdir"/data/init/phoebus/* "$srcdir"/df_linux/data/init/ + + chmod -R a+rx "$srcdir"/df_linux/libs/Dwarf_Fortress + chmod -R a+rx "$srcdir"/df_linux/data/* + chmod -R a+rx "$srcdir"/df_linux/raw/* + chmod -R a+rx "$srcdir"/df_linux/g_src/* + + chmod a+rx "$srcdir"/df_linux/* + chmod a+r "$srcdir"/df_linux/sdl/sdl\ license.txt +} + +package() { + + install -d "$pkgdir"/usr/lib32/"$pkgname" + install -m644 "$srcdir"/df_linux/libs/libgraphics.so "$pkgdir"/usr/lib32/"$pkgname"/libgraphics.so + install -D -m755 "$srcdir"/dwarf-fortress "$pkgdir"/usr/bin/dwarf-fortress + install -D -m644 "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE + + cp -a --no-preserve=ownership "$srcdir"/df_linux/* "$pkgdir"/usr/lib32/"$pkgname"/ + mkdir -p "$pkgdir"/usr/lib32/"$pkgname"/data/save/current/ + + chmod a+rw "$pkgdir"/usr/lib32/"$pkgname"/data/save/ + chmod a+rw "$pkgdir"/usr/lib32/"$pkgname"/data/save/current # save dir is worldwrite + chmod a+w "$pkgdir"/usr/lib32/"$pkgname"/data/index # crashes otherwise +} + diff --git a/dwarf-fortress b/dwarf-fortress new file mode 100644 index 000000000000..e6e2fa21b1cf --- /dev/null +++ b/dwarf-fortress @@ -0,0 +1,6 @@ +#!/bin/sh +cd /usr/lib32/dwarffortress-phoebus +export SDL_DISABLE_LOCK_KEYS=1 # Work around for bug in Debian/Ubuntu SDL patch. +#export SDL_VIDEO_CENTERED=1 # Centre the screen. Messes up resizing. +LD_PRELOAD="/usr/lib32/libz.so.1 /usr/lib32/dwarffortress-phoebus/libgraphics.so /usr/lib32/libgcc_s.so.1 /usr/lib32/libstdc++.so.6" \ +/usr/lib32/dwarffortress-phoebus/libs/Dwarf_Fortress $* # Go, go, go! :) |