Failure to detect libmypaint on Arch Linux
Configure fails to detect libmypaint because it checks for 'libmypaint', not 'libmypaint-1.3'. This can be worked around by setting
- export LIBMYPAINT_CFLAGS=$(pkg-config --cflags 'libmypaint-1.3 >= 1.3.0')
- export LIBMYPAINT_LIBS=$(pkg-config --cflags --libs 'libmypaint-1.3 >= 1.3.0')
before running autogen.sh.
It would be nice to fall back to a check for 'libmypaint-1.3' if possible.
This issue is probably specific to Arch, as libmypaint on github appears to install the 1.x version of libmypaint as what GIMP looks for, 'libmypaint', while the 2.x version is 'libmypaint-2.0'. I've also verified that the standard 'libmypaint' package on Arch installs only the following two .pc files: