Annotation of /branches/magellan-next/core/xinit/xinit-1.2.1-r2.smage2
Parent Directory | Revision Log
Revision 6485 -
(hide annotations)
(download)
Wed Aug 25 22:00:02 2010 UTC (14 years, 1 month ago) by niro
File size: 1368 byte(s)
Wed Aug 25 22:00:02 2010 UTC (14 years, 1 month ago) by niro
File size: 1368 byte(s)
auto added: ver bump to 1.2.1-r2
1 | niro | 6485 | # $Id: xinit-1.2.1-r1.smage2 5299 2010-04-20 19:16:22Z niro $ |
2 | |||
3 | PNAME="xinit" | ||
4 | PVER="1.2.1" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="x11-apps" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="X Window System initializer." | ||
11 | HOMEPAGE="http://xorg.freedesktop.org" | ||
12 | |||
13 | DEPEND=">= x11-libs/libX11-1 | ||
14 | >= x11-wm/twm-1 | ||
15 | >= x11-apps/xclock-1 | ||
16 | >= x11-apps/xrdb-1 | ||
17 | >= x11-apps/xsm-1 | ||
18 | >= x11-terms/xterm-1 | ||
19 | >= sys-libs/pam-1.1" | ||
20 | |||
21 | sminclude xorg mtools | ||
22 | |||
23 | # cvs revisions | ||
24 | XDM_RC=xdm.rc-1.3 | ||
25 | XDM_START=startxdm-1.2 | ||
26 | XSERVER_PAMD=xserver.pamd-1.2 | ||
27 | |||
28 | SRC_URI=( ${SRC_URI[*]} | ||
29 | mirror://${PNAME}/${SRCFILE} | ||
30 | mirror://${PNAME}/${XSERVER_PAMD} | ||
31 | mirror://${PNAME}/${XDM_RC} | ||
32 | mirror://${PNAME}/${XDM_START} | ||
33 | mirror://${PNAME}/${PNAME}-1.0.9-nolisten-tcp.patch | ||
34 | mirror://${PNAME}/${PNAME}-1.0.9-black-bg.patch | ||
35 | ) | ||
36 | |||
37 | UP2DATE="updatecmd_xorg ${PNAME}" | ||
38 | |||
39 | src_prepare() | ||
40 | { | ||
41 | munpack ${SRCFILE} || die | ||
42 | cd ${SRCDIR} | ||
43 | |||
44 | # enable --no-listen tcp | ||
45 | mpatch ${PNAME}-1.0.9-nolisten-tcp.patch || die | ||
46 | |||
47 | # use a black background | ||
48 | mpatch ${PNAME}-1.0.9-black-bg.patch || die | ||
49 | |||
50 | # fix xinit config dir | ||
51 | sed -i "s:^XINITDIR.*:XINITDIR = \$(sysconfdir)/X11/xinit:g" Makefile.am || die | ||
52 | autoreconf -v --force --install || die | ||
53 | } | ||
54 | |||
55 | src_install() | ||
56 | { | ||
57 | xorg_src_install || die | ||
58 | |||
59 | # pam configs | ||
60 | minstallpam ${XSERVER_PAMD} xserver || die | ||
61 | |||
62 | # rc-scripts | ||
63 | minstallrc ${XDM_RC} xdm || die | ||
64 | minstalldir /etc/X11 || die | ||
65 | minstallexec -s ${XDM_START} /etc/X11/startxdm || die | ||
66 | } |