Problem with GIMP 2.9.x build dependencies

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with GIMP 2.9.x build dependencies

aferrero1975
Dear GIMP experts,

I am having troubles to compile the dependencies required to build the latest GEGL/GIMP versions from GIT.

The problem I am facing is the following:

* on one hand, GEGL requires GLIB > 2.44.0

* on the other hand, PyGTK (needed to have python support in GIMP) wants pygobject-2.0, whose latest version I could find is 2.28.6
However, this version must be compiled against a gobject-introspection version prior to this commit: https://mail.gnome.org/archives/commits-list/2011-August/msg03069.html <https://mail.gnome.org/archives/commits-list/2011-August/msg03069.html> (Deprecate ErrorDomain), otherwise one gets compilation errors due to undefined enum values. So this brings me to 1.29.16 as the latest usable gobject-introspection version (at least according to release dates, see http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.29/ <http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.29/>).
However, gobject-introspection-1.29.16 cannot be compiled against glib-2.44.0 because of g_module_* functions having been moved into a sport library, which gobject-introspection-1.29.16 is not linking…

Am I doing something wrong? Is there a recommended set of library versions for compiling GIMP? Or should I patch object-introspection to add the missing glib library?

Thanks a lot in advance!
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GIMP 2.9.x build dependencies

Carol Spears-2
On Thu, May 18, 2017 at 8:49 AM, Carmelo DrRaw <[hidden email]> wrote:
> Dear GIMP experts,
>
> I am having troubles to compile the dependencies required to build the latest GEGL/GIMP versions from GIT.
>
> The problem I am facing is the following:
>
> * on one hand, GEGL requires GLIB > 2.44.0
>
> * on the other hand, PyGTK (needed to have python support in GIMP) wants pygobject-2.0, whose latest version I could find is 2.28.6

python-gtk2 contains pygobject now, for a while (if I remember
correctly).  I am using pygtk-2.24 and not having problems with it.

> Am I doing something wrong? Is there a recommended set of library versions for compiling GIMP? Or should I patch object-introspection to add the missing glib library?

Patch for gtk3?

carol
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GIMP 2.9.x build dependencies

Partha Bagchi-2
In reply to this post by aferrero1975
On Thu, May 18, 2017 at 8:49 AM, Carmelo DrRaw <[hidden email]>
wrote:

> Dear GIMP experts,
>
> I am having troubles to compile the dependencies required to build the
> latest GEGL/GIMP versions from GIT.
>
> The problem I am facing is the following:
>
> * on one hand, GEGL requires GLIB > 2.44.0
>
> * on the other hand, PyGTK (needed to have python support in GIMP) wants
> pygobject-2.0, whose latest version I could find is 2.28.6
> However, this version must be compiled against a gobject-introspection
> version prior to this commit: https://mail.gnome.org/
> archives/commits-list/2011-August/msg03069.html <https://mail.gnome.org/
> archives/commits-list/2011-August/msg03069.html> (Deprecate ErrorDomain),
> otherwise one gets compilation errors due to undefined enum values. So this
> brings me to 1.29.16 as the latest usable gobject-introspection version (at
> least according to release dates, see http://ftp.gnome.org/pub/
> GNOME/sources/gobject-introspection/1.29/ <http://ftp.gnome.org/pub/
> GNOME/sources/gobject-introspection/1.29/>).
> However, gobject-introspection-1.29.16 cannot be compiled against
> glib-2.44.0 because of g_module_* functions having been moved into a sport
> library, which gobject-introspection-1.29.16 is not linking…
>
> Am I doing something wrong? Is there a recommended set of library versions
> for compiling GIMP? Or should I patch object-introspection to add the
> missing glib library?
>
> Thanks a lot in advance!
>

Use pygtk-2.24 and you should be fine.
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GIMP 2.9.x build dependencies

aferrero1975
Carol, Partha,

thanks for your help. I am already using PyGTK-2.24.0, however it searches for pygobject-2.0.pc in the PKG_CONFIG path, and that’s what forces me to use a version of pygobject not newer than 2.28.6…

Partha, could you tell me which combination of library versions are you using for your windows and OS X builds?

Thanks!

> On 18 May 2017, at 16:50, Partha Bagchi <[hidden email]> wrote:
>
>
>
> On Thu, May 18, 2017 at 8:49 AM, Carmelo DrRaw <[hidden email] <mailto:[hidden email]>> wrote:
> Dear GIMP experts,
>
> I am having troubles to compile the dependencies required to build the latest GEGL/GIMP versions from GIT.
>
> The problem I am facing is the following:
>
> * on one hand, GEGL requires GLIB > 2.44.0
>
> * on the other hand, PyGTK (needed to have python support in GIMP) wants pygobject-2.0, whose latest version I could find is 2.28.6
> However, this version must be compiled against a gobject-introspection version prior to this commit: https://mail.gnome.org/archives/commits-list/2011-August/msg03069.html <https://mail.gnome.org/archives/commits-list/2011-August/msg03069.html> <https://mail.gnome.org/archives/commits-list/2011-August/msg03069.html <https://mail.gnome.org/archives/commits-list/2011-August/msg03069.html>> (Deprecate ErrorDomain), otherwise one gets compilation errors due to undefined enum values. So this brings me to 1.29.16 as the latest usable gobject-introspection version (at least according to release dates, see http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.29/ <http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.29/> <http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.29/ <http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.29/>>).
> However, gobject-introspection-1.29.16 cannot be compiled against glib-2.44.0 because of g_module_* functions having been moved into a sport library, which gobject-introspection-1.29.16 is not linking…
>
> Am I doing something wrong? Is there a recommended set of library versions for compiling GIMP? Or should I patch object-introspection to add the missing glib library?
>
> Thanks a lot in advance!
>
> Use pygtk-2.24 and you should be fine.

_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GIMP 2.9.x build dependencies

Partha Bagchi-2
On Thu, May 18, 2017 at 11:04 AM, Carmelo DrRaw <[hidden email]>
wrote:

> Carol, Partha,
>
> thanks for your help. I am already using PyGTK-2.24.0, however it searches
> for pygobject-2.0.pc in the PKG_CONFIG path, and that’s what forces me to
> use a version of pygobject not newer than 2.28.6…
>
> Partha, could you tell me which combination of library versions are you
> using for your windows and OS X builds?
>
> Thanks!
>
> I am guessing you mean the combination of python/pygtk etc.?

I use python version 2.7.5, pycairo 1.10.0, pygobject 2.28.6, pygtk-2.24.
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GIMP 2.9.x build dependencies

aferrero1975

> On 18 May 2017, at 17:23, Partha Bagchi <[hidden email]> wrote:
>
>
>
> On Thu, May 18, 2017 at 11:04 AM, Carmelo DrRaw <[hidden email] <mailto:[hidden email]>> wrote:
> Carol, Partha,
>
> thanks for your help. I am already using PyGTK-2.24.0, however it searches for pygobject-2.0.pc in the PKG_CONFIG path, and that’s what forces me to use a version of pygobject not newer than 2.28.6…
>
> Partha, could you tell me which combination of library versions are you using for your windows and OS X builds?
>
> Thanks!
>
> I am guessing you mean the combination of python/pygtk etc.?
>
> I use python version 2.7.5, pycairo 1.10.0, pygobject 2.28.6, pygtk-2.24.

Could you also tell me which version of Glib you are using? That’s what is causing me troubles…

Thanks!


_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GIMP 2.9.x build dependencies

Partha Bagchi-2
On Thu, May 18, 2017 at 11:26 AM, Carmelo DrRaw <[hidden email]>
wrote:

>
> On 18 May 2017, at 17:23, Partha Bagchi <[hidden email]> wrote:
>
>
>
> On Thu, May 18, 2017 at 11:04 AM, Carmelo DrRaw <[hidden email]>
> wrote:
>
>> Carol, Partha,
>>
>> thanks for your help. I am already using PyGTK-2.24.0, however it
>> searches for pygobject-2.0.pc in the PKG_CONFIG path, and that’s what
>> forces me to use a version of pygobject not newer than 2.28.6…
>>
>> Partha, could you tell me which combination of library versions are you
>> using for your windows and OS X builds?
>>
>> Thanks!
>>
>> I am guessing you mean the combination of python/pygtk etc.?
>
> I use python version 2.7.5, pycairo 1.10.0, pygobject 2.28.6, pygtk-2.24.
>
>
> Could you also tell me which version of Glib you are using? That’s what is
> causing me troubles…
>
> Thanks!
>
>
> Sorry. :(

My glib version is  2.53.1
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GIMP 2.9.x build dependencies

aferrero1975
Thanks!

May I also ask your gobject-introspection version?

>>
>> I use python version 2.7.5, pycairo 1.10.0, pygobject 2.28.6, pygtk-2.24.
>
> Could you also tell me which version of Glib you are using? That’s what is causing me troubles…
>
> Thanks!
>
>
> Sorry. :(
>
> My glib version is  2.53.1
>
>

_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GIMP 2.9.x build dependencies

Partha Bagchi-2
On Thu, May 18, 2017 at 12:10 PM, Carmelo DrRaw <[hidden email]>
wrote:

> Thanks!
>
> May I also ask your gobject-introspection version?
>

I don't use it.
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GIMP 2.9.x build dependencies

Kristian Rietveld
In reply to this post by aferrero1975
Try to disable introspection while building pygobject-2, add the following configure option:

  --enable-introspection=no


regards,

-kris.


> On 18 May 2017, at 18:10, Carmelo DrRaw <[hidden email]> wrote:
>
> Thanks!
>
> May I also ask your gobject-introspection version?
>
>>>
>>> I use python version 2.7.5, pycairo 1.10.0, pygobject 2.28.6, pygtk-2.24.
>>
>> Could you also tell me which version of Glib you are using? That’s what is causing me troubles…
>>
>> Thanks!
>>
>>
>> Sorry. :(
>>
>> My glib version is  2.53.1
>>
>>
>
> _______________________________________________
> gimp-developer-list mailing list
> List address:    [hidden email]
> List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
> List archives:   https://mail.gnome.org/archives/gimp-developer-list

_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GIMP 2.9.x build dependencies

aferrero1975
Partha, Kris, Thanks!

I’ve set

    --enable-introspection=no

for all the GTK packages and it seems it worked perfectly… no more version inconsistencies.

 

> On 19 May 2017, at 10:09, Kristian Rietveld <[hidden email]> wrote:
>
> Try to disable introspection while building pygobject-2, add the following configure option:
>
>  --enable-introspection=no
>
>
> regards,
>
> -kris.
>
>
>> On 18 May 2017, at 18:10, Carmelo DrRaw <[hidden email]> wrote:
>>
>> Thanks!
>>
>> May I also ask your gobject-introspection version?
>>
>>>>
>>>> I use python version 2.7.5, pycairo 1.10.0, pygobject 2.28.6, pygtk-2.24.
>>>
>>> Could you also tell me which version of Glib you are using? That’s what is causing me troubles…
>>>
>>> Thanks!
>>>
>>>
>>> Sorry. :(
>>>
>>> My glib version is  2.53.1
>>>
>>>
>>
>> _______________________________________________
>> gimp-developer-list mailing list
>> List address:    [hidden email]
>> List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
>> List archives:   https://mail.gnome.org/archives/gimp-developer-list
>

_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list