[jhbuild/external-deps: 16/19] Don't build gtk-doc if we have a new enough version installed already



commit e1f312873ddf3b9276b3b98c95fac2cce5f2c7c1
Author: John Carr <john carr unrouted co uk>
Date:   Mon Jun 1 11:36:43 2009 +0100

    Don't build gtk-doc if we have a new enough version installed already
---
 jhbuild/modtypes/__init__.py         |    2 +-
 modulesets/gnome-suites-2.28.modules |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/jhbuild/modtypes/__init__.py b/jhbuild/modtypes/__init__.py
index d29f065..4b399a3 100644
--- a/jhbuild/modtypes/__init__.py
+++ b/jhbuild/modtypes/__init__.py
@@ -139,7 +139,7 @@ class Package:
         """ Given a list of modules, which of those modules have dependencies on us """
         rdeps = []
         for mod in modules:
-            if self in mod.dependencies:
+            if self.name in mod.dependencies:
                 rdeps.append(mod)
         return rdeps
 
diff --git a/modulesets/gnome-suites-2.28.modules b/modulesets/gnome-suites-2.28.modules
index 5c4abe6..4a79856 100644
--- a/modulesets/gnome-suites-2.28.modules
+++ b/modulesets/gnome-suites-2.28.modules
@@ -69,7 +69,7 @@
   <autotools id="glib">
     <branch/>
     <dependencies>
-      <dep package="gtk-doc"/>
+      <dep package="gtk-doc" minimum="1.11"/>
     </dependencies>
     <after>
       <dep package="shared-mime-info"/>



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