Contents of /smage/trunk/core/xorg-server/xorg-server-1.8.0-r2.smage2
Parent Directory | Revision Log
Revision 418 -
(show annotations)
(download)
Thu May 6 22:58:23 2010 UTC (14 years ago) by niro
File size: 4118 byte(s)
Thu May 6 22:58:23 2010 UTC (14 years ago) by niro
File size: 4118 byte(s)
auto added: ver bump to 1.8.0-r2
1 | # $Id$ |
2 | |
3 | PNAME="xorg-server" |
4 | PVER="1.8.0" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="x11-base" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Modular X.Org X Server." |
11 | HOMEPAGE="http://xorg.freedesktop.org" |
12 | |
13 | PROVIDE="virtual/x11" |
14 | |
15 | DEPEND=">= x11-libs/libXfont-1.4.1 |
16 | >= x11-libs/libXau-1.0.5 |
17 | >= x11-libs/libXext-1.1 |
18 | >= x11-libs/libX11-1.3.1 |
19 | >= x11-libs/libxkbfile-1.0.6 |
20 | >= x11-libs/libXdmcp-1.0.3 |
21 | >= x11-libs/libXmu-1.0.5 |
22 | >= x11-libs/libXrender-0.9.5 |
23 | >= x11-libs/libXi-1.3 |
24 | >= media-libs/freetype-2.3.9 |
25 | >= media-fonts/font-misc-misc-1 |
26 | >= media-fonts/font-cursor-misc-1 |
27 | >= x11-libs/libXpm-3.5.8 |
28 | # >= x11-libs/libXxf86misc-1.0.2 |
29 | # >= x11-libs/libXxf86vm-1.1.0 |
30 | # >= x11-libs/libXtst-1.1.0 |
31 | # >= x11-libs/libXres-1.0.4 |
32 | # >= x11-libs/libxkbui-1.0.2 |
33 | >= x11-libs/libXinerama-1.1 |
34 | >= sys-fs/udev-151 |
35 | >= x11-libs/pixman-0.16.2 |
36 | >= x11-libs/libpciaccess-0.10.9 |
37 | >= dev-libs/libsha1-0.2" |
38 | # == media-libs/mesa-${MESA_PVER} |
39 | # >= x11-misc/xbitmaps-1.1.0 |
40 | # >= x11-misc/xkeyboard-config-1.7 |
41 | # >= x11-apps/iceauth-1.0.3 |
42 | # >= x11-apps/rgb-1.0.3 |
43 | # >= x11-apps/xauth-1.0.4 |
44 | # >= x11-apps/xinit-1.1.1 |
45 | # >= x11-libs/libXaw-1.0.7 |
46 | # >= x11-libs/libdmx-1.1.0 |
47 | # >= x11-base/opengl-update-magellan-2.2.10 |
48 | |
49 | SDEPEND=">= x11-libs/xtrans-1.2.5 |
50 | >= x11-proto/randrproto-1.3.1 |
51 | >= x11-proto/renderproto-0.11 |
52 | >= x11-proto/fixesproto-4.1.1 |
53 | >= x11-proto/damageproto-1.2.0 |
54 | >= x11-proto/xextproto-7.1.1 |
55 | >= x11-proto/xproto-7.0.16 |
56 | >= x11-proto/xf86dgaproto-2.1 |
57 | >= x11-proto/xf86miscproto-0.9.3 |
58 | >= x11-proto/xf86vidmodeproto-2.3 |
59 | >= x11-proto/xf86bigfontproto-1.2.0 |
60 | >= x11-proto/recordproto-1.14 |
61 | >= x11-proto/resourceproto-1.1.0 |
62 | >= x11-proto/videoproto-2.3.0 |
63 | >= x11-proto/scrnsaverproto-1.2.0 |
64 | >= x11-proto/evieext-1.1.0 |
65 | >= x11-proto/fontsproto-2.1.0 |
66 | >= x11-proto/kbproto-1.0.4 |
67 | >= x11-proto/inputproto-2.0 |
68 | >= x11-proto/bigreqsproto-1.1.0 |
69 | >= x11-proto/xcmiscproto-1.2.0 |
70 | >= x11-apps/mkfontdir-1.0.5 |
71 | >= x11-apps/mkfontscale-1.0.7 |
72 | >= x11-misc/xbitmaps-1.1.0" |
73 | #??? >= x11-libs/libXv-1.0.5" |
74 | # >= x11-proto/compositeproto-0.4.1 |
75 | # >= x11-proto/xineramaproto-1.2 |
76 | # >= x11-proto/glproto-1.4.10 |
77 | # >= x11-proto/dmxproto-2.3 |
78 | # >= x11-proto/xf86driproto-2.1.0 |
79 | # >= x11-proto/dri2proto-2.1 |
80 | # >= x11-libs/libdrm-2.4.15 |
81 | |
82 | sminclude xorg mtools mcore |
83 | |
84 | SRC_URI=( ${SRC_URI[*]} |
85 | mirror://${PNAME}/${SRCFILE} |
86 | mirror://${PNAME}/${PNAME}-1.4-fpic-libxf86config.patch |
87 | mirror://${PNAME}/${PNAME}-1.2.0-die-ugly-pattern-die-die-die.patch |
88 | ) |
89 | |
90 | UP2SUBDIR="xserver" |
91 | UP2DATE="updatecmd_xorg ${PNAME}" |
92 | |
93 | src_prepare() |
94 | { |
95 | munpack ${SRCFILE} || die |
96 | cd ${SRCDIR} |
97 | |
98 | # fixes fpic issues with libxf86config on 64bit systems |
99 | mpatch ${PNAME}-1.4-fpic-libxf86config.patch || die |
100 | |
101 | # adopted from redhat; use a black background |
102 | mpatch ${PNAME}-1.2.0-die-ugly-pattern-die-die-die.patch || die |
103 | |
104 | # fix build issues, some wrapper files which should be generated |
105 | # at build time exist and the makefile doesn't whipe them. we patch |
106 | # the makefile to clean them and whipe these wrapper files |
107 | rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die |
108 | |
109 | # fix xorg.conf.d location |
110 | sed -i 's:^\(@CONFIG_UDEV_TRUE@xorgconfddir =\).*:\1 $(sysconfdir)/X11/$(XF86CONFIGDIR):' config/Makefile.in || die |
111 | sed -i 's:^\(xorgconfddir =\).*: \1$(sysconfdir)/X11/$(XF86CONFIGDIR):' config/Makefile.am || die |
112 | |
113 | autoreconf --verbose --install --force || die |
114 | } |
115 | |
116 | src_compile() |
117 | { |
118 | cd ${SRCDIR} |
119 | |
120 | xorg_src_configure \ |
121 | --sysconfdir=/etc \ |
122 | --localstatedir=/var \ |
123 | --with-xkb-output=/var/lib/xkb \ |
124 | --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \ |
125 | --enable-install-setuid \ |
126 | --disable-ipv6 \ |
127 | --disable-dmx \ |
128 | --disable-xvfb \ |
129 | --disable-xnest \ |
130 | --disable-dri \ |
131 | --disable-dri2 \ |
132 | --enable-xorg \ |
133 | --enable-xtrap \ |
134 | --enable-xevie \ |
135 | --disable-xprint \ |
136 | --disable-glx-tls \ |
137 | --disable-glx \ |
138 | --disable-static \ |
139 | --disable-config-dbus \ |
140 | --disable-config-hal \ |
141 | --enable-config-udev \ |
142 | --disable-composite \ |
143 | --disable-xinerama \ |
144 | --with-sha1=libsha1 \ |
145 | || die |
146 | |
147 | mmake || die |
148 | } |
149 | |
150 | src_install() |
151 | { |
152 | xorg_src_install || die |
153 | |
154 | # needed directories |
155 | minstalldir /usr/bin || die |
156 | |
157 | # missing symlink |
158 | mlink Xorg /usr/bin/X || die |
159 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |