Date:2010-02-12 16:05:56 (14 years 1 month ago)
Author:Xiangfu Liu
Commit:875f6cdd7390db6a3925897e7ae46c10c5de4aa4
Message:[stardict] configure need the nls.m4

Files: stardict/patches/002-dont-need-hotkey-in-nanonote.patch (2 diffs)

Change Details

stardict/patches/002-dont-need-hotkey-in-nanonote.patch
66---
77
88 configure.in | 26 ++-
9 m4/nls.m4 | 31 ++++
910 src/class_factory.cpp | 2
1011 src/conf.cpp | 6 -
1112 src/mainwin.cpp | 9 +
1213 src/stardict.cpp | 35 +++-
1314 src/x11_iskeyspressed.cpp | 351 ---------------------------------------------
1415 src/x11_iskeyspressed.hpp | 65 --------
15 7 files changed, 44 insertions(+), 450 deletions(-)
16 8 files changed, 75 insertions(+), 450 deletions(-)
17 create mode 100644 m4/nls.m4
1618
1719
1820diff --git a/configure.in b/configure.in
...... 
5456
5557 AC_SUBST(STARDICT_LIBS)
5658 AC_SUBST(STARDICT_CFLAGS)
59diff --git a/m4/nls.m4 b/m4/nls.m4
60new file mode 100644
61index 0000000..7967cc2
62--- /dev/null
63@@ -0,0 +1,31 @@
64+# nls.m4 serial 3 (gettext-0.15)
65+dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
66+dnl This file is free software; the Free Software Foundation
67+dnl gives unlimited permission to copy and/or distribute it,
68+dnl with or without modifications, as long as this notice is preserved.
69+dnl
70+dnl This file can can be used in projects which are not available under
71+dnl the GNU General Public License or the GNU Library General Public
72+dnl License but which still want to provide support for the GNU gettext
73+dnl functionality.
74+dnl Please note that the actual code of the GNU gettext library is covered
75+dnl by the GNU Library General Public License, and the rest of the GNU
76+dnl gettext package package is covered by the GNU General Public License.
77+dnl They are *not* in the public domain.
78+
79+dnl Authors:
80+dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
81+dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
82+
83+AC_PREREQ(2.50)
84+
85+AC_DEFUN([AM_NLS],
86+[
87+ AC_MSG_CHECKING([whether NLS is requested])
88+ dnl Default is enabled NLS
89+ AC_ARG_ENABLE(nls,
90+ [ --disable-nls do not use Native Language Support],
91+ USE_NLS=$enableval, USE_NLS=yes)
92+ AC_MSG_RESULT($USE_NLS)
93+ AC_SUBST(USE_NLS)
94+])
5795diff --git a/src/class_factory.cpp b/src/class_factory.cpp
5896index 8bff538..d1dddc2 100644
5997--- a/src/class_factory.cpp

Archive Download the corresponding diff file



interactive