[OE-core] [PATCH] webkitgtk: Add a recommends on shared-mime-info.

Jussi Kukkonen jussi.kukkonen at intel.com
Fri Aug 18 06:38:23 UTC 2017


On 17 August 2017 at 21:26, Carlos Alberto Lopez Perez <clopez at igalia.com>
wrote:

>  * without this package installed any WebKitGTK+ based browser
>    will fail to correctly open html files (and other files)
>    from disk (file:// URIs). It will open them as plain txt files.
>
> Signed-off-by: Carlos Alberto Lopez Perez <clopez at igalia.com>
> ---
>  meta/recipes-sato/webkit/webkitgtk_2.16.6.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-sato/webkit/webkitgtk_2.16.6.bb
> b/meta/recipes-sato/webkit/webkitgtk_2.16.6.bb
> index 387965970e..df355d29ba 100644
> --- a/meta/recipes-sato/webkit/webkitgtk_2.16.6.bb
> +++ b/meta/recipes-sato/webkit/webkitgtk_2.16.6.bb
> @@ -98,7 +98,7 @@ SECURITY_CFLAGS_append_aarch64 = " -fPIE"
>
>  FILES_${PN} += "${libdir}/webkit2gtk-4.0/injected-bundle/
> libwebkit2gtkinjectedbundle.so"
>
> -RRECOMMENDS_${PN} += "ca-certificates"
> +RRECOMMENDS_${PN} += "ca-certificates shared-mime-info"


This isn't wrong , I'll just add some context.

If/when my gdk-pixbuf patch from three days ago lands gdk-pixbuf will
always rdepend on shared-mime-info (and webkitgtk probably can't be
installed without gdk-pixbuf) so the problem would disappear anyway. This
just a happy accident so this patch still seems valid.

There's also https://bugzilla.yoctoproject.org/show_bug.cgi?id=11792 about
whether glib should bring in shared-mime-info so GIO file sniffing wouldn't
be broken (the database is 3.6MB which is not a big number in a webkit
context but can be for others).

Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170818/5efbbcd7/attachment-0002.html>


More information about the Openembedded-core mailing list