[SM-Commit] GIT changes to master grimoire by Treeve Jelbert (f3c17cf7436d2997a17c70698f9cdf2812cc9192)

Treeve Jelbert scm at sourcemage.org
Thu Dec 17 13:55:33 EST 2009


GIT changes to master grimoire by Treeve Jelbert <treeve at sourcemage.org>:

 libs/rasqal/DETAILS     |    3 +--
 libs/rasqal/HISTORY     |    4 ++++
 libs/rasqal/UP_TRIGGERS |   16 ++++++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

New commits:
commit c9a447955021d58195c5b80dc55e7b3b9ba39f56
Author: Treeve Jelbert <treeve at sourcemage.org>
Commit: Treeve Jelbert <treeve at sourcemage.org>

    rasqal: => 0.9.17

diff --git a/libs/rasqal/DETAILS b/libs/rasqal/DETAILS
index 3810655..1acb2d1 100755
--- a/libs/rasqal/DETAILS
+++ b/libs/rasqal/DETAILS
@@ -1,6 +1,5 @@
            SPELL=rasqal
-         VERSION=0.9.16
-      PATCHLEVEL=1
+         VERSION=0.9.17
           SOURCE="${SPELL}-${VERSION}.tar.gz"
          SOURCE2=$SOURCE.asc
    SOURCE_URL[0]=$SOURCEFORGE_URL/librdf/$SOURCE
diff --git a/libs/rasqal/HISTORY b/libs/rasqal/HISTORY
index 803230c..13f8f15 100644
--- a/libs/rasqal/HISTORY
+++ b/libs/rasqal/HISTORY
@@ -1,3 +1,7 @@
+2009-12-17 Treeve Jelbert <treeve at sourcemage.org>
+	* DETAILS: version 0.9.17
+	* UP_TRIGGERS: added
+
 2009-04-13 Treeve Jelbert <treeve at sourcemage.org>
 	* DETAILS: PATCHLEVEL=1
 
diff --git a/libs/rasqal/UP_TRIGGERS b/libs/rasqal/UP_TRIGGERS
new file mode 100755
index 0000000..8a56fbd
--- /dev/null
+++ b/libs/rasqal/UP_TRIGGERS
@@ -0,0 +1,16 @@
+# up_trigger everything on minor version updates as most stuff links to librasqal.so.1
+
+local OLD_SPELL_VERSION=""
+if spell_ok  $SPELL; then
+  OLD_SPELL_VERSION="$(installed_version $SPELL)"
+  if test "${VERSION:0:4}" != "${OLD_SPELL_VERSION:0:4}"; then
+    message "This is a possibly incompatible update of rasqal ..."
+    message "Figuring out what spells need to be recast, this may take a while."
+    for each in $(show_up_depends $SPELL 2); do
+      if gaze install $each | xargs readelf -d 2> /dev/null |
+         grep -q "NEEDED.*librasqal.so.1"; then
+           up_trigger $each cast_self
+      fi
+    done
+  fi
+fi



More information about the SM-Commit mailing list