diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-05-17 00:57:01 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-05-17 00:57:01 -0500 |
commit | 4ec7fd439d934ca8fd4fa6040ccae88437eea91f (patch) | |
tree | e93f8b09f2a70f9eed0bb6dce688774afeb5f674 /libre/mesa | |
parent | 7f87e3395fe7820783cd64b63834dc44ee9eb51b (diff) | |
download | abslibre-4ec7fd439d934ca8fd4fa6040ccae88437eea91f.tar.gz abslibre-4ec7fd439d934ca8fd4fa6040ccae88437eea91f.tar.bz2 abslibre-4ec7fd439d934ca8fd4fa6040ccae88437eea91f.zip |
mesa-18.0.3-3.parabola1: rebuild
Diffstat (limited to 'libre/mesa')
-rw-r--r-- | libre/mesa/0002-loader_dri3-Wait-for-pending-swaps-to-complete-before-drawable_fini.patch | 14 | ||||
-rw-r--r-- | libre/mesa/PKGBUILD | 14 |
2 files changed, 26 insertions, 2 deletions
diff --git a/libre/mesa/0002-loader_dri3-Wait-for-pending-swaps-to-complete-before-drawable_fini.patch b/libre/mesa/0002-loader_dri3-Wait-for-pending-swaps-to-complete-before-drawable_fini.patch new file mode 100644 index 000000000..9c3bacd6a --- /dev/null +++ b/libre/mesa/0002-loader_dri3-Wait-for-pending-swaps-to-complete-before-drawable_fini.patch @@ -0,0 +1,14 @@ +diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c +index 6bb11c4..7bd79af 100644 +--- a/src/loader/loader_dri3_helper.c ++++ b/src/loader/loader_dri3_helper.c +@@ -234,6 +234,9 @@ loader_dri3_drawable_fini(struct loader_dri3_drawable *draw) + { + int i; + ++ if (draw->special_event) ++ loader_dri3_swapbuffer_barrier(draw); ++ + draw->ext->core->destroyDrawable(draw->dri_drawable); + + for (i = 0; i < ARRAY_SIZE(draw->buffers); i++) { diff --git a/libre/mesa/PKGBUILD b/libre/mesa/PKGBUILD index 57ff9b558..2fde9e5f4 100644 --- a/libre/mesa/PKGBUILD +++ b/libre/mesa/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=mesa pkgname=("${pkgbase}") pkgdesc="A free implementation of the OpenGL specification, without nonfree software recommendations in drirc" pkgver=18.0.3 -pkgrel=1.parabola1 +pkgrel=3.parabola1 arch=('i686' 'x86_64' 'armv7h') makedepends=('python2-mako' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'dri3proto' 'presentproto' 'libxshmfence' 'libxxf86vm' 'libxdamage' 'libvdpau' 'libva' 'wayland' 'wayland-protocols' @@ -19,6 +19,7 @@ license=('custom') source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig} LICENSE 0001-glvnd-fix-gl-dot-pc.patch + 0002-loader_dri3-Wait-for-pending-swaps-to-complete-before-drawable_fini.patch 0004-meson-Add-library-versions-to-swr-drivers.patch 0005-meson-Version-libMesaOpenCL-like-autotools-does.patch drirc) @@ -27,6 +28,7 @@ sha512sums=('decd050bab049d17bcde3f832d4da0ffdb80f147c99377a162739bbe72fd6fd32b5 'SKIP' 'f9f0d0ccf166fe6cb684478b6f1e1ab1f2850431c06aa041738563eb1808a004e52cdec823c103c9e180f03ffc083e95974d291353f0220fe52ae6d4897fecc7' '75849eca72ca9d01c648d5ea4f6371f1b8737ca35b14be179e14c73cc51dca0739c333343cdc228a6d464135f4791bcdc21734e2debecd29d57023c8c088b028' + '19b980db37675732d28978318074ca172ef862de7fdcae2c82ef16dc411c709c8598b044a828e7e260d86d23f644485abcc6a0aaf5e04b9c05dce22d0c7e3716' '0f5da6e48885713c7ddef9e5715e178e0a499bcb622d7f19e15b9e4b4647331d7bf14829218b6ab80f17bae90fd95b8df6a0a81203d8081686805ca5329531ff' 'd3c01f61a0a0cc2f01e66e0126ad8b6386d4a53c1dc1b3b134800e4cd25507e458bac860cbed10cf4b46b04e8d50aba233870587b89c058fffd57436b48289bf' '7d949d1f45e68b8ec71ca0192569eeb6fc98b540e9696fea437894db02d98a78724ae4021f244137dd2ed2c8c167e96016f20306b4cf83c2defc8acd10170a1e') @@ -42,6 +44,11 @@ prepare() { # non-upstreamed ones patch -Np1 -i ../0001-glvnd-fix-gl-dot-pc.patch + # experimental patch, should fix FS#58549 + # see https://bugs.freedesktop.org/show_bug.cgi?id=106351 + # and https://patchwork.freedesktop.org/series/42687/ + patch -Np1 -i ../0002-loader_dri3-Wait-for-pending-swaps-to-complete-before-drawable_fini.patch + # Upstreamed meson fixes patch -Np1 -i ../0004-meson-Add-library-versions-to-swr-drivers.patch patch -Np1 -i ../0005-meson-Version-libMesaOpenCL-like-autotools-does.patch @@ -145,7 +152,6 @@ package_mesa() { _install fakeinstall/usr/lib/d3d _install fakeinstall/usr/lib/lib{gbm,glapi}.so* _install fakeinstall/usr/lib/libOSMesa.so* - _install fakeinstall/usr/lib/libwayland*.so* if [ "$CARCH" != "armv7h" ]; then _install fakeinstall/usr/lib/libxatracker.so* @@ -158,6 +164,10 @@ package_mesa() { # in vulkan-headers rm -rv fakeinstall/usr/include/vulkan + # in wayland + rm -v fakeinstall/usr/lib/libwayland-egl.so* + rm -v fakeinstall/usr/lib/pkgconfig/wayland-egl.pc + _install fakeinstall/usr/include _install fakeinstall/usr/lib/pkgconfig |