From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 3/4] wpewebkit: new package
Date: Mon, 11 Feb 2019 22:34:54 +0100 [thread overview]
Message-ID: <20190211223454.7ebe7cb1@windsurf> (raw)
In-Reply-To: <20190205204152.10376-4-francois.perrad@gadz.org>
Hello,
On Tue, 5 Feb 2019 21:41:51 +0100
Francois Perrad <fperrad@gmail.com> wrote:
> +comment "wpewebkit needs an OpenGL ES w/ EGL backend"
This comment lacked a:
depends BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
depends on !BR2_BINFMT_FLAT
> + depends on !BR2_PACKAGE_HAS_LIBGLES || !BR2_PACKAGE_HAS_LIBEGL
There was no comment about all the other "depends on" that you have
below, so I fixed that.
> +config BR2_PACKAGE_WPEWEBKIT
> + bool "wpewebkit"
> + depends on !BR2_STATIC_LIBS # dlfcn.h
> + depends on !BR2_BINFMT_FLAT # icu
> + depends on BR2_INSTALL_LIBSTDCPP # icu
> + depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
> + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
> + depends on BR2_USE_WCHAR # gettext
> + depends on BR2_PACKAGE_HAS_LIBGLES
> + depends on BR2_PACKAGE_HAS_LIBEGL
> + depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
I fixed this to:
+ depends on !BR2_STATIC_LIBS # wayland
+ depends on !BR2_BINFMT_FLAT # icu
+ depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu
+ depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
+ depends on BR2_HOST_GCC_AT_LEAST_4_8 # icu
+ depends on BR2_USE_WCHAR # icu, libsoup
+ depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy
+ depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy
+ depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
i.e, mainly BR2_HOST_GCC_AT_LEAST_4_8 was missing, and I changed the
comments to be more relevant (IMO).
> + select BR2_PACKAGE_CAIRO
> + select BR2_PACKAGE_CAIRO_PNG
> + select BR2_PACKAGE_HARFBUZZ
> + select BR2_PACKAGE_ICU
> + select BR2_PACKAGE_JPEG
> + select BR2_PACKAGE_LIBEPOXY
> + select BR2_PACKAGE_LIBGCRYPT
> + select BR2_PACKAGE_LIBPNG
> + select BR2_PACKAGE_LIBSOUP
> + select BR2_PACKAGE_LIBTASN1
> + select BR2_PACKAGE_LIBXSLT
> + select BR2_PACKAGE_WAYLAND_PROTOCOLS
You can't select this package without selecting BR2_PACKAGE_WAYLAND. I
know wpebackend-fdo selects wayland, but to me it looks more obvious if
we also select BR2_PACKAGE_WAYLAND here.
> +WPEWEBKIT_CONF_OPTS = \
> + -DPORT=WPE \
> + -DENABLE_API_TESTS=OFF \
> + -DENABLE_MINIBROWSER=OFF
> +
> +ifeq ($(BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS_JIT),y)
> +WEBKITGTK_CONF_OPTS += -DENABLE_JIT=ON
> +else
> +WEBKITGTK_CONF_OPTS += -DENABLE_JIT=OFF
Notice the bad copy/paste here ? It should be WPEWEBKIT_CONF_OPTS, not
WEBKITGTK_CONF_OPTS.
I fixed up this issue and the minor nits above and applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-02-11 21:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-05 20:41 [Buildroot] [PATCH v2 0/4] WPE WebKit Francois Perrad
2019-02-05 20:41 ` [Buildroot] [PATCH v2 1/4] libwpe: new package Francois Perrad
2019-02-05 20:41 ` [Buildroot] [PATCH v2 2/4] wpebackend-fdo: " Francois Perrad
2019-02-11 21:31 ` Thomas Petazzoni
2019-02-05 20:41 ` [Buildroot] [PATCH v2 3/4] wpewebkit: " Francois Perrad
2019-02-05 21:40 ` Adrian Perez de Castro
2019-02-11 21:34 ` Thomas Petazzoni [this message]
2019-02-05 20:41 ` [Buildroot] [PATCH v2 4/4] cog: " Francois Perrad
2019-02-05 21:40 ` Adrian Perez de Castro
2019-02-11 21:36 ` Thomas Petazzoni
2019-02-05 21:42 ` [Buildroot] [PATCH v2 0/4] WPE WebKit Adrian Perez de Castro
2019-02-11 21:29 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190211223454.7ebe7cb1@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox