New commits:
commit 406109753ee6f699a7c4632b1759e9684d800f4d
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
SOURCE_URL[0]="https://github.com/hyprwm/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz"
diff --git a/wm-addons/hyprutils/HISTORY b/wm-addons/hyprutils/HISTORY
index d815bec..3420616 100644
--- a/wm-addons/hyprutils/HISTORY
+++ b/wm-addons/hyprutils/HISTORY
@@ -1,3 +1,7 @@
+2024-12-22 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 0.3.0
+ * UP_TRIGGERS: added to deal with ABI breakages
+
2024-11-16 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 0.2.6
diff --git a/wm-addons/hyprutils/UP_TRIGGERS b/wm-addons/hyprutils/UP_TRIGGERS
new file mode 100755
index 0000000..80847df
--- /dev/null
+++ b/wm-addons/hyprutils/UP_TRIGGERS
@@ -0,0 +1,16 @@
+# up_trigger everything on major/minor 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 dependees="$(show_up_depends ${SPELL} 1)" &&
+
+ for each in ${dependees}; do
+ up_trigger "${each}" cast_self
+ done
+ fi
+fi
[[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (406109753ee6f699a7c4632b1759e9684d800f4d),
Pavel Vinogradov, 12/22/2024