X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-vk0-f53.google.com (mail-vk0-f53.google.com [209.85.213.53]) by lists.alpinelinux.org (Postfix) with ESMTP id 38CAB5C443E for ; Mon, 13 Mar 2017 10:31:58 +0000 (GMT) Received: by mail-vk0-f53.google.com with SMTP id r136so32781076vke.1 for ; Mon, 13 Mar 2017 03:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=G7Y954BOZngvmh73GgiDBwAtctFaVAUVIqAHMZH5yH8=; b=lOJG+a+YO+CHHy8FmgGEFo2fYebKhjcQ48sAzJvwsDs0Jkp6Xrmo+J+qh3vnDr+Zbo HzEaDxFlymb0USe8Jw2PYJP7jzApsMo910tQmowtF4Q3wo9dXUDUp/oWyb/f1Zpf9F91 UxUIr/RRQcj5iEshEVt10vMWL6dWINJXY3CrV8rX4npgHXyHc0lB8BwtSURvFFPUDWDH SQip0///17f9zBemWA2cPkYbmRYzQRcmCe4+brQWChYu80ZHdK8dOJzt6qw/lH62MYPm q+oIx+pX8KXVtkSP6X0kkw1J4cBtX3O0nAaAKWr9VgzvG1/8VrgHp3Sg6nzMiPTfo6t3 TWQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=G7Y954BOZngvmh73GgiDBwAtctFaVAUVIqAHMZH5yH8=; b=R2vW8LJ6Kh1v1GzIJGZBdfRTwdgC2awbi7B6tL+iYeYKsuyHL9iX269sHau1RHFLWh WiVmj9/1Fa4+aKqDBlEGdAOFuUrWheLS8hqu/STadh32J0iesqLqy08ZP4tpPMbuIqoO 6/JdRJ9cBOFsoRVtEVvQYZCrlpXMm7PybucBZdelYD1XCb+JexhwqNHV7hJGbulbwPuh PiTVmfR89DIRxO8jOIjY6a3U6pc1ceJjZrKk9XMWQ8NCBzGYMjYPa1NC+X41IaBSCJbw +gv8JqY/7crIp61kZFqYNpSR2G1MgmcZG+ee0g3tRVmIpoG8fdO28VRDm+Fh3JtObL6Z TaDQ== X-Gm-Message-State: AMke39lwzf8gEB5+UZzqfFrJsrbowxBY0qurtsR/XzRWtRwmE7zlkn6TQZtwq4wbeEyu8uuN7GPC1LfaBmtu+w== X-Received: by 10.31.109.71 with SMTP id i68mr14703947vkc.89.1489401117589; Mon, 13 Mar 2017 03:31:57 -0700 (PDT) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.103.104.66 with HTTP; Mon, 13 Mar 2017 03:31:57 -0700 (PDT) In-Reply-To: <1489395739.11710.530.camel@gmail.com> References: <20170227083050.10659-1-valery.kartel@gmail.com> <1489395739.11710.530.camel@gmail.com> From: Valery Kartel Date: Mon, 13 Mar 2017 12:31:57 +0200 Message-ID: Subject: Re: [alpine-aports] [PATCH] testing/weston: upgrade to 2.0.0 To: Leonardo Arena Cc: alpine-aports Content-Type: multipart/alternative; boundary=94eb2c0925b28acd0d054a9a3855 --94eb2c0925b28acd0d054a9a3855 Content-Type: text/plain; charset=UTF-8 Hi, Long thought how to split it into packages and this is the result of 10+ tries )) I split it not by size but because of the dependencies and frequency of use libraries: - libweston - core library - libweston-desktop - helper library to build desktop-shells (used by weston-shell-desktop only) color-management-systems: just split it to static and colord, because colord depends on colord-service. cms is not required to run session so I split it out. shells: - desktop - classic windowed desktop implementation - fullscreen - runs app fullscreen. sutable for e-kiosks - ivi - in-vehicle infotainment - for car pc backends: - drm - to run local on dri drivers (use libinput, udev) - fbdev - to run local via fbdev drivers (use libinput, udev) - headless - to run local w/o any local input/output - rdp - to run remote via rdp (depends on freerdp) - x11 - to run via x11 (depends on x11, cairo/mesa. jpeg, png...) - wayland - to run via wayland (depends on wayland, cairo/mesa, jpeg, png...) client: there are three clients bundled while installed. info, terminal and wcap-decode. wcap-decode is not a client just a video/audio decoder of recorded weston session clients: a pack of example clients. I think it's better to rename it to -examples... xwayland - helper module to run x11 client on wayland. Not required to run session weston-desktop-x11: - just an example pack to run it as x11 client. PS: just rebuild it on fresh-installed x86_64 and build done without any errors... 2017-03-13 11:02 GMT+02:00 Leonardo Arena : > Hi, > thank you for your contribution. > > On lun, 2017-02-27 at 10:30 +0200, Valery Kartel wrote: > > -- > > take maintain > > shared libs moved to libweston, libweston-desktop > > split to submodules: cms-*, client-*, shell-*, backend-* > > Are all these subpackages needed? How big in size are they? Perhaps > having subpackage for library and client would be enough and the > APKBUILD could be simplified? > > > add check() function > > add helper submodule weston-desktop-x11 to run as x11 client > > > > --- > > Successfuly runs on vanilla-linux. Fails on grsec. > > Terribly slow when runs as remote (ssh -X) x11 client > > --- > > testing/weston/APKBUILD | 126 > > +++++++++++++++++++++++++++++++++------- > > testing/weston/musl-fixes.patch | 10 ---- > > 2 files changed, 104 insertions(+), 32 deletions(-) > > delete mode 100644 testing/weston/musl-fixes.patch > > > > Here it fails with: > > configure: creating ./config.status > config.status: creating doc/doxygen/tools.doxygen > config.status: creating doc/doxygen/tooldev.doxygen > config.status: creating Makefile > config.status: creating libweston/version.h > config.status: creating compositor/weston.pc > config.status: creating libweston/libweston-2.pc > config.status: creating libweston-desktop/libweston-desktop-2.pc > config.status: creating config.h > config.status: executing depfiles commands > config.status: executing libtool commands > > Native Backend drm-backend.so > setuid Install no > > Cairo Renderer image > EGL yes > libxkbcommon yes > xcb_xkb yes > XWayland yes > dbus yes > > ivi-shell yes > > Build wcap utility yes > Build Fullscreen Shell yes > Enable developer documentation no > > weston-launch utility no > systemd-login support no > systemd notify support no > > DRM Compositor yes > X11 Compositor yes > Wayland Compositor yes > Headless Compositor yes > FBDEV Compositor yes > RDP Compositor yes > Screen Sharing yes > JUnit XML output no > > Build Clients yes > Build EGL Clients no > Build Simple Clients yes > Build Simple EGL Clients yes > > Install Demo Clients yes > > Colord Support yes > LCMS2 Support yes > libjpeg Support yes > libwebp Support yes > libunwind Support yes > VA H.264 encoding Support yes > > make: *** No rule to make target 'protocol/xdg-shell-unstable-v6- > protocol.c', needed by 'all'. Stop. > >>> ERROR: weston: all failed > > > Thanks! > > |_eo > --94eb2c0925b28acd0d054a9a3855 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
Long thought how to split it into packages and th= is is the result of 10+ tries ))
I split it not by size but because of the dependen= cies and frequency of use

libraries:
=C2=A0- libweston - core library
=C2=A0- libweston-desktop - helper library to build desktop-s= hells (used by weston-shell-desktop only)

color-management-systems: just split it to static and colord, b= ecause colord depends on colord-service.
cms is not required to run session so I split it out.

shells:
=C2=A0- desktop - classic windowed desktop implementation
=C2=A0- fullscreen - runs app fullscreen. s= utable for e-kiosks
=C2=A0- ivi - <= /span>in-vehicle infotainment - for car pc

backend= s:
=C2=A0- drm - to run local on dri drivers (use libinput, u= dev)
=C2=A0- fbdev - to run local via fbdev drivers (use libi= nput, udev)
=C2=A0- headless - to run local w/o any local inp= ut/output
=C2=A0- rdp - to run remote via rdp (depends on fre= erdp)
=C2=A0- x11 - to run via x11 (depends on x11, cairo/mes= a. jpeg, png...)
=C2=A0- wayland - to run via wayland (depend= s on wayland, cairo/mesa, jpeg, png...)

client: the= re are three clients bundled while installed. info, terminal and wcap-decod= e.

wcap-decode is not a client just a video/au= dio decoder of recorded weston session

clients: a pack of exam= ple clients. I think it's better to rename it to -examples...

xwayland - helper module to run x11 client on wayland. Not required to = run session

weston-desktop-x11: - just an example pack to run = it as x11 client.

PS: just rebu= ild it on fresh-installed x86_64 and build done without any errors...
2017-03-13 11= :02 GMT+02:00 Leonardo Arena <rnalrd@gmail.com>:
Hi,
thank you for your contribution.

On lun, 2017-02-27 at 10:30 +0200, Valery Kartel wrote:
> --
> take maintain
> shared libs moved to libweston, libweston-desktop
> split to submodules: cms-*, client-*, shell-*, backend-*

Are all these subpackages needed? How big in size are they? Perhaps<= br> having subpackage for library and client would be enough and the
APKBUILD could be simplified?

> add check() function
> add helper submodule weston-desktop-x11 to run as x11 client
>
> ---
> Successfuly runs on vanilla-linux. Fails on grsec.
> Terribly slow when runs as remote (ssh -X) x11 client
> ---
> =C2=A0testing/weston/APKBUILD=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0| 126
> +++++++++++++++++++++++++++++++++-------
> =C2=A0testing/weston/musl-fixes.patch |=C2=A0=C2=A010 ----
> =C2=A02 files changed, 104 insertions(+), 32 deletions(-)
> =C2=A0delete mode 100644 testing/weston/musl-fixes.patch
>

Here it fails with:

configure: creating ./config.status
config.status: creating doc/doxygen/tools.doxygen
config.status: creating doc/doxygen/tooldev.doxygen
config.status: creating Makefile
config.status: creating libweston/version.h
config.status: creating compositor/weston.pc
config.status: creating libweston/libweston-2.pc
config.status: creating libweston-desktop/libweston-desktop-2.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Native Backend=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 drm-backend.so
=C2=A0 =C2=A0 =C2=A0 =C2=A0 setuid Install=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 no

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Cairo Renderer=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 image
=C2=A0 =C2=A0 =C2=A0 =C2=A0 EGL=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 libxkbcommon=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 xcb_xkb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 XWayland=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 dbus=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes

=C2=A0 =C2=A0 =C2=A0 =C2=A0 ivi-shell=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Build wcap utility=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Build Fullscreen Shell=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Enable developer documentation=C2=A0 no

=C2=A0 =C2=A0 =C2=A0 =C2=A0 weston-launch utility=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0no
=C2=A0 =C2=A0 =C2=A0 =C2=A0 systemd-login support=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0no
=C2=A0 =C2=A0 =C2=A0 =C2=A0 systemd notify support=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 no

=C2=A0 =C2=A0 =C2=A0 =C2=A0 DRM Compositor=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 X11 Compositor=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Wayland Compositor=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Headless Compositor=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 FBDEV Compositor=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 RDP Compositor=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Screen Sharing=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 JUnit XML output=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 no

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Build Clients=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Build EGL Clients=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0no
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Build Simple Clients=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Build Simple EGL Clients=C2=A0 =C2=A0 =C2=A0 = =C2=A0 yes

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Install Demo Clients=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 yes

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Colord Support=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 LCMS2 Support=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 libjpeg Support=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 libwebp Support=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 libunwind Support=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0yes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 VA H.264 encoding Support=C2=A0 =C2=A0 =C2=A0 = =C2=A0yes

make: *** No rule to make target 'protocol/xdg-shell-unstable-v6-<= br> protocol.c', needed by 'all'.=C2=A0=C2=A0Stop.
>>> ERROR: weston: all failed


Thanks!

|_eo

--94eb2c0925b28acd0d054a9a3855-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---