public
Description: GL based toolkit for creating visually impressive graphical user interfaces
Homepage: http://www.clutter-project.org
Clone URL: git://github.com/ebassi/clutter.git
Search Repo:
2008-06-10  Emmanuele Bassi  <ebassi@openedhand.com>

  * autogen.sh: Check for, and run glib-gettextize.

  * configure.ac: Set up the localization support.

  * clutter/clutter-main.c: Do not define the GETTEXT_PACKAGE,
  but use the one from the configure script.

  * po/POTFILES.in: Template for the translatable files.

git-svn-id: https://svn.o-hand.com/repos/clutter/trunk/clutter@2863 
ecf2853b-e7f2-0310-bfc1-8ca4a3543e6b
ebassi (author)
Tue Jun 10 09:47:38 -0700 2008
commit  e81f2e57a60fb63bedf04a1f4881d9fed0dbe38b
tree    c604ca7571d29d1be8b33a5065d322f3ca06335d
parent  659ec81ec278b51f1367b5792415393f7448ce95
...
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
0
@@ -1,3 +1,14 @@
0
+2008-06-10 Emmanuele Bassi <ebassi@openedhand.com>
0
+
0
+ * autogen.sh: Check for, and run glib-gettextize.
0
+
0
+ * configure.ac: Set up the localization support.
0
+
0
+ * clutter/clutter-main.c: Do not define the GETTEXT_PACKAGE,
0
+ but use the one from the configure script.
0
+
0
+ * po/POTFILES.in: Template for the translatable files.
0
+
0
 2008-06-10 Chris Lord <chris@openedhand.com>
0
 
0
   * clutter/clutter-main.c: (pre_parse_hook):
...
20
21
22
 
 
 
 
 
 
 
 
23
24
25
...
20
21
22
23
24
25
26
27
28
29
30
31
32
33
0
@@ -20,6 +20,14 @@ else
0
         gtkdocize || exit $?
0
 fi
0
 
0
+GLIB_GETTEXTIZE=`which glib-gettextize`
0
+if test -z $GLIB_GETTEXTIZE; then
0
+ echo "*** No glib-gettextize ***"
0
+ exit 1
0
+else
0
+ glib-gettextize || exit $?
0
+fi
0
+
0
 autoreconf -v --install || exit $?
0
 
0
 ./configure "$@" && echo "Now type 'make' to compile $PROJECT."
...
35
36
37
38
39
40
41
...
35
36
37
 
38
39
40
0
@@ -35,7 +35,6 @@
0
 #endif
0
 
0
 #include <stdlib.h>
0
-#define GETTEXT_PACKAGE "clutter"
0
 #include <glib/gi18n-lib.h>
0
 
0
 #include "clutter-event.h"
...
593
594
595
 
 
 
 
 
 
 
 
596
597
598
...
625
626
627
 
628
629
630
...
593
594
595
596
597
598
599
600
601
602
603
604
605
606
...
633
634
635
636
637
638
639
0
@@ -593,6 +593,14 @@ CLUTTER_LIBS="$SDL_LIBS $EGL_LIBS $GLX_LIBS $OSX_LIBS $WIN32_LIBS $CLUTTER_DEPS_
0
 AC_SUBST(CLUTTER_CFLAGS)
0
 AC_SUBST(CLUTTER_LIBS)
0
 
0
+GETTEXT_PACKAGE="clutter-$CLUTTER_API_VERSION"
0
+AC_SUBST(GETTEXT_PACKAGE)
0
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
0
+ [The prefix for our gettext translation domains.])
0
+
0
+ALL_LINGUAS=""
0
+AM_GLIB_GNU_GETTEXT
0
+
0
 AC_CONFIG_FILES([
0
         Makefile
0
         clutter/Makefile
0
@@ -625,6 +633,7 @@ AC_CONFIG_FILES([
0
         doc/reference/cogl/Makefile
0
         doc/manual/clutter-manual.xml
0
         doc/manual/Makefile
0
+ po/Makefile.in
0
         clutter.pc
0
 ])
0
 

Comments

    No one has commented yet.