Hello community, here is the log from the commit of package hal checked in at Mon Nov 6 19:05:57 CET 2006. -------- --- hal/hal.changes 2006-11-03 15:11:08.000000000 +0100 +++ /mounts/work_src_done/STABLE/hal/hal.changes 2006-11-06 12:46:10.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Nov 6 12:45:07 CET 2006 - hmacht@suse.de + +- added patch: + hal-fix-cpufreq-add-capability.diff: With new D-Bus + package, you must not call dbus_error_is_set(NULL) + +------------------------------------------------------------------- New: ---- hal-fix-cpufreq-add-capability.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hal.spec ++++++ --- /var/tmp/diff_new_pack.Rs5Ikk/_old 2006-11-06 19:04:06.000000000 +0100 +++ /var/tmp/diff_new_pack.Rs5Ikk/_new 2006-11-06 19:04:06.000000000 +0100 @@ -12,14 +12,14 @@ Name: hal BuildRequires: PolicyKit dbus-1-glib-devel docbook-utils doxygen glib2-devel gtkdoc html-dtd intltool libusb libvolume_id-devel pciutils-devel perl-XML-Parser popt-devel python-devel update-desktop-files -Recommends: pm-utils +Requires: pm-utils URL: http://freedesktop.org/Software/hal %define dbus_version 0.61 %define dbus_release 1 License: Other uncritical OpenSource License, Other License(s), see package Group: System/Daemons Version: 0.5.8_git20061103 -Release: 1 +Release: 4 Autoreqprov: on Summary: Daemon for Collecting Hardware Information # SUSE specific patches @@ -40,6 +40,7 @@ Patch105: hal-add-pm-utils-support.diff Patch106: hal-configure.diff Patch107: hal-fix-wireless_detection_rt2500pci.diff +Patch108: hal-fix-cpufreq-add-capability.diff # # patches for testing: #Patch300: hal_debug.diff @@ -147,6 +148,7 @@ %patch106 %patch10 -p1 %patch107 -p1 +%patch108 #%patch300 %build @@ -261,6 +263,10 @@ %{_bindir}/hal-device-manager %changelog -n hal +* Mon Nov 06 2006 - hmacht@suse.de +- added patch: + hal-fix-cpufreq-add-capability.diff: With new D-Bus + package, you must not call dbus_error_is_set(NULL) * Fri Nov 03 2006 - dkukawka@suse.de - added patches: - hal-fix-wireless_detection_rt2500pci.diff: fix for b.n.c bug ++++++ hal-fix-cpufreq-add-capability.diff ++++++ --- hald/linux/addons/addon-cpufreq.c +++ hald/linux/addons/addon-cpufreq.c @@ -1156,8 +1156,14 @@ libhal_device_add_capability(halctx, "/org/freedesktop/Hal/devices/computer", "cpufreq_control", - NULL); + &dbus_error); + if (dbus_error_is_set(&dbus_error)) { + HAL_WARNING(("Cannot add capability cpufreq_control: %s", dbus_error.message)); + dbus_error_free(&dbus_error); + goto Error; + } + dbus_connection_setup_with_g_main(dbus_connection, NULL); dbus_connection_add_filter(dbus_connection, dbus_filter_function, NULL, NULL); dbus_connection_set_exit_on_disconnect(dbus_connection, 0); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org