[Xfce4-commits] <xfce4-dict:master> Require and make use of latest xfce4-dev-tools to improve handling of the LINGUAS stuff

Enrico Tröger enrico.troeger at uvena.de
Wed Aug 19 20:10:02 CEST 2009


Updating branch refs/heads/master
         to f73a88024e025900babc6adabfb4158fe0a1034f (commit)
       from 9518e1ac77ae06bde5ad8a8b2e516dfad7cfa6b4 (commit)

commit f73a88024e025900babc6adabfb4158fe0a1034f
Author: Enrico Tröger <enrico.troeger at uvena.de>
Date:   Wed Aug 19 20:07:58 2009 +0200

    Require and make use of latest xfce4-dev-tools to improve handling of the LINGUAS stuff

 autogen.sh |   24 ++----------------------
 po/LINGUAS |    2 --
 2 files changed, 2 insertions(+), 24 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 9346eba..9736421 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,6 +8,8 @@
 # Written for Xfce by Benedikt Meurer <benny at xfce.org>.
 #
 
+XDT_REQUIRED_VERSION="4.7.0"
+
 (type xdt-autogen) >/dev/null 2>&1 || {
   cat >&2 <<EOF
 autogen.sh: You don't seem to have the Xfce development tools installed on
@@ -18,31 +20,9 @@ EOF
   exit 1
 }
 
-(test -f po/LINGUAS) >/dev/null 2>&1 || {
-  cat >&2 <<EOF
-autogen.sh: The file po/LINGUAS could not be found. Please check your snapshot
-            or try to check out again.
-EOF
-  exit 1
-}
-
 echo 'dnl *** This file is autogenerated.  Do not edit. ***' >configure.in
 echo >>configure.in
 
-linguas=$(sed -e '/^#/d' po/LINGUAS)
-
-if [ -d .git/svn ]; then
-    revision=$(git-svn find-rev trunk)
-elif [ -d .svn ]; then
-    revision=$(LC_ALL=C svn info $0 | awk '/^Revision: /{ printf "%05d", $2 }')
-else
-    revision=UNKNOWN
-fi
-
-sed -e "s/@LINGUAS@/${linguas}/g" \
-    -e "s/@REVISION@/${revision}/g" \
-    < "configure.in.in" >> "configure.in"
-
 exec xdt-autogen $@
 
 # vi:set ts=2 sw=2 et ai:
diff --git a/po/LINGUAS b/po/LINGUAS
deleted file mode 100644
index 346dd00..0000000
--- a/po/LINGUAS
+++ /dev/null
@@ -1,2 +0,0 @@
-# set of available languages (in alphabetic order)
-ar ast ca cs da de en_GB es eu fr gl hu id it ja lv nb nl pl pt pt_BR sv tr uk ur ur_PK zh_CN 



More information about the Xfce4-commits mailing list