Contents of /smage/trunk/core/kdrive/kdrive-1.6.5-r1.smage2
Parent Directory | Revision Log
Revision 365 -
(show annotations)
(download)
Mon May 3 11:26:58 2010 UTC (14 years, 4 months ago) by niro
File size: 4153 byte(s)
Mon May 3 11:26:58 2010 UTC (14 years, 4 months ago) by niro
File size: 4153 byte(s)
auto added: ver bump to 1.6.5-r1
1 | # $Id$ |
2 | |
3 | PNAME="kdrive" |
4 | PVER="1.6.5" |
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 | 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 | >= x11-libs/libxkbfile-1.0.6 |
19 | >= x11-libs/pixman-0.16.2 |
20 | >= media-libs/freetype-2.3.9 |
21 | >= media-fonts/font-misc-misc-1 |
22 | >= media-fonts/font-cursor-misc-1 |
23 | >= dev-libs/libsha1-0.2" |
24 | # >= x11-libs/libXv-1.0.5 |
25 | |
26 | SDEPEND=">= x11-libs/xtrans-1.2 |
27 | >= x11-proto/randrproto-1.3 |
28 | < x11-proto/renderproto-0.11 |
29 | >= x11-proto/fixesproto-4.1 |
30 | >= x11-proto/damageproto-1.2 |
31 | >= x11-proto/xextproto-7.1.1 |
32 | >= x11-proto/xproto-7.0.16 |
33 | >= x11-proto/xf86dgaproto-2.1 |
34 | >= x11-proto/xf86miscproto-0.9.3 |
35 | >= x11-proto/xf86vidmodeproto-2.3 |
36 | >= x11-proto/xf86bigfontproto-1.2.0 |
37 | >= x11-proto/compositeproto-0.4.1 |
38 | >= x11-proto/recordproto-1.14 |
39 | >= x11-proto/resourceproto-1.1.0 |
40 | >= x11-proto/videoproto-2.3.0 |
41 | >= x11-proto/scrnsaverproto-1.2.0 |
42 | >= x11-proto/evieext-1.1.0 |
43 | >= x11-proto/xineramaproto-1.2 |
44 | >= x11-proto/fontsproto-2.1.0 |
45 | >= x11-proto/kbproto-1.0.4 |
46 | >= x11-proto/inputproto-2.0 |
47 | >= x11-proto/bigreqsproto-1.1.0 |
48 | >= x11-proto/xcmiscproto-1.2.0 |
49 | >= x11-apps/mkfontdir-1.0.5 |
50 | >= x11-apps/mkfontscale-1.0.7" |
51 | |
52 | PROVIDE="virtual/x11" |
53 | |
54 | MCORE_ONLY_KEEP="usr/bin usr/share/X11/xkb usr/$(mlibdir)/xorg/protocol.txt" |
55 | sminclude xorg mtools cleanutils mcore-split |
56 | |
57 | SRCFILE="xorg-server-${PVER}.tar.bz2" |
58 | SRCDIR="${BUILDDIR}/xorg-server-${PVER}" |
59 | |
60 | SRC_URI=( |
61 | http://ftp.x.org/pub/individual/xserver/${SRCFILE} |
62 | mirror://xorg-server/${SRCFILE} |
63 | mirror://xorg-server/xorg-server-1.4-fpic-libxf86config.patch |
64 | mirror://xorg-server/xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch |
65 | mirror://xorg-server/xorg-server-1.4.99.906-no-evdev-keyboards.patch |
66 | mirror://xorg-server/xorg-server-1.7.6-libsha1-support.patch |
67 | mirror://xorg-server/xorg-server-1.7.6-dlopen-fix.patch |
68 | ) |
69 | |
70 | UP2SUBDIR="xserver" |
71 | UP2DATE="updatecmd_xorg xorg-server" |
72 | |
73 | src_prepare() |
74 | { |
75 | munpack ${SRCFILE} || die |
76 | cd ${SRCDIR} |
77 | |
78 | # fixes fpic issues with libxf86config on 64bit systems |
79 | mpatch xorg-server-1.4-fpic-libxf86config.patch || die |
80 | |
81 | # adopted from redhat; use a black background |
82 | mpatch xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch || die |
83 | |
84 | # evdev is way too broken |
85 | mpatch xorg-server-1.4.99.906-no-evdev-keyboards.patch || die |
86 | |
87 | # support other sha1 implemtations as well |
88 | mpatch xorg-server-1.7.6-libsha1-support.patch || die |
89 | |
90 | # fix linking issues against dlopen (xfbdev needs this) |
91 | mpatch xorg-server-1.7.6-dlopen-fix.patch || die |
92 | |
93 | # fix build issues, some wrapper files which should be generated |
94 | # at build time exist and the makefile doesn't whipe them. we patch |
95 | # the makefile to clean them and whipe these wrapper files |
96 | rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die |
97 | |
98 | autoreconf --install --force || die |
99 | } |
100 | |
101 | src_compile() |
102 | { |
103 | cd ${SRCDIR} |
104 | |
105 | # try to fix issues with newer dpms.h header |
106 | local myconf="--disable-dpms" |
107 | # disable shm |
108 | myconf+=" --disable-shm" |
109 | |
110 | xorg_src_configure \ |
111 | --sysconfdir=/etc/X11 \ |
112 | --localstatedir=/var \ |
113 | --with-default-font-path=built-ins \ |
114 | --enable-install-setuid \ |
115 | --enable-ipv6 \ |
116 | --enable-kdrive \ |
117 | --disable-xephyr \ |
118 | --disable-static \ |
119 | --disable-dmx \ |
120 | --disable-xvfb \ |
121 | --disable-xnest \ |
122 | --disable-install-libxf86config \ |
123 | --disable-dri \ |
124 | --disable-xorg \ |
125 | --disable-xprint \ |
126 | --disable-glx-tls \ |
127 | --disable-glx \ |
128 | --disable-composite \ |
129 | --disable-xorgcfg \ |
130 | --disable-screensaver \ |
131 | --disable-xdmcp \ |
132 | --disable-xinerama \ |
133 | --disable-dga \ |
134 | --disable-xkb \ |
135 | --disable-xevie \ |
136 | --disable-xprint \ |
137 | --disable-xtrap \ |
138 | --disable-w100 \ |
139 | --disable-xsdl \ |
140 | ${myconf} \ |
141 | || die |
142 | |
143 | mmake || die |
144 | } |
145 | |
146 | src_install() |
147 | { |
148 | cd ${SRCDIR} |
149 | xorg_src_install |
150 | |
151 | # suid all tinyX servers |
152 | mchmod 4755 /usr/bin/X\* || die |
153 | |
154 | # cleanup |
155 | zapmost ${BINDIR}/usr bin share/man || die |
156 | |
157 | if [[ -e ${BINDIR}/usr/bin/Xephyr ]] |
158 | then |
159 | rm ${BINDIR}/usr/bin/Xephyr || die |
160 | fi |
161 | |
162 | if [[ -e ${BINDIR}/usr/share/man1/Xephyr.1 ]] |
163 | then |
164 | rm ${BINDIR}/usr/share/man1/Xephyr.1 || die |
165 | fi |
166 | |
167 | # needed directory |
168 | mkeepdir /usr/share/X11/xkb/compiled || die |
169 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |