Skip to content

Make Lix system wide installable (following the FHS) #6

Description

@akien-mga

I'm looking at packaging Lix for Mageia, and I would like to be able to install it system-wide following the FHS and policies in Linux distributions.

Basically this would require to make it possible to:

  • install the binaries in $(prefix)/games or $(prefix)/bin
  • install the game data in $(prefix)/share/games/lix or $(prefix)/share/lix
    $(prefix) being by default /usr/local but with a possibility to override it (for distro packaging, we use /usr).

Providing install instructions in the Makefile would be a nice feature too, but this would come in a second time, since some code tweaking would be required first to be able to support different rootpaths than "./" and "../". Ideally the rootpath would be retrieved from the "make" call (e.g. "make PREFIX=/usr LIX_DATA_DIR=share/games/lix") and hardcoded in src/other/globals.cpp.

Support for additional rootpaths for e.g. user-made content and replays would be nice too (preferably in $XDG_DATA_HOME/lix i.e. ~/.local/share/lix).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions