tce-load -i compiletc meson babl-dev json-glib-dev gobject-introspection-dev vala-dev gexiv2-dev pango-dev jasper-dev libv4l2-dev libwebp-dev poppler23-dev sdl2-dev

wget https://download.gimp.org/pub/gegl/0.4/gegl-0.4.66.tar.xz

sudo cp /tmp/tcloop/gcc_libs-dev/usr/local/lib/libgomp.spec /usr/lib

cd gegl-0.4.66

patch -Np1 -i ../gegl_arm.patch

mkdir build
cd build

CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" meson setup --prefix=/usr/local --localstatedir=/var --libexecdir=/usr/local/lib --buildtype=plain

ninja [12m 37.01s]

[with standard piCore flags]
FAILED: check-def-files 
/usr/local/bin/python3.11 /mnt/sda1/usr/src/gegl-0.4.66/tools/defcheck.py gegl/gegl.def libs/npd/gegl-npd.def seamless-clone/gegl-sc.def

Problem found in gegl/gegl.def
  the following symbols are in the library,
  but are not listed in the .def-file:
     + gegl_downscale_2x2_arm_neon
     + gegl_downscale_2x2_get_fun_arm_neon
     + gegl_downscale_2x2_nearest_arm_neon
     + gegl_resample_bilinear_arm_neon
     + gegl_resample_boxfilter_arm_neon
     + gegl_resample_nearest_arm_neon


sudo ninja install

gegl 0.4.66

  Directories
    prefix              : /usr/local
    libdir              : lib

  GEGL docs
    GTK-docs reference  : false
    GI-docgen reference : false
    Docs (GEGL website) : false

  Optional features
    Build workshop      : false
    Introspection       : true
    Vala support        : true
    Debug symbols format: Disabled

  Optional build utilities
    asciidoc            : false
    dot                 : false
    pygobject           : false
    source-highlight    : false
    w3m                 : false

  Optional dependencies
    avlibs              : false
    Cairo               : true
    GDKPixbuf           : true
    gexiv2              : true
    Jasper              : true
    lcms                : true
    libnsgif            : true
    libraw              : false
    Luajit              : false
    maxflow             : false
    mrg                 : false
    OpenEXR             : false
    openMP              : true
    Pango               : true
    pangocairo          : true
    poly2tri-c          : true
    poppler             : true
    rsvg                : true
    SDL1                : false
    SDL2                : true
    spiro               : false
    TIFF                : true
    umfpack             : false
    V4L                 : true
    V4L2                : true
    webp                : true

  Subprojects
    libnsgif            : YES
    poly2tri-c          : YES

  User defined options
    buildtype           : plain
    libexecdir          : /usr/local/lib
    localstatedir       : /var
    prefix              : /usr/local
