Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 341 - (show annotations) (download)
Thu Apr 29 22:46:29 2010 UTC (14 years ago) by niro
File size: 3776 byte(s)
auto added: ver bump to 1.7.6-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 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 >= x11-misc/xkeyboard-config-1.7
24 >= dev-libs/libsha1-0.2"
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 )
67
68 UP2SUBDIR="xserver"
69 UP2DATE="updatecmd_xorg xorg-server"
70
71 src_prepare()
72 {
73 munpack ${SRCFILE} || die
74 cd ${SRCDIR}
75
76 # fixes fpic issues with libxf86config on 64bit systems
77 mpatch xorg-server-1.4-fpic-libxf86config.patch || die
78
79 # adopted from redhat; use a black background
80 mpatch xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch || die
81
82 # fix build issues, some wrapper files which should be generated
83 # at build time exist and the makefile doesn't whipe them. we patch
84 # the makefile to clean them and whipe these wrapper files
85 rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die
86
87 autoreconf --install --force || die
88 }
89
90 src_compile()
91 {
92 cd ${SRCDIR}
93
94 xorg_src_configure \
95 --sysconfdir=/etc/X11 \
96 --localstatedir=/var \
97 --with-default-font-path=built-ins \
98 --enable-install-setuid \
99 --enable-ipv6 \
100 --enable-kdrive \
101 --disable-xephyr \
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-xkb \
120 --disable-xevie \
121 --disable-xprint \
122 --disable-xtrap \
123 --disable-w100 \
124 --disable-xsdl \
125 --disable-config-dbus \
126 --disable-config-hal \
127 --disable-config-udev \
128 --with-sha1=libsha1 \
129 --enable-kdrive-kbd \
130 --enable-kdrive-mouse \
131 --enable-kdrive-evdev \
132 || die
133
134 mmake || die
135 }
136
137 mcore_generic_src_install()
138 {
139 cd ${SRCDIR}
140 xorg_src_install
141
142 # suid all tinyX servers
143 mchmod 4755 /usr/bin/X\* || die
144
145 # cleanup
146 zapmost ${BINDIR}/usr bin share/man || die
147
148 if [[ -e ${BINDIR}/usr/bin/Xephyr ]]
149 then
150 rm ${BINDIR}/usr/bin/Xephyr || die
151 fi
152
153 if [[ -e ${BINDIR}/usr/share/man1/Xephyr.1 ]]
154 then
155 rm ${BINDIR}/usr/share/man1/Xephyr.1 || die
156 fi
157
158 # needed directory
159 mkeepdir /usr/share/X11/xkb/compiled || die
160 }

Properties

Name Value
svn:keywords Id