[libxslt] git setup



commit e502173b7ad60e88572753b147396d52d6ea4b73
Author: veillard <veillard redhat com>
Date:   Tue May 12 09:04:37 2009 +0200

    git setup
    * configure.in: adapt the extra version detection code to git
    * libxslt.doap: adding RDF dope file
    Daniel
---
 ChangeLog                 |    5 +++++
 configure.in              |    8 ++++++++
 libxslt.doap              |   19 +++++++++++++++++++
 libxslt/xsltwin32config.h |    2 +-
 4 files changed, 33 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index da3afd1..4e1d331 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue May 12 09:03:46 CEST 2009 Daniel Veillard <veillard redhat com>
+
+	* configure.in: adapt the extra version detection code to git
+	* libxslt.doap: adding RDF dope file
+
 Fri Jan 23 19:02:28 PST 2009 William Brack <wbrack mmm com hk>
 
 	* libexslt/strings.c: Fixed indexing error reported by
diff --git a/configure.in b/configure.in
index 2097ab1..92edb86 100644
--- a/configure.in
+++ b/configure.in
@@ -39,6 +39,14 @@ else if test -d .svn ; then
   then
       LIBXSLT_VERSION_EXTRA="-SVN$extra"
   fi
+else if test -d .git ; then
+  extra=`git describe | sed 's+LIBXSLT[[0-9.]]*-++'`
+  echo extra=$extra
+  if test "$extra" != ""
+  then
+      LIBXSLT_VERSION_EXTRA="-GIT$extra"
+  fi
+fi
 fi
 fi
 
diff --git a/libxslt.doap b/libxslt.doap
new file mode 100644
index 0000000..fa01fce
--- /dev/null
+++ b/libxslt.doap
@@ -0,0 +1,19 @@
+<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";
+         xmlns:foaf="http://xmlns.com/foaf/0.1/";
+         xmlns:gnome="http://api.gnome.org/doap-extensions#";
+         xmlns="http://usefulinc.com/ns/doap#";>
+
+  <name xml:lang="en">libxslt</name>
+  <shortdesc xml:lang="en">XSLT transformation library</shortdesc>
+  <homepage rdf:resource="http://xmlsoft.org/XSLT/"; />
+  <mailing-list rdf:resource="http://mail.gnome.org/mailman/listinfo/xslt"; />
+  <category rdf:resource="http://api.gnome.org/doap-extensions#platform"; />
+
+  <maintainer>
+    <foaf:Person>
+      <foaf:name>Daniel Veillard</foaf:name>
+      <gnome:userid>veillard</gnome:userid>
+    </foaf:Person>
+  </maintainer>
+</Project>
diff --git a/libxslt/xsltwin32config.h b/libxslt/xsltwin32config.h
index 2d31dee..c0c100f 100644
--- a/libxslt/xsltwin32config.h
+++ b/libxslt/xsltwin32config.h
@@ -62,7 +62,7 @@ extern "C" {
  *
  * Whether module support is configured into libxslt
  */
-#if 0
+#if 1
 #ifndef WITH_MODULES
 #define WITH_MODULES
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]