From 208c57fad71a9953980d6ea686884ef56044e542 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 11 Mar 2005 10:49:09 +0000 Subject: [PATCH] clean-up gettext support code git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9710 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 7 +++++++ configure.ac | 15 --------------- po/ChangeLog | 4 ++++ po/LINGUAS | 3 +++ po/POTFILES.in | 1 + 5 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 po/LINGUAS diff --git a/ChangeLog b/ChangeLog index 91fe0ffdee..9898af15f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-03-11 Jean-Marc Lasgouttes + + * configure.ac: remove hack when GNU gettext utilities are not + available; remove calls to AC_C_CONST and AC_C_INLINE (already + required by AM_INTL_SUBDIR; remove ALL_LINGUAS variable (see + po/LINGUAS instead); do not AC_SUBST LINGUAS. + 2005-03-07 Georg Baum * autogen.sh: remove autom4te.cache directories diff --git a/configure.ac b/configure.ac index 22d7a7e52a..0983d990c2 100644 --- a/configure.ac +++ b/configure.ac @@ -22,10 +22,6 @@ LYX_VERSION_SUFFIX AM_INIT_AUTOMAKE($lyxname, $VERSION) -# The list of languages known to LyX -# This is needed by GNU gettext -ALL_LINGUAS="bg ca cs da de es eu fi fr he hu it nl nn no pl pt ro ru sk sl sv tr wa" - ### Set the execute permissions of the various scripts correctly for file in config/install-sh config/mkinstalldirs lib/configure ; do chmod 755 ${srcdir}/${file} @@ -240,18 +236,7 @@ fi ### Setup GNU gettext dnl GNU gettext is written in C AC_LANG_PUSH(C) -# Some tests that may be useful for gettext -AC_C_CONST -AC_C_INLINE -# Do the real setup now AM_GNU_GETTEXT -# a hack for those who try to change LyX, but do not have gettext installed -case "${XGETTEXT}" in - *:) XGETTEXT='cp ${srcdir}/lyx.pot ./${PACKAGE}.po ; :' -esac - -AC_SUBST(LINGUAS) - AC_LANG_POP(C) # some standard header files diff --git a/po/ChangeLog b/po/ChangeLog index 893040eb10..878549f929 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,7 @@ +2005-03-11 Jean-Marc Lasgouttes + + * LINGUAS: new file. Lists the languages known to LyX. + 2005-02-16 Jean-Marc Lasgouttes * *.po: remerge with gettext 0.13 diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000000..f015d6f8a2 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1,3 @@ +# The list of languages known to LyX +bg ca cs da de es eu fi fr he hu it nl nn no pl pt ro ru sk sl sv tr wa + diff --git a/po/POTFILES.in b/po/POTFILES.in index fd6bea4257..370e935686 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -39,6 +39,7 @@ src/frontends/gtk/GBC.h src/frontends/gtk/GBox.C src/frontends/gtk/GChanges.C src/frontends/gtk/GCharacter.C +src/frontends/gtk/GDocument.C src/frontends/gtk/GERT.C src/frontends/gtk/GErrorList.C src/frontends/gtk/GFloat.C -- 2.39.5