Commit Graph

291 Commits

Author SHA1 Message Date
Abdelrazak Younes
aafa4532d4 CMake: Define USE_HUNSPELL in case the library is found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30832 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 16:45:33 +00:00
Abdelrazak Younes
0316c01d24 Win32 Hunspell Link fix by Kornel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30831 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 16:38:39 +00:00
Kornel Benko
d74fffa363 Added hunspell library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30826 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 10:44:05 +00:00
Abdelrazak Younes
0d626b0008 * Rename HunspellSpellChecker to HunspellChecker and ASpell to AspellChecker for consistency.
* Cleanup a bit associated CMakefile 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30813 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 17:24:13 +00:00
Kornel Benko
052c1b1604 Search for hunspell.hxx on ubuntu at standard place
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30551 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 17:51:27 +00:00
Edwin Leuven
20e94094db add missing quote
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30535 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 09:21:06 +00:00
Kornel Benko
27a71ede25 Check for hunspell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30534 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 07:44:00 +00:00
Kornel Benko
14a2d495a5 Check for fcntl is maybe more more portable, than searching in
header files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29931 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-04 15:01:31 +00:00
Kornel Benko
a9ed2f18f4 Enable sockets on linux too. "fcntl" defined at /usr/include/fcntl.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29895 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-31 11:53:52 +00:00
Enrico Forestieri
04b7cf62d6 Fanfare! Qt is now also allowed in core!
So, reapply r29669 and revert r29694. I don't know what should be done
for scons, but there should be no problems ATM.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29696 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 18:48:41 +00:00
Enrico Forestieri
ae3f95b8f0 Fix scons and revert the now not needed r29669.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29692 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 15:55:08 +00:00
Kornel Benko
1f3b4e24af Added QT_INCLUDES to make it compilable again.
This was needed due to change of src/support/Systemcall.h


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29669 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 16:23:26 +00:00
Kornel Benko
4963d9ec29 Use the new parameter for lyx_pot.py to pass
file-name parameters in one extra file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29641 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 09:21:59 +00:00
Kornel Benko
a897a1189a Remove now unneeded checks for mythes and aiksaurus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29579 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 06:57:25 +00:00
Abdelrazak Younes
e9be0fae66 Integrate mythes-1.1 into our source and remove support for aiksaurus. I have tested only the Cmake build system. Please test autotools and scons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29577 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 21:38:50 +00:00
Kornel Benko
5ed63945f7 This is a try to shorten the length of the command line when creating
..._l10n.pot files.
(The line-length on Windows should not exceed 0x8000 bytes)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29517 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 17:59:01 +00:00
Kornel Benko
a7b6a5ba48 Change the quote style to satisfy MSVC.
Patch from Peter Kümmel


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29512 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 15:14:14 +00:00
Enrico Forestieri
b0936fac4c When performing a reverse DVI search and the tmpdir is a symlink, the
DVI viewer passes back the resolved path, such that the search fails,
as internally LyX uses the unresolved path.
This patch fixes this bug by using the new method FileName::realPath
which resolves a path by getting rid of any '.', '..', or symlink
path components.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29476 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 15:18:11 +00:00
Kornel Benko
a8169a0139 Use cmake macro find_package_handle_standard_args()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29416 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 18:33:09 +00:00
Kornel Benko
1b0d8fd5f1 Added support for Aiksaurus-build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29399 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-25 13:43:52 +00:00
Kornel Benko
1f8e611c03 MYTHES_LIBS not set
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29341 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 17:30:19 +00:00
Kornel Benko
ced1b3530b Added libmythes to lyx-build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29334 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 15:04:20 +00:00
Kornel Benko
1657aeb41b white space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29332 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 15:00:45 +00:00
Kornel Benko
d094fccda1 white space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29331 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 14:57:50 +00:00
Kornel Benko
517f8dc1d0 Fix error in creating moc-files due to last commit.
Again: prepend moc_ instead of appending _moc in cmake


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29258 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 10:48:32 +00:00
Kornel Benko
7ad31fcf7b Try to avoid use of perl, if there is no perl-command available
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29244 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 07:28:37 +00:00
Kornel Benko
6f5ac86d6e Copy po-files only if realy changed.
Avoids annoying po re-building.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29243 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 07:14:29 +00:00
Kornel Benko
5378f44032 1.) some white spaces removed
2.) Using direct call to uic-qt4. This was needed to enable translated
    strings to appear in many dialogs.
    I needed some time to find out, why strings form autocof-build made
    it into the dialogs, but strings from cmake-build did not.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29234 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 15:01:08 +00:00
Kornel Benko
b5880744c9 1.) Definition of macro add_gettext_python()
Missed the part, when there were more then one argument
        specifying the possible extension.
2.) Typo in extension: .layouts => .layout
3.) Reorder the creation of lyx.pot to make more like when creating
        with autoconf.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29106 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-05 16:02:46 +00:00
Kornel Benko
1f582e9490 Adapt to some new configuration strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28967 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 07:33:54 +00:00
Kornel Benko
44b15b8cf1 Added unconsidered header files to the list.
Globbed the tex2lyx directory to be more robust against changes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28890 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 07:02:19 +00:00
Kornel Benko
c313084ef5 Avoid modification of po-files in source tree
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28888 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 06:49:49 +00:00
Kornel Benko
6420c5b213 autogeneration of tex2lyx.1 now from tex2lyx.1in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28875 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 11:39:38 +00:00
Kornel Benko
184cbb6825 Remove "share" from default installation prefix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28750 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-10 07:14:41 +00:00
Kornel Benko
aff87ada93 autogeneration of lyxclient.1 now from lyxclient.1in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28741 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 15:09:47 +00:00
Kornel Benko
9fb1b3aa00 Add variable program_suffix to handle manuals properly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28738 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 14:30:28 +00:00
Vincent van Ravesteijn
d31e25e159 cmake: Fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28609 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 21:11:43 +00:00
Kornel Benko
9d1a382472 Added revision as the release number for rpm package
to avoid the need of the --force flag when updating.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28604 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 07:42:50 +00:00
Vincent van Ravesteijn
cc44d6cb0b Hide messages when using cmake-gui.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28580 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 22:41:30 +00:00
Vincent van Ravesteijn
a833b6f097 Fix cmake after r28575. Patch from Kornel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28579 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 22:37:25 +00:00
Peter Kümmel
56f8b5f3c3 Kornel: cmake, use external files for packaging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28501 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 15:38:32 +00:00
Peter Kümmel
cc9edb643a Kornel really needs write access
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28500 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 14:02:26 +00:00
Peter Kümmel
3f8bc76ecb add missing cmake files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28496 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 13:11:44 +00:00
Peter Kümmel
72526f6f8b ke/CMakeLists.txt
Expanded parsing of configure.ac to get also the BUGREPORT value
		Added creation of red hat- and debian-packages

	Kornel

--line, and those below, will be ignored--

M    development/cmake/CMakeLists.txt


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28495 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 10:43:06 +00:00
Peter Kümmel
2ef89683a3 development/cmake/CMakeLists.txt
Expanded parsing of configure.ac to get also the BUGREPORT value
		Added creation of red hat- and debian-packages

	Kornel


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28483 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 21:37:08 +00:00
Pavel Sanda
4d847204ed *cmake - patch from Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28465 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 08:23:12 +00:00
Peter Kümmel
fb3d47a14d Changes:
development/cmake/CMakeLists.txt
		Use lowercase for PACKAGE iff (USE_POSIX_PACKAGING)
		Set correct PROGRAM_SUFFIX,
			CMakeLists.txt in subdirectories depend now on it
		Define PACKAGE_BASE depending on  PACKAGING type
			for use in subsequent directories
	development/cmake/config.h.cmake
		typo: PPROGRAM_SUFFIX --> PROGRAM_SUFFIX
	development/cmake/src/tex2lyx/CMakeLists.txt +
	+ development/cmake/src/CMakeLists.txt +
	+ development/cmake/src/client/CMakeLists.txt +
	+ development/cmake/man/CMakeLists.txt
		added desired version-info to executables and manuals
			tex2lyx, lyx, lyxclient respectivelly

	Kornel



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28438 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 22:21:39 +00:00
Peter Kümmel
1fe1080cf6 cmake: Kornel's package versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28396 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 12:20:31 +00:00
Peter Kümmel
765e190753 cmake: Kornel
Search for all possible files, since there is no POTFILES.in anymore in svn
		Use the PACKAGE-Value as the root of the .mo file
			 (For now it will be LyX.mo)
--line, and those below, will be ignored--

M    development/cmake/po/CMakeLists.txt


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28365 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 19:02:27 +00:00
Peter Kümmel
9ef5e73fa1 Kornel:
Setting some internal variables from info in configure.ac
	(PACKAGE, PACKAGE_VERSION, LYX_DATE, LYX_DIR_VER, LYX_USERDIR_VER)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28283 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-26 18:42:02 +00:00