libkolabxml
Recent Commits
| Commit | Author | Details | Committed | |||||
|---|---|---|---|---|---|---|---|---|
| ba0578e792ca | Christian Mollekopf | Implicit cast to bool no longer compiles. | Apr 11 2017 | |||||
| c7afcb1fb457 | mollekopf/vanmeeuwen | The created date is optional. | Sep 9 2016 | |||||
| ab256ebd90d3 | mollekopf | Support audio alarms without and attachment. | Jun 7 2016 | |||||
| c4056b05b69f | mollekopf | The tests require valid created dates. | Mar 30 2016 | |||||
| 2f28f2b1fb43 | mollekopf | They "created" property must be a UTC date-time. | Mar 7 2016 | |||||
| 8fd86a641314 | vanmeeuwen | Add .arcconfig | Dec 30 2015 | |||||
| c9e766895ac2 | dfaure | Use GNUInstallDirs so that setting LIB_SUFFIX manually isn't necessary anymore. | Sep 4 2015 | |||||
| 2a2fe36d0c6a | dfaure | Fix clang warnings | Sep 2 2015 | |||||
| dc8d9a212a02 | dfaure | Adding a string and an int doesn't convert the int to a string. | Sep 1 2015 | |||||
| ccb3b2e1badb | dfaure | Fix logic error | Sep 1 2015 | |||||
| 7f04fb08b136 | mollekopf | Fixed build with Qt5. | Aug 17 2015 | |||||
| 06823bc08b0a | mollekopf | Fixed conversion warning. | May 5 2015 | |||||
| 5f87dbe4e407 | mollekopf | We want 4.6.2 | Apr 20 2015 | |||||
| cf2fba52979f | mollekopf | Removed qt mimimum version so we can build on Centos6 | Apr 20 2015 | |||||
| a22389bba97e | mollekopf | Fixed autogen.sh with separate --prep and --build runs | Apr 18 2015 |
TagsShowing the 15 most recent tags.
Branches
| Branch | Head | Details | Committed | |||
|---|---|---|---|---|---|---|
| master | ba0578e792ca | Implicit cast to bool no longer compiles. | Apr 11 2017 | |||
| libkolabxml-1.1 | be4374ed6c9e | Set version to 1.1.6 | Sep 2 2016 | |||
| libkolabxml-1.0 | 93ac12de6c7b | Add .arcconfig | Dec 30 2015 | |||
| libkolabxml-0.5 | 54d9b59029f5 | Fixed autogen.sh with separate --prep and --build runs | Apr 18 2015 | |||
| libkolabxml-0.6 | c52a2cc27bde | Fixed autogen.sh with separate --prep and --build runs | Apr 18 2015 | |||
| libkolabxml-0.7 | 6aa3dced1620 | Fixed autogen.sh with separate --prep and --build runs | Apr 18 2015 | |||
| libkolabxml-0.8 | fd00b36e570e | Fixed autogen.sh with separate --prep and --build runs | Apr 18 2015 | |||
| dev/default_priority | 79a3590486e7 | Add support for relation priority. | Mar 6 2015 | |||
| dev/delete_testfiles | 9535ecede3d2 | Delete old and crufted testfiles. | Nov 13 2014 | |||
| dev/frameworks | 8f2a9e60732b | Compile with kde frameworks and qt5. | Sep 19 2014 | |||
| files | 12227b2c7733 | Include File.cs with the csharp bindings | Jan 15 2013 | |||
| php | 87f7923531ab | Patch by C. Giboudeaux | Jan 3 2013 | |||
| libkolabxml-0.4 | 0caa450eab8d | Prepare for 0.4 release. | May 1 2012 | |||
| libkolabxml-0.3 | afb5c81d35e0 | Create 0.3.0 tarball | Apr 20 2012 |
README
About
Libkolabxml is the reference implementation of the Kolab XML Format as defined in http://wiki.kolab.org/User:Mollekopf/Drafts/KEP:17.
It provides serialization/deserialization from/to in-memory representations for all Kolab Objects, including input validation.
Bindings
Based on SWIG (www.swig.org) various language-bindings are provided.
Usage
For more information about the usage please see src/kolabformat.h
Building
Build with:
$ mkdir build $ cd build $ cmake .. $ make
CMake options
Options can either be supplied on the commandline or edited in the cmake cache.
Library installation path:
LIB_INSTALL_DIR=/usr/lib
Note that LIB_SUFFIX is honored since version 1.0.2
Set the installation prefix:
CMAKE_INSTALL_PREFIX=/usr
Installation location for header files:
INCLUDE_INSTALL_DIR=/usr/include
Building of bindings can be controlled using cmake configuration options:
PYTHON_BINDINGS PHP_BINDINGS JAVA_BINDINGS CSHARP_BINDINGS
The path to install the bindings:
PYTHON_INSTALL_DIR PHP_INSTALL_DIR JAVA_INSTALL_DIR CSHARP_INSTALL_DIR
Example
Find libraries in lib64, install to /usr/lib64, build python and phpbindings:
$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/lib64 \
-DPYTHON_BINDINGS=TRUE \ -DPYTHON_INSTALL_DIR=/usr/lib64/python$x.$y/site-packages/ \ -DPHP_BINDINGS=TRUE ..
Requirements
Minimum requirements are:
- cmake 2.6
- boost >= 1.41
- xerces-c >= 3.0
- cxx >= 3.0 (http://www.codesynthesis.com/products/xsd/)
- libcurl
For further features:
- SWIG >= 2.0
For building test (controlled by -DBUILD_TESTS=TRUE):
- Qt >= 4.7
For further information see src/DEVELOPMENT.