linuxmint / pix

Image management application
GNU General Public License v2.0
205 stars 43 forks source link

Fixed build with libraw 0.21 #168

Closed bobby285271 closed 1 year ago

bobby285271 commented 1 year ago

This is a cherry-pick of https://github.com/GNOME/gthumb/commit/da0d3f22a5c3a141211d943e7d963d14090011ec.

gthumb 3.12.2 does not build with libraw 0.21. Since current master is based on gthumb 3.12.2, the failure is unfortunately the same. So here is a build log of gthumb: https://hydra.nixos.org/build/209327709/nixlog/1

This should still work with old libraw (tested 0.20.2 and 0.21.1) since this is a conditional port.


LIBRAW_OPIONS_* (missing a T in OPTIONS) is a typo made by libraw, not a gthumb issue and I am applying the gthumb patch as-is. The typo is kept in libraw 0.21.