[Buildroot] [RFC PATCH/next 2/2] package/cage: new package
Adrian Perez de Castro
aperez at igalia.com
Wed Jun 12 22:43:41 UTC 2019
Hi,
On Fri, 17 May 2019 11:21:07 +0200, Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:
> Hello Adrian,
>
> On Fri, 17 May 2019 01:08:36 +0300
> Adrian Perez de Castro <aperez at igalia.com> wrote:
>
> > diff --git a/package/cage/0001-Updates-for-wlroots-0.6.0.patch b/package/cage/0001-Updates-for-wlroots-0.6.0.patch
> > new file mode 100644
> > index 0000000000..57e5a1289a
> > --- /dev/null
> > +++ b/package/cage/0001-Updates-for-wlroots-0.6.0.patch
> > @@ -0,0 +1,264 @@
> > +From 86b9d6719e52cbddda4fb6d055e60e9caf9a57ff Mon Sep 17 00:00:00 2001
> > +From: Jente Hidskes <hjdskes at gmail.com>
> > +Date: Fri, 3 May 2019 19:39:19 +0200
> > +Subject: [PATCH 1/3] CI: use wlroots 0.6.0
> > +
> > +Signed-off-by: Adrian Perez de Castro <aperez at igalia.com>
> > +[Upstream status: https://github.com/Hjdskes/cage/pull/65]
> > +
> > +---
> > + .builds/alpine.yml | 4 ++--
> > + .builds/archlinux.yml | 4 ++--
> > + .builds/freebsd.yml | 4 ++--
> > + 3 files changed, 6 insertions(+), 6 deletions(-)
>
> These CI related changes are really not relevant in the context of
> Buildroot.
>
> > +From 08ecd52a3313d00d06cc4e12d4d3243865af5dd0 Mon Sep 17 00:00:00 2001
> > +From: Drew DeVault <sir at cmpwn.com>
> > +Date: Thu, 25 Apr 2019 11:40:25 -0400
> > +Subject: [PATCH 2/3] Update to wlroots 0.6.0
>
> Please use one .patch file for each patch.
>
> Your SoB is missing.
I have been waiting for the release of Cage 0.1.1 [1], which makes this
patch unneeded and I will drop it in v2 of the patch set.
> > +From 711aebb4d20848d2d9052e0483cd301c7022b844 Mon Sep 17 00:00:00 2001
> > +From: Jente Hidskes <hjdskes at gmail.com>
> > +Date: Fri, 3 May 2019 20:53:19 +0200
> > +Subject: [PATCH 3/3] output: don't submit too much damage
> > +
> > +See https://github.com/swaywm/wlroots/issues/1666#issue-436967396 and
> > +the linked changes
> > +https://github.com/swaywm/wlroots/pull/1668/files#diff-95fe5e5b411cc64a5dc31e2b72669a0d
>
> Ditto.
>
>
> > + view_for_each_surface(view, send_frame_done, &now);
> > diff --git a/package/cage/Config.in b/package/cage/Config.in
> > new file mode 100644
> > index 0000000000..07dc4c9da3
> > --- /dev/null
> > +++ b/package/cage/Config.in
> > @@ -0,0 +1,24 @@
> > +config BR2_PACKAGE_CAGE
> > + bool "cage"
> > + depends on !BR2_STATIC_LIBS # wlroots
> > + depends on BR2_TOOLCHAIN_HAS_THREADS # wlroots
>
> wlroots (in your submission) has plenty of other depends on you need to
> replicate:
>
> + depends on !BR2_STATIC_LIBS # mesa3d, wayland
> + depends on BR2_INSTALL_LIBSTDCPP # freedrp, mesa3d
> + depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm, wayland
> + depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d
> + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d
> + depends on BR2_ENABLE_LOCALE # libinput
> + depends on BR2_PACKAGE_HAS_UDEV # libinput
> + depends on BR2_PACKAGE_HAS_LIBEGL
> + depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND
> + depends on BR2_PACKAGE_HAS_LIBGLES
It would be nice if those would be automagically propagated—I always end
up messing them in one way or another when adding new packages O:-)
I'll review them for v2.
> > + select BR2_PACKAGE_WLROOTS
> > + help
> > + Kiosk compositor for Wayland, which displays a single
> > + maximized application at a time.
> > +
> > + https://www.hjdskes.nl/projects/cage/
> > +
> > +if BR2_PACKAGE_CAGE
> > +
> > +config BR2_PACKAGE_CAGE_XWAYLAND
> > + bool "XWayland support"
> > + depends on BR2_PACKAGE_XORG7 # wlroots
>
> Not necessary, because you have a "depends on
> BR2_PACKAGE_WLROOTS_XWAYLAND" below.
True.
Thanks for the review,
—Adrián
---
[1] https://github.com/Hjdskes/cage/releases/tag/v0.1.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190613/1c93ffa6/attachment.asc>
More information about the buildroot
mailing list