All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: "J. Neuschäfer" <j.neuschaefer@gmx.net>
Cc: "J. Neuschäfer via buildroot" <buildroot@buildroot.org>,
	"Angelo Compagnucci" <angelo.compagnucci@gmail.com>,
	"Grzegorz Blach" <grzegorz@blach.pl>,
	"James Hilliard" <james.hilliard1@gmail.com>
Subject: Re: [Buildroot] [PATCH RFC 1/2] package/python-pillow: install libImaging headers
Date: Sun, 28 Dec 2025 20:09:32 +0100	[thread overview]
Message-ID: <20251228200932.7e958db3@windsurf> (raw)
In-Reply-To: <aVF8lcjpAKr1uOQa@probook>

On Sun, 28 Dec 2025 19:53:09 +0100
J. Neuschäfer <j.neuschaefer@gmx.net> wrote:

> Pretty much. python-pillow is a Python module, but it's partially
> implemented in C. python-rgbmatrix (the Python module for the
> rpi-rgb-led-matrix C++ library) accesses internal state of objects
> created by python-pillow. There is no direct linking, both native
> libraries exist in the same process because they are loaded as part of
> their respective Python modules. Prior to this commit, python-rgbmatrix
> included its own definition of struct ImagingMemoryInstance (called
> PillowImagingInstance). With this commit, pillow's Imaging.h is included
> to get the struct layout and ultimately the offset of the "image32"
> member.

Awesome explanation, thanks a lot! Could you copy/paste this into the
commit message?

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2025-12-28 19:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-26 16:07 [Buildroot] [PATCH RFC 0/2] Update package/rpi-rgb-led-matrix J. Neuschäfer via buildroot
2025-12-26 16:07 ` [Buildroot] [PATCH RFC 1/2] package/python-pillow: install libImaging headers J. Neuschäfer via buildroot
2025-12-27 23:14   ` Thomas Petazzoni via buildroot
2025-12-28 18:53     ` J. Neuschäfer via buildroot
2025-12-28 19:09       ` Thomas Petazzoni via buildroot [this message]
2025-12-26 16:07 ` [Buildroot] [PATCH RFC 2/2] package/rpi-rgb-led-matrix: update to latest git version (2025-12-22) J. Neuschäfer via buildroot

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=20251228200932.7e958db3@windsurf \
    --to=buildroot@buildroot.org \
    --cc=angelo.compagnucci@gmail.com \
    --cc=grzegorz@blach.pl \
    --cc=j.neuschaefer@gmx.net \
    --cc=james.hilliard1@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /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.