* [gentoo-commits] proj/eselect-wine:master commit in: /
@ 2022-11-28 21:11 Ionen Wolkens
0 siblings, 0 replies; 6+ messages in thread
From: Ionen Wolkens @ 2022-11-28 21:11 UTC (permalink / raw
To: gentoo-commits
commit: 4f225953bf397136c27786c17f39255cb9a6b81d
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 28 21:08:11 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Nov 28 21:11:33 2022 +0000
URL: https://gitweb.gentoo.org/proj/eselect-wine.git/commit/?id=4f225953
wine.eselect: adjust legacy check for 17.0 lib32/lib64 profile
Should have hardly any users left, but no real harm in adding
more legacy handling in the legacy checks function.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
wine.eselect | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/wine.eselect b/wine.eselect
index 42c6bac..720c24d 100644
--- a/wine.eselect
+++ b/wine.eselect
@@ -336,10 +336,13 @@ wine-legacy_checks() {
return 1
fi
- if [[ -d ${WINEREL}/usr/lib64/${slot} ]]; then
+ # older wine ebuilds split between lib{,32} and lib64, this is unsupported
+ if [[ -d ${WINEREL}/usr/lib64/${slot} ]] &&
+ [[ ! -L ${WINEREL}/usr/lib || -d ${WINEREL}/usr/lib32/${slot} ]]
+ then
write_warning_msg "ignored legacy installation at ${EROOT}/usr/lib64/${slot}"
[[ -e ${WINEREL}/usr/bin/${slot} ]] &&
- write_warning_msg "should still be usable by calling versioned ${EROOT}/usr/bin/${slot}"
+ write_warning_msg "-> should still be usable by calling the versioned ${EROOT}/usr/bin/${slot}"
return 1
fi
}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/eselect-wine:master commit in: /
@ 2022-11-29 0:24 Ionen Wolkens
0 siblings, 0 replies; 6+ messages in thread
From: Ionen Wolkens @ 2022-11-29 0:24 UTC (permalink / raw
To: gentoo-commits
commit: 32edf82b8945ed7facb1b2059340614a716ffa8c
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 29 00:23:20 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Nov 29 00:23:20 2022 +0000
URL: https://gitweb.gentoo.org/proj/eselect-wine.git/commit/?id=32edf82b
v2.0.1
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
wine.eselect | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wine.eselect b/wine.eselect
index 720c24d..ff81c3d 100644
--- a/wine.eselect
+++ b/wine.eselect
@@ -4,7 +4,7 @@
DESCRIPTION="Manage active Wine slots and variants"
MAINTAINER="wine@gentoo.org"
-VERSION="2.0.0"
+VERSION="2.0.1"
# Setup env and run $@ in ${EROOT}${WINEETC} to simplify path
# handling (all other wine-* functions must be ran from this).
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/eselect-wine:master commit in: /
@ 2022-12-05 20:43 Ionen Wolkens
0 siblings, 0 replies; 6+ messages in thread
From: Ionen Wolkens @ 2022-12-05 20:43 UTC (permalink / raw
To: gentoo-commits
commit: 41df717a7240eb8ff29c629331e4269cec36ee54
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 5 20:29:21 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Dec 5 20:41:30 2022 +0000
URL: https://gitweb.gentoo.org/proj/eselect-wine.git/commit/?id=41df717a
wine.eselect: silence PATH warning with doas/sudo
By default may still be noisy with shadow's su, but
util-linux's is more likely to keep wine's PATH.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
wine.eselect | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/wine.eselect b/wine.eselect
index ff81c3d..db1d7ae 100644
--- a/wine.eselect
+++ b/wine.eselect
@@ -28,9 +28,11 @@ wine-run() {
"${@}"
- # hack wrt update given PATH is not updated in pkg_postinst (noisy)
- [[ ${PATH} == @(|*:)"${EPREFIX}${WINEETC}/bin"*(/)@(|:*) || \
- ${1} == wine-update ]] ||
+ # try to warn about about missing PATH, but stay quiet with doas/sudo
+ # given may be using a temporary secure PATH (also skip with update
+ # given PATH is not updated when ran from ebuilds in pkg_postinst)
+ [[ ${PATH} == @(|*:)"${EPREFIX}${WINEETC}/bin"*(/)@(|:*) ||
+ -v DOAS_USER || -v SUDO_USER || ${1} == wine-update ]] ||
write_warning_msg "'${EPREFIX}${WINEETC}/bin' missing from PATH, may need to run '. ${EROOT}/etc/profile'"
${shopt_reset}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/eselect-wine:master commit in: /
@ 2022-12-05 20:43 Ionen Wolkens
0 siblings, 0 replies; 6+ messages in thread
From: Ionen Wolkens @ 2022-12-05 20:43 UTC (permalink / raw
To: gentoo-commits
commit: e2cd65c2a105013b47579fc9109122d3ef7c9ea1
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 5 20:29:53 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Dec 5 20:42:09 2022 +0000
URL: https://gitweb.gentoo.org/proj/eselect-wine.git/commit/?id=e2cd65c2
v2.0.2
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
wine.eselect | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wine.eselect b/wine.eselect
index db1d7ae..46610ea 100644
--- a/wine.eselect
+++ b/wine.eselect
@@ -4,7 +4,7 @@
DESCRIPTION="Manage active Wine slots and variants"
MAINTAINER="wine@gentoo.org"
-VERSION="2.0.1"
+VERSION="2.0.2"
# Setup env and run $@ in ${EROOT}${WINEETC} to simplify path
# handling (all other wine-* functions must be ran from this).
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/eselect-wine:master commit in: /
@ 2023-01-16 1:27 Ionen Wolkens
0 siblings, 0 replies; 6+ messages in thread
From: Ionen Wolkens @ 2023-01-16 1:27 UTC (permalink / raw
To: gentoo-commits
commit: 01585f91d19a9979e564ecb66bc108bc16da76f6
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 16 01:22:10 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jan 16 01:27:17 2023 +0000
URL: https://gitweb.gentoo.org/proj/eselect-wine.git/commit/?id=01585f91
wine.eselect: adjust portage PATH comment
Gave this another look given PATH handling changes in >=portage-3.0.44,
and the workaround is "nearly" unnecessary now but still triggers
(at least) on first merge of eselect-wine while PATH has not yet been
updated once yet.
May possibly be other cases where it's noisy, so decided to leave it
alone beside a minor comment update.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
wine.eselect | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wine.eselect b/wine.eselect
index 46610ea..e8ce744 100644
--- a/wine.eselect
+++ b/wine.eselect
@@ -30,7 +30,7 @@ wine-run() {
# try to warn about about missing PATH, but stay quiet with doas/sudo
# given may be using a temporary secure PATH (also skip with update
- # given PATH is not updated when ran from ebuilds in pkg_postinst)
+ # as the PATH may not always be updated in ebuild phases yet)
[[ ${PATH} == @(|*:)"${EPREFIX}${WINEETC}/bin"*(/)@(|:*) ||
-v DOAS_USER || -v SUDO_USER || ${1} == wine-update ]] ||
write_warning_msg "'${EPREFIX}${WINEETC}/bin' missing from PATH, may need to run '. ${EROOT}/etc/profile'"
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/eselect-wine:master commit in: /
@ 2024-01-18 15:16 Ionen Wolkens
0 siblings, 0 replies; 6+ messages in thread
From: Ionen Wolkens @ 2024-01-18 15:16 UTC (permalink / raw
To: gentoo-commits
commit: 51fcd23de011a0f5daa9fb68b3f1a57225e26f47
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 18 15:13:05 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 15:13:56 2024 +0000
URL: https://gitweb.gentoo.org/proj/eselect-wine.git/commit/?id=51fcd23d
README.rst: note that variant names should not have hyphens
*Could* be supported but understanding -<version> with an arbitrary
amount of leading hyphens feels like an unnecessary complexification.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
README.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/README.rst b/README.rst
index ef069d2..1b32c60 100644
--- a/README.rst
+++ b/README.rst
@@ -46,4 +46,5 @@ In ebuilds, note ``(de)register`` or using ``pkg_prerm`` is deprecated, use::
eselect wine update --if-unset || die
}
-Any arbitrary ``wine-myvariant`` is supported for custom ebuilds.
+Any arbitrary ``wine-myvariant`` is supported for custom ebuilds, except that
+the variant name should not contain hyphens (``-``).
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-01-18 15:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-16 1:27 [gentoo-commits] proj/eselect-wine:master commit in: / Ionen Wolkens
-- strict thread matches above, loose matches on Subject: below --
2024-01-18 15:16 Ionen Wolkens
2022-12-05 20:43 Ionen Wolkens
2022-12-05 20:43 Ionen Wolkens
2022-11-29 0:24 Ionen Wolkens
2022-11-28 21:11 Ionen Wolkens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox