Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/1] Select libgcrypt along with webkitgtk
@ 2017-07-05 19:46 Adrian Perez de Castro
  2017-07-05 19:46 ` [Buildroot] [PATCH 1/1] webkitgtk: select libgcrypt Adrian Perez de Castro
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Perez de Castro @ 2017-07-05 19:46 UTC (permalink / raw)
  To: buildroot

Hi,

While making a completely clean build starting from raspberrypi3_defconfig,
I've noticed that libgcrypt is not automatically chosen -- and it should be!
Probably in many cases when people build WebKitGTK+ they also choose other
packages that need libgcrypt and the issue went unnoticed.

(It seems maybe it was a good idea to get serious and give it a try to poke
at the webkitgtk package :-P)

Greetings,


Adrian Perez de Castro (1):
  webkitgtk: select libgcrypt

 package/webkitgtk/Config.in    | 1 +
 package/webkitgtk/webkitgtk.mk | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.13.2

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

* [Buildroot] [PATCH 1/1] webkitgtk: select libgcrypt
  2017-07-05 19:46 [Buildroot] [PATCH 0/1] Select libgcrypt along with webkitgtk Adrian Perez de Castro
@ 2017-07-05 19:46 ` Adrian Perez de Castro
  2017-07-05 20:23   ` Arnout Vandecappelle
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Adrian Perez de Castro @ 2017-07-05 19:46 UTC (permalink / raw)
  To: buildroot

Libgrcrypt is a direct dependency of WebKitGTK+, and as such it
should be selected.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
 package/webkitgtk/Config.in    | 1 +
 package/webkitgtk/webkitgtk.mk | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in
index 0754fe5123..47672045d9 100644
--- a/package/webkitgtk/Config.in
+++ b/package/webkitgtk/Config.in
@@ -32,6 +32,7 @@ config BR2_PACKAGE_WEBKITGTK
 	select BR2_PACKAGE_HARFBUZZ
 	select BR2_PACKAGE_ICU
 	select BR2_PACKAGE_JPEG
+	select BR2_PACKAGE_LIBGCRYPT
 	select BR2_PACKAGE_LIBSECRET
 	select BR2_PACKAGE_LIBSOUP
 	select BR2_PACKAGE_LIBXML2
diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk
index cc8d960e47..ef20839f92 100644
--- a/package/webkitgtk/webkitgtk.mk
+++ b/package/webkitgtk/webkitgtk.mk
@@ -13,7 +13,7 @@ WEBKITGTK_LICENSE_FILES = \
 	Source/WebCore/LICENSE-APPLE \
 	Source/WebCore/LICENSE-LGPL-2.1
 WEBKITGTK_DEPENDENCIES = host-ruby host-flex host-bison host-gperf \
-	enchant harfbuzz icu jpeg libgtk3 libsecret libsoup \
+	enchant harfbuzz icu jpeg libgcrypt libgtk3 libsecret libsoup \
 	libxml2 libxslt sqlite webp
 WEBKITGTK_CONF_OPTS = \
 	-DENABLE_API_TESTS=OFF \
-- 
2.13.2

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

* [Buildroot] [PATCH 1/1] webkitgtk: select libgcrypt
  2017-07-05 19:46 ` [Buildroot] [PATCH 1/1] webkitgtk: select libgcrypt Adrian Perez de Castro
@ 2017-07-05 20:23   ` Arnout Vandecappelle
  2017-07-06 21:25   ` Thomas Petazzoni
  2017-07-19 14:05   ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2017-07-05 20:23 UTC (permalink / raw)
  To: buildroot



On 05-07-17 21:46, Adrian Perez de Castro wrote:
> Libgrcrypt is a direct dependency of WebKitGTK+, and as such it
> should be selected.
> 
> Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

 Thank you for your quick contributions!

 Regards,
 Arnout

> ---
>  package/webkitgtk/Config.in    | 1 +
>  package/webkitgtk/webkitgtk.mk | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in
> index 0754fe5123..47672045d9 100644
> --- a/package/webkitgtk/Config.in
> +++ b/package/webkitgtk/Config.in
> @@ -32,6 +32,7 @@ config BR2_PACKAGE_WEBKITGTK
>  	select BR2_PACKAGE_HARFBUZZ
>  	select BR2_PACKAGE_ICU
>  	select BR2_PACKAGE_JPEG
> +	select BR2_PACKAGE_LIBGCRYPT
>  	select BR2_PACKAGE_LIBSECRET
>  	select BR2_PACKAGE_LIBSOUP
>  	select BR2_PACKAGE_LIBXML2
> diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk
> index cc8d960e47..ef20839f92 100644
> --- a/package/webkitgtk/webkitgtk.mk
> +++ b/package/webkitgtk/webkitgtk.mk
> @@ -13,7 +13,7 @@ WEBKITGTK_LICENSE_FILES = \
>  	Source/WebCore/LICENSE-APPLE \
>  	Source/WebCore/LICENSE-LGPL-2.1
>  WEBKITGTK_DEPENDENCIES = host-ruby host-flex host-bison host-gperf \
> -	enchant harfbuzz icu jpeg libgtk3 libsecret libsoup \
> +	enchant harfbuzz icu jpeg libgcrypt libgtk3 libsecret libsoup \
>  	libxml2 libxslt sqlite webp
>  WEBKITGTK_CONF_OPTS = \
>  	-DENABLE_API_TESTS=OFF \
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

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

* [Buildroot] [PATCH 1/1] webkitgtk: select libgcrypt
  2017-07-05 19:46 ` [Buildroot] [PATCH 1/1] webkitgtk: select libgcrypt Adrian Perez de Castro
  2017-07-05 20:23   ` Arnout Vandecappelle
@ 2017-07-06 21:25   ` Thomas Petazzoni
  2017-07-19 14:05   ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2017-07-06 21:25 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed,  5 Jul 2017 22:46:53 +0300, Adrian Perez de Castro wrote:
> Libgrcrypt is a direct dependency of WebKitGTK+, and as such it
> should be selected.
> 
> Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
> ---
>  package/webkitgtk/Config.in    | 1 +
>  package/webkitgtk/webkitgtk.mk | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)

When you select a package, you must replicate its dependencies. So in
this case, when you add "select BR2_PACKAGE_LIBGCRYPT", you must add
"depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS".

Of course, the set of architectures supported by WebKitGTK+ is probably
already smaller than the set of architectures supported by
libgpg-error, but for consistency reasons, replicating the dependency
is recommended.

I've applied your patch after addressing this issue. Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 1/1] webkitgtk: select libgcrypt
  2017-07-05 19:46 ` [Buildroot] [PATCH 1/1] webkitgtk: select libgcrypt Adrian Perez de Castro
  2017-07-05 20:23   ` Arnout Vandecappelle
  2017-07-06 21:25   ` Thomas Petazzoni
@ 2017-07-19 14:05   ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2017-07-19 14:05 UTC (permalink / raw)
  To: buildroot

>>>>> "Adrian" == Adrian Perez de Castro <aperez@igalia.com> writes:

 > Libgrcrypt is a direct dependency of WebKitGTK+, and as such it
 > should be selected.

 > Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>

Committed to 2017.02.x and 2017.05.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2017-07-19 14:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-05 19:46 [Buildroot] [PATCH 0/1] Select libgcrypt along with webkitgtk Adrian Perez de Castro
2017-07-05 19:46 ` [Buildroot] [PATCH 1/1] webkitgtk: select libgcrypt Adrian Perez de Castro
2017-07-05 20:23   ` Arnout Vandecappelle
2017-07-06 21:25   ` Thomas Petazzoni
2017-07-19 14:05   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox