Skip to contentSkip to conversation

qtbase: Add libxi to depends.

PATCH In review Søren Holm 3 participants 8 messages Mar 19, 2014 – Apr 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtbase: Add libxi to depends.

Not having so gives errors like this when configuring qtbase

XInput2 auto-detection... ()
compiling /home/teamcitybuildagent/work/33644ecacd0fdba5/build/tmp/work/i586-poky-linux/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/x11/xinput2/xinput2.cpp /home/teamcitybuildagent/work/33644ecacd0fdba5/build/tmp/work/i586-poky-linux/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/x11/xinput2/xinput2.cpp:43:36: fatal error: X11/extensions/XInput2.h: No such file or directory

                                   ^

compilation terminated.
make: *** [xinput2.o] Error 1
XInput2 disabled.
XInput2 support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to /home/teamcitybuildagent/work/33644ecacd0fdba5/build/tmp/work/i586-poky-linux/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/configure to see the final report. If you believe this message is in error you may use the continue
switch (-continue) to /home/teamcitybuildagent/work/33644ecacd0fdba5/build/tmp/work/i586-poky-linux/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/configure to continue.

---
 recipes-qt/qt5/qtbase.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/qtbase.inc +1 -1
index eb22e40..3888a0a 100644
@@ -24,7 +24,7 @@ SRC_URI += " \
     file://0024-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch \
 "
 
-DEPENDS += "qtbase-native"
+DEPENDS += "qtbase-native libxi"
 
 # for syncqt
 RDEPENDS_${PN}-tools += "perl"
Signature · 1 line
1.9.0
#1 lore raw

I'd like this to go into dora if possible.

Sorry for the double posts :)

Signature · 1 line
Søren Holm
#2 lore raw

Maybe do something this instead ? This is only necessary for X11 right ?

-DEPENDS += "qtbase-native"
+DEPENDS += " \
+ qtbase-native \
+ ${@base_contains('DISTRO_FEATURES', 'x11', 'libxi', '', d)} \
+"

/Jacob

Quoted 12 lines · Søren Holm

I'd like this to go into dora if possible.

Sorry for the double posts :)

--
Søren Holm
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 1 line
  -- Jacob
#3 lore raw
Quoted 9 lines · Jacob Kroon

Maybe do something this instead ? This is only necessary for X11 right ?

(quoted diff) +4 -1
-DEPENDS += "qtbase-native"
+DEPENDS += " \
+    qtbase-native \
+    ${@base_contains('DISTRO_FEATURES', 'x11', 'libxi', '', d)} \
+"

/Jacob

I think it belongs to
PACKAGECONFIG[xinput2] = "-xinput2,-no-xinput2,libxi"

Quoted 24 lines · Søren Holm
Quoted 13 lines

I'd like this to go into dora if possible.

Sorry for the double posts :)

--
Søren Holm
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 6 lines
  -- Jacob
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw

yes problably. I did not investigate the whole structure that thorough apparently.

Could that change get into dora?

Onsdag den 19. marts 2014 15:15:01 skrev Martin Jansa:

Quoted 14 lines · Jacob Kroon
Quoted 9 lines

Maybe do something this instead ? This is only necessary for X11 right ?

(quoted diff) +4 -1
-DEPENDS += "qtbase-native"
+DEPENDS += " \
+    qtbase-native \
+    ${@base_contains('DISTRO_FEATURES', 'x11', 'libxi', '', d)} \
+"

/Jacob

I think it belongs to
PACKAGECONFIG[xinput2] = "-xinput2,-no-xinput2,libxi"

Signature · 1 line
Søren Holm
#5 lore raw
Quoted 5 lines · Søren Holm

yes problably. I did not investigate the whole structure that thorough apparently.

Could that change get into dora?

Yes, but first it needs to go to master.

Quoted 17 lines

Onsdag den 19. marts 2014 15:15:01 skrev Martin Jansa:

Quoted 14 lines · Jacob Kroon
Quoted 9 lines

Maybe do something this instead ? This is only necessary for X11 right ?

(quoted diff) +4 -1
-DEPENDS += "qtbase-native"
+DEPENDS += " \
+    qtbase-native \
+    ${@base_contains('DISTRO_FEATURES', 'x11', 'libxi', '', d)} \
+"

/Jacob

I think it belongs to
PACKAGECONFIG[xinput2] = "-xinput2,-no-xinput2,libxi"

Signature · 1 line
Søren Holm
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#6 lore raw

Hi MArtin

This fix is not in master yet. Is it lost between two chairs ?

Onsdag den 19. marts 2014 18:40:24 skrev Martin Jansa:

Quoted 23 lines · Søren Holm
Quoted 4 lines

yes problably. I did not investigate the whole structure that thorough apparently.

Could that change get into dora?

Yes, but first it needs to go to master.

Quoted 15 lines

Onsdag den 19. marts 2014 15:15:01 skrev Martin Jansa:

Quoted 14 lines · Jacob Kroon
Quoted 10 lines

Maybe do something this instead ? This is only necessary for X11 right ?

(quoted diff) +4 -1
-DEPENDS += "qtbase-native"
+DEPENDS += " \
+    qtbase-native \
+    ${@base_contains('DISTRO_FEATURES', 'x11', 'libxi', '', d)} \
+"

/Jacob

I think it belongs to
PACKAGECONFIG[xinput2] = "-xinput2,-no-xinput2,libxi"

Signature · 1 line
Søren Holm
#7 lore raw

Hi Søren,

Quoted 9 lines · Søren Holm

Hi MArtin

This fix is not in master yet. Is it lost between two chairs ?

Onsdag den 19. marts 2014 18:40:24 skrev Martin Jansa:

Quoted 4 lines · Søren Holm
Quoted 3 lines

yes problably. I did not investigate the whole structure that thorough apparently.

Quoted 22 lines
Quoted 7 lines
Quoted 1 line

Could that change get into dora?

Yes, but first it needs to go to master.

Quoted 3 lines

Onsdag den 19. marts 2014 15:15:01 skrev Martin Jansa:

Quoted 2 lines · Jacob Kroon
Quoted 1 line

Maybe do something this instead ? This is only necessary for X11

right

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 9 lines

?

(quoted diff) +4 -1
-DEPENDS += "qtbase-native"
+DEPENDS += " \
+    qtbase-native \
+    ${@base_contains('DISTRO_FEATURES', 'x11', 'libxi', '', d)} \
+"

/Jacob

I think it belongs to
PACKAGECONFIG[xinput2] = "-xinput2,-no-xinput2,libxi"

Please test the solution that Martin proposed, and if everything looks good, submit a patch using the instructions found in meta-qt5/README and http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded.

/Jacob