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
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 <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> 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>
Found why your build fails. It a makedepends bug.
2017-03-13 12:31 GMT+02:00 Valery Kartel <valery.kartel@gmail.com>:
> 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 <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>> 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>>>>