Commit Graph

563 Commits

Author SHA1 Message Date
Peter Kümmel
a2435792ce cmake: add ui files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37303 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 18:58:26 +00:00
Peter Kümmel
75f8899736 cmake: install path is already relative to the binary dir when the path is not absolute
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37302 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 15:14:47 +00:00
Peter Kümmel
c31897b09c cmake: make package_source work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37299 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 12:38:54 +00:00
Peter Kümmel
d8e5e13690 cmake: don't write options changed because of dependencies into the cache, this way it is possible to switch on/off options with all it dependencies.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37296 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 11:48:39 +00:00
Peter Kümmel
2e516e9204 sort options by compiler
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37295 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 11:35:50 +00:00
Peter Kümmel
93e60a9727 cmake: now having the options output at the end we could make some dependency checking for option without having an out-dated output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37294 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 11:23:27 +00:00
Peter Kümmel
9e9948c6ad cmake: make options more consistent
Before we set LyX 2.0 in stone by releasing it, 
I clean up the cmake's build option naming:

- only positive naming (remplace NO_, DISBALE_ names)
- short names when it is clear what the option means (no USE_)
- no redundant option RELEASE=0 is a debug build


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37293 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 10:53:54 +00:00
Peter Kümmel
da246c7e44 cmake: don't show outdated build options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37291 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 09:27:06 +00:00
Peter Kümmel
a874b38455 no shared lyx libraries are supported
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37200 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 14:31:02 +00:00
Peter Kümmel
51558fbf23 cmake: we have 2011 and more white space changes, won't call it "use tabs" ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37175 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 23:28:52 +00:00
Peter Kümmel
707eeb22fb cmake: we have 2011 and more white space changes, won't call "use tabs" ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37174 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 23:24:00 +00:00
Peter Kümmel
cdb3b00033 cmake: cmake is really a strange macro language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37173 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 23:01:13 +00:00
Peter Kümmel
78b8dc905b cmake: add the CMakeLists files, so cmake will check if a cmake file has changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37170 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 22:49:12 +00:00
Peter Kümmel
715b9e92bd cmake: make the merged build much more usable by adding all the source files to the IDE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37169 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 22:47:58 +00:00
Peter Kümmel
23609ed7fb camke: when checking for a variable then also use it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37154 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-09 00:55:40 +00:00
Peter Kümmel
759eb1826d cmake: also build merged on mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37152 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-08 17:16:12 +00:00
Peter Kümmel
e4ecc7ff1c cmake: add all info files and the cmake macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37137 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 18:57:49 +00:00
Peter Kümmel
69c8dd36ba cmake: add all info files and the cmake macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37136 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 18:54:25 +00:00
Vincent van Ravesteijn
aa0aae25f2 Add DEVEL_VERSION to cmake.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36952 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 22:54:45 +00:00
Pavel Sanda
8f5acc63c4 Replay r36746
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36755 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:13:16 +00:00
Pavel Sanda
c68d754a74 Revert commits from 36745
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36749 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:05:40 +00:00
Peter Kümmel
56e0cfd582 cmake: add option to rebuild merged files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36746 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-06 20:55:05 +00:00
Kornel Benko
b308435f04 Mark created moc-files as GENERATED
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35576 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 06:00:10 +00:00
Kornel Benko
689036c419 Upgrade for use witn boost 1.40 on debian (iff using external boost)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35556 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-03 12:31:27 +00:00
Uwe Stöhr
c4815d37aa CMake build.bat: don't create a directory that already exists
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35279 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-04 13:52:27 +00:00
Uwe Stöhr
503be7c2ce CMake build.bat:
- fix typo
- return to start path

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35274 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-04 02:05:11 +00:00
Kornel Benko
4054d8624b Set destdir for cpack correctly again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35267 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-02 11:50:05 +00:00
Stephan Witt
3b403d4585 add needed quotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35265 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-02 08:28:34 +00:00
Peter Kümmel
d85f8c115f add -Wunused-parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35264 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-02 07:39:48 +00:00
Peter Kümmel
0e482e2392 tabify, cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35263 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-02 06:59:58 +00:00
Peter Kümmel
1dee0c67e5 installed lyx doesn't need LYX_DIR_20x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35258 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-01 16:07:29 +00:00
Peter Kümmel
c865c9021e fix typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35257 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-01 14:29:13 +00:00
Peter Kümmel
602e7d9d05 add LYX_INSTALL_PREFIX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35256 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-01 14:20:04 +00:00
Peter Kümmel
9f55627b2e update build.bat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35255 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-01 14:19:30 +00:00
Kornel Benko
bf72a8097a Add ddebian dependncies, remove unneeded aiksaurus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35253 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-01 09:41:14 +00:00
Uwe Stöhr
1b387db8aa CMAKE: re-enable compilation - fix by Stephan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35248 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-31 22:25:28 +00:00
Stephan Witt
f494131d06 add missing check for setenv: environment.cpp and POSIX standards prefer setenv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35194 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-25 05:57:06 +00:00
Kornel Benko
9d09dca920 Restore language handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35107 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 18:49:34 +00:00
Peter Kümmel
54cc2befd6 cmake: show correct option values
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34980 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 21:01:44 +00:00
Peter Kümmel
8ea2da4c3c cmake: disbale CPACK by default, it triggers too much requirements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34979 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 20:47:59 +00:00
Kornel Benko
d45859d337 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34978 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 15:47:28 +00:00
Kornel Benko
8ffb386899 1.) Removed the unconditional set of option LYX_MERGE_FILES if option
LYX_INSTALL set.
    Does not compile on ubuntu.
2.) translations handling depends now from LYX_CPACK option
  if CPACK option not set translations will be done only if
  explicitly specified on the command line for make e.g.
  ==> make translations


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34976 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 15:30:54 +00:00
Peter Kümmel
53bddc751e cmake: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34968 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 10:32:54 +00:00
Peter Kümmel
99160cd715 cmkae: more cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34966 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 09:46:46 +00:00
Peter Kümmel
23cfb00ef1 cmake: more cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34964 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 07:38:00 +00:00
Kornel Benko
0bcf9a01a0 Remove translation target from automatic creation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34963 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 07:11:42 +00:00
Peter Kümmel
9060f01aa8 cmake: split out FindHunspell.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34961 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 06:47:01 +00:00
Kornel Benko
7053bbf977 Add CPack unconditionally again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34959 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 06:22:20 +00:00
Peter Kümmel
153bc82d63 cmake: linux is case sensitive
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34957 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 23:23:09 +00:00
Peter Kümmel
19c3bff281 cmake: linux fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34956 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 23:12:50 +00:00
Peter Kümmel
f151f3a30f cmake: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34953 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 22:24:08 +00:00
Peter Kümmel
c09d33120d UNDO: enc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34943 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 16:09:26 +00:00
Kornel Benko
29bb9c9b57 Remove second call tm msgmerge' The diffs in created po-files
were because of the sort-flag in for msgmerge.

Now the outcome is identical to automake.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34934 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 12:58:34 +00:00
Kornel Benko
043ff28a99 Modified FindLyXGettext.cmake as to producing the same output as automake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34932 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 12:37:37 +00:00
Peter Kümmel
56a7a67783 add first version of .lyx file encryption. It's disabled by default and could out-of-the-box only by compiled on Linux with cmake and with openssl-devel packeges.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34931 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 12:26:11 +00:00
Kornel Benko
476d7a9df7 Sorry, vorgotten a dependency.
The po-files created with "make update_po_files" differs from their
counterparts in automake. Especially the last part starting with fuzzy
translations.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34930 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 12:04:04 +00:00
Kornel Benko
05dd62a092 Added target 'update_po_files' to remerge po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34929 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 11:09:10 +00:00
Peter Kümmel
a24a1e3bfe cmake: fix merged build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34905 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-15 14:25:59 +00:00
Peter Kümmel
0708686f69 cmake: move remaining ungrounded entries into LYX_ group
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34897 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-14 15:30:31 +00:00
Peter Kümmel
4ab78db6b4 cmake: disbale LYX_INSTALL by default, when set enable other relevant options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34896 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-14 11:58:21 +00:00
Peter Kümmel
264ba86334 cmake: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34887 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 09:39:05 +00:00
Peter Kümmel
dbe3c9a05f cmake: don't install to /usr/local/2.0 by default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34847 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-10 20:20:54 +00:00
Kornel Benko
bac078bfc1 Remove now unneeded comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34843 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-10 19:45:19 +00:00
Kornel Benko
b5ec78f6e5 Removed _one_ perl-dependency in creating po-files.
'cat.py' created by Richard Heck

This script resembles the unix command 'cat', valid now on every
platform.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34828 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 19:02:04 +00:00
Kornel Benko
9fc93b0190 Check for python before updating po-files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34827 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 16:11:44 +00:00
Peter Kümmel
f8620690b6 cmake: no version suffix for binaries on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34821 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 08:39:25 +00:00
Peter Kümmel
8ed3c9ce25 cmake: also use external libintl on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34819 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 08:16:06 +00:00
Peter Kümmel
4694059150 cmake: also use external libintl on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34818 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 08:15:31 +00:00
Kornel Benko
9ddaad1da8 Sort input files for xgettext the same way as with automake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34817 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 06:07:46 +00:00
Kornel Benko
e2f01217a8 Sort entries in created POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34814 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 11:23:30 +00:00
Peter Kümmel
07eef68a90 cmake: only set and show compiler relevant options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34803 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 22:26:36 +00:00
Kornel Benko
ef6de90bb5 Remove AppleSpellChecker.* from non-apple platform
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34802 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 21:13:39 +00:00
Stephan Witt
0a326e90f7 provide native spell checker for Mac OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34801 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 17:40:50 +00:00
Peter Kümmel
b9a447febf cmake: typos, option grouping
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34791 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 20:10:28 +00:00
Peter Kümmel
2b99cacec9 cmake: more option cleanup, use LYX_OPTION macro for consistent messages and variable naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34790 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 19:47:16 +00:00
Kornel Benko
20b7726ab3 Keep options together
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34788 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 18:19:53 +00:00
Kornel Benko
c803547a97 Set group LYX for used options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34779 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 05:42:45 +00:00
Peter Kümmel
5006961952 TR1: enable 4.4.0 and mingw
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34733 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-30 14:30:10 +00:00
Peter Kümmel
69036ced37 TR1: move TR1 check to config.h / buildsystem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34729 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-30 10:53:45 +00:00
Peter Kümmel
103310c401 TR1: check in cmake for GCC version, fallback in checktr1.h for other build systems, no support of regex in gcc 4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34728 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-30 08:47:41 +00:00
Peter Kümmel
f3137da47c cmake: add icon on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34727 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-30 08:35:52 +00:00
Peter Kümmel
615d42d357 TR1: use std::tr1 regex with msvc10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34725 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-29 17:09:40 +00:00
Peter Kümmel
92d4d7c061 cmake: build debugging symbols for debug builds
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34606 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-06 10:31:46 +00:00
Peter Kümmel
5f2de40786 cmake: also install locale into the resource dir on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34579 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 13:32:10 +00:00
Peter Kümmel
fa59b92276 cmake: also install locale into the resource dir on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34576 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 13:11:03 +00:00
Stephan Witt
c45d20be90 Server.cpp needs moc on WIN32 only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34551 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 09:50:24 +00:00
Peter Kümmel
fb95caf883 cmake: Install under Windows into folder 'Resources'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34509 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-26 09:49:06 +00:00
Peter Kümmel
38628558a6 cmake: more merged build fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34274 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-23 09:10:35 +00:00
Peter Kümmel
4a37097d78 cmake has its own merged build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34273 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-23 08:13:48 +00:00
Peter Kümmel
87c6a4679a at least compile with msvc10.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34258 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-22 11:19:49 +00:00
Kornel Benko
2e1e1de8d0 Missing definition of PACKAGE_STRING
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34070 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 12:30:43 +00:00
Uwe Stöhr
0ad3abd534 cmake/build.bat: update file as example
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33999 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 00:38:41 +00:00
Peter Kümmel
ff12bc6990 cmake: simplify cmake-gui usage for GNUWIN32
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33887 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 12:18:03 +00:00
Peter Kümmel
15f850609c cmake: update Readme
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33869 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 21:37:42 +00:00
Kornel Benko
a97b5c423b Find hunspell on 64-bit OpenSuSE 11 too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33760 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 07:37:22 +00:00
Peter Kümmel
5ab7d85a89 cmake: extend search path for enchant
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33728 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-12 21:33:23 +00:00
Peter Kümmel
257dce79d9 cmake: fix merge build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33661 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-07 11:28:57 +00:00
Peter Kümmel
d58b4ead47 fix bug 6578, use tabs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33627 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 18:07:05 +00:00
Kornel Benko
5558074452 Added glibc debug options to cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33603 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-01 11:06:13 +00:00
Abdelrazak Younes
656caf4078 Fix Windows/cmake build.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33546 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-23 21:15:22 +00:00
Enrico Forestieri
d472d8ddc0 Win95 is not supported by a long time now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33527 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-21 18:38:17 +00:00
Peter Kümmel
3f379915a6 CMake: fix merged build, seems GCC could not handle the namespaces correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33272 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 11:34:28 +00:00
Kornel Benko
686cd4e3a5 Remove moc-files from the set of source files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33228 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-26 12:40:51 +00:00
Kornel Benko
e2c93c5f74 Added enchant to cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33167 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 18:40:49 +00:00
Peter Kümmel
35b4231eb3 remove boost warning noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32613 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 11:10:45 +00:00
Peter Kümmel
3dcec5edff add forgotten macro to enable pchs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32595 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 20:18:46 +00:00
Peter Kümmel
c79d092953 too small for pchs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32306 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 22:22:27 +00:00
Peter Kümmel
acdd652e12 cmake: add pch for gcc, it's sooo hairy, disable by default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32305 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 22:08:08 +00:00
Peter Kümmel
075f191ff5 cmake: patch file from cmakes bug tracker
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32304 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 21:59:24 +00:00
Peter Kümmel
fbd326a0a0 cmake: add pch for gcc, it's sooo hairy, disable by default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32303 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 21:58:44 +00:00
Peter Kümmel
651631e812 cmake: add option to suppress install make rules
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31887 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 11:19:57 +00:00
Kornel Benko
b143ce0148 Added Spacing.cpp to the list for tex2lyx too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31805 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-30 06:06:28 +00:00
Kornel Benko
56b1078e78 Added FontInfo.cpp to tex2lyx sources to make it compilable again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31782 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-28 06:18:56 +00:00
Vincent van Ravesteijn
18483e6362 Adds the threaded Compare class, which will eventually do the comparison between two documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31734 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-25 10:43:16 +00:00
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
Vincent van Ravesteijn
8326148f69 Fix CMake for r31189.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31204 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 17:37:56 +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
c801404b4c cmake: fix linker error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31103 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 20:39:38 +00:00
Peter Kümmel
382a9bc08c update to boost 1.39: update pch file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31102 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 19:48:35 +00:00
Peter Kümmel
db72cc3878 fix utf8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31101 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 19:24:34 +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
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
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
802ca12d08 cmake: fix some stupid errors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28234 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 10:55:54 +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
42dc171666 cmake: fix for PyCompile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28226 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 18:54:28 +00:00
Peter Kümmel
01854608fd cmake: more fixes from Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28103 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 20:56:40 +00:00
Peter Kümmel
fbdafecf52 cmake: more fixes from Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28102 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 20:52:14 +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
ed50dbfe0f New files from Kornel
development/cmake/PyCompile.cmake
		common code for creating .pyc and .pyo files
			for scripts and lyx2lyx python files
	development/cmake/scripts/CMakeLists.txt
		sets a variable and includes development/cmake/PyCompile.cmake


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28098 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 18:28:48 +00:00
Peter Kümmel
588a118f3f cmake: some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28010 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-06 18:51:00 +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
9c44e16aea cmake: explain ugly hacks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27984 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 13:33:23 +00:00
Peter Kümmel
b89a2ff510 cmake: more changes from Kornel, and Windows fixes: glob is not really cross plattform
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27983 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 13:01:55 +00:00
Peter Kümmel
874a696dfa cmake: more changes from Kornel, and Windows fixes: glob is not really cross plattform
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27982 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 13:00:34 +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
672a158a0a cmake: more install fixes, thx to Kornel Benko
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27871 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-14 17:09:06 +00:00
Peter Kümmel
7ad91d8646 fix line endings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27836 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-10 17:29:44 +00:00
Peter Kümmel
8d50d723a0 cmake: add TODO
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27835 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-10 17:28:27 +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
201d2b3814 cmake install: add new languages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27832 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-09 20:31:28 +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
Peter Kümmel
ad175314c5 cmake: fix install rules
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27828 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-09 20:13:04 +00:00
Stefan Schimanski
1c02ecd41d * compile fix for cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27598 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 23:26:40 +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
Peter Kümmel
2f6b068f1e add instructions in error case
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27491 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 20:55:19 +00:00
Stefan Schimanski
72e15d95c8 * prepend moc_ instead of appending _moc in cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27447 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:50:20 +00:00
Peter Kümmel
f712b9840f cmake: add endian check, thx to Jose and pdv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26469 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 19:43:52 +00:00