Commit Graph

119 Commits

Author SHA1 Message Date
Juergen Spitzmueller
78a15c0448 2005-07-25 Angus Leeming <leeeming@lyx.org>
* dt2dv.c: Enable to handle .dvi files containing strings longer than 1024 chars.

* Makefile: enable the to work out of the box on both *nix and Windows machines
  under the MinSYS environment.

* man2ps: build fixes

See https://marc.info/?l=lyx-devel&m=115228143031699
2020-04-09 09:21:05 +02:00
Juergen Spitzmueller
d6f9fdcaef Add dtl tools to 3rdparty/
We need to compile our own (patched) version of the app on Windows.

See #11325
2020-04-09 08:58:09 +02:00
Kornel Benko
7a02c02c18 Cmake build: Amend b399cfc7
Re-allow also the previous include, so that it is now
possible to use
	#include <hunspell.hxx>
and also
	#include <hunspell/hunspell.hxx>
2020-03-07 13:51:50 +01:00
Kornel Benko
348a3be540 Cmake build: Remove warnings about deprecated policy CMP0075 2020-03-07 13:49:35 +01:00
Kornel Benko
12bd688139 Amend(1) 7f0efc51: Add evince_sync files to the dist target of automake 2020-03-02 12:51:39 +01:00
Kornel Benko
834601fc17 Moving 3rdparty/evince_sync to 3rdparty/scripts/evince_sync 2020-03-01 16:46:35 +01:00
Kornel Benko
b399cfc7a2 Cmake build: Use correct include if using internal hunspell
This way also "HAVE_HUNSPELL_CXXABI" is correctly set to 1
2020-02-28 21:48:54 +01:00
Jean-Marc Lasgouttes
09130d7a62 Update to boost 1.72
This requires to add a assertion_failed_msg handler. Take this
occasion to cleanup and uniformize the various boost.cpp files that we
have.

This adds 50k line of whatever to the source code.
2020-01-07 16:27:23 +01:00
Kornel Benko
3a29ba795d Cmake build: Select use of interprocedural optimization
New cmake-option to explicit select/deselect the IPO
2019-12-17 13:59:52 +01:00
Kornel Benko
c9c86b4966 Cmake build: Remove warnings about deprecated policy CMP0069
Deprecated since cmake version 3.16
(Now explicitly enable/disable interprocedural optimization
if supported and not debugging)
2019-11-09 16:56:16 +01:00
Kornel Benko
e4d30dd7f6 Cmake build: Disable interprocedural optimization if debugging 2019-07-30 15:19:56 +02:00
Jean-Marc Lasgouttes
91c58d9a68 Re-add win_api/config.h and somewhat update CMakeLists.txt 2019-06-17 12:23:09 +02:00
Kornel Benko
cf980435b1 Amend c3484fa6, adapt cmake-build to new hunspell-version 2019-06-12 19:29:46 +02:00
Jean-Marc Lasgouttes
c3484fa6c8 Update the in-source hunspell to version 1.7.0 2019-06-12 16:38:42 +02:00
Kornel Benko
7d021a938c Cmake build: Use interprocedural optimization if possible
With gnu compilers this adds -flto and -fno-fat-lto-objects
to compiler and linker flags.
2019-04-22 18:53:49 +02:00
Jean-Marc Lasgouttes
c40d23deac Update to boost 1.68
This avoids warnings from gcc 8
2018-11-23 16:14:23 +01:00
Jean-Marc Lasgouttes
dd8fd3d90a Get rid of monolithic build support for autoconf
It is not useful anymore on modern machines with several cores.
2018-08-30 11:35:37 +02:00
Jean-Marc Lasgouttes
d9e0a842cf Compile 3rdparty/hunspell in stdlib-debug mode when needed
A function that returns a vector<string> will lead to a crash if the
main code and the library have not been compiled with the same
stdlib-debug state. See for example:
https://stackoverflow.com/questions/4764048/stl-and-release-debug-library-mess

This is fixed by introducing a new variable STDLIB_DEBUG that contains
the flags that trigger the debug mode (autoconf only for now).

This will allow to go forward with bug #10547.
2018-03-29 12:08:48 +02:00
Uwe Stöhr
873bd99008 zlib: update to zlib 1.2.11
This should also be done in LyX 2.3.x now or for LyX 2.3.1.
2017-12-06 02:45:49 +01:00
Juergen Spitzmueller
c61f31d8a5 Add missing file (this addition needed to be forced) 2017-09-18 20:12:57 +02:00
Juergen Spitzmueller
fe4e29a642 Remove files that are no longer in the tree. 2017-09-18 20:01:27 +02:00
Juergen Spitzmueller
3b89cd9c28 Update internal Hunspell to latest release (1.6.2) 2017-09-18 18:12:21 +02:00
Jean-Marc Lasgouttes
ed09ccbc3c Update boost to 1.65.1 2017-09-12 11:37:36 +02:00
Uwe Stöhr
a0b8eed96c libiconv: adapt makefile.am for new files in libiconv 1.15 2017-09-10 15:19:40 +02:00
Uwe Stöhr
39f15a6b0b libiconv/1.15: add some files new in the llibiconv sources 2017-09-10 15:05:28 +02:00
Uwe Stöhr
cf214f8263 libiconv: upgrade to version 1.15
- libiconv 1.15 was released in February this year
- I opened a thread to discuss if this should also be done for the lyX 2.3 branch on the list
2017-09-10 14:46:37 +02:00
Juergen Spitzmueller
8c2e5bfc20 Mythes: fix -Wsign-compare warning
Will also urge to get this into upstream
2017-08-12 10:43:21 +02:00
Juergen Spitzmueller
3edacc85ed Remove sizeof applied to sizeof
Backported from upstream:
2e09086d89
2017-08-12 10:31:19 +02:00
Juergen Spitzmueller
9bc47b83cb Some minor polishment and comments. 2017-07-19 10:22:13 +02:00
Juergen Spitzmueller
e79782c4cc Scripts for connecting LyX with evince for backward/forward search
The scripts have been initially developed by Benjamin Kellermann (2011)
as a derivation of gedit-synctex-plugin by José Aliste
(https://github.com/jaliste/gedit-synctex-plugin, 2010) and published on
https://ubuntuforums.org/showthread.php?t=1716268.

The work here is based on a further derivation of this work for Sublime
Text LaTeX Tools
(https://github.com/SublimeText/LaTeXTools/tree/master/evince).

Adaptations for the use with LyX as well as the initial translation of
the evince_sync bash script to python have been done by myself.

The python code (particularly evince_sync_lyx) needs audit!
2017-07-18 19:08:44 +02:00
Kornel Benko
db8069c2bd Added mythes/CMakeLists.txt to the distribution 2017-04-25 10:08:31 +02:00
Kornel Benko
2136887ea2 Typo: Copy/Paste error 2017-03-07 14:40:56 +01:00
Kornel Benko
5d3d26b024 Cmake build: Adapt handling of mytheslib to automek behaviour
The added cmake-parameter is:
  -DLYX_EXTERNAL_MYTHES=<value>
where <value> is one of
  AUTO	(Default) Search first on system for mythes (lib and include)
  ON	Use installed only (errors if not installed)
  OFF	Compile the provided source in 3rdparty
2017-03-07 14:27:08 +01:00
Jean-Marc Lasgouttes
bb7551258c Fix distcheck for mythes
For some reason, I mistyped "myspell" instead of "mythes" as a reflex. I
thought that I fixed all occurences, but it appears that I missed
one...
2017-03-07 11:14:58 +01:00
Jean-Marc Lasgouttes
0e50ad8b16 Update bundled mythes to version 1.2.5
Move it to 3rdparty/ directory alongside the other ones.
2017-03-06 17:08:38 +01:00
Kornel Benko
f4c3dc6668 Add the perl-mode-line for emacs to perl scripts 2016-12-03 11:39:28 +01:00
Jean-Marc Lasgouttes
46c6f4de67 Update local boost version to version 1.62
This avoids some warnings with gcc6.
2016-10-19 17:33:41 +02:00
Georg Baum
c7bfa7d341 Fix linking with cmake and included iconv
Previously, the GNU linker would complain about missing libcharset_relocate.
The MSVC linker did not complain, since the code that uses libcharset_relocate
does not seem to be sued, so it removed it.
2016-07-03 18:51:22 +02:00
Georg Baum
9dcb7860b4 Remove unneeded MSVC 6 project file
We use cmake or autotools to build hunspell, so we don't need this.
2016-06-26 18:58:19 +02:00
Georg Baum
d32f8f326a Fix boost packaging
icu.{hpp,cpp} is not needed and cannot be compiled since it depends on libicu.
The other two files are currently not used, but could be in principle, so I
added them to the build.
2016-06-15 22:21:21 +02:00
Georg Baum
d67a8cb212 Do not try to build an empty boost lib
This should fix a build failure on OS X:
Making all in boost
  AR       liblyxboost.a
  ar: no archive members specified
2016-06-11 09:28:11 +02:00
Georg Baum
2047ea5eb4 Replace Boost.Signals with Boost.Signals2
Boost.Signals is deprecated. This fixes bug #9943.
The only thing left to do is to rewrite (or get rid of) the boost -mt test
in config/lyxinclude.m4 not to use signals anymore.
2016-06-09 22:25:34 +02:00
Georg Baum
fe86240d64 Rerun extract.sh to get rid of more boost
After the latest changes we require less parts of boost, but unfortunaly the
effect is only small.
2016-06-09 20:47:19 +02:00
Guillaume Munch
b95b77c631 Replace boost::tuple with std::tuple 2016-06-09 15:21:39 +01:00
Guillaume Munch
ca8709aaf5 Replace boost::scoped_ptr with unique_ptr 2016-06-09 15:21:39 +01:00
Georg Baum
3611d90ffe We do not use the provided MSVC proj files 2016-06-07 22:19:10 +02:00
Georg Baum
7d558d3e2a Remove boost::typeof
Jean-Marc found out that we do not need it.
2016-06-07 22:10:49 +02:00
Georg Baum
2a3efc1585 Update boost to version 1.61
I updated using the new extract script. This gets rid of boost::bind, but the
other parts are still needed internally.
2016-06-07 21:14:12 +02:00
Georg Baum
bdbe81be15 Remove unneeded files from extract.sh
We do require less files from boost now.
2016-06-07 21:10:19 +02:00
Jean-Marc Lasgouttes
d0a318c742 We do not use <boost/scoped_array.hpp> anymore
The code using it  was removed at 81959251.
2016-05-29 17:55:45 -04:00
Jean-Marc Lasgouttes
5ee778af75 Remove support/metahash.h
It turns out that it did not take off since introduced in 2011. It is better to remove it and the associated boost headers (extract.sh was run against boost 1.60 to do the update).

Since we will move away from several boost classes when transitioning to C++11, it is good to start by removing lesser used ones.
2016-05-29 17:55:45 -04:00
Jean-Marc Lasgouttes
68a1f9a44e Do not use of boost::tokenizer
It is easier to use instead getVectorFromString for the use we have of this tokenizer. The two places are environment.cpp (path stuff) and qt_helpers (file fileters). The new code is much shorter.

This allow to remove boost/tokenizer.hpp and friends from our boost tree.
2016-05-29 17:55:45 -04:00
Jean-Marc Lasgouttes
87d4ce0ff7 Remove boost/format support
Only ChkTex.cpp used it, whereas the rest of our code uses the simpler bformat.
2016-05-29 17:55:45 -04:00
Georg Baum
f434fd22b1 Configure included hunspell with autotools
The included hunspell should not be used on Linux or OS X, but (depending on
local configuration) it might be needed for crosscompiling a mingw target
from Linux. Now the user can choose whether to use the included hunspell or not.
cmake does already support that.

Now the only other dependency you need to cross-compile for mingw on debian
or ubuntu is qt.
2016-05-29 17:55:44 -04:00
Georg Baum
08afc52c4c Configure included iconv with autotools
The included iconv should not be used on Linux or OS X, but (depending on
local configuration) it might be needed for crosscompiling a mingw target
from Linux. Now the user can choose whether to use the included iconv or not.
cmake does already support that.

eilseq.m4 was taken from the original libiconv 1.14 package.
2016-05-29 17:55:43 -04:00
Georg Baum
127e5b1955 Add forgotten zlib includes
I forgot this in 9b822b25ae5. Also remove a comment that is no longer true.
2016-05-29 17:55:43 -04:00
Georg Baum
78e17b1579 Configure included zlib with autotools
The included zlib should not be used on Linux or OS X, but (depending on
local configuration) it might be needed for crosscompiling a mingw target
from Linux. Now the user can choose whether to use the included zlib or not.
cmake does already support that.

zconf.h.in was taken from the original zlib 1.2.8 package. The generation of
zconf.h was made equivalent to the one generated by cmake.
2016-05-29 17:55:43 -04:00
Peter Kümmel
fc459bd977 files are already part of boost 2016-02-16 11:00:34 +01:00
Peter Kümmel
6de524e6cf Add missing boost files to source package
and remove Visual Studio files, we build with CMake on Windows.
2016-02-13 19:03:42 +01:00
Georg Baum
ff9ba203ff Add missing files to source package
The windows build for beta1 showed that some files were missing by accident.
2016-02-11 21:04:58 +01:00
Peter Kümmel
132cc83871 remove warning about alreday defined Z_PREFIX 2016-01-19 17:54:43 +01:00
Peter Kümmel
dde4f93894 zlib: enable prefix, fix mingw build 2016-01-12 20:11:31 +01:00
Jean-Marc Lasgouttes
a69d649626 Do not setup building of 3rdparty/libiconv
This causes build problems with automake < 1.14 because two files have the same name. This only works well when using subdir-objects, which we only do after 1.14.

We do not want to build libiconv on target which support autotools anyway, but rely on a built-in one.

This fixes building on oldish ubuntu 12.04.
2016-01-01 18:44:18 +01:00
Peter Kümmel
bd74a15ebd update boost to 1.60 2015-12-20 14:04:54 +01:00
Peter Kümmel
3c3141dc23 3rdparty/boost: build with cmake 2015-12-20 13:41:00 +01:00
Peter Kümmel
a8d78905b6 3rdparty/boost: build with autotools 2015-12-20 13:06:59 +01:00
Peter Kümmel
b7a3831289 move boost to 3rdparty directory 2015-12-20 12:49:10 +01:00
Georg Baum
c829eeebb7 Add 3rdparty to source package
The new 3rdparty libraries are not added to the autotools build system, so
that they appear in the source package. They cannot be compiled yet with
autotools (although this would make sense for cross compilation with mingw),
but adding configure support for enabling/disabling these like we do for
boost is a bit more work, so I did not do it for now. Nevertheless, the
three new Makefile.am are already prepared for compilation.
2015-12-19 16:49:52 +01:00
Peter Kümmel
3bd2cfecf0 move 3rdparty dir out of src/ 2015-12-15 13:20:13 +01:00