Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (975c32810d4538795209ee6a6d4a84c449bf3170)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (975c32810d4538795209ee6a6d4a84c449bf3170)
  • Date: Fri, 13 Mar 2015 14:00:22 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

libs/icu/HISTORY | 5 ++++-
libs/icu/UP_TRIGGERS | 19 +++++++++----------
2 files changed, 13 insertions(+), 11 deletions(-)

New commits:
commit 0abd8ef3eb601b9486ca2f78dc306dd679569215
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

icu: fixed UP_TRIGGERS for correct upgrade

diff --git a/libs/icu/HISTORY b/libs/icu/HISTORY
index 8ca7e56..f5df02d 100644
--- a/libs/icu/HISTORY
+++ b/libs/icu/HISTORY
@@ -1,5 +1,8 @@
+2015-03-13 Vlad Glagolev <stealth AT sourcemage.org>
+ * UP_TRIGGERS: rewritten, to fix upgrade procedure
+
2014-10-25 Treeve Jelbert <treeve AT sourcemage.org>
- * DEPENDS:update sha512 sum
+ * DEPENDS: update sha512 sum

2014-10-02 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 54.1 (both)
diff --git a/libs/icu/UP_TRIGGERS b/libs/icu/UP_TRIGGERS
index b26375c..a43ab7f 100755
--- a/libs/icu/UP_TRIGGERS
+++ b/libs/icu/UP_TRIGGERS
@@ -1,16 +1,15 @@
-# up_trigger everything on minor version updates
+# up_trigger everything on all version updates
+
+if spell_ok $SPELL; then
+ local OLD_SPELL_VERSION="$(installed_version $SPELL)" &&
+
+ if test "${VERSION}" != "${OLD_SPELL_VERSION}"; then
+ message "${MESSAGE_COLOR}This is a possibly incompatible update of
$SPELL..." &&
+ message "Figuring out what spells need to be recast, this may take a
while.${DEFAULT_COLOR}" &&

-local OLD_SPELL_VERSION=""
-if spell_ok $SPELL; then
- OLD_SPELL_VERSION="$(installed_version $SPELL)"
- OLD_SPELL_VERSION=${OLD_SPELL_VERSION:0:3}
- if test "${VERSION:0:3}" != "${OLD_SPELL_VERSION}"; then
- message "This is a possibly incompatible update of icu..."
- message "Figuring out what spells need to be recast, this may take a
while."
- OLD_SPELL_VERSION=${OLD_SPELL_VERSION//.}
for each in $(show_up_depends $SPELL 1); do
if gaze install $each | xargs readelf -d 2> /dev/null |
- grep -q "NEEDED.*libicuuc.so.${OLD_SPELL_VERSION}"; then
+ grep -q "NEEDED.*\(libicuuc\|libicuio\|libicui18n\)\.so"; then
up_trigger $each cast_self
fi
done



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (975c32810d4538795209ee6a6d4a84c449bf3170), Vlad Glagolev, 03/13/2015

Archive powered by MHonArc 2.6.24.

Top of Page