[Xfce4-commits] <xfce4-genmon-plugin:master> Use recent xdt to detect available translations
Florian Rivoal
noreply at xfce.org
Sat Feb 26 10:14:02 CET 2011
Updating branch refs/heads/master
to 9f0891051d715a7ca6e555073f8f5fd49f3eae26 (commit)
from 6cbee51a470f8de95752a4d20da3b2e303585c37 (commit)
commit 9f0891051d715a7ca6e555073f8f5fd49f3eae26
Author: Florian Rivoal <frivoal at xfce.org>
Date: Fri Feb 25 09:05:30 2011 +0900
Use recent xdt to detect available translations
autogen.sh | 15 ++++++---------
configure.ac => configure.ac.in | 2 +-
po/LINGUAS | 2 --
3 files changed, 7 insertions(+), 12 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index 4da6b80..6bc0c8a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,23 +1,20 @@
#!/bin/sh
#
-# $Id$
-#
-# Copyright (c) 2002-2005
+# Copyright (c) 2002-2009
# The Xfce development team. All rights reserved.
#
# Written for Xfce by Benedikt Meurer <benny at xfce.org>.
-#
+
+export XDT_AUTOGEN_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
your system, which are required to build this software.
- Please install the xfce4-dev-tools package first, it is available
- from http://www.xfce.org/.
+ Please install the xfce4-dev-tools package first, available from
+ http://xfce.org/~benny/projects/xfce4-dev-tools/.
EOF
exit 1
}
-exec xdt-autogen $@
-
-# vi:set ts=2 sw=2 et ai:
\ No newline at end of file
+xdt-autogen $@
diff --git a/configure.ac b/configure.ac.in
similarity index 95%
rename from configure.ac
rename to configure.ac.in
index 8dd6173..202133e 100644
--- a/configure.ac
+++ b/configure.ac.in
@@ -35,7 +35,7 @@ XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.22])
XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.2.0])
dnl Translations
-XDT_I18N([ca cs en_GB eu fr pl pt_PT sq])
+XDT_I18N([@LINGUAS@])
dnl Check for debugging support
XDT_FEATURE_DEBUG()
diff --git a/po/LINGUAS b/po/LINGUAS
deleted file mode 100644
index 1fcf1a8..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 id it ja lv pl pt_BR pt sq sv tr uk ur ur_PK zh_CN
More information about the Xfce4-commits
mailing list