Commit Graph

8 Commits

Author SHA1 Message Date
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
renbin 2600e5ea59 feat: Add the DImagehandler class.
Add the DImagehandler class, provide functions such as reading image,
rotating image, getting image metadata. DImagehandler dynamically load
libfreeimage to support extended image formats.

Log: Add the DImagehandler class.
Influence: Add build dependency libfreeimage-dev.
2022-12-12 06:16:33 +00:00
ck 10df23848f chore(build): add gtest-devel build required
添加gtest编译依赖

Log:
Influence: rpm 打包
Change-Id: Iccf61661a06aa75f388c88f978b98131e500e81c
2021-10-30 12:46:29 +08:00
zsien 0c81b195bf chore: 修复 euler 打包失败
* 增加依赖 dtkcommon-devel、gtest、gmock
* 删除 %{_sysconfdir}/dbus-1/system.d/com.deepin.dtk.FileDrag.conf
* 增加 %{_libexecdir}/dtk5/dde-kwin-debug

Log:
Influence: euler 打包
Change-Id: Iea46a5f29ae901dd3d556d55376b0520e9d7a521
2021-10-29 16:46:45 +08:00
Robin Lee 5fcda3f5e0 fix: rpm BuildRequires make
Fedora no longer installs make in the default build environment.

Log:
Signed-off-by: Robin Lee <cheeselee@fedoraproject.org>
Change-Id: I6ff54b4da9a559817b1ca86d9d60c348154e4892
2021-04-09 13:03:03 +08:00
Robin Lee 0e9633f2e7 feat: Initial packit setup
This commit contains the specfile for building the official package for Fedora
with a Packit setup.

Ultimately, a unified specfile is targeted for Fedora and any other rpm-based
distributions, e.g. openEuler.

And Packit(https://packit.dev/) is a tool for maintaining specfile within
upstream source. It requires a simple config file(.packit.yaml).

Log:
Signed-off-by: Robin Lee <cheeselee@fedoraproject.org>
Change-Id: I59b00d9a21b1c00a337684e5a4e3c9b2354d79f2
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/8522
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: zhangjide <zhangjide@uniontech.com>
2020-10-23 08:56:23 +08:00
ck a1d77d3f1d feat: add rpm spec
行业板打rpm包需要添加spec文件

Log: 支持rpm打包构建
Change-Id: I383acfb32526015f8a4f05c1ebd611b82df0cb10
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/1529
Tested-by: chenke <chenke@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
2020-08-11 15:38:34 +08:00