You are not logged in.
Has anyone successfully compiled this?
Last edited by Demon (2013-01-09 10:16:34)
Offline
Yes, I just compiled a qtwebkit-2.3 git snapshot. You need to:
export QTDIR=/usr/lib/qt
install gperf & ruby
somehow trick the system into thinking that 'python' is python2: an alias doesn't work, make a symlink called 'python' pointing to python2 in some dir and put it at the beginning of your PATH
and then run Tools/Scripts/build-webkit --qt
If it fails at some point, just run it again, it will continue from where it stopped. I had to do that 2 or 3 times until it finished compiling.
Last edited by arojas (2013-01-09 10:04:53)
Offline
HIi, thanks for your reply. I forgot about this topic, I should have set this as solved. I did something simillar, here's my pkgbuild for future reference:
# $Id$
# Contributor: Mladen Pejaković <pejakm@gmail.com>
pkgname=qtwebkit
pkgver=2.3
pkgrel=1
arch=('i686' 'x86_64')
url='http://gitorious.org/+qtwebkit-developers/webkit/qtwebkit-23'
pkgdesc='An open source web browser engine (Qt port)'
license=('LGPL2.1' 'GPL3')
depends=('qt' 'gstreamer0.10-base' 'qtmobility')
makedepends=('python2' 'mesa' 'gperf' 'chrpath' 'ruby')
conflicts=('qt<4.8')
source=("http://gitorious.org/webkit/${pkgname}-23/archive-tarball/${pkgname}-${pkgver}")
sha1sums=('38135b6a9157e00c941be6c4957e51a38d1da944')
build() {
cd "${srcdir}"/webkit-${pkgname}-23
cd Tools/Scripts/
QTDIR=/usr/share/qt ./build-webkit --prefix=/usr --qt --no-webkit2
# flags not enabled by default (unsafe, possible build fail):
# --accelerated-2d-canvas \
# --animation-api \
# --battery-status \
# --csp-next \
# --css3-background \
# --css3-conditional-rules \
# --css3-text \
# --css-grid-layout \
# --css-hierarchies \
# --css-image-orientation \
# --css-image-resolution \
# --css-shaders \
# --css-variables \
# --dashboard-support \
# --datagrid \
# --data-transfer-items \
# --directory-upload \
# --download-attribute \
# --file-system \
# --fullscreen-api \
# --high-dpi-canvas \
# --indexed-database \
# --input-speech \
# --input-type-date \
# --input-type-datetime \
# --input-type-datetimelocal \
# --input-type-month \
# --input-type-time \
# --input-type-week \
# --legacy-css-vendor-prefixes \
# --link-prefetch \
# --link-prerender \
# --mathml \
# --media-source \
# --media-statistics \
# --media-stream \
# --microdata \
# --navigator-content-utils \
# --network-info \
# --proximity-events \
# --quota \
# --scripted-speech \
# --shadow-dom \
# --style-scoped \
# --svg-dom-objc-bindings \
# --svg-fonts \
# --text-autosizing \
# --text-notifications-only \
# --touch-icon-loading \
# --vibration \
# --video-track \
# --web-audio \
}
package() {
cd "${srcdir}"/webkit-${pkgname}-23
make INSTALL_ROOT="${pkgdir}" -C WebKitBuild/Release install
}
Still need to tweak this so I don't have to symlink python2 to python.
I'm trying now with additional build flags (--accelerated-2d-canvas --css-shaders --download-attribute --directory-upload --fullscreen-api), with default flags I don't have webgl and css shader (although this blog post here says these should be working).
Offline
arojas, does webgl working for you with qtwebkit 2.3?
Last edited by Demon (2013-01-09 11:50:25)
Offline
No, webgl doesn't work, even when compiling with the --3d-rendering flag
Offline
I'm pushing qtwebkit 2.3git to [testing] right now. It should have webgl support (you need the whole gstreamer0.10-plugins group installed), please check it and let me know.
Offline
webgl still doesn't work here with qtwebkit from [testing]. Works in firefox and chromium, so it is definitely supported for my graphics card
Offline
webgl still doesn't work here with qtwebkit from [testing].
Demon told me the same.
Long catch: did you reboot/logout?
EDIT: how are you testing it?
I can listen/see videos on youtube, and I've no flashplugin installed.
Offline
EDIT: how are you testing it?
I can listen/see videos on youtube, and I've no flashplugin installed.
I think you're confusing webGL with HTML5 video.
HTML5 video also works fine here (it worked with qtwebkit 2.2 too). To test webGL go to http://get.webgl.org/. If it works, you'll see a cube rotating.
Offline
I'm getting this:
Hmm. While your browser seems to support WebGL, it is disabled or unavailable. If possible, please ensure that you are running the latest drivers for your video card.
which leds me to think I'm missing something very simple...
Offline
I think you're confusing webGL with HTML5 video.
Auch!
To test webGL go to http://get.webgl.org/. If it works, you'll see a cube rotating.
Ok, I don't have it neither...
Offline
This is my webgl test site:
http://oos.moxiecode.com/js_webgl/snake/
I've been getting sound with all qtwebkit builds I've tried the last 3 months, no video, tried staging git, stable git, nightly tars from a few different weeks, set --enable all video options (or non), and compiled with all gstreamer-plugin packages, no luck. Last qtwebkit with working webgl was 2.2.1.
Any suggestions welcome, there has to be a way to get this working again.
Same issue for Qt5 builds, webgl should just be part of it......
http://gitorious.org/chakra-packages/pl … 5/PKGBUILD
Last edited by abveritas (2013-01-10 02:10:24)
Offline
Is Qt 4.8.4 in extra compiled with openGL? It appears that qtwebkit requires Qt to be configured with OpenGL for webgl to work.
Offline
Btw, ascarpino, there's a new commit in qtwebkit-2.3 branch:
http://gitorious.org/webkit/qtwebkit-23 … 86a17be595
It's about those css shaders we spoked last night. Allan Sandfeld (carewolf) fixed it.
Offline
Is Qt 4.8.4 in extra compiled with openGL? It appears that qtwebkit requires Qt to be configured with OpenGL for webgl to work.
Yes, it should have opengl support.
Btw, ascarpino, there's a new commit in qtwebkit-2.3 branch:
http://gitorious.org/webkit/qtwebkit-23 … 86a17be595
It's about those css shaders we spoked last night. Allan Sandfeld (carewolf) fixed it.
Ok, I'll rebuilt this later (say in the next 10 hours). If I don't, please file a bug report so I don't forget about it.
Offline
Ok, I'll rebuilt this later (say in the next 10 hours). If I don't, please file a bug report so I don't forget about it.
I apologize, I see now this is in qtwebkit-2.3-staging, so there's no need to recompile yet. Once again, sorry for this oversight.
Offline
3 commits today by carewolf to work on fixing webgl in wk1:
http://gitorious.org/+qtwebkit-develope … c78964afbf
http://gitorious.org/+qtwebkit-develope … 4086fb37b6
http://gitorious.org/+qtwebkit-develope … a31687dbe8
Offline
abveritas, can you test, please?
Offline
Build qtwebkit 2.3 from the staging branch, still no working webgl, though at compile time, all is now set to enable (webgl_enable=1), plus the css_filters=1
Offline
Three new commits in 2.3 staging, WebGl is working again:
https://gitorious.org/+qtwebkit-develop … 5a09e035dc
https://gitorious.org/+qtwebkit-develop … 0ea00ff106
https://gitorious.org/+qtwebkit-develop … 7d43d0f594
Offline