-
-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libheif.pc shows builtin encoders/decoders even if built as plugins #758
Comments
TBH, I've rarely (if ever?) seen (private?) library features being recorded and queried like this via pkg-config, so not sure if anyone is actually using these... |
We can find out by removing these fields and waiting if somebody will complain. |
…rukturag#758) also not jet used in libheif.pc.in strukturag#758
libvips depends on these pkg-config fields, I just opened PR libvips/libvips#3299 for that. |
GIMP also depends on these pkg-config fields, see: |
@kleisauke Right. Maybe instead of removing these fields completely, it would be better to always set them to 'true'. In that case, there might be an "unknown codec" error during runtime if the corresponding plugin is mussing, but at least it will still compile correctly everywhere. What do you think? |
@farindk Sounds good to me. For GIMP specifically, these fields should be set to
(to satisfy that |
…hat still needs them, still compiles (#758)
Reported to gimp here: https://gitlab.gnome.org/GNOME/gimp/-/issues/9080 |
Just 2c: why not leave this open until the GIMP and libvips drop using these so they can be removed eventually? |
@kmilos Also fine with me. Leaving this open as a reminder to remove the variables completely when other software does not depend on it anymore. |
I checked the current GIMP build script. It does not depend on these variables anymore. |
#1062 removes the variables (v1.18.0 branch). |
Well, sorry for posting into this closed issue, but the current stable gimp version 2.10.38 still does the check for builtin_h265_decoder and builtin_h265_encoder. Only in the 2.99 versions they now try to compile a C program and check if Possibly this removal was a bit early? |
@hornschorsch These flags do not make any sense anymore with current libheif versions. If there are old build scripts that use them, you can use libheif v1.17.6 (even though they were already disfunctional at that time). |
Also checking for available codecs at build-time with |
Well, thats what the gimp people are doing. Above you stated that you would keep these variables as long as gimp and vips use them, and now you removed them just because the development versions do not use them any more. Took me several hours to understand what was happening and finally compile the current stable version - not an "old" build script! - of gimp with heic support... but let's leave it at that... |
The
libheif.pc
has fields likebuiltin_h265_decoder=yes
even if the libde265 plugin was built as plugin, i.e. is not builtin.Are these
builtin_*
fields really used given that there are more possible decoders / encoders than what is currently checked?The text was updated successfully, but these errors were encountered: