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 1/1] cups: add dependency on threads
Date: Wed, 1 Nov 2017 14:05:16 +0100	[thread overview]
Message-ID: <20171101140516.112d3502@windsurf> (raw)
In-Reply-To: <20171101102438.6086-1-olivier.schonken@gmail.com>

Hello,

On Wed,  1 Nov 2017 12:24:38 +0200, Olivier Schonken wrote:
> Add myself as CUPS maintainer in DEVELOPERS list
> Fixes
> http://autobuild.buildroot.net/results/0f1cb8d72d0a78eb8b5c46548bc7c7bade93c674
> 
> Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
> ---
>  DEVELOPERS             | 1 +
>  package/cups/Config.in | 6 ++++--
>  2 files changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 862399b45a..6c1319ccc4 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1168,6 +1168,7 @@ F:	package/ijs/
>  F:	package/poppler/
>  F:	package/qpdf/
>  F:	package/openjpeg/
> +F:  package/cups/

This should have been a separate patch. Also, the indentation is wrong,
and you broke alphabetic ordering. I've fixed this and applied as a
separate patch.

Remember: independent changes should be made in separate patches.

> diff --git a/package/cups/Config.in b/package/cups/Config.in
> index 3f5460c11b..635c0273c5 100644
> --- a/package/cups/Config.in
> +++ b/package/cups/Config.in
> @@ -2,6 +2,8 @@ config BR2_PACKAGE_CUPS
>  	bool "cups"
>  	# needs libstdcpp for ppdc
>  	depends on BR2_INSTALL_LIBSTDCPP
> +	# needs threads for ippserver
> +	depends on BR2_TOOLCHAIN_HAS_THREADS
>  	# needs fork()
>  	depends on BR2_USE_MMU
>  	help
> @@ -9,5 +11,5 @@ config BR2_PACKAGE_CUPS
>  
>  	  http://www.cups.org
>  
> -comment "cups needs a toolchain w/ C++"
> -	depends on !BR2_INSTALL_LIBSTDCPP
> +comment "cups needs a toolchain w/ C++, threads"
> +	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)

We generally use:

	depends on !foo || !bar

instead, so I've fixed that and applied.

Thanks!

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

      reply	other threads:[~2017-11-01 13:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01 10:24 [Buildroot] [PATCH 1/1] cups: add dependency on threads Olivier Schonken
2017-11-01 13:05 ` Thomas Petazzoni [this message]

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=20171101140516.112d3502@windsurf \
    --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