Commit Graph

242 Commits

Author SHA1 Message Date
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
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
Abdelrazak Younes
9fbd672b83 boost::iostreams is not used nor compiled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24917 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 15:49:16 +00:00
Abdelrazak Younes
4113872d60 We don't use boost::filesystem anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24909 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 12:07:29 +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
07502281bc MinGW fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24381 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 11:06:08 +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
Peter Kümmel
f604b54165 build out of the box with win32libs from the kdewin installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23924 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 14:19:36 +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
José Matox
b7800ca8de fix cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23852 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 15:06:02 +00:00
Abdelrazak Younes
27de158157 Fix tex2lyx compilation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23121 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-22 09:23:47 +00:00