Commit graph

67 commits

Author SHA1 Message Date
shenleban tongying 2ce8f72da1 fix: .ui files not showing in qt creator 2024-07-14 21:32:01 -04:00
Xiao Yi Fang bd194c0fbd opt: disable tts ,qtspeech quality is not good enough 2024-07-12 17:25:52 +08:00
shenleban tongying 3f6cfb8bc4
opt: reinvent winlibs with vcpkg export (#1669) 2024-07-11 07:05:10 +00:00
shenleban tongying 287e608174 revise github workflows 2024-07-09 14:43:51 -04:00
shenlebantongying 61e1be9517 feat: switch Windows release build to CMake + vcpkg 2024-07-08 12:23:23 -04:00
shenlebantongying fe2aa0638e feat: breakpad support for cmake/vcpkg build 2024-07-03 11:29:45 +08:00
shenlebantongying a8de54eac9 fix: ensure qt_add_translations works for all Qt6 versions 2024-06-09 08:48:23 -04:00
shenlebantongying 3856e1e8e8 feat: initial Vcpkg + CMake build for Windows. It don't need prebuilt binaries 2024-05-14 10:55:37 -04:00
shenleban tongying b5e21bb0db
version bump for new cycle 2024-05-06 05:08:31 -04:00
shenleban tongying 1084f52ac5
action: update CI workflows and bump current version (#1500) 2024-05-05 08:26:23 -04:00
shenleban tongying 9006c50b5e
rename macOS app 2024-05-05 03:54:59 -04:00
shenleban tongying 4e1bfb3055 fix macOS CI 2024-05-05 03:47:31 -04:00
shenleban tongying f05998da36 feat: switch macOS CI builds to CMake 2024-05-05 02:17:50 -04:00
shenleban tongying a7eaef5469 feat: utilize CMake for macOS bundle creation 2024-05-05 00:42:17 -04:00
atauzki 75497e2597
CMake: let cpack generate package.
revert ffmpeg player changes.
2024-04-05 10:35:16 -04:00
Boyuan Yang e62dded0f6 CMakeLists.txt: Enforce UTC in timestamp generation
As discussed in the Debian bug report [2], the current timestamp
generation may not be reproducible due to not enforcing the time zone.
This patch enforces UTC as time zone information, which will satisfy
the reproducible-builds[1] requirement.

[1] https://reproducible-builds.org/
[2] https://bugs.debian.org/1068176

Signed-off-by: Boyuan Yang <byang@debian.org>
2024-04-01 18:40:01 -04:00
shenleban tongying b9e14f806c
fix: CMake problems found by the openBSD package (#1422)
* fix: CMake problems found by openBSD package

* remove unused WITH_XAPIAN option
* don't link Qt TTS if not requested

* fix: address CMake problems found by openBSD package

* remove unused WITH_XAPIAN option
* don't link Qt TTS if not requested
* Disable some code when TTS is not requested

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-20 11:08:17 +08:00
YiFang Xiao 1bb81c8fc1 upgrade to qt6.6.2 2024-02-16 09:10:07 +08:00
Canvis-Me a7e07ea51c Fix cmake complains no <QPrinter> 2024-02-01 00:56:41 -05:00
YiFang Xiao e2120a6d41 bump alpha version 2024-01-27 13:07:29 +08:00
YiFang Xiao 6491bc474c bump alpha version 2023-12-08 09:36:35 +08:00
YiFang Xiao 23f6ce1550 bump alpha version 2023-11-07 21:26:20 +08:00
atauzki 991e0b7cb9 cleanup libs and fix cmake project version. 2023-10-12 16:40:05 +08:00
xiaoyifang ec2856336c
opt: add option to disable tts component (#1169)
* opt: add tts config option

* opt:[macos] disable tts by default

* [autofix.ci] apply automated fixes

* opt: add build flags to about dialog

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-26 11:09:05 +08:00
shenleban tongying 76142f2b0b
update CMake project VERSION 2023-09-07 18:00:38 -04:00
atauzki ffa0187298 fix windeployqt path. 2023-08-08 16:14:33 +08:00
atauzki c36c16dee3 let cmake find windeployqt.exe 2023-08-08 15:35:47 +08:00
shenlebantongying ff8aa2ae42 feat: add windeploy CMake target 2023-08-06 08:31:19 -04:00
atauzki d6abfcd6aa
Make CMake icon work on Windows 2023-08-06 10:28:01 +08:00
shenleban tongying 2ff7e7613d
feat: add a flag to parallel install with the original GD
(by install files differently)
2023-08-05 01:25:17 -04:00
shenleban tongying 67f5b1333b
fix: cmake version.txt generation in non-git environments
This was not well defined.
2023-07-30 01:42:41 -04:00
shenleban tongying f9b1d3fa92
fix typo of app id 2023-07-25 08:04:49 -04:00
YiFang Xiao ca92abbe9c action:bump alpha version to 23.07.25 2023-07-25 13:36:42 +08:00
shenleban tongying 53d82f97ca
Another various changes required by Flatpak 2023-07-24 06:58:56 -04:00
shenleban tongying 60d9854240
Various changes required by Flatpak packaging 2023-07-24 05:14:49 -04:00
shenleban tongying 65ebdf0e4c
doc: updates
* use repology.org to replace manually created linux package list [0]
* update debian/ubuntu dependencies (delete outdated fedora one)
* update all build doc to qt6
* add cmake flags info
* merge all build instructions into one
* add more ocr examples
* add links and fix dictionary formats info
* misc
2023-07-06 01:23:51 -04:00
shenleban tongying 849b1345e1
fix: define PROGRAM_DATA_DIR for cmake
* the PROGRAM_DATA_DIR is hardcoded path to /usr/share/goldendict
* Without it, resources cannot be loaded
2023-06-03 09:50:13 -04:00
shenleban tongying f68fca5a45
cmake: duplicated tomlplusplus include 2023-06-01 03:15:07 -04:00
shenleban tongying 0c75d4f399
cmake: updates
* add USE_SYSTEM_FMT & USE_SYSTEM_TOML
* switch back to libeb
2023-06-01 01:28:45 -04:00
YiFang Xiao 536da5e5fc bump alpha version 2023-05-31 20:56:28 +08:00
YiFang Xiao d00ea8ea20 release bump version to 2023.06.01 2023-05-31 20:44:48 +08:00
YiFang Xiao ba24e57913 fix: cmake install will install extra header files
fix #755
2023-05-28 15:49:07 +08:00
xiaoyifang 3858932ec4
feat!: add libzim dependency (#725)
* feat!: add libzim dependency

* 🎨 apply clang-format changes

* action: add libzim dependency to action

* feat!: change dependency folder

* action: add zim support

* feat!: add libzim support

* action: fix sonarcloud check

* doc: add libzim readme

* action: cmake build

* action: cmake check

* fix: code smell

* action: cmake check

* action: cmake on Macos

* action: cmake on Macos

* feat: use libzim to read title and description

* 🎨 apply clang-format changes

* feat: split zim file support

* feat: loadArticle refactor

* 🎨 apply clang-format changes

* 🎨 apply clang-format changes

* feat: update library and goldendict.pro

* 🎨 apply clang-format changes

* fix:word count

* 🎨 apply clang-format changes

* fix: video src url subsititue

* 🎨 apply clang-format changes

* zim: headword is not usually a valid

it is from title and url.

* fix: remove nested try catch

* zim: fix resource loading issue.

* 🎨 apply clang-format changes

* action: remove libao

* zim: process url

some old zim dictionary url does not contain namespace such as
/C/url

make the old and new zim dictionary's url consistent without the leading
../C/  etc.

* 🎨 apply clang-format changes

* zim: process url

remove leading dot and slash
such as ../-/assets  ,remove ../

* 🎨 apply clang-format changes

* zim: remove resourceIndex creation

use libzim to read the resource directly.

* zim: only iterate all the articles

* 🎨 apply clang-format changes

* fix: code smell

* 🎨 apply clang-format changes

* zim: refactor method to convert url to wstring

* 🎨 apply clang-format changes

* fix:code smell

* 🎨 apply clang-format changes

* zim: update windows dependencies

* zim: add mutex lock

* 🎨 apply clang-format changes

* fix: code smell

* 🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 12:12:16 +08:00
shenleban tongying 416d70891d add {fmt} 10 to qmake & cmake 2023-05-20 11:46:29 +08:00
shenleban tongying d0b2349156 update .desktop and appstream xml 2023-05-18 10:27:40 +08:00
shenlebantongying 4ead97637e cmake: split windows & unix library finding & linking
* they have nothing in common
2023-05-06 07:07:09 +08:00
xiaoyifang 94759ffb58 opt: add group by metadata
close #612
2023-04-29 20:43:27 +08:00
shenleban tongying fcbb5ae8a2 feat(singleApp): remove private QLockFile implementation
* QLockFile is part of Qt since 5.1
2023-04-20 16:21:05 +08:00
shenleban tongying 747ebf3a82 feat(cmake): various updates
* recursive file including
* with xapian
* use iconv
* feature summary
2023-04-18 17:38:48 +08:00
Xiao YiFang e6cd18e1b3 clean: remove gdappstyle file
fix #516
2023-04-18 10:31:39 +08:00