{"action":"created","issue":{"url":"https://api.github.com/repos/rastersoft/autovala/issues/50","labels_url":"https://api.github.com/repos/rastersoft/autovala/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/rastersoft/autovala/issues/50/comments","events_url":"https://api.github.com/repos/rastersoft/autovala/issues/50/events","html_url":"https://github.com/rastersoft/autovala/issues/50","id":81537291,"number":50,"title":"update-icon-cache for all themes called after installing icons in one location","user":{"login":"ztefn","id":343442,"avatar_url":"https://avatars.githubusercontent.com/u/343442?v=3","gravatar_id":"","url":"https://api.github.com/users/ztefn","html_url":"https://github.com/ztefn","followers_url":"https://api.github.com/users/ztefn/followers","following_url":"https://api.github.com/users/ztefn/following{/other_user}","gists_url":"https://api.github.com/users/ztefn/gists{/gist_id}","starred_url":"https://api.github.com/users/ztefn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztefn/subscriptions","organizations_url":"https://api.github.com/users/ztefn/orgs","repos_url":"https://api.github.com/users/ztefn/repos","events_url":"https://api.github.com/users/ztefn/events{/privacy}","received_events_url":"https://api.github.com/users/ztefn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-27T17:11:46Z","updated_at":"2015-05-28T19:25:10Z","closed_at":null,"body":"Hi,\r\n\r\nYesterday I ran the autovale-generated CMake for my app within a prestine Fedora 22 vm install and noticed the icons not showing up. An simple update-icon-cache command was able to solve that. Apparently the install script did not run the command at the right time.\r\n\r\nSo after investigating when exacltly when the update command was called, I found the calls for *all themes* in one specific (seemingly random) location: /data/icons/hicolor/22x22/CMakeLists.txt (see contents below this message)\r\n\r\nI suppose this is the cause of the problem, the update command seems to be called after having installed just a few icons of one theme, while other icons have yet to be installed...\r\n\r\nIf you need to do some deeper analysis I can e-mail you the full project source.\r\n\r\n```\r\n### CMakeLists automatically created with AutoVala\r\n### Do not edit\r\n\r\ninstall(FILES ${CMAKE_CURRENT_SOURCE_DIR}/myapp-connected.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/22x22/status/)\r\ninstall(FILES ${CMAKE_CURRENT_SOURCE_DIR}/myapp-connecting-1.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/22x22/status/)\r\ninstall(FILES ${CMAKE_CURRENT_SOURCE_DIR}/myapp-connecting-2.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/22x22/status/)\r\ninstall(FILES ${CMAKE_CURRENT_SOURCE_DIR}/myapp-connecting-3.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/22x22/status/)\r\ninstall(FILES ${CMAKE_CURRENT_SOURCE_DIR}/myapp-disconnected.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/22x22/status/)\r\ninstall(FILES ${CMAKE_CURRENT_SOURCE_DIR}/myapp.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/22x22/apps/)\r\nIF( NOT (${ICON_UPDATE} STREQUAL \"OFF\" ))\r\n\tinstall (CODE \"execute_process ( COMMAND /usr/bin/gtk-update-icon-cache-3.0 -t ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/icons/gnome )\" )\r\n\tinstall (CODE \"execute_process ( COMMAND /usr/bin/gtk-update-icon-cache-3.0 -t ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor )\" )\r\n\tinstall (CODE \"execute_process ( COMMAND /usr/bin/gtk-update-icon-cache-3.0 -t ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/icons/ubuntu-mono-dark )\" )\r\n\tinstall (CODE \"execute_process ( COMMAND /usr/bin/gtk-update-icon-cache-3.0 -t ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/icons/ubuntu-mono-light )\" )\r\nENDIF()\r\n```"},"comment":{"url":"https://api.github.com/repos/rastersoft/autovala/issues/comments/106571894","html_url":"https://github.com/rastersoft/autovala/issues/50#issuecomment-106571894","issue_url":"https://api.github.com/repos/rastersoft/autovala/issues/50","id":106571894,"user":{"login":"ztefn","id":343442,"avatar_url":"https://avatars.githubusercontent.com/u/343442?v=3","gravatar_id":"","url":"https://api.github.com/users/ztefn","html_url":"https://github.com/ztefn","followers_url":"https://api.github.com/users/ztefn/followers","following_url":"https://api.github.com/users/ztefn/following{/other_user}","gists_url":"https://api.github.com/users/ztefn/gists{/gist_id}","starred_url":"https://api.github.com/users/ztefn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztefn/subscriptions","organizations_url":"https://api.github.com/users/ztefn/orgs","repos_url":"https://api.github.com/users/ztefn/repos","events_url":"https://api.github.com/users/ztefn/events{/privacy}","received_events_url":"https://api.github.com/users/ztefn/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T19:25:10Z","updated_at":"2015-05-28T19:25:10Z","body":"Hmm... this could also be a more basic problem. After some further investigating I found out that */usr/bin/gtk-update-icon-cache-3.0* command isn't present in Fedora 22, only */usr/bin/gtk-update-icon-cache*, without *-3.0*. What's the difference and is -3.0 really necessary?"}}