[jhbuild] Sanitycheck for xzcat. Add xz to bootstrap (GNOME Bug 645386)



commit 8a264ef59d3a1548f72f71754b72f88e6d794d0d
Author: Craig Keogh <cskeogh adam com au>
Date:   Sun Mar 27 10:31:25 2011 +1030

    Sanitycheck for xzcat. Add xz to bootstrap (GNOME Bug 645386)
    
    xz is not in meta-bootstrap. If your system does not have xz (e.g.
    Solaris) run 'jhbuild -m bootstrap buildone xz'

 jhbuild/commands/sanitycheck.py |    2 ++
 modulesets/bootstrap.modules    |    8 ++++++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/commands/sanitycheck.py b/jhbuild/commands/sanitycheck.py
index ee9c272..9cc51a1 100644
--- a/jhbuild/commands/sanitycheck.py
+++ b/jhbuild/commands/sanitycheck.py
@@ -153,5 +153,7 @@ class cmd_sanitycheck(Command):
             uprint(_('%s not found') % 'flex')
         if not inpath('bison', os.environ['PATH'].split(os.pathsep)):
             uprint(_('%s not found') % 'bison')
+        if not inpath('xzcat', os.environ['PATH'].split(os.pathsep)):
+            uprint(_('%s not found') % 'xzcat')
 
 register_command(cmd_sanitycheck)
diff --git a/modulesets/bootstrap.modules b/modulesets/bootstrap.modules
index 098e9d3..5a2d63a 100644
--- a/modulesets/bootstrap.modules
+++ b/modulesets/bootstrap.modules
@@ -9,6 +9,8 @@
       href="http://www.python.org/ftp/python/"/>
   <repository type="tarball" name="sourceforge"
       href="http://dfn.dl.sourceforge.net/sourceforge/"/>
+  <repository type="tarball" name="tukaani.org"
+      href="http://tukaani.org/"/>
 
   <autotools id="gettext" autogen-sh="configure">
     <branch repo="ftp.gnu.org"
@@ -97,6 +99,12 @@
     </dependencies>
   </autotools>
 
+  <autotools id="xz">
+    <branch repo="tukaani.org" module="xz/xz-5.0.1.tar.bz2" version="5.0.1"
+            size="1005959" md5sum="cb6c7a58cec4d663a395c54d186ca0c6"
+            hash="sha256:9b380f502d37085a60821484a3a13747454638927cc36033be64970512451ed8"/>
+  </autotools>
+
   <metamodule id="meta-bootstrap">
     <dependencies>
       <dep package="gettext" />



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