Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 244 - (show annotations) (download)
Mon Apr 26 23:30:22 2010 UTC (14 years ago) by niro
File size: 3588 byte(s)
auto added: ver bump to 1.8.0-r1
1 # $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 >= x11-libs/libxkbfile-1.0.6
23 >= 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 >= dev-libs/libsha1-0.2"
28 # >= x11-libs/libXv-1.0.5
29
30 SDEPEND=">= x11-libs/xtrans-1.2
31 >= x11-proto/randrproto-1.3
32 < x11-proto/renderproto-0.11
33 >= x11-proto/fixesproto-4.1
34 >= x11-proto/damageproto-1.2
35 >= x11-proto/xextproto-7.1.1
36 >= x11-proto/xproto-7.0.16
37 >= x11-proto/xf86dgaproto-2.1
38 >= x11-proto/xf86miscproto-0.9.3
39 >= x11-proto/xf86vidmodeproto-2.3
40 >= x11-proto/xf86bigfontproto-1.2.0
41 >= x11-proto/compositeproto-0.4.1
42 >= x11-proto/recordproto-1.14
43 >= x11-proto/resourceproto-1.1.0
44 >= x11-proto/videoproto-2.3.0
45 >= x11-proto/scrnsaverproto-1.2.0
46 >= x11-proto/evieext-1.1.0
47 >= x11-proto/xineramaproto-1.2
48 >= x11-proto/fontsproto-2.1.0
49 >= x11-proto/kbproto-1.0.4
50 >= x11-proto/inputproto-2.0
51 >= x11-proto/bigreqsproto-1.1.0
52 >= x11-proto/xcmiscproto-1.2.0
53 >= x11-apps/mkfontdir-1.0.5
54 >= x11-apps/mkfontscale-1.0.7"
55
56 SRCFILE="xorg-server-${PVER}.tar.bz2"
57 SRCDIR="${BUILDDIR}/xorg-server-${PVER}"
58
59 SRC_URI=(
60 http://ftp.x.org/pub/individual/xserver/${SRCFILE}
61 mirror://xorg-server/${SRCFILE}
62 mirror://xorg-server/xorg-server-1.4-fpic-libxf86config.patch
63 mirror://xorg-server/xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch
64 )
65
66 UP2SUBDIR="xserver"
67 UP2DATE="updatecmd_xorg xorg-server"
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 # fix build issues, some wrapper files which should be generated
81 # at build time exist and the makefile doesn't whipe them. we patch
82 # the makefile to clean them and whipe these wrapper files
83 rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die
84
85 autoreconf --install --force || die
86 }
87
88 src_compile()
89 {
90 cd ${SRCDIR}
91
92 xorg_src_configure \
93 --sysconfdir=/etc/X11 \
94 --localstatedir=/var \
95 --with-default-font-path=built-ins \
96 --enable-install-setuid \
97 --enable-ipv6 \
98 --enable-kdrive \
99 --disable-xephyr \
100 --disable-static \
101 --disable-dmx \
102 --disable-xvfb \
103 --disable-xnest \
104 --disable-install-libxf86config \
105 --disable-dri \
106 --disable-dri2 \
107 --disable-xorg \
108 --disable-xprint \
109 --disable-glx-tls \
110 --disable-glx \
111 --disable-composite \
112 --disable-xorgcfg \
113 --disable-screensaver \
114 --disable-xdmcp \
115 --disable-xinerama \
116 --disable-dga \
117 --disable-xkb \
118 --disable-xevie \
119 --disable-xprint \
120 --disable-xtrap \
121 --disable-w100 \
122 --disable-xsdl \
123 --disable-config-dbus \
124 --disable-config-hal \
125 --enable-config-udev \
126 --with-sha1=libsha1 \
127 || die
128
129 mmake || die
130 }
131
132 mcore_generic_src_install()
133 {
134 cd ${SRCDIR}
135 xorg_src_install
136
137 # suid all tinyX servers
138 mchmod 4755 /usr/bin/X\* || die
139
140 # cleanup
141 zapmost ${BINDIR}/usr bin share/man || die
142
143 if [[ -e ${BINDIR}/usr/bin/Xephyr ]]
144 then
145 rm ${BINDIR}/usr/bin/Xephyr || die
146 fi
147
148 if [[ -e ${BINDIR}/usr/share/man1/Xephyr.1 ]]
149 then
150 rm ${BINDIR}/usr/share/man1/Xephyr.1 || die
151 fi
152
153 # needed directory
154 mkeepdir /usr/share/X11/xkb/compiled || die
155 }

Properties

Name Value
svn:keywords Id