Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:keywords Id