Magellan Linux

Annotation of /smage/trunk/core/kdrive/kdrive-1.8.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 367 - (hide annotations) (download)
Mon May 3 11:39:37 2010 UTC (14 years ago) by niro
File size: 3905 byte(s)
auto added: ver bump to 1.8.0-r1
1 niro 236 # $Id$
2    
3     PNAME="kdrive"
4     PVER="1.8.0"
5     PBUILD="r1"
6    
7     PCATEGORIE="x11-base"
8 niro 366 STATE="unstable"
9 niro 236
10     DESCRIPTION="Modular X.Org X Server."
11     HOMEPAGE="http://xorg.freedesktop.org"
12    
13     DEPEND=">= x11-libs/libXfont-1.4.1
14     >= x11-libs/libXau-1.0.5
15     >= x11-libs/libXext-1.1
16     >= x11-libs/libX11-1.3.1
17     >= x11-libs/libXdmcp-1.0.3
18 niro 240 >= x11-libs/libxkbfile-1.0.6
19 niro 236 >= x11-libs/pixman-0.16.2
20     >= media-libs/freetype-2.3.9
21     >= media-fonts/font-misc-misc-1
22 niro 244 >= media-fonts/font-cursor-misc-1
23 niro 328 >= x11-misc/xkeyboard-config-1.7
24 niro 244 >= dev-libs/libsha1-0.2"
25 niro 236 # >= x11-libs/libXv-1.0.5
26    
27     SDEPEND=">= x11-libs/xtrans-1.2
28     >= x11-proto/randrproto-1.3
29     < x11-proto/renderproto-0.11
30     >= x11-proto/fixesproto-4.1
31     >= x11-proto/damageproto-1.2
32     >= x11-proto/xextproto-7.1.1
33     >= x11-proto/xproto-7.0.16
34     >= x11-proto/xf86dgaproto-2.1
35     >= x11-proto/xf86miscproto-0.9.3
36     >= x11-proto/xf86vidmodeproto-2.3
37     >= x11-proto/xf86bigfontproto-1.2.0
38     >= x11-proto/compositeproto-0.4.1
39     >= x11-proto/recordproto-1.14
40     >= x11-proto/resourceproto-1.1.0
41     >= x11-proto/videoproto-2.3.0
42     >= x11-proto/scrnsaverproto-1.2.0
43     >= x11-proto/evieext-1.1.0
44     >= x11-proto/xineramaproto-1.2
45     >= x11-proto/fontsproto-2.1.0
46     >= x11-proto/kbproto-1.0.4
47     >= x11-proto/inputproto-2.0
48     >= x11-proto/bigreqsproto-1.1.0
49     >= x11-proto/xcmiscproto-1.2.0
50     >= x11-apps/mkfontdir-1.0.5
51     >= x11-apps/mkfontscale-1.0.7"
52    
53 niro 310 PROVIDE="virtual/x11"
54    
55 niro 342 MCORE_ONLY_KEEP="usr/bin usr/share/X11/xkb"
56 niro 310 sminclude xorg mtools cleanutils mcore-split
57    
58 niro 236 SRCFILE="xorg-server-${PVER}.tar.bz2"
59     SRCDIR="${BUILDDIR}/xorg-server-${PVER}"
60    
61     SRC_URI=(
62     http://ftp.x.org/pub/individual/xserver/${SRCFILE}
63     mirror://xorg-server/${SRCFILE}
64     mirror://xorg-server/xorg-server-1.4-fpic-libxf86config.patch
65     mirror://xorg-server/xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch
66 niro 366 mirror://xorg-server/xorg-server-1.4.99.906-no-evdev-keyboards.patch
67 niro 236 )
68    
69     UP2SUBDIR="xserver"
70     UP2DATE="updatecmd_xorg xorg-server"
71    
72     src_prepare()
73     {
74     munpack ${SRCFILE} || die
75     cd ${SRCDIR}
76    
77     # fixes fpic issues with libxf86config on 64bit systems
78     mpatch xorg-server-1.4-fpic-libxf86config.patch || die
79    
80     # adopted from redhat; use a black background
81     mpatch xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch || die
82    
83 niro 366 # evdev is way too broken
84     mpatch xorg-server-1.4.99.906-no-evdev-keyboards.patch || die
85    
86 niro 236 # fix build issues, some wrapper files which should be generated
87     # at build time exist and the makefile doesn't whipe them. we patch
88     # the makefile to clean them and whipe these wrapper files
89     rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die
90    
91     autoreconf --install --force || die
92     }
93    
94     src_compile()
95     {
96     cd ${SRCDIR}
97    
98     xorg_src_configure \
99     --sysconfdir=/etc/X11 \
100     --localstatedir=/var \
101     --with-default-font-path=built-ins \
102     --enable-install-setuid \
103     --enable-ipv6 \
104     --enable-kdrive \
105     --disable-xephyr \
106     --disable-static \
107     --disable-dmx \
108     --disable-xvfb \
109     --disable-xnest \
110     --disable-install-libxf86config \
111     --disable-dri \
112     --disable-dri2 \
113     --disable-xorg \
114     --disable-xprint \
115     --disable-glx-tls \
116     --disable-glx \
117     --disable-composite \
118     --disable-xorgcfg \
119     --disable-screensaver \
120     --disable-xdmcp \
121     --disable-xinerama \
122     --disable-dga \
123     --disable-xkb \
124     --disable-xevie \
125     --disable-xprint \
126     --disable-xtrap \
127     --disable-w100 \
128     --disable-xsdl \
129     --disable-config-dbus \
130     --disable-config-hal \
131 niro 328 --disable-config-udev \
132 niro 244 --with-sha1=libsha1 \
133 niro 329 --enable-kdrive-kbd \
134     --enable-kdrive-mouse \
135 niro 367 --disable-kdrive-evdev \
136 niro 236 || die
137    
138     mmake || die
139     }
140    
141 niro 241 mcore_generic_src_install()
142 niro 236 {
143     cd ${SRCDIR}
144     xorg_src_install
145    
146     # suid all tinyX servers
147     mchmod 4755 /usr/bin/X\* || die
148    
149     # cleanup
150     zapmost ${BINDIR}/usr bin share/man || die
151    
152     if [[ -e ${BINDIR}/usr/bin/Xephyr ]]
153     then
154     rm ${BINDIR}/usr/bin/Xephyr || die
155     fi
156    
157     if [[ -e ${BINDIR}/usr/share/man1/Xephyr.1 ]]
158     then
159     rm ${BINDIR}/usr/share/man1/Xephyr.1 || die
160     fi
161    
162     # needed directory
163     mkeepdir /usr/share/X11/xkb/compiled || die
164     }

Properties

Name Value
svn:keywords Id