From: Perforce Review Daemon <p4review AT smee.org>
To: "Andrew Stitt" <a AT t.armory.com>, "Arjan Bouter" <abouter AT sourcemage.org>, "SM-Commit Daemon" <sm-commit AT lists.ibiblio.org>, "duane_malcolm" <d.malcolm AT auckland.ac.nz>, "Ethan Grammatikidis" <eekee AT eekee.is-a-geek.org>, "Gareth Clay" <gareth AT caffeinefuelled.co.uk>, "Ladislav Hagara" <ladislav.hagara AT unob.cz>, "Maurizio Boriani" <baux AT member.fsf.org>, "Pieter Lenaerts" <e-type AT sourcemage.org>, "Robin Cook" <rcook AT wyrms.net>, "Seth Woolley" <seth AT swoolley.homeip.net>, "Unet" <unet AT sourcemage.org>, "vladimir_marek" <vlmarek AT volny.cz>
Subject: [SM-Commit] PERFORCE change 78590 by Arwed von Merkatz for review
Date: Fri, 28 Apr 2006 18:00:01 +0100 (BST)
Change 78590 by arwed_von_merkatz@arwed-Otherland on 2006/04/28 17:58:46
replaced calls to 'gaze depends' with fast_up_depends, added that to
libcompat, bug #10661
@@ -1,3 +1,6 @@
+2006-04-28 Arwed v. Merkatz <v.merkatz AT gmx.net>
+ * libcompat: added fast_up_depends function, bug #10661
+
2006-04-27 Alex S. Tsamutali <astsmtl AT gmail.com>
* libs/libstatgrab: new spell, cross platform system stats access
library
* python-devel/pystatgrab: new spell, python bindings for libstatgrab
@@ -2,7 +2,7 @@
local OLD_SPELL_VERSION=""
spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)"
if [ "$VERSION" != "$OLD_SPELL_VERSION" ]; then
- for each in $(gaze depends $SPELL 1 | cut -f1 -d:); do
+ for each in $(fast_up_depends $SPELL 1); do
up_trigger $each cast_self
done
fi
@@ -3,7 +3,7 @@
local OLD_SPELL_VERSION=""
spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)"
if [ "${VERSION/[a-z]*/}" != "${OLD_SPELL_VERSION/[a-z]*/}" ]; then
- for each in $(gaze depends $SPELL 1|cut -f1 -d:); do
+ for each in $(fast_up_depends $SPELL 1); do
up_trigger $each cast_self
done
fi
@@ -6,7 +6,7 @@
if test "${VERSION:0:3}" != "${OLD_SPELL_VERSION:0:3}"; then
message "This is a possibly incompatible update of libdb..."
message "Figuring out what spells need to be recast, this may take a
while."
- for each in $(gaze depends $SPELL | cut -f1 -d: | sort | uniq); do
+ for each in $(fast_up_depends $SPELL); do
if gaze install $each | xargs readelf -d 2> /dev/null |
grep -q "NEEDED.*libdb\(\|_cxx\)-${OLD_SPELL_VERSION:0:3}"; then
up_trigger $each cast_self
@@ -6,7 +6,7 @@
if test "${VERSION:0:1}" != "${OLD_SPELL_VERSION:0:1}"; then
message "This is a possibly incompatible update of firebird..."
message "Figuring out what spells need to be recast, this may take a
while."
- for each in $(gaze depends $SPELL 1 | cut -f1 -d: | sort | uniq); do
+ for each in $(fast_up_depends $SPELL 1); do
if gaze install $each | xargs readelf -d 2> /dev/null |
grep -q "NEEDED.*libfbclient.so.${OLD_SPELL_VERSION:0:1}"; then
up_trigger $each cast_self
@@ -6,7 +6,7 @@
if test "${VERSION:0:3}" != "${OLD_SPELL_VERSION:0:3}"; then
message "This is a possibly incompatible update of parted..."
message "Figuring out what spells need to be recast, this may take a
while."
- for each in $(gaze depends $SPELL 1 | cut -f1 -d: | sort | uniq); do
+ for each in $(fast_up_depends $SPELL 1); do
if gaze install $each | xargs readelf -d 2> /dev/null |
grep -q "NEEDED.*libparted-${OLD_SPELL_VERSION:0:3}.so*"; then
up_trigger $each cast_self
@@ -4,7 +4,7 @@
if test "${VERSION:0:4}" != "${OLD_SPELL_VERSION:0:4}"; then
message "This is a possibly incompatible update of libgsf..."
message "Figuring out what spells need to be recast."
- for each in $(gaze depends $SPELL| cut -f1 -d: | sort | uniq); do
+ for each in $(fast_up_depends $SPELL); do
if gaze install $each | xargs readelf -d 2> /dev/null |
grep -q "NEEDED.*libgsf-1.so.113"; then
up_trigger $each cast_self
@@ -4,7 +4,7 @@
if test "${VERSION:0:4}" != "${OLD_SPELL_VERSION:0:4}"; then
message "This is a possibly incompatible update of libgtop-2.0..."
message "Figuring out what spells need to be recast."
- for each in $(gaze depends $SPELL 1| cut -f1 -d: | sort | uniq); do
+ for each in $(fast_up_depends $SPELL 1); do
if gaze install $each | xargs readelf -d 2> /dev/null |
grep -q "NEEDED.*libgtop-2.0.so.5"; then
up_trigger $each cast_self
@@ -4,7 +4,7 @@
if test "${VERSION:0:4}" != "${OLD_SPELL_VERSION:0:4}"; then
message "This is a possibly incompatible update of libnautilus-burn..."
message "Figuring out what spells need to be recast."
- for each in $(gaze depends $SPELL 1| cut -f1 -d: | sort | uniq); do
+ for each in $(fast_up_depends $SPELL 1); do
if gaze install $each | xargs readelf -d 2> /dev/null |
grep -q "NEEDED.*libnautilus-burn.so.2"; then
up_trigger $each cast_self
@@ -6,7 +6,7 @@
if test "${VERSION:0:3}" != "${OLD_SPELL_VERSION:0:3}"; then
message "This is a possibly incompatible update of libexpat..."
message "Figuring out what spells need to be recast, this may take a
while."
- for each in $(gaze depends $SPELL | cut -f1 -d: | sort | uniq); do
+ for each in $(fast_up_depends $SPELL); do
if gaze install $each | xargs readelf -d 2> /dev/null |
grep -q "NEEDED.*libexpat.so.0"; then
up_trigger $each cast_self
@@ -6,7 +6,7 @@
if test "${VERSION:0:4}" != "${OLD_SPELL_VERSION:0:4}"; then
message "This is a possibly incompatible update of newt..."
message "Figuring out what spells need to be recast, this may take a
while."
- for each in $(gaze depends $SPELL 1 | cut -f1 -d: | sort | uniq); do
+ for each in $(fast_up_depends $SPELL 1); do
if gaze install $each | xargs readelf -d 2> /dev/null |
grep -q "NEEDED.*libnewt.so.${OLD_SPELL_VERSION:0:4}"; then
up_trigger $each cast_self
@@ -1,7 +1,7 @@
local OLD_SPELL_VERSION=""
spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)"
if [ "$VERSION" != "$OLD_SPELL_VERSION" ]; then
- for name in $(gaze depends --fast perl); do
+ for name in $(fast_up_depends perl); do
if test -f $INSTALL_LOGS/$name-$(installed_version $name); then
if grep -q "$TRACK_ROOT/usr/lib/perl5.*\.pm$" \
$INSTALL_LOGS/$name-$(installed_version $name); then
@@ -2,11 +2,11 @@
echo "This spell conflicts with gnulpr and will cause it and any
dependants to be dispelled."
if query "Would you like to see a list of affected spells? " y; then
- gaze depends gnulpr
+ fast_up_depends gnulpr
echo "gnulpr"
if query "Would you like to continue casting? " y; then
- for CASTED_SPELL in `gaze depends gnulpr`; do
+ for CASTED_SPELL in `fast_up_depends gnulpr`; do
if [ "`gaze installed | grep $CASTED_SPELL | cut -d: -f1`"
= "$CASTED_SPELL" ]; then
dispel $CASTED_SPELL
fi
@@ -18,7 +18,7 @@
fi
else
if query "Would you like to continue casting? " y; then
- for CASTED_SPELL in `gaze depends gnulpr`; do
+ for CASTED_SPELL in `fast_up_depends gnulpr`; do
if [ "`gaze installed | grep $CASTED_SPELL | cut -d: -f1`"
= "$CASTED_SPELL" ]; then
dispel $CASTED_SPELL
fi
@@ -2,11 +2,11 @@
echo "This spell conflicts with cups and will cause it and any dependants
to be dispelled."
if query "Would you like to see a list of affected spells? " y; then
- gaze depends cups
+ fast_up_depends cups
echo "cups"
if query "Would you like to continue casting? " y; then
- for CASTED_SPELL in `gaze depends cups`; do
+ for CASTED_SPELL in `fast_up_depends cups`; do
if [ "`gaze installed | grep $CASTED_SPELL | cut -d: -f1`"
= "$CASTED_SPELL" ]; then
dispel $CASTED_SPELL
fi
@@ -18,7 +18,7 @@
fi
else
if query "Would you like to continue casting? " y; then
- for CASTED_SPELL in `gaze depends cups`; do
+ for CASTED_SPELL in `fast_up_depends cups`; do
if [ "`gaze installed | grep $CASTED_SPELL | cut -d: -f1`"
= "$CASTED_SPELL" ]; then
dispel $CASTED_SPELL
fi
@@ -1,4 +1,8 @@
2006-04-28 Arwed v. Merkatz <v.merkatz AT gmx.net>
+ * UP_TRIGGERS: replaced 'gaze depends' call with
+ fast_up_depends, bug #10661
+
+2006-04-28 Arwed v. Merkatz <v.merkatz AT gmx.net>
* DEPENDS, PRE_BUILD: changed gtk-sharp to mono, remove the example
in PRE_BUILD so it compiles without gtk-sharp
* REPAIR^none^PRE_SUB_DEPENDS: removed
@@ -6,7 +6,7 @@
if test "${VERSION:0:3}" != "${OLD_SPELL_VERSION:0:3}"; then
message "This is a possibly incompatible update of libdbus..."
message "Figuring out what spells need to be recast, this may take a
while."
- for each in $(gaze depends $SPELL| cut -f1 -d: | sort | uniq); do
+ for each in $(fast_up_depends $SPELL); do
if gaze install $each | xargs readelf -d 2> /dev/null |
grep -q "NEEDED.*libdbus\(\|_cxx\)-1.so.1"; then
up_trigger $each cast_self
@@ -4,7 +4,7 @@
local OLD_SPELL_VERSION=""
spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)"
if [ "${OLD_SPELL_VERSION:0:3}" = "0.8" ]; then
- for each in $(gaze depends $SPELL 1 | cut -f1 -d:); do
+ for each in $(fast_up_depends $SPELL 1); do
up_trigger $each cast_self
done
fi
@@ -4,7 +4,7 @@
if test "${VERSION:0:3}" != "${OLD_SPELL_VERSION:0:3}"; then
message "This is a possibly incompatible update of libtotem-plparser..."
message "Figuring out what spells need to be recast."
- for each in $(gaze depends $SPELL 1| cut -f1 -d: | sort | uniq); do
+ for each in $(fast_up_depends $SPELL 1); do
if gaze install $each | xargs readelf -d 2> /dev/null |
grep -q "NEEDED.*libtotem-plparser.so.0"; then
up_trigger $each cast_self
[SM-Commit] PERFORCE change 78590 by Arwed von Merkatz for review,
Perforce Review Daemon, 04/28/2006