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

Contents of /x11-apps/xinit/xinit-1.3.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Sep 5 07:14:05 2011 UTC (3 years ago) by naota
Branch: MAIN
Changes since 1.7: +2 -2 lines
Drop ~x86-fbsd until bug #352663 fixed

(Portage version: 2.2.0_alpha51/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.0-r2.ebuild,v 1.7 2011/03/05 18:02:33 xarthisius Exp $
4
5 EAPI=3
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"
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 )
33
34 pkg_setup() {
35 xorg-2_pkg_setup
36
37 CONFIGURE_OPTIONS="--with-xinitdir=/etc/X11/xinit"
38 }
39
40 src_install() {
41 xorg-2_src_install
42
43 exeinto /etc/X11
44 doexe "${FILESDIR}"/chooser.sh "${FILESDIR}"/startDM.sh || die
45 exeinto /etc/X11/Sessions
46 doexe "${FILESDIR}"/Xsession || die
47 exeinto /etc/X11/xinit
48 doexe "${FILESDIR}"/xserverrc || die
49 exeinto /etc/X11/xinit/xinitrc.d/
50 doexe "${FILESDIR}/00-xhost"
51 }
52
53 pkg_postinst() {
54 xorg-2_pkg_postinst
55 ewarn "If you use startx to start X instead of a login manager like gdm/kdm,"
56 ewarn "you can set the XSESSION variable to anything in /etc/X11/Sessions/ or"
57 ewarn "any executable. When you run startx, it will run this as the login session."
58 ewarn "You can set this in a file in /etc/env.d/ for the entire system,"
59 ewarn "or set it per-user in ~/.bash_profile (or similar for other shells)."
60 ewarn "Here's an example of setting it for the whole system:"
61 ewarn " echo XSESSION=\"Gnome\" > /etc/env.d/90xsession"
62 ewarn " env-update && source /etc/profile"
63 }

  ViewVC Help
Powered by ViewVC 1.1.20