Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ethan Grammatikidis (debe9ae61db0bc1512e989ed555f2dde8bb4051b)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ethan Grammatikidis <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ethan Grammatikidis (debe9ae61db0bc1512e989ed555f2dde8bb4051b)
  • Date: Thu, 30 Apr 2009 14:08:14 -0500

GIT changes to master grimoire by Ethan Grammatikidis <eekee57 AT fastmail.fm>:

audio-libs/openal-soft/HISTORY | 1 +
audio-libs/openal-soft/UP_TRIGGERS | 24 ++++++++++++++++--------
audio-libs/openal/HISTORY | 1 +
audio-libs/openal/UP_TRIGGERS | 24 ++++++++++++++++--------
4 files changed, 34 insertions(+), 16 deletions(-)

New commits:
commit debe9ae61db0bc1512e989ed555f2dde8bb4051b
Author: Ethan Grammatikidis <eekee57 AT fastmail.fm>
Commit: Ethan Grammatikidis <eekee57 AT fastmail.fm>

openal, openal-soft: modified UP_TRIGGERS. Pretty sure it isn't right
yet. Am surprised there aren't sorcery or at least grimoire functions
to do this sort of thing.

diff --git a/audio-libs/openal-soft/HISTORY b/audio-libs/openal-soft/HISTORY
index 37b628c..43a9b8d 100644
--- a/audio-libs/openal-soft/HISTORY
+++ b/audio-libs/openal-soft/HISTORY
@@ -1,5 +1,6 @@
2009-04-30 Ethan Grammatikidis <eekee57 AT fastmail.fm>
* UP_TRIGGERS: new
+ * UP_TRIGGERS: not as simple as I thought

2009-04-21 Ethan Grammatikidis <eekee57 AT fastmail.fm>
* DEPENDS, DETAILS, BUILD, CONFLICTS: spell created
diff --git a/audio-libs/openal-soft/UP_TRIGGERS
b/audio-libs/openal-soft/UP_TRIGGERS
index 96d863a..1582fb8 100755
--- a/audio-libs/openal-soft/UP_TRIGGERS
+++ b/audio-libs/openal-soft/UP_TRIGGERS
@@ -1,8 +1,16 @@
-up_trigger blender cast_self &&
-up_trigger blender_cvs cast_self &&
-up_trigger freealut cast_self &&
-up_trigger mplayer cast_self &&
-up_trigger phoronix-test-suite cast_self &&
-up_trigger rss-glx cast_self &&
-up_trigger soya cast_self &&
-up_trigger xneur cast_self
+# up_trigger everything on major version updates
+local OLD_SPELL_VERSION=""
+if spell_ok $SPELL; then
+ OLD_SPELL_VERSION="$(installed_version $SPELL)"
+ if test "${VERSION}" != "${OLD_SPELL_VERSION}"; then
+ message "This is a possibly incompatible update of ${SPELL}..."
+ message "Figuring out what spells need to be recast, this may take a
while."
+ for each in $(show_up_depends $SPELL 1); do
+ if gaze install $each | xargs readelf -d 2> /dev/null |
+ grep -q "NEEDED.*libopenal.so.0"; then
+ up_trigger $each cast_self
+ fi
+ done
+ fi
+fi
+
diff --git a/audio-libs/openal/HISTORY b/audio-libs/openal/HISTORY
index efeb70d..e9f50d8 100644
--- a/audio-libs/openal/HISTORY
+++ b/audio-libs/openal/HISTORY
@@ -1,5 +1,6 @@
2009-04-30 Ethan Grammatikidis <eekee57 AT fastmail.fm>
* UP_TRIGGERS: new
+ * UP_TRIGGERS: not as simple as I thought

2009-04-21 Ethan Grammatikidis <eekee57 AT fastmail.fm>
* DETAILS, PRE_BUILD, SUB_DEPENDS, PRE_SUB_DEPENDS, PREPARE:
diff --git a/audio-libs/openal/UP_TRIGGERS b/audio-libs/openal/UP_TRIGGERS
index 96d863a..a24cf0b 100755
--- a/audio-libs/openal/UP_TRIGGERS
+++ b/audio-libs/openal/UP_TRIGGERS
@@ -1,8 +1,16 @@
-up_trigger blender cast_self &&
-up_trigger blender_cvs cast_self &&
-up_trigger freealut cast_self &&
-up_trigger mplayer cast_self &&
-up_trigger phoronix-test-suite cast_self &&
-up_trigger rss-glx cast_self &&
-up_trigger soya cast_self &&
-up_trigger xneur cast_self
+# up_trigger everything on major version updates
+local OLD_SPELL_VERSION=""
+if spell_ok $SPELL; then
+ OLD_SPELL_VERSION="$(installed_version $SPELL)"
+ if test "${VERSION}" != "${OLD_SPELL_VERSION}"; then
+ message "This is a possibly incompatible update of ${SPELL}..."
+ message "Figuring out what spells need to be recast, this may take a
while."
+ for each in $(show_up_depends $SPELL 1); do
+ if gaze install $each | xargs readelf -d 2> /dev/null |
+ grep -q "NEEDED.*libopenal.so.1"; then
+ up_trigger $each cast_self
+ fi
+ done
+ fi
+fi
+



  • [SM-Commit] GIT changes to master grimoire by Ethan Grammatikidis (debe9ae61db0bc1512e989ed555f2dde8bb4051b), Ethan Grammatikidis, 04/30/2009

Archive powered by MHonArc 2.6.24.

Top of Page