hal: updated to version 0.5.9

This commit is contained in:
Matt Housh 2007-05-02 13:14:04 -05:00
parent f4be7abc09
commit c27b915dc7
4 changed files with 62 additions and 55 deletions

View File

@ -7,9 +7,12 @@ drwxr-xr-x root/root etc/udev/rules.d/
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/hal-device
-rwxr-xr-x root/root usr/bin/hal-disable-polling
-rwxr-xr-x root/root usr/bin/hal-find-by-capability
-rwxr-xr-x root/root usr/bin/hal-find-by-property
-rwxr-xr-x root/root usr/bin/hal-get-property
-rwxr-xr-x root/root usr/bin/hal-is-caller-locked-out
-rwxr-xr-x root/root usr/bin/hal-lock
-rwxr-xr-x root/root usr/bin/hal-set-property
-rwxr-xr-x root/root usr/bin/lshal
drwxr-xr-x root/root usr/etc/
@ -27,14 +30,27 @@ drwxr-xr-x root/root usr/include/hal/
-rw-r--r-- root/root usr/include/hal/libhal.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/hal/
-rwxr-xr-x root/root usr/lib/hal/hal-storage-cleanup-all-mountpoints
-rwxr-xr-x root/root usr/lib/hal/hal-storage-cleanup-mountpoint
-rwxr-xr-x root/root usr/lib/hal/hal-storage-closetray
-rwxr-xr-x root/root usr/lib/hal/hal-storage-eject
-rwxr-xr-x root/root usr/lib/hal/hal-storage-mount
-rwxr-xr-x root/root usr/lib/hal/hal-storage-unmount
-rwxr-xr-x root/root usr/lib/hal/hal-system-power-pm-is-supported
-rwxr-xr-x root/root usr/lib/hal/hal-system-power-pmu
-rwxr-xr-x root/root usr/lib/hal/hal-system-sonypic
-rwxr-xr-x root/root usr/lib/hal/hald-addon-acpi
-rwxr-xr-x root/root usr/lib/hal/hald-addon-cpufreq
-rwxr-xr-x root/root usr/lib/hal/hald-addon-hid-ups
-rwxr-xr-x root/root usr/lib/hal/hald-addon-keyboard
-rwxr-xr-x root/root usr/lib/hal/hald-addon-macbook-backlight
-rwxr-xr-x root/root usr/lib/hal/hald-addon-macbookpro-backlight
-rwxr-xr-x root/root usr/lib/hal/hald-addon-pmu
-rwxr-xr-x root/root usr/lib/hal/hald-addon-storage
-rwxr-xr-x root/root usr/lib/hal/hald-addon-usb-csr
-rwxr-xr-x root/root usr/lib/hal/hald-generate-fdi-cache
-rwxr-xr-x root/root usr/lib/hal/hald-probe-hiddev
-rwxr-xr-x root/root usr/lib/hal/hald-probe-ieee1394-unit
-rwxr-xr-x root/root usr/lib/hal/hald-probe-input
-rwxr-xr-x root/root usr/lib/hal/hald-probe-pc-floppy
-rwxr-xr-x root/root usr/lib/hal/hald-probe-printer
@ -43,6 +59,20 @@ drwxr-xr-x root/root usr/lib/hal/
-rwxr-xr-x root/root usr/lib/hal/hald-probe-storage
-rwxr-xr-x root/root usr/lib/hal/hald-probe-volume
-rwxr-xr-x root/root usr/lib/hal/hald-runner
drwxr-xr-x root/root usr/lib/hal/scripts/
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-luks-remove
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-luks-setup
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-luks-teardown
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-killswitch-get-power
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-killswitch-set-power
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-lcd-get-brightness
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-lcd-set-brightness
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-power-hibernate
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-power-reboot
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-power-set-power-save
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-power-shutdown
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-power-suspend
-rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-power-suspend-hybrid
-rw-r--r-- root/root usr/lib/libhal-storage.a
-rwxr-xr-x root/root usr/lib/libhal-storage.la
lrwxrwxrwx root/root usr/lib/libhal-storage.so -> libhal-storage.so.1.0.0
@ -56,48 +86,49 @@ lrwxrwxrwx root/root usr/lib/libhal.so.1 -> libhal.so.1.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/hal-storage.pc
-rw-r--r-- root/root usr/lib/pkgconfig/hal.pc
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/hal-disable-polling.1.gz
-rw-r--r-- root/root usr/man/man1/hal-find-by-capability.1.gz
-rw-r--r-- root/root usr/man/man1/hal-find-by-property.1.gz
-rw-r--r-- root/root usr/man/man1/hal-get-property.1.gz
-rw-r--r-- root/root usr/man/man1/hal-is-caller-locked-out.1.gz
-rw-r--r-- root/root usr/man/man1/hal-lock.1.gz
-rw-r--r-- root/root usr/man/man1/hal-set-property.1.gz
-rw-r--r-- root/root usr/man/man1/lshal.1.gz
drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/hald.8.gz
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/hald
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/hal/
drwxr-xr-x root/root usr/share/hal/fdi/
-rw-r--r-- root/root usr/share/hal/fdi/fdi.dtd
-rw-r--r-- root/root usr/share/hal/fdi/fdi.rng
drwxr-xr-x root/root usr/share/hal/fdi/information/
drwxr-xr-x root/root usr/share/hal/fdi/information/10freedesktop/
-rw-r--r-- root/root usr/share/hal/fdi/information/10freedesktop/10-camera-ptp.fdi
-rw-r--r-- root/root usr/share/hal/fdi/information/10freedesktop/10-cd-dvd-burner.fdi
-rw-r--r-- root/root usr/share/hal/fdi/information/10freedesktop/10-usb-card-readers.fdi
-rw-r--r-- root/root usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi
-rw-r--r-- root/root usr/share/hal/fdi/information/10freedesktop/10-usb-pda.fdi
-rw-r--r-- root/root usr/share/hal/fdi/information/10freedesktop/10-usb-zip-drives.fdi
-rw-r--r-- root/root usr/share/hal/fdi/information/10freedesktop/10-wireless-mice.fdi
drwxr-xr-x root/root usr/share/hal/fdi/information/20thirdparty/
drwxr-xr-x root/root usr/share/hal/fdi/policy/
drwxr-xr-x root/root usr/share/hal/fdi/policy/10osvendor/
-rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-cpufreq.fdi
-rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-keyboard-policy.fdi
-rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-laptop-panel-mgmt-policy.fdi
-rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-macbook-backlight.fdi
-rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-macbookpro-utils.fdi
-rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-power-mgmt-policy.fdi
-rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-rfkill-switch.fdi
-rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-usbcsr-mice.fdi
-rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/15-storage-luks.fdi
-rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
drwxr-xr-x root/root usr/share/hal/fdi/policy/20thirdparty/
drwxr-xr-x root/root usr/share/hal/fdi/preprobe/
drwxr-xr-x root/root usr/share/hal/fdi/preprobe/10osvendor/
-rw-r--r-- root/root usr/share/hal/fdi/preprobe/10osvendor/10-ide-drives.fdi
drwxr-xr-x root/root usr/share/hal/fdi/preprobe/20thirdparty/
drwxr-xr-x root/root usr/share/hal/scripts/
-rwxr-xr-x root/root usr/share/hal/scripts/hal-luks-remove
-rwxr-xr-x root/root usr/share/hal/scripts/hal-luks-setup
-rwxr-xr-x root/root usr/share/hal/scripts/hal-luks-teardown
-rwxr-xr-x root/root usr/share/hal/scripts/hal-system-lcd-get-brightness
-rwxr-xr-x root/root usr/share/hal/scripts/hal-system-lcd-set-brightness
-rwxr-xr-x root/root usr/share/hal/scripts/hal-system-power-hibernate
-rwxr-xr-x root/root usr/share/hal/scripts/hal-system-power-reboot
-rwxr-xr-x root/root usr/share/hal/scripts/hal-system-power-set-power-save
-rwxr-xr-x root/root usr/share/hal/scripts/hal-system-power-shutdown
-rwxr-xr-x root/root usr/share/hal/scripts/hal-system-power-suspend
-rwxr-xr-x root/root usr/share/hal/scripts/hal-system-storage-cleanup-mountpoint
-rwxr-xr-x root/root usr/share/hal/scripts/hal-system-storage-cleanup-mountpoints
-rwxr-xr-x root/root usr/share/hal/scripts/hal-system-storage-eject
-rwxr-xr-x root/root usr/share/hal/scripts/hal-system-storage-mount
-rwxr-xr-x root/root usr/share/hal/scripts/hal-system-storage-unmount
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/cache/
drwxr-xr-x haldaemon/haldaemon var/cache/hald/
drwxr-xr-x root/root var/lib/
drwx------ haldaemon/haldaemon var/lib/hal/
drwxr-xr-x root/root var/run/
drwxr-xr-x haldaemon/haldaemon var/run/hald/
drwxr-xr-x root/root var/run/hald/hald-local/
drwxr-xr-x root/root var/run/hald/hald-runner/

View File

@ -1,3 +1,2 @@
1fa646b45e845031f09515731dba40c7 hal-0.5.7.1-dbus-close.patch
d7a7741808ba130f8aff3f5d3b5689e4 hal-0.5.7.1.tar.gz
a6f532770cf9286e1de38d6570cbc6bc hal-0.5.9.tar.gz
cc3d04e7ac09e15f33c530725f43e641 rc.hald

View File

@ -4,17 +4,17 @@
# Depends on: dbus, dbus-glib
name=hal
version=0.5.7.1
release=3
version=0.5.9
release=1
source=(http://freedesktop.org/~david/dist/$name-$version.tar.gz \
rc.hald $name-$version-dbus-close.patch)
rc.hald)
build() {
cd $name-$version
patch -p1 -i $SRC/$name-$version-dbus-close.patch
sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
./configure --prefix=/usr \
--mandir=/usr/man \
--libexecdir=/usr/lib/$name \
--localstatedir=/var \
--with-hal-user=haldaemon \
@ -31,4 +31,5 @@ build() {
$PKG/etc/udev/rules.d/90-hal.rules
sed -i -e '36,43d' -e 's/user="0"/group="plugdev"/' \
$PKG/usr/etc/dbus-1/system.d/hal.conf
rm -rf $PKG/usr/share/gtk-doc
}

View File

@ -1,24 +0,0 @@
diff -ruN hal-0.5.7.1.orig/tools/hal-device.c hal-0.5.7.1/tools/hal-device.c
--- hal-0.5.7.1.orig/tools/hal-device.c 2006-07-28 16:07:56.000000000 -0500
+++ hal-0.5.7.1/tools/hal-device.c 2006-07-28 16:08:36.000000000 -0500
@@ -155,7 +155,7 @@
libhal_ctx_shutdown(hal_ctx, &error);
libhal_ctx_free(hal_ctx);
- dbus_connection_disconnect(conn);
+ dbus_connection_close(conn);
dbus_connection_unref(conn);
dbus_error_free(&error);
diff -ruN hal-0.5.7.1.orig/tools/lshal.c hal-0.5.7.1/tools/lshal.c
--- hal-0.5.7.1.orig/tools/lshal.c 2006-07-28 16:07:56.000000000 -0500
+++ hal-0.5.7.1/tools/lshal.c 2006-07-28 16:08:52.000000000 -0500
@@ -701,7 +701,7 @@
libhal_ctx_shutdown (hal_ctx, &error);
libhal_ctx_free (hal_ctx);
- dbus_connection_disconnect (conn);
+ dbus_connection_close (conn);
dbus_connection_unref (conn);
if (show_device)