Re: [Gimp-developer] how to build json-glib in a prefix when building gimp from git in a prefix?



Many thanks to everyone who helped sort out how to build json-glib. I did finally manage to build json-glib in a prefix on Gentoo, using these commands:

$PREFIX=PREFIX=$HOME/code-install/gimp299/install
cd json-glib
mkdir build
cd build
meson --prefix=$PREFIX ..
ninja install

Best,
Elle

On 09/30/2018 06:36 AM, Ken Moffat via gimp-developer-list wrote:
On Sun, Sep 30, 2018 at 10:44:38AM +0200, wwp wrote:
Hello Ken,

Hi wwp,

On Sun, 30 Sep 2018 02:33:34 +0100 Ken Moffat via gimp-developer-list <gimp-developer-list gnome org> wrote:

On Sun, Sep 30, 2018 at 12:00:40AM +0100, Ken Moffat via gimp-developer-list wrote:
On Sat, Sep 29, 2018 at 06:21:36PM -0400, Elle Stone wrote:

I don't know what version json-glib from git is on. I cloned it as follows:
git clone https://gitlab.gnome.org/GNOME/json-glib But I'd be happy to
download a specific tarball, if anyone knows what version of json-glib is
currently required by GIMP.
Are you sure you need json-glib ?


Json-glib *is* needed to build gimp 2.10. I build gimp 2.8/2.10 on
CentOS 6 and 7 boxes, where no package is available (for the latest 2.8
and 2.10 at all), and I build quite all the necessary deps (it's a lot
and the cross-deps are a nightmare), json-glib is required at some
step. From what I see in my build script, gegl 0.3/0.4 need it.


Yeah, you are right.  I thought it must be a new dep for gimp
itself.  And I didn't remember using it.  But now that I look at my
scripts I can see that it is GEGL which needs it.

So for Elle, the version is whatever your GEGL needs.  A quick look
at https://gitlab.gnome.org/GNOME/gegl/blob/master/configure.ac
suggests json-glib-1.0 which both json-glib-1.2 and -1.4 (and
probably even -1.0) provided.

ĸen



--
https://ninedegreesbelow.com
Color management and free/libre photography


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]