New commits:
commit d384878fa2670e82f74a20cd1a35cd9123c5c4fd
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
mupdf: rebuild spells depending on static libs
diff --git a/doc/mupdf/HISTORY b/doc/mupdf/HISTORY
index b65c5d4..52a76ea 100644
--- a/doc/mupdf/HISTORY
+++ b/doc/mupdf/HISTORY
@@ -1,3 +1,6 @@
+2016-10-01 Vlad Glagolev <stealth AT sourcemage.org>
+ * UP_TRIGGERS: added, to rebuild spells depending on mupdf static libs
+
2016-09-30 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: added forgotten SECURITY_PATCH
* BUILD: dropped not required '-fstack-protector-all', replaced by
diff --git a/doc/mupdf/UP_TRIGGERS b/doc/mupdf/UP_TRIGGERS
new file mode 100755
index 0000000..43ca680
--- /dev/null
+++ b/doc/mupdf/UP_TRIGGERS
@@ -0,0 +1,11 @@
+# up_trigger everything on recast because of static libs (libmupdf.a,
libmupdfthird.a)
+
+if spell_ok ${SPELL}; then
+ message "${MESSAGE_COLOR}This is due to rebuild of static libraries in
${SPELL_COLOR}${SPELL}${MESSAGE_COLOR}"
+ message "Figuring out what spells need to be recast, this may take a
while...${DEFAULT_COLOR}"
+ for each in $(show_up_depends ${SPELL} 1); do
+ if gaze install $each | xargs readelf -s 2> /dev/null | grep -q
"FUNC.*fz_"; then
+ up_trigger $each cast_self
+ fi
+ done
+fi
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (07628f0e221b3db73862950d5600c1ba34aa63c5),
Vlad Glagolev, 10/01/2016