Skip to Content.
Sympa Menu

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

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
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (51b7e56b52d28dfc39e8328b1cc8f52be623ecc4)
  • Date: Tue, 10 Jan 2023 01:26:08 +0000

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

gnome2-libs/glib2/HISTORY | 1 +
gnome2-libs/glib2/UP_TRIGGERS | 20 +++++++++++++++++++-
2 files changed, 20 insertions(+), 1 deletion(-)

New commits:
commit 51b7e56b52d28dfc39e8328b1cc8f52be623ecc4
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

gnome2-libs/glib2: added up_triggering code on minor version change

diff --git a/gnome2-libs/glib2/HISTORY b/gnome2-libs/glib2/HISTORY
index 1e0b47d..d62e9a3 100644
--- a/gnome2-libs/glib2/HISTORY
+++ b/gnome2-libs/glib2/HISTORY
@@ -1,6 +1,7 @@
2023-01-09 Pavel Vinpgradov <public AT sourcemage.org>
* DETAILS, PREPARE, *SUB_DEPENDS: added stable branch +
sub_dependencies on
each branch
+ * UP_TRIGGERS: added triggering on minor version change

2023-01-06 Pavel Vinpgradov <public AT sourcemage.org>
* DETAILS: version 2.75.2
diff --git a/gnome2-libs/glib2/UP_TRIGGERS b/gnome2-libs/glib2/UP_TRIGGERS
index 5729fff..17f8a26 100755
--- a/gnome2-libs/glib2/UP_TRIGGERS
+++ b/gnome2-libs/glib2/UP_TRIGGERS
@@ -2,5 +2,23 @@
if [[ -e "$INSTALL_ROOT/usr/lib/libgobject-2.0.la" ]]; then
. $GRIMOIRE/la_remove_up_trigger.function
la_remove_up_trigger 0
-fi
+fi &&
+
+# up_trigger everything on 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
+ if gaze install $each | xargs readelf -d 2> /dev/null |
+ grep -q
"NEEDED.*\(libgio\|libglib\|libgmodule\|libgobject\|libgthread\)\-2\.0\.so";
then
+ up_trigger $each cast_self
+ fi
+ done
+ fi
+fi



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (51b7e56b52d28dfc39e8328b1cc8f52be623ecc4), Pavel Vinogradov, 01/09/2023

Archive powered by MHonArc 2.6.24.

Top of Page