Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : emu

Dir     : e_modules/emu


Modified Files:
        Makefile.am autogen.sh configure.in 
Added Files:
        ABOUT-NLS 


Log Message:
added i18n support and italian localization
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/emu/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 29 Jan 2006 17:53:02 -0000      1.2
+++ Makefile.am 20 Mar 2006 11:37:33 -0000      1.3
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-SUBDIRS = src data
+SUBDIRS = src data po
 
 bin_SCRIPTS = emu_client
 
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/emu/autogen.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- autogen.sh  27 Jan 2006 00:55:35 -0000      1.1
+++ autogen.sh  20 Mar 2006 11:37:33 -0000      1.2
@@ -10,6 +10,17 @@
 echo "Running autoconf..." ; autoconf || exit 1
 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize 
--automake) || exit 1
 echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
+echo "Generating gettext emu.pot template"; \
+xgettext \
+--output emu.pot \
+--output-dir=po \
+--language=C \
+--add-location \
+--keyword=D_ \
+--sort-by-file \
+--copyright-holder="TODO" \
+--foreign-user \
+`find . -name "*.[ch]" -print` || exit 1
 
 if [ -z "$NOCONFIGURE" ]; then
        ./configure "$@"
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/emu/configure.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- configure.in        27 Jan 2006 00:55:35 -0000      1.1
+++ configure.in        20 Mar 2006 11:37:33 -0000      1.2
@@ -17,6 +17,12 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
+ALL_LINGUAS="it"
+AC_SUBST(ALL_LINGUAS)
+
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.14)
+
 MODULE_ARCH="$host_os-$host_cpu"
 AC_SUBST(MODULE_ARCH)
 AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
@@ -85,6 +91,16 @@
 else
   AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}", "Package 
installed data destination")
 fi
+
+AC_PREFIX_DEFAULT(${HOME}/.e/e)
+if test "x$prefix" = "xNONE"; then
+  datarootdir=${ac_default_prefix}
+else
+  datarootdir=${prefix}/share
+fi
+localedir=${datarootdir}/locale
+AC_SUBST(LOCALEDIR, "${localedir}")
+AC_DEFINE_UNQUOTED(LOCALEDIR, "${localedir}", [Module Locale Directory])
          
 #AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 #AC_SUBST(dlopen_libs)
@@ -196,6 +212,7 @@
 src/Makefile
 src/modules/Makefile
 src/modules/emu/Makefile
+po/Makefile
 ],[
 ])
 




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to