<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4576</bug_id>
          
          <creation_ts>2013-05-30 12:37:40 +0000</creation_ts>
          <short_desc>libx11: Xcms should be enabled by default</short_desc>
          <delta_ts>2013-06-28 10:00:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Liu">net147</reporter>
          <assigned_to name="Jonathan Liu">net147</assigned_to>
          <cc>dvhart</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>33391</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2013-05-30 12:37:40 +0000</bug_when>
    <thetext>The following do not work if Xcms is not enabled in libx11:
- starting xterm and doing ls --color / fails to color code the directories:
  xterm: Cannot allocate color &quot;rgb:5c/5c/ff&quot;
- xsetroot -solid rgb:5c/5c/ff fails with the following error:
  xsetroot:  unknown color &quot;rgb:5c/5c/ff&quot;
- xsetroot -solid rgbi:1.0/1.0/1.0 fails with the following error:
  xsetroot:  unknown color &quot;rgbi:1.0/1.0/1.0&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33392</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2013-05-30 12:49:52 +0000</bug_when>
    <thetext>In particular, it seems these applications fail because they pass Xcms color names to XParseColor [1]. These would be color names of the form:
rgb:&lt;red&gt;/&lt;green&gt;/&lt;blue&gt;
rgbi:&lt;red&gt;/&lt;green&gt;/&lt;blue&gt;
CIEXYZ:&lt;X&gt;/&lt;Y&gt;/&lt;Z&gt; 
CIEuvY:&lt;u&gt;/&lt;v&gt;/&lt;Y&gt; 
CIExyY:&lt;x&gt;/&lt;y&gt;/&lt;Y&gt; 
CIELab:&lt;L&gt;/&lt;a&gt;/&lt;b&gt; 
CIELuv:&lt;L&gt;/&lt;u&gt;/&lt;v&gt; 
TekHVC:&lt;H&gt;/&lt;V&gt;/&lt;C&gt;

[1] http://www.x.org/releases/X11R7.6/doc/man/man3/XLookupColor.3.xhtml</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34212</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2013-06-28 10:00:54 +0000</bug_when>
    <thetext>Fixed by http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9106cfb2f4927a96ab749f97ed268940d75c9bf8</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>