<?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>8643</bug_id>
          
          <creation_ts>2015-11-04 14:53:33 +0000</creation_ts>
          <short_desc>GTK+3 depends on libepoxy which depends on egl</short_desc>
          <delta_ts>2016-09-09 08:35:20 +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>2.1</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>2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Kukkonen">jku</reporter>
          <assigned_to name="Jussi Kukkonen">jku</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56193</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-11-04 14:53:33 +0000</bug_when>
    <thetext>GTK+3 applications can run without OpenGL, but building libepoxy requires egl.

Should look at how to remove this dependency: I guess options include 
A) patching GTK even more and 
B) making epoxy build not rely on egl

I think the latter _might_ just require including some generated epoxy-egl headers in the source ... but should consult Anholt on that: I&apos;m guessing there&apos;s a reason he doesn&apos;t ship them.

This fork has at least some of that work done already: https://github.com/yaronct/libepoxy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56234</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-11-05 15:56:48 +0000</bug_when>
    <thetext>Reassigning to Jussi.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60797</commentid>
    <comment_count>2</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-04-05 12:12:46 +0000</bug_when>
    <thetext>Moving to 2.2, did not get to this in time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65978</commentid>
    <comment_count>3</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-09-09 08:35:20 +0000</bug_when>
    <thetext>Oh, forgot to close this. Back in June I picked option A: patch GTK+ to not depend on libepoxy.

The patch is ugly, modifies the API and is probably hard to maintain. It will only take us through the next stable release (3.22) as the one after that (4.0) will use GSK and depend on opengl heavily. Luckily 4.0 is only expected to appear in 2018.


commit 4799e1e89fd9b0f8b606e3c502fe89f32d45fe76
commit 4799e1e89fd9b0f8b606e3c502fe89f32d45fe76
Author: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
Date:   Fri Jun 17 10:51:28 2016 +0300

    gtk+3: Add patch for --disable-opengl
    
    Patch is a bit nasty and not maintainer friendly, but it does
    make Gtk+3 compile without libepoxy (which means without OpenGL
    dev files).
    
    (From OE-Core rev: 82bedec89a86902456e924a3ac2f233b6a069dea)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>