All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] webkitgtk: Add upstream patch to fix build problem
@ 2015-10-23 17:23 Pushpal Sidhu
  2015-10-23 17:41 ` Khem Raj
  2015-10-23 20:15 ` Burton, Ross
  0 siblings, 2 replies; 5+ messages in thread
From: Pushpal Sidhu @ 2015-10-23 17:23 UTC (permalink / raw)
  To: alexander.kanavin; +Cc: openembedded-core

From upstream webkit: fd15a368fa73fe08d91cc1dd7ef05c0c5a3ae851

Webkit will fail to compile under certain circumstances. Please see
https://bugs.webkit.org/show_bug.cgi?id=149172 for more details.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
---
 ...ailure-with-ACCELERATED_2D_CANVAS-when-ca.patch | 35 ++++++++++++++++++++++
 meta/recipes-sato/webkit/webkitgtk_2.8.5.bb        |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 meta/recipes-sato/webkit/files/0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch

diff --git a/meta/recipes-sato/webkit/files/0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch b/meta/recipes-sato/webkit/files/0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch
new file mode 100644
index 0000000..5d43e0f
--- /dev/null
+++ b/meta/recipes-sato/webkit/files/0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch
@@ -0,0 +1,35 @@
+From 6ea42d4fa6f3f6dd18c37cb7b6e1faea6afefba4 Mon Sep 17 00:00:00 2001
+From: "clopez@igalia.com" <clopez@igalia.com>
+Date: Tue, 15 Sep 2015 21:50:18 +0000
+Subject: [PATCH] [GTK] Build failure with ACCELERATED_2D_CANVAS when cairo-gl has
+ built with OpenGLESv2 support only.
+ https://bugs.webkit.org/show_bug.cgi?id=149172
+
+Reviewed by Martin Robinson.
+
+No new tests, no behavior change.
+
+* platform/graphics/glx/GLContextGLX.cpp:
+(WebCore::GLContextGLX::cairoDevice):
+
+git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+---
+ Source/WebCore/platform/graphics/glx/GLContextGLX.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp b/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
+index 7890d8d..4ed3a43 100644
+--- a/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
++++ b/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
+@@ -266,7 +266,7 @@ cairo_device_t* GLContextGLX::cairoDevice()
+     if (m_cairoDevice)
+         return m_cairoDevice;
+ 
+-#if ENABLE(ACCELERATED_2D_CANVAS)
++#if ENABLE(ACCELERATED_2D_CANVAS) && CAIRO_HAS_GLX_FUNCTIONS
+     m_cairoDevice = cairo_glx_device_create(sharedX11Display(), m_context);
+ #endif
+ 
+-- 
+2.6.2
+
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb b/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb
index e29666a..68634a9 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb
@@ -13,6 +13,7 @@ LIC_FILES_CHKSUM = "file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d842
 SRC_URI = "\
   http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
   file://0001-This-patch-fixes-a-command-line-that-is-too-long-ove.patch \
+  file://0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch \
   file://gcc5.patch \
   "
 SRC_URI[md5sum] = "df79991848a5096d3a75289ebce547ae"
-- 
2.6.2



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] webkitgtk: Add upstream patch to fix build problem
  2015-10-23 17:23 [PATCH] webkitgtk: Add upstream patch to fix build problem Pushpal Sidhu
@ 2015-10-23 17:41 ` Khem Raj
  2015-10-23 20:15 ` Burton, Ross
  1 sibling, 0 replies; 5+ messages in thread
From: Khem Raj @ 2015-10-23 17:41 UTC (permalink / raw)
  To: Pushpal Sidhu; +Cc: alexander.kanavin, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3189 bytes --]


> On Oct 23, 2015, at 10:23 AM, Pushpal Sidhu <psidhu@gateworks.com> wrote:
> 
> From upstream webkit: fd15a368fa73fe08d91cc1dd7ef05c0c5a3ae851
> 
> Webkit will fail to compile under certain circumstances. Please see
> https://bugs.webkit.org/show_bug.cgi?id=149172 for more details.


this is ok to install.

> 
> Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
> ---
> ...ailure-with-ACCELERATED_2D_CANVAS-when-ca.patch | 35 ++++++++++++++++++++++
> meta/recipes-sato/webkit/webkitgtk_2.8.5.bb        |  1 +
> 2 files changed, 36 insertions(+)
> create mode 100644 meta/recipes-sato/webkit/files/0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch
> 
> diff --git a/meta/recipes-sato/webkit/files/0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch b/meta/recipes-sato/webkit/files/0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch
> new file mode 100644
> index 0000000..5d43e0f
> --- /dev/null
> +++ b/meta/recipes-sato/webkit/files/0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch
> @@ -0,0 +1,35 @@
> +From 6ea42d4fa6f3f6dd18c37cb7b6e1faea6afefba4 Mon Sep 17 00:00:00 2001
> +From: "clopez@igalia.com" <clopez@igalia.com>
> +Date: Tue, 15 Sep 2015 21:50:18 +0000
> +Subject: [PATCH] [GTK] Build failure with ACCELERATED_2D_CANVAS when cairo-gl has
> + built with OpenGLESv2 support only.
> + https://bugs.webkit.org/show_bug.cgi?id=149172
> +
> +Reviewed by Martin Robinson.
> +
> +No new tests, no behavior change.
> +
> +* platform/graphics/glx/GLContextGLX.cpp:
> +(WebCore::GLContextGLX::cairoDevice):
> +
> +git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
> +---
> + Source/WebCore/platform/graphics/glx/GLContextGLX.cpp | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp b/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
> +index 7890d8d..4ed3a43 100644
> +--- a/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
> ++++ b/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
> +@@ -266,7 +266,7 @@ cairo_device_t* GLContextGLX::cairoDevice()
> +     if (m_cairoDevice)
> +         return m_cairoDevice;
> +
> +-#if ENABLE(ACCELERATED_2D_CANVAS)
> ++#if ENABLE(ACCELERATED_2D_CANVAS) && CAIRO_HAS_GLX_FUNCTIONS
> +     m_cairoDevice = cairo_glx_device_create(sharedX11Display(), m_context);
> + #endif
> +
> +--
> +2.6.2
> +
> diff --git a/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb b/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb
> index e29666a..68634a9 100644
> --- a/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb
> +++ b/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb
> @@ -13,6 +13,7 @@ LIC_FILES_CHKSUM = "file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d842
> SRC_URI = "\
>   http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
>   file://0001-This-patch-fixes-a-command-line-that-is-too-long-ove.patch \
> +  file://0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch \
>   file://gcc5.patch \
>   "
> SRC_URI[md5sum] = "df79991848a5096d3a75289ebce547ae"
> --
> 2.6.2
> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] webkitgtk: Add upstream patch to fix build problem
  2015-10-23 17:23 [PATCH] webkitgtk: Add upstream patch to fix build problem Pushpal Sidhu
  2015-10-23 17:41 ` Khem Raj
@ 2015-10-23 20:15 ` Burton, Ross
  2015-10-23 20:21   ` Pushpal Sidhu
  1 sibling, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2015-10-23 20:15 UTC (permalink / raw)
  To: Pushpal Sidhu; +Cc: Alexander Kanavin, OE-core

[-- Attachment #1: Type: text/plain, Size: 862 bytes --]

On 23 October 2015 at 18:23, Pushpal Sidhu <psidhu@gateworks.com> wrote:

> +From 6ea42d4fa6f3f6dd18c37cb7b6e1faea6afefba4 Mon Sep 17 00:00:00 2001
> +From: "clopez@igalia.com" <clopez@igalia.com>
> +Date: Tue, 15 Sep 2015 21:50:18 +0000
> +Subject: [PATCH] [GTK] Build failure with ACCELERATED_2D_CANVAS when
> cairo-gl has
> + built with OpenGLESv2 support only.
> + https://bugs.webkit.org/show_bug.cgi?id=149172
> +
> +Reviewed by Martin Robinson.
> +
> +No new tests, no behavior change.
> +
> +* platform/graphics/glx/GLContextGLX.cpp:
> +(WebCore::GLContextGLX::cairoDevice):
> +
> +git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189826
> 268f45cc-cd09-0410-ab3c-d52691b4dbfc
> +---
>

No Upstream-Status or Signed-off-by tags, and please explain at least a
little bit what the problem is in the commit message.

Ross

[-- Attachment #2: Type: text/html, Size: 1575 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] webkitgtk: Add upstream patch to fix build problem
  2015-10-23 20:15 ` Burton, Ross
@ 2015-10-23 20:21   ` Pushpal Sidhu
  2015-10-23 20:30     ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Pushpal Sidhu @ 2015-10-23 20:21 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Alexander Kanavin, OE-core

On Fri, Oct 23, 2015 at 1:15 PM, Burton, Ross <ross.burton@intel.com> wrote:
>
> On 23 October 2015 at 18:23, Pushpal Sidhu <psidhu@gateworks.com> wrote:
>>
>> +From 6ea42d4fa6f3f6dd18c37cb7b6e1faea6afefba4 Mon Sep 17 00:00:00 2001
>> +From: "clopez@igalia.com" <clopez@igalia.com>
>> +Date: Tue, 15 Sep 2015 21:50:18 +0000
>> +Subject: [PATCH] [GTK] Build failure with ACCELERATED_2D_CANVAS when
>> cairo-gl has
>> + built with OpenGLESv2 support only.
>> + https://bugs.webkit.org/show_bug.cgi?id=149172
>> +
>> +Reviewed by Martin Robinson.
>> +
>> +No new tests, no behavior change.
>> +
>> +* platform/graphics/glx/GLContextGLX.cpp:
>> +(WebCore::GLContextGLX::cairoDevice):
>> +
>> +git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189826
>> 268f45cc-cd09-0410-ab3c-d52691b4dbfc
>> +---
>
>
> No Upstream-Status or Signed-off-by tags, and please explain at least a
> little bit what the problem is in the commit message.
>
> Ross

The patch is from a git format-patch, so the original commiter didn't
do a sign-off. However, because I backported this patch, I supposed I
can add my own name and extend the original patch's commit message to
include Upstream-Status and add info on the problem. Will that work
for you?

- Pushpal


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] webkitgtk: Add upstream patch to fix build problem
  2015-10-23 20:21   ` Pushpal Sidhu
@ 2015-10-23 20:30     ` Burton, Ross
  0 siblings, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2015-10-23 20:30 UTC (permalink / raw)
  To: Pushpal Sidhu; +Cc: Alexander Kanavin, OE-core

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

On 23 October 2015 at 21:21, Pushpal Sidhu <psidhu@gateworks.com> wrote:

> The patch is from a git format-patch, so the original commiter didn't
> do a sign-off. However, because I backported this patch, I supposed I
> can add my own name and extend the original patch's commit message to
> include Upstream-Status and add info on the problem. Will that work
> for you?
>

Yes, that's exactly what is expected - we need to know in the patch itself
who is signing off on it being added to oe-core.

http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines

Ross

[-- Attachment #2: Type: text/html, Size: 1272 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-23 20:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-23 17:23 [PATCH] webkitgtk: Add upstream patch to fix build problem Pushpal Sidhu
2015-10-23 17:41 ` Khem Raj
2015-10-23 20:15 ` Burton, Ross
2015-10-23 20:21   ` Pushpal Sidhu
2015-10-23 20:30     ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.