glib-2.0: add 2.28.0, needed by newer libsoup
PATCH 1/4 glib-2.0: add 2.28.0, needed by newer libsoup
--- .../60_wait-longer-for-threads-to-die.patch | 26 ++++++ .../glib-2.0/glib-2.0-2.28.0/configure-ipv6.patch | 92 ++++++++++++++++++++ .../glib-2.0-2.28.0/configure-libtool.patch | 30 +++++++ .../glib-2.0-2.28.0/g_once_init_enter.patch | 11 +++ .../gatomic-proper-pointer-get-cast.patch | 12 +++ ...b2-fix-compilation-with-no-builtin-atomic.patch | 25 ++++++ recipes/glib-2.0/glib-2.0_2.28.0.bb | 76 ++++++++++++++++ 7 files changed, 272 insertions(+), 0 deletions(-) create mode 100644 recipes/glib-2.0/glib-2.0-2.28.0/60_wait-longer-for-threads-to-die.patch create mode 100644 recipes/glib-2.0/glib-2.0-2.28.0/configure-ipv6.patch create mode 100644 recipes/glib-2.0/glib-2.0-2.28.0/configure-libtool.patch create mode 100644 recipes/glib-2.0/glib-2.0-2.28.0/g_once_init_enter.patch create mode 100644 recipes/glib-2.0/glib-2.0-2.28.0/gatomic-proper-pointer-get-cast.patch create mode 100644 recipes/glib-2.0/glib-2.0-2.28.0/libglib2-fix-compilation-with-no-builtin-atomic.patch create mode 100644 recipes/glib-2.0/glib-2.0_2.28.0.bb
recipes/glib-2.0/glib-2.0-2.28.0/60_wait-longer-for-threads-to-die.patch new file +26 -0
@@ -0,0 +1,26 @@ +--- glib/tests/threadpool-test.c.old 2008-02-12 06:11:21.000000000 +0100 ++++ glib/tests/threadpool-test.c 2008-02-12 06:11:52.000000000 +0100 +@@ -5,8 +5,8 @@ + + #include <glib.h> + +-#define DEBUG_MSG(x) +-/* #define DEBUG_MSG(args) g_printerr args ; g_printerr ("\n"); */ ++/* #define DEBUG_MSG(x) */ ++#define DEBUG_MSG(args) g_printerr args ; g_printerr ("\n"); + + #define WAIT 5 /* seconds */ + #define MAX_THREADS 10 +@@ -124,10 +124,10 @@ + DEBUG_MSG (("[unused] stopping unused threads")); + g_thread_pool_stop_unused_threads (); + +- DEBUG_MSG (("[unused] waiting ONE second for threads to die")); ++ DEBUG_MSG (("[unused] waiting FIVE second for threads to die")); + + /* Some time for threads to die. */ +- g_usleep (G_USEC_PER_SEC); ++ g_usleep (5 * G_USEC_PER_SEC); + + DEBUG_MSG (("[unused] stopped idle threads, %d remain, %d threads still exist", + g_thread_pool_get_num_unused_threads (),
recipes/glib-2.0/glib-2.0-2.28.0/configure-ipv6.patch new file +92 -0
92 lines not on this page · raw message
recipes/glib-2.0/glib-2.0-2.28.0/configure-libtool.patch new file +30 -0
@@ -0,0 +1,30 @@ +diff -uNr glib-2.28.0.orig//configure.ac glib-2.28.0/configure.ac +--- glib-2.28.0.orig//configure.ac 2011-02-08 05:53:25.000000000 +0100 ++++ glib-2.28.0/configure.ac 2011-02-15 15:07:54.683976837 +0100 +@@ -1378,7 +1378,7 @@ + G_MODULE_LDFLAGS= + else + export SED +- G_MODULE_LDFLAGS=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` ++ G_MODULE_LDFLAGS=`($host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` + fi + dnl G_MODULE_IMPL= don't reset, so cmd-line can override + G_MODULE_NEED_USCORE=0 +@@ -1443,7 +1443,7 @@ + LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS" + dnl *** check for OSF1/5.0 RTLD_GLOBAL brokenness + echo "void glib_plugin_test(void) { }" > plugin.c +- ${SHELL} ./libtool --mode=compile ${CC} -shared \ ++ ${SHELL} $host_alias-libtool --mode=compile ${CC} -shared \ + -export-dynamic -o plugin.o plugin.c 2>&1 >/dev/null + AC_CACHE_CHECK([for RTLD_GLOBAL brokenness], + glib_cv_rtldglobal_broken,[ +@@ -1517,7 +1517,7 @@ + + AC_MSG_CHECKING(for the suffix of module shared libraries) + export SED +-shrext_cmds=`./libtool --config | grep '^shrext_cmds='` ++shrext_cmds=`$host_alias-libtool --config | grep '^shrext_cmds='` + eval $shrext_cmds + module=yes eval std_shrext=$shrext_cmds + # chop the initial dot
recipes/glib-2.0/glib-2.0-2.28.0/g_once_init_enter.patch new file +11 -0
@@ -0,0 +1,11 @@ +--- glib-2.22.1/glib/gthread.h.orig 2009-10-13 22:53:23.000000000 +0200 ++++ glib-2.22.1/glib/gthread.h 2009-10-13 23:34:59.000000000 +0200 +@@ -341,7 +341,7 @@ + G_INLINE_FUNC gboolean + g_once_init_enter (volatile gsize *value_location) + { +- if G_LIKELY ((gpointer) g_atomic_pointer_get (value_location) != NULL) ++ if G_LIKELY ((gpointer) g_atomic_pointer_get ((volatile gpointer *)value_location) != NULL) + return FALSE; + else + return g_once_init_enter_impl (value_location);
recipes/glib-2.0/glib-2.0-2.28.0/gatomic-proper-pointer-get-cast.patch new file +12 -0
@@ -0,0 +1,12 @@ +diff -uri glib-2.26.1.orig/glib/gatomic.h glib-2.26.1/glib/gatomic.h +--- glib-2.26.1.orig/glib/gatomic.h 2010-07-11 05:56:45.000000000 +0200 ++++ glib-2.26.1/glib/gatomic.h 2010-12-01 16:20:33.140009635 +0100 +@@ -70,7 +70,7 @@ + (g_atomic_int_set) ((volatile gint G_GNUC_MAY_ALIAS *) (volatile void *) (atomic), (newval))) + # define g_atomic_pointer_get(atomic) \ + ((void) sizeof (gchar [sizeof (*(atomic)) == sizeof (gpointer) ? 1 : -1]), \ +- (g_atomic_pointer_get) ((volatile gpointer G_GNUC_MAY_ALIAS *) (volatile void *) (atomic))) ++ (g_atomic_pointer_get) ((volatile gpointer G_GNUC_MAY_ALIAS *) (volatile void G_GNUC_MAY_ALIAS *) (atomic))) + # define g_atomic_pointer_set(atomic, newval) \ + ((void) sizeof (gchar [sizeof (*(atomic)) == sizeof (gpointer) ? 1 : -1]), \ + (g_atomic_pointer_set) ((volatile gpointer G_GNUC_MAY_ALIAS *) (volatile void *) (atomic), (newval)))
recipes/glib-2.0/glib-2.0-2.28.0/libglib2-fix-compilation-with-no-builtin-atomic.patch new file +25 -0
@@ -0,0 +1,25 @@ +From 58096320ea0888c4fbbff318839017a4d2e82703 Mon Sep 17 00:00:00 2001 +From: Lionel Landwerlin <[email protected]> +Date: Sat, 6 Nov 2010 14:56:15 +0100 +Subject: [PATCH] glib: fix compilation with no builtin atomic operations compilers + +Signed-off-by: Lionel Landwerlin <[email protected]> +--- + glib/gatomic.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/glib/gatomic.c b/glib/gatomic.c +index 845c866..01468ce 100644 +--- a/glib/gatomic.c ++++ b/glib/gatomic.c +@@ -881,6 +881,7 @@ g_atomic_pointer_compare_and_exchange (volatile gpointer G_GNUC_MAY_ALIAS *atomi + #endif /* DEFINE_WITH_WIN32_INTERLOCKED */ + + #ifdef DEFINE_WITH_MUTEXES ++# include "gthread.h" + /* We have to use the slow, but safe locking method */ + static GMutex *g_atomic_mutex; + +-- +1.7.2.3 +
recipes/glib-2.0/glib-2.0_2.28.0.bb new file +76 -0
76 lines not on this page · raw message
Signature · 1 line
1.7.4.1
PATCH 2/4 SHR: drop P_V for glib-2.0 (upgrades from 2.26.1 to 2.28.0)
--- conf/distro/include/preferred-shr-versions.inc | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
conf/distro/include/preferred-shr-versions.inc +0 -2
@@ -21,8 +21,6 @@ PREFERRED_VERSION_xserver-common = "1.33" PREFERRED_VERSION_xserver-nodm-init = "2.0" PREFERRED_VERSION_hal = "0.5.13" PREFERRED_VERSION_wpa-supplicant = "0.6.9" -PREFERRED_VERSION_glib-2.0 = "2.26.1" -PREFERRED_VERSION_glib-2.0-native = "2.26.1" PREFERRED_VERSION_openssl = "1.0.0c" PREFERRED_VERSION_openssl-native = "1.0.0c" PREFERRED_VERSION_perl = "5.10.1"
Signature · 1 line
1.7.4.1
Re: [PATCH 2/4] SHR: drop P_V for glib-2.0 (upgrades from 2.26.1 to 2.28.0)
Quoted 1 line · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>
Quoted 26 lines
---
conf/distro/include/preferred-shr-versions.inc | 2 --1 files changed, 0 insertions(+), 2 deletions(-)conf/distro/include/preferred-shr-versions.inc +0
-0@@ -21,8 +21,6 @@ PREFERRED_VERSION_xserver-common = "1.33"PREFERRED_VERSION_xserver-nodm-init = "2.0"
PREFERRED_VERSION_hal = "0.5.13"
PREFERRED_VERSION_wpa-supplicant = "0.6.9"conf/distro/include/preferred-shr-versions.inc +0
-2-PREFERRED_VERSION_glib-2.0 = "2.26.1" -PREFERRED_VERSION_glib-2.0-native = "2.26.1"PREFERRED_VERSION_openssl = "1.0.0c"
PREFERRED_VERSION_openssl-native = "1.0.0c"
PREFERRED_VERSION_perl = "5.10.1"
--
1.7.4.1_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
PATCH 3/4 libsoup-2.4: add 2.33.6 version needed for newer webkit-efl
In reply to Martin Jansa--- recipes/gnome/libsoup-2.4_2.33.6.bb | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) create mode 100644 recipes/gnome/libsoup-2.4_2.33.6.bb
recipes/gnome/libsoup-2.4_2.33.6.bb new file +18 -0
@@ -0,0 +1,18 @@ +DESCRIPTION = "An HTTP library implementation in C" +SECTION = "x11/gnome/libs" +LICENSE = "GPL" +DEPENDS = "libproxy glib-2.0 gnutls libxml2 sqlite3 gnome-keyring" + +inherit gnome + +SRC_URI = "${GNOME_MIRROR}/libsoup/${@gnome_verdir("${PV}")}/libsoup-${PV}.tar.bz2;name=libsoup" +SRC_URI[libsoup.md5sum] = "3a7219057d289dd7dcdd67681d27eebe" +SRC_URI[libsoup.sha256sum] = "988f7897fe125a77a5946b2fd6d47d7374fd94a1406e810482cfff6a52a6a923" + +S = "${WORKDIR}/libsoup-${PV}" + +PACKAGES =+ "libsoup-gnome" +FILES_libsoup-gnome = "${libdir}/libsoup-gnome*.so.*" +FILES_${PN} = "${libdir}/libsoup-2*.so.*" +FILES_${PN}-dev = "${includedir}/ ${libdir}/" +FILES_${PN}-doc = "${datadir}/"
Signature · 1 line
1.7.4.1
Re: [PATCH 3/4] libsoup-2.4: add 2.33.6 version needed for newer webkit-efl
Quoted 1 line · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>
Can you also fix license field while at it
Quoted 38 lines
---
recipes/gnome/libsoup-2.4_2.33.6.bb | 18 ++++++++++++++++++1 files changed, 18 insertions(+), 0 deletions(-)create mode 100644 recipes/gnome/libsoup-2.4_2.33.6.bb
recipes/gnome/libsoup-2.4_2.33.6.bb new file +18
-1@@ -0,0 +1,18 @@ +DESCRIPTION = "An HTTP library implementation in C" +SECTION = "x11/gnome/libs" +LICENSE = "GPL" +DEPENDS = "libproxy glib-2.0 gnutls libxml2 sqlite3 gnome-keyring" + +inherit gnome + +SRC_URI = "${GNOME_MIRROR}/libsoup/${@gnome_verdir("${PV}")}/libsoup-${PV}.tar.bz2;name=libsoup" +SRC_URI[libsoup.md5sum] = "3a7219057d289dd7dcdd67681d27eebe" +SRC_URI[libsoup.sha256sum] = "988f7897fe125a77a5946b2fd6d47d7374fd94a1406e810482cfff6a52a6a923" + +S = "${WORKDIR}/libsoup-${PV}" + +PACKAGES =+ "libsoup-gnome" +FILES_libsoup-gnome = "${libdir}/libsoup-gnome*.so.*" +FILES_${PN} = "${libdir}/libsoup-2*.so.*" +FILES_${PN}-dev = "${includedir}/ ${libdir}/" +FILES_${PN}-doc = "${datadir}/" --1.7.4.1
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
PATCH 4/4 webkit-efl: upgrade to 1.3.11, upstream has Source subdirectory now, which makes SRC_URI a lot shorter
In reply to Martin Jansa--- recipes/webkit/webkit-efl/CMakeLists.txt | 132 ------------------------- recipes/webkit/webkit-efl/bug.50752.patch | 37 ------- recipes/webkit/webkit-efl/cmakeconfig.h.cmake | 41 -------- recipes/webkit/webkit-efl/revert.r78057.patch | 19 ++++ recipes/webkit/webkit-efl_svn.bb | 33 ++----- 5 files changed, 26 insertions(+), 236 deletions(-) delete mode 100644 recipes/webkit/webkit-efl/CMakeLists.txt delete mode 100644 recipes/webkit/webkit-efl/bug.50752.patch delete mode 100644 recipes/webkit/webkit-efl/cmakeconfig.h.cmake create mode 100644 recipes/webkit/webkit-efl/revert.r78057.patch
recipes/webkit/webkit-efl/CMakeLists.txt deleted +0 -132
@@ -1,132 +0,0 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8) -PROJECT(WebKit) - -# Set a default build type if and only if user did not define one as command -# line options and he did not give custom CFLAGS or CXXFLAGS. Otherwise, flags -# from default build type would overwrite user-defined ones. -IF (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_C_FLAGS AND NOT CMAKE_CXX_FLAGS) - SET(CMAKE_BUILD_TYPE Release) -ENDIF () -SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") - -SET(JAVASCRIPTCORE_DIR "${CMAKE_SOURCE_DIR}/JavaScriptCore") -SET(WEBCORE_DIR "${CMAKE_SOURCE_DIR}/WebCore") -SET(WEBKIT_DIR "${CMAKE_SOURCE_DIR}/WebKit") -SET(WEBKITTOOLS_DIR "${CMAKE_SOURCE_DIR}/WebKitTools") -SET(DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources") - -INCLUDE(WebKitMacros) -INCLUDE(WebKitFS) -INCLUDE(WebKitHelpers) -INCLUDE(WebKitFeatures) - -# ----------------------------------------------------------------------------- -# Determine which port will be built -# ----------------------------------------------------------------------------- -SET(ALL_PORTS Efl) -OPTION(PORT "choose which WebKit port to build (one of ${ALL_PORTS})" "NOPORT") - -# ----------------------------------------------------------------------------- -# Find common packages (used by all ports) -# ----------------------------------------------------------------------------- -FIND_PACKAGE(BISON REQUIRED) -FIND_PACKAGE(FLEX REQUIRED) -FIND_PACKAGE(Gperf REQUIRED) -FIND_PACKAGE(Perl REQUIRED) -FIND_PACKAGE(PythonInterp REQUIRED) - -# ----------------------------------------------------------------------------- -# Determine the target processor -# ----------------------------------------------------------------------------- -STRING(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_SYSTEM_PROCESSOR) -IF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^arm") - SET(WTF_CPU_ARM 1) -ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64)") - SET(WTF_CPU_X86_64 1) -ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)") - SET(WTF_CPU_X86 1) -ELSE () - MESSAGE(FATAL_ERROR "Unknown CPU '${CMAKE_SYSTEM_PROCESSOR}'") -ENDIF () - -# ----------------------------------------------------------------------------- -# Determine the operating system -# ----------------------------------------------------------------------------- -IF (CMAKE_SYSTEM_NAME MATCHES "Linux") - SET(WTF_OS_UNIX 1) - - IF (APPLE) - SET(WTF_OS_MAC_OS_X 1) - ENDIF () -ELSEIF (CMAKE_SYSTEM_NAME MATCHES "Windows") - SET(WTF_OS_WINDOWS 1) -ELSE () - MESSAGE(FATAL_ERROR "Unknown OS '${CMAKE_SYSTEM_NAME}'") -ENDIF () - -# ----------------------------------------------------------------------------- -# Default target names (can be overrriden in Options${PORT}.cmake file) -# ----------------------------------------------------------------------------- -SET(JSC_EXECUTABLE_NAME JSC) -SET(WTF_LIBRARY_NAME WTF) -SET(JavaScriptCore_LIBRARY_NAME JavaScriptCore) -SET(WebCore_LIBRARY_NAME WebCore) -SET(WebKit_LIBRARY_NAME WebKit) - -# ----------------------------------------------------------------------------- -# Default library types -# ----------------------------------------------------------------------------- -OPTION(SHARED_CORE "build WTF, JavaScriptCore and WebCore as shared libraries") - -IF (SHARED_CORE) - SET(WTF_LIBRARY_TYPE SHARED) - SET(JavaScriptCore_LIBRARY_TYPE SHARED) - SET(WebCore_LIBRARY_TYPE SHARED) -ELSE () - SET(WTF_LIBRARY_TYPE STATIC) - SET(JavaScriptCore_LIBRARY_TYPE STATIC) - SET(WebCore_LIBRARY_TYPE STATIC) -ENDIF () - -SET(WebKit_LIBRARY_TYPE SHARED) - -# ----------------------------------------------------------------------------- -# Port-specific options -# ----------------------------------------------------------------------------- -INCLUDE(OptionsCommon) -INCLUDE(Options${PORT}) - -# ----------------------------------------------------------------------------- -# Define packaging -# ----------------------------------------------------------------------------- -INCLUDE(WebKitPackaging) - -# ----------------------------------------------------------------------------- -# Add module directories -# ----------------------------------------------------------------------------- -ADD_SUBDIRECTORY(JavaScriptCore) -ADD_SUBDIRECTORY(WebCore) -ADD_SUBDIRECTORY(WebKit) - -# ----------------------------------------------------------------------------- -# Add test browser if exists -# ----------------------------------------------------------------------------- -INCLUDE_IF_EXISTS(${WEBKITTOOLS_DIR}/CMakeLists${PORT}.txt) - -# ----------------------------------------------------------------------------- -# Set compiler flags for all targets -# ----------------------------------------------------------------------------- -WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WTF_LIBRARY_NAME}) -WEBKIT_SET_EXTRA_COMPILER_FLAGS(${JavaScriptCore_LIBRARY_NAME}) -WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WebCore_LIBRARY_NAME}) -WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WebKit_LIBRARY_NAME}) - -# ----------------------------------------------------------------------------- -# Create the configuration file -# ----------------------------------------------------------------------------- -CONFIGURE_FILE(cmakeconfig.h.cmake ${CMAKE_BINARY_DIR}/cmakeconfig.h @ONLY) - -# ----------------------------------------------------------------------------- -# Prints a summary of all enabled/disabled features -# ----------------------------------------------------------------------------- -WEBKIT_PRINT_FEATURES()
recipes/webkit/webkit-efl/bug.50752.patch deleted +0 -37
@@ -1,37 +0,0 @@ -https://bugs.webkit.org/show_bug.cgi?id=46258 - -diff --git a/WebKit/efl/ChangeLog b/WebKit/efl/ChangeLog -index cfb2f1189e4071cdca7027e81b6fda178ee32490..5ce726ec72fcb530fe0d96e77a4e8fc4b8a8c537 100644 ---- a/WebKit/efl/ChangeLog -+++ b/WebKit/efl/ChangeLog -@@ -1,3 +1,17 @@ -+2010-12-09 Alex Bredariol Grilo <[email protected]> -+ -+ Reviewed by NOBODY (OOPS!). -+ -+ [EFL] Fix scroll operation in WebKit-EFL -+ https://bugs.webkit.org/show_bug.cgi?id=50752 -+ -+ Add the _ewk_view_scroll_add call in WebKit-EFL scroll function. This -+ call was wrongly removed in previous commit and performs the scroll -+ operation on the page. -+ -+ * ewk/ewk_view.cpp: -+ (ewk_view_scroll): -+ - 2010-12-03 Alex Bredariol Grilo <[email protected]> - - Reviewed by Andreas Kling. -diff --git a/WebKit/efl/ewk/ewk_view.cpp b/WebKit/efl/ewk/ewk_view.cpp -index 5147b6d9b7ce518deb8e1b864fe773c1931db42e..d1731e74173b53decd18610657ea4eb97f903397 100644 ---- a/WebKit/efl/ewk/ewk_view.cpp -+++ b/WebKit/efl/ewk/ewk_view.cpp -@@ -4075,6 +4075,8 @@ void ewk_view_scroll(Evas_Object* o, Evas_Coord dx, Evas_Coord dy, Evas_Coord sx - EWK_VIEW_PRIV_GET_OR_RETURN(sd, priv); - EINA_SAFETY_ON_TRUE_RETURN(!dx && !dy); - -+ _ewk_view_scroll_add(priv, dx, dy, sx, sy, sw, sh, main_frame); -+ - _ewk_view_smart_changed(sd); - } -
recipes/webkit/webkit-efl/cmakeconfig.h.cmake deleted +0 -41
41 lines not on this page · raw message
recipes/webkit/webkit-efl/revert.r78057.patch new file +19 -0
@@ -0,0 +1,19 @@ +see https://bugs.webkit.org/show_bug.cgi?id=50762 +fixed by: +http://trac.webkit.org/changeset/78047/trunk/Source/WebCore/CMakeLists.txt +fix reverted by: +http://trac.webkit.org/changeset/78057/trunk/Source/WebCore/CMakeLists.txt + +so revert revert as we care about webkit-efl and don't care about WinCE + +Index: Source/WebCore/CMakeLists.txt +=================================================================== +--- Source/WebCore/CMakeLists.txt (revision 78042) ++++ Source/WebCore/CMakeLists.txt (revision 78047) +@@ -1157,6 +1157,4 @@ + + platform/Arena.cpp +- platform/ContextMenu.cpp +- platform/ContextMenuItem.cpp + platform/ContentType.cpp + platform/CrossThreadCopier.cpp
recipes/webkit/webkit-efl_svn.bb +7 -26
@@ -4,28 +4,18 @@ DEPENDS = "icu libxslt sqlite3 gperf-native bison-native flex-native jpeg \ libpng libxt fontconfig cairo freetype glib-2.0 libsoup-2.4 \ libxml2 pango eina ecore evas edje" -# newer revisions are blocked by -# https://bugs.webkit.org/show_bug.cgi?id=50762 -SRCREV = "73534" -PV = "1.3.4+svnr${SRCPV}" -PR = "r1" +SRCREV = "78547" +PV = "1.3.11+svnr${SRCPV}" -SRCREV_FORMAT = "webcore-rwebkit" +SRCREV_FORMAT = "source" SRC_URI = "\ - svn://svn.webkit.org/repository/webkit/trunk/;module=JavaScriptCore;proto=http;subdir=src \ - svn://svn.webkit.org/repository/webkit/trunk/;module=JavaScriptGlue;proto=http;subdir=src \ - svn://svn.webkit.org/repository/webkit/trunk/;module=WebCore;proto=http;name=webcore;subdir=src \ - svn://svn.webkit.org/repository/webkit/trunk/;module=WebKit;proto=http;name=webkit;subdir=src \ - svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitLibraries;proto=http;subdir=src \ - svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitTools;proto=http;subdir=src \ - svn://svn.webkit.org/repository/webkit/trunk/;module=cmake;proto=http;subdir=src \ - file://bug.50752.patch \ - file://cmakeconfig.h.cmake \ - file://CMakeLists.txt \ + svn://svn.webkit.org/repository/webkit/trunk;module=Source;name=source;proto=http;subdir=src \ + svn://svn.webkit.org/repository/webkit/trunk/;module=Tools;proto=http;subdir=src \ + file://revert.r78057.patch \ " -S = "${WORKDIR}/src" +S = "${WORKDIR}/src/Source" inherit cmake lib_package pkgconfig
@@ -39,15 +29,6 @@ ARM_INSTRUCTION_SET = "ARM" EXTRA_OECMAKE = "-DPORT=Efl -DSHARED_CORE=ON" -do_unpack_append() { - bb.build.exec_func('do_move_files', d) -} - -do_move_files() { - mv "${WORKDIR}/cmakeconfig.h.cmake" "${S}" - mv "${WORKDIR}/CMakeLists.txt" "${S}" -} - LEAD_SONAME = "libewebkit.so" PACKAGES =+ "${PN}launcher-dbg ${PN}launcher"
Signature · 1 line
1.7.4.1
Re: [PATCH 4/4] webkit-efl: upgrade to 1.3.11, upstream has Source subdirectory now, which makes SRC_URI a lot shorter
Quoted 1 line · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>
where will svn recipe get PR from
Quoted 330 lines
---
recipes/webkit/webkit-efl/CMakeLists.txt | 132 -------------------------recipes/webkit/webkit-efl/bug.50752.patch| 37 ------- recipes/webkit/webkit-efl/cmakeconfig.h.cmake | 41 --------recipes/webkit/webkit-efl/revert.r78057.patch| 19 ++++ recipes/webkit/webkit-efl_svn.bb | 33 ++-----5 files changed, 26 insertions(+), 236 deletions(-)delete mode 100644
recipes/webkit/webkit-efl/CMakeLists.txtdelete mode 100644recipes/webkit/webkit-efl/bug.50752.patchdelete mode 100644 recipes/webkit/webkit-efl/cmakeconfig.h.cmake create mode 100644recipes/webkit/webkit-efl/revert.r78057.patchrecipes/webkit/webkit-efl/CMakeLists.txt deleted +0
-132@@ -1,132 +0,0 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8) -PROJECT(WebKit) - -# Set a default build type if and only if user did not define one as command -# line options and he did not give custom CFLAGS or CXXFLAGS. Otherwise, flags -# from default build type would overwrite user-defined ones. -IF (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_C_FLAGS AND NOT CMAKE_CXX_FLAGS) - SET(CMAKE_BUILD_TYPE Release) -ENDIF () -SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") - -SET(JAVASCRIPTCORE_DIR "${CMAKE_SOURCE_DIR}/JavaScriptCore") -SET(WEBCORE_DIR "${CMAKE_SOURCE_DIR}/WebCore") -SET(WEBKIT_DIR "${CMAKE_SOURCE_DIR}/WebKit") -SET(WEBKITTOOLS_DIR "${CMAKE_SOURCE_DIR}/WebKitTools") -SET(DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources") - -INCLUDE(WebKitMacros) -INCLUDE(WebKitFS) -INCLUDE(WebKitHelpers) -INCLUDE(WebKitFeatures) - -# ----------------------------------------------------------------------------- -# Determine which port will be built -# ----------------------------------------------------------------------------- -SET(ALL_PORTS Efl) -OPTION(PORT "choose which WebKit port to build (one of ${ALL_PORTS})" "NOPORT") - -# ----------------------------------------------------------------------------- -# Find common packages (used by all ports) -# ----------------------------------------------------------------------------- -FIND_PACKAGE(BISON REQUIRED) -FIND_PACKAGE(FLEX REQUIRED) -FIND_PACKAGE(Gperf REQUIRED) -FIND_PACKAGE(Perl REQUIRED) -FIND_PACKAGE(PythonInterp REQUIRED) - -# ----------------------------------------------------------------------------- -# Determine the target processor -# ----------------------------------------------------------------------------- -STRING(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_SYSTEM_PROCESSOR) -IF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^arm") - SET(WTF_CPU_ARM 1) -ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64)") - SET(WTF_CPU_X86_64 1) -ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)") - SET(WTF_CPU_X86 1) -ELSE () - MESSAGE(FATAL_ERROR "Unknown CPU '${CMAKE_SYSTEM_PROCESSOR}'") -ENDIF () - -# ----------------------------------------------------------------------------- -# Determine the operating system -# ----------------------------------------------------------------------------- -IF (CMAKE_SYSTEM_NAME MATCHES "Linux") - SET(WTF_OS_UNIX 1) - - IF (APPLE) - SET(WTF_OS_MAC_OS_X 1) - ENDIF () -ELSEIF (CMAKE_SYSTEM_NAME MATCHES "Windows") - SET(WTF_OS_WINDOWS 1) -ELSE () - MESSAGE(FATAL_ERROR "Unknown OS '${CMAKE_SYSTEM_NAME}'") -ENDIF () - -# ----------------------------------------------------------------------------- -# Default target names (can be overrriden in Options${PORT}.cmake file) -# ----------------------------------------------------------------------------- -SET(JSC_EXECUTABLE_NAME JSC) -SET(WTF_LIBRARY_NAME WTF) -SET(JavaScriptCore_LIBRARY_NAME JavaScriptCore) -SET(WebCore_LIBRARY_NAME WebCore) -SET(WebKit_LIBRARY_NAME WebKit) - -# ----------------------------------------------------------------------------- -# Default library types -# ----------------------------------------------------------------------------- -OPTION(SHARED_CORE "build WTF, JavaScriptCore and WebCore as shared libraries") - -IF (SHARED_CORE) - SET(WTF_LIBRARY_TYPE SHARED) - SET(JavaScriptCore_LIBRARY_TYPE SHARED) - SET(WebCore_LIBRARY_TYPE SHARED) -ELSE () - SET(WTF_LIBRARY_TYPE STATIC) - SET(JavaScriptCore_LIBRARY_TYPE STATIC) - SET(WebCore_LIBRARY_TYPE STATIC) -ENDIF () - -SET(WebKit_LIBRARY_TYPE SHARED) - -# ----------------------------------------------------------------------------- -# Port-specific options -# ----------------------------------------------------------------------------- -INCLUDE(OptionsCommon) -INCLUDE(Options${PORT}) - -# ----------------------------------------------------------------------------- -# Define packaging -# ----------------------------------------------------------------------------- -INCLUDE(WebKitPackaging) - -# ----------------------------------------------------------------------------- -# Add module directories -# ----------------------------------------------------------------------------- -ADD_SUBDIRECTORY(JavaScriptCore) -ADD_SUBDIRECTORY(WebCore) -ADD_SUBDIRECTORY(WebKit) - -# ----------------------------------------------------------------------------- -# Add test browser if exists -# ----------------------------------------------------------------------------- -INCLUDE_IF_EXISTS(${WEBKITTOOLS_DIR}/CMakeLists${PORT}.txt) - -# ----------------------------------------------------------------------------- -# Set compiler flags for all targets -# ----------------------------------------------------------------------------- -WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WTF_LIBRARY_NAME}) -WEBKIT_SET_EXTRA_COMPILER_FLAGS(${JavaScriptCore_LIBRARY_NAME}) -WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WebCore_LIBRARY_NAME}) -WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WebKit_LIBRARY_NAME}) - -# ----------------------------------------------------------------------------- -# Create the configuration file -# ----------------------------------------------------------------------------- -CONFIGURE_FILE(cmakeconfig.h.cmake ${CMAKE_BINARY_DIR}/cmakeconfig.h @ONLY) - -# ----------------------------------------------------------------------------- -# Prints a summary of all enabled/disabled features -# ----------------------------------------------------------------------------- -WEBKIT_PRINT_FEATURES()recipes/webkit/webkit-efl/bug.50752.patch deleted +0
-37@@ -1,37 +0,0 @@ -https://bugs.webkit.org/show_bug.cgi?id=46258 - -diff --git a/WebKit/efl/ChangeLog b/WebKit/efl/ChangeLog -index cfb2f1189e4071cdca7027e81b6fda178ee32490..5ce726ec72fcb530fe0d96e77a4e8fc4b8a8c537 100644 ---- a/WebKit/efl/ChangeLog -+++ b/WebKit/efl/ChangeLog -@@ -1,3 +1,17 @@ -+2010-12-09 Alex Bredariol Grilo <[email protected]> -+ -+ Reviewed by NOBODY (OOPS!). -+ -+ [EFL] Fix scroll operation in WebKit-EFL -+ https://bugs.webkit.org/show_bug.cgi?id=50752 -+ -+ Add the _ewk_view_scroll_add call in WebKit-EFL scroll function. This -+ call was wrongly removed in previous commit and performs the scroll -+ operation on the page. -+ -+ * ewk/ewk_view.cpp: -+ (ewk_view_scroll): -+ - 2010-12-03 Alex Bredariol Grilo <[email protected]> - - Reviewed by Andreas Kling. -diff --git a/WebKit/efl/ewk/ewk_view.cpp b/WebKit/efl/ewk/ewk_view.cpp -index 5147b6d9b7ce518deb8e1b864fe773c1931db42e..d1731e74173b53decd18610657ea4eb97f903397 100644 ---- a/WebKit/efl/ewk/ewk_view.cpp -+++ b/WebKit/efl/ewk/ewk_view.cpp -@@ -4075,6 +4075,8 @@ void ewk_view_scroll(Evas_Object* o, Evas_Coord dx, Evas_Coord dy, Evas_Coord sx - EWK_VIEW_PRIV_GET_OR_RETURN(sd, priv); - EINA_SAFETY_ON_TRUE_RETURN(!dx && !dy); - -+ _ewk_view_scroll_add(priv, dx, dy, sx, sy, sw, sh, main_frame); -+ - _ewk_view_smart_changed(sd); - } -recipes/webkit/webkit-efl/cmakeconfig.h.cmake deleted +0
-41@@ -1,41 +0,0 @@ -#ifndef CMAKECONFIG_H -#define CMAKECONFIG_H - -#define ENABLE_AS_IMAGE @ENABLE_AS_IMAGE_VALUE@ -#define ENABLE_BLOB @ENABLE_BLOB_VALUE@ -#define ENABLE_CHANNEL_MESSAGING @ENABLE_CHANNEL_MESSAGING_VALUE@ -#define ENABLE_DATABASE @ENABLE_DATABASE_VALUE@ -#define ENABLE_DATAGRID @ENABLE_DATAGRID_VALUE@ -#define ENABLE_DATALIST @ENABLE_DATALIST_VALUE@ -#define ENABLE_DOM_STORAGE @ENABLE_DOM_STORAGE_VALUE@ -#define ENABLE_EVENTSOURCE @ENABLE_EVENTSOURCE_VALUE@ -#define ENABLE_FAST_MOBILE_SCROLLING @ENABLE_FAST_MOBILE_SCROLLING_VALUE@ -#define ENABLE_FILTERS @ENABLE_FILTERS_VALUE@ -#define ENABLE_FTPDIR @ENABLE_FTPDIR_VALUE@ -#define ENABLE_GEOLOCATION @ENABLE_GEOLOCATION_VALUE@ -#define ENABLE_GLIB_SUPPORT @ENABLE_GLIB_SUPPORT_VALUE@ -#define ENABLE_ICONDATABASE @ENABLE_ICONDATABASE_VALUE@ -#define ENABLE_INSPECTOR @ENABLE_INSPECTOR_VALUE@ -#define ENABLE_JAVASCRIPT_DEBUGGER @ENABLE_JAVASCRIPT_DEBUGGER_VALUE@ -#define ENABLE_JIT @ENABLE_JIT_VALUE@ -#define ENABLE_MATHML @ENABLE_MATHML_VALUE@ -#define ENABLE_NETSCAPE_PLUGIN_API @ENABLE_NETSCAPE_PLUGIN_API_VALUE@ -#define ENABLE_NOTIFICATIONS @ENABLE_NOTIFICATIONS_VALUE@ -#define ENABLE_OFFLINE_WEB_APPLICATIONS @ENABLE_OFFLINE_WEB_APPLICATIONS_VALUE@ -#define ENABLE_ORIENTATION_EVENTS @ENABLE_ORIENTATION_EVENTS_VALUE@ -#define ENABLE_PROGRESS_TAG @ENABLE_PROGRESS_TAG_VALUE@ -#define ENABLE_SHARED_WORKERS @ENABLE_SHARED_WORKERS_VALUE@ -#define ENABLE_SVG @ENABLE_SVG_VALUE@ -#define ENABLE_SVG_ANIMATION @ENABLE_SVG_ANIMATION_VALUE@ -#define ENABLE_SVG_FONTS @ENABLE_SVG_FONTS_VALUE@ -#define ENABLE_SVG_FOREIGN_OBJECT @ENABLE_SVG_FOREIGN_OBJECT_VALUE@ -#define ENABLE_SVG_USE @ENABLE_SVG_USE_VALUE@ -#define ENABLE_VIDEO @ENABLE_VIDEO_VALUE@ -#define ENABLE_WEB_SOCKETS @ENABLE_WEB_SOCKETS_VALUE@ -#define ENABLE_WML @ENABLE_WML_VALUE@ -#define ENABLE_WORKERS @ENABLE_WORKERS_VALUE@ -#define ENABLE_XHTMLMP @ENABLE_XHTMLMP_VALUE@ -#define ENABLE_XPATH @ENABLE_XPATH_VALUE@ -#define ENABLE_XSLT @ENABLE_XSLT_VALUE@ - -#endif /* CMAKECONFIG_H */recipes/webkit/webkit-efl/revert.r78057.patch new file +19
-0@@ -0,0 +1,19 @@ +see https://bugs.webkit.org/show_bug.cgi?id=50762 +fixed by: +http://trac.webkit.org/changeset/78047/trunk/Source/WebCore/CMakeLists.txt +fix reverted by: +http://trac.webkit.org/changeset/78057/trunk/Source/WebCore/CMakeLists.txt + +so revert revert as we care about webkit-efl and don't care about WinCE + +Index: Source/WebCore/CMakeLists.txt +=================================================================== +--- Source/WebCore/CMakeLists.txt (revision 78042) ++++ Source/WebCore/CMakeLists.txt (revision 78047) +@@ -1157,6 +1157,4 @@ + + platform/Arena.cpp +- platform/ContextMenu.cpp +- platform/ContextMenuItem.cpp + platform/ContentType.cpp + platform/CrossThreadCopier.cpprecipes/webkit/webkit-efl_svn.bb +0
-0@@ -4,28 +4,18 @@ DEPENDS = "icu libxslt sqlite3 gperf-native bison-native flex-native jpeg \ libpng libxt fontconfig cairo freetype glib-2.0 libsoup-2.4 \libxml2 pango eina ecore evas edje"
recipes/webkit/webkit-efl_svn.bb +3
-6-# newer revisions are blocked by -# https://bugs.webkit.org/show_bug.cgi?id=50762 -SRCREV = "73534" -PV = "1.3.4+svnr${SRCPV}" -PR = "r1" +SRCREV = "78547" +PV = "1.3.11+svnr${SRCPV}" -SRCREV_FORMAT = "webcore-rwebkit" +SRCREV_FORMAT = "source"SRC_URI = "\
- svn://svn.webkit.org/repository/webkit/trunk/;module=JavaScriptCore;proto=http;subdir=src \
- svn://svn.webkit.org/repository/webkit/trunk/;module=JavaScriptGlue;proto=http;subdir=src \
- svn://svn.webkit.org/repository/webkit/trunk/;module=WebCore;proto=http;name=webcore;subdir=src \
- svn://svn.webkit.org/repository/webkit/trunk/;module=WebKit;proto=http;name=webkit;subdir=src \
- svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitLibraries;proto=http;subdir=src \
- svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitTools;proto=http;subdir=src \
- svn://svn.webkit.org/repository/webkit/trunk/;module=cmake;proto=http;subdir=src \
- file://bug.50752.patch \
- file://cmakeconfig.h.cmake \
- file://CMakeLists.txt \
+ svn://svn.webkit.org/repository/webkit/trunk;module=Source;name=source;proto=http;subdir=src \
+ svn://svn.webkit.org/repository/webkit/trunk/;module=Tools;proto=http;subdir=src \
+ file://revert.r78057.patch \
"recipes/webkit/webkit-efl_svn.bb +1
-1-S = "${WORKDIR}/src" +S = "${WORKDIR}/src/Source"inherit cmake
lib_packagepkgconfigrecipes/webkit/webkit-efl_svn.bb +0
-0@@ -39,15 +29,6 @@ ARM_INSTRUCTION_SET = "ARM"EXTRA_OECMAKE = "-DPORT=Efl -DSHARED_CORE=ON"
recipes/webkit/webkit-efl_svn.bb +0
-9-do_unpack_append() { - bb.build.exec_func('do_move_files', d) -} - -do_move_files() { - mv "${WORKDIR}/cmakeconfig.h.cmake" "${S}" - mv "${WORKDIR}/CMakeLists.txt" "${S}" -} -LEAD_SONAME = "libewebkit.so"
PACKAGES =+ "${PN}launcher-dbg ${PN}launcher"--
1.7.4.1_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [PATCH 4/4] webkit-efl: upgrade to 1.3.11, upstream has Source subdirectory now, which makes SRC_URI a lot shorter
Quoted 4 lines · Khem Raj
Quoted 1 line · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>where will svn recipe get PR from
default r0 like every other recipe
reset after changing PV
Regards,
Quoted 338 lines
Acked-by Khem Raj <[email protected]>Quoted 321 lines
---
recipes/webkit/webkit-efl/CMakeLists.txt | 132 -------------------------recipes/webkit/webkit-efl/bug.50752.patch| 37 ------- recipes/webkit/webkit-efl/cmakeconfig.h.cmake | 41 --------recipes/webkit/webkit-efl/revert.r78057.patch| 19 ++++ recipes/webkit/webkit-efl_svn.bb | 33 ++-----5 files changed, 26 insertions(+), 236 deletions(-)delete mode 100644
recipes/webkit/webkit-efl/CMakeLists.txtdelete mode 100644recipes/webkit/webkit-efl/bug.50752.patchdelete mode 100644 recipes/webkit/webkit-efl/cmakeconfig.h.cmake create mode 100644recipes/webkit/webkit-efl/revert.r78057.patchrecipes/webkit/webkit-efl/CMakeLists.txt deleted +0
-132@@ -1,132 +0,0 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8) -PROJECT(WebKit) - -# Set a default build type if and only if user did not define one as command -# line options and he did not give custom CFLAGS or CXXFLAGS. Otherwise, flags -# from default build type would overwrite user-defined ones. -IF (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_C_FLAGS AND NOT CMAKE_CXX_FLAGS) - SET(CMAKE_BUILD_TYPE Release) -ENDIF () -SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") - -SET(JAVASCRIPTCORE_DIR "${CMAKE_SOURCE_DIR}/JavaScriptCore") -SET(WEBCORE_DIR "${CMAKE_SOURCE_DIR}/WebCore") -SET(WEBKIT_DIR "${CMAKE_SOURCE_DIR}/WebKit") -SET(WEBKITTOOLS_DIR "${CMAKE_SOURCE_DIR}/WebKitTools") -SET(DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources") - -INCLUDE(WebKitMacros) -INCLUDE(WebKitFS) -INCLUDE(WebKitHelpers) -INCLUDE(WebKitFeatures) - -# ----------------------------------------------------------------------------- -# Determine which port will be built -# ----------------------------------------------------------------------------- -SET(ALL_PORTS Efl) -OPTION(PORT "choose which WebKit port to build (one of ${ALL_PORTS})" "NOPORT") - -# ----------------------------------------------------------------------------- -# Find common packages (used by all ports) -# ----------------------------------------------------------------------------- -FIND_PACKAGE(BISON REQUIRED) -FIND_PACKAGE(FLEX REQUIRED) -FIND_PACKAGE(Gperf REQUIRED) -FIND_PACKAGE(Perl REQUIRED) -FIND_PACKAGE(PythonInterp REQUIRED) - -# ----------------------------------------------------------------------------- -# Determine the target processor -# ----------------------------------------------------------------------------- -STRING(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_SYSTEM_PROCESSOR) -IF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^arm") - SET(WTF_CPU_ARM 1) -ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64)") - SET(WTF_CPU_X86_64 1) -ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)") - SET(WTF_CPU_X86 1) -ELSE () - MESSAGE(FATAL_ERROR "Unknown CPU '${CMAKE_SYSTEM_PROCESSOR}'") -ENDIF () - -# ----------------------------------------------------------------------------- -# Determine the operating system -# ----------------------------------------------------------------------------- -IF (CMAKE_SYSTEM_NAME MATCHES "Linux") - SET(WTF_OS_UNIX 1) - - IF (APPLE) - SET(WTF_OS_MAC_OS_X 1) - ENDIF () -ELSEIF (CMAKE_SYSTEM_NAME MATCHES "Windows") - SET(WTF_OS_WINDOWS 1) -ELSE () - MESSAGE(FATAL_ERROR "Unknown OS '${CMAKE_SYSTEM_NAME}'") -ENDIF () - -# ----------------------------------------------------------------------------- -# Default target names (can be overrriden in Options${PORT}.cmake file) -# ----------------------------------------------------------------------------- -SET(JSC_EXECUTABLE_NAME JSC) -SET(WTF_LIBRARY_NAME WTF) -SET(JavaScriptCore_LIBRARY_NAME JavaScriptCore) -SET(WebCore_LIBRARY_NAME WebCore) -SET(WebKit_LIBRARY_NAME WebKit) - -# ----------------------------------------------------------------------------- -# Default library types -# ----------------------------------------------------------------------------- -OPTION(SHARED_CORE "build WTF, JavaScriptCore and WebCore as shared libraries") - -IF (SHARED_CORE) - SET(WTF_LIBRARY_TYPE SHARED) - SET(JavaScriptCore_LIBRARY_TYPE SHARED) - SET(WebCore_LIBRARY_TYPE SHARED) -ELSE () - SET(WTF_LIBRARY_TYPE STATIC) - SET(JavaScriptCore_LIBRARY_TYPE STATIC) - SET(WebCore_LIBRARY_TYPE STATIC) -ENDIF () - -SET(WebKit_LIBRARY_TYPE SHARED) - -# ----------------------------------------------------------------------------- -# Port-specific options -# ----------------------------------------------------------------------------- -INCLUDE(OptionsCommon) -INCLUDE(Options${PORT}) - -# ----------------------------------------------------------------------------- -# Define packaging -# ----------------------------------------------------------------------------- -INCLUDE(WebKitPackaging) - -# ----------------------------------------------------------------------------- -# Add module directories -# ----------------------------------------------------------------------------- -ADD_SUBDIRECTORY(JavaScriptCore) -ADD_SUBDIRECTORY(WebCore) -ADD_SUBDIRECTORY(WebKit) - -# ----------------------------------------------------------------------------- -# Add test browser if exists -# ----------------------------------------------------------------------------- -INCLUDE_IF_EXISTS(${WEBKITTOOLS_DIR}/CMakeLists${PORT}.txt) - -# ----------------------------------------------------------------------------- -# Set compiler flags for all targets -# ----------------------------------------------------------------------------- -WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WTF_LIBRARY_NAME}) -WEBKIT_SET_EXTRA_COMPILER_FLAGS(${JavaScriptCore_LIBRARY_NAME}) -WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WebCore_LIBRARY_NAME}) -WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WebKit_LIBRARY_NAME}) - -# ----------------------------------------------------------------------------- -# Create the configuration file -# ----------------------------------------------------------------------------- -CONFIGURE_FILE(cmakeconfig.h.cmake ${CMAKE_BINARY_DIR}/cmakeconfig.h @ONLY) - -# ----------------------------------------------------------------------------- -# Prints a summary of all enabled/disabled features -# ----------------------------------------------------------------------------- -WEBKIT_PRINT_FEATURES()recipes/webkit/webkit-efl/bug.50752.patch deleted +0
-37@@ -1,37 +0,0 @@ -https://bugs.webkit.org/show_bug.cgi?id=46258 - -diff --git a/WebKit/efl/ChangeLog b/WebKit/efl/ChangeLog -index cfb2f1189e4071cdca7027e81b6fda178ee32490..5ce726ec72fcb530fe0d96e77a4e8fc4b8a8c537 100644 ---- a/WebKit/efl/ChangeLog -+++ b/WebKit/efl/ChangeLog -@@ -1,3 +1,17 @@ -+2010-12-09 Alex Bredariol Grilo <[email protected]> -+ -+ Reviewed by NOBODY (OOPS!). -+ -+ [EFL] Fix scroll operation in WebKit-EFL -+ https://bugs.webkit.org/show_bug.cgi?id=50752 -+ -+ Add the _ewk_view_scroll_add call in WebKit-EFL scroll function. This -+ call was wrongly removed in previous commit and performs the scroll -+ operation on the page. -+ -+ * ewk/ewk_view.cpp: -+ (ewk_view_scroll): -+ - 2010-12-03 Alex Bredariol Grilo <[email protected]> - - Reviewed by Andreas Kling. -diff --git a/WebKit/efl/ewk/ewk_view.cpp b/WebKit/efl/ewk/ewk_view.cpp -index 5147b6d9b7ce518deb8e1b864fe773c1931db42e..d1731e74173b53decd18610657ea4eb97f903397 100644 ---- a/WebKit/efl/ewk/ewk_view.cpp -+++ b/WebKit/efl/ewk/ewk_view.cpp -@@ -4075,6 +4075,8 @@ void ewk_view_scroll(Evas_Object* o, Evas_Coord dx, Evas_Coord dy, Evas_Coord sx - EWK_VIEW_PRIV_GET_OR_RETURN(sd, priv); - EINA_SAFETY_ON_TRUE_RETURN(!dx && !dy); - -+ _ewk_view_scroll_add(priv, dx, dy, sx, sy, sw, sh, main_frame); -+ - _ewk_view_smart_changed(sd); - } -recipes/webkit/webkit-efl/cmakeconfig.h.cmake deleted +0
-41@@ -1,41 +0,0 @@ -#ifndef CMAKECONFIG_H -#define CMAKECONFIG_H - -#define ENABLE_AS_IMAGE @ENABLE_AS_IMAGE_VALUE@ -#define ENABLE_BLOB @ENABLE_BLOB_VALUE@ -#define ENABLE_CHANNEL_MESSAGING @ENABLE_CHANNEL_MESSAGING_VALUE@ -#define ENABLE_DATABASE @ENABLE_DATABASE_VALUE@ -#define ENABLE_DATAGRID @ENABLE_DATAGRID_VALUE@ -#define ENABLE_DATALIST @ENABLE_DATALIST_VALUE@ -#define ENABLE_DOM_STORAGE @ENABLE_DOM_STORAGE_VALUE@ -#define ENABLE_EVENTSOURCE @ENABLE_EVENTSOURCE_VALUE@ -#define ENABLE_FAST_MOBILE_SCROLLING @ENABLE_FAST_MOBILE_SCROLLING_VALUE@ -#define ENABLE_FILTERS @ENABLE_FILTERS_VALUE@ -#define ENABLE_FTPDIR @ENABLE_FTPDIR_VALUE@ -#define ENABLE_GEOLOCATION @ENABLE_GEOLOCATION_VALUE@ -#define ENABLE_GLIB_SUPPORT @ENABLE_GLIB_SUPPORT_VALUE@ -#define ENABLE_ICONDATABASE @ENABLE_ICONDATABASE_VALUE@ -#define ENABLE_INSPECTOR @ENABLE_INSPECTOR_VALUE@ -#define ENABLE_JAVASCRIPT_DEBUGGER @ENABLE_JAVASCRIPT_DEBUGGER_VALUE@ -#define ENABLE_JIT @ENABLE_JIT_VALUE@ -#define ENABLE_MATHML @ENABLE_MATHML_VALUE@ -#define ENABLE_NETSCAPE_PLUGIN_API @ENABLE_NETSCAPE_PLUGIN_API_VALUE@ -#define ENABLE_NOTIFICATIONS @ENABLE_NOTIFICATIONS_VALUE@ -#define ENABLE_OFFLINE_WEB_APPLICATIONS @ENABLE_OFFLINE_WEB_APPLICATIONS_VALUE@ -#define ENABLE_ORIENTATION_EVENTS @ENABLE_ORIENTATION_EVENTS_VALUE@ -#define ENABLE_PROGRESS_TAG @ENABLE_PROGRESS_TAG_VALUE@ -#define ENABLE_SHARED_WORKERS @ENABLE_SHARED_WORKERS_VALUE@ -#define ENABLE_SVG @ENABLE_SVG_VALUE@ -#define ENABLE_SVG_ANIMATION @ENABLE_SVG_ANIMATION_VALUE@ -#define ENABLE_SVG_FONTS @ENABLE_SVG_FONTS_VALUE@ -#define ENABLE_SVG_FOREIGN_OBJECT @ENABLE_SVG_FOREIGN_OBJECT_VALUE@ -#define ENABLE_SVG_USE @ENABLE_SVG_USE_VALUE@ -#define ENABLE_VIDEO @ENABLE_VIDEO_VALUE@ -#define ENABLE_WEB_SOCKETS @ENABLE_WEB_SOCKETS_VALUE@ -#define ENABLE_WML @ENABLE_WML_VALUE@ -#define ENABLE_WORKERS @ENABLE_WORKERS_VALUE@ -#define ENABLE_XHTMLMP @ENABLE_XHTMLMP_VALUE@ -#define ENABLE_XPATH @ENABLE_XPATH_VALUE@ -#define ENABLE_XSLT @ENABLE_XSLT_VALUE@ - -#endif /* CMAKECONFIG_H */recipes/webkit/webkit-efl/revert.r78057.patch new file +19
-0@@ -0,0 +1,19 @@ +see https://bugs.webkit.org/show_bug.cgi?id=50762 +fixed by: +http://trac.webkit.org/changeset/78047/trunk/Source/WebCore/CMakeLists.txt +fix reverted by: +http://trac.webkit.org/changeset/78057/trunk/Source/WebCore/CMakeLists.txt + +so revert revert as we care about webkit-efl and don't care about WinCE + +Index: Source/WebCore/CMakeLists.txt +=================================================================== +--- Source/WebCore/CMakeLists.txt (revision 78042) ++++ Source/WebCore/CMakeLists.txt (revision 78047) +@@ -1157,6 +1157,4 @@ + + platform/Arena.cpp +- platform/ContextMenu.cpp +- platform/ContextMenuItem.cpp + platform/ContentType.cpp + platform/CrossThreadCopier.cpprecipes/webkit/webkit-efl_svn.bb +0
-0@@ -4,28 +4,18 @@ DEPENDS = "icu libxslt sqlite3 gperf-native bison-native flex-native jpeg \ libpng libxt fontconfig cairo freetype glib-2.0 libsoup-2.4 \libxml2 pango eina ecore evas edje"
recipes/webkit/webkit-efl_svn.bb +3
-6-# newer revisions are blocked by -# https://bugs.webkit.org/show_bug.cgi?id=50762 -SRCREV = "73534" -PV = "1.3.4+svnr${SRCPV}" -PR = "r1" +SRCREV = "78547" +PV = "1.3.11+svnr${SRCPV}" -SRCREV_FORMAT = "webcore-rwebkit" +SRCREV_FORMAT = "source"SRC_URI = "\
- svn://svn.webkit.org/repository/webkit/trunk/;module=JavaScriptCore;proto=http;subdir=src \
- svn://svn.webkit.org/repository/webkit/trunk/;module=JavaScriptGlue;proto=http;subdir=src \
- svn://svn.webkit.org/repository/webkit/trunk/;module=WebCore;proto=http;name=webcore;subdir=src \
- svn://svn.webkit.org/repository/webkit/trunk/;module=WebKit;proto=http;name=webkit;subdir=src \
- svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitLibraries;proto=http;subdir=src \
- svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitTools;proto=http;subdir=src \
- svn://svn.webkit.org/repository/webkit/trunk/;module=cmake;proto=http;subdir=src \
- file://bug.50752.patch \
- file://cmakeconfig.h.cmake \
- file://CMakeLists.txt \
+ svn://svn.webkit.org/repository/webkit/trunk;module=Source;name=source;proto=http;subdir=src \
+ svn://svn.webkit.org/repository/webkit/trunk/;module=Tools;proto=http;subdir=src \
+ file://revert.r78057.patch \
"recipes/webkit/webkit-efl_svn.bb +1
-1-S = "${WORKDIR}/src" +S = "${WORKDIR}/src/Source"inherit cmake
lib_packagepkgconfigrecipes/webkit/webkit-efl_svn.bb +0
-0@@ -39,15 +29,6 @@ ARM_INSTRUCTION_SET = "ARM"EXTRA_OECMAKE = "-DPORT=Efl -DSHARED_CORE=ON"
recipes/webkit/webkit-efl_svn.bb +0
-9-do_unpack_append() { - bb.build.exec_func('do_move_files', d) -} - -do_move_files() { - mv "${WORKDIR}/cmakeconfig.h.cmake" "${S}" - mv "${WORKDIR}/CMakeLists.txt" "${S}" -} -LEAD_SONAME = "libewebkit.so"
PACKAGES =+ "${PN}launcher-dbg ${PN}launcher"Quoted 9 lines
--
1.7.4.1_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 1 line · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>
You have to reset PR to 0 otherwise ok
Quoted 340 lines
---
.../60_wait-longer-for-threads-to-die.patch | 26 ++++++.../glib-2.0/glib-2.0-2.28.0/configure-ipv6.patch| 92 ++++++++++++++++++++.../glib-2.0-2.28.0/configure-libtool.patch| 30 +++++++.../glib-2.0-2.28.0/g_once_init_enter.patch| 11 +++.../gatomic-proper-pointer-get-cast.patch| 12 +++ ...b2-fix-compilation-with-no-builtin-atomic.patch | 25 ++++++ recipes/glib-2.0/glib-2.0_2.28.0.bb | 76 ++++++++++++++++7 files changed, 272 insertions(+), 0 deletions(-)create mode 100644
recipes/glib-2.0/glib-2.0-2.28.0/60_wait-longer-for-threads-to-die.patchcreate mode 100644recipes/glib-2.0/glib-2.0-2.28.0/configure-ipv6.patch
create mode 100644recipes/glib-2.0/glib-2.0-2.28.0/configure-libtool.patch
create mode 100644recipes/glib-2.0/glib-2.0-2.28.0/g_once_init_enter.patch
create mode 100644recipes/glib-2.0/glib-2.0-2.28.0/gatomic-proper-pointer-get-cast.patchcreate mode 100644recipes/glib-2.0/glib-2.0-2.28.0/libglib2-fix-compilation-with-no-builtin-atomic.patchcreate mode 100644 recipes/glib-2.0/glib-2.0_2.28.0.bbrecipes/glib-2.0/glib-2.0-2.28.0/60_wait-longer-for-threads-to-die.patch new file +26
-0@@ -0,0 +1,26 @@ +--- glib/tests/threadpool-test.c.old 2008-02-12 06:11:21.000000000 +0100 ++++ glib/tests/threadpool-test.c 2008-02-12 06:11:52.000000000 +0100 +@@ -5,8 +5,8 @@ + + #include <glib.h> + +-#define DEBUG_MSG(x) +-/* #define DEBUG_MSG(args) g_printerr args ; g_printerr ("\n"); */ ++/* #define DEBUG_MSG(x) */ ++#define DEBUG_MSG(args) g_printerr args ; g_printerr ("\n"); + + #define WAIT 5 /* seconds */ + #define MAX_THREADS 10 +@@ -124,10 +124,10 @@ + DEBUG_MSG (("[unused] stopping unused threads")); + g_thread_pool_stop_unused_threads (); + +- DEBUG_MSG (("[unused] waiting ONE second for threads to die")); ++ DEBUG_MSG (("[unused] waiting FIVE second for threads to die")); + + /* Some time for threads to die. */ +- g_usleep (G_USEC_PER_SEC); ++ g_usleep (5 * G_USEC_PER_SEC); + + DEBUG_MSG (("[unused] stopped idle threads, %d remain, %d threads still exist", + g_thread_pool_get_num_unused_threads (),recipes/glib-2.0/glib-2.0-2.28.0/configure-ipv6.patch new file +92
-0@@ -0,0 +1,92 @@ +From a619a217e3e5aa5345db631213aec5a3684a3001 Mon Sep 17 00:00:00 2001 +Subject: [PATCH] autodetect in6addr_{any,loopback} availability + +Fixes linking error on systems which choose not to support ipv6: +./.libs/libgio-2.0.so: undefined reference to `in6addr_loopback' +./.libs/libgio-2.0.so: undefined reference to `in6addr_any' + +Signed-off-by: Bernhard Reutner-Fischer <[email protected]> +--- + configure.ac | 31 +++++++++++++++++++++++++++++++ + gio/ginetaddress.c | 16 ++++++++++++++-- + 2 files changed, 45 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 7114014..023db49 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1019,6 +1019,37 @@ if test $glib_native_win32 = no; then + AC_SUBST(LIBASYNCNS_LIBADD) + fi + ++dnl handle --disable-ipv6 ++AC_ARG_ENABLE(ipv6, AC_HELP_STRING([--disable-ipv6],[Disable IPv6 support])) ++if test "$ipv6" != "no"; then ++ AC_DEFINE(HAVE_IPV6, 1, [Define if IPv6 is available]) ++ ++ AC_MSG_CHECKING([for struct in6addr_any]) ++ AC_TRY_LINK( ++ [#define IN_AUTOCONF ++ #include <sys/types.h> ++ #include <sys/socket.h> ++ #include <netinet/in.h>], ++ [struct in6_addr a = in6addr_any; ++ return a.s6_addr[0];], ++ [AC_MSG_RESULT(yes) ++ AC_DEFINE(HAVE_IN6ADDR_ANY, 1, [Define if in6addr_any is available])], ++ [AC_MSG_RESULT(no)] ++ ) ++ AC_MSG_CHECKING([for struct in6addr_loopback]) ++ AC_TRY_LINK( ++ [#define IN_AUTOCONF ++ #include <sys/types.h> ++ #include <sys/socket.h> ++ #include <netinet/in.h>], ++ [struct in6_addr a = in6addr_loopback; ++ return a.s6_addr[0];], ++ [AC_MSG_RESULT(yes) ++ AC_DEFINE(HAVE_IN6ADDR_LOOPBACK, 1, [Define if in6addr_loopback is available])], ++ [AC_MSG_RESULT(no)] ++ ) ++fi ++ + case $host in + *-*-solaris* ) + AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) +diff --git a/gio/ginetaddress.c b/gio/ginetaddress.c +index 0f67e4f..ed29be2 100644 +--- a/gio/ginetaddress.c ++++ b/gio/ginetaddress.c +@@ -484,7 +484,13 @@ g_inet_address_new_loopback (GSocketFamily family) + return g_inet_address_new_from_bytes (addr, family); + } + else +- return g_inet_address_new_from_bytes (in6addr_loopback.s6_addr, family); ++ { ++#ifdef HAVE_IN6ADDR_LOOPBACK ++ return g_inet_address_new_from_bytes (in6addr_loopback.s6_addr, family); ++#else ++ return NULL; ++#endif ++ } + } + + /** +@@ -511,7 +517,13 @@ g_inet_address_new_any (GSocketFamily family) + return g_inet_address_new_from_bytes (addr, family); + } + else +- return g_inet_address_new_from_bytes (in6addr_any.s6_addr, family); ++ { ++#ifdef HAVE_IN6ADDR_ANY ++ return g_inet_address_new_from_bytes (in6addr_any.s6_addr, family); ++#else ++ return NULL; ++#endif ++ } + } + + +-- +1.7.2.3 +recipes/glib-2.0/glib-2.0-2.28.0/configure-libtool.patch new file +30
-0@@ -0,0 +1,30 @@ +diff -uNr glib-2.28.0.orig//configure.ac glib-2.28.0/configure.ac +--- glib-2.28.0.orig//configure.ac 2011-02-08 05:53:25.000000000 +0100 ++++ glib-2.28.0/configure.ac 2011-02-15 15:07:54.683976837 +0100 +@@ -1378,7 +1378,7 @@ + G_MODULE_LDFLAGS= + else + export SED +- G_MODULE_LDFLAGS=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` ++ G_MODULE_LDFLAGS=`($host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` + fi + dnl G_MODULE_IMPL= don't reset, so cmd-line can override + G_MODULE_NEED_USCORE=0 +@@ -1443,7 +1443,7 @@ + LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS" + dnl *** check for OSF1/5.0 RTLD_GLOBAL brokenness + echo "void glib_plugin_test(void) { }" > plugin.c +- ${SHELL} ./libtool --mode=compile ${CC} -shared \ ++ ${SHELL} $host_alias-libtool --mode=compile ${CC} -shared \ + -export-dynamic -o plugin.o plugin.c 2>&1 >/dev/null + AC_CACHE_CHECK([for RTLD_GLOBAL brokenness], + glib_cv_rtldglobal_broken,[ +@@ -1517,7 +1517,7 @@ + + AC_MSG_CHECKING(for the suffix of module shared libraries) + export SED +-shrext_cmds=`./libtool --config | grep '^shrext_cmds='` ++shrext_cmds=`$host_alias-libtool --config | grep '^shrext_cmds='` + eval $shrext_cmds + module=yes eval std_shrext=$shrext_cmds + # chop the initial dotrecipes/glib-2.0/glib-2.0-2.28.0/g_once_init_enter.patch new file +11
-0@@ -0,0 +1,11 @@ +--- glib-2.22.1/glib/gthread.h.orig 2009-10-13 22:53:23.000000000 +0200 ++++ glib-2.22.1/glib/gthread.h 2009-10-13 23:34:59.000000000 +0200 +@@ -341,7 +341,7 @@ + G_INLINE_FUNC gboolean + g_once_init_enter (volatile gsize *value_location) + { +- if G_LIKELY ((gpointer) g_atomic_pointer_get (value_location) != NULL) ++ if G_LIKELY ((gpointer) g_atomic_pointer_get ((volatile gpointer *)value_location) != NULL) + return FALSE; + else + return g_once_init_enter_impl (value_location);recipes/glib-2.0/glib-2.0-2.28.0/gatomic-proper-pointer-get-cast.patch new file +12
-0@@ -0,0 +1,12 @@ +diff -uri glib-2.26.1.orig/glib/gatomic.h glib-2.26.1/glib/gatomic.h +--- glib-2.26.1.orig/glib/gatomic.h 2010-07-11 05:56:45.000000000 +0200 ++++ glib-2.26.1/glib/gatomic.h 2010-12-01 16:20:33.140009635 +0100 +@@ -70,7 +70,7 @@ + (g_atomic_int_set) ((volatile gint G_GNUC_MAY_ALIAS *) (volatile void *) (atomic), (newval))) + # define g_atomic_pointer_get(atomic) \ + ((void) sizeof (gchar [sizeof (*(atomic)) == sizeof (gpointer) ? 1 : -1]), \ +- (g_atomic_pointer_get) ((volatile gpointer G_GNUC_MAY_ALIAS *) (volatile void *) (atomic))) ++ (g_atomic_pointer_get) ((volatile gpointer G_GNUC_MAY_ALIAS *) (volatile void G_GNUC_MAY_ALIAS *) (atomic))) + # define g_atomic_pointer_set(atomic, newval) \ + ((void) sizeof (gchar [sizeof (*(atomic)) == sizeof (gpointer) ? 1 : -1]), \ + (g_atomic_pointer_set) ((volatile gpointer G_GNUC_MAY_ALIAS *) (volatile void *) (atomic), (newval)))recipes/glib-2.0/glib-2.0-2.28.0/libglib2-fix-compilation-with-no-builtin-atomic.patch new file +25
-0@@ -0,0 +1,25 @@ +From 58096320ea0888c4fbbff318839017a4d2e82703 Mon Sep 17 00:00:00 2001 +From: Lionel Landwerlin <[email protected]> +Date: Sat, 6 Nov 2010 14:56:15 +0100 +Subject: [PATCH] glib: fix compilation with no builtin atomic operations compilers + +Signed-off-by: Lionel Landwerlin <[email protected]> +--- + glib/gatomic.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/glib/gatomic.c b/glib/gatomic.c +index 845c866..01468ce 100644 +--- a/glib/gatomic.c ++++ b/glib/gatomic.c +@@ -881,6 +881,7 @@ g_atomic_pointer_compare_and_exchange (volatile gpointer G_GNUC_MAY_ALIAS *atomi + #endif /* DEFINE_WITH_WIN32_INTERLOCKED */ + + #ifdef DEFINE_WITH_MUTEXES ++# include "gthread.h" + /* We have to use the slow, but safe locking method */ + static GMutex *g_atomic_mutex; + +-- +1.7.2.3 +recipes/glib-2.0/glib-2.0_2.28.0.bb new file +76
-1@@ -0,0 +1,76 @@ +DESCRIPTION = "GLib is a general-purpose utility library, \ +which provides many useful data types, macros, \ +type conversions, string utilities, file utilities, a main \ +loop abstraction, and so on. It works on many \ +UNIX-like platforms, Windows, OS/2 and BeOS." +LICENSE = "LGPLv2+" +SECTION = "libs" +PRIORITY = "optional" +DEPENDS = "glib-2.0-native gtk-doc zlib" +DEPENDS_virtclass-native = "gettext-native gtk-doc-native \ + pkgconfig-native" + +PR = "r3" + +SRC_URI = "\ + http://ftp.gnome.org/pub/GNOME/sources/glib/2.28/glib-${PV}.tar.bz2;name=archive \ + file://glibconfig-sysdefs.h \ + file://configure-libtool.patch \ + file://g_once_init_enter.patch \ + file://gatomic-proper-pointer-get-cast.patch \ + file://60_wait-longer-for-threads-to-die.patch \ + file://libglib2-fix-compilation-with-no-builtin-atomic.patch \ + file://configure-ipv6.patch \ +" + +SRC_URI[archive.md5sum] = "51dbe36bc03a29a1f9bf6b74fb4a6926" +SRC_URI[archive.sha256sum] = "0605f538e5c022c237c97a34496979ba71d33c7b10b8d8edb84435498a651fb3" + +inherit autotools gettext + +S = "${WORKDIR}/glib-${PV}" + +EXTRA_OECONF = "--disable-debug " + +# Add and entry for your favourite arch if your (g)libc has a sane printf +EXTRA_OECONF_append_glibc_arm = " --enable-included-printf=no " + +do_configure_prepend () { + install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . + sed -i -e "s:TEST_PROGS += gdbus-serialization::g" ${S}/gio/tests/Makefile.am +} + +do_install_append() { + sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g ${D}${bindir}/glib-mkenums || true +} + +EXTRA_OECONF_virtclass-native = "" + +do_configure_prepend_virtclass-native() { + if [ -e ${S}/${TARGET_SYS}-libtool ] ; then + echo "${TARGET_SYS}-libtool already present" + else + cp ${STAGING_BINDIR}/${TARGET_SYS}-libtool ${S} + fi + +} + +BBCLASSEXTEND = "native" + +PACKAGES =+ "gobject-2.0 gmodule-2.0 gthread-2.0 gio-2.0 glib-2.0-utils " +LEAD_SONAME = "libglib-2.0.*" +FILES_glib-2.0-utils = "${bindir}/*" +FILES_${PN} = "${libdir}/lib*so.* ${libdir}/gio/modules/*.so" +FILES_${PN}-dev += "${libdir}/glib-2.0 ${datadir}/glib-2.0 ${libdir}/gio/modules/*.la" +FILES_${PN}-dbg += "${libdir}/gio/modules/.debug" +FILES_gmodule-2.0 = "${libdir}/libgmodule-2.0.so.*" +FILES_gobject-2.0 = "${libdir}/libgobject-2.0.so.*" +FILES_gio-2.0 = "${libdir}/libgio-2.0.so.*" +FILES_gthread-2.0 = "${libdir}/libgthread-2.0.so.*" + +# Let various glib components end up in glib package +# for compatibility (with binary packages from Maemo). +FILES_gthread-2.0_chinook-compat = "" +FILES_gmodule-2.0_chinook-compat = "" +FILES_gobject-2.0_chinook-compat = "" +FILES_gio-2.0_chinook-compat = "" --1.7.4.1
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
PATCH v2 1/1 glib-2.0: add 2.28.0, needed by newer libsoup
In reply to Martin Jansa--- .../60_wait-longer-for-threads-to-die.patch | 26 ++++++ .../glib-2.0/glib-2.0-2.28.0/configure-ipv6.patch | 92 ++++++++++++++++++++ .../glib-2.0-2.28.0/configure-libtool.patch | 30 +++++++ .../glib-2.0-2.28.0/g_once_init_enter.patch | 11 +++ .../gatomic-proper-pointer-get-cast.patch | 12 +++ ...b2-fix-compilation-with-no-builtin-atomic.patch | 25 ++++++ recipes/glib-2.0/glib-2.0_2.28.0.bb | 74 ++++++++++++++++ 7 files changed, 270 insertions(+), 0 deletions(-) create mode 100644 recipes/glib-2.0/glib-2.0-2.28.0/60_wait-longer-for-threads-to-die.patch create mode 100644 recipes/glib-2.0/glib-2.0-2.28.0/configure-ipv6.patch create mode 100644 recipes/glib-2.0/glib-2.0-2.28.0/configure-libtool.patch create mode 100644 recipes/glib-2.0/glib-2.0-2.28.0/g_once_init_enter.patch create mode 100644 recipes/glib-2.0/glib-2.0-2.28.0/gatomic-proper-pointer-get-cast.patch create mode 100644 recipes/glib-2.0/glib-2.0-2.28.0/libglib2-fix-compilation-with-no-builtin-atomic.patch create mode 100644 recipes/glib-2.0/glib-2.0_2.28.0.bb
recipes/glib-2.0/glib-2.0-2.28.0/60_wait-longer-for-threads-to-die.patch new file +26 -0
@@ -0,0 +1,26 @@ +--- glib/tests/threadpool-test.c.old 2008-02-12 06:11:21.000000000 +0100 ++++ glib/tests/threadpool-test.c 2008-02-12 06:11:52.000000000 +0100 +@@ -5,8 +5,8 @@ + + #include <glib.h> + +-#define DEBUG_MSG(x) +-/* #define DEBUG_MSG(args) g_printerr args ; g_printerr ("\n"); */ ++/* #define DEBUG_MSG(x) */ ++#define DEBUG_MSG(args) g_printerr args ; g_printerr ("\n"); + + #define WAIT 5 /* seconds */ + #define MAX_THREADS 10 +@@ -124,10 +124,10 @@ + DEBUG_MSG (("[unused] stopping unused threads")); + g_thread_pool_stop_unused_threads (); + +- DEBUG_MSG (("[unused] waiting ONE second for threads to die")); ++ DEBUG_MSG (("[unused] waiting FIVE second for threads to die")); + + /* Some time for threads to die. */ +- g_usleep (G_USEC_PER_SEC); ++ g_usleep (5 * G_USEC_PER_SEC); + + DEBUG_MSG (("[unused] stopped idle threads, %d remain, %d threads still exist", + g_thread_pool_get_num_unused_threads (),
recipes/glib-2.0/glib-2.0-2.28.0/configure-ipv6.patch new file +92 -0
92 lines not on this page · raw message
recipes/glib-2.0/glib-2.0-2.28.0/configure-libtool.patch new file +30 -0
@@ -0,0 +1,30 @@ +diff -uNr glib-2.28.0.orig//configure.ac glib-2.28.0/configure.ac +--- glib-2.28.0.orig//configure.ac 2011-02-08 05:53:25.000000000 +0100 ++++ glib-2.28.0/configure.ac 2011-02-15 15:07:54.683976837 +0100 +@@ -1378,7 +1378,7 @@ + G_MODULE_LDFLAGS= + else + export SED +- G_MODULE_LDFLAGS=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` ++ G_MODULE_LDFLAGS=`($host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` + fi + dnl G_MODULE_IMPL= don't reset, so cmd-line can override + G_MODULE_NEED_USCORE=0 +@@ -1443,7 +1443,7 @@ + LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS" + dnl *** check for OSF1/5.0 RTLD_GLOBAL brokenness + echo "void glib_plugin_test(void) { }" > plugin.c +- ${SHELL} ./libtool --mode=compile ${CC} -shared \ ++ ${SHELL} $host_alias-libtool --mode=compile ${CC} -shared \ + -export-dynamic -o plugin.o plugin.c 2>&1 >/dev/null + AC_CACHE_CHECK([for RTLD_GLOBAL brokenness], + glib_cv_rtldglobal_broken,[ +@@ -1517,7 +1517,7 @@ + + AC_MSG_CHECKING(for the suffix of module shared libraries) + export SED +-shrext_cmds=`./libtool --config | grep '^shrext_cmds='` ++shrext_cmds=`$host_alias-libtool --config | grep '^shrext_cmds='` + eval $shrext_cmds + module=yes eval std_shrext=$shrext_cmds + # chop the initial dot
recipes/glib-2.0/glib-2.0-2.28.0/g_once_init_enter.patch new file +11 -0
@@ -0,0 +1,11 @@ +--- glib-2.22.1/glib/gthread.h.orig 2009-10-13 22:53:23.000000000 +0200 ++++ glib-2.22.1/glib/gthread.h 2009-10-13 23:34:59.000000000 +0200 +@@ -341,7 +341,7 @@ + G_INLINE_FUNC gboolean + g_once_init_enter (volatile gsize *value_location) + { +- if G_LIKELY ((gpointer) g_atomic_pointer_get (value_location) != NULL) ++ if G_LIKELY ((gpointer) g_atomic_pointer_get ((volatile gpointer *)value_location) != NULL) + return FALSE; + else + return g_once_init_enter_impl (value_location);
recipes/glib-2.0/glib-2.0-2.28.0/gatomic-proper-pointer-get-cast.patch new file +12 -0
@@ -0,0 +1,12 @@ +diff -uri glib-2.26.1.orig/glib/gatomic.h glib-2.26.1/glib/gatomic.h +--- glib-2.26.1.orig/glib/gatomic.h 2010-07-11 05:56:45.000000000 +0200 ++++ glib-2.26.1/glib/gatomic.h 2010-12-01 16:20:33.140009635 +0100 +@@ -70,7 +70,7 @@ + (g_atomic_int_set) ((volatile gint G_GNUC_MAY_ALIAS *) (volatile void *) (atomic), (newval))) + # define g_atomic_pointer_get(atomic) \ + ((void) sizeof (gchar [sizeof (*(atomic)) == sizeof (gpointer) ? 1 : -1]), \ +- (g_atomic_pointer_get) ((volatile gpointer G_GNUC_MAY_ALIAS *) (volatile void *) (atomic))) ++ (g_atomic_pointer_get) ((volatile gpointer G_GNUC_MAY_ALIAS *) (volatile void G_GNUC_MAY_ALIAS *) (atomic))) + # define g_atomic_pointer_set(atomic, newval) \ + ((void) sizeof (gchar [sizeof (*(atomic)) == sizeof (gpointer) ? 1 : -1]), \ + (g_atomic_pointer_set) ((volatile gpointer G_GNUC_MAY_ALIAS *) (volatile void *) (atomic), (newval)))
recipes/glib-2.0/glib-2.0-2.28.0/libglib2-fix-compilation-with-no-builtin-atomic.patch new file +25 -0
@@ -0,0 +1,25 @@ +From 58096320ea0888c4fbbff318839017a4d2e82703 Mon Sep 17 00:00:00 2001 +From: Lionel Landwerlin <[email protected]> +Date: Sat, 6 Nov 2010 14:56:15 +0100 +Subject: [PATCH] glib: fix compilation with no builtin atomic operations compilers + +Signed-off-by: Lionel Landwerlin <[email protected]> +--- + glib/gatomic.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/glib/gatomic.c b/glib/gatomic.c +index 845c866..01468ce 100644 +--- a/glib/gatomic.c ++++ b/glib/gatomic.c +@@ -881,6 +881,7 @@ g_atomic_pointer_compare_and_exchange (volatile gpointer G_GNUC_MAY_ALIAS *atomi + #endif /* DEFINE_WITH_WIN32_INTERLOCKED */ + + #ifdef DEFINE_WITH_MUTEXES ++# include "gthread.h" + /* We have to use the slow, but safe locking method */ + static GMutex *g_atomic_mutex; + +-- +1.7.2.3 +
recipes/glib-2.0/glib-2.0_2.28.0.bb new file +74 -0
74 lines not on this page · raw message
Signature · 1 line
1.7.4.1