Commit Graph

470 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
3e073ec919 Quick workaround for detection of Qt/Mac using pkg-config 2013-07-19 16:03:54 +02:00
Jean-Marc Lasgouttes
b58b8e7c73 Fix Qt tools search when a Qt directory has been specified
When --with-qt-dir has been specified, programs like "moc" in the Qt
directory are unlikely to have a qualified name like moc-qt4.
Therefore, such qualified names are only considered when the base
version has not been found.
2013-07-13 22:44:28 +02:00
Jean-Marc Lasgouttes
aaacbe579b Update our documentation to mention git instead of svn.
Note that some mentions of svn remain in
* development/cmake/LyxPackaging.cmake
* development/LyX-Mac-binary-release.sh
* development/Win32/packaging/installer/settings.nsh
2013-05-27 18:19:59 +02:00
Jean-Marc Lasgouttes
3ef4db2ce4 Continue pre-spring cleaning of configure script
* build-type=profiling implies -fno-omit-frame-pointer in gcc. This allows sysprof to yield proper call trees
 * remove --enable-grpof option (the build type is enough)
 * remove --with-frontend option since we have only one frontend. Move stuff around and generally simplify the Qt detection code
 * do not check for bc anymore.
 * Update README.
2013-03-19 16:41:14 +01:00
Jean-Marc Lasgouttes
04a8db4af8 Get rid of LYX_ERROR in our configure file.
We use the standard AC_MSG_ERROR instead, which just stops the configure process where the problem happens.
2013-03-19 15:15:56 +01:00
Jean-Marc Lasgouttes
1d08d5232d Add a test to configure for minimal Qt version
* use AS_COMPARE_VERSION to check whether the Qt version is correct.
* upgrade minimal requirement for autoconf to version 2.60 (released in 2006!).
2013-03-19 12:59:38 +01:00
Stephan Witt
141fbb6f8c Prepare LyX code to compile and link with Qt5:
* some functionality is in new modules now
  new header locations and library names: QtConcurrent and QtWidgets
* method setResizeMode is renamed to setSectionResizeMode
* deprecated QAbstractItemModel::reset() is dropped now
* platform specific code like QApplication::syncX() is not common anymore
* QString::fromAscii() is dropped now
* some QDesktopServices methods has been moved to QStandardPaths
2013-02-03 19:26:21 +01:00
Stephan Witt
6fb0d9035c ignore auto maked script test-driver 2013-01-20 12:45:34 +01:00
Lars Gullik Bjønnes
393ade85ec config/lyxinclude.m4: add support for --enable-cxx11
Using --enable-cxx11 turns on C++11 mode in gcc.
2012-10-24 23:46:48 +02:00
Kornel Benko
20359572ed Patch from Benjamin Piwowarski
Just some comments on the patch:

- The executable name has to match the information in Info.plist (development/MacOSX/Info.plist.in and CMakeLists.txt).  The autoconf config/lyxinclude.m4 file has been modified to make it work with autotools.

- The process to build OS X bundle is to first add all the files to be included to the bundle when calling add_executable (src/CMakeLists.txt) and then by calling setting the source file property of each of these files (development/cmake/Install.cmake, l.14) so that the files are properly located into the bundle. This is also why Install.cmake has to be included two times in src/CMakeLists.txt (once to build the list of files, once to set the location of the list of files).

- in CMakeLists.txt there is a line
install(CODE "set(BU_CHMOD_BUNDLE_ITEMS 1)")
What it does is to fix the owner permissions within the bundle - this is necessary because some libraries are copied within the bundle and might be owned by root

- An empty qt.conf is included in the bundle so that QT does not try to link to other QT libraries (which will not be included in the bundle)

- In development/cmake/Install.cmake, some OS X specific files (*.sdef, qt.conf, *.icns) have to be included in the bundle

Benjamin
2012-10-13 09:53:20 +02:00
Jean-Marc Lasgouttes
51cc826961 Fix detection of system boost
Using LDFLAGS is not a good idea since it is not at the end of the link command. LIBS is better.

Some additional cleanup.
2012-10-08 10:58:45 +02:00
Stephan Witt
040374f343 use -F instead of -L to link Qt frameworks 2012-09-23 16:06:55 +02:00
Jean-Marc Lasgouttes
4471e65fa1 Handle version numbers like 2.0.5dev in LYX_CHECK_VERSION 2012-07-04 12:18:15 +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
Jean-Marc Lasgouttes
ae872178fb Remove from svn the files that are provided by automake. This ensures that we always use the correct version.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40635 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-20 09:31:06 +00:00
Stephan Witt
a86893a84c #7927 apply patch from mft to support posix packageing on Mac for the Gentoo prefix project
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40573 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-05 19:50:18 +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
e8daa48bc1 Provide our own patched AM_PYTHON_CHECK_VERSION that requires python <3.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39890 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-19 20:50:58 +00:00
Richard Heck
cf4ddb2ed5 Patch from Raphael Kubo de Costa to fix build on FreeBSD.
http://marc.info/?l=lyx-devel&m=131586604331711&w=2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39768 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-26 15:51:28 +00:00
Stephan Witt
c29d13569e restore old hunspell library detection code as fallback when pkg-config is not available - for Mac OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39484 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-14 07:17:12 +00:00
Pavel Sanda
9359d73dde Using pkgconfig to configure hunspell.
(hunspell 1.3 is not correctly recognized otherwise).

Patch from Rex Dieter, posted by Jose.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39040 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 14:32:42 +00:00
Jean-Marc Lasgouttes
6b88f5bcb7 streamline hunspell checking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37988 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-21 22:30:36 +00:00
Stephan Witt
45e4c6b94b do not check for hunspell libraries if header is not present
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37887 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-09 15:40:03 +00:00
José Matox
b8836fcd19 Fix config detection for hunspell-1.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37850 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-04 20:47:05 +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
Jean-Marc Lasgouttes
0299c0be49 fix --disable-debug in configure; more cleanups to build_type handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37386 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-31 10:19:03 +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
Jean-Marc Lasgouttes
3b316bc83f better fix to #7239. Actually the whole switch and kaboodle (see r37229) is needed (otherwise sweave is broken)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37322 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-25 11:22:47 +00:00
Jean-Marc Lasgouttes
eb18b4e835 Rename --enable-profiling to --enable-gprof to pave the way for a configure option for normal profiling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37245 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 09:57:03 +00:00
Stephan Witt
1812984b42 finally ASPELL_FRAMEWORK is not used anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36844 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 18:43:02 +00:00
Stephan Witt
39645b33b4 correct the Qt framework names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35527 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 19:27:10 +00:00
Stephan Witt
d18995cd79 #6874 prepare configure based build with Qt4 frameworks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35524 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 15:07:07 +00:00
Enrico Forestieri
6d9763d413 Fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35467 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 22:52:13 +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
Stephan Witt
042e8bb4d0 consolidate dictionary lookup of spellchecker and thesaurus, prepare builtin distribution of dictionaries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34540 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-29 14:36:51 +00:00
Stephan Witt
fb43bbbf6c tiger support on mac snow leopard, include Qt4 frameworks, smart build script with parameters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34132 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 13:22:00 +00:00
Jean-Marc Lasgouttes
2425391657 remove variables initializations that are immediately overridden
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33317 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-02 19:26:04 +00:00
Jürgen Spitzmüller
7746747506 * add support for the enchant spell checker (bug 6226).
SCons might be broken.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33157 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 15:26:38 +00:00
Jean-Marc Lasgouttes
8acb4ba22d wrong syntax for command "test"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32218 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-27 09:59:50 +00:00
Jean-Marc Lasgouttes
89dde39404 clarify message for spelling libs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31545 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 15:21:24 +00:00
Jean-Marc Lasgouttes
06a229faf8 remove traces of libtool and of obsolete autoconf macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31544 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 15:13:20 +00:00
Jean-Marc Lasgouttes
84880b5842 cleanup the help messages of the configure script; now --with-version-suffix shows what the default suffix is
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31542 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 14:05:57 +00:00
Jean-Marc Lasgouttes
c9f1c6cf5f small cleanup, now that we require automake 1.8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31431 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 12:16:42 +00:00
Enrico Forestieri
fc97861803 Implement the LyXServer on Windows.
Only for autotools, I don't know how to update cmake and scons, sorry.
For cmake and scons, you should make sure that moc is called on Server.h
using the -D_WIN32 option.

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/trunk@31189 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 22:58:38 +00:00
Abdelrazak Younes
97a33c4f51 New support files for Hunspell support. Only autotools for now.
Hunspell is not used yet, don't try it.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30527 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 22:46:01 +00:00
Enrico Forestieri
68d936250e Add some cygwin stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30327 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 23:28:48 +00:00
Abdelrazak Younes
863b102f87 boost filesystem and iostream are no longer used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29873 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 08:57:49 +00:00
Georg Baum
65ef3251a8 partial fix for external boost detection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29856 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 19:50:37 +00:00
Jean-Marc Lasgouttes
209f2167f0 fix compilation with external boost
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28444 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 14:27:42 +00:00
Pavel Sanda
1457b2c107 ispell leftover.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg146777.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27892 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 11:43:08 +00:00
André Pönitz
8e2f971ada remove ispell and pspell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27472 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 18:47:25 +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
Jean-Marc Lasgouttes
68b291c62f Fix the following annoying problem: when
using --with-version-suffix (without value), config.status will be
written wrongly and try to run
  ./configure--with-qt4-lib= [...]

This is because the code that adds automatically the version number eats
the leading space.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27151 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 14:32:18 +00:00
Enrico Forestieri
1ad4fd55ea Remove traces of Q_CYGWIN_WIN
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26916 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-15 23:00:42 +00:00
Jean-Marc Lasgouttes
ca67cfffe0 do not check for X libraries if pkg-config succeeded
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26829 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-09 14:10:09 +00:00
Enrico Forestieri
9e5b5746e4 Spare a few cpu cycles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26118 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 09:02:46 +00:00
Jean-Marc Lasgouttes
5a5ec02829 Better compatibility with autoconf 2.62.
* config/*: update files to libtool 1.5.26 (latest 1.x version)
	* configure.ac: use AC_USE_SYSTEM_EXTENSIONS instead of AC_AIX and
	friends (available since 2.59c, which is now required); work around
	a bug with gettext.m4 and autoconf 2.62.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26117 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-11 23:27:08 +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
Jean-Marc Lasgouttes
86e6c73946 fix translation of manus on the mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25585 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 20:44:10 +00:00
Jean-Marc Lasgouttes
33258e1197 put the 0.16.1 code from gettext back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25208 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 13:50:05 +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
André Pönitz
c6886926ec remove unused defines QT_CLEAN_NAMESPACE and QT_GENUINE_STR
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23867 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 15:08:36 +00:00
José Matox
6998b9a47c Fix the usage report of included boost library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23833 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 18:00:25 +00:00
Jean-Marc Lasgouttes
b6f210f4fa * config/lyxinclude.m4 (LYX_CHECK_VERSION): add new configure option
--enable-build-type=(rel*,pre*,dev*) that allows to override the 
	automatic setting of optimization, debugging and others.

	* INSTALL: document new option and remove a lot of cruft.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22945 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-11 15:11:15 +00:00
André Pönitz
1aed51c75c configure chack for rcc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20733 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-04 16:57:16 +00:00
André Pönitz
581b67b26e move ChangeLogs to the attic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 14:12:55 +00:00
André Pönitz
95fed8bed6 disable pre-compiled headers for autotools. they slow down things rather
then speeding up. maybe our usage is wrong, though.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20586 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 14:01:44 +00:00
José Matox
309c75046e Make --without-include-boost compile (autotools)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20407 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 07:18:21 +00:00
Enrico Forestieri
9e8f0b9d91 Compile all minizip sources also on *nix platforms, as platform
specific code is #ifdef'd out.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19782 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 18:02:14 +00:00
Enrico Forestieri
468d29423e Compile fix for mingw
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-22 04:52:40 +00:00
Jean-Marc Lasgouttes
626a5b5f96 make sure that the C++ preprocessor is set up
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19618 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-17 08:53:27 +00:00
Enrico Forestieri
60c73c05a3 Add version information to the lyx executable on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19537 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 01:34:26 +00:00
André Pönitz
c534500a9b more verbose message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19473 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 19:24:05 +00:00
Christian Ridderström
9b541f922f fix warning on possibly(?) unused precompiled headers due to different -fPic settings on pch creation and use
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19467 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 18:39:06 +00:00
Jean-Marc Lasgouttes
121b80a227 small tweak of configure help messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19466 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 18:31:25 +00:00
André Pönitz
67e61a3956 enable building of shared libraries. reduces final linktime. also combine boost stuff into a single library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19410 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 22:33:54 +00:00
Jean-Marc Lasgouttes
691a1be431 Remove cruft from config.h
* src/support/tempname.cpp: move code about HAVE_MKSTEMP here (only user)

	* src/pch.h:
	* src/Buffer.cpp:
	* configure.ac: remove all traces of utime.h and HAVE_UTIME

	* config/lyxinclude.m4: remove WITH_WARNING define (which be rendered useless in 
	a future commit from christian)

	* development/scons/SConstruct: try to update.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19395 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 09:04:41 +00:00
Jean-Marc Lasgouttes
3463ce7c4a * config/lyxinclude (LYX_VERSION_SUFFIX): make $with_version available
* development/MacOSX/lyxrc.dist.in: use it here instead of program_suffix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19392 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 08:34:29 +00:00
Jean-Marc Lasgouttes
f84a1c6e5c the "translation" patch series] Part 1: upgrading to gettext 0.14.6
* m4/*:
	* intl/*:
	* ABOUT-NLS:
	* po/Makefile.in.in:
	* po/POTFILES.in:
	* po/Makevars.template:
	* config/mkinstalldirs:
	* config/config.rpath: update from gettext 0.14.6 source. This enables
	translation to system language on Mac OS X



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19347 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 19:22:32 +00:00
Jean-Marc Lasgouttes
6f042448a1 honor all the link flags coming from pkg-config
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19285 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 10:36:49 +00:00
Jean-Marc Lasgouttes
a7039727c3 * configure.ac: check earlier for -liconv and -lz, since Qt4 needs them;
put LIBICONV in LIBS.

	* src/Makefile.am: 
	* src/client/Makefile.am: update accordingly.

	* config/qt4.m4: do not try to run pkg-config tests when pkg-config 
	is not installed.

	* INSTALL.MacOSX: advise to use pkg-config; remove -lz from LDFLAGS;
	remove --with-frontend=qt4 from configure line; in the svn case, remove
	also --disable-stdlib-debug and --disable-concept-checks (and explain 
	why --disable-stdlib-debug may be needed).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19056 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 12:57:59 +00:00
José Matox
fbd205e70d Allow rc as suffix for releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18610 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 23:41:30 +00:00
Jean-Marc Lasgouttes
b5c00e2464 * config/qt4.m4 (QT4_DO_PKG_CONFIG): use = instead of == to check for equality with 'test' (bug 3770)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18575 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 06:00:31 +00:00
Enrico Forestieri
90ef6ed709 Fix typo due to the massive rename.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18053 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 21:50:16 +00:00
Bo Peng
00e305c9d9 Rename .C ==> .cpp for files in src, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:41:58 +00:00
Jean-Marc Lasgouttes
00cd32985a stupid typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17989 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 14:56:41 +00:00
Jean-Marc Lasgouttes
8d0e191aa3 * config/lyxinclude.m4 (LYX_USE_PACKAGING): define automake conditional
INSTALL_MACOSX when packaging is macosx.

	* development/Makefile.am: only install MacOSX when needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17988 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 14:33:54 +00:00
Jean-Marc Lasgouttes
5971c1a9f1 * config/qt.m4: remove (unused)
* config/lyxinclude25x.m4: remove (move contents to lyxinclude.m4)

	* autogen.sh:
	* config/Makefile.am: adapt.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17980 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 10:40:50 +00:00
Jean-Marc Lasgouttes
b6bc406d56 fix setting of PKG_CONFIG_PATH for qt 4.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17973 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 07:53:19 +00:00
José Matox
958458d6f0 Add test for beta release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17249 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-18 22:41:19 +00:00
Georg Baum
04debb8056 Revert unwanted stuff from last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16932 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 18:37:13 +00:00
Georg Baum
a76050219a Fix LyX paste from system clipboard when the file format does not match
* src/buffer.C
	(Buffer::readString): Tell readFile that we do not have a file
	(Buffer::readString): readFile(name) returns a bool, not an enum


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16931 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 18:35:56 +00:00
Georg Baum
b89f97f0b4 fix manual qt configuration in these cases:
- pkgconfig is missing
- pkgconfig is available, but it does not have any qt information
by Jean-Marc and me


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16271 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-13 21:18:44 +00:00
Georg Baum
fe5c73915e Make libQtCore a support library like boost and implement encoding conversion
from/to the local 8bit encoding with it.
Only the autotools build system is updated, scons and cmake users need to
add qt4 cpp flags when compiling libsupport, and link libsupport against
libQtCore.

	* src/frontends/qt4/qt_helpers.[Ch]
	(toqstr, qchar_to_ucs4, ucs4_to_qchar, ucs4_to_qstring,
	 qstring_to_ucs4, fromqstr): Move these qstring conversion functions
	from here ...

	* src/support/qstring_helpers.[Ch] ... to these new files

	* src/support/docstring.[Ch]
	(from_local8bit): new conversion function from local 8bit encoding
	to ucs4
	(to_local8bit): new conversion function from ucs4 to local 8bit
	encoding to ucs4
	(to_local8bit_failure): exception that is thrown by to_local8bit if
	the argument cannot be converted to the local encoding

	* src/support/filename.C
	(FileName::toFilesystemEncoding): implement with the help of QFile

	* src/support/Makefile.am: Add new files, qt4 cpp flags and link
	against libQtCore

	* src/client/client.C: Convert commandline input from local encoding
	to ucs4. Convert stuff that is sent to to the server to utf8,
	because LyX interprets it as utf8 on the other end of the pipe.

	* src/lyx_main.C
	(LyX::exec): convert commandline input from local encoding to utf8
	(LyX::init): ditto
	(LyX::easyParse): ditto

	* development/scons/scons_manifest.py: Add new files

	* config/qt4.m4: Define new variables QT4_CORE_INCLUDES,
	QT4_CORE_LDFLAGS and QT4_CORE_LIB


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16257 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 20:19:46 +00:00
Georg Baum
a781d8c98d add missing file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16210 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-08 18:43:59 +00:00
Jean-Marc Lasgouttes
23c3ed57f1 --with-frontend=qt4 is not required anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16202 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 16:17:40 +00:00
José Matox
8bc788c598 Remove usage from egrep, cleaner code (Jean-Marc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15939 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 23:10:24 +00:00
José Matox
288775e945 Fix typo (fix by Jean-Marc).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15938 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 21:47:55 +00:00
José Matox
6e22254244 Allow alpha as suffix for development releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15934 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 15:46:45 +00:00