Review Request 125590: Patch for kimageformats that handles xcfgz / xcfbz2 (compressed GIMP) images (read-only).
Tudor PRISTAVU
clapautius at gmail.com
Sun Oct 25 03:04:48 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125590/
-----------------------------------------------------------
(Updated Oct. 25, 2015, 3:04 a.m.)
Review request for KDE Frameworks and Martin Koller.
Bugs: 126072
https://bugs.kde.org/show_bug.cgi?id=126072
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-frameworks-devel/attachments/20151025/dc55a00a/attachment.html>
More information about the Kde-frameworks-devel
mailing list