On Sunday, 29 June 2014, INTERLICHTSPIELHAUS <[email protected]> wrote:
> > On Saturday, 28 June 2014, INTERLICHTSPIELHAUS < >> [email protected] >> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: >> >> > I'm compiling MyPaint from source >> > and recently my build broke: >> > >> > Package json-c was not found in the pkg-config search path. >> > Perhaps you should add the directory containing `json-c.pc' >> > >> > i have libjson0 and libjson0-dev installed >> > >> >> Which versions? You will need json-c >= 0.11 >> since e1f40d8afe1f7686977fcba164b4295426fcafb2. >> > > i have libjson0 version 0.10 > Okay. You need to upgrade your libjson0 or modify your brushlib/SConscript. This was cause by the json-c project changing its pkgconfig name (!) between 0.10 and 0.11. Here is the upstream change that introduced the change: https://github.com/json-c/json-c/commit/30dd367c0a2467dc292f653ea3afd6ad4c6e034b Here's the bug on our old tracker relating to this change: https://gna.org/bugs/?20817 See also https://mail.gna.org/public/mypaint-discuss/2014-06/msg00001.html >> and thread. >> >> I'd be happy to accept patches or pull requests addressing this by looking >> for one and then the other. >> > > you mean mypaint can still build with version 0.10 ? > Yes, but in this case scons (and pkgconfig) must be instructed to look for the libjson0 using the right name in brushlib/SConscript. > what is *one* ? what is *the other* ? > Sorry, let me clarify. "I would be happy to accept patches or pull requests which address this build breakage by looking for libjson0 under two names: "json-c" 1st, followed by "json" 2nd if the 1st lookup fails." This is low priority for us at the moment, but please open an issue on github about this if libjson0 <= 0.10 is still in widespread use in stable versions of major Linux distributions, counting their backports. https://github.com/mypaint/libmypaint/issues I note that 0.11 is still available for Debian stable ("Wheezy") via backports: http://packages.debian.org/libjson0. -- Andrew Chadwick
_______________________________________________ Mypaint-discuss mailing list [email protected] https://mail.gna.org/listinfo/mypaint-discuss
