Skip to contentSkip to conversation

qtwebkit: accept gstreamer 0.10 as an option

PATCH In review Andreas Oberritter 3 participants 5 messages Feb 26, 2014 – Feb 28, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtwebkit: accept gstreamer 0.10 as an option

There's no configuration knob, though. QtWebKit will prefer gstreamer 1.0 if available.

---
 recipes-qt/qt5/qtwebkit.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
recipes-qt/qt5/qtwebkit.inc +5 -1
index aea9dad..5e96f39 100644
@@ -5,7 +5,11 @@ LIC_FILES_CHKSUM = "file://Source/WebCore/rendering/RenderApplet.h;endline=22;md
                     file://Source/WebKit/gtk/webkit/webkit.h;endline=21;md5=b4fbe9f4a944f1d071dba1d2c76b3351 \
                     file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee"
 
-DEPENDS += "qtdeclarative qtlocation qtsensors ${ICU} ruby-native sqlite3 glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base libxslt"
+DEPENDS += "qtdeclarative qtlocation qtsensors ${ICU} ruby-native sqlite3 glib-2.0 libxslt"
+
+PACKAGECONFIG ??= "gstreamer10"
+PACKAGECONFIG[gstreamer010] = ",,gstreamer gst-plugins-base"
+PACKAGECONFIG[gstreamer10] = ",,gstreamer1.0 gstreamer1.0-plugins-base"
 
 # qtwebkit gets terribly big when linking with all debug info, disable by default
 QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0"
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 2 lines · Andreas Oberritter

There's no configuration knob, though. QtWebKit will prefer gstreamer 1.0 if available.

Can you please add configuration knob first?

The problem is that without the knob it will be undeterministic, with gstreamer010 in PACKAGECONFIG you can run 2nd build with gstreamer10 already staged for some other component and the resulting qtwebkit will be different than in 1st build.

Quoted 29 lines
---
 recipes-qt/qt5/qtwebkit.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
recipes-qt/qt5/qtwebkit.inc +5 -1
index aea9dad..5e96f39 100644
@@ -5,7 +5,11 @@ LIC_FILES_CHKSUM = "file://Source/WebCore/rendering/RenderApplet.h;endline=22;md
                     file://Source/WebKit/gtk/webkit/webkit.h;endline=21;md5=b4fbe9f4a944f1d071dba1d2c76b3351 \
                     file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee"
 
-DEPENDS += "qtdeclarative qtlocation qtsensors ${ICU} ruby-native sqlite3 glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base libxslt"
+DEPENDS += "qtdeclarative qtlocation qtsensors ${ICU} ruby-native sqlite3 glib-2.0 libxslt"
+
+PACKAGECONFIG ??= "gstreamer10"
+PACKAGECONFIG[gstreamer010] = ",,gstreamer gst-plugins-base"
+PACKAGECONFIG[gstreamer10] = ",,gstreamer1.0 gstreamer1.0-plugins-base"
 
 # qtwebkit gets terribly big when linking with all debug info, disable by default
 QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0"
Signature · 6 lines
1.8.3.2

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

There's no configuration knob, though. QtWebKit will prefer gstreamer 1.0 if available.

Can you please add configuration knob first?

The problem is that without the knob it will be undeterministic, with gstreamer010 in PACKAGECONFIG you can run 2nd build with gstreamer10 already staged for some other component and the resulting qtwebkit will be different than in 1st build.

I'll see what I can do. I'm not a big fan of (Qt)WebKit's build system, so this might take a while.

FWIW, I noticed that qtlocation and qtsensors are optional build dependencies which need packageconfigs, too.

Regards,
Andreas

Quoted 37 lines
Quoted 29 lines
---
 recipes-qt/qt5/qtwebkit.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
recipes-qt/qt5/qtwebkit.inc +5 -1
index aea9dad..5e96f39 100644
@@ -5,7 +5,11 @@ LIC_FILES_CHKSUM = "file://Source/WebCore/rendering/RenderApplet.h;endline=22;md
                     file://Source/WebKit/gtk/webkit/webkit.h;endline=21;md5=b4fbe9f4a944f1d071dba1d2c76b3351 \
                     file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee"
 
-DEPENDS += "qtdeclarative qtlocation qtsensors ${ICU} ruby-native sqlite3 glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base libxslt"
+DEPENDS += "qtdeclarative qtlocation qtsensors ${ICU} ruby-native sqlite3 glib-2.0 libxslt"
+
+PACKAGECONFIG ??= "gstreamer10"
+PACKAGECONFIG[gstreamer010] = ",,gstreamer gst-plugins-base"
+PACKAGECONFIG[gstreamer10] = ",,gstreamer1.0 gstreamer1.0-plugins-base"
 
 # qtwebkit gets terribly big when linking with all debug info, disable by default
 QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0"
Signature · 6 lines
1.8.3.2

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

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

#3 lore raw
Quoted 7 lines · Andreas Oberritter
Quoted 6 lines · Martin Jansa
Quoted 2 lines · Andreas Oberritter

There's no configuration knob, though. QtWebKit will prefer gstreamer 1.0 if available.

Can you please add configuration knob first?

Quoted 7 lines
Quoted 4 lines

The problem is that without the knob it will be undeterministic, with gstreamer010 in PACKAGECONFIG you can run 2nd build with gstreamer10 already staged for some other component and the resulting qtwebkit will be different than in 1st build.

I'll see what I can do. I'm not a big fan of (Qt)WebKit's build system, so this might take a while.

You can use the same hack as I've used in qtmultimedia, it's not nice, but works.

Quoted 2 lines

FWIW, I noticed that qtlocation and qtsensors are optional build dependencies which need packageconfigs, too.

True, we're even disabling qtlocation in some our builds (because of qt3d dependency), so having PACKAGECONFIG would be very appreciated.

Quoted 42 lines
Quoted 25 lines
Quoted 25 lines
---
 recipes-qt/qt5/qtwebkit.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
recipes-qt/qt5/qtwebkit.inc +5 -1
index aea9dad..5e96f39 100644
@@ -5,7 +5,11 @@ LIC_FILES_CHKSUM = "file://Source/WebCore/rendering/RenderApplet.h;endline=22;md
                     file://Source/WebKit/gtk/webkit/webkit.h;endline=21;md5=b4fbe9f4a944f1d071dba1d2c76b3351 \
                     file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee"
 
-DEPENDS += "qtdeclarative qtlocation qtsensors ${ICU} ruby-native sqlite3 glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base libxslt"
+DEPENDS += "qtdeclarative qtlocation qtsensors ${ICU} ruby-native sqlite3 glib-2.0 libxslt"
+
+PACKAGECONFIG ??= "gstreamer10"
+PACKAGECONFIG[gstreamer010] = ",,gstreamer gst-plugins-base"
+PACKAGECONFIG[gstreamer10] = ",,gstreamer1.0 gstreamer1.0-plugins-base"
 
 # qtwebkit gets terribly big when linking with all debug info, disable by default
 QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0"
Signature · 1 line
1.8.3.2
Quoted 12 lines
Quoted 4 lines

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

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

_______________________________________________
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
Quoted 16 lines · Martin Jansa
Quoted 7 lines · Andreas Oberritter
Quoted 6 lines · Martin Jansa
Quoted 2 lines · Andreas Oberritter

There's no configuration knob, though. QtWebKit will prefer gstreamer 1.0 if available.

Can you please add configuration knob first?

Quoted 7 lines
Quoted 4 lines

The problem is that without the knob it will be undeterministic, with gstreamer010 in PACKAGECONFIG you can run 2nd build with gstreamer10 already staged for some other component and the resulting qtwebkit will be different than in 1st build.

I'll see what I can do. I'm not a big fan of (Qt)WebKit's build system, so this might take a while.

Quoted 8 lines

You can use the same hack as I've used in qtmultimedia, it's not nice, but works.

Quoted 2 lines

FWIW, I noticed that qtlocation and qtsensors are optional build dependencies which need packageconfigs, too.

True, we're even disabling qtlocation in some our builds (because of qt3d dependency), so having PACKAGECONFIG would be very appreciated.

+1 on this one!

Quoted 52 lines
Quoted 42 lines
Quoted 25 lines
Quoted 25 lines
---
 recipes-qt/qt5/qtwebkit.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
recipes-qt/qt5/qtwebkit.inc +5 -1
index aea9dad..5e96f39 100644
@@ -5,7 +5,11 @@ LIC_FILES_CHKSUM = "file://Source/WebCore/rendering/RenderApplet.h;endline=22;md
                     file://Source/WebKit/gtk/webkit/webkit.h;endline=21;md5=b4fbe9f4a944f1d071dba1d2c76b3351 \
                     file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee"
 
-DEPENDS += "qtdeclarative qtlocation qtsensors ${ICU} ruby-native sqlite3 glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base libxslt"
+DEPENDS += "qtdeclarative qtlocation qtsensors ${ICU} ruby-native sqlite3 glib-2.0 libxslt"
+
+PACKAGECONFIG ??= "gstreamer10"
+PACKAGECONFIG[gstreamer010] = ",,gstreamer gst-plugins-base"
+PACKAGECONFIG[gstreamer10] = ",,gstreamer1.0 gstreamer1.0-plugins-base"
 
 # qtwebkit gets terribly big when linking with all debug info, disable by default
 QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0"
Signature · 1 line
1.8.3.2
Quoted 12 lines
Quoted 4 lines

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

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

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

Signature · 8 lines
Martin 'JaMa' Jansa     jabber: [email protected]



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