Magellan Linux

Contents of /trunk/extras/kdrive/kdrive-1.5.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1414 - (show annotations) (download)
Wed May 6 11:04:06 2009 UTC (15 years ago) by niro
File size: 3663 byte(s)
-import from cvs

1 # $Header: /magellan-cvs/smage/kdrive/kdrive-1.5.0-r1.smage2,v 1.4 2008/09/24 18:13:48 niro Exp $
2
3 PNAME="kdrive"
4 PVER="1.5.0"
5 PBUILD="r1"
6
7 PCATEGORIE="x11-base"
8 STATE="broken"
9
10 DESCRIPTION="Modular X.Org X Server."
11 HOMEPAGE="http://xorg.freedesktop.org"
12
13 sminclude xorg mtools
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.906-no-evdev-keyboards.patch
67
68 )
69
70 src_prepare()
71 {
72 munpack ${SRCFILE} || die
73 cd ${SRCDIR}
74
75 # fixes fpic issues with libxf86config on 64bit systems
76 mpatch xorg-server-1.4-fpic-libxf86config.patch || die
77
78 # adopted from redhat; use a black background
79 mpatch xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch || die
80
81 # no evdev keyboarding; it is just too broken
82 mpatch xorg-server-1.4.99.906-no-evdev-keyboards.patch || die
83
84 # fix build issues, some wrapper files which should be generated
85 # at build time exist and the makefile doesn't whipe them. we patch
86 # the makefile to clean them and whipe these wrapper files
87 rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die
88
89 autoreconf --install --force || die
90 }
91
92 src_compile()
93 {
94 cd ${SRCDIR}
95
96 # fixes compilation on x86_64; kdrive cannot build natively on 64bit
97 # the drivers are using 32bit-only asm and does not build.
98 # fbdev only works on 64bit hosts and that does not satisfy us.
99 if [[ ${ARCH} = x86_64 ]]
100 then
101 export CC="gcc -m32"
102 export CXX="g++ -m32"
103 fi
104
105 xorg_src_configure \
106 --sysconfdir=/etc/X11 \
107 --localstatedir=/var \
108 --with-default-font-path=built-ins \
109 --enable-install-setuid \
110 --enable-ipv6 \
111 --enable-kdrive \
112 --disable-static \
113 --disable-dmx \
114 --disable-xvfb \
115 --disable-xnest \
116 --disable-install-libxf86config \
117 --disable-dri \
118 --disable-dri2 \
119 --disable-xorg \
120 --disable-xprint \
121 --disable-glx-tls \
122 --disable-glx \
123 --disable-composite \
124 --disable-xorgcfg \
125 --disable-screensaver \
126 --disable-xdmcp \
127 --disable-xinerama \
128 --disable-dga \
129 --disable-xkb \
130 --disable-xevie \
131 --disable-xprint \
132 --disable-xtrap \
133 --disable-w100 \
134 --disable-xsdl \
135 --disable-config-dbus \
136 --disable-config-hal \
137 || die
138
139 mmake || die
140 }
141
142 src_install()
143 {
144 cd ${SRCDIR}
145 xorg_src_install
146
147 # suid all tinyX servers
148 mchmod 4755 /usr/bin/X\* || die
149 }

Properties

Name Value
svn:keywords Id