Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-22 Thread Elle Stone
Per Jon's suggestion, I did git diff origin/master geglify-lcms-plugin.patch. Per Mitch's suggestion, I put the contents of geglify-lcms-plugin.patch up on my website: http://ninedegreesbelow.com/temp/gimp-lcms-deprecated.html geglify-lcms-plugin.patch can be downloaded from the same page. On

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-20 Thread trapDoor
On Thu, Sep 20, 2012 at 12:37 AM, Michael Natterer mi...@gimp.org wrote: On Wed, 2012-09-19 at 14:47 -0400, Christopher Curtis wrote: On Wed, Sep 19, 2012 at 2:13 PM, Guillermo Espertino (Gez) gespert...@gmail.com wrote: El 19/09/12 10:43, Christopher Curtis escribió: Wouldn't it be

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-20 Thread Elle Stone
On 9/20/12, trapDoor trapdo...@gmail.com wrote: On Thu, Sep 20, 2012 at 12:37 AM, Michael Natterer mi...@gimp.org wrote: On Wed, 2012-09-19 at 14:47 -0400, Christopher Curtis wrote: On Wed, Sep 19, 2012 at 2:13 PM, Guillermo Espertino (Gez) gespert...@gmail.com wrote: El 19/09/12 10:43,

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-19 Thread Christopher Curtis
On Tue, Sep 18, 2012 at 7:33 PM, Joao S. O. Bueno gwid...@mpc.com.brwrote: Why a new branch? Things in other branches tend to bit-rot horribly. This is GIMP unstable - it should go into master. Wouldn't it be better to keep the mainline in a near-releasable state rather than letting things

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-19 Thread Elle Stone
My lcms.c high bit depth profile conversion code still some major issues to iron out, including: *I haven't rewritten to use nondeprecated functions the code section that takes care of alpha channels. *The show-stopper: the code still doesn't work correctly at high bit depths unless some/all of

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-19 Thread Guillermo Espertino (Gez)
El 19/09/12 10:43, Christopher Curtis escribió: On Tue, Sep 18, 2012 at 7:33 PM, Joao S. O. Bueno gwid...@mpc.com.br mailto:gwid...@mpc.com.br wrote: Why a new branch? Things in other branches tend to bit-rot horribly. This is GIMP unstable - it should go into master. Wouldn't it

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-19 Thread Michael Natterer
On Wed, 2012-09-19 at 14:47 -0400, Christopher Curtis wrote: On Wed, Sep 19, 2012 at 2:13 PM, Guillermo Espertino (Gez) gespert...@gmail.com wrote: El 19/09/12 10:43, Christopher Curtis escribió: Wouldn't it be better to keep the mainline in a near-releasable state rather than

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-18 Thread trapDoor
Hello, Any source repo for this? What about setting up a new branch for lcms2-high-bit in the gimp git repository? Regards, Tomasz B. On Mon, Sep 17, 2012 at 7:46 PM, Michael Natterer mi...@gimp.org wrote: On Mon, 2012-09-17 at 13:36 -0400, Elle Stone wrote: Just an update: I finally have the

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-18 Thread Guillermo Espertino (Gez)
El 18/09/12 20:33, Joao S. O. Bueno escribió: Why a new branch? Things in other branches tend to bit-rot horribly. This is GIMP unstable - it should go into master. +1. Merge! :) ___ gimp-developer-list mailing list gimp-developer-list@gnome.org

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-17 Thread Elle Stone
Just an update: I finally have the lcms plugin doing high bit depth ICC profile conversion without using any deprecated functions. There are still some issues to address, but if anyone is curious, the code is at: http://ninedegreesbelow.com/temp/gimp-lcms-deprecated.html Elle

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-11 Thread Elle Stone
Hi, Mitch, All, Two related questions: 1. Deprecated functions: I managed to replace the deprecated functions in 'lcms_image_transform_rgb', which sets up the ICC profile transform. But I'm having a lot of trouble with 'lcms_drawable_transform', which actually performs the ICC profile

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-11 Thread Elle Stone
Sorry, that link to my failed efforts should be: http://ninedegreesbelow.com/temp/gimp-lcms-deprecated.html -- http://ninedegreesbelow.com Articles and tutorials on open source digital imaging and photography ___ gimp-developer-list mailing list

[Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-06 Thread Elle Stone
When I try to call the recommended new functions to replace the deprecated functions in the lcms.c plug-in, the code segmentation faults. To illustrate the problem, I wrote a line of code to call 'gimp_drawable_get_buffer' and put a printf statement just above and below: printf(lcms:

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-06 Thread Michael Natterer
Do you call gegl_init()? Look at file-pat.c or goat-exercise.c for simple examples of gegl-enabled plugins. --mitch On Thu, 2012-09-06 at 12:59 -0400, Elle Stone wrote: When I try to call the recommended new functions to replace the deprecated functions in the lcms.c plug-in, the code

Re: [Gimp-developer] segmentation fault when trying to replace deprecated functions in lcms.c

2012-09-06 Thread Elle Stone
On 9/6/12, Michael Natterer mi...@gimp.org wrote: Do you call gegl_init()? Look at file-pat.c or goat-exercise.c for simple examples of gegl-enabled plugins. On Thu, 2012-09-06 at 12:59 -0400, Elle Stone wrote: When I try to call the recommended new functions to replace the deprecated