Contents of /smage/trunk/core/kdrive/kdrive-1.7.6-r1.smage2
Parent Directory | Revision Log
Revision 337 -
(show annotations)
(download)
Thu Apr 29 22:03:06 2010 UTC (14 years ago) by niro
File size: 3701 byte(s)
Thu Apr 29 22:03:06 2010 UTC (14 years ago) by niro
File size: 3701 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 | >= dev-libs/libsha1-0.2" |
23 | # >= x11-libs/libXv-1.0.5 |
24 | |
25 | SDEPEND=">= x11-libs/xtrans-1.2 |
26 | >= x11-proto/randrproto-1.3 |
27 | < x11-proto/renderproto-0.11 |
28 | >= x11-proto/fixesproto-4.1 |
29 | >= x11-proto/damageproto-1.2 |
30 | >= x11-proto/xextproto-7.1.1 |
31 | >= x11-proto/xproto-7.0.16 |
32 | >= x11-proto/xf86dgaproto-2.1 |
33 | >= x11-proto/xf86miscproto-0.9.3 |
34 | >= x11-proto/xf86vidmodeproto-2.3 |
35 | >= x11-proto/xf86bigfontproto-1.2.0 |
36 | >= x11-proto/compositeproto-0.4.1 |
37 | >= x11-proto/recordproto-1.14 |
38 | >= x11-proto/resourceproto-1.1.0 |
39 | >= x11-proto/videoproto-2.3.0 |
40 | >= x11-proto/scrnsaverproto-1.2.0 |
41 | >= x11-proto/evieext-1.1.0 |
42 | >= x11-proto/xineramaproto-1.2 |
43 | >= x11-proto/fontsproto-2.1.0 |
44 | >= x11-proto/kbproto-1.0.4 |
45 | >= x11-proto/inputproto-2.0 |
46 | >= x11-proto/bigreqsproto-1.1.0 |
47 | >= x11-proto/xcmiscproto-1.2.0 |
48 | >= x11-apps/mkfontdir-1.0.5 |
49 | >= x11-apps/mkfontscale-1.0.7" |
50 | |
51 | PROVIDE="virtual/x11" |
52 | |
53 | MCORE_ONLY_KEEP="usr/bin usr/share/X11/xkb" |
54 | sminclude xorg mtools cleanutils mcore-split |
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 | mirror://xorg-server/xorg-server-1.7.6-libsha1-support.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 | # support other sha1 implemtations as well |
82 | mpatch xorg-server-1.7.6-libsha1-support.patch || die |
83 | |
84 | # fix build issues, some wrapper files which should be generated |
85 | # at build time exist and the makefile doesn't whipe them. we patch |
86 | # the makefile to clean them and whipe these wrapper files |
87 | rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die |
88 | |
89 | autoreconf --install --force || die |
90 | } |
91 | |
92 | src_compile() |
93 | { |
94 | cd ${SRCDIR} |
95 | |
96 | xorg_src_configure \ |
97 | --sysconfdir=/etc/X11 \ |
98 | --localstatedir=/var \ |
99 | --with-default-font-path=built-ins \ |
100 | --enable-install-setuid \ |
101 | --enable-ipv6 \ |
102 | --enable-kdrive \ |
103 | --disable-xephyr \ |
104 | --disable-static \ |
105 | --disable-dmx \ |
106 | --disable-xvfb \ |
107 | --disable-xnest \ |
108 | --disable-install-libxf86config \ |
109 | --disable-dri \ |
110 | --disable-dri2 \ |
111 | --disable-xorg \ |
112 | --disable-xprint \ |
113 | --disable-glx-tls \ |
114 | --disable-glx \ |
115 | --disable-composite \ |
116 | --disable-xorgcfg \ |
117 | --disable-screensaver \ |
118 | --disable-xdmcp \ |
119 | --disable-xinerama \ |
120 | --disable-dga \ |
121 | --disable-xkb \ |
122 | --disable-xevie \ |
123 | --disable-xprint \ |
124 | --disable-xtrap \ |
125 | --disable-w100 \ |
126 | --disable-xsdl \ |
127 | --disable-config-dbus \ |
128 | --disable-config-hal \ |
129 | || die |
130 | |
131 | mmake || die |
132 | } |
133 | |
134 | src_install() |
135 | { |
136 | cd ${SRCDIR} |
137 | xorg_src_install |
138 | |
139 | # suid all tinyX servers |
140 | mchmod 4755 /usr/bin/X\* || die |
141 | |
142 | # cleanup |
143 | zapmost ${BINDIR}/usr bin share/man || die |
144 | |
145 | if [[ -e ${BINDIR}/usr/bin/Xephyr ]] |
146 | then |
147 | rm ${BINDIR}/usr/bin/Xephyr || die |
148 | fi |
149 | |
150 | if [[ -e ${BINDIR}/usr/share/man1/Xephyr.1 ]] |
151 | then |
152 | rm ${BINDIR}/usr/share/man1/Xephyr.1 || die |
153 | fi |
154 | |
155 | # needed directory |
156 | mkeepdir /usr/share/X11/xkb/compiled || die |
157 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |