Attachments (2)

main.log (1.1 MB) - added by pietvo (Pieter van Oostrum) 22 months ago.
log file
main.2.log (336.1 KB) - added by Lev-GitHub 22 months ago.
Gegl error log file

Download all attachments as: .zip

Change History (16)

Changed 22 months ago by pietvo (Pieter van Oostrum)

Attachment: main.log added

log file

comment:1 Changed 22 months ago by Gandoon (Erik Hedlund)

Also ImageMagick is affected by this problem. I just keep the previous versions active for the time being.

comment:2 Changed 22 months ago by josephsacco

Cc: josephsacco added

comment:3 Changed 22 months ago by jmroot (Joshua Root)

Cc: cjones051073 added; mascguy removed
Owner: set to mascguy
Port: gegl added
Status: newassigned

comment:4 Changed 22 months ago by michaellass (Michael Lass)

Cc: michaellass added

comment:5 Changed 22 months ago by Lev-GitHub

I've encountered a similar situation without the "quartz" option.

Changed 22 months ago by Lev-GitHub

Attachment: main.2.log added

Gegl error log file

comment:6 Changed 22 months ago by someuser12

Cc: someuser12 added

comment:7 Changed 22 months ago by lukaso (Lukas Oberhuber)

Here is the upstream issue: https://gitlab.gnome.org/GNOME/gegl/-/issues/315

Could version 0.20.2 be given it's own port?

comment:8 in reply to:  7 ; Changed 22 months ago by mascguy (Christopher Nielsen)

Replying to lukaso:

Here is the upstream issue: https://gitlab.gnome.org/GNOME/gegl/-/issues/315

Could version 0.20.2 be given it's own port?

That's certainly an option, depending on whether any other ports are broken.

Is the API change simple/isolated enough, that we could easily patch gegl for now? Your thoughts Lukas?

comment:9 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: mouse07410 MaurizioLoreti added

Has duplicates #66668 and #66673.

comment:10 in reply to:  8 Changed 22 months ago by cjones051073 (Chris Jones)

Replying to mascguy:

Replying to lukaso:

Here is the upstream issue: https://gitlab.gnome.org/GNOME/gegl/-/issues/315

Could version 0.20.2 be given it's own port?

That's certainly an option, depending on whether any other ports are broken.

Is the API change simple/isolated enough, that we could easily patch gegl for now? Your thoughts Lukas?

Adding multiple versioned ports should only be done in specific circumstances, and this does not seem like one to me. By far the preferable solution is to patch the ports that need it to work with the new API (which upstream for those ports should anyway do).

comment:11 Changed 22 months ago by pietvo (Pieter van Oostrum)

This patch is sufficient to get it compiled:

--- operations/external/raw-load.c.~1~
+++ operations/external/raw-load.c
@@ -114,7 +114,7 @@
         g_warning ("raw-load: Error Initializing raw library");
       else
         {
-          p->LibRaw->params.shot_select = o->image_num;
+          p->LibRaw->rawparams.shot_select = o->image_num;
     
           p->LibRaw->params.aber[0] = 1.0;
           p->LibRaw->params.aber[2] = 1.0;


I can submit a PR.

Last edited 22 months ago by pietvo (Pieter van Oostrum) (previous) (diff)

comment:13 Changed 22 months ago by josephsacco

Applying the patch allowed gel to build.

I tried running some of the examples that come with the package, but I cannot get them to work. For example:

cavandish:examples jsacco$ ./hello-world

(hello-world:91432): GLib-GObject-WARNING **: 15:33:58.227: cannot register existing type 'GeglModule'

(hello-world:91432): GLib-CRITICAL **: 15:33:58.228: g_once_init_leave: assertion 'result != 0' failed

(hello-world:91432): GLib-GObject-WARNING **: 15:33:58.228: invalid cast from 'GeglModule' to '<invalid>'

(hello-world:91432): GLib-GObject-WARNING **: 15:33:58.281: Two different plugins tried to register 'GeglOpseamless-clone_c'.

(hello-world:91432): GLib-GObject-WARNING **: 15:33:58.281: Two different plugins tried to register 'GeglOppixbuf_c'.

(hello-world:91432): GLib-GObject-WARNING **: 15:33:58.283: Two different plugins tried to register 'GeglOpff-load_c'.

(hello-world:91432): GLib-GObject-WARNING **: 15:33:58.283: Two different plugins tried to register 'GeglOpcache_c'.

(hello-world:91432): GLib-GObject-WARNING **: 15:33:58.283: Two different plugins tried to register 'GeglOpcast-format_c'.

(hello-world:91432): GLib-GObject-WARNING **: 15:33:58.283: Two different plugins tried to register 'GeglOpcast-space_c'.

(hello-world:91432): GLib-GObject-WARNING **: 15:33:58.283: Two different plugins tried to register 'GeglOpclone_c'.

(hello-world:91432): GLib-GObject-WARNING **: 15:33:58.283: Two different plugins tried to register 'GeglOpconvert-format_c'.

(hello-world:91432): GLib-GObject-WARNING **: 15:33:58.283: Two different plugins tried to register 'GeglOpconvert-space_c'.

(hello-world:91432): GLib-GObject-WARNING **: 15:33:58.283: Two different plugins tried to register 'GeglOpcrop_c'.

Was something supposed to appear soon my screen?

This may very well be "pilot error" on my part, but... Someone who actually understands this code might want to take a look.

-Joseph

comment:14 Changed 22 months ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

In fa5f5b551c56ddad762c63b8323e8646bc7cca48/macports-ports (master):

gegl: add patch to fix build with LIBRAW 0.21

Update Merge: https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/133

Closes: #66667

Note: See TracTickets for help on using tickets.