All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package/xterm: compile with libXft support when it selected
Date: Mon, 27 Jul 2015 17:04:51 +0200	[thread overview]
Message-ID: <55B64893.8010801@openwide.fr> (raw)
In-Reply-To: <1438008410-1465-2-git-send-email-bas@bmail.ru>

Hi Mikhail,

Le 27/07/2015 16:46, Mikhail Peselnik a ?crit :
> When libXft (FreeType) library is selected, xterm will use it.
> host-pkgcong is used to search for libXft during configure, so it
> is in the dependencies.
> 
> Signed-off-by: Mikhail Peselnik <bas@bmail.ru>

Thanks for your patches!

Reviewed-by: Romain Naour <romain.naour@openwide.fr>

[Build tested only and checked that the libXft library is detected by the
configure script
"checking if we can link with FreeType libraries... yes"]
Tested-by: Romain Naour <romain.naour@openwide.fr>

Best regards,
Romain

> ---
>  package/xterm/xterm.mk | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/package/xterm/xterm.mk b/package/xterm/xterm.mk
> index 778b40c..e7afff2 100644
> --- a/package/xterm/xterm.mk
> +++ b/package/xterm/xterm.mk
> @@ -7,11 +7,19 @@
>  XTERM_VERSION = 314
>  XTERM_SOURCE = xterm-$(XTERM_VERSION).tgz
>  XTERM_SITE = ftp://invisible-island.net/xterm
> -XTERM_DEPENDENCIES = ncurses xlib_libXaw
> +XTERM_DEPENDENCIES = ncurses xlib_libXaw host-pkgconf
>  XTERM_LICENSE = MIT
>  XTERM_LICENSE_FILES = version.c
>  XTERM_CONF_OPTS = --enable-256-color \
>  	--x-includes=$(STAGING_DIR)/usr/include \
>  	--x-libraries=$(STAGING_DIR)/usr/lib
>  
> +ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y)
> +XTERM_DEPENDENCIES += xlib_libXft
> +XTERM_CONF_OPTS += --enable-freetype \
> +	--with-freetype-config=auto
> +else
> +XTERM_CONF_OPTS += --disable-freetype
> +endif
> +
>  $(eval $(autotools-package))
> 

  reply	other threads:[~2015-07-27 15:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-27 14:46 [Buildroot] [PATCH 1/2] xterm: x-includes and x-libraries must be set for cross-compiling Mikhail Peselnik
2015-07-27 14:46 ` [Buildroot] [PATCH 2/2] package/xterm: compile with libXft support when it selected Mikhail Peselnik
2015-07-27 15:04   ` Romain Naour [this message]
2015-07-27 15:01 ` [Buildroot] [PATCH 1/2] xterm: x-includes and x-libraries must be set for cross-compiling Romain Naour
2015-07-27 20:55 ` Thomas Petazzoni
2015-07-28  4:38   ` kyak

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=55B64893.8010801@openwide.fr \
    --to=romain.naour@openwide.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 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.