Skip to content

Commit affcda3

Browse files
committed
Version 8.1 released
- Added KDE-independent UI translation support using GNU Gettext. - Updated translation into Russian. - Minor fixes for KDE.
2 parents ab7efcd + 97630af commit affcda3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+13818
-14507
lines changed

.github/workflows/build_tests_webengine.yml

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: WebEngine Build Tests
22

3-
on: [push]
3+
on:
4+
push:
5+
branches-ignore:
6+
- master
7+
- release
8+
- gha
9+
tags-ignore:
10+
pull_request:
411

512
env:
613
QT_VERSION: 5.14.1
@@ -20,37 +27,43 @@ jobs:
2027
name: "Win x64 :: Qt5 :: cmake",
2128
os: windows-latest,
2229
setup: "cmake -DFRAMEWORK=Qt5 -DUSE_STATIC_CHMLIB=ON -DUSE_WEBENGINE=ON .",
23-
build: "cmake --build ."
30+
build: "cmake --build . --config Release",
31+
install: "cmake --install . --config Release"
2432
}
2533
- {
2634
name: "Linux x64 :: Qt5 :: cmake",
2735
os: ubuntu-latest,
2836
setup: "cmake -DFRAMEWORK=Qt5 -DUSE_STATIC_CHMLIB=ON -DUSE_WEBENGINE=ON .",
29-
build: "cmake --build ."
37+
build: "cmake --build . --config Release",
38+
install: "sudo cmake --install . --config Release"
3039
}
3140
- {
3241
name: "macOS x64 :: Qt5 :: cmake",
3342
os: macos-latest,
3443
setup: "cmake -DFRAMEWORK=Qt5 -DUSE_STATIC_CHMLIB=ON -DUSE_WEBENGINE=ON .",
35-
build: "cmake --build ."
44+
build: "cmake --build . --config Release",
45+
install: "sudo cmake --install . --config Release"
3646
}
3747
- {
3848
name: "Win x86 :: Qt5 :: qmake",
3949
os: windows-latest,
4050
setup: 'qmake -r "USE_STATIC_CHMLIB=1" "USE_WEBENGINE=1" "LIBZIP_ROOT=C:/Program Files (x86)/libzip"',
41-
build: "nmake"
51+
build: "nmake",
52+
install: "echo skip"
4253
}
4354
- {
4455
name: "Linux x64 :: Qt5 :: qmake",
4556
os: ubuntu-latest,
4657
setup: 'qmake -r "USE_STATIC_CHMLIB=1" "USE_WEBENGINE=1"',
47-
build: "make"
58+
build: "make",
59+
install: "echo skip"
4860
}
4961
- {
5062
name: "macOS x64 :: Qt5 :: qmake",
5163
os: macos-latest,
5264
setup: 'qmake -r "USE_STATIC_CHMLIB=1" "USE_WEBENGINE=1" "LIBZIP_ROOT=/usr/local"',
53-
build: "make"
65+
build: "make",
66+
install: "echo skip"
5467
}
5568

5669
steps:
@@ -103,3 +116,7 @@ jobs:
103116

104117
- name: Build project
105118
run: ${{ matrix.config.build }}
119+
120+
- name: Install project
121+
shell: bash
122+
run: ${{ matrix.config.install }}

.github/workflows/build_tests_webkit.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: WebKit Build Tests
22

3-
on: [push]
3+
on:
4+
push:
5+
branches-ignore:
6+
- master
7+
- release
8+
- gha
9+
tags-ignore:
10+
pull_request:
411

512
env:
613
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

AUTHORS.md

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,37 @@
1-
# Project Authors
1+
# Developer
22

3-
[George Yunaev][1], the author of kchmviewer.
3+
[George Yunaev](https://github.com/gyunaev), the author of KchmViewer.
44

5+
# 3rd Party
56

6-
## 3rd Party
7+
- [Jed Wing](https://github.com/jedwing), the author of CHMLib.
8+
- [Razvan Cojocaru](https://github.com/rzvncj), the author of file `lib/libebook/bitfiddle.h`.
79

8-
- [Jed Wing][2], the author of [CHMLib][3].
9-
- [Razvan Cojocaru][4], the author of file `lib/libebook/bitfiddle.h`.
1010

11+
# Contributors
1112

1213
## Patches
1314

14-
- [Zhong Jianxin][5].
15+
- [Zhong Jianxin](https://github.com/azuwis).
1516

1617

1718
## Translations
1819

19-
| locale | translators |
20-
|--------|------------------------|
21-
| cs | Hynek Fabian|
22-
| de | Markus Müller|
23-
| fr | Sun Wukong|
24-
| hu | Csaba Zakarias|
25-
| it | Emilio Scalise|
26-
| nl | Rinse de Vries, Sander Pientka|
27-
| pt_BR | Márcio Moraes|
28-
| ru | Ivan Bobrov, George Yunaev|
29-
| sv | Daniel Nylander|
30-
| tr | Furkan Duman, Ozan Çağlayan|
31-
| uk | Yatsenko Alexandr|
32-
| zh_CN | 林俊, Henry Hu|
33-
| zh_TW | 林俊 |
34-
35-
36-
[1]: https://github.com/gyunaev "GitHub profile"
37-
[2]: https://github.com/jedwing "GitHub profile"
38-
[3]: http://www.jedrea.com/chmlib "Project page (not https)"
39-
[4]: https://github.com/rzvncj "GitHub profile"
40-
[5]: https://github.com/azuwis "GitHub profile"
20+
- Márcio Moraes, Brazilian Portuguese.
21+
- 林俊, Simplified Chinese.
22+
- Henry Hu, Simplified Chinese.
23+
- 林俊, Taiwan Chinese.
24+
- 呂健, Taiwan Chinese.
25+
- Hynek Fabian, Czech.
26+
- Markus Müller, Deutsch.
27+
- Rinse de Vries, Dutch.
28+
- Sander Pientka, Dutch.
29+
- Sun Wukong, French.
30+
- Csaba Zakarias, Hungarian.
31+
- Emilio Scalise, Italian.
32+
- Ivan Bobrov, Russian.
33+
- George Yunaev, Russian.
34+
- [Daniel Nylander](https://github.com/yeager), Swedish.
35+
- [Furkan Duman](https://github.com/fduman), Turkish.
36+
- Ozan Çağlayan, Turkish.
37+
- Yatsenko Alexandr, Ukrainian.

BUILD.md

Lines changed: 0 additions & 83 deletions
This file was deleted.

CMakeLists.txt

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,36 @@
11
# kchmviewer build script with cmake
22
#
3-
# Option:
4-
#
3+
# Common option:
54
# FRAMEWORK=<Qt4 | Qt5 | KDE4>
65
# USE_STATIC_CHMLIB=ON - if defined, static linkage to the chm library is used
76
# USE_WEBENGINE=ON - if defined, WebEngine is used, otherwise WebKit is used
8-
# USE_WINDEPLOYQT=ON - if defined, the runtime dependencies will be copied to
9-
# the folder with the executable. This option is applicable only for Windows.
7+
# USE_GETTEXT=ON - if defined, then GNU Gettext will be used for translation.
8+
# The default is ON.
9+
#
10+
# System-specific option:
11+
#
12+
# USE_DEPLOY_RUNTIME=ON - if defined, the runtime dependencies will be copied to
13+
# the folder with the executable. This option is applicable for Windows and
14+
# macOS.
15+
# USE_MACOS_BUNDLE=ON - if defined, configure installation for macOS as a bundle.
16+
# The default is ON.
1017
################################################
1118

1219
cmake_minimum_required(VERSION 3.9)
1320

14-
# Project name
21+
# Project info
1522
project(kchmviewer)
1623
include(cmake/get-version.cmake)
24+
set(CMAKE_PROJECT_VERSION ${PROJECT_VERSION})
25+
# Maybe upgrade the minimum version of CMake to 3.12?
26+
set(PROJECT_HOMEPAGE_URL "https://github.com/u-235/kchmviewer")
27+
set(CMAKE_PROJECT_HOMEPAGE_URL ${PROJECT_HOMEPAGE_URL})
1728

18-
option(USE_WEBENGINE "Use Qt WebEngine")
19-
option(USE_STATIC_CHMLIB "Use static link with chm library")
20-
option(USE_WINDEPLOYQT "Copying runtime dependencies for Windows deployment")
29+
option(USE_WEBENGINE "Use Qt WebEngine" OFF)
30+
option(USE_STATIC_CHMLIB "Use static link with chm library" OFF)
31+
option(USE_DEPLOY_RUNTIME "Copying runtime dependencies for deployment" OFF)
32+
option(USE_GETTEXT "Use GNU Gettext for translation" ON)
33+
option(USE_MACOS_BUNDLE "Install as macOS bundle" ON)
2134

2235
# Init cmake
2336
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")

ChangeLog

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
2021-11-10 u-235 <[email protected]>
2+
- Version 8.1 released
3+
- Added KDE-independent UI translation support using GNU Gettext.
4+
- Updated translation into Russian.
5+
- Minor fixes for KDE.
6+
7+
2021-10-04 u-235 <[email protected]>
8+
- Fixed a file filter in the Open File dialog box for KDE.
9+
10+
2021-10-03 u-235 <[email protected]>
11+
- Fixed installation directories for KDE4.
12+
13+
2021-09-22 u-235 <[email protected]>
14+
- Fixed a bug in showing pages of some EPUB files.
15+
116
2021-09-20 u-235 <[email protected]>
217
- Version 8.0 released
318
- Full support for QtWebEngine since Qt 5.9.

FAQ

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)