From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-apps/xinit/, x11-apps/xinit/files/
Date: Sat, 10 Mar 2018 05:56:04 +0000 (UTC) [thread overview]
Message-ID: <1520661332.b5d149489d0d734466fe09c232b5ed42ec9ec9f1.mattst88@gentoo> (raw)
commit: b5d149489d0d734466fe09c232b5ed42ec9ec9f1
Author: Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Sat Mar 10 05:32:38 2018 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Mar 10 05:55:32 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d14948
x11-apps/xinit: rebase xinit-1.3.4-startx-current-vt.patch
Patch no longer cleanly applies, fixed it up to apply on new version
using quilt. Builds properly on my system.
Closes: https://bugs.gentoo.org/650066
Signed-off-by: Marty E. Plummer <hanetzer <AT> startmail.com>
Closes: https://github.com/gentoo/gentoo/pull/7412
.../xinit/files/xinit-1.4.0-startx-current-vt.patch | 20 ++++++++++++++++++++
x11-apps/xinit/xinit-1.4.0.ebuild | 2 +-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/x11-apps/xinit/files/xinit-1.4.0-startx-current-vt.patch b/x11-apps/xinit/files/xinit-1.4.0-startx-current-vt.patch
new file mode 100644
index 00000000000..ecddd3b369e
--- /dev/null
+++ b/x11-apps/xinit/files/xinit-1.4.0-startx-current-vt.patch
@@ -0,0 +1,20 @@
+--- a/startx.cpp
++++ b/startx.cpp
+@@ -200,17 +200,6 @@ XCOMM process server arguments
+ if [ x"$server" = x ]; then
+ server=$defaultserver
+
+-#ifdef __linux__
+- XCOMM When starting the defaultserver start X on the current tty to avoid
+- XCOMM the startx session being seen as inactive:
+- XCOMM "https://bugzilla.redhat.com/show_bug.cgi?id=806491"
+- tty=$(tty)
+- if expr "$tty" : '/dev/tty[0-9][0-9]*$' > /dev/null; then
+- tty_num=$(echo "$tty" | grep -oE '[0-9]+$')
+- vtarg="vt$tty_num -keeptty"
+- fi
+-#endif
+-
+ XCOMM For compatibility reasons, only use xserverrc if there were no server command line arguments
+ if [ x"$serverargs" = x -a x"$display" = x ]; then
+ if [ -f "$userserverrc" ]; then
diff --git a/x11-apps/xinit/xinit-1.4.0.ebuild b/x11-apps/xinit/xinit-1.4.0.ebuild
index ea3e115f959..c2d2baabb33 100644
--- a/x11-apps/xinit/xinit-1.4.0.ebuild
+++ b/x11-apps/xinit/xinit-1.4.0.ebuild
@@ -28,7 +28,7 @@ PDEPEND="x11-apps/xrdb
PATCHES=(
"${FILESDIR}/${PN}-1.3.3-gentoo-customizations.patch"
- "${FILESDIR}/${PN}-1.3.4-startx-current-vt.patch"
+ "${FILESDIR}/${PN}-1.4.0-startx-current-vt.patch"
)
src_configure() {
next reply other threads:[~2018-03-10 5:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-10 5:56 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-11-27 22:43 [gentoo-commits] repo/gentoo:master commit in: x11-apps/xinit/, x11-apps/xinit/files/ Matt Turner
2019-07-28 16:40 Matt Turner
2025-03-10 16:18 Matt Turner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1520661332.b5d149489d0d734466fe09c232b5ed42ec9ec9f1.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox