summarylogtreecommitdiffstats
path: root/KDE1Macros.patch
diff options
context:
space:
mode:
Diffstat (limited to 'KDE1Macros.patch')
-rw-r--r--KDE1Macros.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/KDE1Macros.patch b/KDE1Macros.patch
new file mode 100644
index 000000000000..79c231177a5c
--- /dev/null
+++ b/KDE1Macros.patch
@@ -0,0 +1,33 @@
+80a81
+> endforeach()
+84c85,91
+< function (install_icon icon targetdir)
+---
+> function (install_icon_int icon targetdir absolutepath)
+> if(absolutepath)
+> set(targetpath ${targetdir})
+> else()
+> set(targetpath "${KDE1_ICONDIR}/${targetdir}")
+> endif()
+>
+86c93
+< install(FILES ${icon} DESTINATION ${KDE1_ICONDIR}/${targetdir} RENAME ${icon})
+---
+> install(FILES ${icon} DESTINATION ${targetpath} RENAME ${icon})
+89c96
+< install(FILES mini-${icon} DESTINATION ${KDE1_MINIDIR}/${targetdir} RENAME ${icon})
+---
+> install(FILES mini-${icon} DESTINATION ${targetpath} RENAME ${icon})
+92c99
+< install(FILES large-${icon} DESTINATION ${KDE1_ICONDIR}/${targetdir}/large/ RENAME ${icon})
+---
+> install(FILES large-${icon} DESTINATION ${targetpath}/large/ RENAME ${icon})
+94a102,109
+>
+> function (install_icon icon targetdir)
+> install_icon_int("${icon}" "${targetdir}" FALSE)
+> endfunction ()
+>
+> function (install_icon_abs icon targetdir)
+> install_icon_int("${icon}" "${targetdir}" TRUE)
+> endfunction()