[SM-Commit] GIT changes to devel-gnome-2.30 grimoire by Vasil Yonkov (a5ab73b56d68e5d307506f81741534b6590a2f05)

Vasil Yonkov scm at sourcemage.org
Wed Mar 10 12:54:33 EST 2010


GIT changes to devel-gnome-2.30 grimoire by Vasil Yonkov <spirtbrat at sourcemage.org>:

 disk/udisks/DEPENDS                   |    2 +-
 disk/udisks/HISTORY                   |    3 +++
 gnome2-libs/policykit/HISTORY         |    3 +++
 gnome2-libs/policykit/PRE_SUB_DEPENDS |    6 ++++++
 gnome2-libs/policykit/SUB_DEPENDS     |    6 ++++++
 5 files changed, 19 insertions(+), 1 deletion(-)

New commits:
commit a5ab73b56d68e5d307506f81741534b6590a2f05
Author: Vasil Yonkov <spirtbrat at sourcemage.org>
Commit: Vasil Yonkov <spirtbrat at sourcemage.org>

    udisks: depends on policykit with gobject-introspection

commit 50e9664d1900070fc991442d932e284c9a5fe3f2
Author: Vasil Yonkov <spirtbrat at sourcemage.org>
Commit: Vasil Yonkov <spirtbrat at sourcemage.org>

    policykit: added PRE_SUB_DEPENDS and SUB_DEPENDS to handle
               gobject-introspection sub_depends

diff --git a/disk/udisks/DEPENDS b/disk/udisks/DEPENDS
index eeb0537..b316af0 100755
--- a/disk/udisks/DEPENDS
+++ b/disk/udisks/DEPENDS
@@ -1,9 +1,9 @@
 depends sg3_utils   &&
-depends policykit   &&
 depends parted      &&
 depends lvm         &&
 depends libatasmart &&
 depends docbook-xsl &&
+depends -sub GOBJ policykit &&
 
 optional_depends man                        \
                  "--enable-man-pages"       \
diff --git a/disk/udisks/HISTORY b/disk/udisks/HISTORY
index 9497686..2bf2b5a 100644
--- a/disk/udisks/HISTORY
+++ b/disk/udisks/HISTORY
@@ -1,3 +1,6 @@
+2010-03-10 Vasil Yonkov <spirtbrat at sourcemage.org>
+	* DEPENDS: depends on policykit with gobject-introspection
+
 2010-03-03 Vasil Yonkov <spirtbrat at sourcemage.org>
 	* DEPENDS, DETAILS: spell created
 
diff --git a/gnome2-libs/policykit/HISTORY b/gnome2-libs/policykit/HISTORY
index 5e2e28d..546f45e 100644
--- a/gnome2-libs/policykit/HISTORY
+++ b/gnome2-libs/policykit/HISTORY
@@ -1,3 +1,6 @@
+2010-03-10 Vasil Yonkov <spirtbrat at sourcemage.org>
+	* PRE_SUB_DEPENDS, SUB_DEPENDS: created
+
 2010-02-16 Arwed v. Merkatz <v.merkatz at gmx.net>
 	* PRE_BUILD, polkit-shadow.diff: added patch for shadow support from
 	  the policykit-devel mailing list
diff --git a/gnome2-libs/policykit/PRE_SUB_DEPENDS b/gnome2-libs/policykit/PRE_SUB_DEPENDS
new file mode 100755
index 0000000..1d04bd1
--- /dev/null
+++ b/gnome2-libs/policykit/PRE_SUB_DEPENDS
@@ -0,0 +1,6 @@
+case $THIS_SUB_DEPENDS in
+  GOBJ) is_depends_enabled $SPELL libpng && then return 0;;
+     *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL 
+$THIS_SUB_DEPENDS${DEFAULT_COLOR}" ; return 1;;
+esac
+return 1
diff --git a/gnome2-libs/policykit/SUB_DEPENDS b/gnome2-libs/policykit/SUB_DEPENDS
new file mode 100755
index 0000000..0b89fd3
--- /dev/null
+++ b/gnome2-libs/policykit/SUB_DEPENDS
@@ -0,0 +1,6 @@
+case $THIS_SUB_DEPENDS in
+GOBJ) echo "gobject-introspection support requested, forcing dependency." &&
+      depends gobject-introspection
+      ;;
+   *) echo unknown sub-depends!!! ; return 1 ;;
+esac



More information about the SM-Commit mailing list