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