Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (406109753ee6f699a7c4632b1759e9684d800f4d)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (406109753ee6f699a7c4632b1759e9684d800f4d)
  • Date: Mon, 23 Dec 2024 02:00:10 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

wm-addons/hyprutils/DETAILS | 4 ++--
wm-addons/hyprutils/HISTORY | 4 ++++
wm-addons/hyprutils/UP_TRIGGERS | 16 ++++++++++++++++
3 files changed, 22 insertions(+), 2 deletions(-)

New commits:
commit 406109753ee6f699a7c4632b1759e9684d800f4d
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

wm-addons/hyprutils: version 0.3.0

diff --git a/wm-addons/hyprutils/DETAILS b/wm-addons/hyprutils/DETAILS
index 9dd334d..fff9ba6 100755
--- a/wm-addons/hyprutils/DETAILS
+++ b/wm-addons/hyprutils/DETAILS
@@ -9,8 +9,8 @@ if [[ "${HYPRUTILS_BRANCH}" == "scm" ]]; then
SOURCE_IGNORE="volatile"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
else
- VERSION="0.2.6"
-
SOURCE_HASH="sha512:7d3778251c82d9e0aae260862416ea808950194fb36ecebabddec6fd47620c1a65c11365e847454e63675ed7f549270dce9e3b97e8951242239c5b01a7e54339"
+ VERSION="0.3.0"
+
SOURCE_HASH="sha512:4010670d92c0067e0f9ea03f0356dcac09f90f468f33f0e14b9866a7ca1a9baa1f348589734f72cfbe3e1ecf4ab0afc262f6f0df973ca6bca92e77d08c54eabe"
SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"

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

Archive powered by MHonArc 2.6.24.

Top of Page