Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-apps/xinit/files/, x11-apps/xinit/
Date: Thu, 31 Jan 2019 18:12:02
Message-Id: 1548958308.cefe728d56663e1a16263a29ec3c1bed8953c70c.mattst88@gentoo
1 commit: cefe728d56663e1a16263a29ec3c1bed8953c70c
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 31 18:09:29 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 31 18:11:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cefe728d
7
8 x11-apps/xinit: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-apps/xinit/files/xserverrc.1 | 6 ----
13 x11-apps/xinit/xinit-1.4.0.ebuild | 67 ---------------------------------------
14 2 files changed, 73 deletions(-)
15
16 diff --git a/x11-apps/xinit/files/xserverrc.1 b/x11-apps/xinit/files/xserverrc.1
17 deleted file mode 100644
18 index 6b57eeba6da..00000000000
19 --- a/x11-apps/xinit/files/xserverrc.1
20 +++ /dev/null
21 @@ -1,6 +0,0 @@
22 -#!/bin/sh
23 -if [ -z "$XDG_VTNR" ]; then
24 - exec /usr/bin/X -nolisten tcp "$@"
25 -else
26 - exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR
27 -fi
28
29 diff --git a/x11-apps/xinit/xinit-1.4.0.ebuild b/x11-apps/xinit/xinit-1.4.0.ebuild
30 deleted file mode 100644
31 index bc9cc6ade50..00000000000
32 --- a/x11-apps/xinit/xinit-1.4.0.ebuild
33 +++ /dev/null
34 @@ -1,67 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=5
39 -
40 -inherit xorg-2
41 -
42 -DESCRIPTION="X Window System initializer"
43 -
44 -LICENSE="${LICENSE} GPL-2"
45 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
46 -IUSE="+minimal"
47 -
48 -RDEPEND="
49 - !<x11-base/xorg-server-1.8.0
50 - x11-apps/xauth
51 - x11-libs/libX11
52 -"
53 -DEPEND="${RDEPEND}"
54 -PDEPEND="x11-apps/xrdb
55 - !minimal? (
56 - x11-apps/xclock
57 - x11-apps/xsm
58 - x11-terms/xterm
59 - x11-wm/twm
60 - )
61 -"
62 -
63 -PATCHES=(
64 - "${FILESDIR}/${PN}-1.3.3-gentoo-customizations.patch"
65 - "${FILESDIR}/${PN}-1.4.0-startx-current-vt.patch"
66 -)
67 -
68 -src_configure() {
69 - XORG_CONFIGURE_OPTIONS=(
70 - --with-xinitdir="${EPREFIX}"/etc/X11/xinit
71 - )
72 - xorg-2_src_configure
73 -}
74 -
75 -src_install() {
76 - xorg-2_src_install
77 -
78 - exeinto /etc/X11
79 - doexe "${FILESDIR}"/chooser.sh "${FILESDIR}"/startDM.sh
80 - exeinto /etc/X11/Sessions
81 - doexe "${FILESDIR}"/Xsession
82 - exeinto /etc/X11/xinit
83 - newexe "${FILESDIR}"/xserverrc.1 xserverrc
84 - exeinto /etc/X11/xinit/xinitrc.d/
85 - doexe "${FILESDIR}"/00-xhost
86 -
87 - insinto /usr/share/xsessions
88 - doins "${FILESDIR}"/Xsession.desktop
89 -}
90 -
91 -pkg_postinst() {
92 - xorg-2_pkg_postinst
93 - ewarn "If you use startx to start X instead of a login manager like gdm/kdm,"
94 - ewarn "you can set the XSESSION variable to anything in /etc/X11/Sessions/ or"
95 - ewarn "any executable. When you run startx, it will run this as the login session."
96 - ewarn "You can set this in a file in /etc/env.d/ for the entire system,"
97 - ewarn "or set it per-user in ~/.bash_profile (or similar for other shells)."
98 - ewarn "Here's an example of setting it for the whole system:"
99 - ewarn " echo XSESSION=\"Gnome\" > /etc/env.d/90xsession"
100 - ewarn " env-update && source /etc/profile"
101 -}