All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4] package/python-pillow: add xcb support
Date: Sat, 22 May 2021 19:41:57 +0200	[thread overview]
Message-ID: <20210522174159.278657-2-fontaine.fabrice@gmail.com> (raw)
In-Reply-To: <20210522174159.278657-1-fontaine.fabrice@gmail.com>

libxcb is an optional dependency since version 7.1.0 and
https://github.com/python-pillow/Pillow/commit/3c39e6fcf6a11b18eec0d1c66710bcd35033d069

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/python-pillow/python-pillow.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/python-pillow/python-pillow.mk b/package/python-pillow/python-pillow.mk
index 3018758b48..ab52f38df1 100644
--- a/package/python-pillow/python-pillow.mk
+++ b/package/python-pillow/python-pillow.mk
@@ -35,6 +35,13 @@ else
 PYTHON_PILLOW_BUILD_OPTS += --disable-lcms
 endif
 
+ifeq ($(BR2_PACKAGE_LIBXCB),y)
+PYTHON_PILLOW_DEPENDENCIES += libxcb
+PYTHON_PILLOW_BUILD_OPTS += --enable-xcb
+else
+PYTHON_PILLOW_BUILD_OPTS += --disable-xcb
+endif
+
 ifeq ($(BR2_PACKAGE_OPENJPEG),y)
 PYTHON_PILLOW_DEPENDENCIES += openjpeg
 PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg2000
-- 
2.30.2

  reply	other threads:[~2021-05-22 17:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-22 17:41 [Buildroot] [PATCH 1/4] package/python-pillow: add lcms2 support Fabrice Fontaine
2021-05-22 17:41 ` Fabrice Fontaine [this message]
2021-05-24  8:52   ` [Buildroot] [PATCH 2/4] package/python-pillow: add xcb support Yann E. MORIN
2021-06-08  8:25   ` Peter Korsgaard
2021-05-22 17:41 ` [Buildroot] [PATCH 3/4] package/python-pillow: add webpmux support Fabrice Fontaine
2021-05-24  8:56   ` Yann E. MORIN
2021-06-08  8:25   ` Peter Korsgaard
2021-05-22 17:41 ` [Buildroot] [PATCH 4/4] package/python-pillow: security bump to version 8.2.0 Fabrice Fontaine
2021-05-24  8:56   ` Yann E. MORIN
2021-06-08  8:25   ` Peter Korsgaard
2021-05-24  8:52 ` [Buildroot] [PATCH 1/4] package/python-pillow: add lcms2 support Yann E. MORIN
2021-06-08  8:25 ` Peter Korsgaard

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=20210522174159.278657-2-fontaine.fabrice@gmail.com \
    --to=fontaine.fabrice@gmail.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 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.