After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759790 - Port JPEG 2000 loader (jp2-load) to GIO
Port JPEG 2000 loader (jp2-load) to GIO
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: operations
git master
Other All
: Normal enhancement
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks:
 
 
Reported: 2015-12-22 22:10 UTC by Martin Blanchard
Modified: 2016-02-12 15:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
jp2-load port to GIO, initial patch (15.65 KB, patch)
2015-12-22 22:55 UTC, Martin Blanchard
none Details | Review

Description Martin Blanchard 2015-12-22 22:10:06 UTC
Operation jp2-load, JPEG 2000's loader, is currently opening file through regular fds. This shoulf be changed in favor of a GIO based strategy. See this page for more informations:

http://wiki.gimp.org/index.php/Hacking:Porting_file_plugins_to_GEGL_and_GIO
Comment 1 Martin Blanchard 2015-12-22 22:55:51 UTC
Created attachment 317803 [details] [review]
jp2-load port to GIO, initial patch
Comment 2 Øyvind Kolås (pippin) 2016-02-12 15:11:33 UTC
commit 2597d3ea6ed88a02a3b98b87b74bdf56032bb5d1
Author: Martin Blanchard <tchaik@gmx.com>
Date:   Tue Dec 22 23:41:28 2015 +0100

    jp2: Port jp2-load operation to GIO
    
    Get rid of jas_stream_fopen(), use GIO streams instead. New 'uri'
    property (along the existing 'path' one); benefit is that files
    can be opened from distant locations now.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=759790