Benjamin Piwowarski
14de3aa49b
CMake install and bundling improvements (esp. OS X)
...
This patch improves the cmake bundling process:
- reworked bundle handling for OS X: only when installing resources are copied, otherwise
only the smallest bundle is built
- on OS X, the utility programs (tex2lyx) are now installed in the right location
- it removes some unneeded BUNDLE DESTINATION
- it provides a basic support for QT plugins inclusion
- it properly builds a disk image on OS X (only the background image is missing)
- it fixes the library paths for all executables (not only LyX)
- Use the COPYING file for cmake install license
2014-04-21 11:51:04 -04:00
Vincent van Ravesteijn
514aef937a
Revert "Fix make distcheck for monolithic build"
...
This was committed by accident.
This reverts commit 9734ab7e34
.
2013-10-12 02:41:36 +02:00
Vincent van Ravesteijn
9734ab7e34
Fix make distcheck for monolithic build
2013-10-12 02:38:15 +02:00
Vincent van Ravesteijn
a3c864102a
CMake: Remove libintl
2013-05-30 22:10:01 +02:00
Jean-Marc Lasgouttes
d7e2705228
Get rid of all traces of libintl.
...
This requires to re-add some tests in configure.ac.
Note that the code to generate a Makefile in po/ has been kept.
2013-05-30 22:10:01 +02:00
Jean-Marc Lasgouttes
2e25a65c25
Revert "Correctly clean lyxclient.cpp in monolithic build."
...
Sanda has been faster than me... See 39e23a.
This reverts commit 1b74d3e729
.
2012-11-06 20:48:51 +01:00
Jean-Marc Lasgouttes
1b74d3e729
Correctly clean lyxclient.cpp in monolithic build.
2012-11-05 14:28:26 +01:00
Pavel Sanda
39e23a8c5c
Let lyxclient.cpp be cleaned by make clean.
...
I would wait with backporting for 2.0.6.
2012-11-03 23:58:33 +01:00
Lars Gullik Bjønnes
43f6b1672b
Use empty() to check empty and non-empty'ness not size()
...
Also add FormatList::empty().
2012-10-27 01:25:38 +02:00
Kornel Benko
f7680c696d
Cmake build:
...
Added dependencies to target `test'. Now all the needed executables
are recreated prior to running tests if not already existant.
2012-10-21 16:58:45 +02:00
Pavel Sanda
c1e9632beb
Remove leftover from 16fd47ad8f
.
...
Catch by Kayvan Sylvan.
2012-09-28 01:09:23 +02:00
Jean-Marc Lasgouttes
16fd47ad8f
Fix bug #7741 : incorrect locale when starting R from LyX?
...
The goal here is to get rid of the old code that modified variables
LANGUAGE and LC_ALL, therefore creating the problems mentionned
in the ticket.
In the new system, there is no explicit "GUI" message handler, that
needs to be reset at each language change. Instead, getGuiMessages
calls getMessages with the correct parameter. This allows to simplify
greatly the code and to remove a lot of old cruft.
2012-07-15 22:22:10 +02:00
Jean-Marc Lasgouttes
992eae2524
Typos
2012-06-05 12:22:13 +02:00
Lars Gullik Bjønnes
c7bb190fd3
Setup .gitignore for generated files
...
Setting up .gitignore or .git/info/excludes is something that should
be done. Not doing it makes it a lot harder to see actual new files
that should be added.
Signed-off-by: Lars Gullik Bjønnes <larsbj@gullik.org>
2012-03-22 02:16:12 +01:00
Pavel Sanda
4d541f8430
Don't hardcode /tmp in lyxclient, bug #7917 .
...
Patch from Benjamin Piwowarski.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40380 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-05 19:09:24 +00:00
Kornel Benko
3004722131
Add framework AppKit to cmake as in the automake case (MAC only)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39798 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-03 16:49:06 +00:00
Stephan Witt
3c846d98ac
to succesfully link lyx on mac the AppKit framework is needed only
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39791 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-30 16:05:46 +00:00
Jean-Marc Lasgouttes
9e53e98b05
Link against Cocoa and/or Carbon for Mac OS X. This is needed for autoOpen and Linkback.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39772 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-27 07:27:19 +00:00
Peter Kümmel
41a0adcb47
cmake: build a .dmg file on Mac, looks not as nice as the official installer but it runs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38765 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-15 13:21:18 +00:00
Peter Kümmel
eef204ca33
cmake on mac: also build with LYX_NLS=0
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38733 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 22:06:06 +00:00
Peter Kümmel
6a953f81ad
cmake on mac: build with external libintl, find gettext, build merged
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38729 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 21:11:35 +00:00
Kornel Benko
5c1666c0e1
In colaboration with Stephan Witt, adapted to our libintl to MAC
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38695 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 19:18:44 +00:00
Peter Kümmel
897edc10c0
cmake: move CMakeLists.txt into source dir (multiple steps)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38691 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 17:44:41 +00:00
Kornel Benko
45b61c6ecf
1.) Corrected internal compilation for Libintl
...
2.) Changed cmake-files accordingly
Patch from Jean-Marc Lasgouttes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38606 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-06 19:24:54 +00:00
Enrico Forestieri
a99340cd10
Infrastructure for choosing different icon sets. This currently works
...
through the rc setting \icon_set. Preferences dialog will follow shortly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38038 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-25 01:59:34 +00:00
Pavel Sanda
62ca7f3ae5
Proper camel case for FileName.absFilename
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34234 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-21 01:19:09 +00:00
Richard Heck
4991fc3996
This hasn't much effect but seems wise.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33931 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 21:17:44 +00:00
Enrico Forestieri
51d70699ef
Fix bug #5525 : Windows XP doesn't shut down with LyX open
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33077 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 23:01:48 +00:00
Enrico Forestieri
0695afbc55
Don't rely on the signal delivered by raise(), as this may cause a bogus
...
assertion when Qt is compiled in debug mode, and simply directly perform
an emergency cleanup when a shutdown event occurs on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31029 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 13:19:02 +00:00
Pavel Sanda
42dcca6b00
Fix bug #6106 . This can go to branch Juergen.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30779 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-25 14:34:00 +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
Jean-Marc Lasgouttes
eb74cde19b
use $version_suffix instead of $program_suffix in man pages (the later can come up as NONE)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28870 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-19 22:29:40 +00:00
Enrico Forestieri
12d1cb2076
Fixes for gcc4 on cygwin.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28842 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 22:35:55 +00:00
Jean-Marc Lasgouttes
76d0ead2b6
make the lyxclient man page autogenerated
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28740 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 14:49:40 +00:00
Pavel Sanda
316764c611
Cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28592 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-24 22:42:41 +00:00
Pavel Sanda
96578ef324
Support gcc 4.4. Patch from Martin Michlmayr.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg146271.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 12:49:47 +00:00
Enrico Forestieri
d2bd215690
Fix for mingw/cygwin
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27573 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:18:40 +00:00
André Pönitz
bb12808b20
remove libtool
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27468 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 17:45:55 +00:00
André Pönitz
f1cba8ff64
more latin1..utf8 schanges. all of src/* should be utf8 now
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:58:50 +00:00
Pavel Sanda
82f1cb7463
Let lyxclient read the whole line of input.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26586 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 23:58:40 +00:00
Pavel Sanda
8195cd1e2a
* man
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26585 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 23:49:03 +00:00
Jean-Marc Lasgouttes
3b99db73e4
Remove our in tree gettext version and replace with a mechanism to import it.
...
* autogen.sh: use autopoint to poulate the gettext code; simplify.
* po/Rules-lyx: move the LyX-specific code of the Makefile here.
* configure.ac: add magic incantation telling autopoint to import
gettext 0.16.1. Generate config.h in toplevel directory to please
gettext.
* src/tex2lyx/Makefile.am:
* src/client/Messages.cpp: compile fix
* remove all files that came from a gettext distribution.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 15:25:55 +00:00
Pavel Sanda
7d4c55677c
Remove client/debug.* since they are not used anymore.
...
Moreover they cause problems wrt make dist.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25021 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 23:45:52 +00:00
Richard Heck
935b568c5c
Compilation fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24915 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 14:30:28 +00:00
Abdelrazak Younes
574c3ea073
Make sure the temp path is a directory.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24914 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 14:22:59 +00:00
Abdelrazak Younes
0d71b51796
I forgot about the has trailing suffix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24913 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 13:59:53 +00:00
Abdelrazak Younes
750b88f23c
Hopefully fix client following boost::filesystem removal.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24912 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 13:44:17 +00:00
André Pönitz
7f461f4392
infrastructure for 'graceful asserts'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24216 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-10 21:49:34 +00:00
Pavel Sanda
da99ef82e5
Sanitize make dist in trunk.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23856 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 23:40:18 +00:00
José Matox
6180809e9e
revert last changes to client Makefile
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23848 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 12:42:26 +00:00