Enlightenment CVS committal

Author  : maxerba
Project : e_modules
Module  : net

Dir     : e_modules/net


Modified Files:
        Makefile.am autogen.sh configure.in 


Log Message:
restored i18n support

===================================================================
RCS file: /cvs/e/e_modules/net/Makefile.am,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- Makefile.am 11 Feb 2007 15:47:42 -0000      1.16
+++ Makefile.am 5 Mar 2007 00:09:39 -0000       1.17
@@ -3,7 +3,7 @@
                       config.sub configure depcomp install-sh ltmain.sh \
                       missing
 
-SUBDIRS = src
+SUBDIRS = src po
 
 EDJE_FLAGS = -v \
 -id $(top_srcdir)/images \
===================================================================
RCS file: /cvs/e/e_modules/net/autogen.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- autogen.sh  11 Feb 2007 15:28:53 -0000      1.3
+++ autogen.sh  5 Mar 2007 00:09:39 -0000       1.4
@@ -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 net.pot template"; \
+xgettext \
+--output net.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: /cvs/e/e_modules/net/configure.in,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- configure.in        12 Feb 2007 11:04:20 -0000      1.15
+++ configure.in        5 Mar 2007 00:09:39 -0000       1.16
@@ -13,6 +13,12 @@
 AM_PROG_LIBTOOL
 AC_HEADER_STDC
 
+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")
@@ -58,6 +64,19 @@
 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}", "Package data destination")
 
 #
+# Set Data Root and Locale Directory in config.h
+#
+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")
+
+#
 # Check EFL Libs
 #
 AC_PATH_GENERIC([edje], [0.5.0], [], [AC_MSG_ERROR(Edje is not installed)],)
@@ -71,6 +90,7 @@
 AC_OUTPUT([
 Makefile
 src/Makefile
+po/Makefile
 module.desktop
 e_modules-net.spec
 ],[])



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to