[Xfce4-commits] <xfce4-notes-plugin:master> Update autotools build

Mike Massonnet mmassonnet at xfce.org
Tue Aug 18 12:14:01 CEST 2009


Updating branch refs/heads/master
         to fcfe6ce6da97a909a9ff7accadd6133797a013b6 (commit)
       from 65a87daa3f64fa1abe8299d212ac0fedb02b9172 (commit)

commit fcfe6ce6da97a909a9ff7accadd6133797a013b6
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Tue Aug 18 11:48:19 2009 +0200

    Update autotools build
    
    Drop the po/LINGUAS files and substitute them directly inside the
    configure script instead.
    Update the version tag svn=>git and pass the project URL.

 autogen.sh      |   11 +----------
 configure.in.in |   10 +++++-----
 po/LINGUAS      |    2 --
 3 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 569e656..2350758 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,17 +18,8 @@ EOF
   exit 1
 }
 
-# verify that po/LINGUAS is present
-(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 checkout again.
-EOF
-  exit 1
-}
-
 # substitute revision and linguas
-linguas=`sed -e '/^#/d' po/LINGUAS`
+linguas=`ls po/*.po 2>/dev/null | awk 'BEGIN {FS="[./]"; ORS=" "} {print $2}'`
 if [ -d .git ]; then
     revision=$(git log --pretty=format:%h -n 1)
 else
diff --git a/configure.in.in b/configure.in.in
index db506f1..1807e81 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -10,13 +10,13 @@ m4_define([xfce4_notes_plugin_version_major], [1])
 m4_define([xfce4_notes_plugin_version_minor], [7])
 m4_define([xfce4_notes_plugin_version_micro], [1])
 m4_define([xfce4_notes_plugin_version_nano], [])
-m4_define([xfce4_notes_plugin_version_build], [r at REVISION@])
-m4_define([xfce4_notes_plugin_version_tag], [svn]) # Leave empty for releases
-m4_define([xfce4_notes_plugin_version], [xfce4_notes_plugin_version_major().xfce4_notes_plugin_version_minor().xfce4_notes_plugin_version_micro()ifelse(xfce4_notes_plugin_version_nano(), [], [], [.xfce4_notes_plugin_version_nano()])ifelse(xfce4_notes_plugin_version_tag(), [svn], [xfce4_notes_plugin_version_tag()-xfce4_notes_plugin_version_build()], [xfce4_notes_plugin_version_tag()])])
+m4_define([xfce4_notes_plugin_version_build], [@REVISION@])
+m4_define([xfce4_notes_plugin_version_tag], [git]) # Leave empty for releases
+m4_define([xfce4_notes_plugin_version], [xfce4_notes_plugin_version_major().xfce4_notes_plugin_version_minor().xfce4_notes_plugin_version_micro()ifelse(xfce4_notes_plugin_version_nano(), [], [], [.xfce4_notes_plugin_version_nano()])ifelse(xfce4_notes_plugin_version_tag(), [git], [xfce4_notes_plugin_version_tag()-xfce4_notes_plugin_version_build()], [xfce4_notes_plugin_version_tag()])])
 
 AC_PREREQ([2.50])
-AC_INIT([xfce4-notes-plugin], [xfce4_notes_plugin_version], 
-        [mmassonnet at xfce.org])
+AC_INIT([Notes], [xfce4_notes_plugin_version], [http://bugzilla.xfce.org/], [xfce4-notes-plugin],
+	[http://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin])
 AC_REVISION([project_version_build])
 AC_CANONICAL_TARGET()
 
diff --git a/po/LINGUAS b/po/LINGUAS
deleted file mode 100644
index 8352264..0000000
--- a/po/LINGUAS
+++ /dev/null
@@ -1,2 +0,0 @@
-# set of available languages (in alphabetic order)
-ar ast ca cs da de el en_GB es eu fi fr gl hu id it ja lv nb nl pl pt pt_BR ro sv tr uk ur ur_PK vi zh_CN zh_TW 



More information about the Xfce4-commits mailing list