Advertisement
jamesan

Diff of PKGBUILD for the AUR package, hal

Aug 2nd, 2014
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.74 KB | None | 0 0
  1. 1c1,3
  2. < # Maintainer: Rohit Manokaran <rohitmanokaran@yahoo.com>
  3. ---
  4. > # Maintainer:  Rohit Manokaran <rohit000@live.com>
  5. > # Contributor: James An <james@jamesan.ca>
  6. > # Contributor: Rohit Manokaran <rohitmanokaran@yahoo.com>
  7. 9c11
  8. < pkgrel=19
  9. ---
  10. > pkgrel=20
  11. 14c16
  12. < depends=('dbus-glib>=0.82' 'libusb-compat' 'systemd>=189' 'filesystem>=2012' 'hal-info>=0.20090716' 'dmidecode' 'pciutils>=3.0.2' 'usbutils>=006' 'util-linux>=2.24' 'v4l-utils')
  13. ---
  14. > depends=('dbus-glib>=0.82' 'libusb-compat' 'hal-info>=0.20090716' 'dmidecode' 'v4l-utils')
  15. 20a23
  16. >          hal.service
  17. 26,37d28
  18. < #        patches/hal-0.5.9-hide-diagnostic.patch
  19. < #        patches/hal-remove-dell-killswitch.patch
  20. < #        patches/hal-KVM-evdev.patch
  21. < #        patches/hal-HDAPS-blacklist.patch
  22. < #        patches/hal-xen-unignore-axes.patch
  23. < #        patches/hal-use-at-console.patch
  24. < #        patches/fix-libusb-detection.patch
  25. < #        patches/dbus-error-init.patch
  26. < #        patches/path-max.patch
  27. < #        patches/handle-input-touchpad.patch
  28. < #        patches/macbook-fix-ioperm.patch
  29. < #        patches/hal-ignore-internal-dm-devices.patch
  30. 40a32
  31. >          'ca4a7932fe7e8acbfa17245b62cc3b9b'
  32. 45,46c37
  33. <          '7acfdd590c98272930ddfd37f1c7f5a3'
  34. <         )
  35. ---
  36. >          '7acfdd590c98272930ddfd37f1c7f5a3')
  37. 49,52d39
  38. <
  39. <   cd $srcdir
  40. <   patch -Np1 -d ${srcdir} < hal.patch
  41. <
  42. 54,57c41,46
  43. <   patch -Np1 -i "${srcdir}/hal-libudev-events.patch"
  44. <   patch -Np1 -i "${srcdir}/hal-glib-2.3-compile-fix.patch"
  45. <   patch -Np1 -i "${srcdir}/udev-update.patch"
  46. <   patch -Np1 -i "${srcdir}/badvok-compile-fix.patch"
  47. ---
  48. >   patch -Np1 -d .. -i ../hal.patch
  49. >
  50. >   patch -Np1 -i ../hal-libudev-events.patch
  51. >   patch -Np1 -i ../hal-glib-2.3-compile-fix.patch
  52. >   patch -Np1 -i ../udev-update.patch
  53. >   patch -Np1 -i ../badvok-compile-fix.patch
  54. 85c74
  55. <   cd $srcdir/${pkgname}-${pkgver}
  56. ---
  57. >   cd "${srcdir}/${pkgname}-${pkgver}"
  58. 87,89d75
  59. < #   install -m755 -d "${pkgdir}/etc/rc.d"
  60. <   install -m755 -d "${pkgdir}/media"
  61. < #   install -m755 "${srcdir}/hald" "${pkgdir}/etc/rc.d/hal"
  62. 107,123c93
  63. <   install -m755 -d "${pkgdir}/usr/lib/systemd/system"
  64. <   cat >${pkgdir}/usr/lib/systemd/system/hal.service <<EOF
  65. < [Unit]
  66. < Description=Hardware Abstraction Layer
  67. < Requires=dbus.service
  68. < Wants=acpid.service
  69. < After=dbus.service syslog.target acpid.service
  70. <
  71. < [Service]
  72. < Type=dbus
  73. < BusName=org.freedesktop.Hal
  74. < ExecStart=/usr/sbin/hald --daemon=no --use-syslog
  75. <
  76. < [Install]
  77. < WantedBy=multi-user.target
  78. < Alias=dbus-org.freedesktop.Hal.service
  79. < EOF
  80. ---
  81. >   install -Dm644 ../hal.service "${pkgdir}/usr/lib/systemd/system/hal.service"
  82. 126c96
  83. <   rm -r "${pkgdir}/var/run/hald"
  84. ---
  85. >   rm -r "${pkgdir}/var/run"
  86. 131,132d100
  87. <
  88. <
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement