1 |
commit: b13ea316df225a8f78b6d7ae9957f2cff2010c50 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 2 23:22:04 2017 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 2 23:23:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b13ea316 |
7 |
|
8 |
x11-base/xorg-server: Version bump to 1.19.2. |
9 |
|
10 |
x11-base/xorg-server/Manifest | 1 + |
11 |
x11-base/xorg-server/xorg-server-1.19.2.ebuild | 243 +++++++++++++++++++++++++ |
12 |
2 files changed, 244 insertions(+) |
13 |
|
14 |
diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest |
15 |
index 7aa7d5f51be..60cded56e63 100644 |
16 |
--- a/x11-base/xorg-server/Manifest |
17 |
+++ b/x11-base/xorg-server/Manifest |
18 |
@@ -5,3 +5,4 @@ DIST xorg-server-1.16-cve-2014-8091..8103.patches.tar.xz 27892 SHA256 47d8c9bb79 |
19 |
DIST xorg-server-1.17.4.tar.bz2 5791384 SHA256 0c4b45c116a812a996eb432d8508cf26c2ec8c3916ff2a50781796882f8d6457 SHA512 4b8377b86ca88f27dcf59db2996b2ee620ce6f181a37dc47600365db588d48f2f3ca66a3149e7c856e686e5783b1cccb2ba0827aa7413299163dfca869f4d376 WHIRLPOOL c5baa1b01e57eac9e18bd1890c0a7e2246836524645057d5e05a1a19225d863645616aafaadbf9d083ffb672d47ea1934ad8323d813533e9519f0d92f9a1c6ab |
20 |
DIST xorg-server-1.18.4.tar.bz2 6009508 SHA256 278459b2c31d61a15655d95a72fb79930c480a6bb8cf9226e48a07df8b1d31c8 SHA512 2055948caa1437547ea823a70d8b24584b65338bb9f1bbf75e3ad7fd60ec9684378facaffa05b7ce496d904213cd192085a43ba889a1476d5fbc813b7e41b56b WHIRLPOOL f9ba5ffb49e6ac7ca20d64d27712a0a8f10c6560256a20e9f944d6438dc5f5eebe53daf6af110084da67a622e92874969047518e72ff181de0d64d83030d629f |
21 |
DIST xorg-server-1.19.1.tar.bz2 6041792 SHA256 79ae2cf39d3f6c4a91201d8dad549d1d774b3420073c5a70d390040aa965a7fb SHA512 37d413fdd96ce6b15ae20ca5028331498586044cfc7a6ab0acb99201b04063c69bcd06867f2dc33237b244ce2870a1c5a4be3cbe4560f2461894f46f8d5dbdd7 WHIRLPOOL 9fab4118e866e11a7742ba63d7f681490d43718a329416fb742e268fdf56f348bc9f1f2b5229fbaac98ce78f41fc1e9e5aa7587ee120fcccaba752ff4bac1555 |
22 |
+DIST xorg-server-1.19.2.tar.bz2 5969543 SHA256 4f8ab9f4a1a885fe7550080555381b34b82858582559e8e3c4da96e3a85884bb SHA512 258c5d615efda28170bf0fd4a19e24fd2cefe086d5ef1aada7a407b8dc2ddaa7d74ad0245e0b13155a3e6d30c65fedf054326e191b6dfe800aae881664d63f16 WHIRLPOOL 6ffca7dc695d9551efecbf9061e40862a187f16afba113467640a506c7becdb2e37d7fe042cbfe08af8ba9f2e8f538fd50460ef46a34452796436de15fa463fd |
23 |
|
24 |
diff --git a/x11-base/xorg-server/xorg-server-1.19.2.ebuild b/x11-base/xorg-server/xorg-server-1.19.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..d4f3e7a68bd |
27 |
--- /dev/null |
28 |
+++ b/x11-base/xorg-server/xorg-server-1.19.2.ebuild |
29 |
@@ -0,0 +1,243 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=5 |
34 |
+ |
35 |
+XORG_DOC=doc |
36 |
+inherit xorg-2 multilib versionator flag-o-matic |
37 |
+EGIT_REPO_URI="git://anongit.freedesktop.org/xorg/xserver" |
38 |
+ |
39 |
+DESCRIPTION="X.Org X servers" |
40 |
+SLOT="0/${PV}" |
41 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" |
42 |
+ |
43 |
+IUSE_SERVERS="dmx kdrive xephyr xnest xorg xvfb" |
44 |
+IUSE="${IUSE_SERVERS} debug glamor ipv6 libressl minimal selinux +suid systemd tslib +udev unwind wayland" |
45 |
+ |
46 |
+CDEPEND=">=app-eselect/eselect-opengl-1.3.0 |
47 |
+ !libressl? ( dev-libs/openssl:0= ) |
48 |
+ libressl? ( dev-libs/libressl ) |
49 |
+ >=x11-apps/iceauth-1.0.2 |
50 |
+ >=x11-apps/rgb-1.0.3 |
51 |
+ >=x11-apps/xauth-1.0.3 |
52 |
+ x11-apps/xkbcomp |
53 |
+ >=x11-libs/libdrm-2.4.46 |
54 |
+ >=x11-libs/libpciaccess-0.12.901 |
55 |
+ >=x11-libs/libXau-1.0.4 |
56 |
+ >=x11-libs/libXdmcp-1.0.2 |
57 |
+ >=x11-libs/libXfont2-2.0.1 |
58 |
+ >=x11-libs/libxkbfile-1.0.4 |
59 |
+ >=x11-libs/libxshmfence-1.1 |
60 |
+ >=x11-libs/pixman-0.27.2 |
61 |
+ >=x11-libs/xtrans-1.3.5 |
62 |
+ >=x11-misc/xbitmaps-1.0.1 |
63 |
+ >=x11-misc/xkeyboard-config-2.4.1-r3 |
64 |
+ dmx? ( |
65 |
+ x11-libs/libXt |
66 |
+ >=x11-libs/libdmx-1.0.99.1 |
67 |
+ >=x11-libs/libX11-1.1.5 |
68 |
+ >=x11-libs/libXaw-1.0.4 |
69 |
+ >=x11-libs/libXext-1.0.99.4 |
70 |
+ >=x11-libs/libXfixes-5.0 |
71 |
+ >=x11-libs/libXi-1.2.99.1 |
72 |
+ >=x11-libs/libXmu-1.0.3 |
73 |
+ x11-libs/libXrender |
74 |
+ >=x11-libs/libXres-1.0.3 |
75 |
+ >=x11-libs/libXtst-1.0.99.2 |
76 |
+ ) |
77 |
+ glamor? ( |
78 |
+ media-libs/libepoxy |
79 |
+ >=media-libs/mesa-10.3.4-r1[egl,gbm] |
80 |
+ !x11-libs/glamor |
81 |
+ ) |
82 |
+ kdrive? ( |
83 |
+ >=x11-libs/libXext-1.0.5 |
84 |
+ x11-libs/libXv |
85 |
+ ) |
86 |
+ xephyr? ( |
87 |
+ x11-libs/libxcb |
88 |
+ x11-libs/xcb-util |
89 |
+ x11-libs/xcb-util-image |
90 |
+ x11-libs/xcb-util-keysyms |
91 |
+ x11-libs/xcb-util-renderutil |
92 |
+ x11-libs/xcb-util-wm |
93 |
+ ) |
94 |
+ !minimal? ( |
95 |
+ >=x11-libs/libX11-1.1.5 |
96 |
+ >=x11-libs/libXext-1.0.5 |
97 |
+ >=media-libs/mesa-10.3.4-r1 |
98 |
+ ) |
99 |
+ tslib? ( >=x11-libs/tslib-1.0 ) |
100 |
+ udev? ( >=virtual/udev-150 ) |
101 |
+ unwind? ( sys-libs/libunwind ) |
102 |
+ wayland? ( |
103 |
+ >=dev-libs/wayland-1.3.0 |
104 |
+ media-libs/libepoxy |
105 |
+ >=dev-libs/wayland-protocols-1.1 |
106 |
+ ) |
107 |
+ >=x11-apps/xinit-1.3.3-r1 |
108 |
+ systemd? ( |
109 |
+ sys-apps/dbus |
110 |
+ sys-apps/systemd |
111 |
+ )" |
112 |
+ |
113 |
+DEPEND="${CDEPEND} |
114 |
+ sys-devel/flex |
115 |
+ >=x11-proto/bigreqsproto-1.1.0 |
116 |
+ >=x11-proto/compositeproto-0.4 |
117 |
+ >=x11-proto/damageproto-1.1 |
118 |
+ >=x11-proto/fixesproto-5.0 |
119 |
+ >=x11-proto/fontsproto-2.1.3 |
120 |
+ >=x11-proto/glproto-1.4.17-r1 |
121 |
+ >=x11-proto/inputproto-2.3 |
122 |
+ >=x11-proto/kbproto-1.0.3 |
123 |
+ >=x11-proto/randrproto-1.5.0 |
124 |
+ >=x11-proto/recordproto-1.13.99.1 |
125 |
+ >=x11-proto/renderproto-0.11 |
126 |
+ >=x11-proto/resourceproto-1.2.0 |
127 |
+ >=x11-proto/scrnsaverproto-1.1 |
128 |
+ >=x11-proto/trapproto-3.4.3 |
129 |
+ >=x11-proto/videoproto-2.2.2 |
130 |
+ >=x11-proto/xcmiscproto-1.2.0 |
131 |
+ >=x11-proto/xextproto-7.2.99.901 |
132 |
+ >=x11-proto/xf86dgaproto-2.0.99.1 |
133 |
+ >=x11-proto/xf86rushproto-1.1.2 |
134 |
+ >=x11-proto/xf86vidmodeproto-2.2.99.1 |
135 |
+ >=x11-proto/xineramaproto-1.1.3 |
136 |
+ >=x11-proto/xproto-7.0.31 |
137 |
+ >=x11-proto/presentproto-1.0 |
138 |
+ >=x11-proto/dri2proto-2.8 |
139 |
+ >=x11-proto/dri3proto-1.0 |
140 |
+ dmx? ( |
141 |
+ >=x11-proto/dmxproto-2.2.99.1 |
142 |
+ doc? ( |
143 |
+ || ( |
144 |
+ www-client/links |
145 |
+ www-client/lynx |
146 |
+ www-client/w3m |
147 |
+ ) |
148 |
+ ) |
149 |
+ ) |
150 |
+ !minimal? ( |
151 |
+ >=x11-proto/xf86driproto-2.1.0 |
152 |
+ )" |
153 |
+ |
154 |
+RDEPEND="${CDEPEND} |
155 |
+ selinux? ( sec-policy/selinux-xserver ) |
156 |
+ !x11-drivers/xf86-video-modesetting |
157 |
+" |
158 |
+ |
159 |
+PDEPEND=" |
160 |
+ xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )" |
161 |
+ |
162 |
+REQUIRED_USE="!minimal? ( |
163 |
+ || ( ${IUSE_SERVERS} ) |
164 |
+ ) |
165 |
+ xephyr? ( kdrive )" |
166 |
+ |
167 |
+#UPSTREAMED_PATCHES=( |
168 |
+# "${WORKDIR}/patches/" |
169 |
+#) |
170 |
+ |
171 |
+PATCHES=( |
172 |
+ "${UPSTREAMED_PATCHES[@]}" |
173 |
+ "${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch |
174 |
+ # needed for new eselect-opengl, bug #541232 |
175 |
+ "${FILESDIR}"/${PN}-1.18-support-multiple-Files-sections.patch |
176 |
+ "${FILESDIR}"/${PN}-1.18-sysmacros.patch #580044 |
177 |
+) |
178 |
+ |
179 |
+pkg_pretend() { |
180 |
+ # older gcc is not supported |
181 |
+ [[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \ |
182 |
+ die "Sorry, but gcc earlier than 4.0 will not work for xorg-server." |
183 |
+} |
184 |
+ |
185 |
+src_configure() { |
186 |
+ # localstatedir is used for the log location; we need to override the default |
187 |
+ # from ebuild.sh |
188 |
+ # sysconfdir is used for the xorg.conf location; same applies |
189 |
+ # NOTE: fop is used for doc generating; and I have no idea if Gentoo |
190 |
+ # package it somewhere |
191 |
+ XORG_CONFIGURE_OPTIONS=( |
192 |
+ $(use_enable ipv6) |
193 |
+ $(use_enable debug) |
194 |
+ $(use_enable dmx) |
195 |
+ $(use_enable glamor) |
196 |
+ $(use_enable kdrive) |
197 |
+ $(use_enable kdrive kdrive-kbd) |
198 |
+ $(use_enable kdrive kdrive-mouse) |
199 |
+ $(use_enable kdrive kdrive-evdev) |
200 |
+ $(use_enable suid install-setuid) |
201 |
+ $(use_enable tslib) |
202 |
+ $(use_enable unwind libunwind) |
203 |
+ $(use_enable wayland xwayland) |
204 |
+ $(use_enable !minimal record) |
205 |
+ $(use_enable !minimal xfree86-utils) |
206 |
+ $(use_enable !minimal dri) |
207 |
+ $(use_enable !minimal dri2) |
208 |
+ $(use_enable !minimal glx) |
209 |
+ $(use_enable xephyr) |
210 |
+ $(use_enable xnest) |
211 |
+ $(use_enable xorg) |
212 |
+ $(use_enable xvfb) |
213 |
+ $(use_enable udev config-udev) |
214 |
+ $(use_with doc doxygen) |
215 |
+ $(use_with doc xmlto) |
216 |
+ $(use_with systemd systemd-daemon) |
217 |
+ $(use_enable systemd systemd-logind) |
218 |
+ --enable-libdrm |
219 |
+ --sysconfdir="${EPREFIX}"/etc/X11 |
220 |
+ --localstatedir="${EPREFIX}"/var |
221 |
+ --with-fontrootdir="${EPREFIX}"/usr/share/fonts |
222 |
+ --with-xkb-output="${EPREFIX}"/var/lib/xkb |
223 |
+ --disable-config-hal |
224 |
+ --disable-linux-acpi |
225 |
+ --without-dtrace |
226 |
+ --without-fop |
227 |
+ --with-os-vendor=Gentoo |
228 |
+ --with-sha1=libcrypto |
229 |
+ ) |
230 |
+ |
231 |
+ xorg-2_src_configure |
232 |
+} |
233 |
+ |
234 |
+src_install() { |
235 |
+ xorg-2_src_install |
236 |
+ |
237 |
+ server_based_install |
238 |
+ |
239 |
+ if ! use minimal && use xorg; then |
240 |
+ # Install xorg.conf.example into docs |
241 |
+ dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example |
242 |
+ fi |
243 |
+ |
244 |
+ newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup |
245 |
+ newinitd "${FILESDIR}"/xdm.initd-11 xdm |
246 |
+ newconfd "${FILESDIR}"/xdm.confd-4 xdm |
247 |
+ |
248 |
+ # install the @x11-module-rebuild set for Portage |
249 |
+ insinto /usr/share/portage/config/sets |
250 |
+ newins "${FILESDIR}"/xorg-sets.conf xorg.conf |
251 |
+} |
252 |
+ |
253 |
+pkg_postinst() { |
254 |
+ # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install) |
255 |
+ eselect opengl set xorg-x11 --use-old |
256 |
+} |
257 |
+ |
258 |
+pkg_postrm() { |
259 |
+ # Get rid of module dir to ensure opengl-update works properly |
260 |
+ if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then |
261 |
+ rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules |
262 |
+ fi |
263 |
+} |
264 |
+ |
265 |
+server_based_install() { |
266 |
+ if ! use xorg; then |
267 |
+ rm "${ED}"/usr/share/man/man1/Xserver.1x \ |
268 |
+ "${ED}"/usr/$(get_libdir)/xserver/SecurityPolicy \ |
269 |
+ "${ED}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \ |
270 |
+ "${ED}"/usr/share/man/man1/Xserver.1x |
271 |
+ fi |
272 |
+} |