Upgrade gnome-bluetooth to drop libhal dependency
Bug #418401 reported by
Javier Jardón
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-bluetooth (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-bluetooth
Hal is deprecated, see http://
gnome-bluetooth from git doesn't depend on hal, so libhal1 dependency is not necessary
You can check the configure.ac file in the git repo: http://
ProblemType: Bug
Architecture: i386
Date: Tue Aug 25 04:24:20 2009
DistroRelease: Ubuntu 9.10
Package: gnome-bluetooth 2.27.8-0ubuntu1
ProcEnviron:
PATH=(custom, user)
LANG=es_ES.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gnome-bluetooth
Uname: Linux 2.6.31-6-generic i686
description: | updated |
summary: |
- port killswitch handling from hal to udev + Upgrade gnome-bluetooth to drop libhal dependency |
Changed in gnome-bluetooth (Ubuntu): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
The current version does, though:
$ find -name '*.c' | xargs grep -i 'hal' |egrep -v 'marshal|half' -killswitch. c:#include <hal/libhal.h> -killswitch. c: LibHalContext *halctx; -killswitch. c: message = dbus_message_ new_method_ call ("org.freedeskt op.Hal" , -killswitch. c: "org.freedeskto p.Hal.Device. KillSwitch" , -killswitch. c: message = dbus_message_ new_method_ call("org. freedesktop. Hal", -killswitch. c: "org.freedeskto p.Hal.Device. KillSwitch" , -killswitch. c: type = libhal_ device_ get_property_ string (priv->halctx, -killswitch. c: message = dbus_message_ new_method_ call ("org.freedeskt op.Hal" , -killswitch. c: "org.freedeskto p.Hal.Device. KillSwitch" , -killswitch. c: priv->halctx = libhal_ctx_new(); -killswitch. c: if (priv->halctx == NULL) { -killswitch. c: if (libhal_ ctx_set_ dbus_connection (priv-> halctx, priv->connection) == FALSE) { -killswitch. c: libhal_ ctx_free( priv->halctx) ; -killswitch. c: priv->halctx = NULL; -killswitch. c: if (libhal_ ctx_init( priv->halctx, NULL) == FALSE) { -killswitch. c: g_printerr( "Couldn' t init HAL context\n"); -killswitch. c: libhal_ ctx_free( priv->halctx) ; -killswitch. c: priv->halctx = NULL; -killswitch. c: list = libhal_ find_device_ by_capability( priv->halctx, "killswitch", &num, NULL); -killswitch. c: libhal_ free_string_ array (list); -killswitch. c: if (priv->halctx != NULL) { -killswitch. c: libhal_ ctx_shutdown( priv->halctx, NULL); -killswitch. c: libhal_ ctx_free( priv->halctx) ; -killswitch. c: priv->halctx = NULL;
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
./lib/bluetooth
But of course this needs to be rewritten to use udev at some point.