Kornel Benko
f3365a8fa9
Cmake debian packaging: use correct section (instead of "devel")
2021-03-14 10:17:58 +01:00
Juergen Spitzmueller
11b7714fc1
Use SVG icons in itemize bullet selector
...
This scales much better than the current png solution, is HiDPI- and
darkmode-ready
2021-02-09 10:32:16 +01:00
Kornel Benko
a86864b3bb
Amend f7ed7f53
: Cmake + epub: Install saxon*.jar together with its licence
...
Thanks to Pavel
2021-02-07 16:23:46 +01:00
Kornel Benko
f7ed7f53c4
Cmake + epub: Install needed docbook files
2021-02-07 12:37:58 +01:00
Kornel Benko
53084dbfd8
CMake: in Hunspell ABI check only link if external
...
(Thanks Scott for the patch and comment)
For the HAVE_HUNSPELL_CXXABI check, only test a (real) link command
if an external libhunspell is used or if macOS is used (see
350a9daf
). If the bundled libhunspell is used, it has not been built
yet at the point of the initial cmake command.
This commit fixes an issue when the bundled Hunspell is desired.
Before, the test command would still attempt to link to the system
hunspell library. Even if the system library is available, there
could be problems if there is a mismatch of the CXX ABI. And
finally, even if the system library is available and there is no
mismatch, compiling the test file with Clang and -stdlib=libc++
seems to cause a failure when linking with the system Hunspell
library.
2021-01-20 09:39:03 +01:00
Kornel Benko
c07278a45c
Cmake build: Syntax of AC_INIT() in configure.ac changed, adapted macro
2020-12-29 20:27:19 +01:00
Kornel Benko
86a10281da
Cmake build: Expand for possible c++20 compilation
2020-12-28 13:13:27 +01:00
Kornel Benko
a171c651a6
Revert "Amend 3093789e
for cmake build"
...
This reverts commit b3d43404f4
.
2020-11-30 10:19:22 +01:00
Kornel Benko
b3d43404f4
Amend 3093789e
for cmake build
2020-11-29 10:04:54 +01:00
Yuriy Skalko
f3ec89cfa1
Always use std::regex
...
Since now minimum supported GCC is 4.9.
2020-11-27 12:39:59 +02:00
Eugene Chornyi
77f4d162a0
CMake fix but where Perl not found on Windows
2020-11-18 19:17:44 +01:00
Kornel Benko
2ec243d47b
Cmake build: Fine tuning
...
1.) If building with external iconv, remove remnants of libiconv data
created if previousy used internal iconv
2.) Remove the variable HELP from cache to enable subsequent builds.
(Different variable-handling on new cmake (version >= 3.18))
3.) New macro to extract cmake-known-cxx-sts features
4.) Check for CXX11-features only for a subset of possibilities
known by the used cmake
2020-10-28 23:12:03 +01:00
Scott Kostyshak
2c1753a526
CMake: comment out c++20 for now
...
We currently get errors with internal boost and also from LyX code.
2020-10-23 17:13:25 -04:00
Kornel Benko
6869c3adff
Amend 39996524
: Satisfy older cmake versions
2020-10-23 13:25:49 +02:00
Kornel Benko
d954a6b09c
Cmake build: Next try to use of '--std=c++17' for gnu compiler"
...
Setting CMAKE_CXX_STANDARD explicitly, so that cmake can use
correct cxx-flags
2020-10-22 13:46:29 +02:00
Kornel Benko
d3c16d0496
Revert "cmake build: Allow use of '--std=c++17' for gnu compiler"
...
This reverts commit a906676c89
.
2020-10-22 12:04:41 +02:00
Kornel Benko
a906676c89
cmake build: Allow use of '--std=c++17' for gnu compiler
2020-10-21 18:27:23 +02:00
Scott Kostyshak
fe1cbc06c3
CMake deb: support "python2 | python3" dependency
...
The latest debian-based distributions have moved away from
the "python" package dependency to "python2" and "python3".
2020-10-20 13:04:41 -04:00
Scott Kostyshak
334552ade5
CMake deb: update python2 requirement
...
Synchronize with README: >= 2.7.
2020-10-19 15:08:31 -04:00
Yuriy Skalko
e3bf51a4c3
Revert "Enable to build with MinGW-W64"
...
This reverts commit ae5a8de6ea
.
2020-10-16 08:17:12 +03:00
Yuriy Skalko
ae5a8de6ea
Enable to build with MinGW-W64
2020-10-16 08:04:05 +03:00
Kornel Benko
932321a083
Cmake build: Install missed script listerrors
2020-10-03 14:06:24 +02:00
Kornel Benko
aadfb58374
Cmake build: Try to omit using directory names as source-files in po
...
Previously there are po-entries like
#: lib/examples/Articles:0 src/TocBackend.cpp:296
#:src/frontends/qt/GuiExternal.cpp:87
msgid "External Material"
msgstr ""
now:
#: src/TocBackend.cpp:296 src/frontends/qt/GuiExternal.cpp:87
#: lib/examples/Articles:0
msgid "External Material"
msgstr ""
(The string at 'lib/examples/Articles:0' proceeds also from the directory name 'lib/examples/External_Material')
This makes it easier to use some po-editors like 'linguist'
2020-09-07 21:12:22 +02:00
Kornel Benko
838853f99e
Cmake build: Amend a9afdbb7
and 46fca4dc
...
Partly revert installing fonds in system dir, not needed after
a9afdbb7
(Personalize fonts)
2020-09-03 18:27:12 +02:00
Kornel Benko
46fca4dc1d
Cmake build: Install lyx fonts in system dir too on linux
...
1.) Math-editor seems to use system fonts, so install it there.
2.) We use fonts from the support-dir, so install them there too.
This is something automake may take int account too.
2020-08-30 20:30:21 +02:00
Stephan Witt
102e9297d7
Add lilypond wrapper scripts to cmake install
2020-08-30 15:39:05 +02:00
Kornel Benko
0eb2589818
Cmake build: Use the fonts dir which is also expected by GuiFontLoader.cpp
2020-08-27 19:05:52 +02:00
Kornel Benko
41e03d9b2b
Cmake build: Install lyx.svg under images for all platforms
2020-08-26 14:33:42 +02:00
Stephan Witt
7d66e37eb2
Adjust the name of the cmake module lookup script for MYTHESLIB to match the casing of the variable name
2020-08-04 11:49:03 +02:00
Kornel Benko
26fa3b3d9d
Cmake build: Move interpretation of configure.ac to own function
...
Created function determineversionandbuildtype() in development/cmake/modules/LyXMacros.cmake
2020-07-12 16:27:45 +02:00
Kornel Benko
40e071c7cb
Cmake build: Improve checks for stdlib-debug
2020-07-11 12:43:17 +02:00
Kornel Benko
76db479c07
Cmake build: Change the destination of fonts
...
Select the lyx-fonts-directory such that font-config can find the dat
2020-06-11 19:06:21 +02:00
Kornel Benko
392aaa11ac
Cmake build: Add trailing '.'
...
Cpack in the cmake 3.18-version creates invalid control file
containg empty line. 'dpkg' chokes on this control file.
2020-06-10 17:11:36 +02:00
Kornel Benko
ed665a0333
Amend 2d48072e
: Get rid of Qt resources
...
Remove the cmake handling too
2020-06-07 12:07:58 +02:00
Juergen Spitzmueller
33e74e5117
Having two folders just differing in case is not such a good idea.
...
See #11882
2020-06-06 13:56:46 +02:00
Kornel Benko
b71fb0d0f6
Cmake installs: Clean up some installs
2020-06-05 13:00:00 +02:00
Kornel Benko
c7dbc201df
Amend 9c863039
: Cmake build: Adapt handling of c++ standards to new Visual C++ 2019
...
Apparently the use of "/std:c++20" is too new for our sources.
2020-06-04 18:01:49 +02:00
Kornel Benko
8b81adbbec
Cmake build: Add some missing language-specific files for installation
...
Preparing for possible addition af language file like zh_CN or pt_BR
in the examples directory
2020-06-03 21:44:42 +02:00
Kornel Benko
fc39c3b48b
Cmake build: Prohibit use of external boost if using libstdc++ in debug mode
...
We are using the compiler falgs _GLIBCXX_DEBUG and _GLIBCXX_DEBUG_PEDANTIC
See https://opensource.apple.com/source/gcc/gcc-1640/libstdc++-v3/docs/html/debug.html
2020-05-27 11:35:48 +02:00
Kornel Benko
9c863039b6
Cmake build: Adapt handling of c++ standards to new Visual C++ 2019
...
More or less suggested by Thibaut Cuvelier's switch to Visual C++ 2019
2020-05-05 13:49:50 +02:00
Kornel Benko
3f89dd0b48
Cmake build: Distinguish between PROGRAM_SUFFIX and LYX_VERSION
...
For instance: program suffix may be "", but lyx version is still "2.4"
2020-04-19 09:45:32 +02:00
Kornel Benko
0135682fca
Amend(1) 689f26d2
: Add default path to server pipe (cmake build)
...
Added handling for cygwin and win32
MacOSX is unchanged, Stephan could you look at it?
2020-04-18 09:06:56 +02:00
Kornel Benko
af029d695f
Cmake build: All directory variables should contain trailing '/'
2020-04-14 13:01:17 +02:00
Scott Kostyshak
9715d3504c
cat.py: fix Python deprecation warning
...
This commit fixes the following warning:
DeprecationWarning: 'U' mode is deprecated
Removing 'U' has no effect with Python 3 [1]:
There is an additional mode character permitted, 'U', which no
longer has any effect, and is considered deprecated. It previously
enabled universal newlines in text mode, which became the default
behaviour in Python 3.0.
[1] https://docs.python.org/3/library/functions.html?highlight=open#open
2020-03-20 10:22:47 -04:00
Scott Kostyshak
f1694db496
CMake build: find enchant 2.x binary and lib
...
For example, see the Fedora file lists for the package
enchant2-devel [1] as well as the Debian Sid file lists for the
packages libenchant-2-dev [2] and enchant-2 [3]. The packages for
Ubuntu 20.04 are similar. Our autotools build has had support for
finding enchant 2.x since 71977769
.
Searching for enchant-2 first is consistent with what we do for
autotools (see 1ae537c5
).
This commit is related to #10986 .
[1] https://www.lyx.org/trac/ticket/10986#comment:28
[2] https://packages.debian.org/sid/amd64/libenchant-2-dev/filelist
[3] https://packages.debian.org/sid/amd64/enchant-2/filelist
2020-03-13 10:07:05 -04:00
Kornel Benko
7f0efc5165
Cmake build: Add evince_sync-files to be installed under the scripts dir
2020-03-01 16:48:14 +01:00
Kornel Benko
43dfd12fd7
Cmake build: Files already removed, but in 'git status' still present.
...
This is a try to really remove them.
2020-02-15 10:11:28 +01:00
Kornel Benko
9fdc00fe2a
Cmake build: Remove cmake warnings about mismatched values of FindPackageHandleStandardArgs()
2020-01-27 10:44:14 +01:00
Kornel Benko
43b81becc6
Cmake config: Rename some variables to match the ones used by automake
...
LYX_RELEASE_VERSION renamed to LYX_RELEASE_VERSION
and got the new value of
LYX_RELEASE_PATCH
from configure.ac too
2020-01-17 14:25:57 +01:00
Kornel Benko
9d0548e877
Cmake build: Try to find hunspell.hxx for linunx _and_ for OSX
2019-12-04 20:23:27 +01:00