Compare commits

...

155 Commits
f27 ... master

Author SHA1 Message Date
Pete Walter 6ce6c8d5e1 Update to 20.0.2 2020-03-19 13:29:41 +00:00
Pete Walter 691cc08a95 Update to 20.0.1 2020-03-06 09:34:14 +00:00
Kalev Lember bd392f431c Fix the build with llvm 10
Make sure the build uses gnu++14 as llvm 10 headers require that.

https://bugzilla.redhat.com/show_bug.cgi?id=1803351
2020-02-26 17:12:18 +01:00
Pete Walter a02bf61649 Update to 20.0.0 2020-02-20 10:37:35 +00:00
Pete Walter a3e188c7f1 Update to 20.0.0~rc3 2020-02-14 20:43:28 +00:00
Pete Walter def7df7fd0 Update to 20.0.0~rc2 2020-02-08 20:15:27 +00:00
Pete Walter 17714718d4 Update files list for arm drivers 2020-02-02 20:52:23 +00:00
Pete Walter 244b45ba4e Update to 20.0.0~rc1 2020-02-01 22:42:02 +00:00
Pete Walter cb726e7752 Update to 19.3.3 2020-01-29 07:40:49 +00:00
Tom Stellard 2208aa87d7 Link against libclang-cpp.so
https://fedoraproject.org/wiki/Changes/Stop-Shipping-Individual-Component-Libraries-In-clang-lib-Package
2020-01-23 19:12:32 +00:00
Tom Stellard dfa8e8664d Build with -fcommon until upstream fixes omx build with gcc10 2020-01-23 19:10:49 +00:00
Pete Walter 88f2b16b7a Update to 19.3.2 2020-01-10 10:33:15 +00:00
Pete Walter 0860841e06 Update to 19.3.1 2019-12-18 22:00:33 +00:00
Pete Walter 78c38a46db Update to 19.3.0 2019-12-16 03:21:30 +00:00
Pete Walter c91c204f63 Update to 19.3.0~rc6 2019-12-05 08:14:47 +00:00
Pete Walter e252ca97bc Update to 19.3.0~rc5 2019-11-28 11:11:47 +00:00
Pete Walter e3793d2b0f Update to 19.3.0~rc4 2019-11-24 21:22:55 +00:00
Pete Walter 4d507c6840 Update to 19.3.0~rc3 2019-11-14 09:33:09 +00:00
Pete Walter c664beb5a6 Fix the build on arm
https://gitlab.freedesktop.org/mesa/mesa/issues/2042
2019-11-12 13:31:24 +00:00
Pete Walter feef06f322 Update to 19.3.0~rc2 2019-11-08 10:15:52 +00:00
Pete Walter d27097db94 Update to 19.2.3 2019-11-07 17:45:06 +00:00
Peter Robinson 08c3236612 adjust mesa-khr-devel requires now provided by libglvnd 2019-10-25 13:59:09 +01:00
Peter Robinson 3474d0a62b Fix up and remove bits now in libglvnd 2019-10-25 12:06:17 +01:00
Peter Robinson 6e80d6369c rebuild against libglvnd 1.2 2019-10-25 08:36:00 +01:00
Pete Walter af4fc7304b Update files lists 2019-10-25 02:54:48 +01:00
Pete Walter 155b1d1b2e Update to 19.2.2 2019-10-25 02:31:46 +01:00
Peter Robinson 7b0cc19117 19.2.1 2019-10-10 09:50:49 +01:00
Gwyn Ciesla bb914bd1b9 Rebuild for new freeglut. 2019-10-04 07:41:40 -05:00
Pete Walter 9c21301809 Update to 19.2.0 2019-09-25 19:42:41 +01:00
Pete Walter 296e0ae82c Update to 19.2.0~rc4 2019-09-18 20:18:56 +01:00
Adam Jackson 5d0d2710aa Build iris too 2019-09-17 15:38:37 -04:00
Pete Walter 8acfe9ee28 Update to 19.2.0~rc3 2019-09-12 15:17:30 +01:00
Pete Walter c274ae1f8f Update to 19.2.0~rc2 2019-09-05 09:37:48 +01:00
Adam Jackson 6d6825429d BuildRequire vulkan-headers not vulkan-devel to ease llvm updates 2019-08-27 13:43:21 -04:00
Peter Robinson c5cbb9a96f Bring back egl.pc for now 2019-08-22 18:35:43 +01:00
Peter Robinson 9bab7bdf2e add mxsfb-drm_dri and stm_dri drivers for arm platforms 2019-08-21 10:40:27 +01:00
Peter Robinson 845287db52 pkgconfig/egl.pc no longer shipped 2019-08-21 09:29:05 +01:00
Peter Robinson 79749b404c 19.2.0~rc1 2019-08-21 08:37:53 +01:00
Pete Walter c3a6a26144 Update to 19.1.4 2019-08-08 12:26:19 +01:00
Pete Walter c7b1d0e96c Update to 19.1.3 2019-07-24 11:22:46 +01:00
Pete Walter 05bea87ce8 Update to 19.1.2 2019-07-09 11:42:01 +01:00
Pete Walter 788f3c1014 Update to 19.1.1 2019-06-26 09:02:31 +01:00
Peter Robinson 51d65ab670 Enable v3d driver 2019-06-24 18:41:44 +01:00
Igor Gnatenko 7c81ae5911
Update to 19.1.0
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-12 09:46:05 +02:00
Pete Walter 895029979f Update to 19.1.0~rc5 2019-06-07 09:18:38 +01:00
Pete Walter cff677c5dd Update to 19.1.0~rc4 2019-05-30 08:32:37 +01:00
Dave Airlie 552cdae9e6 Update to 19.1.0-rc3 2019-05-22 10:47:43 +10:00
Adam Jackson f5d1a45049 Delete unused patch 2019-05-21 14:09:00 -04:00
Dave Airlie 6b02ba7b6a Update to 19.1.0-rc2 2019-05-15 07:51:15 +10:00
Dave Airlie 1260598b62 Bring back glesv2.pc for now 2019-05-15 06:55:07 +10:00
Peter Robinson f2ad1e1493 Enable panfrost 2019-05-11 20:53:40 +01:00
Adam Jackson fbee2edeaf Enable lima 2019-05-09 12:42:44 -04:00
Adam Jackson e9969b5fec Add some more stuff to .gitignore 2019-05-09 11:15:31 -04:00
Dave Airlie 10c91826d2 add missing exynos driver 2019-05-08 13:55:24 +10:00
Dave Airlie 76b6b251a7 fix missing kmsro 2019-05-08 12:40:35 +10:00
Dave Airlie 5c279f473b add missing kmsro drivers 2019-05-08 11:36:56 +10:00
Dave Airlie e83e90968f Update to 19.1.0-rc1
drop glesv2.pc since we don't install at lib files and meson build dropped it.
2019-05-08 10:58:16 +10:00
Pete Walter 01a131cfa9 Update to 19.0.3 2019-04-25 10:56:35 +01:00
Adam Williamson 0bea054b30 Rebuild with Meson fix for #1699099 2019-04-16 12:03:21 -07:00
Pete Walter ec6c645d39 Remove unneeded chrpath build dep 2019-04-15 14:31:16 +01:00
Igor Gnatenko 9786914605
Remove unneeded sources
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-04-14 11:14:27 +02:00
Adam Jackson fd591dd76a Drop the mpeg1/2 sanitize hack
Switch to upstream tarball since we no longer need to do the above
2019-04-11 14:35:02 -04:00
Igor Gnatenko 878fbd1530
Update to 19.0.2
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-04-11 08:56:04 +02:00
Adam Jackson 6fb4a533ef Nuke rpath from installed DRI drivers 2019-04-04 15:15:40 -04:00
Igor Gnatenko 2ad0c6e76f
Update to 19.0.1
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-03-27 22:04:26 +01:00
Igor Gnatenko a8742f03dd
Rebuild with -Db_ndebug=true
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-03-25 17:09:05 +01:00
Peter Robinson 3cee7e41af 19.0.0 2019-03-13 23:05:34 +00:00
Pete Walter 70c61a8218 Update to 19.0.0~rc7 2019-03-07 09:56:49 +00:00
Pete Walter efe4f93dbb Update to 19.0.0~rc6 2019-02-27 01:35:07 +00:00
Peter Robinson 1e37af6af6 19.0.0~rc5 2019-02-20 13:05:27 +00:00
Igor Gnatenko 2835d9ff3b
Update EGL patch
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-02-14 17:22:57 +01:00
Igor Gnatenko 64d6a36ff8
relax dependency of xcb-randr
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-02-14 11:18:33 +01:00
Igor Gnatenko 9dcda4b1fa
Update to 19.0.0~rc4
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-02-14 11:17:07 +01:00
Igor Gnatenko bfa55eb65c
Fix radv vulkan
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-02-12 19:14:28 +01:00
Pete Walter a04754fe8e Add back accidentally lost patch to disable rgb10 configs by default (#1650929)
This was dropped in commit b708cfc.
2019-02-08 12:09:20 +00:00
Peter Robinson f346245e43 update 19.0.0~rc2 2019-02-06 00:21:39 +00:00
Peter Robinson 0ab246e4d2 19.0.0~rc2 2019-02-06 00:19:48 +00:00
Peter Robinson c57bc5b9e8 add kmsro build option, add work around for missing files in 'make dist' (fixed upstream) 2019-01-31 15:40:55 +00:00
Igor Gnatenko 7410444879
Switch imx to kmsro
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-31 06:47:46 +01:00
Igor Gnatenko a3f576ae07
Update to 19.0.0~rc1
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-31 02:27:25 +01:00
Adam Jackson 0794d42c87 Update to 18.3.2 2019-01-17 10:35:43 -05:00
Igor Gnatenko 14fb58e0bd
Enable annotated build
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-12-19 11:50:57 +01:00
Igor Gnatenko b708cfc9f3
Switch to meson buildsystem
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-12-19 09:41:09 +01:00
Igor Gnatenko d07e7ed999
commit spec changes
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-12-18 14:59:44 +01:00
Igor Gnatenko 9b0b893a3c
Update to 18.3.1
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-12-18 14:58:00 +01:00
Igor Gnatenko 2eeaa037c1
Update to 18.3.0
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-12-07 17:48:16 +01:00
Igor Gnatenko 5f47246ad6
Remove unused patches
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-12-07 17:48:16 +01:00
Igor Gnatenko b133108f50
Backport patch to fix totem
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-12-04 12:17:16 +01:00
Peter Robinson fa32bd11e2 18.3.0 rc5 2018-12-04 02:58:24 +00:00
Igor Gnatenko 8c69d04266
Update to 18.3.0~rc4
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-11-27 14:33:56 +01:00
Adam Jackson 3e58ffc41c Add mesa-khr-devel subpackage to hold <KHR/khrplatform.h>, and make
mesa-lib{GL,GLES,EGL}-devel Require it.
2018-11-15 12:54:18 -05:00
Adam Jackson 652f89b81e Update to 18.3.0 RC2
Re-enable 10bpc fbconfigs, clutter apps seem to work now
Drop now-unnecessary big-endian compilation fix
2018-11-14 12:07:44 -05:00
Igor Gnatenko dd7e950818
Rebuild without workaround
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-11-06 17:05:23 +01:00
Dave Airlie fcab6854c8 workaround bug with gcc 8.2.1-4 2018-11-06 09:26:10 +10:00
Adam Jackson 1cfc765493 Update to 18.2.4 2018-11-01 11:28:38 -04:00
Igor Gnatenko 2c8c0e5810
Update to 18.2.3
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-10-31 11:50:48 +01:00
Peter Robinson 197c2fd747 18.2.2 2018-10-05 15:59:26 +01:00
Peter Robinson 22363c157b 18.2.1 2018-09-21 18:22:05 +01:00
Adam Williamson 0e8e5c44f3 Fix "HW cursor for format" error message flood with swrast 2018-09-19 12:28:26 -07:00
Peter Robinson f41482932d 18.2.0 2018-09-08 12:00:17 +01:00
Hans de Goede 1176e8c491 Update to 18.2.0~rc5 2018-09-02 18:44:27 +02:00
Igor Gnatenko 9c9ed483b3
Re-enable RadeonSI on ARM
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-08-22 09:08:50 +02:00
Peter Robinson 8ce34a59a7 18.2.0~rc3 2018-08-21 09:52:29 +01:00
Igor Gnatenko b13b769fca
correct files
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-08-19 19:51:09 +02:00
Igor Gnatenko 7e16421963
no radeon vulkan driver on arm
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-08-19 18:13:00 +02:00
Igor Gnatenko ee9fab44b6
BR: xrandr
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-08-11 21:33:03 +02:00
Igor Gnatenko 9d940ed69e
Update to 18.2.0~rc2
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-08-11 21:24:22 +02:00
Peter Robinson 2457fa3358 18.1.5 2018-07-30 21:53:16 +01:00
Dave Airlie cc063efb30 bump glvnd requires 2018-07-24 09:08:12 +10:00
Dave Airlie 2b73204e9d fix fallback path for glvnd 2018-07-24 09:04:55 +10:00
Peter Robinson 9f1ef7b836 18.1.4 2018-07-17 09:57:37 +01:00
Fedora Release Engineering 776f0ebed6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 10:09:04 +00:00
Adam Jackson 25b4e647d4 Drop texture float patch 2018-07-06 12:08:07 -04:00
Igor Gnatenko 92972ffe7d
Use simpler %ldconfig macro
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-01 12:22:53 +01:00
Peter Robinson 37e222b99d 18.1.3 2018-07-01 10:10:25 +01:00
Adam Jackson a3c47870c3 Use ldconfig scriptlet macros 2018-06-29 18:58:54 -04:00
Adam Jackson 952eceed16 Create %{_includedir}/vulkan unconditionally 2018-06-18 17:04:09 -04:00
Adam Jackson 069b694dff Careful, only configure vulkan drivers if hardware 2018-06-18 15:54:49 -04:00
Adam Jackson 09551adef2 Build mesa-vulkan-drivers everywhere
Build actual vulkan drivers on all but s390x
2018-06-18 15:52:47 -04:00
Peter Robinson b3b089e268 18.1.2 2018-06-16 14:57:19 +01:00
Adam Jackson 20136eda59 Build tegra too 2018-06-15 12:21:16 -04:00
Adam Jackson 7c4548d416 libglvnd is epoched 2018-06-14 11:42:26 -04:00
Adam Jackson 856ded30ba Change the name of the fallback GLX library 2018-06-14 11:41:08 -04:00
Adam Jackson 1c741b9561 this would all be easier if we just built amdgpu on arm32 2018-06-06 14:06:51 -04:00
Adam Jackson 866b3ee53d ,,, 2018-06-06 13:02:20 -04:00
Adam Jackson 1e7a119168 hrgnarhgnhrn 2018-06-05 15:31:07 -04:00
Adam Jackson c0b70431cf Stop mentioning ppc and s390, we don't build for them anymore
Remove with_llvm, now always true
Switch with_radeonsi to be an exclude pattern, apparently not available
  for armv7hl.
2018-06-05 14:52:02 -04:00
Adam Jackson 29be30fb65 Stop mentioning ppc and s390, we don't build for them anymore
remove with_llvm and with_radeonsi as they're now always true
2018-06-05 13:48:27 -04:00
Peter Robinson 9a301bf631 18.1.1 2018-06-03 15:51:16 +01:00
Peter Robinson ebeaacc9ff 18.1.0 2018-05-24 09:03:43 +01:00
Peter Robinson 16891760f9 18.1.0~rc4 2018-05-12 13:38:46 +01:00
Peter Robinson 898828fbda 18.1 rc3 2018-05-05 15:14:33 +01:00
Igor Gnatenko 02fc13176f
Update ot 18.1.0~rc2
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-05-04 12:23:31 +02:00
Peter Robinson 4ad788d784 fix merge 2018-05-01 10:18:11 +01:00
Peter Robinson 6e7ae21362 18.0.2 2018-05-01 09:49:00 +01:00
Jonas Ådahl 2f02d35654 Disable rgb10 configs by default
rgb10 configs are not handled very well by applications using clutter,
and possibly other applications as well, so don't break those by
disabling support for rgb10 configs by default.

Also re-add python2 as a build requirement, as merge_driinfo.py
depends on it.

https://bugzilla.redhat.com/show_bug.cgi?id=1560481
2018-04-24 16:18:50 +02:00
Jonas Ådahl 1b1acd32b2 Disable rgb10 configs by default
rgb10 configs are not handled very well by applications using clutter,
and possibly other applications as well, so don't break those by
disabling support for rgb10 configs by default.

Also re-add python2 as a build requirement, as merge_driinfo.py
depends on it.

https://bugzilla.redhat.com/show_bug.cgi?id=1560481
2018-04-24 15:37:41 +02:00
Adam Jackson c8975107f9 Mesa 18.0.1 2018-04-18 13:37:30 -04:00
Adam Jackson 8f740e5d72 Mesa 18.0.1 2018-04-18 13:36:37 -04:00
Kalev Lember 5a0343c35c Re-enable wayland support
Previous commit accidentally disabled all of wayland support, instead of
just dropping mesa-libwayland-egl subpackage. This now re-enables
wayland support and reworks the conditionals so that we only drop drop
mesa-wayland-egl subpackage in F28+, where it is now part of wayland
source package.

https://bugzilla.redhat.com/show_bug.cgi?id=1564210
2018-04-09 16:40:55 +02:00
Kalev Lember 9f97135799 Re-enable wayland support
Previous commit accidentally disabled all of wayland support, instead of
just dropping mesa-libwayland-egl subpackage. This now re-enables
wayland support and reworks the conditionals so that we only drop drop
mesa-wayland-egl subpackage in F28+, where it is now part of wayland
source package.

https://bugzilla.redhat.com/show_bug.cgi?id=1564210
2018-04-09 16:37:49 +02:00
Tom Stellard 8d99dc695b Disable build of wayland packages. These have been obseleted by wayland-devel. 2018-04-03 20:11:57 +00:00
Tom Stellard eee84703a2 Disable build of wayland packages. These have been obseleted by wayland-devel. 2018-04-03 19:41:49 +00:00
Tom Stellard cfb94d114d Rebuild against libLLVM.so with symbol versioning enabled 2018-04-02 15:45:08 +00:00
Peter Robinson 0258306f9b move opencl to better location, fix s390x build 2018-03-31 04:01:31 +01:00
Adam Jackson 5874b7ff91 Unifarch OpenCL and OpenMAX (except ppc32 and s390 because llvm)
Simplify C/LDFLAGS setup to match
Drop -static-libstdc++ and related hacks
Drop S3TC build hack
2018-03-28 12:52:17 -04:00
Igor Gnatenko e750bd19e5
Update to 18.0.0
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-03-28 11:28:36 +02:00
Peter Robinson 0202d9c9e5 18.0.0 rc5 2018-03-26 10:26:10 +01:00
Adam Jackson 7681f8885a Build with python3 2018-03-19 16:26:11 -04:00
Igor Gnatenko 309f7dd88b
Honor CXXFLAGS / LDFLAGS
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1548749
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-03-02 09:31:28 +01:00
Igor Gnatenko 792e92b385
Backport patch to fix video corruption
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-26 08:29:01 +01:00
Igor Gnatenko 21e39c1c80
disable annotated build to fix FTBFS
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-19 12:57:46 +01:00
Igor Gnatenko a41f97859c
Update to 18.0.0~rc4
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-19 12:14:51 +01:00
Igor Gnatenko 5bcb836bb5
Update to 18.0.0~rc3
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 08:17:35 +01:00
Fedora Release Engineering 9e1266e707 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 01:41:09 +00:00
13 changed files with 623 additions and 567 deletions

3
.gitignore vendored
View File

@ -3,3 +3,6 @@
.build*
/mesa-*.tar.bz2
/mesa-*.tar.xz
x86_64/
results_mesa/
mesa-*/

View File

@ -1,26 +0,0 @@
From 1b5a187c3c31513ae39cd2a917a3234c2c5f87fc Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Wed, 12 Oct 2016 13:41:33 -0400
Subject: [PATCH] Fix linkage against shared glapi
Signed-off-by: Adam Jackson <ajax@redhat.com>
---
src/gallium/targets/osmesa/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/targets/osmesa/Makefile.am b/src/gallium/targets/osmesa/Makefile.am
index 5d39486..04add87 100644
--- a/src/gallium/targets/osmesa/Makefile.am
+++ b/src/gallium/targets/osmesa/Makefile.am
@@ -63,7 +63,7 @@ lib@OSMESA_LIB@_la_LIBADD = \
$(top_builddir)/src/gallium/drivers/trace/libtrace.la \
$(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la \
$(top_builddir)/src/gallium/state_trackers/osmesa/libosmesa.la \
- $(top_builddir)/src/mapi/glapi/libglapi.la \
+ $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
$(SHARED_GLAPI_LIB) \
$(OSMESA_LIB_DEPS) \
$(CLOCK_LIB) \
--
2.9.3

View File

@ -0,0 +1,37 @@
From c9987fca1fa611e48f85644493edd8d5a30cf403 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar@redhat.com>
Date: Fri, 13 Dec 2019 17:42:17 +0000
Subject: [PATCH] Link with libclang-cpp
---
src/gallium/targets/opencl/meson.build | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/src/gallium/targets/opencl/meson.build b/src/gallium/targets/opencl/meson.build
index 907cc74337d..031d35b9716 100644
--- a/src/gallium/targets/opencl/meson.build
+++ b/src/gallium/targets/opencl/meson.build
@@ -43,19 +43,7 @@ libopencl = shared_library(
dependencies : [
idep_mesautil,
dep_clock, dep_dl, dep_unwind, dep_elf,
- cpp.find_library('clangCodeGen', dirs : llvm_libdir),
- cpp.find_library('clangFrontendTool', dirs : llvm_libdir),
- cpp.find_library('clangFrontend', dirs : llvm_libdir),
- cpp.find_library('clangDriver', dirs : llvm_libdir),
- cpp.find_library('clangSerialization', dirs : llvm_libdir),
- cpp.find_library('clangParse', dirs : llvm_libdir),
- cpp.find_library('clangSema', dirs : llvm_libdir),
- cpp.find_library('clangAnalysis', dirs : llvm_libdir),
- cpp.find_library('clangAST', dirs : llvm_libdir),
- cpp.find_library('clangASTMatchers', dirs : llvm_libdir),
- cpp.find_library('clangEdit', dirs : llvm_libdir),
- cpp.find_library('clangLex', dirs : llvm_libdir),
- cpp.find_library('clangBasic', dirs : llvm_libdir),
+ cpp.find_library('clang-cpp', dirs : llvm_libdir),
],
version : '@0@.0.0'.format(opencl_version),
install : true,
--
2.20.1

View File

@ -1,51 +0,0 @@
From 23ce168048698eeea3df6bb8c9de5be3ca4784cd Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenko@redhat.com>
Date: Mon, 1 Jan 2018 22:49:00 +0100
Subject: [PATCH 001/607] link mesautil with pthreads
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_setname':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:66: undefined reference to `pthread_setname_np'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `thrd_join':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:336: undefined reference to `pthread_join'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:48: undefined reference to `pthread_sigmask'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `thrd_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:296: undefined reference to `pthread_create'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:50: undefined reference to `pthread_sigmask'
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:50: undefined reference to `pthread_sigmask'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `call_once':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:96: undefined reference to `pthread_once'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_get_time_nano':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:84: undefined reference to `pthread_getcpuclockid'
collect2: error: ld returned 1 exit status
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
---
src/util/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index a5241ad27b..633907b9fd 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -31,6 +31,7 @@ noinst_LTLIBRARIES = \
libxmlconfig.la
AM_CPPFLAGS = \
+ $(PTHREAD_CFLAGS) \
-I$(top_srcdir)/include
libmesautil_la_CPPFLAGS = \
@@ -50,6 +51,7 @@ libmesautil_la_SOURCES = \
$(MESA_UTIL_GENERATED_FILES)
libmesautil_la_LIBADD = \
+ $(PTHREAD_LIBS) \
$(CLOCK_LIB) \
$(ZLIB_LIBS) \
$(LIBATOMIC_LIBS)
--
2.14.3

View File

@ -1,26 +0,0 @@
From c2b4d93a5e4796ca53361c61d7e31edc24241932 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Sun, 20 Mar 2016 13:26:25 +0100
Subject: [PATCH 1/4] llvm SONAME without version
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 5f75c60..d77f907 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2645,7 +2645,7 @@
dnl ourselves.
dnl (See https://llvm.org/bugs/show_bug.cgi?id=6823)
dnl We can't use $LLVM_VERSION because it has 'svn' stripped out,
- LLVM_SO_NAME=LLVM-`$LLVM_CONFIG --version`
+ LLVM_SO_NAME=LLVM
AS_IF([test -f "$LLVM_LIBDIR/lib$LLVM_SO_NAME.$IMP_LIB_EXT"], [llvm_have_one_so=yes])
if test "x$llvm_have_one_so" = xyes; then
--
2.7.4

View File

@ -1,50 +0,0 @@
From 00bcd599310dc7fce4fe336ffd85902429051a0c Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Sun, 20 Mar 2016 13:27:04 +0100
Subject: [PATCH 2/4] hardware gloat
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
---
src/gallium/drivers/llvmpipe/lp_screen.c | 7 +++++++
src/gallium/drivers/softpipe/sp_screen.c | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index 4f61de8..3b0ec77 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -411,6 +411,13 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
if (!format_desc)
return FALSE;
+ if ((bind & PIPE_BIND_RENDER_TARGET) &&
+ format != PIPE_FORMAT_R9G9B9E5_FLOAT &&
+ format != PIPE_FORMAT_R11G11B10_FLOAT &&
+ util_format_is_float(format)) {
+ return FALSE;
+ }
+
assert(target == PIPE_BUFFER ||
target == PIPE_TEXTURE_1D ||
target == PIPE_TEXTURE_1D_ARRAY ||
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 031602b..c279120 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -358,6 +358,13 @@ softpipe_is_format_supported( struct pipe_screen *screen,
if (!format_desc)
return FALSE;
+ if ((bind & PIPE_BIND_RENDER_TARGET) &&
+ format != PIPE_FORMAT_R9G9B9E5_FLOAT &&
+ format != PIPE_FORMAT_R11G11B10_FLOAT &&
+ util_format_is_float(format)) {
+ return FALSE;
+ }
+
if (sample_count > 1)
return FALSE;
--
2.7.4

View File

@ -1,27 +0,0 @@
From 6ccae713acc457d7df6ab15e124a7d77c5093213 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Sun, 20 Mar 2016 13:28:07 +0100
Subject: [PATCH 4/4] bigendian assert
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
---
src/gallium/auxiliary/util/u_math.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h
index ecb1d63..90ada14 100644
--- a/src/gallium/auxiliary/util/u_math.h
+++ b/src/gallium/auxiliary/util/u_math.h
@@ -59,6 +59,9 @@
extern "C" {
#endif
+#ifdef PIPE_ARCH_BIG_ENDIAN
+#include <assert.h>
+#endif
#ifndef M_SQRT2
#define M_SQRT2 1.41421356237309504880
--
2.7.4

View File

@ -1,23 +0,0 @@
VERSION ?= 17.3.3
SANITIZE ?= 1
DIRNAME = mesa-${VERSION}
all: archive
clean:
rm -rf $(DIRNAME)/
rm -f mesa-${VERSION}.tar.xz
clone: clean
curl -O https://mesa.freedesktop.org/archive/mesa-${VERSION}.tar.xz
tar xf mesa-${VERSION}.tar.xz
sanitize: clone vl_mpeg12_decoder.c vl_decoder.c
ifdef SANITIZE
cat < vl_mpeg12_decoder.c > $(DIRNAME)/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
cat < vl_decoder.c > $(DIRNAME)/src/gallium/auxiliary/vl/vl_decoder.c
endif
archive: clone sanitize
tar caf ${DIRNAME}.tar.xz ${DIRNAME}

View File

@ -1,12 +0,0 @@
diff -up mesa-12.0.3/src/mesa/gl.pc.in.jx mesa-12.0.3/src/mesa/gl.pc.in
--- mesa-12.0.3/src/mesa/gl.pc.in.jx 2016-01-18 02:39:26.000000000 -0500
+++ mesa-12.0.3/src/mesa/gl.pc.in 2016-10-25 13:06:44.013159358 -0400
@@ -7,7 +7,7 @@ Name: gl
Description: Mesa OpenGL library
Requires.private: @GL_PC_REQ_PRIV@
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -l@GL_LIB@
+Libs: -L${libdir} -lGL
Libs.private: @GL_PC_LIB_PRIV@
Cflags: -I${includedir} @GL_PC_CFLAGS@
glx_tls: @GLX_TLS@

906
mesa.spec

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
SHA512 (mesa-17.3.3.tar.xz) = fc555e93e6bdeaf3b710d166acdff8b2c565e88a2a1ca4514b1903f6d14c42c19024e14a7e982df069d4f551b87e231155a34064f2c308c276256f9a308718db
SHA512 (mesa-20.0.2.tar.xz) = d6ffc29bbc5b908cb0f08fa1b5a83e029b76c7b697c488a73e6bb60990a55beeb3ecdba1745868f6885ee2f660975f5debf7d2c9418e0a96e2f7049e83fd89ab

View File

@ -1,20 +0,0 @@
#include "vl_decoder.h"
bool
vl_profile_supported(struct pipe_screen *screen, enum pipe_video_profile profile,
enum pipe_video_entrypoint entrypoint)
{
return false;
}
int
vl_level_supported(struct pipe_screen *screen, enum pipe_video_profile profile)
{
return 0;
}
struct pipe_video_codec *
vl_create_decoder(struct pipe_context *pipe,
const struct pipe_video_codec *templat)
{
return NULL;
}

View File

@ -1,7 +0,0 @@
#include "vl_mpeg12_decoder.h"
struct pipe_video_codec *
vl_create_mpeg12_decoder(struct pipe_context *context,
const struct pipe_video_codec *templat)
{
return NULL;
}