Add internal CDR input using libcdr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Fridrich | ||
Inkscape Devlibs |
Fix Released
|
Wishlist
|
jazzynico |
Bug Description
Similar to recently added internal support of VISIO files based on libvisio (bug #1015572), add internal support to open CorelDRAW files based on libcdr.
Requires libcdr:
<http://
Related branch [1]:
<https:/
Dependencies:
libcdr depends on lcms2, zlib, and icu (libcdr >= 0.0.10).
Minimal required version of libcdr: 0.0.3
On Linux, libcdr is installed with LibreOffice.
For Windows builds: according to Fridrich Strba both icu and libcdr build ok on Windows (mingw builds available).
For OS X builds (MacPorts): icu is already installed as dependency of boost, and of recent pango versions (via harfbuzz).
TODO:
- if compiled without libcdr, fall back to UniConvertor-based input extension?
(rename instead of delete 'cdr-input.inx', change id and name in INX file)
- verify which file types are supported by libcdr (incl. CDR version, suffix)
-----
[1] branch built and tested successfully on
- OS X 10.7.4, with libcdr from git master (fea15b833ed005
- Ubuntu 12.10 (64bit, VM), with libcdr 0.0.8-1 (configure.ac modified)
Related branches
- jazzynico (community): Approve
- Martin Owens: Approve (code review)
-
Diff: 612 lines (+441/-19)12 files modifiedconfigure.ac (+22/-0)
share/extensions/Makefile.am (+1/-1)
share/extensions/ccx_input.inx (+4/-4)
share/extensions/cdr_input.inx (+4/-4)
share/extensions/cdt_input.inx (+4/-4)
share/extensions/cmx_input.inx (+4/-4)
src/Makefile.am (+2/-0)
src/extension/init.cpp (+6/-0)
src/extension/internal/Makefile_insert (+6/-0)
src/extension/internal/cdr-input.cpp (+332/-0)
src/extension/internal/cdr-input.h (+54/-0)
src/extension/internal/vsd-input.cpp (+2/-2)
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in inkscape: | |
status: | New → In Progress |
description: | updated |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
See also: inkscape. 13.n6.nabble. com/Gradually- replacing- UniConvertor- refactoring- tt4498848. html> sk1project. org/files/ terra.cdr>
<http://
Test file:
<http://
CorelDRAW 9: people. freedesktop. org/~fridrich/ terra-in- cdr9.png> people. freedesktop. org/~fridrich/ terra-in- lo4.png> dl.dropbox. com/u/65084033/ devel/cdr- input/terra- in-inkscape- libcdr- 0.0.10. png>
<http://
LibreOffice 4:
<http://
Inkscape 0.48+devel <lp:~inkscape.dev/inkscape/cdr-input>
<http://