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



Hello Ken,


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 ?

I just cloned https://gitlab.gnome.org/GNOME/gimp.git a few minutes
ago.  I cani't run ./autogen.sh (don't have gtk-doc, and no intention
of installing that source of pain), but grepping for json-glib only
finds:

ken@origin /scratch/ken/git/gimp $find -type f | xargs grep json-glib 
./build/windows/jhbuild/gimp.moduleset:               <dep package="json-glib"/>
./build/windows/jhbuild/misclibs.moduleset:<autotools id="json-glib" autogen-sh="configure">
./build/windows/jhbuild/misclibs.moduleset:                   module="json-glib/1.2/json-glib-1.2.2.tar.xz"
./build/docker/gimpbuilder-base/Dockerfile:RUN apt-get install $APT_GET_OPTIONS intltool libglib2.0-dev 
libjson-c-dev libjson-glib-dev libgexiv2-dev libcairo2-dev libpango1.0-dev libjpeg62-turbo-dev 
libsuitesparse-dev libspiro-dev libopenexr-dev libwebp-dev

which suggests that only docker and windows need it.  And grepping
for JSON in capitals finds some perl modules in a git hook, and
JSON_C_LIBS references in the Makefile.am files under app/ - json-c
(0.12.1) is again referenced in windows and docker files.

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.


Regards,

-- 
wwp

Attachment: pgpMeIyA9noI9.pgp
Description: OpenPGP digital signature



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