<?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>2809</bug_id>
          
          <creation_ts>2012-07-20 17:31:52 +0000</creation_ts>
          <short_desc>qt4.inc defines packages for fonts that are only useful for qt4-embedded</short_desc>
          <delta_ts>2012-08-31 12:09:00 +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>1.2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marc Ferland">marc.ferland</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</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>23342</commentid>
    <comment_count>0</comment_count>
    <who name="Marc Ferland">marc.ferland</who>
    <bug_when>2012-07-20 17:31:52 +0000</bug_when>
    <thetext>Hi,

The qt4.inc file defines some packages like ${QT_BASE_NAME}-fonts, ${QT_BASE_NAME}-fonts-ttf-vera, etc. These are only installed when doing an &quot;embedded&quot; type build. This means they are always empty for qt4-x11 builds.

I noticed this when trying to add qt4-fonts-ttf-vera to my own task-qt4.bb. The task failed with a missing dependency.

| Processing locale-base-en-us...
| Processing locale-base-en-gb...
| Processing task-core-boot...
| Processing task-core-apps-console...
| Processing pollpower...
| Processing task-core-ssh-dropbear...
| Processing ntpclient...
| Processing zypper...
| Processing task-core-tools-testapps...
| Processing task-core-x11-base...
| Processing task-core-apps-x11-core...
| Processing task-qt4-base...
| Processing task-base-extended...
| Processing rpm...
| Processing project3...
| error: Failed dependencies:
|       qt4-fonts-ttf-dejavu is needed by task-qt4-base-1.0-r2.all
|       qt4-fonts-ttf-vera is needed by task-qt4-base-1.0-r2.all

I also asked the qt-interest mailing list and they confirmed that these packages were only useful on embedded builds (http://lists.qt-project.org/pipermail/interest/2012-July/003062.html).

I think these packages should only be defined in qt4-embedded.inc instead of qt4.inc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23620</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-07-30 23:33:12 +0000</bug_when>
    <thetext>Patch sent for review:

http://patchwork.openembedded.org/patch/33325/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23655</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-07-31 13:58:25 +0000</bug_when>
    <thetext>Fix merged in revision 07c93ba0ce2edbdd5766ece2c0e0f6099a7a5884.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24700</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2012-08-31 12:09:00 +0000</bug_when>
    <thetext>Verified on 07c93ba0ce2edbdd5766ece2c0e0f6099a7a5884. The fonts packages are removed from qt4.inc and added to qt4-embeddd.inc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>