Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Bor Kraljič (65d8386f8e15fa65593bd5be87e45bcb4494b289)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Bor Kraljič <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Bor Kraljič (65d8386f8e15fa65593bd5be87e45bcb4494b289)
  • Date: Mon, 12 Sep 2011 10:25:55 -0500

GIT changes to master grimoire by Bor Kraljič <pyrobor AT ver.si>:

disk/udev/HISTORY | 3 +++
disk/udev/REPAIR^all^PRE_SUB_DEPENDS | 10 +++++++---
disk/udev/REPAIR^all^SUB_DEPENDS | 9 +++++++++
3 files changed, 19 insertions(+), 3 deletions(-)

New commits:
commit 65d8386f8e15fa65593bd5be87e45bcb4494b289
Author: Bor Kraljič <pyrobor AT ver.si>
Commit: Bor Kraljič <pyrobor AT ver.si>

udev: use the latest version of {,PRE}SUB_DEPENDS for REPAIR not some
ancient

diff --git a/disk/udev/HISTORY b/disk/udev/HISTORY
index aea9a4b..600cae4 100644
--- a/disk/udev/HISTORY
+++ b/disk/udev/HISTORY
@@ -1,3 +1,6 @@
+2011-09-12 Bor Kraljič <pyrobor AT ver.si>
+ * REPAIR^all^{,PRE}SUB_DEPENDS: use the latest version for REPAIR not
some ancient
+
2011-08-30 Vlad Glagolev <stealth AT sourcemage.org>
* BUILD: killed another typo

diff --git a/disk/udev/REPAIR^all^PRE_SUB_DEPENDS
b/disk/udev/REPAIR^all^PRE_SUB_DEPENDS
index 34515c6..5922183 100755
--- a/disk/udev/REPAIR^all^PRE_SUB_DEPENDS
+++ b/disk/udev/REPAIR^all^PRE_SUB_DEPENDS
@@ -1,5 +1,9 @@
case $THIS_SUB_DEPENDS in
- EXTRAS) list_find "$UDEV_OPTS" --enable-extras;;
-*) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
- return 1;;
+ EXTRAS) message "the spell you are trying to cast is broken."
+ message "Udev's sub_depends have changed, contact the maintainer."
;;
+ GUDEV) is_depends_enabled $SPELL glib2 && return 0 ;;
+ ACL) is_depends_enabled $SPELL acl && return 0 ;;
+ HWDB) list_find "$UDEV_HWDB" --enable-hwdb ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}"
+ return 1;;
esac
diff --git a/disk/udev/REPAIR^all^SUB_DEPENDS
b/disk/udev/REPAIR^all^SUB_DEPENDS
new file mode 100755
index 0000000..f078172
--- /dev/null
+++ b/disk/udev/REPAIR^all^SUB_DEPENDS
@@ -0,0 +1,9 @@
+case "$THIS_SUB_DEPENDS" in
+ EXTRAS) message "${PROBLEM_COLOR}EXTRAS is obsolete, please fix the
spell using it${DEFAULT_COLOR}" ;;
+ GUDEV) depends glib2 '--enable-gudev' ;;
+ ACL) depends acl '--enable-udev_acl' ;;
+ HWDB) list_remove UDEV_HWDB '--disable-hwdb'
+ list_add UDEV_HWDB '--enable-hwdb' ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" &&
+ return 1;;
+esac



  • [SM-Commit] GIT changes to master grimoire by Bor Kraljič (65d8386f8e15fa65593bd5be87e45bcb4494b289), Bor Kraljič, 09/12/2011

Archive powered by MHonArc 2.6.24.

Top of Page