SHA256
1
0
forked from pool/Mesa
Mesa/n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch

50 lines
2.2 KiB
Diff
Raw Normal View History

From a9af1af5f1f9aa9fdea9e73135a92f053478f849 Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Wed, 20 Jan 2016 16:10:15 +0100
Subject: [PATCH] VDPAU/XVMC libs: Replace hardlinks with copies
Since these are packaged separately in (open)SUSE anyway, one can use
copies as well. This makes debug packages possible again. (bnc #962609)
Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
---
src/gallium/targets/vdpau/Makefile.am | 4 ++--
src/gallium/targets/xvmc/Makefile.am | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Accepting request 610642 from home:mimi_vx:branches:X11:XOrg - Update to 18.1.0 - refreshed archlinux_0001-Fix-linkage-against-shared-glapi.patch - add u_intel_anv-make-scripts-python-2-3-compat.patch for build ANV with python * Vulkan 1.1 support for the ANV and RADV drivers. * RadeonSI and RADV have "Vega M" GPU support for Kabylake G processors * A simple Gallium3D HUD option as an alternative to the advanced heads-up display * There is also now Vega 12 support too. * For new hardware support on the Intel side are the initial bits for Intel Icelake. * The Intel driver stack has meanwhile landed more SPIR-V bits towards OpenGL 4.6. * The Intel ANV driver has received new extensions too as well as enabling features like MSAA fast clears. * VP9 VA-API support for VCN and HEVC Main for VCN - Raven Ridge CPUs. * DRI3 1.1/1.2 support for going with the soon-to-be-out X.Org Server 1.20. * Etnaviv performance counter support when paired with the latest Etnaviv DRM in the mainline kernel. * The last-year-GSoC'ed OpenMAX Tizonia H.264 encoder/decoder. * UVD-based HEVC video encoding. * OpenGL 3.1 ARB_compatibility support for the major Gallium3D drivers. * RadeonSI 32-bit pointers support. * The Intel GLSL shader cache is enabled by default. * Nouveau NVC0 meanwhile finally has ARB_bindless_texture support. * On the old hardware front, R600g is now effectively at OpenGL 4.4 for the Radeon HD 5800/6900 series. - Update to 18.1.0 - refreshed archlinux_0001-Fix-linkage-against-shared-glapi.patch OBS-URL: https://build.opensuse.org/request/show/610642 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=745
2018-05-22 10:42:37 +02:00
Index: mesa-18.1.0/src/gallium/targets/vdpau/Makefile.am
===================================================================
--- mesa-18.1.0.orig/src/gallium/targets/vdpau/Makefile.am
+++ mesa-18.1.0/src/gallium/targets/vdpau/Makefile.am
@@ -91,7 +91,7 @@ all-local: $(vdpau_LTLIBRARIES)
j=libvdpau_gallium.$(LIB_EXT); \
k=libvdpau_$${i}.$(LIB_EXT); \
l=$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0; \
- ln -f .libs/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
+ cp -a .libs/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
$${link_dir}/$${l}; \
ln -sf $${l} \
$${link_dir}/$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR); \
Accepting request 610642 from home:mimi_vx:branches:X11:XOrg - Update to 18.1.0 - refreshed archlinux_0001-Fix-linkage-against-shared-glapi.patch - add u_intel_anv-make-scripts-python-2-3-compat.patch for build ANV with python * Vulkan 1.1 support for the ANV and RADV drivers. * RadeonSI and RADV have "Vega M" GPU support for Kabylake G processors * A simple Gallium3D HUD option as an alternative to the advanced heads-up display * There is also now Vega 12 support too. * For new hardware support on the Intel side are the initial bits for Intel Icelake. * The Intel driver stack has meanwhile landed more SPIR-V bits towards OpenGL 4.6. * The Intel ANV driver has received new extensions too as well as enabling features like MSAA fast clears. * VP9 VA-API support for VCN and HEVC Main for VCN - Raven Ridge CPUs. * DRI3 1.1/1.2 support for going with the soon-to-be-out X.Org Server 1.20. * Etnaviv performance counter support when paired with the latest Etnaviv DRM in the mainline kernel. * The last-year-GSoC'ed OpenMAX Tizonia H.264 encoder/decoder. * UVD-based HEVC video encoding. * OpenGL 3.1 ARB_compatibility support for the major Gallium3D drivers. * RadeonSI 32-bit pointers support. * The Intel GLSL shader cache is enabled by default. * Nouveau NVC0 meanwhile finally has ARB_bindless_texture support. * On the old hardware front, R600g is now effectively at OpenGL 4.4 for the Radeon HD 5800/6900 series. - Update to 18.1.0 - refreshed archlinux_0001-Fix-linkage-against-shared-glapi.patch OBS-URL: https://build.opensuse.org/request/show/610642 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=745
2018-05-22 10:42:37 +02:00
@@ -116,7 +116,7 @@ install-data-hook:
j=libvdpau_gallium.$(LIB_EXT); \
k=libvdpau_$${i}.$(LIB_EXT); \
l=$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0; \
- ln -f $${dest_dir}/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
+ cp -a $${dest_dir}/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
$${dest_dir}/$${l}; \
ln -sf $${l} \
$${dest_dir}/$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR); \
Accepting request 610642 from home:mimi_vx:branches:X11:XOrg - Update to 18.1.0 - refreshed archlinux_0001-Fix-linkage-against-shared-glapi.patch - add u_intel_anv-make-scripts-python-2-3-compat.patch for build ANV with python * Vulkan 1.1 support for the ANV and RADV drivers. * RadeonSI and RADV have "Vega M" GPU support for Kabylake G processors * A simple Gallium3D HUD option as an alternative to the advanced heads-up display * There is also now Vega 12 support too. * For new hardware support on the Intel side are the initial bits for Intel Icelake. * The Intel driver stack has meanwhile landed more SPIR-V bits towards OpenGL 4.6. * The Intel ANV driver has received new extensions too as well as enabling features like MSAA fast clears. * VP9 VA-API support for VCN and HEVC Main for VCN - Raven Ridge CPUs. * DRI3 1.1/1.2 support for going with the soon-to-be-out X.Org Server 1.20. * Etnaviv performance counter support when paired with the latest Etnaviv DRM in the mainline kernel. * The last-year-GSoC'ed OpenMAX Tizonia H.264 encoder/decoder. * UVD-based HEVC video encoding. * OpenGL 3.1 ARB_compatibility support for the major Gallium3D drivers. * RadeonSI 32-bit pointers support. * The Intel GLSL shader cache is enabled by default. * Nouveau NVC0 meanwhile finally has ARB_bindless_texture support. * On the old hardware front, R600g is now effectively at OpenGL 4.4 for the Radeon HD 5800/6900 series. - Update to 18.1.0 - refreshed archlinux_0001-Fix-linkage-against-shared-glapi.patch OBS-URL: https://build.opensuse.org/request/show/610642 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=745
2018-05-22 10:42:37 +02:00
Index: mesa-18.1.0/src/gallium/targets/xvmc/Makefile.am
===================================================================
--- mesa-18.1.0.orig/src/gallium/targets/xvmc/Makefile.am
+++ mesa-18.1.0/src/gallium/targets/xvmc/Makefile.am
@@ -75,7 +75,7 @@ install-data-hook:
j=libXvMCgallium.$(LIB_EXT); \
k=libXvMC$${i}.$(LIB_EXT); \
l=$${k}.$(XVMC_MAJOR).$(XVMC_MINOR).0; \
- ln -f $${dest_dir}/$${j}.$(XVMC_MAJOR).$(XVMC_MINOR).0 \
+ cp -a $${dest_dir}/$${j}.$(XVMC_MAJOR).$(XVMC_MINOR).0 \
$${dest_dir}/$${l}; \
ln -sf $${l} \
$${dest_dir}/$${k}.$(XVMC_MAJOR).$(XVMC_MINOR); \