diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-10-22 01:59:09 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-10-22 01:59:09 +0200 |
commit | 89580f2113a190494afd7e9454bad5275beda4c6 (patch) | |
tree | f943a49b7ae97e0fbd4d5d9c315099190f24e150 /README.adoc | |
parent | c7b9d657977ae907aeacc40b1eca2cbfcbddb35c (diff) | |
download | tdv-89580f2113a190494afd7e9454bad5275beda4c6.tar.gz tdv-89580f2113a190494afd7e9454bad5275beda4c6.tar.xz tdv-89580f2113a190494afd7e9454bad5275beda4c6.zip |
sdgui: cross-compile for Windows
No one bothered to ask whether it /should/ be done.
The hamburger needs to be replaced with a file open dialog there.
Diffstat (limited to 'README.adoc')
-rw-r--r-- | README.adoc | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/README.adoc b/README.adoc index 05d1c9c..e81a4b0 100644 --- a/README.adoc +++ b/README.adoc @@ -12,9 +12,9 @@ software. image::sdtui.png[align="center"] -With GTK+ 3 development packages installed, an alternative frontend will also be -built and installed. It shares the default dictionary list with 'sdtui', -but styling will follow your theme, and has to be customized from 'gtk.css'. +As a recent addition, there is now an alternative GTK+ 3 based frontend as well. +It shares its dictionary list with 'sdtui', but styling will follow your theme, +and may be customized from 'gtk.css'. Packages -------- @@ -36,7 +36,8 @@ Runtime dependencies: ncursesw, zlib, ICU, termo (included), glib-2.0 >= 2.38, $ git clone --recursive https://git.janouch.name/p/sdtui.git $ mkdir sdtui/build $ cd sdtui/build - $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DWITH_X11=ON + $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug \ + -DWITH_X11=ON -DWITH_GUI=ON $ make To install the application, you can do either the usual: @@ -53,6 +54,18 @@ an argument. It is, however, preferable to link:docs/sdtui.1.adoc#_configuration[configure it] to load your dictionaries automatically. +Windows +~~~~~~~ +With the help of Mingw-w64 and WINE, the GUI will successfully cross-compile +for Windows. It isn't particularly usable on that system, if only because +selection watching is a very X11/Wayland-specific feature. Beware that build +dependencies take up almost a gigabyte of disk space. + + $ sh cmake/Win64Depends.cmake + $ cmake -DCMAKE_TOOLCHAIN_FILE=cmake/Win64CrossToolchain.cmake \ + -DCMAKE_BUILD_TYPE=Release -B build + $ cmake --build build -- package + Dictionaries ------------ This application is intended for use with specific dictionaries: each line |