Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/5] package/wpewebkit: bump to version 2.24.1
Date: Wed, 15 May 2019 16:05:30 +0200	[thread overview]
Message-ID: <20190515160530.234d9212@windsurf> (raw)
In-Reply-To: <20190515145239.GB9191@momiji>

Hello,

Adding Peter in Cc. I know he'll like it :-)

Adding Yann in Cc. I know he won't like it :-)

On Wed, 15 May 2019 14:52:39 +0300
Adrian Perez de Castro <aperez@igalia.com> wrote:


> > openjpeg is an optional dependency
> > 
> > ifeq ($(BR2_PACKAGE_OPENJPEG),y)
> > WPEWEBKIT_CONF_OPTS += -DUSE_OPENJPEG=ON
> > WPEWEBKIT_DEPENDENCIES += openjpeg
> > else
> > WPEWEBKIT_CONF_OPTS += -DUSE_OPENJPEG=OFF
> > endif  
> 
> While it is indeed possible to build without OpenJPEG, with my WebKit
> developer hat I have to strongly recommend to make it required: many websites
> will silently fail to show images without this enabled, and that's the reason
> why I have selected the dependency unconditionally.
> 
> For the record: I did a quick check and in my work system (x86_64) the
> ?libopenjp2.so? library is only 365 KiB, which is peanuts compared to the size
> of ?libWPEWebKit.so?. Moreover, the openjpeg package can be built in every
> platform where wpewebkit is supported, therefore I think it is worth it to
> leave the dependency unconditionally enabled.

Perhaps this is one situation where we could make good use of the
"imply" kconfig keyword ?

BR2_PACKAGE_WEBKIT would do an "imply BR2_PACKAGE_OPENJPEG". This way
by default OpenJPEG is automatically enabled by WPE Webkit, but we
still allow the user to disable OpenJPEG if he really wants it.

That allows to comply with the Buildroot principle of "make everything
optional really optional" while offering a good out-of-the-box
experience.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2019-05-15 14:05 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-14 11:41 [Buildroot] [PATCH 0/5] Update WPE WebKit to 2.24.x Adrian Perez de Castro
2019-05-14 11:41 ` [Buildroot] [PATCH 1/5] package/libwpe: bump to version 1.2.0 Adrian Perez de Castro
2019-05-15  6:52   ` François Perrad
2019-05-20 19:32   ` Thomas Petazzoni
2019-05-14 11:41 ` [Buildroot] [PATCH 2/5] package/wpebackend-fdo: " Adrian Perez de Castro
2019-05-15  6:53   ` François Perrad
2019-05-15 18:07     ` Adrian Perez de Castro
2019-05-16 11:32       ` Adrian Perez de Castro
2019-05-20 19:33   ` Thomas Petazzoni
2019-05-14 11:41 ` [Buildroot] [PATCH 3/5] package/libepoxy: update to version 1.5.3, convert to Meson Adrian Perez de Castro
2019-05-20 19:33   ` Thomas Petazzoni
2019-05-14 11:41 ` [Buildroot] [PATCH 4/5] package/wpewebkit: bump to version 2.24.1 Adrian Perez de Castro
2019-05-15  6:55   ` François Perrad
2019-05-15 11:52     ` Adrian Perez de Castro
2019-05-15 14:05       ` Thomas Petazzoni [this message]
2019-05-15 18:11         ` Adrian Perez de Castro
2019-05-15 19:53           ` Yann E. MORIN
2019-05-15 21:15             ` Adrian Perez de Castro
2019-05-16 19:07               ` Yann E. MORIN
2019-05-17 15:36                 ` Adrian Perez de Castro
2019-05-14 11:41 ` [Buildroot] [PATCH 5/5] package/cog: bump version to 0.3.0 Adrian Perez de Castro
2019-05-14 20:33   ` Adrian Perez de Castro
2019-05-14 21:36     ` Arnout Vandecappelle
2019-05-15 18:50       ` Adrian Perez de Castro
2019-05-20 21:40 ` [Buildroot] [PATCH/next v2 0/3] Update WPE WebKit to 2.24.x Adrian Perez de Castro
2019-05-20 21:40   ` [Buildroot] [PATCH/next v2 1/3] package/wpebackend-fdo: bump to version 1.2.0 Adrian Perez de Castro
2019-05-21 18:11     ` François Perrad
2019-05-26 12:35     ` Thomas Petazzoni
2019-05-27 10:29       ` Adrian Perez de Castro
2019-05-20 21:40   ` [Buildroot] [PATCH/next v2 2/3] package/wpewebkit: bump to version 2.24.2 Adrian Perez de Castro
2019-05-21 18:12     ` François Perrad
2019-05-20 21:40   ` [Buildroot] [PATCH/next v2 3/3] package/cog: bump version to 0.3.0 Adrian Perez de Castro
2019-05-21 18:12     ` François Perrad

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=20190515160530.234d9212@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