Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Modified xen PKGBUILD

By: a guest on May 9th, 2014  |  syntax: Diff  |  size: 1.84 KB  |  views: 164  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- a/PKGBUILD    2014-05-05 09:48:10.000000000 +1000
  2. +++ b/PKGBUILD     2014-05-09 21:07:43.751687373 +1000
  3. @@ -11,7 +11,7 @@
  4.  arch=(i686 x86_64)
  5.  url="http://www.xenproject.org/"
  6.  license=(GPL2)
  7. -depends=(bin86 bluez bridge-utils curl e2fsprogs gnutls iproute2 libaio libcap-ng libiscsi libjpeg-turbo libpng libseccomp lzo2 nss pixman pciutils python python2 sdl wget vde2 yajl)
  8. +depends=(bin86 bluez bridge-utils curl e2fsprogs gnutls iproute2 libaio libcap-ng libiscsi libjpeg-turbo libpng libseccomp lzo2 nss pixman pciutils python python2 sdl wget vde2 yajl spice spice-protocol usbredir)
  9.  [[ "$CARCH" == "x86_64" ]] && depends+=(lib32-glibc)
  10.  makedepends=(cmake dev86 git iasl markdown ocaml-findlib)
  11.  optdepends=('xen-docs: Official Xen Documentation' 'openvswitch: Optional Networking support')
  12. @@ -46,6 +46,7 @@
  13.      conf.d-xenstored
  14.      tmpfiles.d-$pkgname.conf
  15.      grub.conf
  16. +    enable-spice.patch
  17.      $pkgname.conf)
  18.  noextract=(lwip-1.3.0.tar.gz
  19.      zlib-1.2.3.tar.gz
  20. @@ -83,6 +84,7 @@
  21.              '0e1ad0a6a72b0c22025a556c23235a8f663427f1e769c45fe39d1c525bf82eff'
  22.              '40e0760810a49f925f2ae9f986940b40eba477dc6d3e83a78baaae096513b3cf'
  23.              '3f0af16958c3e057b9baa5afc47050d9adf7dd553274dd97ae4f35938fefb568'
  24. +            '49b23ff4ed5ec8ab5b36723c746a91fef671ca67763e62aec0bedd31aca949b1'
  25.              '50a9b7fd19e8beb1dea09755f07318f36be0b7ec53d3c9e74f3266a63e682c0c')
  26.  
  27.  prepare() {
  28. @@ -100,6 +102,9 @@
  29.      # Uncomment line below if you want to enable ATI Passthrough support (some reported successes, untested with 4.4)
  30.      #patch -Np1 -i ../ati-passthrough.patch
  31.  
  32. +    # Apply patch to enable SPICE protocol on source tree upstream QEMU
  33. +    patch -Np1 -i $srcdir/enable-spice.patch
  34. +
  35.      # Fix Install Paths
  36.      sed -i 's:/sbin:/bin:' config/StdGNU.mk
  37.      sed -i 's:/var/lock:/run/lock:' config/StdGNU.mk
clone this paste RAW Paste Data