Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 336 - (show annotations) (download)
Thu Apr 29 22:02:41 2010 UTC (14 years ago) by niro
File size: 3676 byte(s)
-support for other sha1 implementation
1 # $Id$
2
3 PNAME="kdrive"
4 PVER="1.7.6"
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/pixman-0.16.2
19 >= media-libs/freetype-2.3.9
20 >= media-fonts/font-misc-misc-1
21 >= media-fonts/font-cursor-misc-1"
22 # >= x11-libs/libXv-1.0.5
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 MCORE_ONLY_KEEP="usr/bin usr/share/X11/xkb"
53 sminclude xorg mtools cleanutils mcore-split
54
55 SRCFILE="xorg-server-${PVER}.tar.bz2"
56 SRCDIR="${BUILDDIR}/xorg-server-${PVER}"
57
58 SRC_URI=(
59 http://ftp.x.org/pub/individual/xserver/${SRCFILE}
60 mirror://xorg-server/${SRCFILE}
61 mirror://xorg-server/xorg-server-1.4-fpic-libxf86config.patch
62 mirror://xorg-server/xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch
63 mirror://xorg-server/xorg-server-1.7.6-libsha1-support.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 # support other sha1 implemtations as well
81 mpatch xorg-server-1.7.6-libsha1-support.patch || die
82
83 # fix build issues, some wrapper files which should be generated
84 # at build time exist and the makefile doesn't whipe them. we patch
85 # the makefile to clean them and whipe these wrapper files
86 rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die
87
88 autoreconf --install --force || die
89 }
90
91 src_compile()
92 {
93 cd ${SRCDIR}
94
95 xorg_src_configure \
96 --sysconfdir=/etc/X11 \
97 --localstatedir=/var \
98 --with-default-font-path=built-ins \
99 --enable-install-setuid \
100 --enable-ipv6 \
101 --enable-kdrive \
102 --disable-xephyr \
103 --disable-static \
104 --disable-dmx \
105 --disable-xvfb \
106 --disable-xnest \
107 --disable-install-libxf86config \
108 --disable-dri \
109 --disable-dri2 \
110 --disable-xorg \
111 --disable-xprint \
112 --disable-glx-tls \
113 --disable-glx \
114 --disable-composite \
115 --disable-xorgcfg \
116 --disable-screensaver \
117 --disable-xdmcp \
118 --disable-xinerama \
119 --disable-dga \
120 --disable-xkb \
121 --disable-xevie \
122 --disable-xprint \
123 --disable-xtrap \
124 --disable-w100 \
125 --disable-xsdl \
126 --disable-config-dbus \
127 --disable-config-hal \
128 || die
129
130 mmake || die
131 }
132
133 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