Put launcher for ResInsight in desktop environment

This commit is contained in:
Roland Kaufmann 2013-03-26 23:48:26 +01:00
parent f6dd430b87
commit 20f00f4a3a
2 changed files with 25 additions and 0 deletions

View File

@ -316,4 +316,19 @@ else (PRIVATE_INSTALL)
DESTINATION share/doc/ResInsight
)
# no bundled libraries for system install
# application icon
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/Resources/AppLogo48x48.png
DESTINATION share/icons/hicolor/48x48/apps
RENAME ResInsight.png
)
# desktop environment icon; remember to call `update-desktop-database`
# in package post-install scripts
configure_file (
${CMAKE_CURRENT_SOURCE_DIR}/resinsight.desktop.in
${CMAKE_CURRENT_BINARY_DIR}/resinsight.desktop
@ONLY
)
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/resinsight.desktop
DESTINATION share/applications
)
endif (PRIVATE_INSTALL)

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
StartupNotify=true
Icon=@CMAKE_INSTALL_PREFIX@/share/icons/hicolor/48x48/apps/ResInsight.png
ame=ResInsight
Comment=3D viewer and post processing tool for reservoir models
Exec=@CMAKE_INSTALL_PREFIX@/bin/ResInsight
Categories=Applications;Science;