From 0392c34e71e85d6b52771fa0e363d22ea18bbb03 Mon Sep 17 00:00:00 2001 From: o9000 Date: Sat, 14 Jan 2017 18:40:48 +0100 Subject: [PATCH] Do not run gtk-update-icon-cache at make install (breaks packaging; issue #620) --- CMakeLists.txt | 1 - src/tint2conf/CMakeLists.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5139e2e..0c2413d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -248,7 +248,6 @@ set_target_properties( tint2 PROPERTIES LINK_FLAGS "-pthread -fno-strict-aliasin install( TARGETS tint2 DESTINATION bin ) install( FILES tint2.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps ) install( FILES tint2.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications ) -install( CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${CMAKE_INSTALL_FULL_DATADIR}/icons/hicolor WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX})" ) install( FILES themes/tint2rc DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/xdg/tint2 ) install( FILES default_icon.png DESTINATION ${CMAKE_INSTALL_DATADIR}/tint2 ) install( FILES AUTHORS ChangeLog README.md doc/tint2.md DESTINATION ${docdir} ) diff --git a/src/tint2conf/CMakeLists.txt b/src/tint2conf/CMakeLists.txt index 0e77857..f5a937a 100644 --- a/src/tint2conf/CMakeLists.txt +++ b/src/tint2conf/CMakeLists.txt @@ -68,4 +68,3 @@ add_subdirectory(po) install( TARGETS tint2conf DESTINATION bin ) install( FILES tint2conf.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps ) install( FILES tint2conf.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications ) -install( CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${CMAKE_INSTALL_FULL_DATADIR}/icons/hicolor WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX})" )