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

2018-09-30 Thread Elle Stone
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 
 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
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


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

2018-09-30 Thread Ken Moffat via gimp-developer-list
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 
>  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
-- 
  Well grubbed , old mole!
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] Regressions

2018-09-30 Thread Ofnuts

On 09/30/18 03:32, Diogo Piçarra via gimp-developer-list wrote:

Please create "regression" and "data loss" tags on gitlab. Make them
topmost priority and fix all regressions, data losses and most crashes
before releasing a new "stable" version.
Or use the money you just got to hire somebody to do that.
Maybe starting with this:
https://gitlab.gnome.org/GNOME/gimp/issues/1439
This is "totally unacceptable" and probably easy to fix but it's not fixed yet.


While I have created the bug report, I don't think this one is a major 
issue. There are work-arounds (in most cases you
can just flip the path..., and there are also scripts to reverse the 
path direction).


Gimp is mostly community-based, and the community isn't helping much. 
The code change that creates the bug is two years old, so this bug has 
been around in the 2.9 version and the 2.10 release candidates,  and no 
one encountered it? Reporting bugs is a service to developers... It's 
almost a way to thank them :)

___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


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

2018-09-30 Thread wwp
Hello Ken,


On Sun, 30 Sep 2018 02:33:34 +0100 Ken Moffat via gimp-developer-list 
 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:package="json-glib"/>
> ./build/windows/jhbuild/misclibs.moduleset: 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


pgpqctCZ_Vflu.pgp
Description: OpenPGP digital signature
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list