All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2] python3-pygobject: add PACKAGECONFIG for cairo - enabled by default
@ 2017-01-10 17:53 Andreas Müller
  2017-01-10 19:57 ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Müller @ 2017-01-10 17:53 UTC (permalink / raw)
  To: openembedded-core

Have onboard (onscreen-keyboard) in the pipe for meta-oe. For that working
properly we need python3-pygobject build with cairo support.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta/recipes-devtools/python/python3-pygobject_3.22.0.bb | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-pygobject_3.22.0.bb b/meta/recipes-devtools/python/python3-pygobject_3.22.0.bb
index 1c8dc20..5a89544 100644
--- a/meta/recipes-devtools/python/python3-pygobject_3.22.0.bb
+++ b/meta/recipes-devtools/python/python3-pygobject_3.22.0.bb
@@ -18,8 +18,14 @@ SRC_URI[sha256sum] = "08b29cfb08efc80f7a8630a2734dec65a99c1b59f1e5771c671d2e4ed8
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-BBCLASSEXTEND = "native"
 
-EXTRA_OECONF = "--disable-cairo"
+PACKAGECONFIG ??= "cairo"
+
+# python3-pycairo is checked on configuration -> DEPENDS
+# we don't link against python3-pycairo -> RDEPENDS
+PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo python3-pycairo, python3-pycairo"
 
 RDEPENDS_${PN} += "python3-setuptools python3-importlib"
+
+BBCLASSEXTEND = "native"
+PACKAGECONFIG_class-native = ""
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH V2] python3-pygobject: add PACKAGECONFIG for cairo - enabled by default
  2017-01-10 17:53 [PATCH V2] python3-pygobject: add PACKAGECONFIG for cairo - enabled by default Andreas Müller
@ 2017-01-10 19:57 ` Burton, Ross
  2017-01-10 21:09   ` Andreas Müller
  0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2017-01-10 19:57 UTC (permalink / raw)
  To: Andreas Müller; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 412 bytes --]

On 10 January 2017 at 17:53, Andreas Müller <schnitzeltony@googlemail.com>
wrote:

> Have onboard (onscreen-keyboard) in the pipe for meta-oe. For that working
> properly we need python3-pygobject build with cairo support.
>

Does v2 solve the problems that the autobuilder is seeing?

https://autobuilder.yoctoproject.org/main/builders/nightly-qa-pam/builds/1023/steps/BuildImages/logs/stdio

Ross

[-- Attachment #2: Type: text/html, Size: 1077 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH V2] python3-pygobject: add PACKAGECONFIG for cairo - enabled by default
  2017-01-10 19:57 ` Burton, Ross
@ 2017-01-10 21:09   ` Andreas Müller
  2017-01-10 23:30     ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Müller @ 2017-01-10 21:09 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On Tue, Jan 10, 2017 at 8:57 PM, Burton, Ross <ross.burton@intel.com> wrote:
>
> On 10 January 2017 at 17:53, Andreas Müller <schnitzeltony@googlemail.com>
> wrote:
>>
>> Have onboard (onscreen-keyboard) in the pipe for meta-oe. For that working
>> properly we need python3-pygobject build with cairo support.
>
>
> Does v2 solve the problems that the autobuilder is seeing?
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-qa-pam/builds/1023/steps/BuildImages/logs/stdio
>
Yes: we need python3-pycairo in DEPENDS and RDEPENDS. V1 had
python3-pycairo in RDEPENDS only.

Andreas


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH V2] python3-pygobject: add PACKAGECONFIG for cairo - enabled by default
  2017-01-10 21:09   ` Andreas Müller
@ 2017-01-10 23:30     ` Burton, Ross
  0 siblings, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2017-01-10 23:30 UTC (permalink / raw)
  To: Andreas Müller; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

On 10 January 2017 at 21:09, Andreas Müller <schnitzeltony@googlemail.com>
wrote:

> Yes: we need python3-pycairo in DEPENDS and RDEPENDS. V1 had
> python3-pycairo in RDEPENDS only.
>

Thanks Andreas,

Ross

[-- Attachment #2: Type: text/html, Size: 622 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-10 23:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-10 17:53 [PATCH V2] python3-pygobject: add PACKAGECONFIG for cairo - enabled by default Andreas Müller
2017-01-10 19:57 ` Burton, Ross
2017-01-10 21:09   ` Andreas Müller
2017-01-10 23:30     ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.