Jump to content

libcdr

From The Document Foundation Wiki
libcdr
CorelDRAW import library
The Document Liberation Project
Development statusStable
LicenseMPL 2.0
MaintainersDavid Tardon (dtardon@redhat.com)
Fridrich Strba (fridrich.strba@bluewin.ch)
Repositorygit://gerrit.libreoffice.org/libcdr
Sourceshttp://dev-www.libreoffice.org/src/libcdr

Libcdr is a library that parses the file format of CorelDRAW documents of all versions.

Getting the sources

libcdr sources are stored in git. To get them, you can use:

git clone git://gerrit.libreoffice.org/libcdr

or you can browse the code online.

Source tarballs of all released versions can be found here.

Building the code

You will need these tools and libraries to build libcdr:

boost
icu
lcms2
librevenge
zlib
doxygen # optional for documentation building (can be disabled by passing --without-docs to configure)

Once you have the source code and the dependencies, you can proceed to build. To do that, run the customary sequence of commands in the source code directory:

./autogen.sh ''# only needed for building from git''
./configure --enable-werror --enable-debug
make
make install

Contributing

Integration to repository

Once you have made a change that you are happy with, contribute it back, we'll be happy to integrate it!

Submit it to gerrit. How to work with gerrit is described here.

To push to review:

git push ssh://gerrit.libreoffice.org:29418/libcdr HEAD:refs/for/master

Samples of CorelDRAW! Documents