mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
remove xforms check from qt config
fix build git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4982 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d4a42cc2de
commit
cf0b2ab5ae
@ -1,3 +1,8 @@
|
||||
2002-08-14 John Levon <levon@movementarian.org>
|
||||
|
||||
* configure.in:
|
||||
* configure.ac: no xforms check with Qt
|
||||
|
||||
2002-08-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
|
||||
|
||||
* configure.in: change AC_LANG(XX) back to the AC_LANG_XX variant.
|
||||
|
@ -150,17 +150,17 @@ CPPFLAGS="$CPPFLAGS $X_CFLAGS"
|
||||
## Check whether X is new enough to handle the input method stuff
|
||||
AC_CHECK_FUNCS(XOpenIM)
|
||||
|
||||
|
||||
### check which frontend we want to use
|
||||
# We have to check for xforms anyway
|
||||
LYX_PATH_XPM
|
||||
LYX_PATH_XFORMS
|
||||
|
||||
#LYX_USE_FRONTEND
|
||||
dnl The code below is not in a macro, because this would cause big
|
||||
dnl problems with the AC_REQUIRE contained in KDE_DO_IT_ALL.
|
||||
case "$lyx_use_frontend" in
|
||||
xforms)
|
||||
# for now don't set it for xforms as this is always entered
|
||||
LYX_PATH_XPM
|
||||
LYX_PATH_XFORMS
|
||||
LYX_USE_XFORMS_IMAGE_LOADER
|
||||
FRONTEND="xforms"
|
||||
FRONTEND_GUILIB="xforms/*.lo xforms/forms/*.lo"
|
||||
FRONTEND_INCLUDES="-I\$(srcdir)/xforms"
|
||||
@ -176,6 +176,9 @@ case "$lyx_use_frontend" in
|
||||
libforms version: ${XFORMS_VERSION}\n"
|
||||
;;
|
||||
gnome)
|
||||
LYX_PATH_XPM
|
||||
LYX_PATH_XFORMS
|
||||
LYX_USE_XFORMS_IMAGE_LOADER
|
||||
PKG_CHECK_MODULES(GNOME_FRONTEND, gtkmm-2.0 libglademm-2.0)
|
||||
AC_SUBST(GNOME_FRONTEND_CFLAGS)
|
||||
AC_SUBST(GNOME_FRONTEND_LIBS)
|
||||
@ -184,7 +187,8 @@ case "$lyx_use_frontend" in
|
||||
FRONTEND_GUILIB="gnome/*.lo"
|
||||
FRONTEND_LDFLAGS="${GNOME_FRONTEND_LIBS}"
|
||||
FRONTEND_INCLUDES="-I\${srcdir}/gnome -I\${srcdir}/xforms ${GNOME_FRONTEND_CFLAGS} "
|
||||
FRONTEND_LIBS="@XPM_LIB@ @XFORMS_LIB@ ${GNOME_FRONTEND_LIBS}";;
|
||||
FRONTEND_LIBS="@XPM_LIB@ @XFORMS_LIB@ ${GNOME_FRONTEND_LIBS}"
|
||||
;;
|
||||
qt2)
|
||||
QT2_DO_IT_ALL
|
||||
FRONTEND="qt2"
|
||||
@ -204,11 +208,6 @@ LYX_ERROR(dnl
|
||||
the development tools.])
|
||||
fi
|
||||
|
||||
### Check whether the xforms library has a viable image loader
|
||||
### For now, run this test always so config.h is unchanged by a change in
|
||||
### frontend
|
||||
LYX_USE_XFORMS_IMAGE_LOADER
|
||||
|
||||
### Setup GNU gettext
|
||||
dnl GNU gettext is written in C
|
||||
AC_LANG_PUSH(C)
|
||||
|
@ -154,16 +154,15 @@ CPPFLAGS="$CPPFLAGS $X_CFLAGS"
|
||||
AC_CHECK_FUNCS(XOpenIM)
|
||||
|
||||
### check which frontend we want to use
|
||||
# We have to check for xforms anyway
|
||||
LYX_PATH_XPM
|
||||
LYX_PATH_XFORMS
|
||||
|
||||
#LYX_USE_FRONTEND
|
||||
dnl The code below is not in a macro, because this would cause big
|
||||
dnl problems with the AC_REQUIRE contained in KDE_DO_IT_ALL.
|
||||
case "$lyx_use_frontend" in
|
||||
xforms)
|
||||
# for now don't set it for xforms as this is always entered
|
||||
LYX_PATH_XPM
|
||||
LYX_PATH_XFORMS
|
||||
LYX_USE_XFORMS_IMAGE_LOADER
|
||||
FRONTEND="xforms"
|
||||
FRONTEND_GUILIB="xforms/*.lo xforms/forms/*.lo"
|
||||
FRONTEND_INCLUDES="-I\$(srcdir)/xforms"
|
||||
@ -179,6 +178,9 @@ case "$lyx_use_frontend" in
|
||||
libforms version: ${XFORMS_VERSION}\n"
|
||||
;;
|
||||
gnome)
|
||||
LYX_PATH_XPM
|
||||
LYX_PATH_XFORMS
|
||||
LYX_USE_XFORMS_IMAGE_LOADER
|
||||
PKG_CHECK_MODULES(GNOME_FRONTEND, gtkmm-2.0 libglademm-2.0)
|
||||
AC_SUBST(GNOME_FRONTEND_CFLAGS)
|
||||
AC_SUBST(GNOME_FRONTEND_LIBS)
|
||||
@ -207,11 +209,6 @@ LYX_ERROR(dnl
|
||||
the development tools.])
|
||||
fi
|
||||
|
||||
### Check whether the xforms library has a viable image loader
|
||||
### For now, run this test always so config.h is unchanged by a change in
|
||||
### frontend
|
||||
LYX_USE_XFORMS_IMAGE_LOADER
|
||||
|
||||
### Setup GNU gettext
|
||||
dnl GNU gettext is written in C
|
||||
AC_LANG_C
|
||||
|
@ -8,7 +8,6 @@ src/converter.C
|
||||
src/CutAndPaste.C
|
||||
src/debug.C
|
||||
src/exporter.C
|
||||
src/ext_l10n.h
|
||||
src/FloatList.C
|
||||
src/frontends/controllers/biblio.C
|
||||
src/frontends/controllers/ButtonController.h
|
||||
@ -155,7 +154,6 @@ src/lyxrc.C
|
||||
src/lyxtextclasslist.C
|
||||
src/lyxvc.C
|
||||
src/mathed/formulabase.C
|
||||
src/mathed/formula.C
|
||||
src/mathed/formulamacro.C
|
||||
src/mathed/math_cursor.C
|
||||
src/mathed/math_hullinset.C
|
||||
|
@ -1,3 +1,7 @@
|
||||
2002-08-14 John Levon <levon@movementarian.org>
|
||||
|
||||
* lyxserver.C: remove spurious xforms include
|
||||
|
||||
2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* lyxfunc.C (getStatus): disable math-extern outside of math mode
|
||||
|
@ -13,8 +13,6 @@
|
||||
#include <qlineedit.h>
|
||||
#include "ui/QAskForTextDialog.h"
|
||||
|
||||
#include FORMS_H_LOCATION
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <gettext.h>
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-08-14 John Levon <levon@movementarian.org>
|
||||
|
||||
* Alert_pimpl.C: remove xforms header
|
||||
|
||||
* Toolbar_pimpl.C: build fix
|
||||
|
||||
2002-08-13 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* Qt2Base.h: compile fix isReadonly -> bufferIsReadonly.
|
||||
|
@ -42,15 +42,13 @@ namespace {
|
||||
|
||||
QPixmap getIconPixmap(int action)
|
||||
{
|
||||
kb_action act;
|
||||
string arg;
|
||||
boost::tie(act, arg) = lyxaction.retrieveActionArg(action);
|
||||
FuncRequest f = lyxaction.retrieveActionArg(action);
|
||||
|
||||
string const name = lyxaction.getActionName(act);
|
||||
string const name = lyxaction.getActionName(f.action);
|
||||
string xpm_name;
|
||||
|
||||
if (!arg.empty())
|
||||
xpm_name = subst(name + ' ' + arg, ' ','_');
|
||||
if (!f.argument.empty())
|
||||
xpm_name = subst(name + ' ' + f.argument, ' ','_');
|
||||
else
|
||||
xpm_name = name;
|
||||
|
||||
@ -62,7 +60,7 @@ QPixmap getIconPixmap(int action)
|
||||
return QPixmap(fullname.c_str());
|
||||
}
|
||||
|
||||
if (act == LFUN_INSERT_MATH && !arg.empty()) {
|
||||
if (f.action == LFUN_INSERT_MATH && !f.argument.empty()) {
|
||||
#if 0 // FIXME: GUII
|
||||
char const ** pixmap =
|
||||
get_pixmap_from_symbol(arg.c_str(), 30, 30);
|
||||
|
@ -41,7 +41,6 @@
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <cerrno>
|
||||
#include FORMS_H_LOCATION
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation
|
||||
|
Loading…
Reference in New Issue
Block a user