chiark / gitweb /
First-draft Debian packaging implementation.
authorSimon Tatham <anakin@pobox.com>
Sat, 16 Jan 2021 14:31:48 +0000 (14:31 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 18 Jan 2021 21:25:14 +0000 (21:25 +0000)
commitb766749b8834804401bd947ee4cd7c8378cd216e
treec4372a4ab66c1968ac674ed0f67082343267604b
parent8e043092262eb82d399786250a1ce7997f192154
First-draft Debian packaging implementation.

I've split up the installed files into three packages. Following the
upstream names of the binaries, the package 'chroma' contains the
graphical SDL version of the game, and 'chroma-curses' contains the
terminal-based version. They're in separate packages so that each one
can avoid the library dependencies of the other.

The shared data between the two (mostly level designs) lives in a
third package 'chroma-data'. But not all the stuff upstream installs
in /usr/share/chroma goes in there: the SVG graphics used only by the
SDL binary can live in the 'chroma' package.

Upstream's makefile installs binaries in /usr/bin; per Debian policy,
the packaging moves them to /usr/games.

An icon for the .desktop file is constructed from one of the SVGs in
the upstream tarball, but because that SVG contains two images side by
side, I had to provide a small Python script that extracts just one of
them (and then passes it to Inkscape to render into a PNG).
13 files changed:
.gitignore [new file with mode: 0644]
Makefile.in
debian/.gitignore [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/chroma-curses.install [new file with mode: 0755]
debian/chroma-data.install [new file with mode: 0755]
debian/chroma.desktop [new file with mode: 0644]
debian/chroma.install [new file with mode: 0755]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/make-debian-icons.py [new file with mode: 0755]
debian/not-installed [new file with mode: 0644]
debian/rules [new file with mode: 0755]