All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/wpewebkit: bump to version 2.36.2
@ 2022-05-18 14:19 Adrian Perez de Castro
  2022-05-19 16:31 ` François Perrad
  0 siblings, 1 reply; 12+ messages in thread
From: Adrian Perez de Castro @ 2022-05-18 14:19 UTC (permalink / raw)
  To: buildroot; +Cc: Adrian Perez de Castro

Bugfix release, mostly with build fixes, and an important fix for
when using threaded rendering. Release notes:

  https://wpewebkit.org/release/wpewebkit-2.36.2.html

This release fails to build when X11 headers are not present, but there
is already a fix accepted upstream and slated for inclusion in the next
release in the series, so in the meantime imported it locally.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
 ...GLE-with-the-EGL_NO_PLATFORM_SPECIFI.patch | 39 +++++++++++++++++++
 package/wpewebkit/wpewebkit.hash              |  8 ++--
 package/wpewebkit/wpewebkit.mk                |  2 +-
 3 files changed, 44 insertions(+), 5 deletions(-)
 create mode 100644 package/wpewebkit/0001-GTK-WPE-Build-ANGLE-with-the-EGL_NO_PLATFORM_SPECIFI.patch

diff --git a/package/wpewebkit/0001-GTK-WPE-Build-ANGLE-with-the-EGL_NO_PLATFORM_SPECIFI.patch b/package/wpewebkit/0001-GTK-WPE-Build-ANGLE-with-the-EGL_NO_PLATFORM_SPECIFI.patch
new file mode 100644
index 0000000000..0b6dd9bcb1
--- /dev/null
+++ b/package/wpewebkit/0001-GTK-WPE-Build-ANGLE-with-the-EGL_NO_PLATFORM_SPECIFI.patch
@@ -0,0 +1,39 @@
+From 32135a4af7c2ea1db2ea528df9af0a331ca88dba Mon Sep 17 00:00:00 2001
+From: "zan@falconsigh.net"
+ <zan@falconsigh.net@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
+Date: Tue, 12 Apr 2022 06:34:44 +0000
+Subject: [PATCH] [GTK][WPE] Build ANGLE with the
+ EGL_NO_PLATFORM_SPECIFIC_TYPES define
+ https://bugs.webkit.org/show_bug.cgi?id=239039
+
+Reviewed by Adrian Perez de Castro.
+
+Specify the EGL_NO_PLATFORM_SPECIFIC_TYPES define when building ANGLE
+subproject for the GTK and WPE ports. This should avoid searching for
+platform-specific headers that might not be available at all during
+build, e.g. the X11 headers which are used by default on UNIX platforms.
+
+* PlatformGTK.cmake:
+* PlatformWPE.cmake:
+
+Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
+Upstream status: https://bugs.webkit.org/show_bug.cgi?id=239039
+---
+ Source/ThirdParty/ANGLE/ChangeLog         | 15 +++++++++++++++
+ Source/ThirdParty/ANGLE/PlatformGTK.cmake |  2 +-
+ Source/ThirdParty/ANGLE/PlatformWPE.cmake |  2 +-
+ 3 files changed, 17 insertions(+), 2 deletions(-)
+
+diff --git a/Source/ThirdParty/ANGLE/PlatformWPE.cmake b/Source/ThirdParty/ANGLE/PlatformWPE.cmake
+index a4d0b959c62..8f5bff7f19a 100644
+--- a/Source/ThirdParty/ANGLE/PlatformWPE.cmake
++++ b/Source/ThirdParty/ANGLE/PlatformWPE.cmake
+@@ -1,4 +1,4 @@
+-list(APPEND ANGLE_DEFINITIONS ANGLE_PLATFORM_LINUX)
++list(APPEND ANGLE_DEFINITIONS ANGLE_PLATFORM_LINUX EGL_NO_PLATFORM_SPECIFIC_TYPES)
+ include(linux.cmake)
+ 
+ if (USE_OPENGL)
+-- 
+2.36.1
+
diff --git a/package/wpewebkit/wpewebkit.hash b/package/wpewebkit/wpewebkit.hash
index 3923c32111..d509ab091f 100644
--- a/package/wpewebkit/wpewebkit.hash
+++ b/package/wpewebkit/wpewebkit.hash
@@ -1,7 +1,7 @@
-# From https://wpewebkit.org/releases/wpewebkit-2.36.1.tar.xz.sums
-md5  7ba1c7fd0f67891ad137d11cac12f7a9  wpewebkit-2.36.1.tar.xz
-sha1  0918a4daded01f42e65ec02a69f21cd6705311db  wpewebkit-2.36.1.tar.xz
-sha256  ec83d8b2f8c3479ce9950d69440f3b9876ab70200fe6f4e07686054a0cba5723  wpewebkit-2.36.1.tar.xz
+# From https://wpewebkit.org/releases/wpewebkit-2.36.2.tar.xz.sums
+md5  bcfb465ae085835ae96c68fddc85ca44  wpewebkit-2.36.2.tar.xz
+sha1  1a5a6b7b5e94f4ea7e3462d6bdb5de7efa678f74  wpewebkit-2.36.2.tar.xz
+sha256  959519562701e2005f2767a62e85977d6c3e65858709b376c89d8e33502febb9  wpewebkit-2.36.2.tar.xz
 
 # Hashes for license files:
 sha256  0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4  Source/WebCore/LICENSE-APPLE
diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk
index 9c9a9a2838..ca26cb3f65 100644
--- a/package/wpewebkit/wpewebkit.mk
+++ b/package/wpewebkit/wpewebkit.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WPEWEBKIT_VERSION = 2.36.1
+WPEWEBKIT_VERSION = 2.36.2
 WPEWEBKIT_SITE = http://www.wpewebkit.org/releases
 WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz
 WPEWEBKIT_INSTALL_STAGING = YES
-- 
2.36.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread
* Re: [Buildroot]  [PATCH 1/1] package/wpewebkit:  bump to version 2.36.2
@ 2022-06-12 18:17 Michael Nosthoff via buildroot
  0 siblings, 0 replies; 12+ messages in thread
From: Michael Nosthoff via buildroot @ 2022-06-12 18:17 UTC (permalink / raw)
  To: Adrian Perez de Castro; +Cc: André Zwing, buildroot

Hi Adrian,

On Saturday, June 11, 2022 02:06 CEST, Adrian Perez de Castro <aperez@igalia.com> wrote:

> 
> The patch I am working on still needs a bit of work [1], but in its
> current status it can already be used. I am attaching a version of it
> that will apply cleanly on top of the 2.36.3 release, which you can
> drop into the package/wpewebkit/ subdirectory of the Buildroot tree.
> 
thanks for the patch

> I hope this helps,

the old error is gone but unfortunately a new build error is now occuring:

In file included from platform/graphics/filters/software/FELightingSoftwareApplier.h:155,
                 from ./platform/graphics/filters/FELighting.cpp:31,
                 from ../../WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-38.cpp:3:
platform/graphics/cpu/arm/filters/FELightingNEON.h: In static member function ‘static void WebCore::FELightingSoftwareApplier::applyPlatformNeon(const WebCore::FELightingSoftwareApplier::LightingData&, const WebCore::LightSource::PaintingData&)’:
platform/graphics/cpu/arm/filters/FELightingNEON.h:99:46: warning: attribute ignored [-Wattributes]
   99 |     WebCore::FELightingFloatArgumentsForNeon alignas(16) floatArguments;
      |                                              ^~~~~~~
platform/graphics/cpu/arm/filters/FELightingNEON.h:99:46: note: an attribute that appertains to a type-specifier is ignored
platform/graphics/cpu/arm/filters/FELightingNEON.h:101:22: error: ‘JSC::Uint8ClampedArray’ {aka ‘class JSC::GenericTypedArrayView<JSC::Uint8ClampedAdaptor>’} has no member named ‘bytes’
  101 |         data.pixels->bytes(),
      |                      ^~~~~
make[4]: *** [Source/WebCore/CMakeFiles/WebCore.dir/build.make:9455: Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-38.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....

(I just saw that Andre already mentioned that on the github PR)

further the error requiring to start the build twice is still there:

make[4]: *** No rule to make target 'Source/JavaScriptCore/CMakeFiles/LowLevelInterpreterLib.dir/llint/LowLevelInterpreter.cpp.o', needed by 'bin/jsc'.  Stop.

Tested with my local config (which uses the latest TI SGX driver for AM54xx which is not part of buildroot) as well
as the raspberry pi 4 defconfig i sent before.

Regards,
Michael

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-06-12 18:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 14:19 [Buildroot] [PATCH 1/1] package/wpewebkit: bump to version 2.36.2 Adrian Perez de Castro
2022-05-19 16:31 ` François Perrad
2022-05-19 17:12   ` Adrian Perez de Castro
2022-05-24 10:25     ` Michael Nosthoff via buildroot
2022-05-30 22:18       ` Adrian Perez de Castro
2022-05-31  9:14         ` Michael Nosthoff via buildroot
2022-06-01  7:39           ` Adrian Perez de Castro
2022-06-01 14:18             ` Adrian Perez de Castro
2022-06-11  0:06               ` Adrian Perez de Castro
2022-06-11  9:14                 ` André Zwing
2022-05-30 22:06     ` Adrian Perez de Castro
2022-06-12 18:17 Michael Nosthoff via buildroot

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.