Magellan Linux

Contents of /smage/trunk/core/kdrive/kdrive-1.7.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 936 - (show annotations) (download)
Tue Dec 7 21:50:54 2010 UTC (13 years, 4 months ago) by niro
File size: 4124 byte(s)
-fixed missing deps
1 # $Id$
2
3 PNAME="kdrive"
4 PVER="1.7.6"
5 PBUILD="r1"
6
7 PCATEGORIE="x11-base"
8 STATE="disabled"
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-misc/xkeyboard-config-1.8"
25 # >= 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 PROVIDE="virtual/x11"
54
55 MCORE_ONLY_KEEP="usr/bin usr/share/X11/xkb usr/$(mlibdir)/xorg/protocol.txt"
56 sminclude xorg mtools cleanutils mcore-split
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 mirror://xorg-server/xorg-server-1.7.6-libsha1-support.patch
68 mirror://xorg-server/xorg-server-1.7.6-dlopen-fix.patch
69 )
70
71 UP2SUBDIR="xserver"
72 UP2DATE="updatecmd_xorg xorg-server"
73
74 src_prepare()
75 {
76 munpack ${SRCFILE} || die
77 cd ${SRCDIR}
78
79 # fixes fpic issues with libxf86config on 64bit systems
80 mpatch xorg-server-1.4-fpic-libxf86config.patch || die
81
82 # adopted from redhat; use a black background
83 mpatch xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch || die
84
85 # evdev is way too broken
86 mpatch xorg-server-1.4.99.906-no-evdev-keyboards.patch || die
87
88 # support other sha1 implemtations as well
89 mpatch xorg-server-1.7.6-libsha1-support.patch || die
90
91 # fix linking issues against dlopen (xfbdev needs this)
92 mpatch xorg-server-1.7.6-dlopen-fix.patch || die
93
94 # fix build issues, some wrapper files which should be generated
95 # at build time exist and the makefile doesn't whipe them. we patch
96 # the makefile to clean them and whipe these wrapper files
97 rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die
98
99 autoreconf --install --force || die
100 }
101
102 src_compile()
103 {
104 cd ${SRCDIR}
105
106 xorg_src_configure \
107 --sysconfdir=/etc/X11 \
108 --localstatedir=/var \
109 --with-default-font-path=built-ins \
110 --enable-install-setuid \
111 --enable-ipv6 \
112 --enable-kdrive \
113 --disable-xephyr \
114 --disable-static \
115 --disable-dmx \
116 --disable-xvfb \
117 --disable-xnest \
118 --disable-install-libxf86config \
119 --disable-dri \
120 --disable-dri2 \
121 --disable-xorg \
122 --disable-xprint \
123 --disable-glx-tls \
124 --disable-glx \
125 --disable-composite \
126 --disable-xorgcfg \
127 --disable-screensaver \
128 --disable-xdmcp \
129 --disable-xinerama \
130 --disable-dga \
131 --disable-xkb \
132 --disable-xevie \
133 --disable-xprint \
134 --disable-xtrap \
135 --disable-w100 \
136 --disable-xsdl \
137 --disable-config-dbus \
138 --disable-config-hal \
139 || die
140
141 mmake || die
142 }
143
144 src_install()
145 {
146 cd ${SRCDIR}
147 xorg_src_install
148
149 # suid all tinyX servers
150 mchmod 4755 /usr/bin/X\* || die
151
152 # cleanup
153 zapmost ${BINDIR}/usr bin share/man || die
154
155 if [[ -e ${BINDIR}/usr/bin/Xephyr ]]
156 then
157 rm ${BINDIR}/usr/bin/Xephyr || die
158 fi
159
160 if [[ -e ${BINDIR}/usr/share/man1/Xephyr.1 ]]
161 then
162 rm ${BINDIR}/usr/share/man1/Xephyr.1 || die
163 fi
164
165 # needed directory
166 mkeepdir /usr/share/X11/xkb/compiled || die
167 }

Properties

Name Value
svn:keywords Id