mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
PR: 216717 Submitted by: yuri@rawbw.com Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D9439
28 lines
1.6 KiB
Text
28 lines
1.6 KiB
Text
--- frontend/gtkmm/CMakeLists.txt.orig 2017-02-03 07:40:10 UTC
|
|
+++ frontend/gtkmm/CMakeLists.txt
|
|
@@ -116,11 +116,11 @@ install(FILES ${PROJECT_SOURCE_DIR}/.
|
|
# there anyway.
|
|
# - gtk-update-icon-cache is broken and only works half of the time.
|
|
|
|
-if(APPLE)
|
|
+#if(APPLE)
|
|
set(ICON_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
|
-else()
|
|
- set(ICON_PREFIX "/usr")
|
|
-endif()
|
|
+#else()
|
|
+# set(ICON_PREFIX "/usr")
|
|
+#endif()
|
|
|
|
#set(ICON_THEME ${ICON_PREFIX}/share/icons/hicolor/index.theme)
|
|
#if(EXISTS "${ICON_THEME}")
|
|
@@ -134,6 +134,6 @@ install(FILES ${PROJECT_SOURCE_DIR}/.
|
|
install(FILES ${PROJECT_SOURCE_DIR}/../../images/256x256/cadabra2-gtk.png DESTINATION ${ICON_PREFIX}/share/icons/hicolor/256x256/apps)
|
|
install(FILES ${PROJECT_SOURCE_DIR}/../../images/cadabra2-gtk.svg DESTINATION ${ICON_PREFIX}/share/icons/hicolor/scalable/apps)
|
|
install(FILES ${PROJECT_SOURCE_DIR}/../../config/cadabra2-gtk.desktop DESTINATION ${ICON_PREFIX}/share/applications)
|
|
-install(CODE "execute_process(COMMAND touch ${ICON_PREFIX}/share/icons/hicolor/icon-theme.cache)")
|
|
-install(CODE "execute_process(COMMAND gtk-update-icon-cache-3.0 ${ICON_PREFIX}/share/icons/hicolor)")
|
|
-install(CODE "execute_process(COMMAND chmod go+r ${ICON_PREFIX}/share/icons/hicolor/icon-theme.cache)")
|
|
+#install(CODE "execute_process(COMMAND touch ${ICON_PREFIX}/share/icons/hicolor/icon-theme.cache)")
|
|
+#install(CODE "execute_process(COMMAND gtk-update-icon-cache-3.0 ${ICON_PREFIX}/share/icons/hicolor)")
|
|
+#install(CODE "execute_process(COMMAND chmod go+r ${ICON_PREFIX}/share/icons/hicolor/icon-theme.cache)")
|