package/python-pillow: fix webp DependencyException
PATCH 1/1 package/python-pillow: fix webp DependencyException
As of baa3db0c34e826cc1c6469fd8ecbfbc5c2ef2e2c webp mux/demux are no longer optional for webp support in python-pillow.
Fixes:
DependencyException:
The headers or library files could not be found for webp, which was requested by the option flag --enable-webp
--- package/python-pillow/python-pillow.mk | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
package/python-pillow/python-pillow.mk +2 -7
@@ -58,16 +58,11 @@ else PYTHON_PILLOW_BUILD_OPTS += -Ctiff=disable endif -ifeq ($(BR2_PACKAGE_WEBP),y) +ifeq ($(BR2_PACKAGE_WEBP)$(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yyy) PYTHON_PILLOW_DEPENDENCIES += webp PYTHON_PILLOW_BUILD_OPTS += -Cwebp=enable -ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy) -PYTHON_PILLOW_BUILD_OPTS += -Cwebpmux=enable else -PYTHON_PILLOW_BUILD_OPTS += -Cwebpmux=disable -endif -else -PYTHON_PILLOW_BUILD_OPTS += -Cwebp=disable -Cwebpmux=disable +PYTHON_PILLOW_BUILD_OPTS += -Cwebp=disable endif $(eval $(python-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines · James Hilliard
As of
baa3db0c34e826cc1c6469fd8ecbfbc5c2ef2e2cwebp mux/demux are no longer optional for webp support in python-pillow.Fixes:
DependencyException:
The headers or library files could not be found for webp, which was requested by the option flag --enable-webp
I added:
I don't think Peter uses this information at the moment but it could be useful.
Applied to master, thanks.
Quoted 11 lines
Signed-off-by James Hilliard <[email protected]>--- package/python-pillow/python-pillow.mk | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)package/python-pillow/python-pillow.mk +0
-0
package/python-pillow/python-pillow.mk else · line 61
Quoted 5 lines
package/python-pillow/python-pillow.mk +1
-1@@ -58,16 +58,11 @@ else PYTHON_PILLOW_BUILD_OPTS += -Ctiff=disable endif -ifeq ($(BR2_PACKAGE_WEBP),y) +ifeq ($(BR2_PACKAGE_WEBP)$(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yyy)
It would also be possible to add to Config.in:
select BR2_PACKAGE_WEBP_DEMUX if BR2_PACKAGE_WEBP select BR2_PACKAGE_WEBP_MUX if BR2_PACKAGE_WEBP
We do that for a few other packages. But either way works.
Regards,
Arnout
package/python-pillow/python-pillow.mk else · line 68
Quoted 13 lines
package/python-pillow/python-pillow.mk +1
-6PYTHON_PILLOW_DEPENDENCIES += webp PYTHON_PILLOW_BUILD_OPTS += -Cwebp=enable -ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy) -PYTHON_PILLOW_BUILD_OPTS += -Cwebpmux=enable else -PYTHON_PILLOW_BUILD_OPTS += -Cwebpmux=disable -endif -else -PYTHON_PILLOW_BUILD_OPTS += -Cwebp=disable -Cwebpmux=disable +PYTHON_PILLOW_BUILD_OPTS += -Cwebp=disable endif $(eval $(python-package))
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle via buildroot <[email protected]> writes:
Quoted 6 lines · James Hilliard
As of
baa3db0c34e826cc1c6469fd8ecbfbc5c2ef2e2cwebp mux/demux are no longer optional for webp support in python-pillow.
Fixes:
DependencyException:
The headers or library files could not be found for webp, which was requested by the option flag --enable-webp
Quoted 5 lines
I added:
Fixes baa3db0c34e826cc1c6469fd8ecbfbc5c2ef2e2cI don't think Peter uses this information at the moment but it could be useful.
I do, it is indeed handy when we clearly mark when an issue was introduced.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot