--- /dev/null
+Index: WebKit/qt/Api/qwebkitglobal.h
+===================================================================
+--- WebKit/qt/Api/qwebkitglobal.h (revision 26079)
++++ WebKit/qt/Api/qwebkitglobal.h (working copy)
+@@ -25,15 +25,13 @@
+ #include <qglobal.h>
+
+ #if defined(Q_OS_WIN)
+-# if defined(BUILD_WEBKIT)
+-# define QWEBKIT_EXPORT Q_DECL_EXPORT
+-# else
+-# define QWEBKIT_EXPORT Q_DECL_IMPORT
+-# endif
++ #ifdef BUILD_WEBKIT
++ #define QWEBKIT_EXPORT __declspec(dllexport)
++ #else
++ #define QWEBKIT_EXPORT __declspec(dllimport)
++ #endif
++#else
++ #define QWEBKIT_EXPORT __attribute__((visibility("default")))
+ #endif
+
+-#if !defined(QWEBKIT_EXPORT)
+-#define QWEBKIT_EXPORT Q_DECL_EXPORT
+-#endif
+-
+ #endif // QWEBKITGLOBAL_H
DEPENDS = "curl icu libxml2 cairo libxslt libidn gnutls gtk+"
+
WEBKIT_PORT = "gtk-port"
WEBKIT_EXTRA_OPTIONS = "CONFIG-=qt"
-PACKAGES =+ "webkit-gtklauncher-dbg webkit-gtklauncher"
FILES_webkit-gtklauncher = "${bindir}/GtkLauncher"
FILES_webkit-gtklauncher-dbg = "${bindir}/.debug/GtkLauncher"
require webkit.inc
+PR = "r3"
+
do_install() {
install -d ${D}${bindir}
install -d ${D}${libdir}
WEBKIT_PORT = "qt"
WEBKIT_EXTRA_OPTIONS = ""
-PACKAGES =+ "${PN}launcher-dbg ${PN}launcher"
FILES_${PN}launcher = "${bindir}/QtLauncher"
FILES_${PN}launcher-dbg = "${bindir}/.debug/*"
+RDEPENDS += "openssl"
+
require webkit.inc
+SRC_URI += " file://qt-api-changes.diff;patch=0;pnum=0 "
+
do_install() {
install -d ${D}${bindir}
install -d ${D}${libdir}
cd ${S}/WebKitBuilds/Debug
PWD=`pwd` ${WEBKIT_QMAKE} WEBKIT_INC_DIR=${D}${prefix}/include WEBKIT_LIB_DIR=${D}${libdir} $PWD/../../WebKit.pro
oe_runmake install
+
+ oe_libinstall -C ${S}/WebKitBuilds/Debug/lib libQtWebKit ${D}${libdir}
}
+# disabled as Qt and Qtopia will not like each other...
+#do_stage_prepend() {
+# oe_libinstall -C ${S}/WebKitBuilds/Debug/lib libQtWebKit ${D}${libdir}
+#}
+
require webkit-qt.inc
inherit qt4x11
-PR = "r1"
+PR = "r5"
require webkit-qt.inc
inherit qtopia4core
-PR = "r1"
+WEBKIT_EXTRA_OPTIONS += "QT+=xml QT+=network"
+
+PR = "r5"
DEPENDS += "flex-native gperf-native perl-native sqlite3"
SRCREV_FORMAT = "webcore-rwebkit"
+PACKAGES =+ "${PN}launcher-dbg ${PN}launcher"
+
# Yes, this is wrong...
PV = "0.1+svnr${SRCREV}"
-PR = "r1"
inherit qmake2 pkgconfig
oe_runmake install
}
+python populate_packages_prepend() {
+ print "foooo"
+ print bb.data.getVar("DEBIAN_NAMES", d, True)
+ if bb.data.getVar("DEBIAN_NAMES", d, True):
+ base = bb.data.expand("${PN}launcher", d, True)
+ bb.data.setVar("PKG_%s" % base, base, d)
+ bb.data.setVar("PKG_%s-dbg" % base, "%s-dbg" % base, d)
+}