Bug 8611

Summary: gcr should be buildable without gtk
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jussi Kukkonen <jku>
Component: graphicsAssignee: Jussi Kukkonen <jku>
Status: VERIFIED FIXED QA Contact: Cristina Agurida <cristina-danielax.agurida>
Severity: normal    
Priority: Medium+ CC: bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher, richard.purdie, ross.burton
Version: 2.1   
Target Milestone: 2.0.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 8396    

Description Jussi Kukkonen 2015-10-29 12:20:10 UTC
Alexandru reports in bug 8396 that gcr depends on gtk and breaks a world build with
    DISTRO_FEATURES_remove = "x11"

gcr should work without gtk -- or if not, it should have the correct GTK3DISTROFEATURES added to the recipe.
Comment 1 Jussi Kukkonen 2015-10-29 13:39:27 UTC
I'll just add a 
    REQUIRED_DISTRO_FEATURES = "x11"

(adding a PACKAGECONFIG[x11] is quite a bit more work for something no-one has requested...)

I guess this is 2.1 (or 2.0.1) material?
Comment 2 Richard Purdie 2015-11-06 09:46:30 UTC
We can consider it for 2.0.1 depending on how invasive it is.
Comment 3 Ross Burton 2016-01-26 17:37:46 UTC
Fixed in oe-core dbdcd87144cc1cd6c5d50c800c7f266aaf25ca17 for master.  Trivial to backport to Jethro.
Comment 4 Jussi Kukkonen 2016-02-10 08:37:04 UTC
This actually got picked up to jethro already.


commit 26eb877e18ca35171641e96035f89fbacdbd1944
Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date:   Wed Nov 25 15:05:40 2015 +0200

    gcr: Require x11 DISTRO_FEATURE
    
    This enables a world build without x11. GTK3DISTROFEATURES is not
    enough because gtk+-x11.pc is still required.
    
    Fixes [YOCTO #8611].
    
    (From OE-Core rev: b1175339287395a7ad4fe4639a73f3a1dda74358)
    
    Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
    Signed-off-by: Ross Burton <ross.burton@intel.com>
    (cherry picked from commit dbdcd87144cc1cd6c5d50c800c7f266aaf25ca17)
    Signed-off-by: Saul Wold <sgw@linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Comment 5 Cristina Agurida 2016-02-15 08:54:58 UTC
Verified on jethro: 5b12268f6e17574999f91628a60e21711cf62ee4