All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: Buildroot Mailing List <buildroot@buildroot.org>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Subject: Re: [Buildroot] [PATCH 1/2] package/x11r7/xserver_xorg-server: fix xephyr build with kdrive
Date: Mon, 20 Jun 2022 23:22:26 +0200	[thread overview]
Message-ID: <CAPi7W81oR4RwqWmFLq2M_EG-11N+B1sCOxhu_NT8xcTQnJ-ZCw@mail.gmail.com> (raw)
In-Reply-To: <20220620210856.771825-1-fontaine.fabrice@gmail.com>

Bernd already sent the same patch:
https://patchwork.ozlabs.org/project/buildroot/patch/20220620184925.538342-1-bernd.kuhls@t-online.de/

I can set this one as superseded however I would advise to only add
those dependencies if BR2_PACKAGE_XSERVER_XORG_SERVER_XEPHYR and
BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE are set.
Here is an extract of configure.ac:

if test "$KDRIVE" = yes; then
    XEPHYR_REQUIRED_LIBS="xau xdmcp xcb xcb-shape xcb-render
xcb-renderutil xcb-aux xcb-image xcb-icccm xcb-shm >= 1.9.3
xcb-keysyms xcb-randr xcb-xkb"

Le lun. 20 juin 2022 à 23:12, Fabrice Fontaine
<fontaine.fabrice@gmail.com> a écrit :
>
> Fix the following xephyr build failure with kdrive raised since commit
> eedbd6f97d51a0049ec512de26541465403ab06f:
>
> checking for XEPHYR... no
> configure: error: Package requirements (xau xdmcp xcb xcb-shape xcb-render xcb-renderutil xcb-aux xcb-image xcb-icccm xcb-shm >= 1.9.3 xcb-keysyms xcb-randr xcb-xkb xcb-xv) were not met:
>
> Package 'xcb-renderutil', required by 'virtual:world', not found
> Package 'xcb-aux', required by 'virtual:world', not found
> Package 'xcb-image', required by 'virtual:world', not found
> Package 'xcb-icccm', required by 'virtual:world', not found
> Package 'xcb-keysyms', required by 'virtual:world', not found
>
> Fixes:
>  - http://autobuild.buildroot.org/results/baba218c879b67bfbadc9c25d34313abc76397bc
>  - http://autobuild.buildroot.org/results/9471b77db9aefa2fd0e5be61ea84709183511623
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/x11r7/xserver_xorg-server/Config.in              | 4 ++++
>  package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 7 +++++++
>  2 files changed, 11 insertions(+)
>
> diff --git a/package/x11r7/xserver_xorg-server/Config.in b/package/x11r7/xserver_xorg-server/Config.in
> index 4fb03051dd..daf4d81702 100644
> --- a/package/x11r7/xserver_xorg-server/Config.in
> +++ b/package/x11r7/xserver_xorg-server/Config.in
> @@ -85,6 +85,10 @@ config BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB
>
>  config BR2_PACKAGE_XSERVER_XORG_SERVER_XEPHYR
>         bool "Xephyr server"
> +       select BR2_PACKAGE_XCB_UTIL_IMAGE if BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
> +       select BR2_PACKAGE_XCB_UTIL_KEYSYMS if BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
> +       select BR2_PACKAGE_XCB_UTIL_RENDERUTIL if BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
> +       select BR2_PACKAGE_XCB_UTIL_WM if BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
>         help
>           Xephyr nested X server; successor to Xnest.
>
> diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
> index 0f1779dcab..fa5d2a802d 100644
> --- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
> +++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
> @@ -84,6 +84,13 @@ XSERVER_XORG_SERVER_CONF_OPTS += \
>         --disable-glx \
>         --disable-dri
>
> +ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_XEPHYR),y)
> +XSERVER_XORG_SERVER_DEPENDENCIES += \
> +       xcb-util-image \
> +       xcb-util-keysyms \
> +       xcb-util-renderutil \
> +       xcb-util-wm
> +endif
>  else # modular
>  XSERVER_XORG_SERVER_CONF_OPTS += --disable-kdrive
>  endif
> --
> 2.35.1
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2022-06-20 21:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20 21:08 [Buildroot] [PATCH 1/2] package/x11r7/xserver_xorg-server: fix xephyr build with kdrive Fabrice Fontaine
2022-06-20 21:08 ` [Buildroot] [PATCH 2/2] package/x11r7/xserver_xorg-server: drop unrecognized option Fabrice Fontaine
2022-07-23 19:21   ` Arnout Vandecappelle
2022-08-16  9:38   ` Peter Korsgaard
2022-06-20 21:22 ` Fabrice Fontaine [this message]
     [not found] ` <CAPi7W81oR4RwqWmFLq2M_EG-11N+B1sCOxhu_NT8xcTQnJ-ZCw__39402.966496867$1655760346$gmane$org@mail.gmail.com>
2022-06-21 16:44   ` [Buildroot] [PATCH 1/2] package/x11r7/xserver_xorg-server: fix xephyr build with kdrive Bernd Kuhls
2022-07-23 19:21 ` Arnout Vandecappelle
2022-08-16  9:37 ` Peter Korsgaard
     [not found] <20220620210856.771825-1-fontaine.fabrice__3982.8961993166$1655759559$gmane$org@gmail.com>
2022-06-21 16:45 ` Bernd Kuhls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPi7W81oR4RwqWmFLq2M_EG-11N+B1sCOxhu_NT8xcTQnJ-ZCw@mail.gmail.com \
    --to=fontaine.fabrice@gmail.com \
    --cc=bernd.kuhls@t-online.de \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.