sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Jaka Kranjc (4d6ca170ee2abe1325dad806ddd7ae28a0cc825d)
- From: Jaka Kranjc <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (4d6ca170ee2abe1325dad806ddd7ae28a0cc825d)
- Date: Sat, 3 Jan 2009 07:20:32 -0600
GIT changes to master grimoire by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:
utils/gpm/HISTORY | 1 +
utils/gpm/UP_TRIGGERS | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
New commits:
commit 4d6ca170ee2abe1325dad806ddd7ae28a0cc825d
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
gpm: UP_TRIGGERS: added due to soname change
diff --git a/utils/gpm/HISTORY b/utils/gpm/HISTORY
index 5c3b06c..b12d483 100644
--- a/utils/gpm/HISTORY
+++ b/utils/gpm/HISTORY
@@ -1,4 +1,5 @@
2009-01-03 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * UP_TRIGGERS: added due to soname change
* gpm-OPEN_MAX-2.patch: removed, no longer needed
* gpm-OPEN_MAX-1.patch: removed, no longer needed
* PRE_BUILD: removed, no longer needed
diff --git a/utils/gpm/UP_TRIGGERS b/utils/gpm/UP_TRIGGERS
new file mode 100755
index 0000000..e5472f9
--- /dev/null
+++ b/utils/gpm/UP_TRIGGERS
@@ -0,0 +1,16 @@
+# add new versions here if the soname changes
+local API_BREAK_VERSIONS="1.20.1 "
+
+if spell_ok $SPELL; then
+ local OLD_SPELL_VERSION=$(installed_version $SPELL)
+ if list_find "$API_BREAK_VERSIONS" $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.*libgpm.*${OLD_SPELL_VERSION:0:3}"; then
+ up_trigger $each cast_self
+ fi
+ done
+ fi
+fi
- [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (4d6ca170ee2abe1325dad806ddd7ae28a0cc825d), Jaka Kranjc, 01/03/2009
Archive powered by MHonArc 2.6.24.