packages: awesome/normalize-icon-path-names.patch (NEW) - initial - taken f...

uzsolt uzsolt at pld-linux.org
Tue Mar 1 12:27:39 CET 2011


Author: uzsolt                       Date: Tue Mar  1 11:27:39 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial
- taken from Arch

---- Files affected:
packages/awesome:
   normalize-icon-path-names.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/awesome/normalize-icon-path-names.patch
diff -u /dev/null packages/awesome/normalize-icon-path-names.patch:1.1
--- /dev/null	Tue Mar  1 12:27:39 2011
+++ packages/awesome/normalize-icon-path-names.patch	Tue Mar  1 12:27:34 2011
@@ -0,0 +1,28 @@
+---
+ CMakeLists.txt |    3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 64be9b9..472bec2 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -244,14 +244,15 @@ endif()
+ 
+ # {{{ Theme icons
+ file(GLOB icon_sources RELATIVE ${SOURCE_DIR} ${SOURCE_DIR}/themes/*/titlebar/*.png)
+-set(ALL_ICONS ${icon_sources})
+ 
+ foreach(icon ${icon_sources})
+     # Copy all icons to the build dir to simplify the following code.
+     # Source paths are interpreted relative to ${SOURCE_DIR}, target paths
+     # relative to ${BUILD_DIR}.
+     get_filename_component(icon_path ${icon} PATH)
++    get_filename_component(icon_name ${icon} NAME)
+     file(COPY ${icon} DESTINATION ${icon_path})
++    set(ALL_ICONS ${ALL_ICONS} "${icon_path}/${icon_name}")
+ endforeach()
+ 
+ macro(a_icon_convert match replacement input)
+-- 
+1.7.3.4
+
================================================================


More information about the pld-cvs-commit mailing list