Is what you are trying to do for gegl_buffer not possible with  the 
GIOChannel? 
<http://library.gnome.org/devel/glib/2.12/glib-IO-Channels.html#GIOChannel>

Øyvind Kolås wrote:
> On Sat, May 17, 2008 at 9:22 PM, Hubert Figuiere <[EMAIL PROTECTED]> wrote:
>   
>> Here is my initial patch for GEGL to make gio an optional dependency for
>> those who run an already obsolete version of glib.
>>     
>
> This isn't only about obsolete versions of glib since there is no
> version having a GIO
> supporting all the features GeglBuffer would want it to, see bug
> #533547. Thus unless
> this gets resolved in glib we might have to fall back to regular posix
> calls anyways.
>
>   
>> The only non-trivial part is GFileMonitor, and I actually scraped that
>> part.
>>     
>
> Could be reimplemented using polling, or perhaps even better using
> mmap for at least the buffer header.
>
>   
>> Also another caveat is that I had to change the prototype of two
>> functions that wanted a GInputStream *.
>>     
>
> These are internal for now so it isn't an issue.
>
>   
>> Any comment?
>>     
>
> Commit this change at will to GEGL when you think it has recevied enough 
> polish.
>
> /Øyvind K.
>   

_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Reply via email to