Commit Graph

23 Commits

Author SHA1 Message Date
Yixue Wang 9f500cbe94 feat: Support VERSION file
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>
2025-06-11 11:46:44 +08:00
ComixHe a66d7ccbf3 chore: update cmake version
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-30 10:59:51 +08:00
ck dcede1f96d chore: Adapt Qt6 && Dtk6 compilation
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
2023-06-19 13:13:09 +08:00
rewine 6b366af60a fix: must set CMAKE_INSTALL_PREFIX before GNUInstallDirs
Log:
Never modify the value of CMAKE_INSTALL_PREFIX after including GNUInstallDirs,
Otherwise incorrect CMAKE_INSTALL_FULL_XXXX values will be computed
2023-05-05 03:51:14 +00:00
ck a3677d4bbf chore: install meta file
1. move `dconfig_meta_files` to src/CMakeLists.txt
2. add to debian install files
2023-04-03 10:07:03 +08:00
bluesky cd21667c52 feat: add config file
添加自定义UI的配置文件
2023-03-29 02:22:24 +00:00
wangyixue 419e11629b chore: update changelog
Bump version to 5.6.8.
2023-02-22 15:44:58 +08:00
wangyixue cca33d94c8 chore: update changelog
Release 5.6.6.

Log: update changelog
2023-02-21 11:58:30 +08:00
ck f893e02fdf chore: update archlinux build
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
2023-02-20 09:30:15 +08:00
renbin 3b8ab9c49b fix: Fix DImageHandler build warnings.
Fix DImageHandler build warnings, modified the code according to cppcheck.
Add CMAKE_CXX_FLAGS '-fopenmp'.

Log: Fix DImageHandler build warnings.
Issue: fix #110
Influence: CCMAKE_CXX_FLAGS environment variable
2023-02-07 01:26:00 +00:00
renbin e400ddd110 feat: Optional dependencies libfreeimage and libraw.
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
2023-02-02 02:33:30 +00:00
renbin 5ca5df6ccf feat: Support RAW image formats.
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.
2023-02-02 02:33:30 +00:00
wangyixue e0081d840f chore: change include and tool directory
Change include and tool directory to dtk${PROJECT_VERSION_MAJOR}.

Log: change include and tool directory
2023-01-03 15:28:56 +08:00
wangyixue a69ed2efdc chore: add export target support
Export target Dtk::Gui. Users can simply use target_link_libraries.

Log: add export target support
2022-12-29 09:52:49 +08:00
ck b1a1654f69 chore: update changelog
5.6.2.2

Log: none
Influence: none
2022-11-30 11:54:26 +08:00
Ye ShanShan 9fb5d8c794 fix: Remove ASan check for debug
Removing asan check

Log: 移除库的asan检测
Influence: none
Change-Id: I248ae4d41dfcb70e565fc68d510b9c318c459ee1
2022-11-29 14:51:24 +08:00
rewine 5204f570ef feat: Improve install path information
Log:
1. Add DtkGui_LIBRARY_DIRS
2. fix typo in Config.cmake
3. replace the previously missed  INCLUDE_INSTALL_DIR
2022-09-27 03:35:46 +00:00
rewine f7324e32cf feat: Improve version information
1. 使用 CMakePackageConfigHelpers 生成 Config.cmake
2. 提供 DtkWidgetConfigVersion.cmake 供调用者检查版本
3. 使用 GNUInstallDir 提供的 FULL 版本变量配置 pkg-config 路径
4. 补充 pkg-config -L 参数
5. 增加引入 dtkcore 版本检查
2022-09-22 14:34:03 +08:00
chenhongtao 4cffb60f92 chore(mkspecs): define mkspecs self
一开始只处理了archlinux和debian,但是nixos更加特殊,以外还有很多不知道的处理,所以让打包者自定义好了

Log: mkspecs path
2022-09-06 06:23:02 +00:00
chenhongtao adb29f1dff fix: wrong option() usage in CMakeLists.txt
修复错误的 option() 用法

Log: wrong option usage
2022-09-02 15:06:28 +08:00
chenhongtao 750478f24e feat(doc): add package libdtkgui-doc
build the package for doc

Log: build the pacakge of doc for dtkgui
2022-09-02 06:18:11 +00:00
ShootingStarDragons 7f227daf8a feat(tocmake): tocmake
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
2022-08-17 16:59:12 +08:00
Wang Zichong c58b078b79 chore: build doxygen documentation
追加基于 doxygen 的文档构建

Log:
2022-08-09 07:58:58 +00:00