Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: x11-base/xorg-server/, x11-base/xorg-server/files/
Date: Sun, 03 Sep 2017 22:00:13
Message-Id: 1504475948.d2d57ae9fa80cc944a9d13fe4b5b8d95756ff2c9.blueness@gentoo
1 commit: d2d57ae9fa80cc944a9d13fe4b5b8d95756ff2c9
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 3 21:59:08 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 3 21:59:08 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=d2d57ae9
7
8 x11-base/xorg-server: sync to tree
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 x11-base/xorg-server/Manifest | 16 +-
13 .../files/xorg-server-1.12-ia64-fix_inx_outx.patch | 60 -----
14 .../files/xorg-server-1.14.3-musl.patch | 31 ---
15 .../files/xorg-server-1.17-ia64-fix_inx_outx.patch | 59 -----
16 ...rver-1.17-support-multiple-Files-sections.patch | 65 ------
17 x11-base/xorg-server/metadata.xml | 1 +
18 x11-base/xorg-server/xorg-server-1.16.4.ebuild | 258 ---------------------
19 x11-base/xorg-server/xorg-server-1.17.4.ebuild | 245 -------------------
20 x11-base/xorg-server/xorg-server-1.18.4.ebuild | 243 -------------------
21 ...ver-1.19.1.ebuild => xorg-server-1.19.3.ebuild} | 22 +-
22 10 files changed, 19 insertions(+), 981 deletions(-)
23
24 diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest
25 index 2666149..6a2b83b 100644
26 --- a/x11-base/xorg-server/Manifest
27 +++ b/x11-base/xorg-server/Manifest
28 @@ -1,21 +1,11 @@
29 AUX xdm-setup.initd-1 232 SHA256 5985efb5e707b1817b4452410068a322a4db2a00ee0f84e41f3b35b31b9b4dd5 SHA512 809be51c6fcbc251e7feb18e0e8026d4b5a17d4f15478b80159daabf505ccc4e7e03c991373e6de5ad49fc7e3c39814d094ac5b80744a5207bdb192a59683a30 WHIRLPOOL 35c8db787d1a6a35a0027f772dac8dabe9d3dd9e341dd7193dcceddbe3c874054f73ec92a3a4cc756583134cb858d8f64ebd01221ca1d155afde6c58c3659b7f
30 AUX xdm.confd-4 562 SHA256 9d26b72bb28611a60a6b9f942b8d8cfe47b59f926be89af9709b5912668344d8 SHA512 facfb91c0b4e0b1cae86b707d263523215633720e1e8f4595639411f936907b321643e8a06111dd3f7b74fa601476e4b0d09768edfdec762c73fa07cb227588b WHIRLPOOL d701fb5f40ecde2b2f2bb56970576c8abde1499916168fee4a6d27afbc1c0493eb17ddd1a8ee70bfbc77d553a47e219e538febada4946d19cccbdabc90f40e6f
31 AUX xdm.initd-11 6028 SHA256 89728c129014a9ddcd0607da207be91d7b40f22541db51e0e8d22b8d110c40f5 SHA512 4b931a59b79864ffa4e887a92ba16f80ddaafbae2690be41413b0ba05dc46c094a5a97e7677dc0f50120b542265f5495675062e7517da5a74a0131247d7f7fc0 WHIRLPOOL 33c9ac02edb0d3e4347151989a00725f0533a2ed5bdd2fb37f90a917f75b114577aecce94ef4b395b4daec4433e961fdd5ab390f875d645cca169a82b2d3d28b
32 -AUX xorg-server-1.12-ia64-fix_inx_outx.patch 1737 SHA256 bf996a01faf3d1e6f00f12b17373a2530e7e433d3e6c4cac8935ebddc91cd089 SHA512 18bf9bbb973ae4e3f95ffafca8f82845f0c318c3b2dbf0cf9089a2614215ecf000b9037bfed7d80d9367be01247bf316ba2f6e16aa04fe79c54d81441c962bcd WHIRLPOOL cd133d58fc74de9d49773fe2a570d023cea38d09d7550fb9097a8c83a8393e8fc829ffaac566eee732475410e5d8063d0f99d437a68a67e8d3f65d012522240e
33 AUX xorg-server-1.12-unloadsubmodule.patch 1373 SHA256 c68c4c0749b9229c3ca11c72b5ca98b58c7dbaf5c7311ce45890204bdc637c3c SHA512 a6a8ebbb1005f2ea9cfdfc928209a23fe213caab31a889c3290f14bcae0a9afd40176330e2e56cb5ff986d522505e7fb98fa0c71187f403e2afd33c9c919780e WHIRLPOOL 7e9dce7dc4e064567e68697a2966f87cef756670db7e49da50c8d9a5379d7930c3f9642913b8482b8c7597067ef9098e1989284986b5ec605aca6a536329c05c
34 -AUX xorg-server-1.14.3-musl.patch 916 SHA256 aa3d44a6b21a7991eb730d5ddf345e8ab9cf2a319648576b30a1cf5be2621fd1 SHA512 06bc6860c6fc5508c3e7458f2a6061ad02e893d0ba6303423fe76d12b223ef609f225383da891ecbaf448d9ba82bad94f33d5854763b467c1845588fbbbafcb2 WHIRLPOOL 52e957f34a738fe79eb54707252642ee2a748fc10655a02d6998f5f93380766082a772f1de91d8c65042421329af70a9057580dd5f521edec48516ba58803793
35 -AUX xorg-server-1.17-ia64-fix_inx_outx.patch 1539 SHA256 4c844b2d41b6412304b8a918e3cd93d8f2ab8dad8e6a22310cd87d1f3d8f5e95 SHA512 1db65132bb04eff380d38ccc8441f9f9e5286d7a47956495c0a7de7978107d15e5638d05df0aabbcd11687dd03189a7ac50fca51d755d082869aed71e66dbda1 WHIRLPOOL 8f7f3d107e2f8ce5e07d5dac9bf68b7547425943c3e6b6db92eab8bebc0194da53384c953f5e823a5284025e1bbcf18000b497d31de7c5d46e43f9cc02999915
36 -AUX xorg-server-1.17-support-multiple-Files-sections.patch 2256 SHA256 1cc57d2e8449d50737c507005df348610bb68241fe36e997e4803b3b8b3e6d86 SHA512 e3141727c993e02b2e067095807e96ef0cc82e2e7c8b65664d0530ef05a0f7b9170272e4e1e3523ede3f1cc23b00c4776785b8299e0b58a6e7fd56062aecefb6 WHIRLPOOL 078a5e30777a8f6e908421a1c7cc4a7e63c23f57b600bb1117bc1e8de2db0e6440870f811e65283acaa48da06fcc5666434d2bdce257709344e8f584d1525623
37 AUX xorg-server-1.17.4-arm-musl.patch 682 SHA256 b210a93b4d6128c0963ade3458925ff293e1c68ac20a15964357fd401f7161e0 SHA512 b799e757a22a61ac283adbd7a8df1ad4eccce0bb6cac38a0c962ba8438bba3cf6637a65bb64859e7b32399fca672283a49960207e186c271ba574580de360d09 WHIRLPOOL 3a197692f3d5a7563294248784d8afb5d74eb19e8533cab5166364e96753e0c99c1cbfc236b74c9fcfa553822e277b62f19a4b7193697c9e0c991d3f00de5b8e
38 AUX xorg-server-1.18-support-multiple-Files-sections.patch 1902 SHA256 07ef91cb5da75d5165d10d5bc29c58a8b003e743092c1e290453bd6f82a2cf63 SHA512 5cd0a4ce9c2efef7abc84df805a3c6da33bd64fdb16c3aa2fa61da4f805605a3d12cab0f452d3bc217b6e5d5d5bea29c9f3bf262e46347a074770ebd75ddf5b5 WHIRLPOOL 08fa76e82278cc103ba91555d679413409fd70c29609950e9c1fdd7cfc1e13d5d5b76dc2891465b8faa0fca37c89a32556d0c4cb644a131a7abd332a91fc6cad
39 AUX xorg-server-1.18-sysmacros.patch 1698 SHA256 bcd9aa80cd37d05aa4c09bb60e72eab47c14165cc479fd8cb743dca47f1b72b8 SHA512 e92300d9e965ebed7dc6f90d6d58b616e589f3df57efc954280a5eba65fa098bb6069f9b06c81cda169d46051f51a707e5ca659f820fc64948431bbc80e3e5a0 WHIRLPOOL dcb9469c22bc0b6478b0891bf88dcebc214990d12cb7387d1e6f86d8ebd12a5be71c4f0449a10d39034b7e34eef4b1a8846c7f406f1184e19f8e00f8f4c5e69b
40 AUX xorg-sets.conf 199 SHA256 1201d0337ac69d9715f4454a86dfb8a7bd1ae6f4c2578042fc08f283a997597c SHA512 910fe28f20909243044f079ff35136942b8790f4f28ac42ffc64a76b7f03cd22057087fa5e4e01192080b52c0d89000ea96d5a807c6f11f680d3f43312c5be41 WHIRLPOOL 4acac88e1688ea71df59a86a8a188b5369ad05f61e1369cd620eecd754511578e961a537ff6d0b22156f671d3485289cbc941dfe83bea24a27329b7bebb46c7d
41 -DIST xorg-server-1.16.4.tar.bz2 5817330 SHA256 abb6e1cc9213a9915a121f48576ff6739a0b8cdb3d32796f9a7743c9a6efc871 SHA512 f756fca65535aa921a85d8d8eb36ea2ba5b7af90a46d640b0ca76259a9abd9d323885087e11156528d95240937c70373045001ae20266a1b9e89909f007e9e74 WHIRLPOOL 63980a3e2b57d2860998344f21a6524598b3dc135c277e5a868e34b57ab5060681ae7137358b3ba8b9ca5fd622a91aeb06bd0ac9e3e5ce1f4dc55df2b2dc0e33
42 -DIST xorg-server-1.17.4.tar.bz2 5791384 SHA256 0c4b45c116a812a996eb432d8508cf26c2ec8c3916ff2a50781796882f8d6457 SHA512 4b8377b86ca88f27dcf59db2996b2ee620ce6f181a37dc47600365db588d48f2f3ca66a3149e7c856e686e5783b1cccb2ba0827aa7413299163dfca869f4d376 WHIRLPOOL c5baa1b01e57eac9e18bd1890c0a7e2246836524645057d5e05a1a19225d863645616aafaadbf9d083ffb672d47ea1934ad8323d813533e9519f0d92f9a1c6ab
43 -DIST xorg-server-1.18.4.tar.bz2 6009508 SHA256 278459b2c31d61a15655d95a72fb79930c480a6bb8cf9226e48a07df8b1d31c8 SHA512 2055948caa1437547ea823a70d8b24584b65338bb9f1bbf75e3ad7fd60ec9684378facaffa05b7ce496d904213cd192085a43ba889a1476d5fbc813b7e41b56b WHIRLPOOL f9ba5ffb49e6ac7ca20d64d27712a0a8f10c6560256a20e9f944d6438dc5f5eebe53daf6af110084da67a622e92874969047518e72ff181de0d64d83030d629f
44 -DIST xorg-server-1.19.1.tar.bz2 6041792 SHA256 79ae2cf39d3f6c4a91201d8dad549d1d774b3420073c5a70d390040aa965a7fb SHA512 37d413fdd96ce6b15ae20ca5028331498586044cfc7a6ab0acb99201b04063c69bcd06867f2dc33237b244ce2870a1c5a4be3cbe4560f2461894f46f8d5dbdd7 WHIRLPOOL 9fab4118e866e11a7742ba63d7f681490d43718a329416fb742e268fdf56f348bc9f1f2b5229fbaac98ce78f41fc1e9e5aa7587ee120fcccaba752ff4bac1555
45 -EBUILD xorg-server-1.16.4.ebuild 6860 SHA256 8f15dedc009109de63819557027f3d987264f7656363fe8af10ee15f0a3dd4af SHA512 598ed9291bd21bfb8408322fec9fee9cd68934b85ec8471a89ec6f7f8d64b5402e723d374ca99acf206a4aa7df920fa0589961b996d3bb34af4abf6864d13ef4 WHIRLPOOL aedcbc523f45cc97d80f579e3e750b3febb237f87dd86d4c1820b7c4e0854258a58793ecd568548590f0fc824a286ce785b7a37b96da12c4c1107fd08f7506a2
46 -EBUILD xorg-server-1.17.4.ebuild 6261 SHA256 bed8a31ff7a1ff68ec694fcfa73298a8d6d02df3168bfc2810e4ae809954e317 SHA512 652af618c8c2e821613cbe6b9b5a2f7f48d6b8031f214096da8771b00d2e9694a44e49438db951bad63618c49ee992ad181d403426852482c782763219da2ad1 WHIRLPOOL 9c063f00121de935aa010352fffab88550adac05ef75b6d979e8eed551aa4c9fac2e3a217a531b78fc5208e6d65d608f4b73f7c0203d1ed77d4420a189e2b843
47 -EBUILD xorg-server-1.18.4.ebuild 6158 SHA256 0367f321db4d5390de5666492dcfa2ec0ed2fdd4de577c7c3cf300c1d654f1ec SHA512 ecc026e15e5cb2b8ba9c46c5e3a3d918a3cc2c6fb98ec54410f8c0460c08e2dab5cde87a5f4a14ab069a53fa4411a0029df13dbf871ef4dab1115af2f324f8c1 WHIRLPOOL 65a545f6301ef4b0bf54c58df6804e8d1320e71732cf1431284f42447e4e5fbfa0e643c1b02b5c7292a856fca1bbacf608f19cacf31519145b1541e78fd1fe1b
48 -EBUILD xorg-server-1.19.1.ebuild 6195 SHA256 8acbb2420a24148dbb13b00d697b693f8d566cb80c0c69385c13ae5b5f54ddd3 SHA512 4c846a30d4e7695e7722ef99190596209d03ab17e748491b5f9f2ae6360f6b656b20fcbbd1d397851c68116298448245f25f6ddaeb9dfc7133e9e4c5fdf044a2 WHIRLPOOL eb59dbf29e3eb56f1385bb0c7af9ac21928763eb95f4cb2af388590cba55fd7bcaced31730eaa3450876246b9ccec6af5a82f1908f48dfe2d09bceb7fa2a380d
49 -MISC metadata.xml 877 SHA256 b41a133db7c20ca9b78a620f30af984d178baef7207c8c4329e1309835e8b522 SHA512 370e41da26388e328697958396b808c831e07245dc9e2ea230316bee8067d8501d032a0c9f89b7f1ea27c816490803839a8f14485aacde6143b3db38a6e1ede2 WHIRLPOOL ce70642eac3ef6ea824755d4d1bc7bdf8e5d3b95300ef43a41e1f5e710df0f12179f0a15b21dae0fbebb0dd56e35008f1e991463215a7f23dd2fd977400da40b
50 +DIST xorg-server-1.19.3.tar.bz2 6050221 SHA256 677a8166e03474719238dfe396ce673c4234735464d6dadf2959b600d20e5a98 SHA512 b988897418399e1361fdcca9465a781f55f8f6fbfdc5a59edfaee9046a0c6ad7a76f348d88b6004ce3d3fb3966b4c5af0b854f6549c32b2b8d7a43758809f669 WHIRLPOOL acbac6db7ba0aff8d0b906e52a783b38b1ce43a342159becb2fc696e34274c98e546e9712d59cf3360ad745555416e6be89575523285e1ca3954f9e60a5cf079
51 +EBUILD xorg-server-1.19.3.ebuild 6433 SHA256 7d5ab597d6e824d2c74e1ffddbc44753280e49a3e320e35465b432bb8a408c7a SHA512 fb6d230c365a6b2b1c773b7ccb8b7189bf37b53f86b9fb6a1ec2bd48a75206df2e776ae3e9ceef860bb6cac522e8d78b9b89a941d0df0b1520e11491137001f6 WHIRLPOOL 8c3fff1a2a16d7c0bd0e5f94a9d1327e57757621a0c132cca4cb3dea23de70c222f733d9798af97e600f7503b76e051ff28e31f94978b494d22bc88d660a8764
52 +MISC metadata.xml 934 SHA256 acb36a2492283548f6ece8ae25973cb832092c77976924cde61cfe4ec16a2544 SHA512 97fffbdf402a70c9cb84062ac6c906b8a9d35ceebbe35b28547387e4a9e2706c595f842f64bee92925415bd49593f3a3b0213072ff2c0ab22209dc37e243d4ac WHIRLPOOL 32254696451b638c886b8d78b32973abb7a73f593f2cec14e5f6513c8acb32578881086b29701e7b74c137a21b9d58a589e9c444ca7a23ec2c5ea8dea153b28b
53
54 diff --git a/x11-base/xorg-server/files/xorg-server-1.12-ia64-fix_inx_outx.patch b/x11-base/xorg-server/files/xorg-server-1.12-ia64-fix_inx_outx.patch
55 deleted file mode 100644
56 index 24a5a02..0000000
57 --- a/x11-base/xorg-server/files/xorg-server-1.12-ia64-fix_inx_outx.patch
58 +++ /dev/null
59 @@ -1,60 +0,0 @@
60 -diff -r --context xorg-server-1.12.3/hw/xfree86/common/compiler.h xorg-server-1.12.3-fix/hw/xfree86/common/compiler.h
61 -*** xorg-server-1.12.3/hw/xfree86/common/compiler.h 2012-07-06 07:17:19.000000000 +0200
62 ---- xorg-server-1.12.3-fix/hw/xfree86/common/compiler.h 2012-08-29 00:14:39.000000000 +0200
63 -***************
64 -*** 421,426 ****
65 ---- 421,474 ----
66 - #include <machine/pio.h>
67 - #endif /* __NetBSD__ */
68 -
69 -+ #elif defined(linux) && defined(__ia64__)
70 -+ /* for Linux on ia64, we use the LIBC _inx/_outx routines */
71 -+ /* note that the appropriate setup via "ioperm" needs to be done */
72 -+ /* *before* any inx/outx is done. */
73 -+
74 -+ extern _X_EXPORT void _outb(unsigned char val, unsigned long port);
75 -+ extern _X_EXPORT void _outw(unsigned short val, unsigned long port);
76 -+ extern _X_EXPORT void _outl(unsigned int val, unsigned long port);
77 -+ extern _X_EXPORT unsigned int _inb(unsigned long port);
78 -+ extern _X_EXPORT unsigned int _inw(unsigned long port);
79 -+ extern _X_EXPORT unsigned int _inl(unsigned long port);
80 -+
81 -+ static __inline__ void
82 -+ outb(unsigned long port, unsigned char val)
83 -+ {
84 -+ _outb(val, port);
85 -+ }
86 -+
87 -+ static __inline__ void
88 -+ outw(unsigned long port, unsigned short val)
89 -+ {
90 -+ _outw(val, port);
91 -+ }
92 -+
93 -+ static __inline__ void
94 -+ outl(unsigned long port, unsigned int val)
95 -+ {
96 -+ _outl(val, port);
97 -+ }
98 -+
99 -+ static __inline__ unsigned int
100 -+ inb(unsigned long port)
101 -+ {
102 -+ return _inb(port);
103 -+ }
104 -+
105 -+ static __inline__ unsigned int
106 -+ inw(unsigned long port)
107 -+ {
108 -+ return _inw(port);
109 -+ }
110 -+
111 -+ static __inline__ unsigned int
112 -+ inl(unsigned long port)
113 -+ {
114 -+ return _inl(port);
115 -+ }
116 -+
117 - #elif (defined(linux) || defined(__FreeBSD__)) && defined(__amd64__)
118 -
119 - #include <inttypes.h>
120
121 diff --git a/x11-base/xorg-server/files/xorg-server-1.14.3-musl.patch b/x11-base/xorg-server/files/xorg-server-1.14.3-musl.patch
122 deleted file mode 100644
123 index dae9848..0000000
124 --- a/x11-base/xorg-server/files/xorg-server-1.14.3-musl.patch
125 +++ /dev/null
126 @@ -1,31 +0,0 @@
127 -diff -ur a/xorg-server-1.14.3/hw/xfree86/os-support/xf86_OSlib.h b/xorg-server-1.14.3/hw/xfree86/os-support/xf86_OSlib.h
128 ---- a/xorg-server-1.14.3/hw/xfree86/os-support/xf86_OSlib.h
129 -+++ b/xorg-server-1.14.3/hw/xfree86/os-support/xf86_OSlib.h
130 -@@ -179,7 +179,7 @@
131 - #include <assert.h>
132 -
133 - #ifdef __linux__
134 --#include <termio.h>
135 -+#include <termios.h>
136 - #else /* __GLIBC__ */
137 - #include <termios.h>
138 - #endif
139 -diff -ur a/xorg-server-1.14.3/os/access.c b/xorg-server-1.14.3/os/access.c
140 ---- a/xorg-server-1.14.3/os/access.c
141 -+++ b/xorg-server-1.14.3/os/access.c
142 -@@ -89,6 +89,7 @@
143 - #define XSERV_t
144 - #define TRANS_SERVER
145 - #define TRANS_REOPEN
146 -+#define _GNU_SOURCE
147 - #include <X11/Xtrans/Xtrans.h>
148 - #include <X11/Xauth.h>
149 - #include <X11/X.h>
150 -@@ -98,6 +99,7 @@
151 - #include <errno.h>
152 - #include <sys/types.h>
153 - #ifndef WIN32
154 -+#define _GNU_SOURCE
155 - #include <sys/socket.h>
156 - #include <sys/ioctl.h>
157 - #include <ctype.h>
158
159 diff --git a/x11-base/xorg-server/files/xorg-server-1.17-ia64-fix_inx_outx.patch b/x11-base/xorg-server/files/xorg-server-1.17-ia64-fix_inx_outx.patch
160 deleted file mode 100644
161 index 84485c9..0000000
162 --- a/x11-base/xorg-server/files/xorg-server-1.17-ia64-fix_inx_outx.patch
163 +++ /dev/null
164 @@ -1,59 +0,0 @@
165 -diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h
166 -index 1653574..fe881ee 100644
167 ---- a/hw/xfree86/common/compiler.h
168 -+++ b/hw/xfree86/common/compiler.h
169 -@@ -286,6 +286,54 @@ extern _X_EXPORT unsigned int inl(unsigned int port);
170 - #include <machine/pio.h>
171 - #endif /* __NetBSD__ */
172 -
173 -+#elif defined(linux) && defined(__ia64__)
174 -+/* for Linux on ia64, we use the LIBC _inx/_outx routines */
175 -+/* note that the appropriate setup via "ioperm" needs to be done */
176 -+/* *before* any inx/outx is done. */
177 -+
178 -+extern _X_EXPORT void _outb(unsigned char val, unsigned long port);
179 -+extern _X_EXPORT void _outw(unsigned short val, unsigned long port);
180 -+extern _X_EXPORT void _outl(unsigned int val, unsigned long port);
181 -+extern _X_EXPORT unsigned int _inb(unsigned long port);
182 -+extern _X_EXPORT unsigned int _inw(unsigned long port);
183 -+extern _X_EXPORT unsigned int _inl(unsigned long port);
184 -+
185 -+static __inline__ void
186 -+outb(unsigned long port, unsigned char val)
187 -+{
188 -+ _outb(val, port);
189 -+}
190 -+
191 -+static __inline__ void
192 -+outw(unsigned long port, unsigned short val)
193 -+{
194 -+ _outw(val, port);
195 -+}
196 -+
197 -+static __inline__ void
198 -+outl(unsigned long port, unsigned int val)
199 -+{
200 -+ _outl(val, port);
201 -+}
202 -+
203 -+static __inline__ unsigned int
204 -+inb(unsigned long port)
205 -+{
206 -+ return _inb(port);
207 -+}
208 -+
209 -+static __inline__ unsigned int
210 -+inw(unsigned long port)
211 -+{
212 -+ return _inw(port);
213 -+}
214 -+
215 -+static __inline__ unsigned int
216 -+inl(unsigned long port)
217 -+{
218 -+ return _inl(port);
219 -+}
220 -+
221 - #elif defined(__amd64__)
222 -
223 - #include <inttypes.h>
224
225 diff --git a/x11-base/xorg-server/files/xorg-server-1.17-support-multiple-Files-sections.patch b/x11-base/xorg-server/files/xorg-server-1.17-support-multiple-Files-sections.patch
226 deleted file mode 100644
227 index 789a118..0000000
228 --- a/x11-base/xorg-server/files/xorg-server-1.17-support-multiple-Files-sections.patch
229 +++ /dev/null
230 @@ -1,65 +0,0 @@
231 -From a140d7ce3f37f30b4fed27c5a70ebcc4ed13c612 Mon Sep 17 00:00:00 2001
232 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
233 -Date: Tue, 24 Feb 2015 12:57:24 +0100
234 -Subject: [PATCH] config: Support multiple 'Files' sections
235 -
236 ----
237 - hw/xfree86/parser/Files.c | 8 ++++++--
238 - hw/xfree86/parser/configProcs.h | 2 +-
239 - hw/xfree86/parser/read.c | 2 +-
240 - 3 files changed, 8 insertions(+), 4 deletions(-)
241 -
242 -diff --git a/hw/xfree86/parser/Files.c b/hw/xfree86/parser/Files.c
243 -index 849bf92..5cc3ec7 100644
244 ---- a/hw/xfree86/parser/Files.c
245 -+++ b/hw/xfree86/parser/Files.c
246 -@@ -76,14 +76,18 @@ static xf86ConfigSymTabRec FilesTab[] = {
247 - #define CLEANUP xf86freeFiles
248 -
249 - XF86ConfFilesPtr
250 --xf86parseFilesSection(void)
251 -+xf86parseFilesSection(XF86ConfFilesPtr ptr)
252 - {
253 - int i, j;
254 - int k, l;
255 - char *str;
256 - int token;
257 -
258 -- parsePrologue(XF86ConfFilesPtr, XF86ConfFilesRec)
259 -+ if (!ptr) {
260 -+ if( (ptr=calloc(1,sizeof(XF86ConfFilesRec))) == NULL ) {
261 -+ return NULL;
262 -+ }
263 -+ }
264 -
265 - while ((token = xf86getToken(FilesTab)) != ENDSECTION) {
266 - switch (token) {
267 -diff --git a/hw/xfree86/parser/configProcs.h b/hw/xfree86/parser/configProcs.h
268 -index 774e2a2..b9fdebb 100644
269 ---- a/hw/xfree86/parser/configProcs.h
270 -+++ b/hw/xfree86/parser/configProcs.h
271 -@@ -37,7 +37,7 @@ void xf86freeDeviceList(XF86ConfDevicePtr ptr);
272 - int xf86validateDevice(XF86ConfigPtr p);
273 -
274 - /* Files.c */
275 --XF86ConfFilesPtr xf86parseFilesSection(void);
276 -+XF86ConfFilesPtr xf86parseFilesSection(XF86ConfFilesPtr ptr);
277 - void xf86printFileSection(FILE * cf, XF86ConfFilesPtr ptr);
278 - void xf86freeFiles(XF86ConfFilesPtr p);
279 -
280 -diff --git a/hw/xfree86/parser/read.c b/hw/xfree86/parser/read.c
281 -index 327c02a..e0d6139 100644
282 ---- a/hw/xfree86/parser/read.c
283 -+++ b/hw/xfree86/parser/read.c
284 -@@ -110,7 +110,7 @@ xf86readConfigFile(void)
285 - if (xf86nameCompare(xf86_lex_val.str, "files") == 0) {
286 - free(xf86_lex_val.str);
287 - xf86_lex_val.str = NULL;
288 -- HANDLE_RETURN(conf_files, xf86parseFilesSection());
289 -+ HANDLE_RETURN(conf_files, xf86parseFilesSection(ptr->conf_files));
290 - }
291 - else if (xf86nameCompare(xf86_lex_val.str, "serverflags") == 0) {
292 - free(xf86_lex_val.str);
293 ---
294 -2.3.0
295 -
296
297 diff --git a/x11-base/xorg-server/metadata.xml b/x11-base/xorg-server/metadata.xml
298 index dae89ec..8c8c243 100644
299 --- a/x11-base/xorg-server/metadata.xml
300 +++ b/x11-base/xorg-server/metadata.xml
301 @@ -11,6 +11,7 @@
302 <flag name="kdrive">Build the kdrive X servers</flag>
303 <flag name="tslib">Build with tslib support for touchscreen devices</flag>
304 <flag name="unwind">Enable libunwind usage for backtraces</flag>
305 + <flag name="xcsecurity">Build Security extension</flag>
306 <flag name="xnest">Build the Xnest server</flag>
307 <flag name="xephyr">Build the Xephyr server</flag>
308 <flag name="xorg">Build the Xorg X server (HIGHLY RECOMMENDED)</flag>
309
310 diff --git a/x11-base/xorg-server/xorg-server-1.16.4.ebuild b/x11-base/xorg-server/xorg-server-1.16.4.ebuild
311 deleted file mode 100644
312 index 5be4d58..0000000
313 --- a/x11-base/xorg-server/xorg-server-1.16.4.ebuild
314 +++ /dev/null
315 @@ -1,258 +0,0 @@
316 -# Copyright 1999-2016 Gentoo Foundation
317 -# Distributed under the terms of the GNU General Public License v2
318 -
319 -EAPI=5
320 -
321 -XORG_DOC=doc
322 -inherit xorg-2 multilib versionator flag-o-matic
323 -EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/xserver"
324 -
325 -DESCRIPTION="X.Org X servers"
326 -SLOT="0/1.16.1"
327 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
328 -
329 -IUSE_SERVERS="dmx kdrive xnest xorg xvfb"
330 -IUSE="${IUSE_SERVERS} glamor ipv6 minimal nptl selinux +suid systemd tslib +udev unwind wayland"
331 -
332 -CDEPEND=">=app-eselect/eselect-opengl-1.0.8
333 - !>=app-eselect/eselect-opengl-1.3.0
334 - dev-libs/openssl:0=
335 - media-libs/freetype
336 - >=x11-apps/iceauth-1.0.2
337 - >=x11-apps/rgb-1.0.3
338 - >=x11-apps/xauth-1.0.3
339 - x11-apps/xkbcomp
340 - >=x11-libs/libdrm-2.4.20
341 - >=x11-libs/libpciaccess-0.12.901
342 - >=x11-libs/libXau-1.0.4
343 - >=x11-libs/libXdmcp-1.0.2
344 - >=x11-libs/libXfont-1.4.2
345 - >=x11-libs/libxkbfile-1.0.4
346 - >=x11-libs/libxshmfence-1.1
347 - >=x11-libs/pixman-0.27.2
348 - >=x11-libs/xtrans-1.3.3
349 - >=x11-misc/xbitmaps-1.0.1
350 - >=x11-misc/xkeyboard-config-2.4.1-r3
351 - dmx? (
352 - x11-libs/libXt
353 - >=x11-libs/libdmx-1.0.99.1
354 - >=x11-libs/libX11-1.1.5
355 - >=x11-libs/libXaw-1.0.4
356 - >=x11-libs/libXext-1.0.99.4
357 - >=x11-libs/libXfixes-5.0
358 - >=x11-libs/libXi-1.2.99.1
359 - >=x11-libs/libXmu-1.0.3
360 - x11-libs/libXrender
361 - >=x11-libs/libXres-1.0.3
362 - >=x11-libs/libXtst-1.0.99.2
363 - )
364 - glamor? (
365 - media-libs/libepoxy
366 - media-libs/mesa[egl,gbm]
367 - !x11-libs/glamor
368 - )
369 - kdrive? (
370 - >=x11-libs/libXext-1.0.5
371 - x11-libs/libXv
372 - )
373 - !minimal? (
374 - >=x11-libs/libX11-1.1.5
375 - >=x11-libs/libXext-1.0.5
376 - >=media-libs/mesa-9.2.0[nptl=]
377 - )
378 - tslib? ( >=x11-libs/tslib-1.0 )
379 - udev? ( >=virtual/udev-150 )
380 - unwind? ( sys-libs/libunwind )
381 - wayland? (
382 - >=dev-libs/wayland-1.3.0
383 - media-libs/libepoxy
384 - )
385 - >=x11-apps/xinit-1.3
386 - systemd? (
387 - sys-apps/dbus
388 - <sys-apps/systemd-230
389 - )"
390 -
391 -DEPEND="${CDEPEND}
392 - sys-devel/flex
393 - >=x11-proto/bigreqsproto-1.1.0
394 - >=x11-proto/compositeproto-0.4
395 - >=x11-proto/damageproto-1.1
396 - >=x11-proto/fixesproto-5.0
397 - >=x11-proto/fontsproto-2.1.3
398 - >=x11-proto/glproto-1.4.17
399 - >=x11-proto/inputproto-2.2.99.1
400 - >=x11-proto/kbproto-1.0.3
401 - >=x11-proto/randrproto-1.4.0
402 - >=x11-proto/recordproto-1.13.99.1
403 - >=x11-proto/renderproto-0.11
404 - >=x11-proto/resourceproto-1.2.0
405 - >=x11-proto/scrnsaverproto-1.1
406 - >=x11-proto/trapproto-3.4.3
407 - >=x11-proto/videoproto-2.2.2
408 - >=x11-proto/xcmiscproto-1.2.0
409 - >=x11-proto/xextproto-7.2.99.901
410 - >=x11-proto/xf86dgaproto-2.0.99.1
411 - >=x11-proto/xf86rushproto-1.1.2
412 - >=x11-proto/xf86vidmodeproto-2.2.99.1
413 - >=x11-proto/xineramaproto-1.1.3
414 - >=x11-proto/xproto-7.0.26
415 - >=x11-proto/presentproto-1.0
416 - >=x11-proto/dri3proto-1.0
417 - dmx? (
418 - >=x11-proto/dmxproto-2.2.99.1
419 - doc? (
420 - || (
421 - www-client/links
422 - www-client/lynx
423 - www-client/w3m
424 - )
425 - )
426 - )
427 - !minimal? (
428 - >=x11-proto/xf86driproto-2.1.0
429 - >=x11-proto/dri2proto-2.8
430 - )"
431 -
432 -RDEPEND="${CDEPEND}
433 - selinux? ( sec-policy/selinux-xserver )
434 -"
435 -
436 -PDEPEND="
437 - xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )"
438 -
439 -REQUIRED_USE="!minimal? (
440 - || ( ${IUSE_SERVERS} )
441 - )"
442 -
443 -#UPSTREAMED_PATCHES=(
444 -# "${WORKDIR}/patches/"
445 -#)
446 -
447 -PATCHES=(
448 - "${UPSTREAMED_PATCHES[@]}"
449 - "${FILESDIR}"/${PN}-1.12-ia64-fix_inx_outx.patch
450 - "${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch
451 - "${FILESDIR}"/${PN}-1.14.3-musl.patch
452 -)
453 -
454 -pkg_pretend() {
455 - # older gcc is not supported
456 - [[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \
457 - die "Sorry, but gcc earlier than 4.0 will not work for xorg-server."
458 -}
459 -
460 -src_configure() {
461 - # localstatedir is used for the log location; we need to override the default
462 - # from ebuild.sh
463 - # sysconfdir is used for the xorg.conf location; same applies
464 - # NOTE: fop is used for doc generating ; and i have no idea if gentoo
465 - # package it somewhere
466 - XORG_CONFIGURE_OPTIONS=(
467 - $(use_enable ipv6)
468 - $(use_enable dmx)
469 - $(use_enable glamor)
470 - $(use_enable kdrive)
471 - $(use_enable kdrive kdrive-kbd)
472 - $(use_enable kdrive kdrive-mouse)
473 - $(use_enable kdrive kdrive-evdev)
474 - $(use_enable suid install-setuid)
475 - $(use_enable tslib)
476 - $(use_enable unwind libunwind)
477 - $(use_enable wayland xwayland)
478 - $(use_enable !minimal record)
479 - $(use_enable !minimal xfree86-utils)
480 - $(use_enable !minimal install-libxf86config)
481 - $(use_enable !minimal dri)
482 - $(use_enable !minimal dri2)
483 - $(use_enable !minimal glx)
484 - $(use_enable xnest)
485 - $(use_enable xorg)
486 - $(use_enable xvfb)
487 - $(use_enable nptl glx-tls)
488 - $(use_enable udev config-udev)
489 - $(use_with doc doxygen)
490 - $(use_with doc xmlto)
491 - $(use_with systemd systemd-daemon)
492 - $(use_enable systemd systemd-logind)
493 - --enable-libdrm
494 - --sysconfdir="${EPREFIX}"/etc/X11
495 - --localstatedir="${EPREFIX}"/var
496 - --with-fontrootdir="${EPREFIX}"/usr/share/fonts
497 - --with-xkb-output="${EPREFIX}"/var/lib/xkb
498 - --disable-config-hal
499 - --disable-linux-acpi
500 - --without-dtrace
501 - --without-fop
502 - --with-os-vendor=Gentoo
503 - --with-sha1=libcrypto
504 - )
505 -
506 - # Xorg-server requires includes from OS mesa which are not visible for
507 - # users of binary drivers.
508 - mkdir -p "${T}/mesa-symlinks/GL"
509 - for i in gl glx glxmd glxproto glxtokens; do
510 - ln -s "${EROOT}usr/$(get_libdir)/opengl/xorg-x11/include/$i.h" "${T}/mesa-symlinks/GL/$i.h" || die
511 - done
512 - for i in glext glxext; do
513 - ln -s "${EROOT}usr/$(get_libdir)/opengl/global/include/$i.h" "${T}/mesa-symlinks/GL/$i.h" || die
514 - done
515 - append-cppflags "-I${T}/mesa-symlinks"
516 -
517 - xorg-2_src_configure
518 -}
519 -
520 -src_install() {
521 - xorg-2_src_install
522 -
523 - dynamic_libgl_install
524 -
525 - server_based_install
526 -
527 - if ! use minimal && use xorg; then
528 - # Install xorg.conf.example into docs
529 - dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example
530 - fi
531 -
532 - newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup
533 - newinitd "${FILESDIR}"/xdm.initd-11 xdm
534 - newconfd "${FILESDIR}"/xdm.confd-4 xdm
535 -
536 - # install the @x11-module-rebuild set for Portage
537 - insinto /usr/share/portage/config/sets
538 - newins "${FILESDIR}"/xorg-sets.conf xorg.conf
539 -}
540 -
541 -pkg_postinst() {
542 - # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install)
543 - eselect opengl set xorg-x11 --use-old
544 -}
545 -
546 -pkg_postrm() {
547 - # Get rid of module dir to ensure opengl-update works properly
548 - if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then
549 - rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules
550 - fi
551 -}
552 -
553 -dynamic_libgl_install() {
554 - # next section is to setup the dynamic libGL stuff
555 - ebegin "Moving GL files for dynamic switching"
556 - dodir /usr/$(get_libdir)/opengl/xorg-x11/extensions
557 - local x=""
558 - for x in "${ED}"/usr/$(get_libdir)/xorg/modules/extensions/lib{glx,dri,dri2}*; do
559 - if [ -f ${x} -o -L ${x} ]; then
560 - mv -f ${x} "${ED}"/usr/$(get_libdir)/opengl/xorg-x11/extensions
561 - fi
562 - done
563 - eend 0
564 -}
565 -
566 -server_based_install() {
567 - if ! use xorg; then
568 - rm "${ED}"/usr/share/man/man1/Xserver.1x \
569 - "${ED}"/usr/$(get_libdir)/xserver/SecurityPolicy \
570 - "${ED}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \
571 - "${ED}"/usr/share/man/man1/Xserver.1x
572 - fi
573 -}
574
575 diff --git a/x11-base/xorg-server/xorg-server-1.17.4.ebuild b/x11-base/xorg-server/xorg-server-1.17.4.ebuild
576 deleted file mode 100644
577 index c9fe7ac..0000000
578 --- a/x11-base/xorg-server/xorg-server-1.17.4.ebuild
579 +++ /dev/null
580 @@ -1,245 +0,0 @@
581 -# Copyright 1999-2016 Gentoo Foundation
582 -# Distributed under the terms of the GNU General Public License v2
583 -
584 -EAPI=5
585 -
586 -XORG_DOC=doc
587 -inherit xorg-2 multilib versionator flag-o-matic
588 -EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/xserver"
589 -
590 -DESCRIPTION="X.Org X servers"
591 -SLOT="0/${PV}"
592 -KEYWORDS="arm"
593 -
594 -IUSE_SERVERS="dmx kdrive xephyr xnest xorg xvfb"
595 -IUSE="${IUSE_SERVERS} glamor ipv6 libressl minimal nptl selinux +suid systemd tslib +udev unwind wayland"
596 -
597 -CDEPEND=">=app-eselect/eselect-opengl-1.3.0
598 - !libressl? ( dev-libs/openssl:0= )
599 - libressl? ( dev-libs/libressl )
600 - media-libs/freetype
601 - >=x11-apps/iceauth-1.0.2
602 - >=x11-apps/rgb-1.0.3
603 - >=x11-apps/xauth-1.0.3
604 - x11-apps/xkbcomp
605 - >=x11-libs/libdrm-2.4.46
606 - >=x11-libs/libpciaccess-0.12.901
607 - >=x11-libs/libXau-1.0.4
608 - >=x11-libs/libXdmcp-1.0.2
609 - >=x11-libs/libXfont-1.4.2
610 - >=x11-libs/libxkbfile-1.0.4
611 - >=x11-libs/libxshmfence-1.1
612 - >=x11-libs/pixman-0.27.2
613 - >=x11-libs/xtrans-1.3.5
614 - >=x11-misc/xbitmaps-1.0.1
615 - >=x11-misc/xkeyboard-config-2.4.1-r3
616 - dmx? (
617 - x11-libs/libXt
618 - >=x11-libs/libdmx-1.0.99.1
619 - >=x11-libs/libX11-1.1.5
620 - >=x11-libs/libXaw-1.0.4
621 - >=x11-libs/libXext-1.0.99.4
622 - >=x11-libs/libXfixes-5.0
623 - >=x11-libs/libXi-1.2.99.1
624 - >=x11-libs/libXmu-1.0.3
625 - x11-libs/libXrender
626 - >=x11-libs/libXres-1.0.3
627 - >=x11-libs/libXtst-1.0.99.2
628 - )
629 - glamor? (
630 - media-libs/libepoxy
631 - >=media-libs/mesa-10.3.4-r1[egl,gbm]
632 - !x11-libs/glamor
633 - )
634 - kdrive? (
635 - >=x11-libs/libXext-1.0.5
636 - x11-libs/libXv
637 - )
638 - xephyr? (
639 - x11-libs/libxcb
640 - x11-libs/xcb-util
641 - x11-libs/xcb-util-image
642 - x11-libs/xcb-util-keysyms
643 - x11-libs/xcb-util-renderutil
644 - x11-libs/xcb-util-wm
645 - )
646 - !minimal? (
647 - >=x11-libs/libX11-1.1.5
648 - >=x11-libs/libXext-1.0.5
649 - >=media-libs/mesa-10.3.4-r1[nptl=]
650 - )
651 - tslib? ( >=x11-libs/tslib-1.0 )
652 - udev? ( >=virtual/udev-150 )
653 - unwind? ( sys-libs/libunwind )
654 - wayland? (
655 - >=dev-libs/wayland-1.3.0
656 - media-libs/libepoxy
657 - )
658 - >=x11-apps/xinit-1.3.3-r1
659 - systemd? (
660 - sys-apps/dbus
661 - <sys-apps/systemd-230
662 - )"
663 -
664 -DEPEND="${CDEPEND}
665 - sys-devel/flex
666 - >=x11-proto/bigreqsproto-1.1.0
667 - >=x11-proto/compositeproto-0.4
668 - >=x11-proto/damageproto-1.1
669 - >=x11-proto/fixesproto-5.0
670 - >=x11-proto/fontsproto-2.1.3
671 - >=x11-proto/glproto-1.4.17-r1
672 - >=x11-proto/inputproto-2.2.99.1
673 - >=x11-proto/kbproto-1.0.3
674 - >=x11-proto/randrproto-1.4.0
675 - >=x11-proto/recordproto-1.13.99.1
676 - >=x11-proto/renderproto-0.11
677 - >=x11-proto/resourceproto-1.2.0
678 - >=x11-proto/scrnsaverproto-1.1
679 - >=x11-proto/trapproto-3.4.3
680 - >=x11-proto/videoproto-2.2.2
681 - >=x11-proto/xcmiscproto-1.2.0
682 - >=x11-proto/xextproto-7.2.99.901
683 - >=x11-proto/xf86dgaproto-2.0.99.1
684 - >=x11-proto/xf86rushproto-1.1.2
685 - >=x11-proto/xf86vidmodeproto-2.2.99.1
686 - >=x11-proto/xineramaproto-1.1.3
687 - >=x11-proto/xproto-7.0.26
688 - >=x11-proto/presentproto-1.0
689 - >=x11-proto/dri3proto-1.0
690 - dmx? (
691 - >=x11-proto/dmxproto-2.2.99.1
692 - doc? (
693 - || (
694 - www-client/links
695 - www-client/lynx
696 - www-client/w3m
697 - )
698 - )
699 - )
700 - !minimal? (
701 - >=x11-proto/xf86driproto-2.1.0
702 - >=x11-proto/dri2proto-2.8
703 - )"
704 -
705 -RDEPEND="${CDEPEND}
706 - selinux? ( sec-policy/selinux-xserver )
707 - !x11-drivers/xf86-video-modesetting
708 -"
709 -
710 -PDEPEND="
711 - xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )"
712 -
713 -REQUIRED_USE="!minimal? (
714 - || ( ${IUSE_SERVERS} )
715 - )
716 - xephyr? ( kdrive )"
717 -
718 -#UPSTREAMED_PATCHES=(
719 -# "${WORKDIR}/patches/"
720 -#)
721 -
722 -PATCHES=(
723 - "${UPSTREAMED_PATCHES[@]}"
724 - "${FILESDIR}"/${PN}-1.17-ia64-fix_inx_outx.patch
725 - "${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch
726 - # needed for new eselect-opengl, bug #541232
727 - "${FILESDIR}"/${PN}-1.17-support-multiple-Files-sections.patch
728 - "${FILESDIR}"/${PN}-1.17.4-arm-musl.patch
729 -)
730 -
731 -pkg_pretend() {
732 - # older gcc is not supported
733 - [[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \
734 - die "Sorry, but gcc earlier than 4.0 will not work for xorg-server."
735 -}
736 -
737 -src_configure() {
738 - # localstatedir is used for the log location; we need to override the default
739 - # from ebuild.sh
740 - # sysconfdir is used for the xorg.conf location; same applies
741 - # NOTE: fop is used for doc generating ; and i have no idea if gentoo
742 - # package it somewhere
743 - XORG_CONFIGURE_OPTIONS=(
744 - $(use_enable ipv6)
745 - $(use_enable dmx)
746 - $(use_enable glamor)
747 - $(use_enable kdrive)
748 - $(use_enable kdrive kdrive-kbd)
749 - $(use_enable kdrive kdrive-mouse)
750 - $(use_enable kdrive kdrive-evdev)
751 - $(use_enable suid install-setuid)
752 - $(use_enable tslib)
753 - $(use_enable unwind libunwind)
754 - $(use_enable wayland xwayland)
755 - $(use_enable !minimal record)
756 - $(use_enable !minimal xfree86-utils)
757 - $(use_enable !minimal install-libxf86config)
758 - $(use_enable !minimal dri)
759 - $(use_enable !minimal dri2)
760 - $(use_enable !minimal glx)
761 - $(use_enable xephyr)
762 - $(use_enable xnest)
763 - $(use_enable xorg)
764 - $(use_enable xvfb)
765 - $(use_enable nptl glx-tls)
766 - $(use_enable udev config-udev)
767 - $(use_with doc doxygen)
768 - $(use_with doc xmlto)
769 - $(use_with systemd systemd-daemon)
770 - $(use_enable systemd systemd-logind)
771 - --enable-libdrm
772 - --sysconfdir="${EPREFIX}"/etc/X11
773 - --localstatedir="${EPREFIX}"/var
774 - --with-fontrootdir="${EPREFIX}"/usr/share/fonts
775 - --with-xkb-output="${EPREFIX}"/var/lib/xkb
776 - --disable-config-hal
777 - --disable-linux-acpi
778 - --without-dtrace
779 - --without-fop
780 - --with-os-vendor=Gentoo
781 - --with-sha1=libcrypto
782 - )
783 -
784 - xorg-2_src_configure
785 -}
786 -
787 -src_install() {
788 - xorg-2_src_install
789 -
790 - server_based_install
791 -
792 - if ! use minimal && use xorg; then
793 - # Install xorg.conf.example into docs
794 - dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example
795 - fi
796 -
797 - newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup
798 - newinitd "${FILESDIR}"/xdm.initd-11 xdm
799 - newconfd "${FILESDIR}"/xdm.confd-4 xdm
800 -
801 - # install the @x11-module-rebuild set for Portage
802 - insinto /usr/share/portage/config/sets
803 - newins "${FILESDIR}"/xorg-sets.conf xorg.conf
804 -}
805 -
806 -pkg_postinst() {
807 - # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install)
808 - eselect opengl set xorg-x11 --use-old
809 -}
810 -
811 -pkg_postrm() {
812 - # Get rid of module dir to ensure opengl-update works properly
813 - if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then
814 - rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules
815 - fi
816 -}
817 -
818 -server_based_install() {
819 - if ! use xorg; then
820 - rm "${ED}"/usr/share/man/man1/Xserver.1x \
821 - "${ED}"/usr/$(get_libdir)/xserver/SecurityPolicy \
822 - "${ED}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \
823 - "${ED}"/usr/share/man/man1/Xserver.1x
824 - fi
825 -}
826
827 diff --git a/x11-base/xorg-server/xorg-server-1.18.4.ebuild b/x11-base/xorg-server/xorg-server-1.18.4.ebuild
828 deleted file mode 100644
829 index fc80d02..0000000
830 --- a/x11-base/xorg-server/xorg-server-1.18.4.ebuild
831 +++ /dev/null
832 @@ -1,243 +0,0 @@
833 -# Copyright 1999-2017 Gentoo Foundation
834 -# Distributed under the terms of the GNU General Public License v2
835 -
836 -EAPI=5
837 -
838 -XORG_DOC=doc
839 -inherit xorg-2 multilib versionator flag-o-matic
840 -EGIT_REPO_URI="git://anongit.freedesktop.org/xorg/xserver"
841 -
842 -DESCRIPTION="X.Org X servers"
843 -SLOT="0/${PV}"
844 -KEYWORDS="arm"
845 -
846 -IUSE_SERVERS="dmx kdrive xephyr xnest xorg xvfb"
847 -IUSE="${IUSE_SERVERS} glamor ipv6 libressl minimal selinux +suid systemd tslib +udev unwind wayland"
848 -
849 -CDEPEND=">=app-eselect/eselect-opengl-1.3.0
850 - !libressl? ( dev-libs/openssl:0= )
851 - libressl? ( dev-libs/libressl )
852 - media-libs/freetype
853 - >=x11-apps/iceauth-1.0.2
854 - >=x11-apps/rgb-1.0.3
855 - >=x11-apps/xauth-1.0.3
856 - x11-apps/xkbcomp
857 - >=x11-libs/libdrm-2.4.46
858 - >=x11-libs/libpciaccess-0.12.901
859 - >=x11-libs/libXau-1.0.4
860 - >=x11-libs/libXdmcp-1.0.2
861 - >=x11-libs/libXfont-1.4.2
862 - >=x11-libs/libxkbfile-1.0.4
863 - >=x11-libs/libxshmfence-1.1
864 - >=x11-libs/pixman-0.27.2
865 - >=x11-libs/xtrans-1.3.5
866 - >=x11-misc/xbitmaps-1.0.1
867 - >=x11-misc/xkeyboard-config-2.4.1-r3
868 - dmx? (
869 - x11-libs/libXt
870 - >=x11-libs/libdmx-1.0.99.1
871 - >=x11-libs/libX11-1.1.5
872 - >=x11-libs/libXaw-1.0.4
873 - >=x11-libs/libXext-1.0.99.4
874 - >=x11-libs/libXfixes-5.0
875 - >=x11-libs/libXi-1.2.99.1
876 - >=x11-libs/libXmu-1.0.3
877 - x11-libs/libXrender
878 - >=x11-libs/libXres-1.0.3
879 - >=x11-libs/libXtst-1.0.99.2
880 - )
881 - glamor? (
882 - media-libs/libepoxy
883 - >=media-libs/mesa-10.3.4-r1[egl,gbm]
884 - !x11-libs/glamor
885 - )
886 - kdrive? (
887 - >=x11-libs/libXext-1.0.5
888 - x11-libs/libXv
889 - )
890 - xephyr? (
891 - x11-libs/libxcb
892 - x11-libs/xcb-util
893 - x11-libs/xcb-util-image
894 - x11-libs/xcb-util-keysyms
895 - x11-libs/xcb-util-renderutil
896 - x11-libs/xcb-util-wm
897 - )
898 - !minimal? (
899 - >=x11-libs/libX11-1.1.5
900 - >=x11-libs/libXext-1.0.5
901 - >=media-libs/mesa-10.3.4-r1
902 - )
903 - tslib? ( >=x11-libs/tslib-1.0 )
904 - udev? ( >=virtual/udev-150 )
905 - unwind? ( sys-libs/libunwind )
906 - wayland? (
907 - >=dev-libs/wayland-1.3.0
908 - media-libs/libepoxy
909 - )
910 - >=x11-apps/xinit-1.3.3-r1
911 - systemd? (
912 - sys-apps/dbus
913 - sys-apps/systemd
914 - )"
915 -
916 -DEPEND="${CDEPEND}
917 - sys-devel/flex
918 - >=x11-proto/bigreqsproto-1.1.0
919 - >=x11-proto/compositeproto-0.4
920 - >=x11-proto/damageproto-1.1
921 - >=x11-proto/fixesproto-5.0
922 - >=x11-proto/fontsproto-2.1.3
923 - >=x11-proto/glproto-1.4.17-r1
924 - >=x11-proto/inputproto-2.3
925 - >=x11-proto/kbproto-1.0.3
926 - >=x11-proto/randrproto-1.5.0
927 - >=x11-proto/recordproto-1.13.99.1
928 - >=x11-proto/renderproto-0.11
929 - >=x11-proto/resourceproto-1.2.0
930 - >=x11-proto/scrnsaverproto-1.1
931 - >=x11-proto/trapproto-3.4.3
932 - >=x11-proto/videoproto-2.2.2
933 - >=x11-proto/xcmiscproto-1.2.0
934 - >=x11-proto/xextproto-7.2.99.901
935 - >=x11-proto/xf86dgaproto-2.0.99.1
936 - >=x11-proto/xf86rushproto-1.1.2
937 - >=x11-proto/xf86vidmodeproto-2.2.99.1
938 - >=x11-proto/xineramaproto-1.1.3
939 - >=x11-proto/xproto-7.0.28
940 - >=x11-proto/presentproto-1.0
941 - >=x11-proto/dri3proto-1.0
942 - dmx? (
943 - >=x11-proto/dmxproto-2.2.99.1
944 - doc? (
945 - || (
946 - www-client/links
947 - www-client/lynx
948 - www-client/w3m
949 - )
950 - )
951 - )
952 - !minimal? (
953 - >=x11-proto/xf86driproto-2.1.0
954 - >=x11-proto/dri2proto-2.8
955 - )"
956 -
957 -RDEPEND="${CDEPEND}
958 - selinux? ( sec-policy/selinux-xserver )
959 - !x11-drivers/xf86-video-modesetting
960 -"
961 -
962 -PDEPEND="
963 - xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )"
964 -
965 -REQUIRED_USE="!minimal? (
966 - || ( ${IUSE_SERVERS} )
967 - )
968 - xephyr? ( kdrive )"
969 -
970 -#UPSTREAMED_PATCHES=(
971 -# "${WORKDIR}/patches/"
972 -#)
973 -
974 -PATCHES=(
975 - "${UPSTREAMED_PATCHES[@]}"
976 - "${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch
977 - # needed for new eselect-opengl, bug #541232
978 - "${FILESDIR}"/${PN}-1.18-support-multiple-Files-sections.patch
979 - "${FILESDIR}"/${PN}-1.18-sysmacros.patch #580044
980 - "${FILESDIR}"/${PN}-1.17.4-arm-musl.patch
981 -)
982 -
983 -pkg_pretend() {
984 - # older gcc is not supported
985 - [[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \
986 - die "Sorry, but gcc earlier than 4.0 will not work for xorg-server."
987 -}
988 -
989 -src_configure() {
990 - # localstatedir is used for the log location; we need to override the default
991 - # from ebuild.sh
992 - # sysconfdir is used for the xorg.conf location; same applies
993 - # NOTE: fop is used for doc generating; and I have no idea if Gentoo
994 - # package it somewhere
995 - XORG_CONFIGURE_OPTIONS=(
996 - $(use_enable ipv6)
997 - $(use_enable dmx)
998 - $(use_enable glamor)
999 - $(use_enable kdrive)
1000 - $(use_enable kdrive kdrive-kbd)
1001 - $(use_enable kdrive kdrive-mouse)
1002 - $(use_enable kdrive kdrive-evdev)
1003 - $(use_enable suid install-setuid)
1004 - $(use_enable tslib)
1005 - $(use_enable unwind libunwind)
1006 - $(use_enable wayland xwayland)
1007 - $(use_enable !minimal record)
1008 - $(use_enable !minimal xfree86-utils)
1009 - $(use_enable !minimal dri)
1010 - $(use_enable !minimal dri2)
1011 - $(use_enable !minimal glx)
1012 - $(use_enable xephyr)
1013 - $(use_enable xnest)
1014 - $(use_enable xorg)
1015 - $(use_enable xvfb)
1016 - $(use_enable udev config-udev)
1017 - $(use_with doc doxygen)
1018 - $(use_with doc xmlto)
1019 - $(use_with systemd systemd-daemon)
1020 - $(use_enable systemd systemd-logind)
1021 - --enable-libdrm
1022 - --sysconfdir="${EPREFIX}"/etc/X11
1023 - --localstatedir="${EPREFIX}"/var
1024 - --with-fontrootdir="${EPREFIX}"/usr/share/fonts
1025 - --with-xkb-output="${EPREFIX}"/var/lib/xkb
1026 - --disable-config-hal
1027 - --disable-linux-acpi
1028 - --without-dtrace
1029 - --without-fop
1030 - --with-os-vendor=Gentoo
1031 - --with-sha1=libcrypto
1032 - )
1033 -
1034 - xorg-2_src_configure
1035 -}
1036 -
1037 -src_install() {
1038 - xorg-2_src_install
1039 -
1040 - server_based_install
1041 -
1042 - if ! use minimal && use xorg; then
1043 - # Install xorg.conf.example into docs
1044 - dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example
1045 - fi
1046 -
1047 - newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup
1048 - newinitd "${FILESDIR}"/xdm.initd-11 xdm
1049 - newconfd "${FILESDIR}"/xdm.confd-4 xdm
1050 -
1051 - # install the @x11-module-rebuild set for Portage
1052 - insinto /usr/share/portage/config/sets
1053 - newins "${FILESDIR}"/xorg-sets.conf xorg.conf
1054 -}
1055 -
1056 -pkg_postinst() {
1057 - # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install)
1058 - eselect opengl set xorg-x11 --use-old
1059 -}
1060 -
1061 -pkg_postrm() {
1062 - # Get rid of module dir to ensure opengl-update works properly
1063 - if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then
1064 - rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules
1065 - fi
1066 -}
1067 -
1068 -server_based_install() {
1069 - if ! use xorg; then
1070 - rm "${ED}"/usr/share/man/man1/Xserver.1x \
1071 - "${ED}"/usr/$(get_libdir)/xserver/SecurityPolicy \
1072 - "${ED}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \
1073 - "${ED}"/usr/share/man/man1/Xserver.1x
1074 - fi
1075 -}
1076
1077 diff --git a/x11-base/xorg-server/xorg-server-1.19.1.ebuild b/x11-base/xorg-server/xorg-server-1.19.3.ebuild
1078 similarity index 91%
1079 rename from x11-base/xorg-server/xorg-server-1.19.1.ebuild
1080 rename to x11-base/xorg-server/xorg-server-1.19.3.ebuild
1081 index 9293291..ca5c1cf 100644
1082 --- a/x11-base/xorg-server/xorg-server-1.19.1.ebuild
1083 +++ b/x11-base/xorg-server/xorg-server-1.19.3.ebuild
1084 @@ -5,19 +5,18 @@ EAPI=5
1085
1086 XORG_DOC=doc
1087 inherit xorg-2 multilib versionator flag-o-matic
1088 -EGIT_REPO_URI="git://anongit.freedesktop.org/xorg/xserver"
1089 +EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/xserver.git"
1090
1091 DESCRIPTION="X.Org X servers"
1092 SLOT="0/${PV}"
1093 KEYWORDS="~arm"
1094
1095 -IUSE_SERVERS="dmx kdrive xephyr xnest xorg xvfb"
1096 -IUSE="${IUSE_SERVERS} glamor ipv6 libressl minimal selinux +suid systemd tslib +udev unwind wayland"
1097 +IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb"
1098 +IUSE="${IUSE_SERVERS} debug glamor ipv6 libressl minimal selinux +suid systemd tslib +udev unwind xcsecurity"
1099
1100 CDEPEND=">=app-eselect/eselect-opengl-1.3.0
1101 !libressl? ( dev-libs/openssl:0= )
1102 libressl? ( dev-libs/libressl )
1103 - media-libs/freetype
1104 >=x11-apps/iceauth-1.0.2
1105 >=x11-apps/rgb-1.0.3
1106 >=x11-apps/xauth-1.0.3
1107 @@ -47,7 +46,7 @@ CDEPEND=">=app-eselect/eselect-opengl-1.3.0
1108 >=x11-libs/libXtst-1.0.99.2
1109 )
1110 glamor? (
1111 - media-libs/libepoxy
1112 + media-libs/libepoxy[X]
1113 >=media-libs/mesa-10.3.4-r1[egl,gbm]
1114 !x11-libs/glamor
1115 )
1116 @@ -56,7 +55,7 @@ CDEPEND=">=app-eselect/eselect-opengl-1.3.0
1117 x11-libs/libXv
1118 )
1119 xephyr? (
1120 - x11-libs/libxcb
1121 + x11-libs/libxcb[xkb]
1122 x11-libs/xcb-util
1123 x11-libs/xcb-util-image
1124 x11-libs/xcb-util-keysyms
1125 @@ -107,6 +106,7 @@ DEPEND="${CDEPEND}
1126 >=x11-proto/xineramaproto-1.1.3
1127 >=x11-proto/xproto-7.0.31
1128 >=x11-proto/presentproto-1.0
1129 + >=x11-proto/dri2proto-2.8
1130 >=x11-proto/dri3proto-1.0
1131 dmx? (
1132 >=x11-proto/dmxproto-2.2.99.1
1133 @@ -120,7 +120,6 @@ DEPEND="${CDEPEND}
1134 )
1135 !minimal? (
1136 >=x11-proto/xf86driproto-2.1.0
1137 - >=x11-proto/dri2proto-2.8
1138 )"
1139
1140 RDEPEND="${CDEPEND}
1141 @@ -155,6 +154,13 @@ pkg_pretend() {
1142 die "Sorry, but gcc earlier than 4.0 will not work for xorg-server."
1143 }
1144
1145 +pkg_setup() {
1146 + if use wayland && ! use glamor; then
1147 + ewarn "glamor is necessary for acceleration under Xwayland."
1148 + ewarn "Performance may be unacceptable without it."
1149 + fi
1150 +}
1151 +
1152 src_configure() {
1153 # localstatedir is used for the log location; we need to override the default
1154 # from ebuild.sh
1155 @@ -163,6 +169,7 @@ src_configure() {
1156 # package it somewhere
1157 XORG_CONFIGURE_OPTIONS=(
1158 $(use_enable ipv6)
1159 + $(use_enable debug)
1160 $(use_enable dmx)
1161 $(use_enable glamor)
1162 $(use_enable kdrive)
1163 @@ -178,6 +185,7 @@ src_configure() {
1164 $(use_enable !minimal dri)
1165 $(use_enable !minimal dri2)
1166 $(use_enable !minimal glx)
1167 + $(use_enable xcsecurity)
1168 $(use_enable xephyr)
1169 $(use_enable xnest)
1170 $(use_enable xorg)