]> git.tdb.fi Git - ext/subsurface.git/commit
Have "make install" act more as expected for a desktop application
authorDirk Hohndel <dirk@hohndel.org>
Tue, 11 Oct 2011 22:58:38 +0000 (15:58 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Wed, 12 Oct 2011 03:29:06 +0000 (20:29 -0700)
commit7df7518625b5a80aa1ff35c8c6e49e6e257672d9
tree02d7b54df83f0d0e01cc6c7b87f61775e01260a5
parent089ab5e97c50de9e0f566bda9e881e0e3c7cb0bf
Have "make install" act more as expected for a desktop application

I'm trying to get subsurface to get closer to becoming a "regular desktop
application"; so far this is based on the recommendations and guidelines
on OpenSUSE and Fedora.

The icon is now named subsurface.svg and make install installs it in the
correct location. At runtime subsurface first checks if an icon is
installed and if it is it uses that - otherwise it falls back to the old
code that tries to read the svg file from the current directory.

We also install a subsurface.desktop file

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Makefile
gtk-gui.c
icon.svg [deleted file]
subsurface.desktop [new file with mode: 0644]
subsurface.svg [new file with mode: 0644]