Commit Graph

1160 Commits

Author SHA1 Message Date
matthieu
10e0196fe9 Update to libXi 1.7.10. Tested by krw@ and naddy@ 2020-01-04 17:56:26 +00:00
matthieu
bc231106f4 Uppdate to libX11 1.6.9. Tested by krw@ and naddy@ 2020-01-04 17:55:16 +00:00
matthieu
6fa14ff265 Update to libXfont2 2.0.4 2019-12-14 14:57:44 +00:00
jsg
529ec772d8 regen 2019-12-07 03:10:09 +00:00
jsg
d3074235e2 build Mesa with _ISOC11_SOURCE for c11 visibility
autoconf function tests run without --std and have c11 visibility
timespec_get(3), a c11 function is found this way.

With gcc < 4.6 Mesa will build with --std=gnu99 with clang it will
build with --std=c99 and timespec_get() will no longer be visibile.
Further complicating things gcc 4.2 does not recognise --std=c11.

This was not noticed on linux as they build with _GNU_SOURCE which
among other things gives c11 visibility even with --std=c99.

discussed with millert@
2019-12-07 03:09:41 +00:00
deraadt
5886ab525a Constrain honouring of path-related environment variables based upon
issetugid(), not just the sloppy uid != euid test. gid != egid cases
can occur also.
Part of 6.6/009_mesaxlock.patch.sig and 6.5/020_mesaxlock.patch.sig
From Qualys, ok
2019-12-04 02:26:36 +00:00
jsg
f42e66cbd7 update to GLU 9.0.1
Among other minor changes this adds a stddef.h include for NULL required
to build with Mesa 19.2 headers.
2019-11-27 10:26:12 +00:00
jsg
94e5bba011 Merge libdrm 2.4.100 2019-11-27 02:17:47 +00:00
jsg
a628e08ec1 Import libdrm 2.4.100 2019-11-27 02:09:48 +00:00
jsg
76ee08e832 Call shmget() with permission 0600 instead of 0777
From Brian Paul
02c3dad0f3b4d26e0faa5cc51d06bc50d693dcdc in mainline Mesa

"A security advisory (TALOS-2019-0857/CVE-2019-5068) found that
creating shared memory regions with permission mode 0777 could allow
any user to access that memory.  Several Mesa drivers use shared-
memory XImages to implement back buffers for improved performance.

This path changes the shmget() calls to use 0600 (user r/w).

Tested with legacy Xlib driver and llvmpipe."
2019-11-20 03:13:04 +00:00
matthieu
92537e2975 Fix build with gcc3 which doesn't support symbol visibility.
Reposrted and tested by aoyama@
2019-09-13 19:11:23 +00:00
matthieu
bee0fbcda2 Update to freetype 2.10.1. Tested by semarie@ and naddy@ 2019-09-10 19:13:54 +00:00
aoyama
8a3654518e Fix gcc3 specific error. The diff is based on latest upstream change.
suggested by jsg@, tested on luna88k by me, ok by jsg@ and matthieu@
2019-09-05 14:03:08 +00:00
jsg
86f7c2fd52 enable radeonsi and llvm on arm64
ok kettenis@ patrick@
2019-08-28 08:01:48 +00:00
jsg
cddeeb9fb6 intel: Add support for Comet Lake
From Anuj Phogat
82f6a746e8b47fb6e3f96d7f5f69973f50eec9ca in mesa master
2019-08-24 02:12:17 +00:00
matthieu
056243b384 regen after xtrans 1.4.0 update. 2019-08-04 13:47:51 +00:00
matthieu
14a4895e45 missed README -> README.md conversion in previous 2019-08-04 13:44:46 +00:00
matthieu
9563e10e76 Update to libXft 2.3.3 2019-08-04 13:36:02 +00:00
matthieu
c6568d8569 update to libICE 1.0.10 2019-08-04 13:35:29 +00:00
matthieu
a400859a9c Update to libX11 1.6.8 riding the major bump caused by xtrans 1.4.0 2019-08-04 13:34:52 +00:00
matthieu
85da565ec0 Update to libxtrans 1.4.0. Major bumps for libX11 and libICE.
no objections from naddy@, espie@ and ajacoutot@
2019-08-04 13:33:46 +00:00
matthieu
2e1879725f Update to libXdmcp 1.1.3 2019-08-04 13:25:20 +00:00
jsg
ff40cb71bf Merge Mesa 19.0.8 2019-07-01 08:36:47 +00:00
jsg
b1b22c2ae6 Import Mesa 19.0.8 2019-07-01 07:44:02 +00:00
matthieu
6a36a3a556 Update to libXext 1.3.4. ok tb@ 2019-06-19 19:33:29 +00:00
matthieu
8876a43d15 Update to libXdamage 1.1.5. ok tb@ 2019-06-19 19:31:20 +00:00
matthieu
d2d55c6823 Update to libXcursor 1.2.0. ok tb@ 2019-06-19 19:30:32 +00:00
matthieu
73fcd8c46e Update to libXcomposite 0.4.5. ok tb@ 2019-06-19 19:29:23 +00:00
matthieu
a2a1215acc Disable font server client code. ok mortimer@ 2019-06-19 19:26:36 +00:00
jsg
bf1979f816 Build Mesa intel and radeon vulkan drivers and amd64 and i386
The intel driver can be used with inteldrm on ivy bridge or newer.
The radeon driver only works with amdgpu not radeondrm.

As we can't use python in xenocara add phony targets to create the
same output as python scripts which create json files for the loader.

This is just the ICDs, to use vulkan the loader and additional ports
are required.

ok mpi@ on an earlier version.  Changed to call shm_unlink()
directly after shm_mkstemp() as suggested by kettenis@
2019-05-27 07:20:30 +00:00
jsg
6cb8ade4e6 Call shm_unlink() directly after shm_mkstemp() rather than just before
close().  Closer to memfd_create() behaviour.
2019-05-27 04:19:00 +00:00
jsg
1c9ad5794c Merge Mesa 19.0.5 2019-05-23 05:33:19 +00:00
jsg
1dab445d3b Import Mesa 19.0.5 2019-05-23 04:22:53 +00:00
jsg
6f352abb9a open correct render node in libdrm
drm render nodes have the same major as drm primary devices but offset
the minor by a base of 128.

I expected the name of the device to have numbering starting at 0 when
these non-linux codepaths were added (before we had render nodes).
2019-05-12 14:56:24 +00:00
matthieu
a07b39c9fd Remove libFS. Unlinked from the build 2 weeks ago. 2019-05-11 07:55:04 +00:00
matthieu
fdbb7d40d8 Update to pixman 0.38.4. ok jca@ naddy@ 2019-05-11 07:46:06 +00:00
schwarze
042aae5043 Install more manual pages:
* XKB-Config(7), XKB-Enhancing(7): user-level documentation
for XKB configuration; not perfect, but the best available.
* xtrans(3): a library actively maintained upstream.
* libXmu and libXext: Many libraries are effectively frozen upstream.
According to matthieu@, the documentation of libXmu and libXext
is among the most valuable of those.
Feedback and OK matthieu@.
2019-05-10 11:44:39 +00:00
schwarze
e618151be9 put fonts.7 and drm*.3 into the install sets;
patch from Nathanael Rensen <nathanael at list dot polymorpheus dot com>,
minimally tweaked by me;
OK matthieu@
2019-05-05 23:27:58 +00:00
schwarze
05166be26d simplify Makefiles for use with docbook2mdoc-1.1.0
and regen for improved formatting:
correct linebreaks in literal displays; and new sentence, new line
2019-05-02 19:12:04 +00:00
jsg
36eaba8cd8 /dev/dri/card0 -> /dev/drm0 2019-04-29 04:30:15 +00:00
schwarze
720bb93c2f install libdrm manual pages; feedback and OK jsg@ matthieu@ 2019-04-28 20:47:20 +00:00
matthieu
36d243d83d Unlink unused libFS from the build.
ok jca@
2019-04-26 09:51:57 +00:00
jsg
a8a2dab4a3 Merge libdrm 2.4.98 2019-04-26 07:45:37 +00:00
jsg
a72cc7c7c5 Import libdrm 2.4.98 2019-04-26 07:31:34 +00:00
jsg
be0e9688f3 test for render nodes before primary nodes
Unlike linux our primary "drm" device name is substring of the "drmR"
render node device name and strncmp() tests resulted in render nodes
being flagged as primary nodes.
2019-03-22 11:41:33 +00:00
jsg
702ae9a55e Merge Mesa 18.3.5 2019-03-19 10:59:02 +00:00
jsg
34c49fbb2f Import Mesa 18.3.5 2019-03-19 09:37:42 +00:00
deraadt
2987dd6f92 hppa feels happier with this at low optimization also 2019-03-13 01:20:50 +00:00
jsg
c1c03dc65d Build Mesa with LLVM support on amd64 and i386 now that libelf and
shared libLLVM are in base.  And now we can finally build the radeonsi
Mesa driver adding accelerated support for radeon parts based on the
Graphics Core Next (GCN) architecture which is everything since
GFX6 / Southern Islands.

This can later be expanded to other architectures which build libLLVM
and have clang as the default compiler (to handle LLVM's c++11 headers).
2019-03-06 10:39:52 +00:00
matthieu
df25bf4b30 Update to libfontenc 1.1.4. ok jca@ 2019-03-02 21:13:28 +00:00