Contents of /smage/trunk/core/xorg-server/xorg-server-1.4.0.90-r10.smage2
Parent Directory
|
Revision Log
Revision 592 -
(show annotations)
(download)
Sun Feb 8 18:22:03 2009 UTC (15 years, 4 months ago) by niro
File size: 6421 byte(s)
Sun Feb 8 18:22:03 2009 UTC (15 years, 4 months ago) by niro
File size: 6421 byte(s)
-moved to 'core'
1 | # $Header: /alx-cvs/smage-eglibc/xorg-server/xorg-server-1.4.0.90-r10.smage2,v 1.4 2008/06/25 11:54:30 niro Exp $ |
2 | |
3 | PNAME="xorg-server" |
4 | PVER="1.4.0.90" |
5 | PBUILD="r10" |
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.3.1 |
16 | >= x11-libs/libXau-1.0.3 |
17 | >= x11-libs/libXext-1.0.3 |
18 | >= x11-libs/libX11-1.1.3 |
19 | >= x11-libs/libxkbfile-1.0.4 |
20 | >= x11-libs/libXdmcp-1.0.2 |
21 | >= x11-libs/libXmu-1.0.4 |
22 | >= x11-libs/libXrender-0.9.4 |
23 | >= x11-libs/libXi-1.1.3 |
24 | >= media-libs/freetype-2.3.5 |
25 | >= media-fonts/font-misc-misc-1 |
26 | >= media-fonts/font-cursor-misc-1 |
27 | >= x11-libs/libXpm-3.5.7 |
28 | >= x11-libs/libXxf86misc-1.0.1 |
29 | >= x11-libs/libXxf86vm-1.0.1 |
30 | >= x11-libs/libXtst-1.0.3 |
31 | >= x11-libs/libXres-1.0.3 |
32 | >= x11-libs/libxkbui-1.0.2 |
33 | >= x11-libs/liblbxutil-1.0.1 |
34 | >= x11-libs/pixman-0.10 |
35 | >= x11-misc/xkeyboard-config-1.2" |
36 | # >= x11-misc/xbitmaps-1.0.1 |
37 | # >= x11-apps/iceauth-1.0.2 |
38 | # >= x11-apps/rgb-1.0.1 |
39 | # >= x11-apps/xauth-1.0.2 |
40 | # >= x11-apps/xinit-1.0.7 |
41 | |
42 | SDEPEND=">= x11-libs/xtrans-1.2 |
43 | >= x11-proto/randrproto-1.2.1 |
44 | >= x11-proto/renderproto-0.9.3 |
45 | >= x11-proto/fixesproto-4 |
46 | >= x11-proto/damageproto-1.1 |
47 | >= x11-proto/xextproto-7.0.2 |
48 | >= x11-proto/xproto-7.0.11 |
49 | >= x11-proto/xf86dgaproto-2.0.3 |
50 | >= x11-proto/xf86miscproto-0.9.2 |
51 | >= x11-proto/xf86rushproto-1.1.2 |
52 | >= x11-proto/xf86vidmodeproto-2.2.2 |
53 | >= x11-proto/xf86bigfontproto-1.1.2 |
54 | >= x11-proto/recordproto-1.13.2 |
55 | >= x11-proto/resourceproto-1.0.2 |
56 | >= x11-proto/videoproto-2.2.2 |
57 | >= x11-proto/scrnsaverproto-1.1.0 |
58 | >= x11-proto/evieext-1.0.2 |
59 | >= x11-proto/trapproto-3.4.3 |
60 | >= x11-proto/xineramaproto-1.1.2 |
61 | >= x11-proto/fontsproto-2.0.2 |
62 | >= x11-proto/kbproto-1.0.3 |
63 | >= x11-proto/inputproto-1.4.2.1 |
64 | >= x11-proto/bigreqsproto-1.0.2 |
65 | >= x11-proto/xcmiscproto-1.1.2 |
66 | >= x11-apps/mkfontdir-1.0.3 |
67 | >= x11-apps/mkfontscale-1.0.3 |
68 | >= x11-misc/xbitmaps-1.0.1 |
69 | >= x11-libs/libXv-1" |
70 | |
71 | sminclude xorg mtools alx |
72 | |
73 | SRC_URI=( ${SRC_URI[*]} |
74 | mirror://${PNAME}/${SRCFILE} |
75 | mirror://${PNAME}/${PNAME}-1.4-fpic-libxf86config.patch |
76 | mirror://${PNAME}/${PNAME}-1.4-document-new-font-catalogs.patch |
77 | mirror://${PNAME}/${PNAME}-1.4-fix-dmx-build.patch |
78 | mirror://${PNAME}/${PNAME}-1.4-fix-dmx-link.patch |
79 | mirror://${PNAME}/${PNAME}-1.4-fix-xephyr-link.patch |
80 | mirror://${PNAME}/${PNAME}-1.4-fix-xprint-build.patch |
81 | mirror://${PNAME}/${PNAME}-1.4-fix-xprint-link.patch |
82 | mirror://${PNAME}/${PNAME}-1.2.0-die-ugly-pattern-die-die-die.patch |
83 | mirror://${PNAME}/${PNAME}-${PVER}-clean-generated-files.patch |
84 | mirror://${PNAME}/${PNAME}-${PVER}-CVE-2007-5760.patch |
85 | mirror://${PNAME}/${PNAME}-${PVER}-CVE-2007-5958.patch |
86 | mirror://${PNAME}/${PNAME}-${PVER}-CVE-2007-6427.patch |
87 | mirror://${PNAME}/${PNAME}-${PVER}-CVE-2007-6428.patch |
88 | mirror://${PNAME}/${PNAME}-${PVER}-CVE-2007-6429_1.patch |
89 | mirror://${PNAME}/${PNAME}-${PVER}-CVE-2007-6429_2.patch |
90 | mirror://${PNAME}/${PNAME}-${PVER}-CVE-2007-6429_3.patch |
91 | mirror://${PNAME}/${PNAME}-${PVER}-CVE-2008-0006.patch |
92 | mirror://${PNAME}/${PNAME}-${PVER}-compiz-keyboard-grab.patch |
93 | mirror://${PNAME}/${PNAME}-${PVER}-dont-hang-openoffice.patch |
94 | mirror://${PNAME}/${PNAME}-1.4.99.901-no-evdev-keyboards.patch |
95 | mirror://${PNAME}/${PNAME}-1.4.99.902-fix-xaa-dependencies-to-build-without-composite-2.patch |
96 | ) |
97 | |
98 | src_prepare() |
99 | { |
100 | munpack ${SRCFILE} || die |
101 | cd ${SRCDIR} |
102 | |
103 | # fixes fpic issues with libxf86config on 64bit systems |
104 | mpatch ${PNAME}-1.4-fpic-libxf86config.patch || die |
105 | |
106 | # fixes some hints about new font catalogs in the documentation |
107 | mpatch ${PNAME}-1.4-document-new-font-catalogs.patch || die |
108 | |
109 | # fixes some build and linking issues with dmx xephyr and xprint |
110 | mpatch ${PNAME}-1.4-fix-dmx-build.patch || die |
111 | mpatch ${PNAME}-1.4-fix-dmx-link.patch || die |
112 | mpatch ${PNAME}-1.4-fix-xephyr-link.patch || die |
113 | mpatch ${PNAME}-1.4-fix-xprint-build.patch || die |
114 | mpatch ${PNAME}-1.4-fix-xprint-link.patch || die |
115 | |
116 | # adopted from redhat; use a black background |
117 | mpatch ${PNAME}-1.2.0-die-ugly-pattern-die-die-die.patch || die |
118 | |
119 | # fix build issues, some wrapper files which should be generated |
120 | # at build time exist and the makefile doesn't whipe them. we patch |
121 | # the makefile to clean them and whipe these wrapper files |
122 | mpatch ${PNAME}-${PVER}-clean-generated-files.patch || die |
123 | rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die |
124 | |
125 | # several security fixes |
126 | mpatch ${PNAME}-${PVER}-CVE-2007-5760.patch || die |
127 | mpatch ${PNAME}-${PVER}-CVE-2007-5958.patch || die |
128 | mpatch ${PNAME}-${PVER}-CVE-2007-6427.patch || die |
129 | mpatch ${PNAME}-${PVER}-CVE-2007-6428.patch || die |
130 | mpatch ${PNAME}-${PVER}-CVE-2007-6429_1.patch || die |
131 | mpatch ${PNAME}-${PVER}-CVE-2007-6429_2.patch || die |
132 | mpatch ${PNAME}-${PVER}-CVE-2007-6429_3.patch || die |
133 | mpatch ${PNAME}-${PVER}-CVE-2008-0006.patch || die |
134 | |
135 | # fixes a keybord grab problem under compiz |
136 | # see: http://bugzilla.gnome.org/show_bug.cgi?id=488264 |
137 | mpatch ${PNAME}-${PVER}-compiz-keyboard-grab.patch || die |
138 | |
139 | # fixes issues with openoffice and 100% cpu utilization |
140 | mpatch ${PNAME}-${PVER}-dont-hang-openoffice.patch || die |
141 | |
142 | # no evdev keyboarding; it is just too broken |
143 | mpatch ${PNAME}-1.4.99.901-no-evdev-keyboards.patch || die |
144 | |
145 | # alx only: |
146 | # fix xaa dependencies - do not depend on composite wrappers |
147 | # see: http://article.gmane.org/gmane.comp.embedded.ptxdist.devel/3858 |
148 | mpatch ${PNAME}-1.4.99.902-fix-xaa-dependencies-to-build-without-composite-2.patch || die |
149 | |
150 | autoreconf --verbose --install --force || die |
151 | } |
152 | |
153 | src_compile() |
154 | { |
155 | cd ${SRCDIR} |
156 | |
157 | xorg_src_configure \ |
158 | --sysconfdir=/etc/X11 \ |
159 | --localstatedir=/var \ |
160 | --with-xkb-output=/var/lib/xkb \ |
161 | --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \ |
162 | --enable-install-setuid \ |
163 | --disable-ipv6 \ |
164 | --disable-dmx \ |
165 | --disable-xvfb \ |
166 | --disable-xnest \ |
167 | --disable-dri \ |
168 | --enable-xorg \ |
169 | --enable-xtrap \ |
170 | --enable-xevie \ |
171 | --disable-xprint \ |
172 | --disable-glx-tls \ |
173 | --disable-glx \ |
174 | --disable-static \ |
175 | --disable-config-dbus \ |
176 | --disable-config-hal \ |
177 | --disable-composite \ |
178 | --disable-dga \ |
179 | --disable-record \ |
180 | --disable-xdmcp \ |
181 | --disable-xdm-auth-1 \ |
182 | --disable-xf86vidmode \ |
183 | --disable-xf86misc \ |
184 | --disable-xace \ |
185 | --disable-xres \ |
186 | --disable-xcsecurity \ |
187 | --disable-appgroup \ |
188 | --disable-{m,c,a}fb \ |
189 | --disable-xtrap \ |
190 | || die |
191 | |
192 | mmake || die |
193 | } |
194 | |
195 | src_install() |
196 | { |
197 | xorg_src_install || die |
198 | |
199 | # missing symlink |
200 | mlink Xorg /usr/bin/X || die |
201 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |