Use VERSION file to manage DTK version. VERSION file defines package
version. It also decides the initial value of cached variable
DTK_VERSION which controls the project version in cmake build system.
VERSION file is not synchronized to DTK6, as DTK6 has its own VERSION
file. One can still pass version to DTK_VERSION when running cmake
configure. This is helpful for developers.
Signed-off-by: Yixue Wang <wangyixue@deepin.org>
Since xdgiconloader is not adapted to Qt6, libxdg is disabled by default when compiling Dtk6
Do not install dconfig file in dtkgui to avoid conficts with dtk6gui
C++ 17 by default
DVERSION ==> DTK_VERSION
cmake_minimum_required 3.13
tools install to CMAKE_INSTALL_LIBEXECDIR
Log:
Never modify the value of CMAKE_INSTALL_PREFIX after including GNUInstallDirs,
Otherwise incorrect CMAKE_INSTALL_FULL_XXXX values will be computed
1. add DTK_DISABLE_LIBRSVG build option to disable librsvg
2. archlinux DTK_DISABLE_LIBRSVG=ON by default
3. use QSvgRenderer instead of librsvg if option on
Log: archlinux build
Change the build dependencies, libfreeimage and libraw are not
required by default, except for debian and linglong builds.
Set DTK_DISABLE_EX_IMAGE_FORMAT=ON to not support extended
image format.
Log: Optinal dependencies libfreeimage and libraw.
Influence: Add build package options
1. Dynamically load libraw.so to support RAW image fomats.
2. Improve some implementations, Update unit cases and docs.
3. Move image-handler from folder example to tool.
Log: Support RAW image formats.
Influence: Add build dependency libraw-dev.
I change the source code from qmake to cmake. Move the files
which will be install to the /usr/include to $root/include, which will
help to mattern match and easylier to do install. and the change will
break the build of qmake
Log: from qmake to cmake
Influence: qmake is breaked