Magellan Linux

Contents of /smage/trunk/extras/kdrive/kdrive-1.4.99.901_20080324-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations) (download)
Sun Jan 11 00:48:53 2009 UTC (15 years, 4 months ago) by niro
File size: 3397 byte(s)
-import alx-0.9.0
1 # $Header: /alx-cvs/smage-eglibc/kdrive/kdrive-1.4.99.901_20080324-r1.smage2,v 1.1 2008/04/15 13:48:35 niro Exp $
2
3 PNAME="kdrive"
4 PVER="1.4.99.901_20080324"
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 alx
14
15 PROVIDE="virtual/x11"
16
17 DEPEND=">= x11-libs/libXfont-1
18 >= x11-libs/libXau-1
19 >= x11-libs/libXext-1
20 >= x11-libs/libX11-1
21 >= x11-libs/libXdmcp-1
22 >= x11-libs/pixman-0.9
23 >= media-libs/freetype-2
24 >= media-fonts/font-misc-misc-1
25 >= media-fonts/font-cursor-misc-1"
26
27 # >= x11-proto/renderproto-0.9.3 only works with >= xorg-server-1.4
28 SDEPEND=">= x11-libs/xtrans-1
29 >= x11-proto/randrproto-1
30 < x11-proto/renderproto-0.9.3
31 >= x11-proto/fixesproto-1
32 >= x11-proto/damageproto-1
33 >= x11-proto/xextproto-1
34 >= x11-proto/xproto-1
35 >= x11-proto/xf86dgaproto-1
36 >= x11-proto/xf86miscproto-1
37 >= x11-proto/xf86rushproto-1
38 >= x11-proto/xf86vidmodeproto-1
39 >= x11-proto/xf86bigfontproto-1
40 >= x11-proto/compositeproto-1
41 >= x11-proto/recordproto-1
42 >= x11-proto/resourceproto-1
43 >= x11-proto/videoproto-1
44 >= x11-proto/scrnsaverproto-1
45 >= x11-proto/evieext-1
46 >= x11-proto/trapproto-1
47 >= x11-proto/xineramaproto-1.1
48 >= x11-proto/fontsproto-1
49 >= x11-proto/kbproto-1.0
50 >= x11-proto/inputproto-1
51 >= x11-proto/bigreqsproto-1
52 >= x11-proto/xcmiscproto-1
53 >= x11-proto/printproto-1
54 >= x11-apps/mkfontdir-1
55 >= x11-apps/mkfontscale-1"
56 # >= x11-proto/xf86driproto-1"
57
58 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 mirror://xorg-server/xorg-server-1.4.99.901-no-evdev-keyboards.patch
67 )
68
69 src_prepare()
70 {
71 munpack ${SRCFILE} || die
72 cd ${SRCDIR}
73
74 # fixes fpic issues with libxf86config on 64bit systems
75 mpatch xorg-server-1.4-fpic-libxf86config.patch || die
76
77 # adopted from redhat; use a black background
78 mpatch xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch || die
79
80 # no evdev keyboarding; it is just too broken
81 mpatch xorg-server-1.4.99.901-no-evdev-keyboards.patch || die
82
83 # fix build issues, some wrapper files which should be generated
84 # at build time exist and the makefile doesn't whipe them. we patch
85 # the makefile to clean them and whipe these wrapper files
86 rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die
87
88 autoreconf --install --force || die
89 }
90
91 src_compile()
92 {
93 cd ${SRCDIR}
94
95 xorg_src_configure \
96 --sysconfdir=/etc/X11 \
97 --localstatedir=/var \
98 --with-default-font-path=built-ins \
99 --enable-install-setuid \
100 --enable-ipv6 \
101 --enable-kdrive \
102 --disable-static \
103 --disable-dmx \
104 --disable-xvfb \
105 --disable-xnest \
106 --disable-install-libxf86config \
107 --disable-dri \
108 --disable-dri2 \
109 --disable-xorg \
110 --disable-xprint \
111 --disable-glx-tls \
112 --disable-glx \
113 --disable-composite \
114 --disable-xorgcfg \
115 --disable-screensaver \
116 --disable-xdmcp \
117 --disable-xinerama \
118 --disable-dga \
119 --disable-xf86misc \
120 --disable-xf86vidmode \
121 --disable-xkb \
122 --disable-xevie \
123 --disable-xprint \
124 --disable-xtrap \
125 --disable-w100 \
126 || 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 }

Properties

Name Value
svn:keywords Id