[Gimp-developer] Gimp "make install" fails with undefined references to fresh-built gegl

2020-06-16 Thread Deft Developer
I built gimp 2.10.18 on CentOS 7 last year on another host, but on a new
host with gimp 2.10.20, I'm stuck with undefined reference errors for GEGL.
I'm not a c++ developer, so this is all a foreign language to me :(

 

CentOS 7 libraries are all very old, so I built them, including latest GEGL
(0.4_24) and configured it with -prefix=/opt/gimp2.10

I deleted all gegl files before rebuilding, and now when I look in the lib64
dir I see the new libs:

 

ls -1 /opt/gimp-2.10/lib64/libgegl-* 
/opt/gimp-2.10/lib64/libgegl-0.4.so
/opt/gimp-2.10/lib64/libgegl-0.4.so.0
/opt/gimp-2.10/lib64/libgegl-0.4.so.0.424.1
/opt/gimp-2.10/lib64/libgegl-npd-0.4.so
/opt/gimp-2.10/lib64/libgegl-sc-0.4.so

 

ls -1 /opt/gimp-2.10/lib64/pkgconfig/gegl-*
/opt/gimp-2.10/lib64/pkgconfig/gegl-0.4.pc
/opt/gimp-2.10/lib64/pkgconfig/gegl-sc-0.4.pc

 

I set LD_LIBRARY_PATH and PKG_CONFIG_PATH to include my fresh libraries:

 
LD_LIBRARY_PATH=/opt/gimp-2.10/lib64:/opt/gimp-2.10/lib:/usr/local/lib64:/us
r/local/lib:/usr/lib
 
PKG_CONFIG_PATH=/opt/gimp-2.10/lib64/pkgconfig:/opt/gimp-2.10/share/pkgconfi
g:/opt/gimp-2.10/lib/pkgconfig/pkgconfig:/usr/local/share/pkgconfig:/usr/loc
al/lib/pkgconfig

 

But when I try to build gimp, ld fails. The errors start with:

 

make[3]: Entering directory
'/usr/exports/projects/3rd_party/gimp-world/gimp/app'

CCLD gimp-2.10

display/libappdisplay.a(gimpdisplay.o): In function
`gimp_display_update_bounding_box':

gimpdisplay.c:(.text+0x130c): undefined reference to
`gegl_rectangle_subtract'

...

gimp-gegl-utils.c:(.text+0xc7e): undefined reference to
`gegl_rectangle_subtract'

collect2: error: ld returned 1 exit status

make[3]: *** [Makefile:1010: gimp-2.10] Error 1

...

 

Is this a gegl mis-configuration or a gimp one?

How should I fix?

 

Thanks!

 

Deft

 

___
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] gimp git master + python

2020-06-16 Thread Lloyd Konneker via gimp-developer-list
The official stance is that Python plugins in Gimp 3 will need to use
Python3 and GObject Introspection.  There are working examples in the
gimp/plug-ins/python directory and at gimp/plug-ins/goat-exercises/... .py
.  AFAIK there is little documentation for plugin authors.

IOW PyGimp and GimpFu will be obsolete, but you will still be able to write
plugins in Python, and many other languages.

Also, plugins in Gimp 3 are a work in progress.  I think features like
automatic GUI (plugin dialog) generation and saving of settings might still
be absent in Gimp itself,  possibly just in the working examples.

There is a discussion https://gitlab.gnome.org/GNOME/gimp/-/issues/4717 and
also earlier in this mailing list.

Note I am not a Gimp developer, just a plugin author.
___
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


[Gimp-developer] gimp git master + python

2020-06-16 Thread [Ben] via gimp-developer-list

Hi,

Been a while since i've tinkered under the hood, i've been working on 
updating some python scripts that i have to make them work with the 
latest GIMP from git (master) and i was wondering if there was some API 
information somewhere on what's changed as right now i'm just spinning 
my wheels searching for it. I've managed to get them to load and appear 
in filters but that's about all that works so far, and some of the 
functions don't seem to take the same set of parameters. At least a lot 
of it is unclear so far.


Thanks in advance.

Ben

___
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] No Lua or Python in Gimp 2.99

2020-06-16 Thread Ofnuts

On 15/06/2020 23:25, Lloyd Konneker via gimp-developer-list wrote:

I would hope that in the future the Gimp install would define that variable
in the environment of Gimp so that plugins spawned by Gimp would have the
same environment.  But since 2.99 is still in development, there is no
installer so you must temporarily do it yourself.


When Gimp is installed as part of the system the typelibs are put in
directories that are already in the GI_TYPELIB_PATH (or in default
locations).

___
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