Commit Graph

118 Commits

Author SHA1 Message Date
Kornel Benko
8e02385cea Applied revision 31646 to cmake-build too
Do not check for headers strings.h, io.h, process.h

Do not check for functions mkstemp, mktemp

Do not check for declarations of istreambug_iterator, iterator, mktemp



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31647 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-16 10:51:58 +00:00
Kornel Benko
f6491727bf Cleanup Boost-Libraries use
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31105 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 21:27:56 +00:00
Peter Kümmel
0d256167a7 cmake: error when external boost is required but not found
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31096 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 18:17:12 +00:00
Kornel Benko
ad8a353281 Add use of installed boost libraries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30861 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 20:56:14 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Peter Kümmel
60ce0b3226 Kornel: Moved handling of for lyx2lyx created files to lyx2lyx/CMakeLists.txt
Installation of executabe lyx2lyx
		creation and installation of lyx2lyx_version.py


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28241 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:45:57 +00:00
Peter Kümmel
2467c38ca9 cmake: fix for PyCompile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28227 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 19:17:51 +00:00
Peter Kümmel
138d393a17 Kornel's patch
development/cmake/Install.cmake
		Added directory scripts
		Corrected handling of directories. There may well be empty _dir_list.
			(if we search for e.g. lib/doc/en/clipart, there is nothing)
	development/cmake/lyx2lyx/CMakeLists.txt
		most ot the code moved to development/cmake/lyx2lyx/CMakeLists.txt,
			we include now this module.
	development/cmake/CMakeLists.txt
		add the subdirectory "scripts"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28100 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 18:50:24 +00:00
Peter Kümmel
18305961ed cmake: set default install path, add py-compile for lyx2lyx, from Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28001 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-05 19:13:20 +00:00
Peter Kümmel
afe522b1f6 Kornel
New files:
        development/cmake/doc/ReplaceValues.pl
                perl-script to substitute words (defined in the cmd-line) with their actual
                        values
        development/cmake/doc/CMakefiles.txt
                convert and install files .lyx and .txt-files from the lib/doc-directory
	development/cmake/src/client/CMakeLists.txt
		create and install lyxclient
	
Changed:
        development/cmake/Install.cmake
                include the new doc-directory
                remove installation of .lyx from the doc-directory. Will be installed in
                        development/cmake/doc/CMakefiles.txt
        development/cmake/Install.cmake
                changed macro lyx_install() to not insert '.' into the globbing-expression
                        automatically. We need sometimes also dotless files.
	development/cmake/src/CMakefiles.txt
		Added subdirectory client to create and install lyxclient on unix-like systems


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27978 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-03 10:53:24 +00:00
Peter Kümmel
510c918c6c Kornel's cmake install changes:
New files:
        Directories:
		development/cmake/po
		development/cmake/man
        Files:
		development/cmake/po/CMakeLists.txt
			Creates lyx.pot and *.gmo-files;
			Installs ${_lang} as ${LYX_ABS_INSTALLED_DATADIR}/${LYX_LOCALEDIR}/${_lang}/LC_MESSAGES/lyx.mo
		development/cmake/man/CMakeLists.txt
			Handling of lyx-manuals.
		development/cmake/modules/FindLyXGettext.cmake
			Original: (GNU) FindGettext.cmake
			Changed the installation subdirectory of .gmo-files.
			Previously installing into "/usr/local/share/lyx2.0" led
				   to e.g. /usr/local/share/lyx2.0/share/locale/de/LC_MESSAGES/lyx.mo
				   now     /usr/local/share/lyx2.0/locale/de/LC_MESSAGES/lyx.mo
Changes:
        development/cmake/Install.cmake
                macro lyx_install _parent_src_dir
                        searches now through directories specified as simple regular expression.
                        Until now we had to specify explicitly each directory for each language.
                Mode of the DESTINATION/lyx2lyx is now corect
                Installation of the .gmo files

	development/cmake/config.h.cmake:
		Changed some #cmakedefine to #define, because config_file() did not
        	substitute the desired values in config.h.
        	Some typos corrected (TOP_SRCDIR -> TOP_SRC_DIR)

        development/cmake/configCompiler.h.cmake
                Removed doubly defined ENABLE_NLS, HAVE_LC_MESSAGES
                Installation directory still hardcoded, users need to to set environment
                variable LYX_LOCALEDIR to get the corect translations.

	development/cmake/CMakeLists.txt
		Setting correct values to LYX_ABS_INSTALLED_DATADIR,
        		LYX_ABS_INSTALLED_LOCALEDIR, LYX_ABS_TOP_SRCDIR.
			Now the lyx-executable searches on the installed places for it's data,
        		so no need to set environment anymore.
		New variable: LYX_LOCALEDIR. We need it later in FindLyXGettext.cmake,
		    	because we cannot use the absolute path LYX_ABS_INSTALLED_LOCALEDIR.
			(We need relative path when packaging to different root-directory).
                Use of module FindLyXGettext.cmake: This is a modified version
		       	of (GNU) FindGettext.cmake
                Include the new development/cmake/po directory
		Include the new development/cmake/man directory

        development/cmake/po/CMakeLists.txt
                Creation of lyx.pot and apropriate .gmo files
                Creating lyx.pot file
                        I had to use perl to simulate the unix "cat" command. Maybe Jose can
                        write the corect statement in python





git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27973 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-28 13:35:29 +00:00
Peter Kümmel
b581607b55 cmake: gettext patch from Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27931 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 09:25:55 +00:00
Peter Kümmel
1327b056b1 cmake: fix gcc include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27834 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-10 17:19:56 +00:00
Peter Kümmel
2a0103cccd cmake: fix linux install path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27829 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-09 20:14:59 +00:00
Stephan Witt
aab943d87e using cmake 2.6 on mac include escape has to be changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27532 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 12:23:28 +00:00
Enrico Forestieri
bc72d3fc58 Automate setting of LYX_DIR_XXx and LYX_USERDIR_XXx environment variable names.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25898 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-26 10:45:38 +00:00
Peter Kümmel
bdde87d39f disable warning for msvc6 infected developers (scope of for(...,,) declarartions)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25455 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-05 09:50:29 +00:00
Abdelrazak Younes
4241db7c0d CMake external intl unconditionally.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25205 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 12:10:15 +00:00
Abdelrazak Younes
258b8a40c5 fix cmake/mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25195 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-08 18:45:51 +00:00
Peter Kümmel
c33b30fd84 cmake: use 2.4 behavior also for cmake 2.6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24926 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-24 21:22:36 +00:00
Peter Kümmel
69f1cd1e50 cmake: don't forget arg for build type
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24383 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 12:18:22 +00:00
Peter Kümmel
5844446857 external libintl: fix nls compiler error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24382 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 12:09:56 +00:00
Peter Kümmel
f7d5c40b6c MinGW is too slow with O3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24348 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 12:00:53 +00:00
Peter Kümmel
eb987d20db MinGW fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24346 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 10:17:40 +00:00
Peter Kümmel
eaa86aaaf7 cmake: verbose makefiles also for mingw
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24343 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 09:19:30 +00:00
Peter Kümmel
527d3ac174 cmake: skip configure checks only for msvc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24341 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 09:08:29 +00:00
Peter Kümmel
1500d274b4 cmake: use external libintl on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24338 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 08:47:33 +00:00
Peter Kümmel
f6de6828ef cmake: also build with win32libs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24295 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 16:47:12 +00:00
Abdelrazak Younes
7650cbf9fd Fix CMake-2.6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24258 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 13:57:54 +00:00
André Pönitz
976f4d891e remove unused defines QT_CLEAN_NAMESPACE and QT_GENUINE_STR
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23869 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 15:12:46 +00:00
Peter Kümmel
d0ee9f494d cmake: disable warning 4355
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21916 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-02 12:08:52 +00:00