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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Mon Oct 3 17:55:53 2011 UTC (3 years ago) by josejx
Branch: MAIN
Changes since 1.8: +2 -2 lines
Marked ppc ppc64 stable for bug #380421.

(Portage version: 2.1.10.20/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.ebuild,v 1.8 2011/10/02 13:43:17 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
56 pkg_postinst() {
57 xorg-2_pkg_postinst
58 ewarn "If you use startx to start X instead of a login manager like gdm/kdm,"
59 ewarn "you can set the XSESSION variable to anything in /etc/X11/Sessions/ or"
60 ewarn "any executable. When you run startx, it will run this as the login session."
61 ewarn "You can set this in a file in /etc/env.d/ for the entire system,"
62 ewarn "or set it per-user in ~/.bash_profile (or similar for other shells)."
63 ewarn "Here's an example of setting it for the whole system:"
64 ewarn " echo XSESSION=\"Gnome\" > /etc/env.d/90xsession"
65 ewarn " env-update && source /etc/profile"
66 }

  ViewVC Help
Powered by ViewVC 1.1.20