Commit Graph

263 Commits

Author SHA1 Message Date
Peter Kümmel
d0db7a9954 cmake: split out FindEnchant.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34928 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 11:04:05 +00:00
Peter Kümmel
8383ec013f cmake: add Aiksaurus option, fix build system for Aiksaurus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34926 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 10:31:20 +00:00
Peter Kümmel
02a847a9bc cmake: move definitions to config.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34924 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 09:23:10 +00:00
Peter Kümmel
1e4d1655d2 cmake: when installing use default for several options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34923 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 09:10:44 +00:00
Peter Kümmel
5c5cdfc7d0 cmake: userdir is LyX16 now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34895 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-14 11:48:24 +00:00
Peter Kümmel
7deb72cc77 cmake: fix merged build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34894 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-14 10:45:26 +00:00
Peter Kümmel
e93c2e656c cmake: also build the tarball with its additional files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34885 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 09:04:17 +00:00
Peter Kümmel
9939d7cf2c cmake: rename to LYX_ vars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34860 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 21:06:29 +00:00
Peter Kümmel
2d1d9631a2 msvc: no TR1 support in branch code, compiler option should be enough
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34853 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 04:09:49 +00:00
Peter Kümmel
50bc9491ca msvc: no TR1 support in branch code, compiler option should be enough
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34852 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 04:08:29 +00:00
Peter Kümmel
ecf6f23b54 msvc: no TR1 support in branch code, disable TR1 when using msvc 10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34851 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 04:06:45 +00:00
Peter Kümmel
398490ab8f msvc: no TR1 support in branch code, disable TR1 when using msvc 10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34850 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 04:01:26 +00:00
Peter Kümmel
ab121914a9 cmake: no variable project defined
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34848 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-10 20:21:26 +00:00
Peter Kümmel
a8b2bde2db cmake: don't install to /usr/local/1.6 by default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34846 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-10 20:08:31 +00:00
Kornel Benko
45488a3dab Make it compilable again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34845 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-10 20:00:19 +00:00
Kornel Benko
a0c929db2a Sync with trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34844 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-10 19:46:02 +00:00
Peter Kümmel
3d57124029 cmake: fix sync mistake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34842 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-10 19:23:48 +00:00
Peter Kümmel
058262b462 cmake: sync with trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34841 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-10 19:17:43 +00:00
Peter Kümmel
4c2c54f7ea cmake: add icon on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34840 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-10 19:10:04 +00:00
Peter Kümmel
ecc1e3c5d0 cmake: sync with trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34839 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-10 19:03:47 +00:00
Kornel Benko
f67b12286d Use different package name for branch and trunk to enable installation of both at the same time
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34601 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-05 11:20:32 +00:00
Peter Kümmel
a71bf0ec16 cmake: also install locale into the resource dir on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34578 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 13:30:49 +00:00
Peter Kümmel
79bbc31a0b cmake: also install locale into the resource dir on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34577 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 13:11:26 +00:00
Peter Kümmel
69d6de9917 cmake: sync with trunk, should be uncritical
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34575 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 12:52:47 +00:00
Peter Kümmel
f2b85d8a7c cmake: sync with trunk, should be uncritical
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34574 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 12:46:35 +00:00
Peter Kümmel
1729663bc7 cmake: install on Windows, sync with trunk, should be uncritical
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34573 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 12:24:21 +00:00
Peter Kümmel
fd5f7a7174 add eol-style property
(needed to compare with trunk version)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34572 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 10:26:05 +00:00
Enrico Forestieri
f024c86911 Fix bug #5238: LyX 1.6 fails with non-ascii chars in path (on Windows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33577 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 13:28:56 +00:00
Kornel Benko
d94bb9661c Missed this name-inconsistency (ASpell.cpp <-> ASpell_local.h)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33194 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 11:01:57 +00:00
Kornel Benko
e043d4ff3e Integrate enchant into cmake-build too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33192 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 10:54:27 +00:00
Kornel Benko
c45722a0ba Adapted the build-systems to the new slovak translation of splash.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31505 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 12:52:45 +00:00
Enrico Forestieri
6ffeab01b7 Implement the LyXServer on Windows.
In order to enable the server, specify the LyXServer pipe in
Tools->Preferences->Paths. The path to be entered there must have the
form "\\.\pipe\nameofyourchoice" (without quotes). After that, you can
send commands to LyX. For example, if the pipe path is \\.\pipe\lyxpipe,
typing the following in a terminal:

echo LYXCMD:test:file-open > \\.\pipe\lyxpipe.in
type \\.\pipe\lyxpipe.out

brings up the file dialog and returns the acknowledgment from LyX.
Beware of spaces when using cmd.exe. For example, the following:
echo LYXCMD:test:file-open:foo.lyx> \\.\pipe\lyxpipe.in
will correctly load the document named foo.lyx, but
echo LYXCMD:test:file-open:foo.lyx > \\.\pipe\lyxpipe.in
(notice the space before the redirection) will try to load a
document whose name is "foo.lyx .lyx" because cmd.exe will also
pass the space (sigh).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31389 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-13 20:49:30 +00:00
Kornel Benko
273e43647a Enable sockets on linux too. Maybe more more portable, than checking for
header files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29930 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-04 14:58:42 +00:00
Kornel Benko
962072cc8c Change the quote style to satisfy MSVC.
Patch from Peter Kümmel


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29513 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 15:17:02 +00:00
Enrico Forestieri
081b58b672 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/branches/BRANCH_1_6_X@29504 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 21:51:06 +00:00
Kornel Benko
6a9e4ca320 Use cmake macro find_package_handle_standard_args()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29417 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 18:35:12 +00:00
Kornel Benko
ee1b324d65 Added support for build with aiksaurus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29398 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-25 13:33:55 +00:00
Kornel Benko
7a2e28c3bf Backport.
Try to avoid use of perl, if there is no perl-command available

Copy po-files only if realy changed.
Avoids annoying po re-building.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29276 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 06:36:40 +00:00
Kornel Benko
18b4b2c0c8 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29275 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 06:30:06 +00:00
Kornel Benko
278d413dc3 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/branches/BRANCH_1_6_X@29233 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 14:57:07 +00:00
Kornel Benko
08746295e8 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/branches/BRANCH_1_6_X@29105 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-05 15:53:39 +00:00
Kornel Benko
8839906423 autogeneration of tex2lyx.1 and lyxclient.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28959 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 11:08:38 +00:00
Kornel Benko
5f79f78a2b 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/branches/BRANCH_1_6_X@28891 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 07:08:00 +00:00
Kornel Benko
f63af03846 Avoid modification of po-files in source tree
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28889 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 06:50:23 +00:00
Kornel Benko
63f86623cc Backport of chanes made in trunk.
The main differecies to trunk is: Project name branchlyx.
        This is so, to be able to install trunk and branch (rpm or debian) package
        simultaneously. As they do not share the same directories it is
        now easy.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28878 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 14:54:54 +00:00
Kornel Benko
3168d1e82f Added Encoding.cpp to tex2lyx-sources
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28863 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-19 07:35:03 +00:00
Peter Kümmel
6c367244e3 cmake install: add new languages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27831 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-09 20:31:01 +00:00
Peter Kümmel
475bb8cefd cmake: fix linux install path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27827 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-09 20:10:58 +00:00
Peter Kümmel
0f1f52baf0 cmake: fix install rules
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27826 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-09 20:05:29 +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