Magellan Linux

Annotation of /trunk/extras/xinit/xinit-1.4.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30793 - (hide annotations) (download)
Thu Apr 5 11:18:25 2018 UTC (6 years, 1 month ago) by niro
File size: 1123 byte(s)
-fixed patch
1 niro 30790 # $Id$
2    
3     PNAME="xinit"
4     PVER="1.4.0"
5     PBUILD="r1"
6    
7     PCAT="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     # xinitrc rev
23     RC_REV=1.2
24    
25     SRC_URI=( ${SRC_URI[*]}
26     mirror://${PNAME}/${SRCFILE}
27     mirror://${PNAME}/xserver.pamd-systemauth
28     mirror://${PNAME}/xinitrc.skel-${RC_REV}
29 niro 30793 mirror://${PNAME}/${PNAME}-1.4.0-nolisten-tcp-2.patch
30 niro 30790 mirror://${PNAME}/${PNAME}-1.0.9-black-bg.patch
31     )
32    
33     src_prepare()
34     {
35     munpack ${SRCFILE} || die
36     cd ${SRCDIR}
37    
38     # enable --no-listen tcp
39 niro 30793 mpatch ${PNAME}-1.4.0-nolisten-tcp-2.patch || die
40 niro 30790
41     # use a black background
42     mpatch ${PNAME}-1.0.9-black-bg.patch || die
43     }
44    
45     src_compile()
46     {
47     xorg_src_configure --with-xinitdir=/etc/X11/xinit || die
48     mmake || die
49     }
50    
51     src_install()
52     {
53     xorg_src_install || die
54    
55     # pam configs
56     minstallpam xserver.pamd-systemauth xserver || die
57    
58     # .xinitrc skel
59     minstalldir /etc/skel || die
60     minstallfile -s xinitrc.skel-${RC_REV} /etc/skel/.xinitrc || die
61     }