Commit Graph

120 Commits

Author SHA1 Message Date
Kornel Benko
e6c49c127f Cmake build: Remove warning about deprecated Compatibility with cmake <
3.10

Also use NEW policy CMP0177, since we already should not use '..' or '.'
in destination paths.
2024-12-07 15:24:15 +01:00
Jean-Marc Lasgouttes
84b5fbe326 Get rid of boost/any, use <any> instead
We can do that now that we rely on c++17.

Take this occasion to upgrade boost to version 1.83.

The 3rdparty/boost directory weights now 1MB instead of 2.3MB.
2024-10-22 17:47:15 +02:00
Kornel Benko
8d79860ea7 Cmake build: Handle deprecated cmake versions
The warning says:
CMake Deprecation Warning at .../CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

Spotted by Scott Kostyshak
2024-04-02 09:22:53 +02:00
Jean-Marc Lasgouttes
2712c9807e Update to boost 1.81 2023-02-02 10:56:46 +01:00
Scott Kostyshak
d35753a6d0 CMake build: disable warn about not known policy
This only showed up with -DLYX_EXTERNAL_ICONV=OFF.
2022-11-10 10:34:15 -05:00
Juergen Spitzmueller
94647a6f20 dt2dv.c: avoid compiler warnings 2021-03-12 15:54:30 +01:00
Yuriy Skalko
a2c126f867 Replace deprecated std::result_of, make nod library compatible with C++20 2020-12-30 18:02:11 +02:00
Kornel Benko
bce49b877e Cmake build: Remove references to remowed hunspell directories
Amends d04a8cf5
2020-12-21 09:11:48 +01:00
Jean-Marc Lasgouttes
d04a8cf58f Remove parsers in included hunspell 2020-12-20 19:39:35 +01:00
Jean-Marc Lasgouttes
37e7333359 some other stuff that should have been removed from boost
Update extract.sh to remove more thoroughly old boost files (*.h, *.pl).
2020-12-20 18:12:46 +01:00
Jean-Marc Lasgouttes
425a846b14 Tweak nod Makefile
There is no inner nod/ directory. We could, but it is probably not worth it.
2020-12-14 18:58:40 +01:00
Jean-Marc Lasgouttes
dd21fae48c Remove signal2 from included boost
This is not necessary now that we use the nod library.
2020-12-14 18:40:58 +01:00
Yuriy Skalko
c6b56ff200 Amend bda4570, remove BOM 2020-12-14 00:52:32 +02:00
Yuriy Skalko
bda4570400 Use new signal library nod instead of boost::signals2
Thanks Enrico for updating autotools files.
2020-12-13 23:11:19 +02:00
Jean-Marc Lasgouttes
d3036ca705 Boost.lexical_cast is not needed anymore.
As of 9348c5c6, we use std::to_string() instead.

This reduces the size of our boost copy by a couple of MB.
2020-12-11 11:08:47 +01:00
Jean-Marc Lasgouttes
7835983560 Cleanup extract.sh
Add new option --report to create an HTML report (shows dependencies
at the end).
2020-12-10 12:35:00 +01:00
Jean-Marc Lasgouttes
d9c39232ac Reduce the amount of needed boost headers
boost/signals2.hpp is a convenience header, it seems that
boost/signals2/signal.hpp is enough for our needs.

This allows to get rid of 6MiB of header files in 3rdparty/boost (and
probably to speed-up compilation).
2020-12-09 14:50:18 +01:00
Kornel Benko
a839b40358 Cmake build: Remove obsolete cmake control files 2020-12-03 02:46:48 +01:00
Kornel Benko
a171c651a6 Revert "Amend 3093789e for cmake build"
This reverts commit b3d43404f4.
2020-11-30 10:19:22 +01:00
Jean-Marc Lasgouttes
84412ff198 Small fixes to extract.sh
The libs/ directory is not relevant anymore.
2020-11-29 21:41:27 +01:00
Jean-Marc Lasgouttes
7dad35b0f8 remove some useless things from 3rdparty/boost
Remove

1/ the libs/ directory

2/ the CMakeList.txt file, since it only mentions this directory

3/ the cstdint.hpp file in extract.sh, since we do not use this header
   file directly (should not make a difference, boost uses it in other
   places).

Update boost/Makefile.am accordingly.
2020-11-29 19:29:56 +01:00
Jean-Marc Lasgouttes
f53a205720 Revert "Remove 3rdparty/boost/Makefile.am"
This reverts commit 125ed160d6.
2020-11-29 19:14:40 +01:00
Jean-Marc Lasgouttes
4e3ecda3e5 Revert "Amend 125ed160, removing 3rdparty/boost/Makefile.am"
This reverts commit 54ccd275f1.
2020-11-29 19:13:14 +01:00
Kornel Benko
54ccd275f1 Amend 125ed160, removing 3rdparty/boost/Makefile.am 2020-11-29 10:43:35 +01:00
Kornel Benko
125ed160d6 Remove 3rdparty/boost/Makefile.am 2020-11-29 10:22:16 +01:00
Kornel Benko
b3d43404f4 Amend 3093789e for cmake build 2020-11-29 10:04:54 +01:00
Jean-Marc Lasgouttes
cede08451e Fix make dist 2020-11-28 23:43:36 +01:00
Jean-Marc Lasgouttes
3093789e8d remove most traces of boost::regex
1/ remove boost regex code from 3rdparty/boost. Only the cmake stuff remains.

2/ remove traces of BOOST_LIB since there is no need anymore to
   compile boost stuff.

3/ remove traces of boost regexp in config/lyxinclude.m4 and INSTALL

4/ require gcc 4.9 as minimal version in autoconf.

Unfortunately, the net gain is only 10% of included boost size (now 21M).
2020-11-28 19:59:17 +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
Jean-Marc Lasgouttes
b5d1f2f300 Fix compilation of included libiconv with autoconf 2020-11-19 13:44:01 +01:00
Kornel Benko
66d5fffb50 Amend(3) 0ef96e4d: Use correct path for config.h 2020-10-26 02:07:10 +01:00
Kornel Benko
0ef96e4dec Amend(2) 2dbf3515: 2020-10-25 22:44:30 +01:00
Kornel Benko
415e0d8f3f Amend(1) 2dbf3515: 2020-10-25 17:31:41 +01:00
Kornel Benko
2dbf351542 Distribution: Added some missing files 2020-10-25 16:38:00 +01: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
Eugene Chornyi
6fac3144d5 Fix warnings in DTL targets on Windows (use STDC) 2020-09-07 21:27:37 +02:00
Jean-Marc Lasgouttes
b9538b10d4 Ignore some more files when building in source tree 2020-04-23 19:17:15 +02:00
Kornel Benko
af029d695f Cmake build: All directory variables should contain trailing '/' 2020-04-14 13:01:17 +02:00
Kornel Benko
66142c7d08 Amend(2) 4b052dec: Do not use CMAKE_INSTALL_PREFIX
On Windows this leads to duplicated use of 'LYX_INSTALLED' in the installed paths.
Spotted by Eugene.
2020-04-13 22:18:47 +02:00
Kornel Benko
4b052dec77 Amend ef42541d26: Missed to commit these 2020-04-13 13:39:33 +02:00
Pavel Sanda
59e84a525f fix distcheck 2020-04-10 14:28:59 +02:00
Juergen Spitzmueller
0c59ea386d Fix some compiler warnings in dt2dv.c 2020-04-10 09:15:13 +02:00
Juergen Spitzmueller
b351910478 Fix sign mismatch introduced with 8e60fcf530 2020-04-10 09:00:19 +02:00
Kornel Benko
00a6ad4b66 Cmake build: Add manuals for created executables dv2dt and dt2dv 2020-04-09 14:44:18 +02:00
Jean-Marc Lasgouttes
2aff8937ec Add automake support for dtl 2020-04-09 12:40:00 +02:00
Kornel Benko
bcde3d0016 Amend b280fed1: 3rdparty/dtl: Use preprocessor value on Windows 2020-04-09 11:58:49 +02:00
Kornel Benko
b280fed1b3 Cmake build: Added 3rdparty creation of dt2dv and dv2dt
Works on linux, needs testing on Windows
2020-04-09 11:46:47 +02:00
Juergen Spitzmueller
21bb86b8b9 Fix date 2020-04-09 09:29:41 +02:00
Juergen Spitzmueller
48a84370fe Add ChangeLog do document our own changes 2020-04-09 09:22:48 +02:00