Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
solarus
icons-desktop-man.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File icons-desktop-man.patch of Package solarus
From ab10f8153b997caa4eba7736082a4af608c2562c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <Mailaender@users.noreply.github.com> Date: Tue, 24 Jan 2017 09:27:23 +0100 Subject: [PATCH 1/6] Install icons for Linux desktops. --- gui/CMakeLists.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 5bb91e3..e568c5b 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -159,3 +159,22 @@ if(WIN32) endif() endif() +# FreeDesktop compatible icons +if(UNIX AND NOT APPLE) + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/icons/solarus_icon_16.png + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/16x16/apps RENAME solarus.png) + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/icons/solarus_icon_24.png + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/24x24/apps RENAME solarus.png) + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/icons/solarus_icon_32.png + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/32x32/apps RENAME solarus.png) + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/icons/solarus_icon_48.png + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/48x48/apps RENAME solarus.png) + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/icons/solarus_icon_64.png + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/64x64/apps RENAME solarus.png) + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/icons/solarus_icon_128.png + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/128x128/apps RENAME solarus.png) + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/icons/solarus_icon_256.png + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/256x256/apps RENAME solarus.png) + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/icons/solarus_icon_512.png + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/512x512/apps RENAME solarus.png) +endif(UNIX AND NOT APPLE) From 9279663aa1acc80826a5b48b82dc7a6a872eb032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <Mailaender@users.noreply.github.com> Date: Tue, 24 Jan 2017 09:34:06 +0100 Subject: [PATCH 2/6] Adhere to the FreeDesktop specifications. --- gui/resources/solarus.desktop | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gui/resources/solarus.desktop b/gui/resources/solarus.desktop index 9ac97b9..2a72db0 100644 --- a/gui/resources/solarus.desktop +++ b/gui/resources/solarus.desktop @@ -1,7 +1,12 @@ [Desktop Entry] +Version=1.0 Type=Application Name=Solarus Quest Launcher +GenericName=Topdown 2D adventure game Comment=A graphical user interface to organize and play quests for the Solarus engine -Exec=/usr/games/solarus -Icon=solarus_launcher_icon.png -Categories=Game; +Exec=solarus +Icon=solarus +Terminal=false +Type=Application +StartupNotify=true +Categories=Game;AdventureGame; From 6784a9c9b8a11a9e8127d66b3c81841669d5ab3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <Mailaender@users.noreply.github.com> Date: Tue, 24 Jan 2017 09:37:35 +0100 Subject: [PATCH 3/6] Install the .desktop file --- gui/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index e568c5b..c94004c 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -178,3 +178,9 @@ if(UNIX AND NOT APPLE) install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/icons/solarus_icon_512.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/512x512/apps RENAME solarus.png) endif(UNIX AND NOT APPLE) + +# FreeDesktop compatible start menu launcher +if(UNIX AND NOT APPLE) + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../resources/solarus.desktop + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) +endif(UNIX AND NOT APPLE) From 79a37979fa070f391ace2bce512bdc796f34c41e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <Mailaender@users.noreply.github.com> Date: Tue, 24 Jan 2017 09:41:01 +0100 Subject: [PATCH 4/6] Install the Linux man page. --- gui/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index c94004c..331c1f5 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -184,3 +184,9 @@ if(UNIX AND NOT APPLE) install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../resources/solarus.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) endif(UNIX AND NOT APPLE) + +# Linux Manpage +if(UNIX AND NOT APPLE) + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../solarus.6 + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man6) +endif(UNIX AND NOT APPLE) From 861b2cb0d7b07c25403520b674170507c10970f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <Mailaender@users.noreply.github.com> Date: Tue, 24 Jan 2017 09:54:22 +0100 Subject: [PATCH 5/6] Fix .desktop source path --- gui/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 331c1f5..c9ca760 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -181,7 +181,7 @@ endif(UNIX AND NOT APPLE) # FreeDesktop compatible start menu launcher if(UNIX AND NOT APPLE) - install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../resources/solarus.desktop + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../gui/resources/solarus.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) endif(UNIX AND NOT APPLE) From 60abe54f8e5bf583bdcb5519eec9b7dc245cf682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <Mailaender@users.noreply.github.com> Date: Tue, 24 Jan 2017 10:04:07 +0100 Subject: [PATCH 6/6] Fix multiple Type definitions warning. --- gui/resources/solarus.desktop | 1 - 1 file changed, 1 deletion(-) diff --git a/gui/resources/solarus.desktop b/gui/resources/solarus.desktop index 2a72db0..65b456c 100644 --- a/gui/resources/solarus.desktop +++ b/gui/resources/solarus.desktop @@ -7,6 +7,5 @@ Comment=A graphical user interface to organize and play quests for the Solarus e Exec=solarus Icon=solarus Terminal=false -Type=Application StartupNotify=true Categories=Game;AdventureGame;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor