Commit Graph

279 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
ed1515ef69 Read list of translated languages from a file
The previous scheme of loading all possible translations and checking whether the work
is a bit too much "brute force" and causes problems on Mac OS X (documents loaded
with the wrong language).

In the new scheme, autotools install a file lib/installed_translations that contains a list of installed languages (the .gmo files that got installed). This file is read
in Languages::readInstalledTranslations and allows to set the translated() property
of each language.
2012-07-19 00:21:28 +02:00
Georg Baum
26e5f1a8ec Use libmagic for file format detection if available.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40789 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-21 20:29:44 +00:00
Jean-Marc Lasgouttes
2bf021ee73 Improve support for distributing desktop files and icons
* add proper INSTALL_POSIX conditional for makefiles
* move all the code to Makefile.am
* rename lyx.desktop to lyx.desptop.in and add proper tags to allow handling of program_suffix.
* add code to install desktop entry and icons under the proper name.

I did not touch scons and cmake, I hope it was not necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40531 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-20 13:11:03 +00:00
Enrico Forestieri
6781444835 Warn user that build will fail if bc is not installed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39945 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-23 15:35:36 +00:00
Julien Rioux
7ddf5f3ba1 We nowadays require python >=2.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39889 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-19 20:50:41 +00:00
Pavel Sanda
e265317839 Back to svn.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38565 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-01 23:05:21 +00:00
Pavel Sanda
107e105ecd Final release of LyX 2.0.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38559 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-29 00:31:54 +00:00
Pavel Sanda
4358b490c2 Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38331 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-10 22:01:06 +00:00
Pavel Sanda
fa5b453803 Prepare RC3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38329 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-10 21:59:37 +00:00
Pavel Sanda
c8844cad05 Go back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38107 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 22:12:27 +00:00
Pavel Sanda
61b246a8f7 Prepare rc2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38105 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 22:10:31 +00:00
Pavel Sanda
b4ee593da0 Forgot to go back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37889 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-09 16:09:55 +00:00
Pavel Sanda
6a86815e03 Go for rc1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37864 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-06 23:40:04 +00:00
Pavel Sanda
b3df6a8c3c Finish the flash beta 5 window
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37769 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 14:14:11 +00:00
Pavel Sanda
6c5930d602 Make tarballs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37767 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 14:12:39 +00:00
Georg Baum
f792fe8037 fix bug #7288: add configure option for external mythes library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37585 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-10 20:31:07 +00:00
Pavel Sanda
0103a7757e Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37531 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 00:51:53 +00:00
Pavel Sanda
350425e66b Go for beta4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37528 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 00:45:50 +00:00
Jean-Marc Lasgouttes
98b48a4969 Add and document build types profinling and gprof. Some clean up of build_type code in configure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37323 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-25 13:49:49 +00:00
Pavel Sanda
28c7e370f5 Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37159 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 00:06:36 +00:00
Pavel Sanda
592e75456d Prepare beta3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37157 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-09 23:45:51 +00:00
Pavel Sanda
602d1cae7a Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36753 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:08:16 +00:00
Pavel Sanda
6312719fc8 Move to beta2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36751 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:06:20 +00:00
Pavel Sanda
89810fec6d Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36227 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 00:44:31 +00:00
Pavel Sanda
01d45dcc8a Moving towards beta1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36225 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 00:39:00 +00:00
Enrico Forestieri
4a2243135c Instead of specifically addressing glibc, use NULL as second argument
of realpath() when PATH_MAX is not defined in limits.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35466 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 17:53:40 +00:00
Pavel Sanda
014134cb99 Back to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35410 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 08:53:19 +00:00
Pavel Sanda
d441aeba3c Alpha6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35405 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 21:17:53 +00:00
Pavel Sanda
a56d9307cd Back to svn.
Cautious commit to see how git committing works

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34987 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-19 22:17:46 +00:00
Pavel Sanda
b12e7e2e1a Go for alpha5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34983 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-19 00:28:15 +00:00
Jean-Marc Lasgouttes
49b3a5d5f6 use tr1 for all gcc 4 versions (tested against gcc 4.0.1 on macos 10.5)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34741 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-01 20:58:26 +00:00
Peter Kümmel
effec36e9a TR1: no autotools on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34739 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-01 09:44:15 +00:00
Peter Kümmel
c09fcc890f TR1: also use tr1-regex when using msvc10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34732 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-30 13:50:40 +00:00
Jean-Marc Lasgouttes
af928c503d rework regexp processor magic ; make tr1 work with autotools
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34730 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-30 11:04:30 +00:00
Pavel Sanda
cc0e5b1fc1 Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34665 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-14 23:11:04 +00:00
Pavel Sanda
f27641e0cb Fix date
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34664 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-14 23:11:02 +00:00
Pavel Sanda
747f4ee2f7 Switch to alpha4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34662 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-14 23:03:43 +00:00
Pavel Sanda
e7b36ac0dd back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34398 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-11 10:02:48 +00:00
Pavel Sanda
abae9cd579 alpha 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34396 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-11 10:02:41 +00:00
Pavel Sanda
6967758fea Back to svn.
Trunk is free for commits again.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34137 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 22:29:35 +00:00
Pavel Sanda
4ce9ec8166 Toward alpha2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34135 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 22:03:04 +00:00
Jean-Marc Lasgouttes
14a96ce182 revert r34090 for now; I will come back later to this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34133 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 14:25:11 +00:00
Jean-Marc Lasgouttes
9b4576b50b Use the subdir-object option of automake so that the .o files are put in the
same directory as their source. The other visible gain is that the size of
src/Makefile is divided by 3 with automake >= 1.9.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34090 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 10:25:50 +00:00
Pavel Sanda
20d528aa98 Bring the old automake deps back and wait some more time.
For future reference, in this patch dep for autoconf 2.60 was missing.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159235.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34069 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 10:59:57 +00:00
Pavel Sanda
6b0683d8e9 Bump automake deps.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34068 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-06 15:25:12 +00:00
Pavel Sanda
cc951ca5b4 Lets make tarballs via lzma instead of bzip2 from now on.
Ratios for alpha1:
tgz   16M
bzip2 12M
lzma 8.7M

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34002 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 11:21:24 +00:00
Pavel Sanda
9325c53922 Come back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33749 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 14:31:32 +00:00
Pavel Sanda
96dc68983d Switch to alpha
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33747 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 12:59:54 +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
Jean-Marc Lasgouttes
e4a483da32 Enable "silent rules" with automake 1.11. This leads to much nicer compilation
output. The build should still work with older automake versions.

The po/ directory does not have the nice rules, because I do not want to 
modify Makefile.in.in therein.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32241 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 14:18:25 +00:00