[MacPorts] #28946: awesome build fails in generated_icons.dir

MacPorts noreply at macports.org
Tue May 3 17:33:43 PDT 2011


#28946: awesome build fails in generated_icons.dir
---------------------------------------+------------------------------------
 Reporter:  chris@…                    |       Owner:  milosh@…           
     Type:  defect                     |      Status:  new                
 Priority:  Normal                     |   Milestone:                     
Component:  ports                      |     Version:  1.9.2              
 Keywords:  generated_icons.dir icons  |        Port:  awesome            
---------------------------------------+------------------------------------

Comment(by duncan.rumbold@…):

 This can be worked around by adding this to patch-CMakeLists.txt.diff
 (found this by googling the problem...Can't remember whether I found this
 on a gentoo forum or on the Awesome bugs comments): (The problem should of
 course by solved upstream but I think it might have been already)

 @@ -274,14 +274,15 @@

  # {{{ 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)

-- 
Ticket URL: <https://trac.macports.org/ticket/28946#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list