Giter Site home page Giter Site logo

flatpak-dwarffortress's Introduction

Dwarf Fortress

This repo contains the data necessary to compile Dwarf Fortress into a Flatpak. Currently 0.43.03 w/ dfhack is 32-bit only, so you need to install 32-bit versions of the Flatpak platform and SDK. 0.43.05 doesn't have dfhack but it is 64-bit, and such doesn't need the 32-bit layer anyway.

To build it you need the freedesktop platform and SDK, which can be installed in the following manner;

$ wget https://sdk.gnome.org/keys/gnome-sdk.gpg
$ flatpak --user remote-add --gpg-import=gnome-sdk.gpg gnome http://sdk.gnome.org/repo
$ flatpak --user install gnome org.gnome.Sdk 3.22
$ flatpak --user install gnome org.gnome.Platform 3.22

For 32-bit;

$ wget https://sdk.gnome.org/keys/gnome-sdk.gpg
$ flatpak --user remote-add --gpg-import=gnome-sdk.gpg gnome http://sdk.gnome.org/repo
$ flatpak --user install --arch=i386 gnome org.gnome.Sdk 3.22
$ flatpak --user install --arch=i386 gnome org.gnome.Platform 3.22

To build and install/run the application you can do the following;

$ make
$ make install
$ make run

The application data when run can be found in ~/.var/app/com.bay12games.DwarfFortress/df_linux

TODO

  • Clean up more unnecessary data
  • Improve install steps, strip down configure parameters to just what's needed
  • Perhaps work the Dwarf Fortress folders into a more XDG-ish state (~/data, ~/cache, ~/config, etc)
  • Make a proper readme
  • Look into possibly packaging and publishing the package somewhere, depending on what bay12games thinks about it

flatpak-dwarffortress's People

Contributors

ananace avatar

Watchers

James Cloos avatar Simon McVittie avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.