Commit Graph

193 Commits

Author SHA1 Message Date
Christian Hohnstaedt
751d4260ea Fix documentation typos 2023-09-30 11:24:18 +02:00
Christian Hohnstaedt
e1a4e905c0 Revert "Fix github compile error by using the QT provided compilers"
This reverts commit 0bce272bc7.
2023-09-24 18:21:33 +02:00
Christian Hohnstaedt
0bce272bc7 Fix github compile error by using the QT provided compilers
doc/CMakeLists.txt: Create output directory during configure
phase to avoid a race-condition.
2023-09-24 01:58:13 +02:00
Christian Hohnstaedt
7b2342f5cd Close #457: Support Qt5 < 5.12
Qt5 before 5.12 has to use qcollectiongenerator
instead of qhelpgenerator, which also exists but creates an error.

if qcollectiongenerator prioritize it.
2023-09-23 12:28:15 +02:00
Christian Hohnstaedt
d50381d9cb Fix SQL Option names in man page
With 5f5ed2f22b the old
QT-3.x database names were finally dropped.
Fix documentation.
2023-09-20 17:20:57 +02:00
Christian Hohnstaedt
bdeb9c46ca Document vCalendar/ics feature #456 2023-09-17 10:07:25 +02:00
Christian Hohnstaedt
1176a35fa7 Debugging: allow to select/deselect debug messages
Inspired by the Linux kernels dynamic debugging.
2023-05-28 15:31:33 +02:00
Christian Hohnstaedt
3e284b1245 CMakeLists.txt: Improvements
Use "${QT}::qhelpgenerator" instead of
"find_program(QTCOLLGEN NAMES qhelpgenerator ....)"

Add CACHE Variable QTFIXEDVERSION allowing to force Qt5 or Qt6
if both are installed.
2023-05-23 23:19:34 +02:00
Christian Hohnstaedt
8f2b26e3ab Fix minor documentation typos 2023-05-22 18:43:44 +02:00
Christian Hohnstaedt
d6d6d7d9d4 Update copyright years and adapt build scripts 2023-05-16 10:35:14 +02:00
Christian Hohnstaedt
86f24d1432 Matrix with QT versions 2022-09-02 17:02:40 +02:00
Christian Hohnstaedt
c873cc1a41 Fix installation of documentation
We need the whole directory, including the _static and _sources
sub-directories.

Also silence the QM generation. It was very garrulous.
2022-08-31 00:11:14 +02:00
Christian Hohnstaedt
ced6dfc41a Add support for Qt6
XCA now supports both, Qt6 and Qt5 down to Qt-5.2

Use CMAKE_PREFIX_PATH to point to the QT dompiler directory like
$ cmake -B build -DCMAKE_PREFIX_PATH=$HOME/6.3.1/gcc_64
2022-08-31 00:09:37 +02:00
Christian Hohnstaedt
e6d23fbd26 Win32: make install creates xca-portable 2022-08-31 00:01:06 +02:00
ambiamber
f4cb91d2f5 In the documention mention creating a datatbase
When I followed the step-by-step documentation for the first time, I was confused at first by the New Certificate button being greyed out.
This commit adds a section which explains creating the database before creating a certificate.
2022-08-30 23:34:03 +02:00
Christian Hohnstädt
683a08eedd cmake: fix dependency issue complained by xcode
Also remove stamp files and simplify CMake rules:
 - Name all generated files in OUTPUT
 - Drop BYPRODUCT, which is not necessary now.
 - Let the target depend on all OUTPPUTs of the command.
2022-08-07 22:30:32 +02:00
Dan Church
21536e608e
Use CMAKE_INSTALL_DOCDIR for docs location 2022-08-02 13:42:44 -05:00
Christian Hohnstaedt
7e51ba9fda Merge remote-tracking branch 'github/main' 2022-07-31 13:09:19 +02:00
Christian Hohnstädt
81a5540ec4 Improve Installation and DMG generation
Design the DMG look & feel, including the documentation

travis is gone. We use github actions
2022-07-11 23:04:27 +02:00
linusklan
882a5cad1b
Bugfix: contents.rst not found
Sphinx error:
master file /home/parallels/xca-2.4.0/doc/sphinx/contents.rst not found
2022-04-07 17:45:16 +02:00
Christian Hohnstaedt
c53aabbbdf Issue #300: Extend documentation about database extraction 2022-02-11 22:28:31 +01:00
Christian Hohnstädt
06fbe10d24 cmake: fixup undefined variables
Remove unused variables, define variables for all platforms
and fix typo
2022-01-03 20:03:31 +01:00
Christian Hohnstädt
3f5930a4f3 cmake: use BYPRODUCTS keyword to make ninja work
this also automatically sets the GENERATED flag.
2021-12-29 12:09:15 +01:00
Christian Hohnstaedt
eea60e7904 Silence sphinx output and avoid duplicate sphinx output 2021-11-20 12:23:37 +01:00
Christian Hohnstädt
4a30db9671 Improve dependencies in cmake files and add sensible defaults
Add custom-targets, dependencies and "Generated" properties
to fix race conditions.

Add default paths for my setup on Windows
and MacOSX
2021-11-20 10:55:30 +01:00
Christian Hohnstaedt
d73d4ccd51 Windows MSI: Improve WXS file creation with cmake
The long list of translations and html documentation
pages is now auto-generated by the cmake files,
which know the translations and html files. (DRY)

TODO: Windows SQL drivers for mysql and psql
2021-11-13 23:51:04 +01:00
Christian Hohnstaedt
25d2fdabb2 Fix and improve building help and documentation
- Always build html documentation if sphinx-build is available.
  to be installable during install
- Collect "${D}/qthelp/xca.qhc" "${D}/qthelp/xca.qch" in QTHELP_IDX
  and use this instead.
- On linux also install the qthelp in an html subdirectory like WIN32
- Don't instanciate QHelpEngine if no help available.
2021-11-13 14:49:02 +01:00
Christian Hohnstaedt
48bed71f79 Enable-disable PEM comment checkbox 2021-11-13 13:38:51 +01:00
Christian Hohnstaedt
36e02374ff Put XcaWarningBox on the stack not on the heap 2021-10-24 20:32:12 +02:00
Christian Hohnstädt
30e9568278 Merge remote-tracking branch 'github/master' into main
gzip command moved from doc/Makefile to doc/CMakeLists.txt
2021-10-24 15:09:58 +02:00
Christian Hohnstädt
ac506c83c2 cmake: Build successfully, even without qthelp and qtcollgen 2021-09-24 07:22:56 +02:00
Christian Hohnstaedt
64cd58ef96 Build sphinx documentation duting the default target 2021-09-18 08:53:15 +02:00
kpcyrd
9b4bc75fad Reproducible Builds: Don't embed timestamps in xca.1.gz 2021-07-26 20:46:20 +02:00
Christian Hohnstaedt
2f70cb13d2 doc/CMakeLists.txt: fix building the sphinx-qthelp
Get the output and dependencies right.
2021-06-02 21:49:33 +02:00
Christian Hohnstädt
76763ea98c cmake: include() the CMakeLists.txt file
instead of add_subdirectory() them.

in all subdirectories set ${S} and ${D}
as shortcuts for CMAKE_CURRENT_SOURCE_DIR
and CMAKE_CURRENT_BINARY_DIR
2021-06-01 17:48:38 +02:00
Christian Hohnstaedt
8cdc15aa39 Move database_schema.cpp from widgets to lib
there are no GUI elements in database_schema.cpp
2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
915a920de8 cmake: Split CMakeLists.txt into the different sub directories
mv cmake/sphinx-documentation.cmake -> doc/CMakeLists.txt
2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
9c49c9949f Consolidate and document used environment variables
Rename XCA_SPECIAL to XCA_ARGUMENTS, which is less generic.

and change %1_OPTIONS to XCA_%1_OPTIONS to prefix all
XCA related environment variables with "XCA_".
2021-06-01 17:48:37 +02:00
Christian Hohnstädt
68273d0a30 Switch from autotools/qmake to cmake
Why?
 - QT will switch from qmake to cmake sooner or later.
 - autotools are good for unix-ish systems, cmake also for
   macOS and Xcode as well as Windows and VS-code
 - Cross compiling the windows-binaries on linux
   is not very helpful to attract windows-centric
   developers.

Also drop qmake's xca.pro
Generate man-page and sphinx sources of commandline arguments
during build by executing xca (xcadoc.cpp).
Generating Version-patchlevel and git hash is now also
OS independent.
2021-06-01 17:48:37 +02:00
Christian Hohnstädt
184220e617 Fixup typo: extend the underline of Download
doc/sphinx/miscellaneous.rst:39: WARNING: Title underline too short.
2021-06-01 17:25:36 +02:00
PF4Public
2c1cdde7b3
typo 2021-06-01 16:52:43 +03:00
Christian Hohnstaedt
57802580c8 Drop backward-compatibility for old(<2.0.0) XCA databases 2021-05-10 20:41:12 +02:00
Christian Hohnstaedt
957bdbaa72 Put release related files into an own sub-directory
git.release.something ->
   Create any git release with a tag to test package (debian/rpm) build

git.release -> Create required changes and tags for the next release
git.publish -> Finalize the release (github release)
gen-binary-hash / binary-hashes.json -> keep track of release hashes
2021-05-09 12:22:53 +02:00
Christian Hohnstädt
63d1a465d3 changelog.html: Special html changelog for the web site 2021-05-08 13:15:51 +02:00
Christian Hohnstaedt
dea42e8d1f Minor documentation update 2021-05-07 22:08:34 +02:00
Christian Hohnstädt
d7cc443ce8 Synchronize divergated icons on several platforms
The certificate has the greatest recognition value.
Even though it is not ideal on very small scale.
2021-04-30 16:27:19 +02:00
Christian Hohnstädt
298c53bfb9 Fix build (ignore documentation) if sphinx is not available
Extend Travis to build with and without sphinx
2021-04-29 08:02:09 +02:00
Christian Hohnstaedt
b907103975 Update documentation 2021-04-28 22:27:04 +02:00
Christian Hohnstaedt
f17811b59a Improve make dependencies 2021-04-28 22:27:04 +02:00
Christian Hohnstädt
8c04bc2b27 Rename PACKAGE_VERSION to XCA_VERSION
For an official release XCA_VERSION == PACKAGE_VERSION.
For any additional commit, XCA_VERSION's path-level is increased.

PACKAGE_VERSION cannot be modified after initially set.
Change any occurance of PACKAGE_VERSION by XCA_VERSION
2021-04-26 10:10:23 +02:00