Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:keywords Id