desktop_entry: include high resolution icons
wesnoth-optipng has been applied to the new images
|
@ -564,8 +564,8 @@ if(ENABLE_DESKTOP_ENTRY AND ENABLE_GAME)
|
|||
# exec_program(sed ARGS "-i" "'s/^\(Name.*=.*\)$/\1TEST/g'" ${CMAKE_CURRENT_BINARY_DIR}/${BINARY_PREFIX}wesnoth${BINARY_SUFFIX}.desktop )
|
||||
# install the generated .desktop file
|
||||
# install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${BINARY_PREFIX}wesnoth${BINARY_SUFFIX}.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications )
|
||||
install(FILES icons/wesnoth.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications )
|
||||
install(FILES icons/wesnoth-icon.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/64x64/apps )
|
||||
install(FILES packaging/wesnoth.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications )
|
||||
install(DIRECTORY packaging/icons/hicolor DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons )
|
||||
endif(ENABLE_DESKTOP_ENTRY AND ENABLE_GAME)
|
||||
|
||||
|
||||
|
|
|
@ -687,11 +687,8 @@ if env["nls"]:
|
|||
env.InstallData("datadir", "wesnoth", "l10n-track")
|
||||
InstallManpages(env, "wesnoth")
|
||||
if have_client_prereqs and have_X and env["desktop_entry"]:
|
||||
if sys.platform == "darwin":
|
||||
env.InstallData("icondir", "wesnoth", "icons/wesnoth-icon-Mac.png")
|
||||
else:
|
||||
env.InstallData("icondir", "wesnoth", "icons/wesnoth-icon.png")
|
||||
env.InstallData("desktopdir", "wesnoth", "icons/wesnoth.desktop")
|
||||
env.InstallData("icondir", "wesnoth", "packaging/icons")
|
||||
env.InstallData("desktopdir", "wesnoth", "packaging/wesnoth.desktop")
|
||||
|
||||
# Python tools
|
||||
env.InstallData("bindir", "pytools", [os.path.join("data", "tools", tool) for tool in pythontools])
|
||||
|
|
|
@ -18,6 +18,8 @@ Version 1.13.10+dev:
|
|||
CMake minimum requirements, which is now at 2.8.5. Most distributions
|
||||
already use a CMake version above 3.0, so this would only affect users
|
||||
of vintage CMake versions.
|
||||
* higher resolutions of the application icon have been added and are now
|
||||
stored in the hicolor icon theme's directory
|
||||
* Language and i18n:
|
||||
* Updated translations: Chinese (Simplified), Italian, Spanish
|
||||
* Lua API:
|
||||
|
|
Before Width: | Height: | Size: 7.4 KiB |
BIN
packaging/icons/hicolor/128x128/apps/wesnoth-icon.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
packaging/icons/hicolor/16x16/apps/wesnoth-icon.png
Normal file
After Width: | Height: | Size: 357 B |
BIN
packaging/icons/hicolor/256x256/apps/wesnoth-icon.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
packaging/icons/hicolor/32x32/apps/wesnoth-icon.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
packaging/icons/hicolor/512x512/apps/wesnoth-icon.png
Normal file
After Width: | Height: | Size: 296 KiB |
BIN
packaging/icons/hicolor/64x64/apps/wesnoth-icon.png
Normal file
After Width: | Height: | Size: 7.2 KiB |