New commits:
commit 6f2e99b6bd1a9cdefb3d5167d082c20d9d78859f
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
xorg-server/UP_TRIGGERS revamped
1. triggering only for people with 8 different xorg-server versions
installed at the same time is funny
2. a hardcoded list meant missing a few spells
3. gaze depends is different in normal mode in 1.14
Now the file works as intended. Yes, I actually ran it.
diff --git a/xorg-xserver/xorg-server/HISTORY
b/xorg-xserver/xorg-server/HISTORY
index 1f208f5..3234bc5 100644
--- a/xorg-xserver/xorg-server/HISTORY
+++ b/xorg-xserver/xorg-server/HISTORY
@@ -1,3 +1,6 @@
+2008-08-30 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * UP_TRIGGERS: fixed this braindead pos
+
2008-08-30 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
* CONFIGURE: added xf86-video-intel, thanks Enqlave
* DEPENDS: added xf86-video-intel, thanks Enqlave
diff --git a/xorg-xserver/xorg-server/UP_TRIGGERS
b/xorg-xserver/xorg-server/UP_TRIGGERS
index 27dfc50..1e9f477 100755
--- a/xorg-xserver/xorg-server/UP_TRIGGERS
+++ b/xorg-xserver/xorg-server/UP_TRIGGERS
@@ -5,141 +5,23 @@ local provider
local spell
for provider in xorg xfree86{,-devel,-libs,-4.3} xdirectfb; do
- for spell in $(gaze depends $provider 1 | cut -d: -f1); do
+ for spell in $(gaze -q depends $provider 1); do
#
# Recast each spell still using monolithic X, if it's installed
- # See http://bugs.sourcemage.org/show_bug.cgi?id=14373 for the issue
+ # See http://bugs.sourcemage.org/show_bug.cgi?id=14373 for the "issue"
# with Sorcery not switching out a no longer available provider
#
- if spell_ok $spell; then
- up_trigger $spell cast_self
- fi
+ up_trigger $spell cast_self
done # Finished spell loop
done # Finished provider loop