Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 08/11 v5] package/freerdp: add options to enable/disable server and/or client
Date: Sun, 22 Feb 2015 12:48:15 +0100	[thread overview]
Message-ID: <20150222124815.0b4d9ba4@free-electrons.com> (raw)
In-Reply-To: <44fb109d81db4309f73d7f85fcd533c3f1dee6cb.1424558036.git.yann.morin.1998@free.fr>

Dear Yann E. MORIN,

One question, see below.

On Sat, 21 Feb 2015 23:36:21 +0100, Yann E. MORIN wrote:

> diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk
> index cf96ff4..33eacc2 100644
> --- a/package/freerdp/freerdp.mk
> +++ b/package/freerdp/freerdp.mk
> @@ -64,13 +64,33 @@ ifeq ($(BR2_arm)$(BR2_armeb),y)
>  FREERDP_CONF_OPTS += -DARM_FP_ABI=$(call qstrip,$(BR2_GCC_TARGET_FLOAT_ABI))
>  endif
>  
> -ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y)
> -FREERDP_DEPENDENCIES += xlib_libXext
> -FREERDP_CONF_OPTS += -DWITH_X11=ON
> +#---------------------------------------
> +# Enabling server and/or client
> +
> +ifeq ($(BR2_PACKAGE_FREERDP_SERVER),y)
> +FREERDP_CONF_OPTS += -DWITH_SERVER=ON -DWITH_SERVER_INTERFACE=ON
>  else
> -FREERDP_CONF_OPTS += -DWITH_X11=OFF
> +FREERDP_CONF_OPTS += -DWITH_SERVER=OFF -DWITH_SERVER_INTERFACE=OFF
>  endif
>  
> +ifeq ($(BR2_PACKAGE_FREERDP_CLIENT),y)
> +FREERDP_CONF_OPTS += -DWITH_CLIENT=ON -DWITH_CLIENT_INTERFACE=ON
> +else
> +FREERDP_CONF_OPTS += -DWITH_CLIENT=OFF -DWITH_CLIENT_INTERFACE=OFF
> +endif
> +
> +#---------------------------------------
> +# X.Org libs for client and/or server
> +
> +ifneq ($(BR2_PACKAGE_FREERDP_SERVER)$(BR2_PACKAGE_FREERDP_CLIENT),)
> +
> +# Those two are mandatory for both the server and the client
> +FREERDP_DEPENDENCIES += xlib_libX11 xlib_libXext
> +FREERDP_CONF_OPTS += -DWITH_X11=ON
> +
> +# The following libs are either optional or mandatory only for either
> +# the server or the client. A mandatory library for either one is
> +# selected from Kconfig, so we can make it conditional here
>  ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
>  FREERDP_CONF_OPTS += -DWITH_XCURSOR=ON
>  FREERDP_DEPENDENCIES += xlib_libXcursor
> @@ -78,6 +98,20 @@ else
>  FREERDP_CONF_OPTS += -DWITH_XCURSOR=OFF
>  endif
>  
> +ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y)
> +FREERDP_CONF_OPTS += -DWITH_XDAMAGE=ON
> +FREERDP_DEPENDENCIES += xlib_libXdamage
> +else
> +FREERDP_CONF_OPTS += -DWITH_XDAMAGE=OFF
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y)
> +FREERDP_CONF_OPTS += -DWITH_XFIXES=ON
> +FREERDP_DEPENDENCIES += xlib_libXfixes
> +else
> +FREERDP_CONF_OPTS += -DWITH_XFIXES=OFF
> +endif
> +
>  ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y)
>  FREERDP_CONF_OPTS += -DWITH_XI=ON
>  FREERDP_DEPENDENCIES += xlib_libXi
> @@ -99,6 +133,13 @@ else
>  FREERDP_CONF_OPTS += -DWITH_XKBFILE=OFF
>  endif
>  
> +ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
> +FREERDP_CONF_OPTS += -DWITH_XRANDR=ON
> +FREERDP_DEPENDENCIES += xlib_libXrandr
> +else
> +FREERDP_CONF_OPTS += -DWITH_XRANDR=OFF
> +endif
> +
>  ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y)
>  FREERDP_CONF_OPTS += -DWITH_XRENDER=ON
>  FREERDP_DEPENDENCIES += xlib_libXrender
> @@ -106,6 +147,13 @@ else
>  FREERDP_CONF_OPTS += -DWITH_XRENDER=OFF
>  endif
>  
> +ifeq ($(BR2_PACKAGE_XLIB_LIBXTST),y)
> +FREERDP_CONF_OPTS += -DWITH_XTEST=ON
> +FREERDP_DEPENDENCIES += xlib_libXtst
> +else
> +FREERDP_CONF_OPTS += -DWITH_XTEST=OFF
> +endif
> +
>  ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y)
>  FREERDP_CONF_OPTS += -DWITH_XV=ON
>  FREERDP_DEPENDENCIES += xlib_libXv
> @@ -113,4 +161,10 @@ else
>  FREERDP_CONF_OPTS += -DWITH_XV=OFF
>  endif
>  
> +else # ! SERVER && ! CLIENT
> +
> +FREERDP_CONF_OPTS += -DWITH_X11=OFF
> +
> +endif # ! USES_XLIBS

Is this really ! USES_XLIBS ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2015-02-22 11:48 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-21 22:36 [Buildroot] [PATCH 0/11 v5] weston: new freerdp backend (branch yem/freerdp) Yann E. MORIN
2015-02-21 22:36 ` [Buildroot] [PATCH 01/11 v5] package/freerdp: bump version Yann E. MORIN
2015-03-04 11:02   ` Thomas Petazzoni
2015-03-04 17:51     ` Yann E. MORIN
2015-02-21 22:36 ` [Buildroot] [PATCH 02/11 v5] package/freerdp: conditionally build gstreamer support Yann E. MORIN
2015-02-21 22:36 ` [Buildroot] [PATCH 03/11 v5] package/freerdp: conditionally build support for libXi Yann E. MORIN
2015-02-21 22:36 ` [Buildroot] [PATCH 04/11 v5] package/freerdp: conditionally build support for libXrender Yann E. MORIN
2015-02-21 22:36 ` [Buildroot] [PATCH 05/11 v5] package/freerdp: avoid development warning Yann E. MORIN
2015-02-21 22:36 ` [Buildroot] [PATCH 06/11 v5] package/freerdp: do not forcibly depend on X.Org Yann E. MORIN
2015-02-21 22:36 ` [Buildroot] [PATCH 07/11 v5] package/freerdp: move architecture-specific block Yann E. MORIN
2015-02-21 22:36 ` [Buildroot] [PATCH 08/11 v5] package/freerdp: add options to enable/disable server and/or client Yann E. MORIN
2015-02-22 11:48   ` Thomas Petazzoni [this message]
2015-02-22 13:14     ` Yann E. MORIN
2015-02-21 22:36 ` [Buildroot] [PATCH 09/11 v5] package/freerdp: also install to staging Yann E. MORIN
2015-02-21 22:36 ` [Buildroot] [PATCH 10/11 v5] package/freerdp: install server key and certificate Yann E. MORIN
2015-02-22 11:47   ` Thomas Petazzoni
2015-02-22 13:16     ` Yann E. MORIN
2015-02-22 13:45       ` Thomas Petazzoni
2015-02-22 14:01         ` Yann E. MORIN
2015-02-21 22:36 ` [Buildroot] [PATCH 11/11 v5] package/weston: add support for the RDP compositor Yann E. MORIN
2015-02-22 11:13 ` [Buildroot] [PATCH 0/11 v5] weston: new freerdp backend (branch yem/freerdp) Thomas Petazzoni
2015-02-22 11:47   ` Thomas Petazzoni

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=20150222124815.0b4d9ba4@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox