mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
* configure.ac: qt becomes qt3
* INSTALL: remove xforms description; update --with-frontend args * config/lyxinclude.m4: update possible values of --with-frontend git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14373 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4eccc22119
commit
131f9b0b62
27
INSTALL
27
INSTALL
@ -9,7 +9,7 @@ These four steps will compile, test and install LyX:
|
|||||||
0) Linux users beware: if compiling the Qt frontend, you need
|
0) Linux users beware: if compiling the Qt frontend, you need
|
||||||
qt and qt-devel packages of the same version to compile LyX.
|
qt and qt-devel packages of the same version to compile LyX.
|
||||||
|
|
||||||
1) ./configure --with-frontend=[qt or xforms]
|
1) ./configure --with-frontend=[qt3, qt4, or gtk]
|
||||||
configures LyX according to your system.
|
configures LyX according to your system.
|
||||||
When compiling for Qt, you may have to set
|
When compiling for Qt, you may have to set
|
||||||
--with-qt-dir=<path-to-your-qt-installation>
|
--with-qt-dir=<path-to-your-qt-installation>
|
||||||
@ -73,29 +73,6 @@ to use fontconfig.
|
|||||||
If, however, your version of Qt does not use fontconfig, then TeX
|
If, however, your version of Qt does not use fontconfig, then TeX
|
||||||
fonts should be added to the font path. 'man xset' is your friend.
|
fonts should be added to the font path. 'man xset' is your friend.
|
||||||
|
|
||||||
* xforms frontend
|
|
||||||
|
|
||||||
Both an Xforms and Xpm libraries should be installed to compile LyX.
|
|
||||||
It is imperative that you have the correct versions of these
|
|
||||||
libraries, and their associated header files.
|
|
||||||
|
|
||||||
The xforms library has been very recently updated to version 1.0.
|
|
||||||
This version has been released under the LGPL (Lesser General Public
|
|
||||||
License), and the availability of the source means that many bugs that
|
|
||||||
have been plaguing LyX have been fixed in xforms. You are advised to
|
|
||||||
upgrade to xforms 1.0 to enjoy all these new fixes.
|
|
||||||
In fact, LyX 1.4.x no longer supports versions of xforms older than 1.0.
|
|
||||||
|
|
||||||
You can get the source from
|
|
||||||
http://savannah.nongnu.org/download/xforms/
|
|
||||||
|
|
||||||
If you use a rpm-based linux distribution, such as RedHat or Mandrake,
|
|
||||||
we recommend that you grab a version of xforms from
|
|
||||||
ftp://ftp.lyx.org/pub/lyx/contrib
|
|
||||||
Look for the xforms-1.0-release.src.rpm or the binary libforms*.i386.rpm.
|
|
||||||
|
|
||||||
In addition, you must have libXpm version 4.7 or newer.
|
|
||||||
|
|
||||||
* Other things to note
|
* Other things to note
|
||||||
|
|
||||||
If you make modifications to files in src/ (for example by applying a
|
If you make modifications to files in src/ (for example by applying a
|
||||||
@ -136,7 +113,7 @@ flags:
|
|||||||
want to use. There is no default value: this switch is required.
|
want to use. There is no default value: this switch is required.
|
||||||
|
|
||||||
o --with-extra-lib=DIRECTORY that specifies the path where LyX will
|
o --with-extra-lib=DIRECTORY that specifies the path where LyX will
|
||||||
find extra libraries (Xpm, xforms, qt) it needs. Defaults to NONE
|
find extra libraries (qt3, qt4, gtk) it needs. Defaults to NONE
|
||||||
(i.e. search in standard places). You can specify several
|
(i.e. search in standard places). You can specify several
|
||||||
directories, separated by colons.
|
directories, separated by colons.
|
||||||
|
|
||||||
|
@ -548,13 +548,13 @@ rm -f conftest*])
|
|||||||
])
|
])
|
||||||
### end of LYX_PATH_HEADER
|
### end of LYX_PATH_HEADER
|
||||||
|
|
||||||
### Check which frontends we want to use. The default is XForms only
|
### Check which frontends we want to use.
|
||||||
###
|
###
|
||||||
AC_DEFUN([LYX_USE_FRONTENDS],
|
AC_DEFUN([LYX_USE_FRONTENDS],
|
||||||
[AC_MSG_CHECKING([what frontend should be used for the GUI])
|
[AC_MSG_CHECKING([what frontend should be used for the GUI])
|
||||||
AC_ARG_WITH(frontend,
|
AC_ARG_WITH(frontend,
|
||||||
[ --with-frontend=THIS Use THIS frontend as main GUI:
|
[ --with-frontend=THIS Use THIS frontend as main GUI:
|
||||||
Possible values: qt, gtk(EXPERIMENTAL)],
|
Possible values: qt3, qt4, gtk],
|
||||||
[FRONTENDS="$withval"])
|
[FRONTENDS="$withval"])
|
||||||
if test "x$FRONTENDS" = x ; then
|
if test "x$FRONTENDS" = x ; then
|
||||||
AC_MSG_RESULT(none)
|
AC_MSG_RESULT(none)
|
||||||
|
@ -180,7 +180,7 @@ for frontend in $FRONTENDS ; do
|
|||||||
libglademm version:\t\t${LIBGLADEMM_VERSION}\n"
|
libglademm version:\t\t${LIBGLADEMM_VERSION}\n"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
qt)
|
qt3)
|
||||||
QT_DO_IT_ALL
|
QT_DO_IT_ALL
|
||||||
FRONTENDS_PROGS="$FRONTENDS_PROGS lyx-qt\$(EXEEXT)"
|
FRONTENDS_PROGS="$FRONTENDS_PROGS lyx-qt\$(EXEEXT)"
|
||||||
FRONTENDS_SUBDIRS="$FRONTENDS_SUBDIRS qt3"
|
FRONTENDS_SUBDIRS="$FRONTENDS_SUBDIRS qt3"
|
||||||
|
Loading…
Reference in New Issue
Block a user