X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-ua0-f180.google.com (mail-ua0-f180.google.com [209.85.217.180]) by lists.alpinelinux.org (Postfix) with ESMTP id D5C565C442D for ; Mon, 13 Mar 2017 11:12:58 +0000 (GMT) Received: by mail-ua0-f180.google.com with SMTP id f54so145158722uaa.1 for ; Mon, 13 Mar 2017 04:12: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=BLXrUnftisC3aB58lUcFyoRhYgH6Ua4iuNorfmZBp38=; b=lT6U9YqEawHYDvIw2Zny6CGx1JIfiexty1pPLvBvtDLc0c2fmmBmg2fPs0grfggnM2 PPhDZ6U2CRfa/ezVE8Ft3qFKvY6IG/xGuhlU1LXnywcaSBgR7umKih60OddKmfg4lSvh KfF+NHmLToPn5mlnxdDDLhrh3S6oJa4ikFe/l6TayS9NdZHSs5bUcR7AWaVmMdIsSMhI iiEZ21FGDWxqLVWD+WS/ker3dZPBJVdLOZyZZ6MTvxmFliFhxKx10D2kbNt3Zks/fZHr Uz1VfmNy8JJwpqehH1TX41ob34C8qoeyBfsLwruot8xJfKmJlGb95vgEaHG+Ynryo2NW +QHA== 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=BLXrUnftisC3aB58lUcFyoRhYgH6Ua4iuNorfmZBp38=; b=Xd52NP2ciW8PKkQLRoWdiRY1gOL6TYodrW39lG236UtHrfPxzrkPXqoC36/DNK1+XM 9+5gJZgrHLShkBkgE8yAU4C1ScMfnbrIuZ2MB/0ISZXUMYUgltoPYlR/p+he+dooL86q AU/wP6Z1JKajuR9wSckY1j2CS+L88tA4Hl/WRm0oz2AIjLFSV6LtYccxg6g4TveVFLCw IchOFB4h1ro5RAoMRTvlEK+wPpo3sA75KqXD1j95M/dJyBSCMnV+HtHuJGM5MrGNAS3I EdNNszmb8BL5WbuqR+J7nLOmqBst4CNKMpjBuA3BS5x1dNgcnpHb341Cw1LF72Boy2yq pTzA== X-Gm-Message-State: AMke39n+97+NbE45YdJ+vPDDL3AUVbABPs747B6LhMgV+ZXOkUvEEcVOd+WgCn7AMlzKK9isNdaKHQIEdS+6nw== X-Received: by 10.176.5.38 with SMTP id 35mr16126169uax.71.1489403578362; Mon, 13 Mar 2017 04:12:58 -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 04:12:57 -0700 (PDT) In-Reply-To: References: <20170227083050.10659-1-valery.kartel@gmail.com> <1489395739.11710.530.camel@gmail.com> From: Valery Kartel Date: Mon, 13 Mar 2017 13:12: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=94eb2c125418373367054a9acbd9 --94eb2c125418373367054a9acbd9 Content-Type: text/plain; charset=UTF-8 Found why your build fails. It a makedepends bug. 2017-03-13 12:31 GMT+02:00 Valery Kartel : > 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 >> > > --94eb2c125418373367054a9acbd9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Found why your build fails. It a makedepends bug.

<= /div>

2017-03-13 1= 2:31 GMT+02:00 Valery Kartel <valery.kartel@gmail.com>= :
<= span class=3D"m_1499517878378540885gmail-">Hi,
Long thought how to split= it into packages and this is the result of 10+ tries ))
<= /div>
I split it not by size but because of the dependen= cies and frequency of use

libraries: =
=C2=A0- libweston - core library
=C2=A0- li= bweston-desktop - helper library to build desktop-shells (used by weston-sh= ell-desktop only)

color-management-system= s: just split it to static and colord, because colord depends on colord-ser= vice.
cms is not required to run session s= o I split it out.

shells:
=C2=A0- desktop - classic windowed desktop implementation
<= /span>
=C2=A0- fullscreen - runs app fullscreen. sutable f= or e-kiosks
=C2=A0- ivi - in-vehi= cle infotainment - for car pc

backends:
=C2= =A0- drm - to run local on dri drivers (use libinput, udev)
= =C2=A0- fbdev - to run local via fbdev drivers (use libinput, udev)
=C2=A0- headless - to run local w/o any local input/output
=
=C2=A0- rdp - to run remote via rdp (depends on freerdp)
=C2=A0- x11 - to run via x11 (depends on x11, cairo/mesa. jpeg, png...)
=C2=A0- wayland - to run via wayland (depends on wayland, cairo= /mesa, jpeg, png...)

client: there are three client= s bundled while installed. info, terminal and wcap-decode.
wcap-decode is not a client just a video/audio decoder of reco= rded weston session

clients: a pack of example clients. I thin= k it's better to rename it to -examples...

xwayland - help= er 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-ins= talled x86_64 and build done without any errors...

2017-03-1= 3 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 =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0 =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


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