/[gentoo-x86]/x11-apps/xinit/xinit-1.3.1-r1.ebuild
Gentoo

Contents of /x11-apps/xinit/xinit-1.3.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Mar 3 16:27:28 2012 UTC (2 years, 11 months ago) by ranger
Branch: MAIN
Changes since 1.7: +2 -2 lines
Marking xinit-1.3.1-r1 ppc64 for bug 394393

(Portage version: 2.1.10.11/cvs/Linux ppc64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/xinit-1.3.1-r1.ebuild,v 1.7 2012/02/19 14:32:46 armin76 Exp $
4
5 EAPI=4
6
7 inherit xorg-2
8
9 DESCRIPTION="X Window System initializer"
10
11 LICENSE="${LICENSE} GPL-2"
12 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
13 IUSE="+minimal"
14
15 RDEPEND="
16 !<x11-base/xorg-server-1.8.0
17 x11-apps/xauth
18 x11-libs/libX11
19 "
20 DEPEND="${RDEPEND}"
21 PDEPEND="x11-apps/xrdb
22 !minimal? (
23 x11-apps/xclock
24 x11-apps/xsm
25 x11-terms/xterm
26 x11-wm/twm
27 )
28 "
29
30 PATCHES=(
31 "${FILESDIR}/0001-Gentoo-customizations.patch"
32 "${FILESDIR}/${P}-prio-process.patch"
33 )
34
35 pkg_setup() {
36 xorg-2_pkg_setup
37
38 XORG_CONFIGURE_OPTIONS=(
39 --with-xinitdir=/etc/X11/xinit
40 )
41 }
42
43 src_install() {
44 xorg-2_src_install
45
46 exeinto /etc/X11
47 doexe "${FILESDIR}"/chooser.sh "${FILESDIR}"/startDM.sh
48 exeinto /etc/X11/Sessions
49 doexe "${FILESDIR}"/Xsession
50 exeinto /etc/X11/xinit
51 doexe "${FILESDIR}"/xserverrc
52 exeinto /etc/X11/xinit/xinitrc.d/
53 doexe "${FILESDIR}/00-xhost"
54
55 insinto /usr/share/xsessions
56 doins "${FILESDIR}/Xsession.desktop"
57 }
58
59 pkg_postinst() {
60 xorg-2_pkg_postinst
61 ewarn "If you use startx to start X instead of a login manager like gdm/kdm,"
62 ewarn "you can set the XSESSION variable to anything in /etc/X11/Sessions/ or"
63 ewarn "any executable. When you run startx, it will run this as the login session."
64 ewarn "You can set this in a file in /etc/env.d/ for the entire system,"
65 ewarn "or set it per-user in ~/.bash_profile (or similar for other shells)."
66 ewarn "Here's an example of setting it for the whole system:"
67 ewarn " echo XSESSION=\"Gnome\" > /etc/env.d/90xsession"
68 ewarn " env-update && source /etc/profile"
69 }

  ViewVC Help
Powered by ViewVC 1.1.20