CalcProgrammer1

patch.txt 4/27/2016

Apr 27th, 2016
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. --- rules_old 2015-11-04 21:22:21.000000000 -0600
  2. +++ rules_new 2015-11-05 17:24:39.431595000 -0600
  3. @@ -100,7 +100,7 @@
  4. ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 kfreebsd-amd64 kfreebsd-i386 armhf ppc64el))
  5. GALLIUM_DRIVERS += radeonsi
  6. confflags_GALLIUM += --enable-gallium-llvm
  7. - confflags_GALLIUM += ac_cv_path_LLVM_CONFIG=llvm-config-3.7
  8. + confflags_GALLIUM += ac_cv_path_LLVM_CONFIG=llvm-config-3.9
  9. GALLIUM_DRIVERS += swrast
  10. else
  11. DRI_DRIVERS += swrast
  12. @@ -108,6 +108,8 @@
  13.  
  14. confflags_DIRECT_RENDERING = --enable-driglx-direct
  15. confflags_GALLIUM += --enable-vdpau
  16. + confflags_GALLIUM += --enable-nine
  17. + confflags_GALLIUM += --enable-r600-llvm-compiler
  18. endif
  19. confflags_EGL = --with-egl-platforms="$(EGL_DISPLAYS)"
  20. confflags_GLES = --enable-gles1 --enable-gles2
  21. @@ -224,7 +226,7 @@
  22.  
  23. # Also get rid of other files which aren't installed. Do not
  24. # use -f to ensure we notice disappearing files:
  25. - set -e; for file in $(NOT_INSTALLED); do rm debian/tmp/$$file; done
  26. + set -e; for file in $(NOT_INSTALLED); do rm -f debian/tmp/$$file; done
  27. # Files only in git, not in tarballs, OK to use rm -f here:
  28. set -e; for file in $(NOT_INSTALLED_EITHER); do rm -f debian/tmp/$$file; done
  29. # purge .la files
  30. @@ -235,6 +237,21 @@
  31. mv debian/tmp/dri/usr/lib/${DEB_HOST_MULTIARCH}/dri/*_dri.so \
  32. debian/libgl1-mesa-dri/usr/lib/${DEB_HOST_MULTIARCH}/dri/
  33.  
  34. + # gallium-nine:
  35. + # pipe: already added for opencl:
  36. + # install -m755 -d debian/libgl1-mesa-dri/usr/lib/${DEB_HOST_MULTIARCH}/gallium-pipe && \
  37. + # mv debian/tmp/dri/usr/lib/${DEB_HOST_MULTIARCH}/gallium-pipe/*.so \
  38. + # debian/libgl1-mesa-dri/usr/lib/${DEB_HOST_MULTIARCH}/gallium-pipe && \
  39. +
  40. + if [ -e "debian/tmp/dri/usr/lib/${DEB_HOST_MULTIARCH}/d3d/" ] && \
  41. + [ -d "debian/tmp/dri/usr/include/d3dadapter/" ]; then \
  42. + mv debian/tmp/dri/usr/lib/${DEB_HOST_MULTIARCH}/d3d/ \
  43. + debian/libgl1-mesa-dri/usr/lib/${DEB_HOST_MULTIARCH}/ && \
  44. + install -m755 -d debian/mesa-common-dev/usr/include/d3dadapter/ && \
  45. + mv debian/tmp/dri/usr/include/d3dadapter/* \
  46. + debian/mesa-common-dev/usr/include/d3dadapter/ ; \
  47. + fi
  48. +
  49. ifneq ($(DEB_HOST_ARCH_OS), hurd)
  50. # Copy the hardlinked vdpau drivers correctly.
  51. install -m755 -d debian/mesa-vdpau-drivers/usr/lib/${DEB_HOST_MULTIARCH}/vdpau/
Advertisement
Add Comment
Please, Sign In to add comment