Commit Graph

1211 Commits

Author SHA1 Message Date
matthieu
a72dcdf233 Update to libXvMC 1.0.12. Tested by krw@ and naddy@ 2020-01-04 17:57:39 +00:00
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
matthieu
f02f1f9802 Update to libXau 1.0.9. ok jsg@ 2019-02-21 19:38:46 +00:00
jsg
fa5b0e3e48 remove -fno-tree-pre from CFLAGS on sparc64
This was an attempt to limit the memory usage at build time which is
no longer required after the datasize values in login.conf were raised.
2019-02-19 05:57:17 +00:00
jsg
b9f320ec11 Merge Mesa 18.3.4 2019-02-19 04:24:00 +00:00
jsg
ae7ee1376e Import Mesa 18.3.4 2019-02-19 03:25:14 +00:00
jsg
bffde83e78 intel: sync i915_pciids.h with kernel
From Rodrigo Vivi
70a1ae89be6b9f9a535f1fbaff3e4b1c4bb46d4a in libdrm git
2019-02-18 06:13:47 +00:00
deraadt
e4decd20d6 landisk requires -O0 'cause mesa is a pig. 2019-02-07 18:34:52 +00:00
jsg
338bc0a2b5 Merge Mesa 18.3.2 2019-01-29 11:52:04 +00:00
jsg
fecc0d4060 Import Mesa 18.3.2 2019-01-29 10:45:31 +00:00
matthieu
4f46a0d795 Update to libpixman 0.36.0 2019-01-18 14:34:01 +00:00
matthieu
d7845c3e27 Remove libXxf86misc. Unlinked from build for 6 months. 2018-11-25 19:35:00 +00:00
matthieu
be3e8f71c9 Remove libXfontcache. Unlinked from build for 6 months. 2018-11-25 19:34:21 +00:00
jsg
65cc648a0e Make similiar changes to the i386 tsd dispatch assembly as libglvnd to
avoid a text relocation fixing the build with lld.

This time store the address of the GOT in ebx as required before calling
the PLT stub and change .balign value to match X86_ENTRY_SIZE as suggested
by naddy.

ok naddy@
2018-11-11 04:15:19 +00:00
jsg
f88a7e92a2 Backout i386 tsd dispatch changes. While they worked for
glxinfo/glxgears it broke SDL2 GL which dlopens libGL.
2018-11-10 08:11:16 +00:00
jsg
41f63e84e3 Merge libdrm 2.4.96 2018-11-01 08:29:47 +00:00
jsg
384954210f Import libdrm 2.4.96 2018-11-01 08:22:36 +00:00
jsg
f19a6c0440 Make similiar changes to the i386 tsd dispatch assembly as libglvnd to
avoid a text relocation fixing the build with lld.

ok kettenis@ naddy@
2018-10-31 23:26:16 +00:00
jsg
af38fe66ed regen 2018-10-29 11:38:31 +00:00
jsg
5f17afeed5 Don't attempt to rebuild spirv_info.c if timestamp on source files
changed as python won't be in path.

someone in this situation mentioned it to landry@
2018-10-29 11:35:23 +00:00
jsg
19f2c52c66 Merge Mesa 17.3.9
Mesa 18.x needs an ld with build-id for at least the intel code
Mesa 18.2 assumes linux only memfd syscalls in intel code

Tested by matthieu@, kettenis@ and myself on a variety of hardware and
architectures. ok kettenis@
2018-10-23 06:35:32 +00:00
jsg
587354b697 Import Mesa 17.3.9 2018-10-23 05:40:45 +00:00
matthieu
5c831511f8 Update to libSM 1.2.3 2018-10-20 19:25:32 +00:00
matthieu
7070f339ed Update to libX11 1.6.7 2018-10-20 19:23:25 +00:00
matthieu
71dca55fd9 Update to libxcb 1.13.1, a small bug fix release.
ok naddy@
2018-10-04 20:17:48 +00:00
jsg
d4accf8419 Merge libdrm 2.4.94 2018-09-13 12:02:27 +00:00
jsg
a81d3f52ae Import libdrm 2.4.94 2018-09-13 11:55:15 +00:00
matthieu
bba3e9eeb5 Update to libxcb 1.13. ok tb@ 2018-09-11 19:34:56 +00:00
kettenis
d5e3922245 Build radeon drivers on arm64.
ok jsg@, matthieu@
2018-08-27 15:04:15 +00:00
matthieu
b39f51f9a1 Udate to libX11 1.6.6. bug fixes release - no API/ABI changes. 2018-08-23 19:38:11 +00:00
matthieu
857c4a5264 libXpresent depends on libXrandr. Noticed by naddy@. Thanks 2018-08-06 15:09:42 +00:00
matthieu
8f7485cfef Link libXpresent to the build. 2018-08-05 12:20:17 +00:00
matthieu
6075741e3c regen 2018-08-05 12:10:01 +00:00
matthieu
97a2cbad8d add BSD build infrastructure 2018-08-05 12:06:41 +00:00
matthieu
d92eed431d Import libXpresent version 1.0.0 2018-08-05 12:04:39 +00:00
matthieu
3d6a226675 Typo. Reported by feinerer@. Thanks. 2018-07-19 12:45:31 +00:00
matthieu
437b06c43f Document the use of this Makefile with x11/py-xcbgen.
(not part of standard xenocara builds)
2018-07-19 11:52:37 +00:00
matthieu
8f9a6b1d79 Update to libXinerama 1.1.4 2018-07-12 15:16:03 +00:00
matthieu
da360a65cc Update to libXScrnSaver 1.2.3 2018-07-12 15:10:28 +00:00
kettenis
323f3c34c5 Use __MAP_NOFAULT such that a client cannot use ftruncate and make the
X server crash.

ok deraadt@, matthieu@
2018-07-11 06:59:03 +00:00
matthieu
06061c495d white space 2018-07-08 17:45:38 +00:00
kettenis
7a6863f74a The futex-based implementation of libxshmfence requires atomic operations
that hppa, m88k and sh don't provide.  Since DRI3 requires libxshmfence,
this means we can't enable DRI3 on these platforms.

ok matthieu@
2018-06-28 20:11:32 +00:00
kettenis
c7bc2b344c Enable various bits of DRI3 support.
ok matthieu@
2018-06-26 06:51:17 +00:00
kettenis
191958dfc8 Make sure we create shared memory files in /tmp such that programs can use
the "tmppath" pledge to allow creation of shared memory fences.

ok matthieu@
2018-06-09 11:44:13 +00:00
kettenis
3a5dfaa265 Add OpenBSD support using process-global futexes.
ok matthieu@
2018-06-08 13:16:24 +00:00
matthieu
d9fb28853a add BSD build infrastructure 2018-06-07 22:05:13 +00:00
matthieu
b1a440ca66 Import libxshmfence 1.4 2018-06-07 21:57:28 +00:00
kettenis
caa5824472 Make sure HAVE_DRI3 is defined when DRI3 support is enabled.
Matches what is done for Linux.

ok jsg@
2018-06-07 09:25:32 +00:00
matthieu
3b5f1cf2f4 Use -mxgot to build libepoxy on mips64 and mips64el.
ok visa@ who reported that mips64 is affected too.
2018-05-26 08:52:16 +00:00
matthieu
864ae5542e Remind people to bump dependent libs majors too. 2018-05-26 07:51:37 +00:00
matthieu
766a354a9d Bump majors after libfreetype major bump 2018-05-26 07:51:00 +00:00