tiff: Disable liblerc
PATCH 1/1 tiff: Disable liblerc
tiff-native may pick up liblerc from the host, in which case it's added as a private requirement in libtiff-4.pc. That in turn causes a build error in gtk4-native in Yocto.
This was observed on Fedora 42 with gdk-pixbuf2-devel installed on the host, where libtiff 4.7.0 is built with liblerc enabled.
Since liblerc does not exist in Yocto, disable its use in tiff.
Backport-to: walnascar
--- meta/recipes-multimedia/libtiff/tiff_4.7.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-multimedia/libtiff/tiff_4.7.0.bb +2 -0
@@ -32,6 +32,8 @@ inherit autotools multilib_header CACHED_CONFIGUREVARS = "ax_cv_check_gl_libgl=no" +EXTRA_OECONF = "--disable-lerc" + PACKAGECONFIG ?= "cxx jpeg zlib lzma \ strip-chopping extrasample-as-alpha check-ycbcr-subsampling"
Signature · 1 line
2.51.0
Quoted 21 lines · Zoltan Boszormenyi via lists.openembedded.org
tiff-native may pick up liblerc from the host, in which case it's added as a private requirement in libtiff-4.pc. That in turn causes a build error in gtk4-native in Yocto.
This was observed on Fedora 42 with gdk-pixbuf2-devel installed on the host, where libtiff 4.7.0 is built with liblerc enabled.
Since liblerc does not exist in Yocto, disable its use in tiff.
Signed-off-by Zoltán Böszörményi <[email protected]>Backport-to: walnascar
--- meta/recipes-multimedia/libtiff/tiff_4.7.0.bb | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-multimedia/libtiff/tiff_4.7.0.bb +0
-0
meta/recipes-multimedia/libtiff/tiff_4.7.0.bb inherit autotools multilib_header · line 35
Quoted 4 lines
meta/recipes-multimedia/libtiff/tiff_4.7.0.bb +1
-0@@ -32,6 +32,8 @@ inherit autotools multilib_header CACHED_CONFIGUREVARS = "ax_cv_check_gl_libgl=no" +EXTRA_OECONF = "--disable-lerc"
It would be good to make it a packageconfig that is disabled by default.
Quoted 16 lines
meta/recipes-multimedia/libtiff/tiff_4.7.0.bb +1
-1+ PACKAGECONFIG ?= "cxx jpeg zlib lzma \ strip-chopping extrasample-as-alpha check-ycbcr-subsampling" --2.51.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#222629): https://lists.openembedded.org/g/openembedded-core/message/222629
Mute This Topic: https://lists.openembedded.org/mt/114987790/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-