diff mbox series

[RFC/next,1/4] package/webkit: new home for GTK and WPE WebKit components

Message ID 20190218171719.18721-2-aperez@igalia.com
State Rejected
Headers show
Series Unify configuration/makefiles for the GTK and WPE WebKit packages | expand

Commit Message

Adrian Perez de Castro Feb. 18, 2019, 5:17 p.m. UTC
Move the packages related to the GTK and WPE WebKit ports (webkitgtk,
libwpe, wpewebkit, wpebackend-fdo) under a new package/webkit/
subbdirectory as the first step to unify some of their configuration.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
 package/Config.in                                       | 8 ++++----
 package/{ => webkit}/libwpe/Config.in                   | 0
 package/{ => webkit}/libwpe/libwpe.hash                 | 0
 package/{ => webkit}/libwpe/libwpe.mk                   | 0
 package/webkit/webkit.mk                                | 7 +++++++
 package/{ => webkit}/webkitgtk/Config.in                | 0
 package/{ => webkit}/webkitgtk/webkitgtk.hash           | 0
 package/{ => webkit}/webkitgtk/webkitgtk.mk             | 0
 package/{ => webkit}/wpebackend-fdo/Config.in           | 0
 package/{ => webkit}/wpebackend-fdo/wpebackend-fdo.hash | 0
 package/{ => webkit}/wpebackend-fdo/wpebackend-fdo.mk   | 0
 package/{ => webkit}/wpewebkit/Config.in                | 0
 package/{ => webkit}/wpewebkit/wpewebkit.hash           | 0
 package/{ => webkit}/wpewebkit/wpewebkit.mk             | 0
 14 files changed, 11 insertions(+), 4 deletions(-)
 rename package/{ => webkit}/libwpe/Config.in (100%)
 rename package/{ => webkit}/libwpe/libwpe.hash (100%)
 rename package/{ => webkit}/libwpe/libwpe.mk (100%)
 create mode 100644 package/webkit/webkit.mk
 rename package/{ => webkit}/webkitgtk/Config.in (100%)
 rename package/{ => webkit}/webkitgtk/webkitgtk.hash (100%)
 rename package/{ => webkit}/webkitgtk/webkitgtk.mk (100%)
 rename package/{ => webkit}/wpebackend-fdo/Config.in (100%)
 rename package/{ => webkit}/wpebackend-fdo/wpebackend-fdo.hash (100%)
 rename package/{ => webkit}/wpebackend-fdo/wpebackend-fdo.mk (100%)
 rename package/{ => webkit}/wpewebkit/Config.in (100%)
 rename package/{ => webkit}/wpewebkit/wpewebkit.hash (100%)
 rename package/{ => webkit}/wpewebkit/wpewebkit.mk (100%)

Comments

Francois Perrad Feb. 22, 2019, 10:40 a.m. UTC | #1
Le lun. 18 févr. 2019 à 18:17, Adrian Perez de Castro <aperez@igalia.com> a
écrit :

> Move the packages related to the GTK and WPE WebKit ports (webkitgtk,
> libwpe, wpewebkit, wpebackend-fdo) under a new package/webkit/
> subbdirectory as the first step to unify some of their configuration.
>
>
Moving packages into a subdirectory is discouraged,
see https://buildroot.org/downloads/manual/manual.html#_package_directory

François


> Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
> ---
>  package/Config.in                                       | 8 ++++----
>  package/{ => webkit}/libwpe/Config.in                   | 0
>  package/{ => webkit}/libwpe/libwpe.hash                 | 0
>  package/{ => webkit}/libwpe/libwpe.mk                   | 0
>  package/webkit/webkit.mk                                | 7 +++++++
>  package/{ => webkit}/webkitgtk/Config.in                | 0
>  package/{ => webkit}/webkitgtk/webkitgtk.hash           | 0
>  package/{ => webkit}/webkitgtk/webkitgtk.mk             | 0
>  package/{ => webkit}/wpebackend-fdo/Config.in           | 0
>  package/{ => webkit}/wpebackend-fdo/wpebackend-fdo.hash | 0
>  package/{ => webkit}/wpebackend-fdo/wpebackend-fdo.mk   | 0
>  package/{ => webkit}/wpewebkit/Config.in                | 0
>  package/{ => webkit}/wpewebkit/wpewebkit.hash           | 0
>  package/{ => webkit}/wpewebkit/wpewebkit.mk             | 0
>  14 files changed, 11 insertions(+), 4 deletions(-)
>  rename package/{ => webkit}/libwpe/Config.in (100%)
>  rename package/{ => webkit}/libwpe/libwpe.hash (100%)
>  rename package/{ => webkit}/libwpe/libwpe.mk (100%)
>  create mode 100644 package/webkit/webkit.mk
>  rename package/{ => webkit}/webkitgtk/Config.in (100%)
>  rename package/{ => webkit}/webkitgtk/webkitgtk.hash (100%)
>  rename package/{ => webkit}/webkitgtk/webkitgtk.mk (100%)
>  rename package/{ => webkit}/wpebackend-fdo/Config.in (100%)
>  rename package/{ => webkit}/wpebackend-fdo/wpebackend-fdo.hash (100%)
>  rename package/{ => webkit}/wpebackend-fdo/wpebackend-fdo.mk (100%)
>  rename package/{ => webkit}/wpewebkit/Config.in (100%)
>  rename package/{ => webkit}/wpewebkit/wpewebkit.hash (100%)
>  rename package/{ => webkit}/wpewebkit/wpewebkit.mk (100%)
>
> diff --git a/package/Config.in b/package/Config.in
> index 420e6e95a3..65faf1fcd6 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1304,7 +1304,6 @@ 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"
> @@ -1320,11 +1319,12 @@ menu "Graphics"
>         source "package/wayland/Config.in"
>         source "package/wayland-protocols/Config.in"
>         source "package/waylandpp/Config.in"
> -       source "package/webkitgtk/Config.in"
> +       source "package/webkit/webkitgtk/Config.in"
> +       source "package/webkit/libwpe/Config.in"
> +       source "package/webkit/wpebackend-fdo/Config.in"
> +       source "package/webkit/wpewebkit/Config.in"
>         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
> diff --git a/package/libwpe/Config.in b/package/webkit/libwpe/Config.in
> similarity index 100%
> rename from package/libwpe/Config.in
> rename to package/webkit/libwpe/Config.in
> diff --git a/package/libwpe/libwpe.hash b/package/webkit/libwpe/libwpe.hash
> similarity index 100%
> rename from package/libwpe/libwpe.hash
> rename to package/webkit/libwpe/libwpe.hash
> diff --git a/package/libwpe/libwpe.mk b/package/webkit/libwpe/libwpe.mk
> similarity index 100%
> rename from package/libwpe/libwpe.mk
> rename to package/webkit/libwpe/libwpe.mk
> diff --git a/package/webkit/webkit.mk b/package/webkit/webkit.mk
> new file mode 100644
> index 0000000000..47e94d72f6
> --- /dev/null
> +++ b/package/webkit/webkit.mk
> @@ -0,0 +1,7 @@
>
> +################################################################################
> +#
> +# Common definitions for the GTK and WPE WebKit ports.
> +#
>
> +################################################################################
> +
> +include $(sort $(wildcard package/webkit/*/*.mk))
> diff --git a/package/webkitgtk/Config.in
> b/package/webkit/webkitgtk/Config.in
> similarity index 100%
> rename from package/webkitgtk/Config.in
> rename to package/webkit/webkitgtk/Config.in
> diff --git a/package/webkitgtk/webkitgtk.hash
> b/package/webkit/webkitgtk/webkitgtk.hash
> similarity index 100%
> rename from package/webkitgtk/webkitgtk.hash
> rename to package/webkit/webkitgtk/webkitgtk.hash
> diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkit/webkitgtk/
> webkitgtk.mk
> similarity index 100%
> rename from package/webkitgtk/webkitgtk.mk
> rename to package/webkit/webkitgtk/webkitgtk.mk
> diff --git a/package/wpebackend-fdo/Config.in
> b/package/webkit/wpebackend-fdo/Config.in
> similarity index 100%
> rename from package/wpebackend-fdo/Config.in
> rename to package/webkit/wpebackend-fdo/Config.in
> diff --git a/package/wpebackend-fdo/wpebackend-fdo.hash
> b/package/webkit/wpebackend-fdo/wpebackend-fdo.hash
> similarity index 100%
> rename from package/wpebackend-fdo/wpebackend-fdo.hash
> rename to package/webkit/wpebackend-fdo/wpebackend-fdo.hash
> diff --git a/package/wpebackend-fdo/wpebackend-fdo.mk
> b/package/webkit/wpebackend-fdo/wpebackend-fdo.mk
> similarity index 100%
> rename from package/wpebackend-fdo/wpebackend-fdo.mk
> rename to package/webkit/wpebackend-fdo/wpebackend-fdo.mk
> diff --git a/package/wpewebkit/Config.in
> b/package/webkit/wpewebkit/Config.in
> similarity index 100%
> rename from package/wpewebkit/Config.in
> rename to package/webkit/wpewebkit/Config.in
> diff --git a/package/wpewebkit/wpewebkit.hash
> b/package/webkit/wpewebkit/wpewebkit.hash
> similarity index 100%
> rename from package/wpewebkit/wpewebkit.hash
> rename to package/webkit/wpewebkit/wpewebkit.hash
> diff --git a/package/wpewebkit/wpewebkit.mk b/package/webkit/wpewebkit/
> wpewebkit.mk
> similarity index 100%
> rename from package/wpewebkit/wpewebkit.mk
> rename to package/webkit/wpewebkit/wpewebkit.mk
> --
> 2.20.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 18 févr. 2019 à 18:17, Adrian Perez de Castro &lt;<a href="mailto:aperez@igalia.com">aperez@igalia.com</a>&gt; a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Move the packages related to the GTK and WPE WebKit ports (webkitgtk,<br>
libwpe, wpewebkit, wpebackend-fdo) under a new package/webkit/<br>
subbdirectory as the first step to unify some of their configuration.<br>
<br></blockquote><div><br></div><div>Moving packages into a subdirectory is discouraged,</div><div> see <a href="https://buildroot.org/downloads/manual/manual.html#_package_directory">https://buildroot.org/downloads/manual/manual.html#_package_directory</a><br></div><div><br></div><div>François<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Signed-off-by: Adrian Perez de Castro &lt;<a href="mailto:aperez@igalia.com" target="_blank">aperez@igalia.com</a>&gt;<br>
---<br>
 package/Config.in                                       | 8 ++++----<br>
 package/{ =&gt; webkit}/libwpe/Config.in                   | 0<br>
 package/{ =&gt; webkit}/libwpe/libwpe.hash                 | 0<br>
 package/{ =&gt; webkit}/libwpe/<a href="http://libwpe.mk" rel="noreferrer" target="_blank">libwpe.mk</a>                   | 0<br>
 package/webkit/<a href="http://webkit.mk" rel="noreferrer" target="_blank">webkit.mk</a>                                | 7 +++++++<br>
 package/{ =&gt; webkit}/webkitgtk/Config.in                | 0<br>
 package/{ =&gt; webkit}/webkitgtk/webkitgtk.hash           | 0<br>
 package/{ =&gt; webkit}/webkitgtk/<a href="http://webkitgtk.mk" rel="noreferrer" target="_blank">webkitgtk.mk</a>             | 0<br>
 package/{ =&gt; webkit}/wpebackend-fdo/Config.in           | 0<br>
 package/{ =&gt; webkit}/wpebackend-fdo/wpebackend-fdo.hash | 0<br>
 package/{ =&gt; webkit}/wpebackend-fdo/<a href="http://wpebackend-fdo.mk" rel="noreferrer" target="_blank">wpebackend-fdo.mk</a>   | 0<br>
 package/{ =&gt; webkit}/wpewebkit/Config.in                | 0<br>
 package/{ =&gt; webkit}/wpewebkit/wpewebkit.hash           | 0<br>
 package/{ =&gt; webkit}/wpewebkit/<a href="http://wpewebkit.mk" rel="noreferrer" target="_blank">wpewebkit.mk</a>             | 0<br>
 14 files changed, 11 insertions(+), 4 deletions(-)<br>
 rename package/{ =&gt; webkit}/libwpe/Config.in (100%)<br>
 rename package/{ =&gt; webkit}/libwpe/libwpe.hash (100%)<br>
 rename package/{ =&gt; webkit}/libwpe/<a href="http://libwpe.mk" rel="noreferrer" target="_blank">libwpe.mk</a> (100%)<br>
 create mode 100644 package/webkit/<a href="http://webkit.mk" rel="noreferrer" target="_blank">webkit.mk</a><br>
 rename package/{ =&gt; webkit}/webkitgtk/Config.in (100%)<br>
 rename package/{ =&gt; webkit}/webkitgtk/webkitgtk.hash (100%)<br>
 rename package/{ =&gt; webkit}/webkitgtk/<a href="http://webkitgtk.mk" rel="noreferrer" target="_blank">webkitgtk.mk</a> (100%)<br>
 rename package/{ =&gt; webkit}/wpebackend-fdo/Config.in (100%)<br>
 rename package/{ =&gt; webkit}/wpebackend-fdo/wpebackend-fdo.hash (100%)<br>
 rename package/{ =&gt; webkit}/wpebackend-fdo/<a href="http://wpebackend-fdo.mk" rel="noreferrer" target="_blank">wpebackend-fdo.mk</a> (100%)<br>
 rename package/{ =&gt; webkit}/wpewebkit/Config.in (100%)<br>
 rename package/{ =&gt; webkit}/wpewebkit/wpewebkit.hash (100%)<br>
 rename package/{ =&gt; webkit}/wpewebkit/<a href="http://wpewebkit.mk" rel="noreferrer" target="_blank">wpewebkit.mk</a> (100%)<br>
<br>
diff --git a/package/Config.in b/package/Config.in<br>
index 420e6e95a3..65faf1fcd6 100644<br>
--- a/package/Config.in<br>
+++ b/package/Config.in<br>
@@ -1304,7 +1304,6 @@ menu &quot;Graphics&quot;<br>
        source &quot;package/libva-intel-driver/Config.in&quot;<br>
        source &quot;package/libvdpau/Config.in&quot;<br>
        source &quot;package/libvips/Config.in&quot;<br>
-       source &quot;package/libwpe/Config.in&quot;<br>
        source &quot;package/menu-cache/Config.in&quot;<br>
        source &quot;package/opencv/Config.in&quot;<br>
        source &quot;package/opencv3/Config.in&quot;<br>
@@ -1320,11 +1319,12 @@ menu &quot;Graphics&quot;<br>
        source &quot;package/wayland/Config.in&quot;<br>
        source &quot;package/wayland-protocols/Config.in&quot;<br>
        source &quot;package/waylandpp/Config.in&quot;<br>
-       source &quot;package/webkitgtk/Config.in&quot;<br>
+       source &quot;package/webkit/webkitgtk/Config.in&quot;<br>
+       source &quot;package/webkit/libwpe/Config.in&quot;<br>
+       source &quot;package/webkit/wpebackend-fdo/Config.in&quot;<br>
+       source &quot;package/webkit/wpewebkit/Config.in&quot;<br>
        source &quot;package/webp/Config.in&quot;<br>
        source &quot;package/woff2/Config.in&quot;<br>
-       source &quot;package/wpebackend-fdo/Config.in&quot;<br>
-       source &quot;package/wpewebkit/Config.in&quot;<br>
        source &quot;package/zbar/Config.in&quot;<br>
        source &quot;package/zxing-cpp/Config.in&quot;<br>
 endmenu<br>
diff --git a/package/libwpe/Config.in b/package/webkit/libwpe/Config.in<br>
similarity index 100%<br>
rename from package/libwpe/Config.in<br>
rename to package/webkit/libwpe/Config.in<br>
diff --git a/package/libwpe/libwpe.hash b/package/webkit/libwpe/libwpe.hash<br>
similarity index 100%<br>
rename from package/libwpe/libwpe.hash<br>
rename to package/webkit/libwpe/libwpe.hash<br>
diff --git a/package/libwpe/<a href="http://libwpe.mk" rel="noreferrer" target="_blank">libwpe.mk</a> b/package/webkit/libwpe/<a href="http://libwpe.mk" rel="noreferrer" target="_blank">libwpe.mk</a><br>
similarity index 100%<br>
rename from package/libwpe/<a href="http://libwpe.mk" rel="noreferrer" target="_blank">libwpe.mk</a><br>
rename to package/webkit/libwpe/<a href="http://libwpe.mk" rel="noreferrer" target="_blank">libwpe.mk</a><br>
diff --git a/package/webkit/<a href="http://webkit.mk" rel="noreferrer" target="_blank">webkit.mk</a> b/package/webkit/<a href="http://webkit.mk" rel="noreferrer" target="_blank">webkit.mk</a><br>
new file mode 100644<br>
index 0000000000..47e94d72f6<br>
--- /dev/null<br>
+++ b/package/webkit/<a href="http://webkit.mk" rel="noreferrer" target="_blank">webkit.mk</a><br>
@@ -0,0 +1,7 @@<br>
+################################################################################<br>
+#<br>
+# Common definitions for the GTK and WPE WebKit ports.<br>
+#<br>
+################################################################################<br>
+<br>
+include $(sort $(wildcard package/webkit/*/*.mk))<br>
diff --git a/package/webkitgtk/Config.in b/package/webkit/webkitgtk/Config.in<br>
similarity index 100%<br>
rename from package/webkitgtk/Config.in<br>
rename to package/webkit/webkitgtk/Config.in<br>
diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkit/webkitgtk/webkitgtk.hash<br>
similarity index 100%<br>
rename from package/webkitgtk/webkitgtk.hash<br>
rename to package/webkit/webkitgtk/webkitgtk.hash<br>
diff --git a/package/webkitgtk/<a href="http://webkitgtk.mk" rel="noreferrer" target="_blank">webkitgtk.mk</a> b/package/webkit/webkitgtk/<a href="http://webkitgtk.mk" rel="noreferrer" target="_blank">webkitgtk.mk</a><br>
similarity index 100%<br>
rename from package/webkitgtk/<a href="http://webkitgtk.mk" rel="noreferrer" target="_blank">webkitgtk.mk</a><br>
rename to package/webkit/webkitgtk/<a href="http://webkitgtk.mk" rel="noreferrer" target="_blank">webkitgtk.mk</a><br>
diff --git a/package/wpebackend-fdo/Config.in b/package/webkit/wpebackend-fdo/Config.in<br>
similarity index 100%<br>
rename from package/wpebackend-fdo/Config.in<br>
rename to package/webkit/wpebackend-fdo/Config.in<br>
diff --git a/package/wpebackend-fdo/wpebackend-fdo.hash b/package/webkit/wpebackend-fdo/wpebackend-fdo.hash<br>
similarity index 100%<br>
rename from package/wpebackend-fdo/wpebackend-fdo.hash<br>
rename to package/webkit/wpebackend-fdo/wpebackend-fdo.hash<br>
diff --git a/package/wpebackend-fdo/<a href="http://wpebackend-fdo.mk" rel="noreferrer" target="_blank">wpebackend-fdo.mk</a> b/package/webkit/wpebackend-fdo/<a href="http://wpebackend-fdo.mk" rel="noreferrer" target="_blank">wpebackend-fdo.mk</a><br>
similarity index 100%<br>
rename from package/wpebackend-fdo/<a href="http://wpebackend-fdo.mk" rel="noreferrer" target="_blank">wpebackend-fdo.mk</a><br>
rename to package/webkit/wpebackend-fdo/<a href="http://wpebackend-fdo.mk" rel="noreferrer" target="_blank">wpebackend-fdo.mk</a><br>
diff --git a/package/wpewebkit/Config.in b/package/webkit/wpewebkit/Config.in<br>
similarity index 100%<br>
rename from package/wpewebkit/Config.in<br>
rename to package/webkit/wpewebkit/Config.in<br>
diff --git a/package/wpewebkit/wpewebkit.hash b/package/webkit/wpewebkit/wpewebkit.hash<br>
similarity index 100%<br>
rename from package/wpewebkit/wpewebkit.hash<br>
rename to package/webkit/wpewebkit/wpewebkit.hash<br>
diff --git a/package/wpewebkit/<a href="http://wpewebkit.mk" rel="noreferrer" target="_blank">wpewebkit.mk</a> b/package/webkit/wpewebkit/<a href="http://wpewebkit.mk" rel="noreferrer" target="_blank">wpewebkit.mk</a><br>
similarity index 100%<br>
rename from package/wpewebkit/<a href="http://wpewebkit.mk" rel="noreferrer" target="_blank">wpewebkit.mk</a><br>
rename to package/webkit/wpewebkit/<a href="http://wpewebkit.mk" rel="noreferrer" target="_blank">wpewebkit.mk</a><br>
-- <br>
2.20.1<br>
<br>
_______________________________________________<br>
buildroot mailing list<br>
<a href="mailto:buildroot@busybox.net" target="_blank">buildroot@busybox.net</a><br>
<a href="http://lists.busybox.net/mailman/listinfo/buildroot" rel="noreferrer" target="_blank">http://lists.busybox.net/mailman/listinfo/buildroot</a><br>
</blockquote></div></div></div>
Adrian Perez de Castro Feb. 22, 2019, 2:46 p.m. UTC | #2
Hello!

On Fri, 22 Feb 2019 11:40:20 +0100, François Perrad <francois.perrad@gadz.org> wrote:
> Le lun. 18 févr. 2019 à 18:17, Adrian Perez de Castro <aperez@igalia.com> a
> écrit :
> 
> > Move the packages related to the GTK and WPE WebKit ports (webkitgtk,
> > libwpe, wpewebkit, wpebackend-fdo) under a new package/webkit/
> > subbdirectory as the first step to unify some of their configuration.
> >
> >
> Moving packages into a subdirectory is discouraged,
> see https://buildroot.org/downloads/manual/manual.html#_package_directory

On the other hand, while adding new subdirectories is discouraged, it is
not forbidden. In this case I thought that it could make sense grouping the
the (very related) WebKit packages. Also note that I expect to be adding a
more in the future [1].

That being said, I am of course open to alternative suggestions, and in
particular knowing where the common parts that this patch set adds into
“webkit/webkit.mk” and “webkit/Config.in” would go in the case of not
making a subdirectory to group the related packages. Any ideas?

Cheers,


-Adrián


> François
> 
> 
> > Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
> > ---
> >  package/Config.in                                       | 8 ++++----
> >  package/{ => webkit}/libwpe/Config.in                   | 0
> >  package/{ => webkit}/libwpe/libwpe.hash                 | 0
> >  package/{ => webkit}/libwpe/libwpe.mk                   | 0
> >  package/webkit/webkit.mk                                | 7 +++++++
> >  package/{ => webkit}/webkitgtk/Config.in                | 0
> >  package/{ => webkit}/webkitgtk/webkitgtk.hash           | 0
> >  package/{ => webkit}/webkitgtk/webkitgtk.mk             | 0
> >  package/{ => webkit}/wpebackend-fdo/Config.in           | 0
> >  package/{ => webkit}/wpebackend-fdo/wpebackend-fdo.hash | 0
> >  package/{ => webkit}/wpebackend-fdo/wpebackend-fdo.mk   | 0
> >  package/{ => webkit}/wpewebkit/Config.in                | 0
> >  package/{ => webkit}/wpewebkit/wpewebkit.hash           | 0
> >  package/{ => webkit}/wpewebkit/wpewebkit.mk             | 0
> >  14 files changed, 11 insertions(+), 4 deletions(-)
> >  rename package/{ => webkit}/libwpe/Config.in (100%)
> >  rename package/{ => webkit}/libwpe/libwpe.hash (100%)
> >  rename package/{ => webkit}/libwpe/libwpe.mk (100%)
> >  create mode 100644 package/webkit/webkit.mk
> >  rename package/{ => webkit}/webkitgtk/Config.in (100%)
> >  rename package/{ => webkit}/webkitgtk/webkitgtk.hash (100%)
> >  rename package/{ => webkit}/webkitgtk/webkitgtk.mk (100%)
> >  rename package/{ => webkit}/wpebackend-fdo/Config.in (100%)
> >  rename package/{ => webkit}/wpebackend-fdo/wpebackend-fdo.hash (100%)
> >  rename package/{ => webkit}/wpebackend-fdo/wpebackend-fdo.mk (100%)
> >  rename package/{ => webkit}/wpewebkit/Config.in (100%)
> >  rename package/{ => webkit}/wpewebkit/wpewebkit.hash (100%)
> >  rename package/{ => webkit}/wpewebkit/wpewebkit.mk (100%)
> >
> > diff --git a/package/Config.in b/package/Config.in
> > index 420e6e95a3..65faf1fcd6 100644
> > --- a/package/Config.in
> > +++ b/package/Config.in
> > @@ -1304,7 +1304,6 @@ 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"
> > @@ -1320,11 +1319,12 @@ menu "Graphics"
> >         source "package/wayland/Config.in"
> >         source "package/wayland-protocols/Config.in"
> >         source "package/waylandpp/Config.in"
> > -       source "package/webkitgtk/Config.in"
> > +       source "package/webkit/webkitgtk/Config.in"
> > +       source "package/webkit/libwpe/Config.in"
> > +       source "package/webkit/wpebackend-fdo/Config.in"
> > +       source "package/webkit/wpewebkit/Config.in"
> >         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
> > diff --git a/package/libwpe/Config.in b/package/webkit/libwpe/Config.in
> > similarity index 100%
> > rename from package/libwpe/Config.in
> > rename to package/webkit/libwpe/Config.in
> > diff --git a/package/libwpe/libwpe.hash b/package/webkit/libwpe/libwpe.hash
> > similarity index 100%
> > rename from package/libwpe/libwpe.hash
> > rename to package/webkit/libwpe/libwpe.hash
> > diff --git a/package/libwpe/libwpe.mk b/package/webkit/libwpe/libwpe.mk
> > similarity index 100%
> > rename from package/libwpe/libwpe.mk
> > rename to package/webkit/libwpe/libwpe.mk
> > diff --git a/package/webkit/webkit.mk b/package/webkit/webkit.mk
> > new file mode 100644
> > index 0000000000..47e94d72f6
> > --- /dev/null
> > +++ b/package/webkit/webkit.mk
> > @@ -0,0 +1,7 @@
> >
> > +################################################################################
> > +#
> > +# Common definitions for the GTK and WPE WebKit ports.
> > +#
> >
> > +################################################################################
> > +
> > +include $(sort $(wildcard package/webkit/*/*.mk))
> > diff --git a/package/webkitgtk/Config.in
> > b/package/webkit/webkitgtk/Config.in
> > similarity index 100%
> > rename from package/webkitgtk/Config.in
> > rename to package/webkit/webkitgtk/Config.in
> > diff --git a/package/webkitgtk/webkitgtk.hash
> > b/package/webkit/webkitgtk/webkitgtk.hash
> > similarity index 100%
> > rename from package/webkitgtk/webkitgtk.hash
> > rename to package/webkit/webkitgtk/webkitgtk.hash
> > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkit/webkitgtk/
> > webkitgtk.mk
> > similarity index 100%
> > rename from package/webkitgtk/webkitgtk.mk
> > rename to package/webkit/webkitgtk/webkitgtk.mk
> > diff --git a/package/wpebackend-fdo/Config.in
> > b/package/webkit/wpebackend-fdo/Config.in
> > similarity index 100%
> > rename from package/wpebackend-fdo/Config.in
> > rename to package/webkit/wpebackend-fdo/Config.in
> > diff --git a/package/wpebackend-fdo/wpebackend-fdo.hash
> > b/package/webkit/wpebackend-fdo/wpebackend-fdo.hash
> > similarity index 100%
> > rename from package/wpebackend-fdo/wpebackend-fdo.hash
> > rename to package/webkit/wpebackend-fdo/wpebackend-fdo.hash
> > diff --git a/package/wpebackend-fdo/wpebackend-fdo.mk
> > b/package/webkit/wpebackend-fdo/wpebackend-fdo.mk
> > similarity index 100%
> > rename from package/wpebackend-fdo/wpebackend-fdo.mk
> > rename to package/webkit/wpebackend-fdo/wpebackend-fdo.mk
> > diff --git a/package/wpewebkit/Config.in
> > b/package/webkit/wpewebkit/Config.in
> > similarity index 100%
> > rename from package/wpewebkit/Config.in
> > rename to package/webkit/wpewebkit/Config.in
> > diff --git a/package/wpewebkit/wpewebkit.hash
> > b/package/webkit/wpewebkit/wpewebkit.hash
> > similarity index 100%
> > rename from package/wpewebkit/wpewebkit.hash
> > rename to package/webkit/wpewebkit/wpewebkit.hash
> > diff --git a/package/wpewebkit/wpewebkit.mk b/package/webkit/wpewebkit/
> > wpewebkit.mk
> > similarity index 100%
> > rename from package/wpewebkit/wpewebkit.mk
> > rename to package/webkit/wpewebkit/wpewebkit.mk
> > --
> > 2.20.1
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot@busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot

---
[1] For example: https://github.com/WebPlatformForEmbedded/WPEBackend-rdk
Francois Perrad Feb. 22, 2019, 4:32 p.m. UTC | #3
Le ven. 22 févr. 2019 à 15:47, Adrian Perez de Castro <aperez@igalia.com> a
écrit :

> Hello!
>
> On Fri, 22 Feb 2019 11:40:20 +0100, François Perrad <
> francois.perrad@gadz.org> wrote:
> > Le lun. 18 févr. 2019 à 18:17, Adrian Perez de Castro <aperez@igalia.com>
> a
> > écrit :
> >
> > > Move the packages related to the GTK and WPE WebKit ports (webkitgtk,
> > > libwpe, wpewebkit, wpebackend-fdo) under a new package/webkit/
> > > subbdirectory as the first step to unify some of their configuration.
> > >
> > >
> > Moving packages into a subdirectory is discouraged,
> > see
> https://buildroot.org/downloads/manual/manual.html#_package_directory
>
> On the other hand, while adding new subdirectories is discouraged, it is
> not forbidden. In this case I thought that it could make sense grouping the
> the (very related) WebKit packages. Also note that I expect to be adding a
> more in the future [1].
>
> That being said, I am of course open to alternative suggestions, and in
> particular knowing where the common parts that this patch set adds into
> “webkit/webkit.mk” and “webkit/Config.in” would go in the case of not
> making a subdirectory to group the related packages. Any ideas?
>
> Cheers,
>
>
> -Adrián
>
>
> > François
> >
>
> Le ven. 22 févr. 2019 à 15:47, Adrian Perez de Castro <aperez@igalia.com>
> a écrit :
> Hello!
>
> On Fri, 22 Feb 2019 11:40:20 +0100, François Perrad <
> francois.perrad@gadz.org> wrote:
> > Le lun. 18 févr. 2019 à 18:17, Adrian Perez de Castro <aperez@igalia.com>
> a
> > écrit :
> >
> > > Move the packages related to the GTK and WPE WebKit ports (webkitgtk,
> > > libwpe, wpewebkit, wpebackend-fdo) under a new package/webkit/
> > > subbdirectory as the first step to unify some of their configuration.
> > >
> > >
> > Moving packages into a subdirectory is discouraged,
> > see
> https://buildroot.org/downloads/manual/manual.html#_package_directory
>
> On the other hand, while adding new subdirectories is discouraged, it is
> not forbidden. In this case I thought that it could make sense grouping the
> the (very related) WebKit packages. Also note that I expect to be adding a
> more in the future [1].
>
> That being said, I am of course open to alternative suggestions, and in
> particular knowing where the common parts that this patch set adds into
> “webkit/webkit.mk” and “webkit/Config.in” would go in the case of not
> making a subdirectory to group the related packages. Any ideas?
>
>
You could create a virtual package webkit with 2 providers webkitgtk &
wpewebkit.
See details on
https://buildroot.org/downloads/manual/manual.html#virtual-package-tutorial

midori still depends on webkitgtk,
but cog could depends on webkit, ie. using webkitgtk or wpewebkit.

François



> Cheers,
>
>
> -Adrián
>
>
> > François
> >
> >
> > > Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
>
>
<div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 22 févr. 2019 à 15:47, Adrian Perez de Castro &lt;<a href="mailto:aperez@igalia.com">aperez@igalia.com</a>&gt; a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>
<br>
On Fri, 22 Feb 2019 11:40:20 +0100, François Perrad &lt;<a href="mailto:francois.perrad@gadz.org" target="_blank">francois.perrad@gadz.org</a>&gt; wrote:<br>
&gt; Le lun. 18 févr. 2019 à 18:17, Adrian Perez de Castro &lt;<a href="mailto:aperez@igalia.com" target="_blank">aperez@igalia.com</a>&gt; a<br>
&gt; écrit :<br>
&gt; <br>
&gt; &gt; Move the packages related to the GTK and WPE WebKit ports (webkitgtk,<br>
&gt; &gt; libwpe, wpewebkit, wpebackend-fdo) under a new package/webkit/<br>
&gt; &gt; subbdirectory as the first step to unify some of their configuration.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; Moving packages into a subdirectory is discouraged,<br>
&gt; see <a href="https://buildroot.org/downloads/manual/manual.html#_package_directory" rel="noreferrer" target="_blank">https://buildroot.org/downloads/manual/manual.html#_package_directory</a><br>
<br>
On the other hand, while adding new subdirectories is discouraged, it is<br>
not forbidden. In this case I thought that it could make sense grouping the<br>
the (very related) WebKit packages. Also note that I expect to be adding a<br>
more in the future [1].<br>
<br>
That being said, I am of course open to alternative suggestions, and in<br>
particular knowing where the common parts that this patch set adds into<br>
“webkit/<a href="http://webkit.mk" rel="noreferrer" target="_blank">webkit.mk</a>” and “webkit/Config.in” would go in the case of not<br>
making a subdirectory to group the related packages. Any ideas?<br>
<br>
Cheers,<br>
<br>
<br>
-Adrián<br>
<br>
<br>
&gt; François<br>
&gt; <br><br><div dir="ltr" class="gmail_attr">Le ven. 22 févr. 2019 à 15:47, Adrian Perez de Castro &lt;<a href="mailto:aperez@igalia.com">aperez@igalia.com</a>&gt; a écrit :<br></div>Hello!<br>
<br>
On Fri, 22 Feb 2019 11:40:20 +0100, François Perrad &lt;<a href="mailto:francois.perrad@gadz.org" target="_blank">francois.perrad@gadz.org</a>&gt; wrote:<br>
&gt; Le lun. 18 févr. 2019 à 18:17, Adrian Perez de Castro &lt;<a href="mailto:aperez@igalia.com" target="_blank">aperez@igalia.com</a>&gt; a<br>
&gt; écrit :<br>
&gt; <br>
&gt; &gt; Move the packages related to the GTK and WPE WebKit ports (webkitgtk,<br>
&gt; &gt; libwpe, wpewebkit, wpebackend-fdo) under a new package/webkit/<br>
&gt; &gt; subbdirectory as the first step to unify some of their configuration.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; Moving packages into a subdirectory is discouraged,<br>
&gt; see <a href="https://buildroot.org/downloads/manual/manual.html#_package_directory" rel="noreferrer" target="_blank">https://buildroot.org/downloads/manual/manual.html#_package_directory</a><br>
<br>
On the other hand, while adding new subdirectories is discouraged, it is<br>
not forbidden. In this case I thought that it could make sense grouping the<br>
the (very related) WebKit packages. Also note that I expect to be adding a<br>
more in the future [1].<br>
<br>
That being said, I am of course open to alternative suggestions, and in<br>
particular knowing where the common parts that this patch set adds into<br>
“webkit/<a href="http://webkit.mk" rel="noreferrer" target="_blank">webkit.mk</a>” and “webkit/Config.in” would go in the case of not<br>
making a subdirectory to group the related packages. Any ideas?<br>
<br></blockquote><div><br></div><div>You could create a virtual package webkit with 2 providers webkitgtk &amp; wpewebkit.</div><div>See details on <a href="https://buildroot.org/downloads/manual/manual.html#virtual-package-tutorial">https://buildroot.org/downloads/manual/manual.html#virtual-package-tutorial</a><br></div><div><br></div><div>midori still depends on webkitgtk,</div><div>but cog could depends on webkit, ie. using webkitgtk or wpewebkit.<br></div><div><br></div><div>François<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Cheers,<br>
<br>
<br>
-Adrián<br>
<br>
<br>
&gt; François<br>
&gt; <br>
&gt; <br>
&gt; &gt; Signed-off-by: Adrian Perez de Castro &lt;<a href="mailto:aperez@igalia.com" target="_blank">aperez@igalia.com</a>&gt;<br><br>
</blockquote></div></div></div>
Adrian Perez de Castro Feb. 22, 2019, 5:06 p.m. UTC | #4
Hello François,

Thanks for your comments, but I have reservations about your suggestion.

On Fri, 22 Feb 2019 17:32:48 +0100, François Perrad <francois.perrad@gadz.org> wrote:
> Le ven. 22 févr. 2019 à 15:47, Adrian Perez de Castro <aperez@igalia.com> a
> écrit :
> 
> > Hello!
> >
> > On Fri, 22 Feb 2019 11:40:20 +0100, François Perrad <
> > francois.perrad@gadz.org> wrote:
> > > Le lun. 18 févr. 2019 à 18:17, Adrian Perez de Castro <aperez@igalia.com>
> > a
> > > écrit :
> > >
> > > > Move the packages related to the GTK and WPE WebKit ports (webkitgtk,
> > > > libwpe, wpewebkit, wpebackend-fdo) under a new package/webkit/
> > > > subbdirectory as the first step to unify some of their configuration.
> > > >
> > > >
> > > Moving packages into a subdirectory is discouraged,
> > > see
> > https://buildroot.org/downloads/manual/manual.html#_package_directory
> >
> > On the other hand, while adding new subdirectories is discouraged, it is
> > not forbidden. In this case I thought that it could make sense grouping the
> > the (very related) WebKit packages. Also note that I expect to be adding a
> > more in the future [1].
> >
> > That being said, I am of course open to alternative suggestions, and in
> > particular knowing where the common parts that this patch set adds into
> > “webkit/webkit.mk” and “webkit/Config.in” would go in the case of not
> > making a subdirectory to group the related packages. Any ideas?
> >
> > Cheers,
> >
> >
> > -Adrián
> >
> >
> > > François
> > >
> >
> > Le ven. 22 févr. 2019 à 15:47, Adrian Perez de Castro <aperez@igalia.com>
> > a écrit :
> > Hello!
> >
> > On Fri, 22 Feb 2019 11:40:20 +0100, François Perrad <
> > francois.perrad@gadz.org> wrote:
> > > Le lun. 18 févr. 2019 à 18:17, Adrian Perez de Castro <aperez@igalia.com>
> > a
> > > écrit :
> > >
> > > > Move the packages related to the GTK and WPE WebKit ports (webkitgtk,
> > > > libwpe, wpewebkit, wpebackend-fdo) under a new package/webkit/
> > > > subbdirectory as the first step to unify some of their configuration.
> > > >
> > > >
> > > Moving packages into a subdirectory is discouraged,
> > > see
> > https://buildroot.org/downloads/manual/manual.html#_package_directory
> >
> > On the other hand, while adding new subdirectories is discouraged, it is
> > not forbidden. In this case I thought that it could make sense grouping the
> > the (very related) WebKit packages. Also note that I expect to be adding a
> > more in the future [1].
> >
> > That being said, I am of course open to alternative suggestions, and in
> > particular knowing where the common parts that this patch set adds into
> > “webkit/webkit.mk” and “webkit/Config.in” would go in the case of not
> > making a subdirectory to group the related packages. Any ideas?
> >
> >
> You could create a virtual package webkit with 2 providers webkitgtk &
> wpewebkit.
> See details on
> https://buildroot.org/downloads/manual/manual.html#virtual-package-tutorial

There cannot be a virtual package, because both “webkitgtk” and “wpewebkit”
can be built and be installed in the same system.

> midori still depends on webkitgtk,
> but cog could depends on webkit, ie. using webkitgtk or wpewebkit.

I don't think so. Cog can be built against WebKitGTK, that's true; but that is
intended as a development aid and it is not recommended for normal usage. The
main goal of Cog is to be a library to help out implementing custom WPE WebKit
launchers, and it just happens to include a reference launcher as well.

The question still remains: if there is no subdirectory, where would the
common bits from “webkit/webkit.mk” and “webkit/Config.in” belong?

Regards,


-Adrián


> > Cheers,
> >
> >
> > -Adrián
> >
> >
> > > François
> > >
> > >
> > > > Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
diff mbox series

Patch

diff --git a/package/Config.in b/package/Config.in
index 420e6e95a3..65faf1fcd6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1304,7 +1304,6 @@  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"
@@ -1320,11 +1319,12 @@  menu "Graphics"
 	source "package/wayland/Config.in"
 	source "package/wayland-protocols/Config.in"
 	source "package/waylandpp/Config.in"
-	source "package/webkitgtk/Config.in"
+	source "package/webkit/webkitgtk/Config.in"
+	source "package/webkit/libwpe/Config.in"
+	source "package/webkit/wpebackend-fdo/Config.in"
+	source "package/webkit/wpewebkit/Config.in"
 	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
diff --git a/package/libwpe/Config.in b/package/webkit/libwpe/Config.in
similarity index 100%
rename from package/libwpe/Config.in
rename to package/webkit/libwpe/Config.in
diff --git a/package/libwpe/libwpe.hash b/package/webkit/libwpe/libwpe.hash
similarity index 100%
rename from package/libwpe/libwpe.hash
rename to package/webkit/libwpe/libwpe.hash
diff --git a/package/libwpe/libwpe.mk b/package/webkit/libwpe/libwpe.mk
similarity index 100%
rename from package/libwpe/libwpe.mk
rename to package/webkit/libwpe/libwpe.mk
diff --git a/package/webkit/webkit.mk b/package/webkit/webkit.mk
new file mode 100644
index 0000000000..47e94d72f6
--- /dev/null
+++ b/package/webkit/webkit.mk
@@ -0,0 +1,7 @@ 
+################################################################################
+#
+# Common definitions for the GTK and WPE WebKit ports.
+#
+################################################################################
+
+include $(sort $(wildcard package/webkit/*/*.mk))
diff --git a/package/webkitgtk/Config.in b/package/webkit/webkitgtk/Config.in
similarity index 100%
rename from package/webkitgtk/Config.in
rename to package/webkit/webkitgtk/Config.in
diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkit/webkitgtk/webkitgtk.hash
similarity index 100%
rename from package/webkitgtk/webkitgtk.hash
rename to package/webkit/webkitgtk/webkitgtk.hash
diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkit/webkitgtk/webkitgtk.mk
similarity index 100%
rename from package/webkitgtk/webkitgtk.mk
rename to package/webkit/webkitgtk/webkitgtk.mk
diff --git a/package/wpebackend-fdo/Config.in b/package/webkit/wpebackend-fdo/Config.in
similarity index 100%
rename from package/wpebackend-fdo/Config.in
rename to package/webkit/wpebackend-fdo/Config.in
diff --git a/package/wpebackend-fdo/wpebackend-fdo.hash b/package/webkit/wpebackend-fdo/wpebackend-fdo.hash
similarity index 100%
rename from package/wpebackend-fdo/wpebackend-fdo.hash
rename to package/webkit/wpebackend-fdo/wpebackend-fdo.hash
diff --git a/package/wpebackend-fdo/wpebackend-fdo.mk b/package/webkit/wpebackend-fdo/wpebackend-fdo.mk
similarity index 100%
rename from package/wpebackend-fdo/wpebackend-fdo.mk
rename to package/webkit/wpebackend-fdo/wpebackend-fdo.mk
diff --git a/package/wpewebkit/Config.in b/package/webkit/wpewebkit/Config.in
similarity index 100%
rename from package/wpewebkit/Config.in
rename to package/webkit/wpewebkit/Config.in
diff --git a/package/wpewebkit/wpewebkit.hash b/package/webkit/wpewebkit/wpewebkit.hash
similarity index 100%
rename from package/wpewebkit/wpewebkit.hash
rename to package/webkit/wpewebkit/wpewebkit.hash
diff --git a/package/wpewebkit/wpewebkit.mk b/package/webkit/wpewebkit/wpewebkit.mk
similarity index 100%
rename from package/wpewebkit/wpewebkit.mk
rename to package/webkit/wpewebkit/wpewebkit.mk