WPE WebKit
PATCH 1/1 WPE WebKit
Another port of WebKit (https://wpewebkit.org/), a project started in 2018.
Francois Perrad (5):
libwpe: new package
wpebackend-fdo: new package
webkitgtk: remove GTK in WEBKITGTK_ARCH_SUPPORTS* variable names
wpewebkit: new package
cog: new package
DEVELOPERS | 8 +++ package/Config.in | 4 ++ package/cog/Config.in | 20 ++++++ package/cog/cog.hash | 5 ++ package/cog/cog.mk | 24 +++++++ package/libwpe/Config.in | 13 ++++ package/libwpe/libwpe.hash | 7 ++ package/libwpe/libwpe.mk | 22 ++++++ package/midori/Config.in | 4 +- package/webkitgtk/Config.in | 8 +-- package/webkitgtk/webkitgtk.mk | 2 +- package/wpebackend-fdo/Config.in | 19 +++++ package/wpebackend-fdo/wpebackend-fdo.hash | 7 ++ package/wpebackend-fdo/wpebackend-fdo.mk | 15 ++++ package/wpewebkit/Config.in | 84 ++++++++++++++++++++++ package/wpewebkit/wpewebkit.hash | 8 +++ package/wpewebkit/wpewebkit.mk | 61 ++++++++++++++++ 17 files changed, 304 insertions(+), 7 deletions(-) create mode 100644 package/cog/Config.in create mode 100644 package/cog/cog.hash create mode 100644 package/cog/cog.mk create mode 100644 package/libwpe/Config.in create mode 100644 package/libwpe/libwpe.hash create mode 100644 package/libwpe/libwpe.mk create mode 100644 package/wpebackend-fdo/Config.in create mode 100644 package/wpebackend-fdo/wpebackend-fdo.hash create mode 100644 package/wpebackend-fdo/wpebackend-fdo.mk create mode 100644 package/wpewebkit/Config.in create mode 100644 package/wpewebkit/wpewebkit.hash create mode 100644 package/wpewebkit/wpewebkit.mk
Signature · 1 line
2.17.1
PATCH 1/1 libwpe: new package
--- DEVELOPERS | 2 ++ package/Config.in | 1 + package/libwpe/Config.in | 13 +++++++++++++ package/libwpe/libwpe.hash | 7 +++++++ package/libwpe/libwpe.mk | 22 ++++++++++++++++++++++ 5 files changed, 45 insertions(+) create mode 100644 package/libwpe/Config.in create mode 100644 package/libwpe/libwpe.hash create mode 100644 package/libwpe/libwpe.mk
DEVELOPERS +2 -0
@@ -67,6 +67,7 @@ F: package/sngrep/ N: Adrian Perez de Castro <[email protected]> F: package/brotli/ F: package/libepoxy/ +F: package/libwpe/ F: package/webkitgtk/ F: package/woff2/
@@ -810,6 +811,7 @@ F: package/gdbm/ F: package/libtomcrypt/ F: package/libtommath/ F: package/libump/ +F: package/libwpe/ F: package/linenoise/ F: package/ljlinenoise/ F: package/lpeg/
package/Config.in +1 -0
@@ -1284,6 +1284,7 @@ menu "Graphics" source "package/libva-intel-driver/Config.in" source "package/libvdpau/Config.in" source "package/libvips/Config.in" + source "package/libwpe/Config.in" source "package/menu-cache/Config.in" source "package/opencv/Config.in" source "package/opencv3/Config.in"
package/libwpe/Config.in new file +13 -0
@@ -0,0 +1,13 @@ +comment "libwpe needs a toolchain w/ C++, dynamic library and an OpenEGL-capable backend" + depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS + +config BR2_PACKAGE_LIBWPE + bool "libwpe" + depends on !BR2_STATIC_LIBS # dlfcn.h + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_PACKAGE_HAS_LIBEGL + select BR2_PACKAGE_LIBXKBCOMMON + help + Base library for the WPE WebKit port. + + https://wpewebkit.org/
package/libwpe/libwpe.hash new file +7 -0
@@ -0,0 +1,7 @@ +# From https://wpewebkit.org/releases/libwpe-1.0.0.tar.xz.sums +md5 b5ea32bd644811d5c6433cf1439763f7 libwpe-1.0.0.tar.xz +sha1 6e51591c00a9a6128e19920807e6874794c723fd libwpe-1.0.0.tar.xz +sha256 aff11612123f9ab85a8b9a4bcdfb3a7503eba0a0d2d96f2cdecd30e911091719 libwpe-1.0.0.tar.xz + +# Hashes for license files: +sha256 6efc9991641b47b1f4e727db7f090d0ade00117dcbbc74be622f2baceddb1f22 COPYING
package/libwpe/libwpe.mk new file +22 -0
@@ -0,0 +1,22 @@ +################################################################################ +# +# libwpe +# +################################################################################ + +LIBWPE_VERSION = 1.0.0 +LIBWPE_SITE = https://wpewebkit.org/releases +LIBWPE_SOURCE = libwpe-$(LIBWPE_VERSION).tar.xz +LIBWPE_INSTALL_STAGING = YES +LIBWPE_LICENSE = BSD-2-Clause +LIBWPE_LICENSE_FILES = COPYING +LIBWPE_DEPENDENCIES = libegl libxkbcommon + +# Workaround for https://github.com/raspberrypi/userland/issues/316 +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +LIBWPE_CONF_OPTS += \ + -DCMAKE_C_FLAGS='$(TARGET_CFLAGS) -D_GNU_SOURCE' \ + -DCMAKE_CXX_FLAGS='$(TARGET_CFLAGS) -D_GNU_SOURCE' +endif + +$(eval $(cmake-package))
Signature · 1 line
2.17.1
PATCH 1/1 wpebackend-fdo: new package
In reply to Francois Perrad--- DEVELOPERS | 2 ++ package/Config.in | 1 + package/wpebackend-fdo/Config.in | 19 +++++++++++++++++++ package/wpebackend-fdo/wpebackend-fdo.hash | 7 +++++++ package/wpebackend-fdo/wpebackend-fdo.mk | 15 +++++++++++++++ 5 files changed, 44 insertions(+) create mode 100644 package/wpebackend-fdo/Config.in create mode 100644 package/wpebackend-fdo/wpebackend-fdo.hash create mode 100644 package/wpebackend-fdo/wpebackend-fdo.mk
DEVELOPERS +2 -0
@@ -70,6 +70,7 @@ F: package/libepoxy/ F: package/libwpe/ F: package/webkitgtk/ F: package/woff2/ +F: package/wpebackend-fdo/ N: Adrien Gallou?t <[email protected]> F: package/bird/
@@ -830,6 +831,7 @@ F: package/qemu/ F: package/sdl2_mixer/ F: package/sdl2_net/ F: package/tekui/ +F: package/wpebackend-fdo/ F: package/wsapi-fcgi/ F: package/wsapi-xavante/ F: utils/scancpan
package/Config.in +1 -0
@@ -1303,6 +1303,7 @@ menu "Graphics" source "package/webkitgtk/Config.in" source "package/webp/Config.in" source "package/woff2/Config.in" + source "package/wpebackend-fdo/Config.in" source "package/zbar/Config.in" source "package/zxing-cpp/Config.in" endmenu
package/wpebackend-fdo/Config.in new file +19 -0
@@ -0,0 +1,19 @@ +comment "wpebackend-fdo needs a toolchain w/ C++, wchar, threads, dynamic library and an OpenEGL-capable backend" + depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \ + || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + +config BR2_PACKAGE_WPEBACKEND_FDO + bool "wpebackend-fdo" + depends on !BR2_STATIC_LIBS # dlfcn.h + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS # wayland + depends on BR2_USE_WCHAR # gettext + depends on BR2_USE_MMU # fork() + depends on BR2_PACKAGE_HAS_LIBEGL + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBWPE + select BR2_PACKAGE_WAYLAND + help + WPEBackend interface using freedesktop.org API. + + https://wpewebkit.org/
package/wpebackend-fdo/wpebackend-fdo.hash new file +7 -0
@@ -0,0 +1,7 @@ +# From https://wpewebkit.org/releases/wpebackend-fdo-1.0.0.tar.xz.sums +md5 5318728afb3bf7417293af67ce427963 wpebackend-fdo-1.0.0.tar.xz +sha1 7ee22bc1d585616f4ad2047d8be54ec396486211 wpebackend-fdo-1.0.0.tar.xz +sha256 7a747f87a1ae46d30144369050e3ce348b58986d04e1a139ba75c198fa636729 wpebackend-fdo-1.0.0.tar.xz + +# Hashes for license files: +sha256 c9f6803371047fad3e72200ec6cd226329a5ee08ac61104c8211c2761fb46825 COPYING
package/wpebackend-fdo/wpebackend-fdo.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# wpebackend-fdo +# +################################################################################ + +WPEBACKEND_FDO_VERSION = 1.0.0 +WPEBACKEND_FDO_SITE = https://wpewebkit.org/releases +WPEBACKEND_FDO_SOURCE = wpebackend-fdo-$(WPEBACKEND_FDO_VERSION).tar.xz +WPEBACKEND_FDO_INSTALL_STAGING = YES +WPEBACKEND_FDO_LICENSE = BSD-2-Clause +WPEBACKEND_FDO_LICENSE_FILES = COPYING +WPEBACKEND_FDO_DEPENDENCIES = libglib2 libwpe wayland + +$(eval $(cmake-package))
Signature · 1 line
2.17.1
PATCH 1/1 webkitgtk: remove GTK in WEBKITGTK_ARCH_SUPPORTS* variable names
In reply to Francois Perradthere are common for the GTK & WPE ports of WebKit
--- package/midori/Config.in | 4 ++-- package/webkitgtk/Config.in | 8 ++++---- package/webkitgtk/webkitgtk.mk | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-)
package/midori/Config.in +2 -2
@@ -1,5 +1,5 @@ comment "midori needs libgtk3 and a glibc toolchain w/ C++, gcc >= 6, host gcc >= 4.8" - depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS + depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS depends on !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_LIBGTK3 || \ !BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_6 || \ !BR2_TOOLCHAIN_USES_GLIBC
@@ -12,7 +12,7 @@ config BR2_PACKAGE_MIDORI depends on BR2_HOST_GCC_AT_LEAST_4_8 # webkitgtk -> icu depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6 # webkitgtk depends on BR2_TOOLCHAIN_USES_GLIBC # webkitgtk - depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS + depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS # GCR can only be used with the X11 backend select BR2_PACKAGE_GCR if BR2_PACKAGE_LIBGTK3_X11 select BR2_PACKAGE_GRANITE
package/webkitgtk/Config.in +4 -4
@@ -1,4 +1,4 @@ -config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS +config BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS bool # ARM needs BLX, so v5t+, BE completely untested so disabled default y if BR2_arm && !BR2_ARM_CPU_ARMV4
@@ -12,7 +12,7 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS_JIT +config BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS_JIT bool # ARM needs NEON for JIT. default y if BR2_ARM_CPU_HAS_NEON
@@ -29,7 +29,7 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS_JIT default y if BR2_mipsel && BR2_MIPS_CPU_MIPS32R5 comment "webkitgtk needs libgtk3 and a glibc toolchain w/ C++, gcc >= 6, host gcc >= 4.8" - depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS + depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ !BR2_TOOLCHAIN_USES_GLIBC || \ !BR2_HOST_GCC_AT_LEAST_4_8 || \
@@ -43,7 +43,7 @@ config BR2_PACKAGE_WEBKITGTK depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6 depends on BR2_TOOLCHAIN_USES_GLIBC depends on BR2_PACKAGE_LIBGTK3 - depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS + depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS select BR2_PACKAGE_CAIRO select BR2_PACKAGE_CAIRO_PNG select BR2_PACKAGE_ENCHANT
package/webkitgtk/webkitgtk.mk +1 -1
@@ -27,7 +27,7 @@ WEBKITGTK_CONF_OPTS = \ -DUSE_LIBHYPHEN=OFF \ -DUSE_WOFF2=ON -ifeq ($(BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS_JIT),y) +ifeq ($(BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS_JIT),y) WEBKITGTK_CONF_OPTS += -DENABLE_JIT=ON else WEBKITGTK_CONF_OPTS += -DENABLE_JIT=OFF
Signature · 1 line
2.17.1
PATCH 1/1 wpewebkit: new package
In reply to Francois Perrad--- DEVELOPERS | 2 + package/Config.in | 1 + package/wpewebkit/Config.in | 84 ++++++++++++++++++++++++++++++++ package/wpewebkit/wpewebkit.hash | 8 +++ package/wpewebkit/wpewebkit.mk | 61 +++++++++++++++++++++++ 5 files changed, 156 insertions(+) create mode 100644 package/wpewebkit/Config.in create mode 100644 package/wpewebkit/wpewebkit.hash create mode 100644 package/wpewebkit/wpewebkit.mk
DEVELOPERS +2 -0
@@ -71,6 +71,7 @@ F: package/libwpe/ F: package/webkitgtk/ F: package/woff2/ F: package/wpebackend-fdo/ +F: package/wpewebkit/ N: Adrien Gallou?t <[email protected]> F: package/bird/
@@ -832,6 +833,7 @@ F: package/sdl2_mixer/ F: package/sdl2_net/ F: package/tekui/ F: package/wpebackend-fdo/ +F: package/wpewebkit/ F: package/wsapi-fcgi/ F: package/wsapi-xavante/ F: utils/scancpan
package/Config.in +1 -0
@@ -1304,6 +1304,7 @@ menu "Graphics" source "package/webp/Config.in" source "package/woff2/Config.in" source "package/wpebackend-fdo/Config.in" + source "package/wpewebkit/Config.in" source "package/zbar/Config.in" source "package/zxing-cpp/Config.in" endmenu
package/wpewebkit/Config.in new file +84 -0
84 lines not on this page · raw message
package/wpewebkit/wpewebkit.hash new file +8 -0
@@ -0,0 +1,8 @@ +# From https://wpewebkit.org/releases/wpewebkit-2.22.3.tar.xz.sums +md5 6d0c693ea49a93fc9e701cf784245ea5 wpewebkit-2.22.3.tar.xz +sha1 d8a22bec787f38939c7922dc43bf27c9144cef74 wpewebkit-2.22.3.tar.xz +sha256 241f177cded1a4ba3088716650eaaac25588878882170789b3c630ac45dbb2fa wpewebkit-2.22.3.tar.xz + +# Hashes for license files: +sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE +sha256 f2b3bd09663381deb99721109d22b47af1213bb43007a8b56a06c6375c8050ce Source/WebCore/LICENSE-LGPL-2.1
package/wpewebkit/wpewebkit.mk new file +61 -0
61 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 1/1 cog: new package
In reply to Francois Perrad--- DEVELOPERS | 2 ++ package/Config.in | 1 + package/cog/Config.in | 20 ++++++++++++++++++++ package/cog/cog.hash | 5 +++++ package/cog/cog.mk | 24 ++++++++++++++++++++++++ 5 files changed, 52 insertions(+) create mode 100644 package/cog/Config.in create mode 100644 package/cog/cog.hash create mode 100644 package/cog/cog.mk
DEVELOPERS +2 -0
@@ -66,6 +66,7 @@ F: package/sngrep/ N: Adrian Perez de Castro <[email protected]> F: package/brotli/ +F: package/cog/ F: package/libepoxy/ F: package/libwpe/ F: package/webkitgtk/
@@ -807,6 +808,7 @@ F: configs/olimex_a20_olinuxino_* F: package/4th/ F: package/botan/ F: package/chipmunk/ +F: package/cog/ F: package/dado/ F: package/ficl/ F: package/gdbm/
package/Config.in +1 -0
@@ -259,6 +259,7 @@ endmenu menu "Graphic libraries and applications (graphic/text)" comment "Graphic applications" + source "package/cog/Config.in" source "package/fswebcam/Config.in" source "package/ghostscript/Config.in" source "package/glmark2/Config.in"
package/cog/Config.in new file +20 -0
@@ -0,0 +1,20 @@ +config BR2_PACKAGE_COG + bool "cog" + depends on BR2_PACKAGE_WPEWEBKIT + help + Single "window" launcher for the WebKit WPE port, and + helper library for implementing WPE launcher. It does + not provide any chrome, and is suitable to be used + as a Web application container. + +if BR2_PACKAGE_COG + +config BR2_PACKAGE_COG_PROGRAMS_HOME_URI + string "home uri" + default "https://wpewebkit.org" + help + Default URI to open when "cog" is launched. If an empty + string is used, there is no default and the URI to open + must be always specified in the command line. + +endif
package/cog/cog.hash new file +5 -0
@@ -0,0 +1,5 @@ +# Locally generated +sha256 562ad3db11c3340f62a51df1dba44c2acfb2cf3210b2ebd2c1e2d2284ba38c2c cog-1b83211d939c97f12331593217d2514e2e9cf0ba.tar.gz + +# Hashes for license files: +sha256 e6c42d93c68b292bcccf6d2ec3e13da85df90b718ba27c2c2a01053a9d009252 COPYING
package/cog/cog.mk new file +24 -0
@@ -0,0 +1,24 @@ +################################################################################ +# +# cog +# +################################################################################ + +COG_VERSION = 1b83211d939c97f12331593217d2514e2e9cf0ba +COG_SITE = $(call github,Igalia,cog,$(COG_VERSION)) +COG_DEPENDENCIES = wpewebkit wpebackend-fdo +COG_LICENSE = MIT +COG_LICENSE_FILES = COPYING +COG_CONF_OPTS = \ + -DCOG_BUILD_PROGRAMS=ON \ + -DCOG_PLATFORM_FDO=ON \ + -DCOG_HOME_URI='$(call qstrip,$(BR2_PACKAGE_COG_PROGRAMS_HOME_URI))' + +ifeq ($(BR2_PACKAGE_DBUS),y) +COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=ON +COG_DEPENDENCIES += dbus +else +COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=OFF +endif + +$(eval $(cmake-package))
Signature · 1 line
2.17.1
PATCH 1/1 WPE WebKit
In reply to Francois PerradHello,
+Adrian in Cc. Adrian, could you do a review of this patch series ?
Quoted 8 lines · Francois Perrad
Another port of WebKit (https://wpewebkit.org/), a project started in 2018.
Francois Perrad (5):
libwpe: new package
wpebackend-fdo: new package
webkitgtk: remove GTK in WEBKITGTK_ARCH_SUPPORTS* variable names
wpewebkit: new package
cog: new package
Fran?ois, what are the changes since the previous iteration ?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 WPE WebKit
In reply to Francois PerradHello Fran?ois,
Quoted 6 lines · Francois Perrad
Francois Perrad (5):
libwpe: new package
wpebackend-fdo: new package
webkitgtk: remove GTK in WEBKITGTK_ARCH_SUPPORTS* variable names
wpewebkit: new package
cog: new package
Also, the patches in your series are not numbered. Could you use "git format-patch -n" instead of "git format-patch -N", add a version prefix (with git format-patch -v2) and resend with a changelog ?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com