Review Request 125590: Patch for kimageformats that handles xcfgz / xcfbz2 (compressed GIMP) images (read-only).

Tudor PRISTAVU clapautius at gmail.com
Sat Oct 10 18:27:12 BST 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125590/
-----------------------------------------------------------

Review request for kdelibs.


Repository: kimageformats


Description
-------

Add support for GIMP's compressed xcf files (xcfgz / xcfbz2).


Diffs
-----

  CMakeLists.txt 518c9b25d9e93286494984ed360ab88f30106346 
  src/imageformats/CMakeLists.txt 8cf8d54bd0186521a5a71fdacae5ed3196e83b05 
  src/imageformats/xcf_compressed.cpp PRE-CREATION 
  src/imageformats/xcf_compressed.desktop PRE-CREATION 
  src/imageformats/xcf_compressed.json PRE-CREATION 
  src/imageformats/xcf_compressed_p.h PRE-CREATION 

Diff: https://git.reviewboard.kde.org/r/125590/diff/


Testing
-------

Before testing, please make sure that you have image/x-compressed-xcf mime type and the system recognizes .xcfgz / .xcfbz2 files. It seems that various distributions have various problems with that.

I think the easiest (CLI) way to solve this is:

cat > /usr/share/mime/packages/xcfz.xml << EOF
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
  <mime-type type="image/x-compressed-xcf">
    <comment>Compressed xcf</comment>
    <glob pattern="*.xcfgz"/>
    <glob pattern="*.xcfbz2"/>
  </mime-type>
</mime-info>
EOF

update-mime-database /usr/share/mime


Thanks,

Tudor PRISTAVU

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20151010/d77a3088/attachment.htm>


More information about the kde-core-devel mailing list