Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/7 v2] package/freerdp: add missing dependency
Date: Wed, 8 Oct 2014 23:12:02 +0200	[thread overview]
Message-ID: <20141008211202.GG4718@free.fr> (raw)
In-Reply-To: <CAHXCMMLjD7vNgCj+1wRohYVTJfzLq9TXqDaODhF7Ukw0bniRLw@mail.gmail.com>

Samuel, All,

On 2014-10-08 22:01 +0200, Samuel Martin spake thusly:
> On Tue, Oct 7, 2014 at 12:35 AM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> > To build the server, FreeRDP needs the Xdamage library.
> >
> > It seems we were (un)lucky so far, because the server is not built (by
> > default?), even if Xdamage is enabled.
> 
> You are talking about the content of freerdp/server directory here?
> If so, according to the CMake code, the server build is disabled by
> default, so you should also do:
> FREERDP_CONF_OPTS += -DWITH_SERVER=ON

So, we never ever built the server so far, only the lib and the client.

> > Add this missing dependency.
> 
> Checking carefully the CMake code, it seems that only Xshm is required
> for the client, all other X-features are just recommended.

OK, I'll rework the series that way:

  - only forcibly select the strictly required libs;
  - build-depend on the optional libs if they are selected;
  - since Xdamage is required for the server, only forcibly select it if
    the server is enabled.

Thamks! :-)

Regards,
Yann E. MORIN.

> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > ---
> >  package/freerdp/Config.in  | 1 +
> >  package/freerdp/freerdp.mk | 2 +-
> >  2 files changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/package/freerdp/Config.in b/package/freerdp/Config.in
> > index 81a67ea..23d0b0f 100644
> > --- a/package/freerdp/Config.in
> > +++ b/package/freerdp/Config.in
> > @@ -17,5 +17,6 @@ config BR2_PACKAGE_FREERDP_NEEDS_XLIBS
> >         select BR2_PACKAGE_XLIB_LIBXT
> >         select BR2_PACKAGE_XLIB_LIBXEXT
> >         select BR2_PACKAGE_XLIB_LIBXCURSOR
> > +       select BR2_PACKAGE_XLIB_LIBXDAMAGE
> >
> >  endif
> > diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk
> > index 49347fa..b50fd1e 100644
> > --- a/package/freerdp/freerdp.mk
> > +++ b/package/freerdp/freerdp.mk
> > @@ -14,7 +14,7 @@ FREERDP_LICENSE_FILES = LICENSE
> >  FREERDP_CONF_OPTS = -DWITH_MANPAGES=OFF
> >
> >  ifeq ($(BR2_PACKAGE_FREERDP_NEEDS_XLIBS),y)
> > -FREERDP_DEPENDENCIES += xlib_libX11 xlib_libXt xlib_libXext xlib_libXcursor
> > +FREERDP_DEPENDENCIES += xlib_libX11 xlib_libXt xlib_libXext xlib_libXcursor xlib_libXdamage
> >  FREERDP_CONF_OPTS += -DWITH_X11=ON
> >  else
> >  FREERDP_CONF_OPTS += -DWITH_X11=OFF
> > --
> > 1.9.1
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
> 
> Regards,
> 
> -- 
> Samuel

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2014-10-08 21:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-06 22:35 [Buildroot] [PATCH 0/7 v2] weston: new freerdp backend (branch yem/bumps) Yann E. MORIN
2014-10-06 22:35 ` [Buildroot] [PATCH 1/7 v2] pacakge/freerdp: disable building the manpages Yann E. MORIN
2014-10-08 19:45   ` Samuel Martin
2014-10-06 22:35 ` [Buildroot] [PATCH 2/7 v2] package/freerdp: do not forcibly depend on X.Org Yann E. MORIN
2014-10-08 19:54   ` Samuel Martin
2014-10-06 22:35 ` [Buildroot] [PATCH 3/7 v2] package/freerdp: add missing dependency Yann E. MORIN
2014-10-08 20:01   ` Samuel Martin
2014-10-08 21:12     ` Yann E. MORIN [this message]
2014-10-06 22:35 ` [Buildroot] [PATCH 4/7 v2] package/freerdp: add options to enable/disable server and/or client Yann E. MORIN
2014-10-08 21:37   ` Samuel Martin
2014-10-06 22:35 ` [Buildroot] [PATCH 5/7 v2] package/freerdp: also install to staging Yann E. MORIN
2014-10-08 20:59   ` Samuel Martin
2014-10-06 22:35 ` [Buildroot] [PATCH 6/7 v2] package/freerdp: install server key and certificate Yann E. MORIN
2014-10-08 20:58   ` Samuel Martin
2014-10-08 21:08     ` Yann E. MORIN
2014-10-06 22:35 ` [Buildroot] [PATCH 7/7 v2] package/weston: add support for the RDP compositor Yann E. MORIN
2014-10-08 21:05   ` Samuel Martin

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=20141008211202.GG4718@free.fr \
    --to=yann.morin.1998@free.fr \
    --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