* [gentoo-dev] [PATCH 0/2] Xvfb in test dependencies in Prefix
@ 2020-10-19 18:53 alexey+gentoo
2020-10-19 18:53 ` [gentoo-dev] [PATCH 1/2] profiles: prefix: mask USE=elogind in x11-base/xorg-server alexey+gentoo
2020-10-19 18:53 ` [gentoo-dev] [PATCH 2/2] virtualx.eclass: don't skip xvfb dependency on Prefix alexey+gentoo
0 siblings, 2 replies; 3+ messages in thread
From: alexey+gentoo @ 2020-10-19 18:53 UTC (permalink / raw
To: gentoo-dev; +Cc: Alexey Sokolov
From: Alexey Sokolov <alexey+gentoo@asokolov.org>
I'm running a prefix but tests of various packages are failing in virtx
command. I discovered that this is because virtualx doesn't depend on
xvfb in prefix. But after installing xorg-server[xvfb,-elogind] tests
pass.
elogind flag had to be disabled otherwise it brings pam as dependency.
So, attached are patches to prefix profile to disable elogind for
xorg-server, and to virtualx eclass to depend on it even in prefix.
Alexey Sokolov (2):
profiles: prefix: mask USE=elogind in x11-base/xorg-server
virtualx.eclass: don't skip xvfb dependency on Prefix
eclass/virtualx.eclass | 2 +-
profiles/features/prefix/package.use.mask | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
--
2.26.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-dev] [PATCH 1/2] profiles: prefix: mask USE=elogind in x11-base/xorg-server
2020-10-19 18:53 [gentoo-dev] [PATCH 0/2] Xvfb in test dependencies in Prefix alexey+gentoo
@ 2020-10-19 18:53 ` alexey+gentoo
2020-10-19 18:53 ` [gentoo-dev] [PATCH 2/2] virtualx.eclass: don't skip xvfb dependency on Prefix alexey+gentoo
1 sibling, 0 replies; 3+ messages in thread
From: alexey+gentoo @ 2020-10-19 18:53 UTC (permalink / raw
To: gentoo-dev; +Cc: Alexey Sokolov
From: Alexey Sokolov <alexey+gentoo@asokolov.org>
Bug: https://bugs.gentoo.org/730190
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
---
profiles/features/prefix/package.use.mask | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/profiles/features/prefix/package.use.mask b/profiles/features/prefix/package.use.mask
index 07d83215aa7..daa75a307db 100644
--- a/profiles/features/prefix/package.use.mask
+++ b/profiles/features/prefix/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Alexey Sokolov <alexey+gentoo@asokolov.org> (2020-10-15)
+# Requires PAM.
+x11-base/xorg-server elogind
+
# Benda Xu <heroxbd@gentoo.org> (2019-08-20)
# avoid gnome-extra/gnome-user-share, which depends on systemd.
gnome-base/gnome-extra-apps share
--
2.26.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-dev] [PATCH 2/2] virtualx.eclass: don't skip xvfb dependency on Prefix
2020-10-19 18:53 [gentoo-dev] [PATCH 0/2] Xvfb in test dependencies in Prefix alexey+gentoo
2020-10-19 18:53 ` [gentoo-dev] [PATCH 1/2] profiles: prefix: mask USE=elogind in x11-base/xorg-server alexey+gentoo
@ 2020-10-19 18:53 ` alexey+gentoo
1 sibling, 0 replies; 3+ messages in thread
From: alexey+gentoo @ 2020-10-19 18:53 UTC (permalink / raw
To: gentoo-dev; +Cc: Alexey Sokolov, Alexey Sokolov
From: Alexey Sokolov <sokolov@google.com>
Closes: https://bugs.gentoo.org/730190
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
---
eclass/virtualx.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass
index 6aba6bf488d..93b9751cfa6 100644
--- a/eclass/virtualx.eclass
+++ b/eclass/virtualx.eclass
@@ -40,8 +40,8 @@ esac
# complicated dep is needed.
# You can specify the variable BEFORE inherit to add more dependencies.
VIRTUALX_DEPEND="${VIRTUALX_DEPEND}
- !prefix? ( x11-base/xorg-server[xvfb] )
x11-apps/xhost
+ x11-base/xorg-server[xvfb]
"
# @ECLASS-VARIABLE: VIRTUALX_COMMAND
--
2.26.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-10-19 18:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-19 18:53 [gentoo-dev] [PATCH 0/2] Xvfb in test dependencies in Prefix alexey+gentoo
2020-10-19 18:53 ` [gentoo-dev] [PATCH 1/2] profiles: prefix: mask USE=elogind in x11-base/xorg-server alexey+gentoo
2020-10-19 18:53 ` [gentoo-dev] [PATCH 2/2] virtualx.eclass: don't skip xvfb dependency on Prefix alexey+gentoo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox