mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
media-gfx/imagemagick: fix addpredict use
Newer Portage bans use of colons in addpredict calls. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -103,22 +103,22 @@ src_prepare() {
|
||||
# For testsuite, see bug #500580#c3
|
||||
local ati_cards mesa_cards nvidia_cards render_cards
|
||||
shopt -s nullglob
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
|
||||
if test -n "${nvidia_cards}"; then
|
||||
addpredict "${nvidia_cards}"
|
||||
fi
|
||||
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
|
||||
if test -n "${render_cards}"; then
|
||||
addpredict "${render_cards}"
|
||||
fi
|
||||
ati_cards=$(echo -n /dev/ati/card*)
|
||||
for card in "${ati_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
mesa_cards=$(echo -n /dev/dri/card*)
|
||||
for card in "${mesa_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
nvidia_cards=$(echo -n /dev/nvidia*)
|
||||
for card in "${nvidia_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
render_cards=$(echo -n /dev/dri/renderD128*)
|
||||
for card in "${render_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -103,22 +103,22 @@ src_prepare() {
|
||||
# For testsuite, see bug #500580#c3
|
||||
local ati_cards mesa_cards nvidia_cards render_cards
|
||||
shopt -s nullglob
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
|
||||
if test -n "${nvidia_cards}"; then
|
||||
addpredict "${nvidia_cards}"
|
||||
fi
|
||||
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
|
||||
if test -n "${render_cards}"; then
|
||||
addpredict "${render_cards}"
|
||||
fi
|
||||
ati_cards=$(echo -n /dev/ati/card*)
|
||||
for card in "${ati_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
mesa_cards=$(echo -n /dev/dri/card*)
|
||||
for card in "${mesa_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
nvidia_cards=$(echo -n /dev/nvidia*)
|
||||
for card in "${nvidia_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
render_cards=$(echo -n /dev/dri/renderD128*)
|
||||
for card in "${render_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -103,22 +103,22 @@ src_prepare() {
|
||||
# For testsuite, see bug #500580#c3
|
||||
local ati_cards mesa_cards nvidia_cards render_cards
|
||||
shopt -s nullglob
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
|
||||
if test -n "${nvidia_cards}"; then
|
||||
addpredict "${nvidia_cards}"
|
||||
fi
|
||||
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
|
||||
if test -n "${render_cards}"; then
|
||||
addpredict "${render_cards}"
|
||||
fi
|
||||
ati_cards=$(echo -n /dev/ati/card*)
|
||||
for card in "${ati_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
mesa_cards=$(echo -n /dev/dri/card*)
|
||||
for card in "${mesa_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
nvidia_cards=$(echo -n /dev/nvidia*)
|
||||
for card in "${nvidia_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
render_cards=$(echo -n /dev/dri/renderD128*)
|
||||
for card in "${render_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -106,25 +106,25 @@ src_prepare() {
|
||||
#elibtoolize # for Darwin modules
|
||||
eautoreconf
|
||||
|
||||
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
|
||||
# For testsuite, see bug #500580#c3
|
||||
local ati_cards mesa_cards nvidia_cards render_cards
|
||||
shopt -s nullglob
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
|
||||
if test -n "${nvidia_cards}"; then
|
||||
addpredict "${nvidia_cards}"
|
||||
fi
|
||||
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
|
||||
if test -n "${render_cards}"; then
|
||||
addpredict "${render_cards}"
|
||||
fi
|
||||
ati_cards=$(echo -n /dev/ati/card*)
|
||||
for card in "${ati_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
mesa_cards=$(echo -n /dev/dri/card*)
|
||||
for card in "${mesa_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
nvidia_cards=$(echo -n /dev/nvidia*)
|
||||
for card in "${nvidia_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
render_cards=$(echo -n /dev/dri/renderD128*)
|
||||
for card in "${render_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -108,25 +108,25 @@ src_prepare() {
|
||||
#elibtoolize # for Darwin modules
|
||||
eautoreconf
|
||||
|
||||
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
|
||||
# For testsuite, see bug #500580#c3
|
||||
local ati_cards mesa_cards nvidia_cards render_cards
|
||||
shopt -s nullglob
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
|
||||
if test -n "${nvidia_cards}"; then
|
||||
addpredict "${nvidia_cards}"
|
||||
fi
|
||||
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
|
||||
if test -n "${render_cards}"; then
|
||||
addpredict "${render_cards}"
|
||||
fi
|
||||
ati_cards=$(echo -n /dev/ati/card*)
|
||||
for card in "${ati_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
mesa_cards=$(echo -n /dev/dri/card*)
|
||||
for card in "${mesa_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
nvidia_cards=$(echo -n /dev/nvidia*)
|
||||
for card in "${nvidia_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
render_cards=$(echo -n /dev/dri/renderD128*)
|
||||
for card in "${render_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -108,25 +108,25 @@ src_prepare() {
|
||||
#elibtoolize # for Darwin modules
|
||||
eautoreconf
|
||||
|
||||
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
|
||||
# For testsuite, see bug #500580#c3
|
||||
local ati_cards mesa_cards nvidia_cards render_cards
|
||||
shopt -s nullglob
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
|
||||
if test -n "${nvidia_cards}"; then
|
||||
addpredict "${nvidia_cards}"
|
||||
fi
|
||||
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
|
||||
if test -n "${render_cards}"; then
|
||||
addpredict "${render_cards}"
|
||||
fi
|
||||
ati_cards=$(echo -n /dev/ati/card*)
|
||||
for card in "${ati_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
mesa_cards=$(echo -n /dev/dri/card*)
|
||||
for card in "${mesa_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
nvidia_cards=$(echo -n /dev/nvidia*)
|
||||
for card in "${nvidia_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
render_cards=$(echo -n /dev/dri/renderD128*)
|
||||
for card in "${render_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -106,25 +106,25 @@ src_prepare() {
|
||||
#elibtoolize # for Darwin modules
|
||||
eautoreconf
|
||||
|
||||
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
|
||||
# For testsuite, see bug #500580#c3
|
||||
local ati_cards mesa_cards nvidia_cards render_cards
|
||||
shopt -s nullglob
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
|
||||
if test -n "${nvidia_cards}"; then
|
||||
addpredict "${nvidia_cards}"
|
||||
fi
|
||||
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
|
||||
if test -n "${render_cards}"; then
|
||||
addpredict "${render_cards}"
|
||||
fi
|
||||
ati_cards=$(echo -n /dev/ati/card*)
|
||||
for card in "${ati_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
mesa_cards=$(echo -n /dev/dri/card*)
|
||||
for card in "${mesa_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
nvidia_cards=$(echo -n /dev/nvidia*)
|
||||
for card in "${nvidia_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
render_cards=$(echo -n /dev/dri/renderD128*)
|
||||
for card in "${render_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -106,25 +106,25 @@ src_prepare() {
|
||||
#elibtoolize # for Darwin modules
|
||||
eautoreconf
|
||||
|
||||
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
|
||||
# For testsuite, see bug #500580#c3
|
||||
local ati_cards mesa_cards nvidia_cards render_cards
|
||||
shopt -s nullglob
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
|
||||
if test -n "${nvidia_cards}"; then
|
||||
addpredict "${nvidia_cards}"
|
||||
fi
|
||||
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
|
||||
if test -n "${render_cards}"; then
|
||||
addpredict "${render_cards}"
|
||||
fi
|
||||
ati_cards=$(echo -n /dev/ati/card*)
|
||||
for card in "${ati_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
mesa_cards=$(echo -n /dev/dri/card*)
|
||||
for card in "${mesa_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
nvidia_cards=$(echo -n /dev/nvidia*)
|
||||
for card in "${nvidia_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
render_cards=$(echo -n /dev/dri/renderD128*)
|
||||
for card in "${render_cards[@]}" ; do
|
||||
addpredict "${card}"
|
||||
done
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user