mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
089ab5e97c
commit
7df7518625
4 changed files with 50 additions and 6 deletions
10
subsurface.desktop
Normal file
10
subsurface.desktop
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=subsurface
|
||||
GenericName=dive log program
|
||||
Comment=manage and display dive computer data
|
||||
Icon=subsurface
|
||||
Exec=subsurface
|
||||
Terminal=false
|
||||
Categories=Accessories;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue