Commit Graph

142 Commits

Author SHA1 Message Date
Juergen Spitzmueller
10335b93b4 Support new hunspell C++ ABI if LyX is built against hunspell >= 1.5
Fixes: #10547
2018-04-14 10:35:59 +02:00
Jean-Marc Lasgouttes
86ae7dad3f Require automake 1.14 and autoconf 2.65
This allows to fix distclean properly, since we know that
subdir-objects is used. When it is the case, it is not a good idea for
a Makefile to use a source file which is under the control of another
one. This could not be made to work work with old automake versions
(<1.14).

Therefore we refer directly to object files in Makefile.am instead of
source files. The actually leads to less compilation in tex2lyx.

Update the code here and there to remove compatibility hacks. Update
documentation.

Re-enable the layout test and fix the Length test, which was ovewriting
memory in test_inPixels() because lyxrc did not had a correct layout.
2017-04-06 14:56:30 +02:00
Georg Baum
e307944d18 Require gcc 4.6
See also 5de30b1210
2016-06-15 22:04:51 +02:00
Guillaume Munch
36099dce44 rewrite 51a15c45
Poor wording
2016-06-12 19:17:33 +01:00
Guillaume Munch
51a15c4569 Clarify Qt requirements for 2.3
As discussed on the list. If the needs to drop Qt 4.8 arises, then this should
be discussed again.
2016-06-11 05:25:34 +01:00
Jean-Marc Lasgouttes
6f585055d9 Allow to disable std::regex manually with autoconf
Update INSTALL and remove mention of --disable-cxx11.
2016-06-10 12:01:53 +02:00
Georg Baum
8a20f4b394 Mention C++11 requirement in INSTALL
Thanks to Scott and Jean-Marc for pointing that out, I forgot it.
2016-06-07 22:29:38 +02:00
Georg Baum
ad63374e26 Require at least gcc 4.3
This is a prerequisite for mandatory C++11 support.
I could not find a cmake gcc version check btw.
2016-06-05 15:40:00 +02:00
Jean-Marc Lasgouttes
e1938aa240 Fix some compilation problems in C++11 mode
Only enable std::regex when the header <regex> is present (fix Mac OS X issue).

Remove support for concept checks. The page
  https://gcc.gnu.org/onlinedocs/libstdc++/manual/concept_checking.html
says about concept checking:

  Please note that the checks are based on the requirements in the
  original C++ standard, many of which were relaxed in the C++11
  standard and so valid C++11 code may be incorrectly rejected by the
  concept checks. Additionally, some correct C++03 code might be
  rejected by the concept checks, for example template argument types
  may need to be complete when used in a template definition, rather
  than at the point of instantiation. There are no plans to address
  these shortcomings.

Therefore it seems reasonable to remove our support for this.
2015-09-25 14:12:30 +02:00
Jean-Marc Lasgouttes
d95c187b5a Give a warning when system boost and stdlib-debug are used together
In general this would lead to an immediate runtime crash because the
runtime checks of libstdc++ change the layout of some STL objects.
Therefore, this will only work when the boost libraries have been
compiled with this same flag. At this time, it is not known whether
any linux distribution contains such libraries.

Fixes bug #9736.
2015-09-22 14:38:31 +02:00
Jean-Marc Lasgouttes
893ae612e4 Use C++11 by default when possible
Compiler that are known to support C++11 (gcc >= 4.3 and clang) are
now used in this mode by default. It is still possible to override
this choice using --(en|dis)able-cxx11.

Moreover, c++11 mode is detected from the compiler itself, not from
the use of --enable-cxx11. This allows to support compilers other
than gcc or clang.

Update INSTALL file accordingly and clean it a little bit.
2015-09-07 11:42:39 +02:00
José Matos
631bbab889 First step to support python 2(.7) and 3(.3+)
When the work is finished the moniker "work in progress" should be removed.
2015-03-10 13:55:59 +00:00
Jean-Marc Lasgouttes
d33f4c91f2 Allow automake 1.15. 2015-03-03 10:59:11 +01:00
Scott Kostyshak
6773042d0c Typo 2015-01-20 22:08:00 -05:00
Enrico Forestieri
4bdeae2733 Update autotools for building with Qt5.
The option --enable-qt5 allows configuring for Qt5. The default is Qt4.
Nothing special is done with respect to Qt4, apart from pulling in the
correct libraries. Indeed, other than the core and gui libraries, now
also the concurrent and widgets libraries are needed.
2014-07-19 03:34:28 +02:00
Vincent van Ravesteijn
7511bcf39f INSTALL: Update INSTALL
- adjust the supported versions for autotools
- add a note about the adviced Qt version
- remove gettext as a hard requirement and adjust the note
2014-04-13 16:20:55 +02:00
Vincent van Ravesteijn
7ab58d5d9e Revert "Update INSTALL"
This reverts commit 30d1cf47c1.
2014-04-12 14:01:11 +02:00
Vincent van Ravesteijn
30d1cf47c1 Update INSTALL 2014-04-10 22:35:32 +02:00
Pavel Sanda
c51b091e09 * INSTALL - Solaris build should work now. 2013-09-09 02:52:01 -07:00
Pavel Sanda
778cff1cff Comment from bug #8783. 2013-08-25 21:30:04 -07:00
Jean-Marc Lasgouttes
d7e2705228 Get rid of all traces of libintl.
This requires to re-add some tests in configure.ac.

Note that the code to generate a Makefile in po/ has been kept.
2013-05-30 22:10:01 +02:00
Jean-Marc Lasgouttes
3ef4db2ce4 Continue pre-spring cleaning of configure script
* build-type=profiling implies -fno-omit-frame-pointer in gcc. This allows sysprof to yield proper call trees
 * remove --enable-grpof option (the build type is enough)
 * remove --with-frontend option since we have only one frontend. Move stuff around and generally simplify the Qt detection code
 * do not check for bc anymore.
 * Update README.
2013-03-19 16:41:14 +01:00
Scott Kostyshak
66dcc7f62c INSTALL: typos and grammar 2013-01-30 04:54:23 -05:00
Jean-Marc Lasgouttes
d5e0e21ba0 Fix compatibility with automake 1.13
Do not use AM_PROG_MKDIR_P, which is obsolete. We use  the AC_* version
now, which requires autoconf>=2.59d. This also mean that we need to use
the variable MKDIR_P instead of mkdir_p.
2013-01-21 10:15:27 +01:00
Pavel Sanda
1bd1fe7121 * INSTALL, README 2012-11-04 02:02:16 +01:00
Pavel Sanda
15001b0354 * INSTALL few leftovers in trunk as well. 2012-11-01 18:06:26 +01:00
Pavel Sanda
f1be85dec7 * INSTALL 2012-06-21 11:14:18 +02:00
Julien Rioux
a082cfac69 Update the python requirements after r39553 and r39554. The subprocess module,
now used in configure.py, requires python >= 2.4. See the mailing list thread:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg170511.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39559 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-29 14:36:37 +00:00
Jean-Marc Lasgouttes
05a604c554 clarify a bit installation instructions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38964 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-06 10:32:16 +00:00
Jean-Marc Lasgouttes
4055006f43 there is no need to install new fonts for LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37419 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 15:10:03 +00:00
Jean-Marc Lasgouttes
98b48a4969 Add and document build types profinling and gprof. Some clean up of build_type code in configure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37323 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-25 13:49:49 +00:00
Jean-Marc Lasgouttes
3b316bc83f better fix to #7239. Actually the whole switch and kaboodle (see r37229) is needed (otherwise sweave is broken)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37322 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-25 11:22:47 +00:00
Jean-Marc Lasgouttes
eb18b4e835 Rename --enable-profiling to --enable-gprof to pave the way for a configure option for normal profiling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37245 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 09:57:03 +00:00
Stephan Witt
82e8d0e297 add a note about the required development packages for spell checker support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36280 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 12:09:23 +00:00
Pavel Sanda
d0a2ff824d Back to Qt 4.2, thanks Enrico.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36236 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 15:54:54 +00:00
Pavel Sanda
8327b58835 Update docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36170 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 23:24:50 +00:00
Pavel Sanda
8d66bb07c4 Aiksaurus has been killed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36168 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 22:55:00 +00:00
Pavel Sanda
f7bb05a35c From what I read Qt 4.2 is dead because of new threads code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36167 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 22:53:12 +00:00
Pavel Sanda
68386c6521 Arrgh
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35547 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-30 16:32:12 +00:00
Pavel Sanda
53d746f513 Spotted by Jose.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35546 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-30 16:31:20 +00:00
Pavel Sanda
7396ce7948 * INSTALL. Patch from Liviu Andronic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35545 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-30 14:09:53 +00:00
Richard Heck
2361cefca1 Remove some obsolete "if you're using Qt" language.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35052 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 15:18:18 +00:00
Pavel Sanda
20d528aa98 Bring the old automake deps back and wait some more time.
For future reference, in this patch dep for autoconf 2.60 was missing.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159235.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34069 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 10:59:57 +00:00
Pavel Sanda
6b0683d8e9 Bump automake deps.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34068 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-06 15:25:12 +00:00
Jean-Marc Lasgouttes
c9f1c6cf5f small cleanup, now that we require automake 1.8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31431 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 12:16:42 +00:00
Uwe Stöhr
43db6966b3 revert r30406
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30440 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 22:51:34 +00:00
Uwe Stöhr
4fba1a5643 INSTALL: require Qt 4.4 for LyX 2.0
(Qt 4.2 is 3 years old and requiring at least a one year old release of Qt should be acceptable for a new major release.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30406 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 18:22:57 +00:00
Jean-Marc Lasgouttes
f227016f3d updates to --enable-monolithic-build code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 16:25:26 +00:00
Jean-Marc Lasgouttes
ac62d4ef94 get rid of old --enable-monolithic-foo options; document new option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29055 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 14:32:40 +00:00
Pavel Sanda
d694a215d5 Suggestion from users list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27435 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 10:46:24 +00:00