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>
Should extract correct tag version from pkgver and then pass to cmake.
* extract tag version and pass to cmake
* format PKGBUILD for fewer changes in the future
* provide a more sensible default pkgver
Log: fix incorrect version passed to cmake in archlinux build
reimplement dlog
use `DLogHelper` instead of `CuteMessageLogger` `LoggerTimingHelper`
keep CuteMessage symbol for compatibility (fix undefined symbol: _ZNK3Dtk4Core17CuteMessageLogger5writeEPKcz)
Add adjust for linux when compile.
Add `D_DSG_APP_DATA_FALLBACK` macro when packaging.
see the commit: 7b13e5c4b8
Log: none
Influence: none
Change-Id: Ie047dbd2d8158ed5242dfb5bcc7fa4e02ee1d925
1. Add DTextEncoding class, provides encoding detection and encoding conversion.
2. Add interface unit test cases, example and comment document.
3. DTextEncoding dynamically loads libuchardet.so and libicuuc.so to support
extended text encodings.
Log: Add DTextEncoding class.
Influence: Add build dependencies libuchardet-dev and libicu-dev.
use better optionname and use test , make test link to -lgcov , then
coverage can be caculated. And use ctest , the cmake command to run
tests
fix test-recoverage bash scipts
Log: option name changed , use ctest command, fix test-recoverage script