Gimp 2.8.X with gegl-0.3 compiles, has lots of startup warnings, cage tool crashes
Submitted by Aapo Rantalainen
Link to original bug (#770848)
Description
Prerequirements: gegl-0.3 installed gegl-0.2 NOT installed
Steps: Download https://download.gimp.org/mirror/pub/gimp/v2.8/gimp-2.8.18.tar.bz2 Modify configure.ac -m4_define([gegl_required_version], [0.2.0]) +m4_define([gegl_required_version], [0.3.0]) -PKG_CHECK_MODULES(GEGL, gegl-0.2 >= gegl_required_version) +PKG_CHECK_MODULES(GEGL, gegl-0.3 >= gegl_required_version)
./configure ; make
-> Compiles without issues. But starting gimp causes (gimp:8784): GLib-GObject-WARNING **: g_object_set_valist: object class 'GeglConfig' has no property named 'cache-size'
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x2247D40 from "gimp:point-layer-mode" to "gimp:dissolve-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x2248210 from "gimp:point-layer-mode" to "gimp:behind-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x22488A0 from "gimp:point-layer-mode" to "gimp:multiply-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x2248C70 from "gimp:point-layer-mode" to "gimp:screen-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x2249060 from "gimp:point-layer-mode" to "gimp:overlay-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x2249490 from "gimp:point-layer-mode" to "gimp:difference-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x2249850 from "gimp:point-layer-mode" to "gimp:addition-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x2249C90 from "gimp:point-layer-mode" to "gimp:subtract-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224A050 from "gimp:point-layer-mode" to "gimp:darken-only-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224A4A0 from "gimp:point-layer-mode" to "gimp:lighten-only-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224A8B0 from "gimp:point-layer-mode" to "gimp:hue-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224ABE0 from "gimp:point-layer-mode" to "gimp:saturation-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224B040 from "gimp:point-layer-mode" to "gimp:color-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224BCE0 from "gimp:point-layer-mode" to "gimp:value-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224C030 from "gimp:point-layer-mode" to "gimp:divide-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224C4B0 from "gimp:point-layer-mode" to "gimp:dodge-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224C820 from "gimp:point-layer-mode" to "gimp:burn-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224CC70 from "gimp:point-layer-mode" to "gimp:hardlight-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224D010 from "gimp:point-layer-mode" to "gimp:softlight-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224D410 from "gimp:point-layer-mode" to "gimp:grain-extract-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224D870 from "gimp:point-layer-mode" to "gimp:grain-merge-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224DC20 from "gimp:point-layer-mode" to "gimp:color-erase-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224E010 from "gimp:point-layer-mode" to "gimp:erase-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224E430 from "gimp:point-layer-mode" to "gimp:replace-mode"
(gimp:8784): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x224E800 from "gimp:point-layer-mode" to "gimp:anti-erase-mode"
(Sidenote: If gegl-0.2 installed then unmodified gimp-2.8.18 compiles and runs without these warnings)
Why this matters: Gimp-2.8.18 speficically uses gegl-0.2, but distros like Debian and Ubuntu compiles it (actually gimp-2.8.16) against gegl-0.3. Since: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790421
Many bugreports in this tracker and Ubuntu's tracker about gimp are polluted with these warnings. I don't know if there is any really issues relating this.
(Sidenote: Currenct Ubuntu has gegl-0.3.4 and can easily compile gimp-2.9.2, but not gimp-2.9.4 which needs gegl-0.3.8 and couple more too new library).
Version: 2.8.18