diff options
Diffstat (limited to 'x11-base')
17 files changed, 12 insertions, 592 deletions
diff --git a/x11-base/Manifest.gz b/x11-base/Manifest.gz Binary files differindex e6225bb6b7b3..a0a1a61c8c15 100644 --- a/x11-base/Manifest.gz +++ b/x11-base/Manifest.gz diff --git a/x11-base/xcb-proto/Manifest b/x11-base/xcb-proto/Manifest index f6198e6cbf84..6b8bcb04b6f7 100644 --- a/x11-base/xcb-proto/Manifest +++ b/x11-base/xcb-proto/Manifest @@ -1,3 +1,3 @@ DIST xcb-proto-1.13.tar.bz2 151981 BLAKE2B 04d90838f8a892103e6d7aa807f1b0b6794f1538c6c986ad3cba67cff3a963ff680e45c2137c5d6330736a3aa1a387d61fc247f23487de9dada2f4013590b4a1 SHA512 002aa2aa0ad503977e03419c6f136f1e3aa8c787916830ce6d6be8f81ca99edc1d8fc5f71ce8c592b490cc767bf6567695f0bafe55fe3f743076bcddbaac07f7 -EBUILD xcb-proto-1.13.ebuild 1573 BLAKE2B 2ca0855a4837db2325f7bb73a928ff32c4471f87df4c1f81d2c243a364292cb9080f0ad006aa1f77c9c4004b30619880e54dae14dea2ce52f4a3854b2d97a43a SHA512 efb0617aa9302233a90a93749e3f8c9e70925ad19f84bf9f01aba506742b737eba47328610cacc8f824eb8747f346c9363af56d411464af934e6673024e5af44 +EBUILD xcb-proto-1.13.ebuild 1570 BLAKE2B 9815944c3f934a4f1a8730e2c0c42f729b3c26cfc9df4715b8fdb0919b2d7318874f1f783359fba913091834beadfbdba521304fa008f3a0e6b9772403b636c8 SHA512 fa52928d5a7a2565c7049fc232bf8890ea28e8fe3fbbe4786c600c35ad7b2968829fffd7ecafafce457e6ff7fc9c2d82eec3cd560a38655ace8b2819895db6a4 MISC metadata.xml 230 BLAKE2B 70bf59e64305ef14908197f2aa7ffbc1769ade265097da68e001245451658af5921760c91cb74aae717543ea0017e2471fd94bfc5c4c447d2d60e2c23aa3b007 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 diff --git a/x11-base/xcb-proto/xcb-proto-1.13.ebuild b/x11-base/xcb-proto/xcb-proto-1.13.ebuild index e39be24f18b9..04f6f40a17fb 100644 --- a/x11-base/xcb-proto/xcb-proto-1.13.ebuild +++ b/x11-base/xcb-proto/xcb-proto-1.13.ebuild @@ -3,7 +3,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} ) +PYTHON_COMPAT=( python{3_6,3_7,3_8} ) XORG_MULTILIB=yes XORG_STATIC=no @@ -15,7 +15,7 @@ EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/proto/xcbproto.git" [[ ${PV} != 9999* ]] && \ SRC_URI="https://xcb.freedesktop.org/dist/${P}.tar.bz2" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" RDEPEND="${PYTHON_DEPS}" diff --git a/x11-base/xorg-drivers/Manifest b/x11-base/xorg-drivers/Manifest index 540fb1d78db3..45b586046d7c 100644 --- a/x11-base/xorg-drivers/Manifest +++ b/x11-base/xorg-drivers/Manifest @@ -1,3 +1,3 @@ -EBUILD xorg-drivers-1.20-r1.ebuild 3748 BLAKE2B aebf43b92d1af28596670133bfb920232c1549aad5cd83008064bfdcb683b15593339f95a5f0914d0d4c61978696b89b5004377587052f38d32eef7a2833e153 SHA512 d9ece25de96baba65ad32318f968d9dbdb0b104f5d465c3a9cffcf3f9a62e17cb4392f9da606a4a9bc285aa2c89c39936db6d8e8cd4433a8e6233da502c6acab -EBUILD xorg-drivers-9999.ebuild 3759 BLAKE2B aa9fde534298896f69f507d23d823a6f360b5be7a5a9a0f8036f36d0dc82385cb8e0fd178d764e21c7b7e6fc26f06347d58d07509beac30cefe5d6aed8fe61b9 SHA512 4d626b5eefd15b282f482cfe6faf3fb859a36ddf4cf07046c0309c4468f409e60411bef9004e66c6a20a40df4b992eaa04b471816d275f9fb3ae06e5a927357c +EBUILD xorg-drivers-1.20-r1.ebuild 3749 BLAKE2B 2eeecec76bd0f61174ee2675ef8af0084455be2149060fc9816f1a6ea257b93fa5518475d49115828ec2f77d89e25d479823957e5c405030ec24691218abb4db SHA512 742a2b37e30cc7074fe982fc940ccbca255b74a3aea2de5534b68217ea52cc0c6cead685e858e84e730d488bb240e8bf6b71db189b102c1fab54b2fa2e006a26 +EBUILD xorg-drivers-9999.ebuild 3719 BLAKE2B 8e804d42317f788126fa2655deb97c8a24c511149fd75dcd287e187b2ff2e5409f49a699885eafceccd14bc9abcdd8eac09da9d09a1df3b6d0c57bbecf72301f SHA512 fd8155407c7cd1b1cc2a3b22d2afbc8f24673cbcf65d3cfc49dbf4a1c2e078d3561a3e79c4be5fc9b84cdc75094dc0cd0d2cfbdc2fff1616ef13b076ed4db6db MISC metadata.xml 234 BLAKE2B b45f6795dbd73dfcee2a68f93ec5460509b15a69401467bc8f4af9505eeb04a2aa35a2b144eb88781df4abd4e15d2b88fc728daf033c6d646762170ffb00b1a7 SHA512 fabcd59aeede4ac93d66552746edacc44fd565551aafaca67185aff7f8e6a4c0fa21f3d54e4fccd7def948ec57b90489631bd779fb992cd9322132b0a3aa503b diff --git a/x11-base/xorg-drivers/xorg-drivers-1.20-r1.ebuild b/x11-base/xorg-drivers/xorg-drivers-1.20-r1.ebuild index e5d78880b513..19e9a8de71d0 100644 --- a/x11-base/xorg-drivers/xorg-drivers-1.20-r1.ebuild +++ b/x11-base/xorg-drivers/xorg-drivers-1.20-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="" LICENSE="metapackage" SLOT="0" if [[ ${PV} != 9999 ]]; then - KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux" fi IUSE_INPUT_DEVICES=" diff --git a/x11-base/xorg-drivers/xorg-drivers-9999.ebuild b/x11-base/xorg-drivers/xorg-drivers-9999.ebuild index b31b55197500..3700144ad18a 100644 --- a/x11-base/xorg-drivers/xorg-drivers-9999.ebuild +++ b/x11-base/xorg-drivers/xorg-drivers-9999.ebuild @@ -94,6 +94,4 @@ PDEPEND=" video_cards_via? ( x11-drivers/xf86-video-openchrome ) video_cards_virtualbox? ( x11-drivers/xf86-video-vboxvideo ) video_cards_vmware? ( >=x11-drivers/xf86-video-vmware-13.3.0 ) - - !<x11-drivers/xf86-input-evdev-2.10.4 " diff --git a/x11-base/xorg-proto/Manifest b/x11-base/xorg-proto/Manifest index 344a51237468..034eebb464f8 100644 --- a/x11-base/xorg-proto/Manifest +++ b/x11-base/xorg-proto/Manifest @@ -1,4 +1,4 @@ DIST xorgproto-2019.2.tar.gz 1080686 BLAKE2B 4e0218ef02a8df5220431ae36ac1bc8feaa2bfdefe784f9b7393fe1d27db5b39ba90a38a3570bd78279964c5842ea65df3724b2407535a43fd867922156d92e9 SHA512 3385e7eb8ae1384aa01945c7f5a300884a1deb8d564ab62bd5bcaa3703d3dbf9bbc19797ac17d19e15417bf8456f706f993e90ece2d34cc94046ac302c062cbe -EBUILD xorg-proto-2019.2.ebuild 1839 BLAKE2B 1ecd5f8ec6e14324dc9f4b269a55db6cdbd822766d7e8491429467c8503dfde5674104c4f4fd9902feafd174446fa8e9d7757b9f95e7d4231e9417f10b0d780b SHA512 ac07de189c60cd41740f6e67ef7b3fd2bbf2b4da3c8522b6fb59efd5ccee681a5ba6fde0b49bca091e3906e008fbeab88b219c06cc01770c49a19c6b7ef701c1 +EBUILD xorg-proto-2019.2.ebuild 1840 BLAKE2B e365e1bd5514d9543752d3958a87d4e2815f32bc0aade6a961d4543bd220d973e8d09dcd81c5b00b8e91f09e4c5b55850776701060d6981a501723bde99e2cdd SHA512 975d6a38ace899d61f12b6b92b11844f89651e07d3ababf727c91f0a13c39e1a76ac711d15d19f9172212b1241d8920210e9ff7be555644753cc6532271fe566 EBUILD xorg-proto-9999.ebuild 1852 BLAKE2B 6f9e67007084ca8defe1711748cdf8fb32141455f005889d0cad0d897abf3d96a68dfd5588dae9bd5c2f1939d5d4e70bc97e520c9cd3e065391588d78f4cd313 SHA512 433308abe047b655050a594f8621d9cc29c612c2a6a246a49bbb15b0edbf748e7abd17123f53e15d75467fea995f68ba77d3e2b3faddb8afbd75d60c0a1fc9d5 MISC metadata.xml 230 BLAKE2B 70bf59e64305ef14908197f2aa7ffbc1769ade265097da68e001245451658af5921760c91cb74aae717543ea0017e2471fd94bfc5c4c447d2d60e2c23aa3b007 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 diff --git a/x11-base/xorg-proto/xorg-proto-2019.2.ebuild b/x11-base/xorg-proto/xorg-proto-2019.2.ebuild index 5acf2e9f4f20..b9c5886209a3 100644 --- a/x11-base/xorg-proto/xorg-proto-2019.2.ebuild +++ b/x11-base/xorg-proto/xorg-proto-2019.2.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://gitlab.freedesktop.org/xorg/proto/xorgproto" if [[ ${PV} = 9999* ]]; then SRC_URI="" else - KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" SRC_URI="https://xorg.freedesktop.org/archive/individual/proto/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" fi diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest index e274a8d1645c..887840084ee9 100644 --- a/x11-base/xorg-server/Manifest +++ b/x11-base/xorg-server/Manifest @@ -3,15 +3,10 @@ AUX xdm.confd-4 573 BLAKE2B 0c2a282acc851b95f925715c31915be469ef3758bbaa800d5fc5 AUX xdm.initd-11 6033 BLAKE2B 713aa81380124326f3dce3604c44e943578d37d0c83b60778b4e1ffd3d7eec3f84014fcbd221ba4bd2b9839989f8a1aa21e76dbc3612436e4a9b3091cbd7714e SHA512 f1174938e91c323174efedfc332097fc802a1261b882b7ac7b39a8251f7c70908e037335d4ae542652afe8162e1c0f0312ebbaebc8b7c4b036abd94d1d1f64bb AUX xorg-server-1.12-unloadsubmodule.patch 1373 BLAKE2B 4c6017bcdc53964ecc796e1beaf8a8714a85f1cfe65032df3e9ea23378b4d2db0057ea7a75ab00e8d5d89ae0d63c766dce05350446f69ffe69bb668d06e2e68b SHA512 a6a8ebbb1005f2ea9cfdfc928209a23fe213caab31a889c3290f14bcae0a9afd40176330e2e56cb5ff986d522505e7fb98fa0c71187f403e2afd33c9c919780e AUX xorg-server-1.18-support-multiple-Files-sections.patch 1902 BLAKE2B 69ba852b425d652ebb83d116cabbf92d1530d2c616910ddbb96fb574cdad8d3f1ce2b4fcf9fb16aa2950b40a0723c9d00465d8e6d72299f1ea181a257d014c80 SHA512 5cd0a4ce9c2efef7abc84df805a3c6da33bd64fdb16c3aa2fa61da4f805605a3d12cab0f452d3bc217b6e5d5d5bea29c9f3bf262e46347a074770ebd75ddf5b5 -AUX xorg-server-1.20.4-shm-Pick-the-shm-dir-at-run-time-not-build-time.patch 4981 BLAKE2B 46b6548ebddbd962725b4e2a08060decd84f33dc74c2c4a7f4325402712b9dc84fd3325b2027fe0b98e9dd6a6a39bc976ba2a35481c5c49da310cd45a0e4dd3f SHA512 423b8869c3ce2ff74373aa04dca788896d8d47380b5b2368f51e5cc3100f47a94384ef2f616779a44d4cd04b8e0f997190ab7df58ae4605b5c9819fe1f93fb45 -AUX xorg-server-1.20.4-shm-Use-memfd_create-when-possible.patch 3194 BLAKE2B 6aca2b21b6b82cdd81a82d45bdbd1f861d4babdf222b73d285f118b42fdcb0a2b1f2949ab2141c7d95d3819c6687dc2323b4da19fbe99d865a2e51393b2c534a SHA512 a2de27ade9c79e8712c66d3ec8a1c9d4af0acdbbbc9bfdc58f0f9d8f2830a069fc3f3a74c92f5b0b0ff889bfc89017e7d0fed7fcd10b8916d0589b9f9171f81a -AUX xorg-server-1.20.4-shm-reindent-shm_tmpfile-to-follow-our-standards.patch 1724 BLAKE2B 34c607f6b6a6f21ed6b34d7a87cb3bc1774f526f32144218c7d5d338474c08c98c72a87b41f3d0afcaf81dc0e8d5989a48fd8e64a6a9e25ad968ad8156f6e984 SHA512 49d5af904bac03cfc8ad89b70541e9af6687f7f0153d06ada64e2226d27dddc1b7bb27024bed73c20c365197858957730de005c515bbae8e22b610c3241b70e4 AUX xorg-sets.conf 199 BLAKE2B e9414694f372d3f2a65bee903522094a60e261ddcd0c49a1d85a2ee804f3edbb5c605ed2d0b44839a91e98957f05ea88da87530f5f36b2db249e09ee56ee2975 SHA512 910fe28f20909243044f079ff35136942b8790f4f28ac42ffc64a76b7f03cd22057087fa5e4e01192080b52c0d89000ea96d5a807c6f11f680d3f43312c5be41 -DIST xorg-server-1.20.5.tar.bz2 6126757 BLAKE2B 2374c6f39acd80174d9cf9c15b6a75f420de3a9b7b51a41385a326fed106fc57fdc5a0a4a08beba36a8d65bff1c8c8d35bb50c73c5285ee206f3293a212369be SHA512 625f0626b122cf95600abe382c3217348999357a0e2d2443092f1b67cff1c98d7ef09303884ceaeac181e0555dc56b0d4d44bda45cc464dac2d9a50c5b32d631 DIST xorg-server-1.20.6.tar.bz2 6298697 BLAKE2B 30e505cf83bb2b20e17533b89b81521d029412ea6bd804ecf20458af20364172eb7b21561f14c885d5e16597e6d09985b255b6cec2beb30662658d9e316bc953 SHA512 9aa0ba4aee92fe628f2b8c41e4fe0134dc86154bb8787f907884ef2fd970e18e68e72ea8a1beb706d11ecf155b2abc9731f1abadff251ed592f8cca3b1240dd6 DIST xorg-server-1.20.7.tar.bz2 6303005 BLAKE2B 343ebc1ff45fc1cd459b204d92eabdd0629c94d4338d2d7cb635f73642080d07ef174cfbd83e5b7f253f2918af2d1efbe99d7c75720b88857f69093ee0be1b65 SHA512 c67612e379111c28c68941c0a660abf72be7669591b41ccaa3b3474c4540a03822a28d892831b12ce08bac6e5e7e33504c2d19ef2a0c2298f83bd083459f96f5 -EBUILD xorg-server-1.20.5.ebuild 6057 BLAKE2B d509009a97278827f4d78e2a8e2f3d23d7e7d26b7f9c8c550bbd760fedb5cb9165166a5c03ed3c2d23255aba557546ed2ce65bbceb1cc0d32bf50bccc028a680 SHA512 f33ba6c619e3c9319e48673db7315e627115a2a0393de7f872cd37098d0028982a3f4737b733c36638e7b755de1022feb76291cf3dbdfc05186c7cda2f9b76d6 EBUILD xorg-server-1.20.6.ebuild 5709 BLAKE2B d4654865f6a9464a7d3fe6931725e74fa9ce9c16dd836653a1c8a4764e99c9f7ee98c4a53a9d758b45bdde838346c1c23f25e4905a87772bc1a38f96e522e631 SHA512 34f1aeaf50b2a5dd11186264295d8dc4417449d3ca57912b39d660cd028df37ab6f08921f503584b15f71e12b95009341ac2930f243677572a823b0e6e1c1245 EBUILD xorg-server-1.20.7.ebuild 5977 BLAKE2B 0b66adfe59d0b08e197f92f1f86ba37af9f4c35e99d408bde481cf015bcb59b6f0072dbdb963757869c1edd8eb711e1b09dbb226347672d235c8a2c680533802 SHA512 5b063ba18902dda2ef56a9db0090a6b889c46ab0efd1d60a8ccdd5817c9ec03c21a07b02a17c325c71bb7162e9f9b49c7db15e4bf20dfcccb689fdde9c4bd1f6 -EBUILD xorg-server-9999.ebuild 5732 BLAKE2B 05d56cc6d4152831143a74102ac2eddfe0568cd6859fef72adea4ae250c123faef560a9dd9f61ec02d3100b7f68ea2bc5a96ae04d04360c194e4df8e73cfc47c SHA512 dea98d8b7831ba248c9d88e6bbf86eaf0ee3bb722f8d197afa07d55adfba9ae7b69b93fdba9ade9031ca1a79fdaf1ba6a2da3fe44d36296c89c8f50a4a89e6f3 +EBUILD xorg-server-9999.ebuild 5695 BLAKE2B 0705b6d912755ea735e4b079132289216fdab40bde6711a6fd0f6ff76f72c0e46346a93960e6d76dd48bfaa6ed885ed56736a562e76f69d1f4ae3487803d3e3f SHA512 3ef89a05170e1c72a261a851da21066936832685b112f7f887d7c378d8344dab95d05761ba211da1050acb6e91e0311c374cd7ccd7f19c2e20eba98276f7d3ac MISC metadata.xml 952 BLAKE2B 48b5bada3b2b3b16ef4806f028b8fe47a4d5cd0d19783ebb585f0389f51df589d3f53c5bff5f5ed883ad61c7e7be0fef94fd5cf11042e23dea5e456faf0a927c SHA512 34955c04ee1488a09997d0d9caf63c9202023d06e0524b74120c5c1def033d9dbc2ce82a5d4c289a6fd98df83e2e09ad54e6a084d164d2416228628df7874198 diff --git a/x11-base/xorg-server/files/xorg-server-1.20.4-shm-Pick-the-shm-dir-at-run-time-not-build-time.patch b/x11-base/xorg-server/files/xorg-server-1.20.4-shm-Pick-the-shm-dir-at-run-time-not-build-time.patch deleted file mode 100644 index 54ed62935a6d..000000000000 --- a/x11-base/xorg-server/files/xorg-server-1.20.4-shm-Pick-the-shm-dir-at-run-time-not-build-time.patch +++ /dev/null @@ -1,174 +0,0 @@ -From 19f6cb570becbc4e355807199c6e251fc7935132 Mon Sep 17 00:00:00 2001 -From: Eric Anholt <eric@anholt.net> -Date: Wed, 19 Sep 2018 13:28:06 -0700 -Subject: [PATCH xserver] shm: Pick the shm dir at run time, not build time. - -Prodding the builder's filesystem for tmp dirs doesn't necessarily -tell you anything about what the actual host's filesystem is going to -look like, so we should just try the dirs at runtime. - -Signed-off-by: Eric Anholt <eric@anholt.net> ---- - Xext/shm.c | 48 +++++++++++++++++++++++++---------------- - configure.ac | 43 ------------------------------------ - include/dix-config.h.in | 3 --- - include/meson.build | 5 ----- - 4 files changed, 29 insertions(+), 70 deletions(-) - -diff --git a/Xext/shm.c b/Xext/shm.c -index ed43b9202..2739a59e7 100644 ---- a/Xext/shm.c -+++ b/Xext/shm.c -@@ -1194,36 +1194,46 @@ ProcShmAttachFd(ClientPtr client) - static int - shm_tmpfile(void) - { --#ifdef SHMDIR -+ const char *shmdirs[] = { -+ "/run/shm", -+ "/var/tmp", -+ "/tmp", -+ }; - int fd; -- char template[] = SHMDIR "/shmfd-XXXXXX"; -+ - #ifdef O_TMPFILE -- fd = open(SHMDIR, O_TMPFILE|O_RDWR|O_CLOEXEC|O_EXCL, 0666); -- if (fd >= 0) { -- DebugF ("Using O_TMPFILE\n"); -- return fd; -+ for (int i = 0; i < ARRAY_SIZE(shmdirs); i++) { -+ fd = open(shmdirs[i], O_TMPFILE|O_RDWR|O_CLOEXEC|O_EXCL, 0666); -+ if (fd >= 0) { -+ DebugF ("Using O_TMPFILE\n"); -+ return fd; -+ } - } - ErrorF ("Not using O_TMPFILE\n"); - #endif -+ -+ for (int i = 0; i < ARRAY_SIZE(shmdirs); i++) { -+ char template[PATH_MAX]; -+ snprintf(template, ARRAY_SIZE(template), "%s/shmfd-XXXXXX", shmdirs[i]); - #ifdef HAVE_MKOSTEMP -- fd = mkostemp(template, O_CLOEXEC); -+ fd = mkostemp(template, O_CLOEXEC); - #else -- fd = mkstemp(template); -+ fd = mkstemp(template); - #endif -- if (fd < 0) -- return -1; -- unlink(template); -+ if (fd < 0) -+ continue; -+ unlink(template); - #ifndef HAVE_MKOSTEMP -- int flags = fcntl(fd, F_GETFD); -- if (flags != -1) { -- flags |= FD_CLOEXEC; -- (void) fcntl(fd, F_SETFD, &flags); -- } -+ int flags = fcntl(fd, F_GETFD); -+ if (flags != -1) { -+ flags |= FD_CLOEXEC; -+ (void) fcntl(fd, F_SETFD, &flags); -+ } - #endif -- return fd; --#else -+ return fd; -+ } -+ - return -1; --#endif - } - - static int -diff --git a/configure.ac b/configure.ac -index 359b62cb5..57a233102 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1115,49 +1115,6 @@ case "$DRI2,$HAVE_DRI2PROTO" in - esac - AM_CONDITIONAL(DRI2, test "x$DRI2" = xyes) - --dnl --dnl Locate a suitable tmp file system for creating shared memeory files --dnl -- --AC_ARG_WITH(shared-memory-dir, AS_HELP_STRING([--with-shared-memory-dir=PATH], [Path to directory in a world-writable temporary directory for anonymous shared memory (default: auto)]), --[], --[with_shared_memory_dir=yes]) -- --shmdirs="/run/shm /var/tmp /tmp" -- --case x"$with_shared_memory_dir" in --xyes) -- for dir in $shmdirs; do -- case x"$with_shared_memory_dir" in -- xyes) -- echo Checking temp dir "$dir" -- if test -d "$dir"; then -- with_shared_memory_dir="$dir" -- fi -- ;; -- esac -- done -- ;; --x/*) -- ;; --xno) -- ;; --*) -- AC_MSG_ERROR([Invalid directory specified for --with-shared-memory-dir: $with_shared_memory_dir]) -- ;; --esac -- --case x"$with_shared_memory_dir" in --xyes) -- AC_MSG_ERROR([No directory found for shared memory temp files.]) -- ;; --xno) -- ;; --*) -- AC_DEFINE_UNQUOTED(SHMDIR, ["$with_shared_memory_dir"], [Directory for shared memory temp files]) -- ;; --esac -- - AC_ARG_ENABLE(xtrans-send-fds, AS_HELP_STRING([--disable-xtrans-send-fds], [Use Xtrans support for fd passing (default: auto)]), [XTRANS_SEND_FDS=$enableval], [XTRANS_SEND_FDS=auto]) - - case "x$XTRANS_SEND_FDS" in -diff --git a/include/dix-config.h.in b/include/dix-config.h.in -index f8df86608..3bd22b8bb 100644 ---- a/include/dix-config.h.in -+++ b/include/dix-config.h.in -@@ -452,9 +452,6 @@ - /* Wrap SIGBUS to catch MIT-SHM faults */ - #undef BUSFAULT - --/* Directory for shared memory temp files */ --#undef SHMDIR -- - /* Don't let Xdefs.h define 'pointer' */ - #define _XTYPEDEF_POINTER 1 - -diff --git a/include/meson.build b/include/meson.build -index 4a0c12f5a..04c41e999 100644 ---- a/include/meson.build -+++ b/include/meson.build -@@ -91,11 +91,6 @@ conf_data.set('SYSTEMD_LOGIND', build_systemd_logind) - conf_data.set('NEED_DBUS', build_systemd_logind or build_hal) - conf_data.set('CONFIG_WSCONS', host_machine.system() == 'openbsd') - --# XXX: SHMDIR is weird in autoconf, probing the build system for --# various tmp directories. Could we replace it with C code at runtime --# that just uses whatever directory works? --conf_data.set_quoted('SHMDIR', '/tmp') -- - conf_data.set('HAVE_XSHMFENCE', xshmfence_dep.found()) - conf_data.set('WITH_LIBDRM', libdrm_dep.found()) - conf_data.set('GLAMOR_HAS_EGL_QUERY_DMABUF', --- -2.19.2 - diff --git a/x11-base/xorg-server/files/xorg-server-1.20.4-shm-Use-memfd_create-when-possible.patch b/x11-base/xorg-server/files/xorg-server-1.20.4-shm-Use-memfd_create-when-possible.patch deleted file mode 100644 index fce25944537f..000000000000 --- a/x11-base/xorg-server/files/xorg-server-1.20.4-shm-Use-memfd_create-when-possible.patch +++ /dev/null @@ -1,89 +0,0 @@ -From f6753c117ef0f83499d5e2d6dda226fec9ddf803 Mon Sep 17 00:00:00 2001 -From: Alexander Volkov <a.volkov@rusbitech.ru> -Date: Mon, 11 Feb 2019 18:54:10 +0300 -Subject: [PATCH xserver] shm: Use memfd_create when possible - -It doesn't require shared memory dir and thus allows -to avoid cases when this dir is detected incorrectly, -as in https://bugreports.qt.io/browse/QTBUG-71440 - -Signed-off-by: Alexander Volkov <a.volkov@rusbitech.ru> ---- - Xext/shm.c | 12 ++++++++++++ - configure.ac | 2 +- - include/dix-config.h.in | 3 +++ - include/meson.build | 1 + - 4 files changed, 17 insertions(+), 1 deletion(-) - -diff --git a/Xext/shm.c b/Xext/shm.c -index 2739a59e7..506fd4df1 100644 ---- a/Xext/shm.c -+++ b/Xext/shm.c -@@ -35,6 +35,9 @@ in this Software without prior written authorization from The Open Group. - #include <sys/types.h> - #include <sys/ipc.h> - #include <sys/shm.h> -+#ifdef HAVE_MEMFD_CREATE -+#include <sys/mman.h> -+#endif - #include <unistd.h> - #include <sys/stat.h> - #include <fcntl.h> -@@ -1201,6 +1204,15 @@ shm_tmpfile(void) - }; - int fd; - -+#ifdef HAVE_MEMFD_CREATE -+ fd = memfd_create("xorg", MFD_CLOEXEC|MFD_ALLOW_SEALING); -+ if (fd != -1) { -+ fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK); -+ DebugF ("Using memfd_create\n"); -+ return fd; -+ } -+#endif -+ - #ifdef O_TMPFILE - for (int i = 0; i < ARRAY_SIZE(shmdirs); i++) { - fd = open(shmdirs[i], O_TMPFILE|O_RDWR|O_CLOEXEC|O_EXCL, 0666); -diff --git a/configure.ac b/configure.ac -index 0ca96aeb8..79ff7fa64 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -159,7 +159,7 @@ dnl Checks for library functions. - AC_CHECK_FUNCS([backtrace geteuid getuid issetugid getresuid \ - getdtablesize getifaddrs getpeereid getpeerucred getprogname getzoneid \ - mmap posix_fallocate seteuid shmctl64 strncasecmp vasprintf vsnprintf \ -- walkcontext setitimer poll epoll_create1 mkostemp]) -+ walkcontext setitimer poll epoll_create1 mkostemp memfd_create]) - AC_CONFIG_LIBOBJ_DIR([os]) - AC_REPLACE_FUNCS([reallocarray strcasecmp strcasestr strlcat strlcpy strndup\ - timingsafe_memcmp]) -diff --git a/include/dix-config.h.in b/include/dix-config.h.in -index 855b3d50c..9eb1a924e 100644 ---- a/include/dix-config.h.in -+++ b/include/dix-config.h.in -@@ -128,6 +128,9 @@ - /* Define to 1 if you have the <linux/fb.h> header file. */ - #undef HAVE_LINUX_FB_H - -+/* Define to 1 if you have the `memfd_create' function. */ -+#undef HAVE_MEMFD_CREATE -+ - /* Define to 1 if you have the `mkostemp' function. */ - #undef HAVE_MKOSTEMP - -diff --git a/include/meson.build b/include/meson.build -index 04c41e999..bbd5a6690 100644 ---- a/include/meson.build -+++ b/include/meson.build -@@ -141,6 +141,7 @@ conf_data.set('HAVE_GETPEEREID', cc.has_function('getpeereid')) - conf_data.set('HAVE_GETPEERUCRED', cc.has_function('getpeerucred')) - conf_data.set('HAVE_GETPROGNAME', cc.has_function('getprogname')) - conf_data.set('HAVE_GETZONEID', cc.has_function('getzoneid')) -+conf_data.set('HAVE_MEMFD_CREATE', cc.has_function('memfd_create')) - conf_data.set('HAVE_MKOSTEMP', cc.has_function('mkostemp')) - conf_data.set('HAVE_MMAP', cc.has_function('mmap')) - conf_data.set('HAVE_POLL', cc.has_function('poll')) --- -2.19.2 - diff --git a/x11-base/xorg-server/files/xorg-server-1.20.4-shm-reindent-shm_tmpfile-to-follow-our-standards.patch b/x11-base/xorg-server/files/xorg-server-1.20.4-shm-reindent-shm_tmpfile-to-follow-our-standards.patch deleted file mode 100644 index 1ce9e1307943..000000000000 --- a/x11-base/xorg-server/files/xorg-server-1.20.4-shm-reindent-shm_tmpfile-to-follow-our-standards.patch +++ /dev/null @@ -1,72 +0,0 @@ -From 804a9b4f57107fa2d0ed1ae0becda5bebaffe6e1 Mon Sep 17 00:00:00 2001 -From: Eric Anholt <eric@anholt.net> -Date: Wed, 19 Sep 2018 13:20:12 -0700 -Subject: [PATCH xserver] shm: reindent shm_tmpfile to follow our standards. - -Signed-off-by: Eric Anholt <eric@anholt.net> ---- - Xext/shm.c | 40 ++++++++++++++++++++-------------------- - 1 file changed, 20 insertions(+), 20 deletions(-) - -diff --git a/Xext/shm.c b/Xext/shm.c -index 589ed0b4d..ed43b9202 100644 ---- a/Xext/shm.c -+++ b/Xext/shm.c -@@ -1195,34 +1195,34 @@ static int - shm_tmpfile(void) - { - #ifdef SHMDIR -- int fd; -- char template[] = SHMDIR "/shmfd-XXXXXX"; -+ int fd; -+ char template[] = SHMDIR "/shmfd-XXXXXX"; - #ifdef O_TMPFILE -- fd = open(SHMDIR, O_TMPFILE|O_RDWR|O_CLOEXEC|O_EXCL, 0666); -- if (fd >= 0) { -- DebugF ("Using O_TMPFILE\n"); -- return fd; -- } -- ErrorF ("Not using O_TMPFILE\n"); -+ fd = open(SHMDIR, O_TMPFILE|O_RDWR|O_CLOEXEC|O_EXCL, 0666); -+ if (fd >= 0) { -+ DebugF ("Using O_TMPFILE\n"); -+ return fd; -+ } -+ ErrorF ("Not using O_TMPFILE\n"); - #endif - #ifdef HAVE_MKOSTEMP -- fd = mkostemp(template, O_CLOEXEC); -+ fd = mkostemp(template, O_CLOEXEC); - #else -- fd = mkstemp(template); -+ fd = mkstemp(template); - #endif -- if (fd < 0) -- return -1; -- unlink(template); -+ if (fd < 0) -+ return -1; -+ unlink(template); - #ifndef HAVE_MKOSTEMP -- int flags = fcntl(fd, F_GETFD); -- if (flags != -1) { -- flags |= FD_CLOEXEC; -- (void) fcntl(fd, F_SETFD, &flags); -- } -+ int flags = fcntl(fd, F_GETFD); -+ if (flags != -1) { -+ flags |= FD_CLOEXEC; -+ (void) fcntl(fd, F_SETFD, &flags); -+ } - #endif -- return fd; -+ return fd; - #else -- return -1; -+ return -1; - #endif - } - --- -2.19.2 - diff --git a/x11-base/xorg-server/xorg-server-1.20.5.ebuild b/x11-base/xorg-server/xorg-server-1.20.5.ebuild deleted file mode 100644 index 8f859c2eaf57..000000000000 --- a/x11-base/xorg-server/xorg-server-1.20.5.ebuild +++ /dev/null @@ -1,236 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -XORG_DOC=doc -XORG_EAUTORECONF="yes" -inherit xorg-3 multilib flag-o-matic -EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/xserver.git" - -DESCRIPTION="X.Org X servers" -SLOT="0/${PV}" -if [[ ${PV} != 9999* ]]; then - KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux" -fi - -IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb" -IUSE="${IUSE_SERVERS} debug elogind ipv6 libressl libglvnd minimal selinux +suid systemd +udev unwind xcsecurity" - -CDEPEND="libglvnd? ( - media-libs/libglvnd - !app-eselect/eselect-opengl - ) - !libglvnd? ( >=app-eselect/eselect-opengl-1.3.0 ) - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - >=x11-apps/iceauth-1.0.2 - >=x11-apps/rgb-1.0.3 - >=x11-apps/xauth-1.0.3 - x11-apps/xkbcomp - >=x11-libs/libdrm-2.4.89 - >=x11-libs/libpciaccess-0.12.901 - >=x11-libs/libXau-1.0.4 - >=x11-libs/libXdmcp-1.0.2 - >=x11-libs/libXfont2-2.0.1 - >=x11-libs/libxkbfile-1.0.4 - >=x11-libs/libxshmfence-1.1 - >=x11-libs/pixman-0.27.2 - >=x11-libs/xtrans-1.3.5 - >=x11-misc/xbitmaps-1.0.1 - >=x11-misc/xkeyboard-config-2.4.1-r3 - dmx? ( - x11-libs/libXt - >=x11-libs/libdmx-1.0.99.1 - >=x11-libs/libX11-1.1.5 - >=x11-libs/libXaw-1.0.4 - >=x11-libs/libXext-1.0.99.4 - >=x11-libs/libXfixes-5.0 - >=x11-libs/libXi-1.2.99.1 - >=x11-libs/libXmu-1.0.3 - x11-libs/libXrender - >=x11-libs/libXres-1.0.3 - >=x11-libs/libXtst-1.0.99.2 - ) - kdrive? ( - >=x11-libs/libXext-1.0.5 - x11-libs/libXv - ) - xephyr? ( - x11-libs/libxcb[xkb] - x11-libs/xcb-util - x11-libs/xcb-util-image - x11-libs/xcb-util-keysyms - x11-libs/xcb-util-renderutil - x11-libs/xcb-util-wm - ) - !minimal? ( - >=x11-libs/libX11-1.1.5 - >=x11-libs/libXext-1.0.5 - >=media-libs/mesa-18[X(+),egl,gbm] - media-libs/libepoxy[X,egl(+)] - ) - udev? ( virtual/libudev:= ) - unwind? ( sys-libs/libunwind ) - wayland? ( - >=dev-libs/wayland-1.3.0 - media-libs/libepoxy[egl(+)] - >=dev-libs/wayland-protocols-1.1 - ) - >=x11-apps/xinit-1.3.3-r1 - systemd? ( - sys-apps/dbus - sys-apps/systemd - ) - elogind? ( - sys-apps/dbus - sys-auth/elogind - sys-auth/pambase[elogind] - ) - " - -DEPEND="${CDEPEND} - sys-devel/flex - >=x11-base/xorg-proto-2018.4 - dmx? ( - doc? ( - || ( - www-client/links - www-client/lynx - www-client/w3m - ) - ) - )" - -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-xserver ) - !x11-drivers/xf86-video-modesetting -" - -PDEPEND=" - xorg? ( >=x11-base/xorg-drivers-$(ver_cut 1-2) )" - -REQUIRED_USE="!minimal? ( - || ( ${IUSE_SERVERS} ) - ) - elogind? ( udev ) - ?? ( elogind systemd ) - minimal? ( !wayland ) - xephyr? ( kdrive )" - -UPSTREAMED_PATCHES=( - "${FILESDIR}"/${PN}-1.20.4-shm-reindent-shm_tmpfile-to-follow-our-standards.patch - "${FILESDIR}"/${PN}-1.20.4-shm-Pick-the-shm-dir-at-run-time-not-build-time.patch - "${FILESDIR}"/${PN}-1.20.4-shm-Use-memfd_create-when-possible.patch -) - -PATCHES=( - "${UPSTREAMED_PATCHES[@]}" - "${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch - # needed for new eselect-opengl, bug #541232 - "${FILESDIR}"/${PN}-1.18-support-multiple-Files-sections.patch -) - -pkg_setup() { - if use wayland && use minimal; then - ewarn "glamor is necessary for acceleration under Xwayland." - ewarn "Performance may be unacceptable without it." - ewarn "Build with USE=-minimal to enable glamor." - fi - - # localstatedir is used for the log location; we need to override the default - # from ebuild.sh - # sysconfdir is used for the xorg.conf location; same applies - # NOTE: fop is used for doc generating; and I have no idea if Gentoo - # package it somewhere - XORG_CONFIGURE_OPTIONS=( - $(use_enable ipv6) - $(use_enable debug) - $(use_enable dmx) - $(use_enable kdrive) - $(use_enable unwind libunwind) - $(use_enable wayland xwayland) - $(use_enable !minimal record) - $(use_enable !minimal xfree86-utils) - $(use_enable !minimal dri) - $(use_enable !minimal dri2) - $(use_enable !minimal dri3) - $(use_enable !minimal glamor) - $(use_enable !minimal glx) - $(use_enable xcsecurity) - $(use_enable xephyr) - $(use_enable xnest) - $(use_enable xorg) - $(use_enable xvfb) - $(use_enable udev config-udev) - $(use_with doc doxygen) - $(use_with doc xmlto) - $(usex !elogind $(use_enable systemd systemd-logind) '--enable-systemd-logind') - $(use_with systemd systemd-daemon) - $(usex suid $(use_enable systemd suid-wrapper) '--disable-suid-wrapper') - $(usex suid $(use_enable !systemd install-setuid) '--disable-install-setuid') - --enable-libdrm - --sysconfdir="${EPREFIX}"/etc/X11 - --localstatedir="${EPREFIX}"/var - --with-fontrootdir="${EPREFIX}"/usr/share/fonts - --with-xkb-output="${EPREFIX}"/var/lib/xkb - --disable-config-hal - --disable-linux-acpi - --without-dtrace - --without-fop - --with-os-vendor=Gentoo - --with-sha1=libcrypto - ) -} - -src_prepare() { - sed -i -e 's/"gl >= .*"/"gl"/' configure.ac || die - default - eautoreconf -} - -src_install() { - xorg-3_src_install - - server_based_install - - if ! use minimal && use xorg; then - # Install xorg.conf.example into docs - dodoc "${S}"/hw/xfree86/xorg.conf.example - fi - - newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup - newinitd "${FILESDIR}"/xdm.initd-11 xdm - newconfd "${FILESDIR}"/xdm.confd-4 xdm - - # install the @x11-module-rebuild set for Portage - insinto /usr/share/portage/config/sets - newins "${FILESDIR}"/xorg-sets.conf xorg.conf - - find "${ED}"/var -type d -empty -delete || die -} - -pkg_postinst() { - if ! use minimal; then - # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install) - if ! use libglvnd; then - eselect opengl set xorg-x11 --use-old - fi - fi -} - -pkg_postrm() { - # Get rid of module dir to ensure opengl-update works properly - if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then - rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules - fi -} - -server_based_install() { - if ! use xorg; then - rm "${ED}"/usr/share/man/man1/Xserver.1x \ - "${ED}"/usr/$(get_libdir)/xserver/SecurityPolicy \ - "${ED}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \ - "${ED}"/usr/share/man/man1/Xserver.1x - fi -} diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild index 061fe06600d4..d15e74b78b8d 100644 --- a/x11-base/xorg-server/xorg-server-9999.ebuild +++ b/x11-base/xorg-server/xorg-server-9999.ebuild @@ -104,7 +104,6 @@ DEPEND="${CDEPEND} RDEPEND="${CDEPEND} selinux? ( sec-policy/selinux-xserver ) - !x11-drivers/xf86-video-modesetting " PDEPEND=" diff --git a/x11-base/xorg-x11/Manifest b/x11-base/xorg-x11/Manifest index 82b9227a306e..dec47a3c3b69 100644 --- a/x11-base/xorg-x11/Manifest +++ b/x11-base/xorg-x11/Manifest @@ -1,2 +1,2 @@ -EBUILD xorg-x11-7.4-r3.ebuild 3317 BLAKE2B 741edf393b2b23f182fdd749639814f849fcb3c2507a1c316ac8698093a848ca3cc0ef69de4215d98562429bbf9616883aa6ca1b44c8881c942d7fd8616ced55 SHA512 00950b04a2c10f304f15cc13ac01020b07b3ac7210a0a1150f4f57c0d62ef187c3503413bab9736d16f04a635fa6d7388d05779d0f80ba9d4929a26fb1e21dd0 -MISC metadata.xml 369 BLAKE2B 36a4c5573e4280020ac40830cae3056197c2eda56c3161265c163a82d18337da4a2efbfaf7dbd08c76f6231c40a19669e1785b84ce6c89ab5bbc2fbb9b2a1970 SHA512 d0aadbeb8260987c487e28e74ec895b5012c23b8422a12d629444ee54afbe8c266ccba1286e5b1b21366a97b4255ae8724148dcf58eefc3e966fdb382e11d467 +EBUILD xorg-x11-7.4-r3.ebuild 3318 BLAKE2B 0cd50ba794d03cfe11a717b437932c224668ccd5f27b6004eba05b1544f82f73e0e00787682ddceaac0d227f6a8cb46377d8f5cf92fba747358e42ef8e1f0bca SHA512 f81675e86bdbd719e65597fc6873021211b220b5420b59d32d873d404a1c7afb49b30aff8f618089b7b1cf62a81d7f9e5e0d866673962c8461662908bd721500 +MISC metadata.xml 295 BLAKE2B bf8cdcd84763dacb5bc31355ca5050d30c6808e4aff370c709f07269cf4c3e62a1e107350cf5e6a9cbf0d0ca1ad2e3b57393674595e44dc023b0320dd6f32e47 SHA512 66ad6bd339be8ab149a01cf9039eea3ef06058de715c700ba5e1f511c957ef71ffded1209dab1594f7c899db0d77876bcfec48ba0d43a296704fb8dc33946be7 diff --git a/x11-base/xorg-x11/metadata.xml b/x11-base/xorg-x11/metadata.xml index a0d9b5f6d24d..dfdafac06170 100644 --- a/x11-base/xorg-x11/metadata.xml +++ b/x11-base/xorg-x11/metadata.xml @@ -5,7 +5,6 @@ <email>x11@gentoo.org</email> <name>X11</name> </maintainer> -<longdescription>X11 implementation by X.Org Foundation</longdescription> <use> <flag name="fonts">Install fonts from X.Org</flag> </use> diff --git a/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild b/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild index 0e11f2cf8f4e..d6c4f92de38f 100644 --- a/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild +++ b/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild @@ -8,7 +8,7 @@ HOMEPAGE="https://www.x.org/wiki/" LICENSE="metapackage" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sh sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sh sparc x86" IUSE="+fonts" # Server |