Contents of /branches/magellan-next/core/xinit/xinit-1.3.1-r2.smage2
Parent Directory | Revision Log
Revision 8834 -
(show annotations)
(download)
Tue Aug 2 10:53:22 2011 UTC (13 years, 1 month ago) by niro
File size: 1250 byte(s)
Tue Aug 2 10:53:22 2011 UTC (13 years, 1 month ago) by niro
File size: 1250 byte(s)
-use new system-auth stack
1 | # $Id$ |
2 | |
3 | PNAME="xinit" |
4 | PVER="1.3.1" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="x11-apps" |
8 | |
9 | DESCRIPTION="X Window System initializer." |
10 | HOMEPAGE="http://xorg.freedesktop.org" |
11 | |
12 | DEPEND=">= x11-libs/libX11-1.4 |
13 | >= x11-wm/twm-1 |
14 | >= x11-apps/xclock-1 |
15 | >= x11-apps/xrdb-1 |
16 | >= x11-apps/xsm-1 |
17 | >= x11-terms/xterm-1 |
18 | >= sys-libs/pam-1.1" |
19 | |
20 | sminclude xorg mtools |
21 | |
22 | # cvs revisions |
23 | XDM_RC=xdm.rc-1.3 |
24 | XDM_START=startxdm-1.2 |
25 | XSERVER_PAMD=xserver.pamd-systemauth |
26 | |
27 | SRC_URI=( ${SRC_URI[*]} |
28 | mirror://${PNAME}/${SRCFILE} |
29 | mirror://${PNAME}/${XSERVER_PAMD} |
30 | mirror://${PNAME}/${XDM_RC} |
31 | mirror://${PNAME}/${XDM_START} |
32 | mirror://${PNAME}/${PNAME}-1.0.9-nolisten-tcp.patch |
33 | mirror://${PNAME}/${PNAME}-1.0.9-black-bg.patch |
34 | ) |
35 | |
36 | UP2DATE="updatecmd_xorg ${PNAME}" |
37 | |
38 | src_prepare() |
39 | { |
40 | munpack ${SRCFILE} || die |
41 | cd ${SRCDIR} |
42 | |
43 | # enable --no-listen tcp |
44 | mpatch ${PNAME}-1.0.9-nolisten-tcp.patch || die |
45 | |
46 | # use a black background |
47 | mpatch ${PNAME}-1.0.9-black-bg.patch || die |
48 | } |
49 | |
50 | src_compile() |
51 | { |
52 | xorg_src_configure --with-xinitdir=/etc/X11/xinit || die |
53 | mmake || die |
54 | } |
55 | |
56 | src_install() |
57 | { |
58 | xorg_src_install || die |
59 | |
60 | # pam configs |
61 | minstallpam ${XSERVER_PAMD} xserver || die |
62 | |
63 | # rc-scripts |
64 | minstallrc ${XDM_RC} xdm || die |
65 | minstalldir /etc/X11 || die |
66 | minstallexec -s ${XDM_START} /etc/X11/startxdm || die |
67 | } |