diff options
Diffstat (limited to 'x11-base')
-rw-r--r-- | x11-base/Manifest.gz | bin | 1047 -> 1053 bytes | |||
-rw-r--r-- | x11-base/xorg-server/Manifest | 7 | ||||
-rw-r--r-- | x11-base/xorg-server/files/xdm.confd-4 | 2 | ||||
-rw-r--r-- | x11-base/xorg-server/files/xorg-server-1.20.0-xfree86-Inline-xf86-Read-Write-Mmio-8-16-32-on-alpha.patch | 224 | ||||
-rw-r--r-- | x11-base/xorg-server/xorg-server-1.20.0.ebuild | 4 | ||||
-rw-r--r-- | x11-base/xorg-server/xorg-server-9999.ebuild | 2 |
6 files changed, 233 insertions, 6 deletions
diff --git a/x11-base/Manifest.gz b/x11-base/Manifest.gz Binary files differindex 0ad0dc3af97e..3e4d12c65127 100644 --- a/x11-base/Manifest.gz +++ b/x11-base/Manifest.gz diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest index 25d6b79f9a2d..f6923653f254 100644 --- a/x11-base/xorg-server/Manifest +++ b/x11-base/xorg-server/Manifest @@ -1,14 +1,15 @@ AUX xdm-setup.initd-1 225 BLAKE2B 16823bad1346820adcb51041ed71791635353e4355f615d0de5d5456919da910c427d348b2300fa8c0e963e1b4fe3ce71cfeb039ab3f084173a20f307c0fd192 SHA512 c6bdf1e195c9af97cd504ef9b63fc0835fe79d24738295d21277aa97951405721b96cff11097098edb707f9b351dce26993de04198d22251ca0655a313083083 -AUX xdm.confd-4 562 BLAKE2B e72acf22f703d4ebf125d086e0147a790f000accb2fe50dd93c2c99753d507f70bf90caeaa804b36496ee8f224da5ca18a7daac0a3ce819d8ffdee133e8b8de1 SHA512 facfb91c0b4e0b1cae86b707d263523215633720e1e8f4595639411f936907b321643e8a06111dd3f7b74fa601476e4b0d09768edfdec762c73fa07cb227588b +AUX xdm.confd-4 573 BLAKE2B 0c2a282acc851b95f925715c31915be469ef3758bbaa800d5fc5058051bf0bde4d30fb7de7de753d0dea1b515d68ad9a254fe6f3c225ebdab9112e23a889cea9 SHA512 6d27507cc5ea8eabf11fe8068c40269f5f94483e8328a3c3f1e9ff9cfaea33e89b19d6c40570e6a0a3b6491fffa47e74a7eb456ff807faea30f01688edab14d4 AUX xdm.initd-11 6021 BLAKE2B 75b0ae0adb0a96324d6cd7be98686e3806ea87dada2cdd8ecb128e59e18add456a55ecd30080ab9ff5fb96ae972c05625913a333b5e42a7c8fed19ed8698f154 SHA512 c599d41e2476239ee3ba704ca2493f2d976c5de660ca05393580ca6387eba91156a00a1aa919da2b0d4a5f943eb858f801dc8d3cd907d1abd487fe4fe69bd321 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.19.4-sysmacros.patch 986 BLAKE2B 04c111591a6a558913217b24aa2357478e7d931b6cee5185dda31ebd38d68463b4a158a18d8a60ffa7ccc5c65e246f261ebbf7c0ebc81fd3ae31e7579b7adab4 SHA512 858676058779363741901ffbf79666f723f917b49f8627ddd2f31768873adfb416a70bc298e2356861cb5abca8be54a6c64f8fa4fd11a91cce072b93857ad168 AUX xorg-server-1.19.5-glx-do-not-pick-sRGB-config-for-32-bit-RGBA-visual.patch 1555 BLAKE2B ef0a52b2341939f254bdce6b705f0591d0888c8043e5c0da1c4c4e97cdac632c56b27392ac2d7ac63653c7dfe1d381edd619a5e0c1c78f3bf255348c99c30f24 SHA512 66cd27608019557029f15aa81cf1a067e124ec0f854af9e732fef8b12bade4f1797481c86de2437b63ec5364fbeb1e3e05a39aa08df71ad08df79cd7d244e280 +AUX xorg-server-1.20.0-xfree86-Inline-xf86-Read-Write-Mmio-8-16-32-on-alpha.patch 8053 BLAKE2B a6acfbdddc8a4114856ed8bfb7cf215f47e5c3ca9c58d539b9e5affb760cab7c61979e2252d2aba4fc138ac29078b8aa03fe83539aca54044b19b828c88ac472 SHA512 ad46621216f9a8c2b4ac044e02bac528df8696ee203d32310ac6665a519d36c98936f2f1c3598afc269e95ecf68e256f62faba9ab087abbe50aed2faff9d458a AUX xorg-sets.conf 199 BLAKE2B e9414694f372d3f2a65bee903522094a60e261ddcd0c49a1d85a2ee804f3edbb5c605ed2d0b44839a91e98957f05ea88da87530f5f36b2db249e09ee56ee2975 SHA512 910fe28f20909243044f079ff35136942b8790f4f28ac42ffc64a76b7f03cd22057087fa5e4e01192080b52c0d89000ea96d5a807c6f11f680d3f43312c5be41 DIST xorg-server-1.19.5.tar.bz2 5965044 BLAKE2B 23375793ea4459a962f412440e307081ce2acd3c646e5db4d1bfac20e267bcbb1752ba8f6de66df06d25eaf92d1b55082a80eced0d44c257a757d5926ca6a7f3 SHA512 928dea5850b98cd815004cfa133eca23cfa9521920c934c68a92787f2cae13cca1534eee772a4fb74b8ae8cb92662b5d68b95b834c8aa8ec57cd57cb4e5dd45c DIST xorg-server-1.20.0.tar.bz2 6096838 BLAKE2B 34ee6d6dbbde54d54e082a0791e85ad52d728e239a7d8fadb75ebcbdbaab8752b90ca6d075f096d971db7ec68ce4ecac5c70fcf536ce23c20b8dce8f32e2c046 SHA512 1489e8511c9da682ef0460182dfeeddd241c72d4ef4d206d9706f1e39572c09953df851fab18cefb65a1ee4c6710c6ba13c63c9c9fc0bc1b5f12c50780412cde EBUILD xorg-server-1.19.5-r2.ebuild 5777 BLAKE2B 474ad648bed1effaac54a894d2c40639ff64b446a2ec5690bc34aeb67b2b66df54d4200f9b89d03ad855edacaf523464b4ce1e2c13f628e6d24fe62e12f9911e SHA512 63672025c57fb3f9d8d55dba7399d9a16dc558c4f927e66f70b5c0f5483ecebe33a501615d6e099456a6c9534ffe46f568dd3d5da57e3de5203d0c1a73848e11 -EBUILD xorg-server-1.20.0.ebuild 5527 BLAKE2B 9ecf7e16160da27f61917a9333ee27522bbe23123dfb1ab4aa0ea362006d20bd5990431e2568cee623e8baf6ce247feb8f7256a2374b7db36cc0572e3b91384e SHA512 476b7aee6d2fe130f95cfef76fef0639126a596790a75d1ee6248e880f88a57d99a67318c6eef9a8990e669cd8c52cb69de2aad0071414ff4c451a3020a5eae2 -EBUILD xorg-server-9999.ebuild 5553 BLAKE2B 2b29cb7d785839c40f1357671c07bf8ea2685862ac8375f36ba9888fabd27258745e54b6ef1b126098eda8e155415a816f73b9331881ff975b327216948489b6 SHA512 9d8f5af8959c2635d40b8c9bc75947a1c5765032751a2169fac84af529e82168d111856586b00447704bd46835e1a817527788460e4e8dee6d2d8c9fc0804b1e +EBUILD xorg-server-1.20.0.ebuild 5626 BLAKE2B 05227cacf2ff76a088680fd126c4dcc5e817d58d4f954e29f42791b964cd2eb5527dd3e0c48f18a41218ad9b944d4ec92b8bbedb9dba7bc0daa0fd4b99f77298 SHA512 07a7a65ec9b875bcfca749f14492455515227ae301ca76195ae4f2b066288daf9dbab86ff17e545e9617c30afe62901460af5b0e6b4e60cd2ff091db10b465e7 +EBUILD xorg-server-9999.ebuild 5552 BLAKE2B 0ece108bba123a51a8c2340918e27871b9602672a71ef120740691c0e19ed1c27231adc2b542a3185227b42204be101025a517df27de95aae50ad6113edaee21 SHA512 554816fecf3e275839c5ad92c09fb8145e3131310bff060e3e58e61e11e00b0700831fcbeda792045a7616773eda87568b87e32c1cb13c92b2cc1361678095a3 MISC metadata.xml 934 BLAKE2B ffffcceb822cadfd48ff18063acd7adfeba6b651099c91f14159b2af4486b1475578da54865d99ef0acc78e34bfc3b1e7e6bca1d179ab7f151417c53c1a05a35 SHA512 97fffbdf402a70c9cb84062ac6c906b8a9d35ceebbe35b28547387e4a9e2706c595f842f64bee92925415bd49593f3a3b0213072ff2c0ab22209dc37e243d4ac diff --git a/x11-base/xorg-server/files/xdm.confd-4 b/x11-base/xorg-server/files/xdm.confd-4 index c82fece01cb7..880d4635f117 100644 --- a/x11-base/xorg-server/files/xdm.confd-4 +++ b/x11-base/xorg-server/files/xdm.confd-4 @@ -5,6 +5,6 @@ # in your /etc/inittab file so that you don't get a dead keyboard. CHECKVT=7 -# What display manager do you use ? [ xdm | gdm | kdm | gpe | entrance ] +# What display manager do you use ? [ xdm | gdm | sddm | gpe | lightdm | entrance ] # NOTE: If this is set in /etc/rc.conf, that setting will override this one. DISPLAYMANAGER="xdm" diff --git a/x11-base/xorg-server/files/xorg-server-1.20.0-xfree86-Inline-xf86-Read-Write-Mmio-8-16-32-on-alpha.patch b/x11-base/xorg-server/files/xorg-server-1.20.0-xfree86-Inline-xf86-Read-Write-Mmio-8-16-32-on-alpha.patch new file mode 100644 index 000000000000..ebf677ae9c40 --- /dev/null +++ b/x11-base/xorg-server/files/xorg-server-1.20.0-xfree86-Inline-xf86-Read-Write-Mmio-8-16-32-on-alpha.patch @@ -0,0 +1,224 @@ +From eecedfffd40f0465d85347f14547ddc6b30e57df Mon Sep 17 00:00:00 2001 +From: Matt Turner <mattst88@gmail.com> +Date: Tue, 22 May 2018 21:10:55 -0700 +Subject: [PATCH xserver] xfree86: Inline xf86{Read,Write}Mmio{8,16,32} on + alpha + +In commit 9db2af6f757e (xfree86: Remove xf86{Map,Unmap}VidMem) we +somehow stopped exporting xf86{Read,Write}Mmio{8,16,32}. Since the +function pointer indirection was intended to support dense vs sparse and +sparse support is now gone, we can just make the functions static inline +in compiler.h and avoid all of this. + +Bugzilla: https://bugs.gentoo.org/548906 +Tested-by: Christopher May-Townsend <chris@maytownsend.co.uk> +Reviewed-by: Adam Jackson <ajax@redhat.com> +Signed-off-by: Matt Turner <mattst88@gmail.com> +--- + configure.ac | 4 -- + hw/xfree86/common/compiler.h | 67 ++++++++++++++++++++++++--------- + hw/xfree86/os-support/bsd/Makefile.am | 3 +- + hw/xfree86/os-support/linux/Makefile.am | 12 ------ + hw/xfree86/os-support/linux/lnx_video.c | 27 ------------- + hw/xfree86/os-support/meson.build | 1 - + 6 files changed, 50 insertions(+), 64 deletions(-) + +diff --git a/configure.ac b/configure.ac +index ddc47faa2..0075b6ace 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1908,9 +1908,6 @@ if test "x$XORG" = xyes; then + XORG_OS_SUBDIR="linux" + linux_acpi="no" + case $host_cpu in +- alpha*) +- linux_alpha=yes +- ;; + i*86|amd64*|x86_64*|ia64*) + linux_acpi=$enable_linux_acpi + ;; +@@ -2075,7 +2072,6 @@ AM_CONDITIONAL([XORG], [test "x$XORG" = xyes]) + AM_CONDITIONAL([XORG_BUS_PCI], [test "x$PCI" = xyes]) + AM_CONDITIONAL([XORG_BUS_BSDPCI], [test "x$xorg_bus_bsdpci" = xyes]) + AM_CONDITIONAL([XORG_BUS_SPARC], [test "x$xorg_bus_sparc" = xyes]) +-AM_CONDITIONAL([LINUX_ALPHA], [test "x$linux_alpha" = xyes]) + AM_CONDITIONAL([LNXACPI], [test "x$linux_acpi" = xyes]) + AM_CONDITIONAL([LNXAPM], [test "x$linux_apm" = xyes]) + AM_CONDITIONAL([SOLARIS_VT], [test "x$solaris_vt" = xyes]) +diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h +index eea29dfb5..7144c6a27 100644 +--- a/hw/xfree86/common/compiler.h ++++ b/hw/xfree86/common/compiler.h +@@ -986,33 +986,64 @@ inl(unsigned PORT_SIZE port) + #endif + + #ifdef __alpha__ +-/* entry points for Mmio memory access routines */ +-extern _X_EXPORT int (*xf86ReadMmio8) (void *, unsigned long); +-extern _X_EXPORT int (*xf86ReadMmio16) (void *, unsigned long); +-extern _X_EXPORT int (*xf86ReadMmio32) (void *, unsigned long); +-extern _X_EXPORT void (*xf86WriteMmio8) (int, void *, unsigned long); +-extern _X_EXPORT void (*xf86WriteMmio16) (int, void *, unsigned long); +-extern _X_EXPORT void (*xf86WriteMmio32) (int, void *, unsigned long); ++static inline int ++xf86ReadMmio8(void *Base, unsigned long Offset) ++{ ++ mem_barrier(); ++ return *(CARD8 *) ((unsigned long) Base + (Offset)); ++} ++ ++static inline int ++xf86ReadMmio16(void *Base, unsigned long Offset) ++{ ++ mem_barrier(); ++ return *(CARD16 *) ((unsigned long) Base + (Offset)); ++} ++ ++static inline int ++xf86ReadMmio32(void *Base, unsigned long Offset) ++{ ++ mem_barrier(); ++ return *(CARD32 *) ((unsigned long) Base + (Offset)); ++} ++ ++static inline void ++xf86WriteMmio8(int Value, void *Base, unsigned long Offset) ++{ ++ write_mem_barrier(); ++ *(CARD8 *) ((unsigned long) Base + (Offset)) = Value; ++} ++ ++static inline void ++xf86WriteMmio16(int Value, void *Base, unsigned long Offset) ++{ ++ write_mem_barrier(); ++ *(CARD16 *) ((unsigned long) Base + (Offset)) = Value; ++} ++ ++static inline void ++xf86WriteMmio32(int Value, void *Base, unsigned long Offset) ++{ ++ write_mem_barrier(); ++ *(CARD32 *) ((unsigned long) Base + (Offset)) = Value; ++} ++ + extern _X_EXPORT void xf86SlowBCopyFromBus(unsigned char *, unsigned char *, + int); + extern _X_EXPORT void xf86SlowBCopyToBus(unsigned char *, unsigned char *, int); + + /* Some macros to hide the system dependencies for MMIO accesses */ + /* Changed to kill noise generated by gcc's -Wcast-align */ +-#define MMIO_IN8(base, offset) (*xf86ReadMmio8)(base, offset) +-#define MMIO_IN16(base, offset) (*xf86ReadMmio16)(base, offset) +-#define MMIO_IN32(base, offset) (*xf86ReadMmio32)(base, offset) +- +-#define MMIO_OUT32(base, offset, val) \ +- do { \ +- write_mem_barrier(); \ +- *(volatile CARD32 *)(void *)(((CARD8*)(base)) + (offset)) = (val); \ +- } while (0) ++#define MMIO_IN8(base, offset) xf86ReadMmio8(base, offset) ++#define MMIO_IN16(base, offset) xf86ReadMmio16(base, offset) ++#define MMIO_IN32(base, offset) xf86ReadMmio32(base, offset) + + #define MMIO_OUT8(base, offset, val) \ +- (*xf86WriteMmio8)((CARD8)(val), base, offset) ++ xf86WriteMmio8((CARD8)(val), base, offset) + #define MMIO_OUT16(base, offset, val) \ +- (*xf86WriteMmio16)((CARD16)(val), base, offset) ++ xf86WriteMmio16((CARD16)(val), base, offset) ++#define MMIO_OUT32(base, offset, val) \ ++ xf86WriteMmio32((CARD32)(val), base, offset) + + #elif defined(__powerpc__) || defined(__sparc__) + /* +diff --git a/hw/xfree86/os-support/bsd/Makefile.am b/hw/xfree86/os-support/bsd/Makefile.am +index b01ea5bca..66ac83805 100644 +--- a/hw/xfree86/os-support/bsd/Makefile.am ++++ b/hw/xfree86/os-support/bsd/Makefile.am +@@ -26,8 +26,7 @@ endif + if ALPHA_VIDEO + # Cheat here and piggyback other alpha bits on ALPHA_VIDEO. + ARCH_SOURCES = \ +- alpha_video.c \ +- bsd_ev56.c ++ alpha_video.c + endif + + if ARM_VIDEO +diff --git a/hw/xfree86/os-support/linux/Makefile.am b/hw/xfree86/os-support/linux/Makefile.am +index 26e40bb93..9b4535b53 100644 +--- a/hw/xfree86/os-support/linux/Makefile.am ++++ b/hw/xfree86/os-support/linux/Makefile.am +@@ -1,13 +1,5 @@ + noinst_LTLIBRARIES = liblinux.la + +-if LINUX_ALPHA +-noinst_LTLIBRARIES += liblinuxev56.la +- +-liblinuxev56_la_CFLAGS = $(AM_CFLAGS) -mcpu=ev56 +- +-liblinuxev56_la_SOURCES = lnx_ev56.c +-endif +- + if LNXACPI + ACPI_SRCS = lnx_acpi.c + if !LNXAPM +@@ -39,7 +31,3 @@ liblinux_la_SOURCES = linux.h lnx_init.c lnx_video.c \ + AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(DIX_CFLAGS) $(XORG_CFLAGS) $(PLATFORM_DEFINES) + + AM_CPPFLAGS = $(XORG_INCS) $(PLATFORM_INCLUDES) $(LIBDRM_CFLAGS) +- +-if LINUX_ALPHA +-liblinux_la_LIBADD = liblinuxev56.la +-endif +diff --git a/hw/xfree86/os-support/linux/lnx_video.c b/hw/xfree86/os-support/linux/lnx_video.c +index c09d71947..04e45092a 100644 +--- a/hw/xfree86/os-support/linux/lnx_video.c ++++ b/hw/xfree86/os-support/linux/lnx_video.c +@@ -166,30 +166,3 @@ xf86DisableIO(void) + + ExtendedEnabled = FALSE; + } +- +-#if defined (__alpha__) +- +-extern int readDense8(void *Base, register unsigned long Offset); +-extern int readDense16(void *Base, register unsigned long Offset); +-extern int readDense32(void *Base, register unsigned long Offset); +-extern void +- writeDense8(int Value, void *Base, register unsigned long Offset); +-extern void +- writeDense16(int Value, void *Base, register unsigned long Offset); +-extern void +- writeDense32(int Value, void *Base, register unsigned long Offset); +- +-void (*xf86WriteMmio8) (int Value, void *Base, unsigned long Offset) +- = writeDense8; +-void (*xf86WriteMmio16) (int Value, void *Base, unsigned long Offset) +- = writeDense16; +-void (*xf86WriteMmio32) (int Value, void *Base, unsigned long Offset) +- = writeDense32; +-int (*xf86ReadMmio8) (void *Base, unsigned long Offset) +- = readDense8; +-int (*xf86ReadMmio16) (void *Base, unsigned long Offset) +- = readDense16; +-int (*xf86ReadMmio32) (void *Base, unsigned long Offset) +- = readDense32; +- +-#endif /* __alpha__ */ +diff --git a/hw/xfree86/os-support/meson.build b/hw/xfree86/os-support/meson.build +index 901422786..b6e5c975d 100644 +--- a/hw/xfree86/os-support/meson.build ++++ b/hw/xfree86/os-support/meson.build +@@ -100,7 +100,6 @@ elif host_machine.system().endswith('bsd') + srcs_xorg_os_support += 'shared/ioperm_noop.c' + elif host_machine.cpu_family() == 'alpha' + srcs_xorg_os_support += 'bsd/alpha_video.c' +- srcs_xorg_os_support += 'bsd/bsd_ev56.c' + endif + + if host_machine.system() == 'freebsd' +-- +2.16.1 + diff --git a/x11-base/xorg-server/xorg-server-1.20.0.ebuild b/x11-base/xorg-server/xorg-server-1.20.0.ebuild index fc971faa6315..0fa84f249ca4 100644 --- a/x11-base/xorg-server/xorg-server-1.20.0.ebuild +++ b/x11-base/xorg-server/xorg-server-1.20.0.ebuild @@ -3,6 +3,7 @@ EAPI=5 +XORG_EAUTORECONF=yes XORG_DOC=doc inherit xorg-2 multilib versionator flag-o-matic EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/xserver.git" @@ -69,7 +70,7 @@ CDEPEND=">=app-eselect/eselect-opengl-1.3.0 >=x11-libs/libXext-1.0.5 >=media-libs/mesa-10.3.4-r1 ) - udev? ( >=virtual/udev-150 ) + udev? ( virtual/libudev:= ) unwind? ( sys-libs/libunwind ) wayland? ( >=dev-libs/wayland-1.3.0 @@ -109,6 +110,7 @@ REQUIRED_USE="!minimal? ( xephyr? ( kdrive )" UPSTREAMED_PATCHES=( + "${FILESDIR}"/${P}-xfree86-Inline-xf86-Read-Write-Mmio-8-16-32-on-alpha.patch ) PATCHES=( diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild index b861cbf89470..3daddd8d52fc 100644 --- a/x11-base/xorg-server/xorg-server-9999.ebuild +++ b/x11-base/xorg-server/xorg-server-9999.ebuild @@ -69,7 +69,7 @@ CDEPEND=">=app-eselect/eselect-opengl-1.3.0 >=x11-libs/libXext-1.0.5 >=media-libs/mesa-10.3.4-r1 ) - udev? ( >=virtual/udev-150 ) + udev? ( virtual/libudev:= ) unwind? ( sys-libs/libunwind ) wayland? ( >=dev-libs/wayland-1.3.0 |