--- hal-0.5.9.1.orig/doc/api/libhal/libhal-undocumented.txt +++ hal-0.5.9.1/doc/api/libhal/libhal-undocumented.txt @@ -0,0 +1,17 @@ +93% symbol docs coverage. +111 symbols documented. +1 symbols incomplete. +8 not documented. + + +LIBHAL_DEPRECATED +LIBHAL_FREE_DBUS_ERROR +LibHalChangeSet +LibHalChangeSet_s +LibHalPropertySetIterator_s +LibHalPropertySet_s +LibHalPropertyType (LIBHAL_PROPERTY_TYPE_INVALID, LIBHAL_PROPERTY_TYPE_INT32, LIBHAL_PROPERTY_TYPE_UINT64, LIBHAL_PROPERTY_TYPE_DOUBLE, LIBHAL_PROPERTY_TYPE_BOOLEAN, LIBHAL_PROPERTY_TYPE_STRING, LIBHAL_PROPERTY_TYPE_STRLIST) +LibHalProperty_s + + +libhal:Short_Description --- hal-0.5.9.1.orig/doc/api/libhal/libhal-decl-list.txt +++ hal-0.5.9.1/doc/api/libhal/libhal-decl-list.txt @@ -0,0 +1,121 @@ +
+libhal +LIBHAL_DEPRECATED +LIBHAL_FREE_DBUS_ERROR +LIBHAL_CHECK_LIBHALCONTEXT +LibHalPropertyType +LibHalContext +LibHalIntegrateDBusIntoMainLoop +LibHalDeviceAdded +LibHalDeviceRemoved +LibHalDeviceNewCapability +LibHalDeviceLostCapability +LibHalDevicePropertyModified +LibHalDeviceCondition +LibHalGlobalInterfaceLockAcquired +LibHalGlobalInterfaceLockReleased +LibHalInterfaceLockAcquired +LibHalInterfaceLockReleased +libhal_ctx_new +libhal_ctx_set_cache +libhal_ctx_set_dbus_connection +libhal_ctx_get_dbus_connection +libhal_ctx_set_user_data +libhal_ctx_get_user_data +libhal_ctx_set_device_added +libhal_ctx_set_device_removed +libhal_ctx_set_device_new_capability +libhal_ctx_set_device_lost_capability +libhal_ctx_set_device_property_modified +libhal_ctx_set_device_condition +libhal_ctx_set_global_interface_lock_acquired +libhal_ctx_set_global_interface_lock_released +libhal_ctx_set_interface_lock_acquired +libhal_ctx_set_interface_lock_released +libhal_ctx_init +libhal_ctx_shutdown +libhal_ctx_free +libhal_ctx_init_direct +libhal_get_all_devices +libhal_device_exists +libhal_device_print +libhal_device_property_exists +libhal_device_get_property_string +libhal_device_get_property_int +libhal_device_get_property_uint64 +libhal_device_get_property_double +libhal_device_get_property_bool +libhal_device_get_property_strlist +libhal_device_set_property_string +libhal_device_set_property_int +libhal_device_set_property_uint64 +libhal_device_set_property_double +libhal_device_set_property_bool +libhal_device_property_strlist_append +libhal_device_property_strlist_prepend +libhal_device_property_strlist_remove_index +libhal_device_property_strlist_remove +libhal_device_remove_property +libhal_device_get_property_type +LibHalChangeSet_s +LibHalChangeSet +libhal_device_new_changeset +libhal_changeset_set_property_string +libhal_changeset_set_property_int +libhal_changeset_set_property_uint64 +libhal_changeset_set_property_double +libhal_changeset_set_property_bool +libhal_changeset_set_property_strlist +libhal_device_commit_changeset +libhal_device_free_changeset +LibHalProperty_s +LibHalProperty +LibHalPropertySet_s +LibHalPropertySet +libhal_device_get_all_properties +libhal_property_set_sort +libhal_free_property_set +libhal_property_set_get_num_elems +LibHalPropertySetIterator_s +LibHalPropertySetIterator +libhal_psi_init +libhal_psi_has_more +libhal_psi_next +libhal_psi_get_type +libhal_psi_get_key +libhal_psi_get_string +libhal_psi_get_int +libhal_psi_get_uint64 +libhal_psi_get_double +libhal_psi_get_bool +libhal_psi_get_strlist +libhal_string_array_length +libhal_free_string_array +libhal_free_string +libhal_new_device +libhal_device_commit_to_gdl +libhal_remove_device +libhal_merge_properties +libhal_device_matches +libhal_manager_find_device_string_match +libhal_device_add_capability +libhal_device_query_capability +libhal_find_device_by_capability +libhal_device_property_watch_all +libhal_device_add_property_watch +libhal_device_remove_property_watch +libhal_device_lock +libhal_device_unlock +libhal_device_rescan +libhal_device_reprobe +libhal_device_emit_condition +libhal_device_claim_interface +libhal_device_addon_is_ready +libhal_device_acquire_interface_lock +libhal_device_release_interface_lock +libhal_acquire_global_interface_lock +libhal_release_global_interface_lock +libhal_device_is_caller_locked_out +libhal_device_is_locked_by_others +
+ --- hal-0.5.9.1.orig/doc/api/libhal/xml/libhal-doc.bottom +++ hal-0.5.9.1/doc/api/libhal/xml/libhal-doc.bottom @@ -0,0 +1 @@ + --- hal-0.5.9.1.orig/doc/api/libhal/xml/object_index.sgml +++ hal-0.5.9.1/doc/api/libhal/xml/object_index.sgml @@ -0,0 +1,8 @@ + + + + + + + + --- hal-0.5.9.1.orig/doc/api/libhal/xml/tree_index.sgml +++ hal-0.5.9.1/doc/api/libhal/xml/tree_index.sgml @@ -0,0 +1,7 @@ + + +]> + + --- hal-0.5.9.1.orig/doc/api/libhal/libhal-decl.txt +++ hal-0.5.9.1/doc/api/libhal/libhal-decl.txt @@ -0,0 +1,643 @@ + +LIBHAL_DEPRECATED +#define LIBHAL_DEPRECATED __attribute__ ((deprecated)) + + +LIBHAL_DEPRECATED +#define LIBHAL_DEPRECATED + + +LIBHAL_FREE_DBUS_ERROR +#define LIBHAL_FREE_DBUS_ERROR(_dbus_error_) \ + do { \ + if (dbus_error_is_set(_dbus_error_)) \ + dbus_error_free (_dbus_error_); \ + } while (0) + + +LIBHAL_CHECK_LIBHALCONTEXT +#define LIBHAL_CHECK_LIBHALCONTEXT(_ctx_, _ret_) \ + do { \ + if (_ctx_ == NULL) { \ + fprintf (stderr, \ + "%s %d : LibHalContext *ctx is NULL\n", \ + __FILE__, __LINE__); \ + return _ret_; \ + } \ + } while(0) + + +LibHalPropertyType +typedef enum { + /** Used to report error condition */ + LIBHAL_PROPERTY_TYPE_INVALID = DBUS_TYPE_INVALID, + + /** Type for 32-bit signed integer property */ + LIBHAL_PROPERTY_TYPE_INT32 = DBUS_TYPE_INT32, + + /** Type for 64-bit unsigned integer property */ + LIBHAL_PROPERTY_TYPE_UINT64 = DBUS_TYPE_UINT64, + + /** Type for double precision floating point property */ + LIBHAL_PROPERTY_TYPE_DOUBLE = DBUS_TYPE_DOUBLE, + + /** Type for boolean property */ + LIBHAL_PROPERTY_TYPE_BOOLEAN = DBUS_TYPE_BOOLEAN, + + /** Type for UTF-8 string property */ + LIBHAL_PROPERTY_TYPE_STRING = DBUS_TYPE_STRING, + + /** Type for list of UTF-8 strings property */ + LIBHAL_PROPERTY_TYPE_STRLIST = ((int) (DBUS_TYPE_STRING<<8)+('l')) +} LibHalPropertyType; + + +LibHalContext +typedef struct LibHalContext_s LibHalContext; + + +LibHalIntegrateDBusIntoMainLoop +void +LibHalContext *ctx, + DBusConnection *dbus_connection + + +LibHalDeviceAdded +void +LibHalContext *ctx, + const char *udi + + +LibHalDeviceRemoved +void +LibHalContext *ctx, + const char *udi + + +LibHalDeviceNewCapability +void +LibHalContext *ctx, + const char *udi, + const char *capability + + +LibHalDeviceLostCapability +void +LibHalContext *ctx, + const char *udi, + const char *capability + + +LibHalDevicePropertyModified +void +LibHalContext *ctx, + const char *udi, + const char *key, + dbus_bool_t is_removed, + dbus_bool_t is_added + + +LibHalDeviceCondition +void +LibHalContext *ctx, + const char *udi, + const char *condition_name, + const char *condition_detail + + +LibHalGlobalInterfaceLockAcquired +void +LibHalContext *ctx, + const char *interface_name, + const char *lock_owner, + int num_locks + + +LibHalGlobalInterfaceLockReleased +void +LibHalContext *ctx, + const char *interface_name, + const char *lock_owner, + int num_locks + + +LibHalInterfaceLockAcquired +void +LibHalContext *ctx, + const char *udi, + const char *interface_name, + const char *lock_owner, + int num_locks + + +LibHalInterfaceLockReleased +void +LibHalContext *ctx, + const char *udi, + const char *interface_name, + const char *lock_owner, + int num_locks + + +libhal_ctx_new +LibHalContext * +void + + +libhal_ctx_set_cache +dbus_bool_t +LibHalContext *ctx, dbus_bool_t use_cache + + +libhal_ctx_set_dbus_connection +dbus_bool_t +LibHalContext *ctx, DBusConnection *conn + + +libhal_ctx_get_dbus_connection +DBusConnection * +LibHalContext *ctx + + +libhal_ctx_set_user_data +dbus_bool_t +LibHalContext *ctx, void *user_data + + +libhal_ctx_get_user_data +void* +LibHalContext *ctx + + +libhal_ctx_set_device_added +dbus_bool_t +LibHalContext *ctx, LibHalDeviceAdded callback + + +libhal_ctx_set_device_removed +dbus_bool_t +LibHalContext *ctx, LibHalDeviceRemoved callback + + +libhal_ctx_set_device_new_capability +dbus_bool_t +LibHalContext *ctx, LibHalDeviceNewCapability callback + + +libhal_ctx_set_device_lost_capability +dbus_bool_t +LibHalContext *ctx, LibHalDeviceLostCapability callback + + +libhal_ctx_set_device_property_modified +dbus_bool_t +LibHalContext *ctx, LibHalDevicePropertyModified callback + + +libhal_ctx_set_device_condition +dbus_bool_t +LibHalContext *ctx, LibHalDeviceCondition callback + + +libhal_ctx_set_global_interface_lock_acquired +dbus_bool_t +LibHalContext *ctx, LibHalGlobalInterfaceLockAcquired callback + + +libhal_ctx_set_global_interface_lock_released +dbus_bool_t +LibHalContext *ctx, LibHalGlobalInterfaceLockReleased callback + + +libhal_ctx_set_interface_lock_acquired +dbus_bool_t +LibHalContext *ctx, LibHalInterfaceLockAcquired callback + + +libhal_ctx_set_interface_lock_released +dbus_bool_t +LibHalContext *ctx, LibHalInterfaceLockReleased callback + + +libhal_ctx_init +dbus_bool_t +LibHalContext *ctx, DBusError *error + + +libhal_ctx_shutdown +dbus_bool_t +LibHalContext *ctx, DBusError *error + + +libhal_ctx_free +dbus_bool_t +LibHalContext *ctx + + +libhal_ctx_init_direct +LibHalContext * +DBusError *error + + +libhal_get_all_devices +char ** +LibHalContext *ctx, int *num_devices, DBusError *error + + +libhal_device_exists +dbus_bool_t +LibHalContext *ctx, const char *udi, DBusError *error + + +libhal_device_print +dbus_bool_t +LibHalContext *ctx, const char *udi, DBusError *error + + +libhal_device_property_exists +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *key,DBusError *error + + +libhal_device_get_property_string +char * +LibHalContext *ctx,const char *udi,const char *key,DBusError *error + + +libhal_device_get_property_int +dbus_int32_t +LibHalContext *ctx,const char *udi,const char *key,DBusError *error + + +libhal_device_get_property_uint64 +dbus_uint64_t +LibHalContext *ctx,const char *udi,const char *key,DBusError *error + + +libhal_device_get_property_double +double +LibHalContext *ctx,const char *udi,const char *key,DBusError *error + + +libhal_device_get_property_bool +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *key,DBusError *error + + +libhal_device_get_property_strlist +char ** +LibHalContext *ctx,const char *udi,const char *key,DBusError *error + + +libhal_device_set_property_string +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *key,const char *value,DBusError *error + + +libhal_device_set_property_int +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *key,dbus_int32_t value,DBusError *error + + +libhal_device_set_property_uint64 +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *key,dbus_uint64_t value,DBusError *error + + +libhal_device_set_property_double +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *key,double value,DBusError *error + + +libhal_device_set_property_bool +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *key,dbus_bool_t value,DBusError *error + + +libhal_device_property_strlist_append +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *key,const char *value,DBusError *error + + +libhal_device_property_strlist_prepend +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *key,const char *value,DBusError *error + + +libhal_device_property_strlist_remove_index +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *key,unsigned int idx,DBusError *error + + +libhal_device_property_strlist_remove +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *key,const char *value,DBusError *error + + +libhal_device_remove_property +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *key,DBusError *error + + +libhal_device_get_property_type +LibHalPropertyType +LibHalContext *ctx,const char *udi,const char *key,DBusError *error + + +LibHalChangeSet_s +struct LibHalChangeSet_s; + + +LibHalChangeSet +typedef struct LibHalChangeSet_s LibHalChangeSet; + + +libhal_device_new_changeset +LibHalChangeSet * +const char *udi + + +libhal_changeset_set_property_string +dbus_bool_t +LibHalChangeSet *changeset,const char *key,const char *value + + +libhal_changeset_set_property_int +dbus_bool_t +LibHalChangeSet *changeset,const char *key,dbus_int32_t value + + +libhal_changeset_set_property_uint64 +dbus_bool_t +LibHalChangeSet *changeset,const char *key,dbus_uint64_t value + + +libhal_changeset_set_property_double +dbus_bool_t +LibHalChangeSet *changeset,const char *key,double value + + +libhal_changeset_set_property_bool +dbus_bool_t +LibHalChangeSet *changeset,const char *key,dbus_bool_t value + + +libhal_changeset_set_property_strlist +dbus_bool_t +LibHalChangeSet *changeset,const char *key,const char **value + + +libhal_device_commit_changeset +dbus_bool_t +LibHalContext *ctx,LibHalChangeSet *changeset,DBusError *error + + +libhal_device_free_changeset +void +LibHalChangeSet *changeset + + +LibHalProperty_s +struct LibHalProperty_s; + + +LibHalProperty +typedef struct LibHalProperty_s LibHalProperty; + + +LibHalPropertySet_s +struct LibHalPropertySet_s; + + +LibHalPropertySet +typedef struct LibHalPropertySet_s LibHalPropertySet; + + +libhal_device_get_all_properties +LibHalPropertySet * +LibHalContext *ctx,const char *udi,DBusError *error + + +libhal_property_set_sort +void +LibHalPropertySet *set + + +libhal_free_property_set +void +LibHalPropertySet *set + + +libhal_property_set_get_num_elems +unsigned int +LibHalPropertySet *set + + +LibHalPropertySetIterator_s +struct LibHalPropertySetIterator_s { + LibHalPropertySet *set; /**< Property set we are iterating over */ + unsigned int idx; /**< Index into current element */ + LibHalProperty *cur_prop; /**< Current property being visited */ + void *reservered0; /**< Reserved for future use */ + void *reservered1; /**< Reserved for future use */ +}; + + +LibHalPropertySetIterator +typedef struct LibHalPropertySetIterator_s LibHalPropertySetIterator; + + +libhal_psi_init +void +LibHalPropertySetIterator *iter, LibHalPropertySet *set + + +libhal_psi_has_more +dbus_bool_t +LibHalPropertySetIterator *iter + + +libhal_psi_next +void +LibHalPropertySetIterator *iter + + +libhal_psi_get_type +LibHalPropertyType +LibHalPropertySetIterator *iter + + +libhal_psi_get_key +char * +LibHalPropertySetIterator *iter + + +libhal_psi_get_string +char * +LibHalPropertySetIterator *iter + + +libhal_psi_get_int +dbus_int32_t +LibHalPropertySetIterator *iter + + +libhal_psi_get_uint64 +dbus_uint64_t +LibHalPropertySetIterator *iter + + +libhal_psi_get_double +double +LibHalPropertySetIterator *iter + + +libhal_psi_get_bool +dbus_bool_t +LibHalPropertySetIterator *iter + + +libhal_psi_get_strlist +char ** +LibHalPropertySetIterator *iter + + +libhal_string_array_length +unsigned int +char **str_array + + +libhal_free_string_array +void +char **str_array + + +libhal_free_string +void +char *str + + +libhal_new_device +char * +LibHalContext *ctx, DBusError *error + + +libhal_device_commit_to_gdl +dbus_bool_t +LibHalContext *ctx,const char *temp_udi,const char *udi,DBusError *error + + +libhal_remove_device +dbus_bool_t +LibHalContext *ctx,const char *udi,DBusError *error + + +libhal_merge_properties +dbus_bool_t +LibHalContext *ctx,const char *target_udi,const char *source_udi,DBusError *error + + +libhal_device_matches +dbus_bool_t +LibHalContext *ctx,const char *udi1,const char *udi2,const char *property_namespace,DBusError *error + + +libhal_manager_find_device_string_match +char ** +LibHalContext *ctx,const char *key,const char *value,int *num_devices,DBusError *error + + +libhal_device_add_capability +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *capability,DBusError *error + + +libhal_device_query_capability +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *capability,DBusError *error + + +libhal_find_device_by_capability +char ** +LibHalContext *ctx,const char *capability,int *num_devices,DBusError *error + + +libhal_device_property_watch_all +dbus_bool_t +LibHalContext *ctx,DBusError *error + + +libhal_device_add_property_watch +dbus_bool_t +LibHalContext *ctx,const char *udi,DBusError *error + + +libhal_device_remove_property_watch +dbus_bool_t +LibHalContext *ctx,const char *udi,DBusError *error + + +libhal_device_lock +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *reason_to_lock,char **reason_why_locked,DBusError *error + + +libhal_device_unlock +dbus_bool_t +LibHalContext *ctx,const char *udi,DBusError *error + + +libhal_device_rescan +dbus_bool_t +LibHalContext *ctx,const char *udi,DBusError *error + + +libhal_device_reprobe +dbus_bool_t +LibHalContext *ctx,const char *udi,DBusError *error + + +libhal_device_emit_condition +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *condition_name,const char *condition_details,DBusError *error + + +libhal_device_claim_interface +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *interface_name,const char *introspection_xml,DBusError *error + + +libhal_device_addon_is_ready +dbus_bool_t +LibHalContext *ctx, const char *udi, DBusError *error + + +libhal_device_acquire_interface_lock +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *interface,dbus_bool_t exclusive,DBusError *error + + +libhal_device_release_interface_lock +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *interface,DBusError *error + + +libhal_acquire_global_interface_lock +dbus_bool_t +LibHalContext *ctx,const char *interface,dbus_bool_t exclusive,DBusError *error + + +libhal_release_global_interface_lock +dbus_bool_t +LibHalContext *ctx,const char *interface,DBusError *error + + +libhal_device_is_caller_locked_out +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *interface,const char *caller,DBusError *error + + +libhal_device_is_locked_by_others +dbus_bool_t +LibHalContext *ctx,const char *udi,const char *interface,DBusError *error + --- hal-0.5.9.1.orig/doc/api/libhal/html/index.html +++ hal-0.5.9.1/doc/api/libhal/html/index.html @@ -28,7 +28,7 @@

-

+

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later --- hal-0.5.9.1.orig/doc/api/libhal/html/libhal-libhal.html +++ hal-0.5.9.1/doc/api/libhal/html/libhal-libhal.html @@ -23,16 +23,16 @@ HAL Client Library Reference Manual Next -Top +Top  |  - Description + Description

@@ -385,26 +385,26 @@
-

Description

+

Description

-

Details

+

Details

-

+

LIBHAL_DEPRECATED

-
#define             LIBHAL_DEPRECATED
+
#define             LIBHAL_DEPRECATED


-

+

LIBHAL_FREE_DBUS_ERROR()

-
#define             LIBHAL_FREE_DBUS_ERROR(_dbus_error_)
+
#define             LIBHAL_FREE_DBUS_ERROR(_dbus_error_)

@@ -421,9 +421,9 @@

-

+

LIBHAL_CHECK_LIBHALCONTEXT()

-
#define             LIBHAL_CHECK_LIBHALCONTEXT(_ctx_, _ret_)
+
#define             LIBHAL_CHECK_LIBHALCONTEXT(_ctx_, _ret_)

Handy macro for checking whether a context is valid.

@@ -447,9 +447,9 @@


-

+

enum LibHalPropertyType

-
typedef enum {
+
typedef enum {
         /** Used to report error condition */
 	LIBHAL_PROPERTY_TYPE_INVALID =    DBUS_TYPE_INVALID,
 
@@ -480,9 +480,9 @@
 

-

+

LibHalContext

-
typedef struct LibHalContext_s LibHalContext;
+
typedef struct LibHalContext_s LibHalContext;
 

Context for connection to the HAL daemon. Opaque, use the @@ -493,9 +493,9 @@


-

+

LibHalIntegrateDBusIntoMainLoop ()

-
void                (*LibHalIntegrateDBusIntoMainLoop)  (LibHalContext *ctx,
+
void                (*LibHalIntegrateDBusIntoMainLoop)  (LibHalContext *ctx,
                                                          DBusConnection *dbus_connection);

Type for function in application code that integrates a @@ -521,9 +521,9 @@


-

+

LibHalDeviceAdded ()

-
void                (*LibHalDeviceAdded)                (LibHalContext *ctx,
+
void                (*LibHalDeviceAdded)                (LibHalContext *ctx,
                                                          const char *udi);

Type for callback when a device is added.

@@ -548,9 +548,9 @@

-

+

LibHalDeviceRemoved ()

-
void                (*LibHalDeviceRemoved)              (LibHalContext *ctx,
+
void                (*LibHalDeviceRemoved)              (LibHalContext *ctx,
                                                          const char *udi);

Type for callback when a device is removed.

@@ -575,9 +575,9 @@

-

+

LibHalDeviceNewCapability ()

-
void                (*LibHalDeviceNewCapability)        (LibHalContext *ctx,
+
void                (*LibHalDeviceNewCapability)        (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *capability);

@@ -608,9 +608,9 @@


-

+

LibHalDeviceLostCapability ()

-
void                (*LibHalDeviceLostCapability)       (LibHalContext *ctx,
+
void                (*LibHalDeviceLostCapability)       (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *capability);

@@ -641,9 +641,9 @@


-

+

LibHalDevicePropertyModified ()

-
void                (*LibHalDevicePropertyModified)     (LibHalContext *ctx,
+
void                (*LibHalDevicePropertyModified)     (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          dbus_bool_t is_removed,
@@ -686,9 +686,9 @@
 

-

+

LibHalDeviceCondition ()

-
void                (*LibHalDeviceCondition)            (LibHalContext *ctx,
+
void                (*LibHalDeviceCondition)            (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *condition_name,
                                                          const char *condition_detail);
@@ -725,9 +725,9 @@

-

+

LibHalGlobalInterfaceLockAcquired ()

-
void                (*LibHalGlobalInterfaceLockAcquired)
+
void                (*LibHalGlobalInterfaceLockAcquired)
                                                         (LibHalContext *ctx,
                                                          const char *interface_name,
                                                          const char *lock_owner,
@@ -765,9 +765,9 @@
 

-

+

LibHalGlobalInterfaceLockReleased ()

-
void                (*LibHalGlobalInterfaceLockReleased)
+
void                (*LibHalGlobalInterfaceLockReleased)
                                                         (LibHalContext *ctx,
                                                          const char *interface_name,
                                                          const char *lock_owner,
@@ -805,9 +805,9 @@
 

-

+

LibHalInterfaceLockAcquired ()

-
void                (*LibHalInterfaceLockAcquired)      (LibHalContext *ctx,
+
void                (*LibHalInterfaceLockAcquired)      (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *interface_name,
                                                          const char *lock_owner,
@@ -850,9 +850,9 @@
 

-

+

LibHalInterfaceLockReleased ()

-
void                (*LibHalInterfaceLockReleased)      (LibHalContext *ctx,
+
void                (*LibHalInterfaceLockReleased)      (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *interface_name,
                                                          const char *lock_owner,
@@ -895,9 +895,9 @@
 

-

+

libhal_ctx_new ()

-
LibHalContext*      libhal_ctx_new                      (void);
+
LibHalContext*      libhal_ctx_new                      (void);

Create a new LibHalContext

@@ -914,9 +914,9 @@


-

+

libhal_ctx_set_cache ()

-
dbus_bool_t         libhal_ctx_set_cache                (LibHalContext *ctx,
+
dbus_bool_t         libhal_ctx_set_cache                (LibHalContext *ctx,
                                                          dbus_bool_t use_cache);

Enable or disable caching. Note: Caching is not actually @@ -947,9 +947,9 @@


-

+

libhal_ctx_set_dbus_connection ()

-
dbus_bool_t         libhal_ctx_set_dbus_connection      (LibHalContext *ctx,
+
dbus_bool_t         libhal_ctx_set_dbus_connection      (LibHalContext *ctx,
                                                          DBusConnection *conn);

Set DBus connection to use to talk to hald.

@@ -979,9 +979,9 @@

-

+

libhal_ctx_get_dbus_connection ()

-
DBusConnection*     libhal_ctx_get_dbus_connection      (LibHalContext *ctx);
+
DBusConnection*     libhal_ctx_get_dbus_connection      (LibHalContext *ctx);

Get DBus connection used for talking to hald.

@@ -1005,9 +1005,9 @@


-

+

libhal_ctx_set_user_data ()

-
dbus_bool_t         libhal_ctx_set_user_data            (LibHalContext *ctx,
+
dbus_bool_t         libhal_ctx_set_user_data            (LibHalContext *ctx,
                                                          void *user_data);

Set user data for the context.

@@ -1037,9 +1037,9 @@

-

+

libhal_ctx_get_user_data ()

-
void*               libhal_ctx_get_user_data            (LibHalContext *ctx);
+
void*               libhal_ctx_get_user_data            (LibHalContext *ctx);

Get user data for the context.

@@ -1063,9 +1063,9 @@


-

+

libhal_ctx_set_device_added ()

-
dbus_bool_t         libhal_ctx_set_device_added         (LibHalContext *ctx,
+
dbus_bool_t         libhal_ctx_set_device_added         (LibHalContext *ctx,
                                                          LibHalDeviceAdded callback);

Set the callback for when a device is added

@@ -1095,9 +1095,9 @@

-

+

libhal_ctx_set_device_removed ()

-
dbus_bool_t         libhal_ctx_set_device_removed       (LibHalContext *ctx,
+
dbus_bool_t         libhal_ctx_set_device_removed       (LibHalContext *ctx,
                                                          LibHalDeviceRemoved callback);

Set the callback for when a device is removed.

@@ -1127,9 +1127,9 @@

-

+

libhal_ctx_set_device_new_capability ()

-
dbus_bool_t         libhal_ctx_set_device_new_capability
+
dbus_bool_t         libhal_ctx_set_device_new_capability
                                                         (LibHalContext *ctx,
                                                          LibHalDeviceNewCapability callback);

@@ -1160,9 +1160,9 @@


-

+

libhal_ctx_set_device_lost_capability ()

-
dbus_bool_t         libhal_ctx_set_device_lost_capability
+
dbus_bool_t         libhal_ctx_set_device_lost_capability
                                                         (LibHalContext *ctx,
                                                          LibHalDeviceLostCapability callback);

@@ -1193,9 +1193,9 @@


-

+

libhal_ctx_set_device_property_modified ()

-
dbus_bool_t         libhal_ctx_set_device_property_modified
+
dbus_bool_t         libhal_ctx_set_device_property_modified
                                                         (LibHalContext *ctx,
                                                          LibHalDevicePropertyModified callback);

@@ -1226,9 +1226,9 @@


-

+

libhal_ctx_set_device_condition ()

-
dbus_bool_t         libhal_ctx_set_device_condition     (LibHalContext *ctx,
+
dbus_bool_t         libhal_ctx_set_device_condition     (LibHalContext *ctx,
                                                          LibHalDeviceCondition callback);

Set the callback for when a device emits a condition

@@ -1258,9 +1258,9 @@

-

+

libhal_ctx_set_global_interface_lock_acquired ()

-
dbus_bool_t         libhal_ctx_set_global_interface_lock_acquired
+
dbus_bool_t         libhal_ctx_set_global_interface_lock_acquired
                                                         (LibHalContext *ctx,
                                                          LibHalGlobalInterfaceLockAcquired callback);

@@ -1291,9 +1291,9 @@


-

+

libhal_ctx_set_global_interface_lock_released ()

-
dbus_bool_t         libhal_ctx_set_global_interface_lock_released
+
dbus_bool_t         libhal_ctx_set_global_interface_lock_released
                                                         (LibHalContext *ctx,
                                                          LibHalGlobalInterfaceLockReleased callback);

@@ -1324,9 +1324,9 @@


-

+

libhal_ctx_set_interface_lock_acquired ()

-
dbus_bool_t         libhal_ctx_set_interface_lock_acquired
+
dbus_bool_t         libhal_ctx_set_interface_lock_acquired
                                                         (LibHalContext *ctx,
                                                          LibHalInterfaceLockAcquired callback);

@@ -1357,9 +1357,9 @@


-

+

libhal_ctx_set_interface_lock_released ()

-
dbus_bool_t         libhal_ctx_set_interface_lock_released
+
dbus_bool_t         libhal_ctx_set_interface_lock_released
                                                         (LibHalContext *ctx,
                                                          LibHalInterfaceLockReleased callback);

@@ -1390,9 +1390,9 @@


-

+

libhal_ctx_init ()

-
dbus_bool_t         libhal_ctx_init                     (LibHalContext *ctx,
+
dbus_bool_t         libhal_ctx_init                     (LibHalContext *ctx,
                                                          DBusError *error);

Initialize the connection to hald.

@@ -1422,9 +1422,9 @@

-

+

libhal_ctx_shutdown ()

-
dbus_bool_t         libhal_ctx_shutdown                 (LibHalContext *ctx,
+
dbus_bool_t         libhal_ctx_shutdown                 (LibHalContext *ctx,
                                                          DBusError *error);

Shut down a connection to hald.

@@ -1454,9 +1454,9 @@

-

+

libhal_ctx_free ()

-
dbus_bool_t         libhal_ctx_free                     (LibHalContext *ctx);
+
dbus_bool_t         libhal_ctx_free                     (LibHalContext *ctx);

Free a LibHalContext resource.

@@ -1480,9 +1480,9 @@


-

+

libhal_ctx_init_direct ()

-
LibHalContext*      libhal_ctx_init_direct              (DBusError *error);
+
LibHalContext*      libhal_ctx_init_direct              (DBusError *error);

Create an already initialized connection to hald. This function should only be used by HAL helpers.

@@ -1506,9 +1506,9 @@


-

+

libhal_get_all_devices ()

-
char**              libhal_get_all_devices              (LibHalContext *ctx,
+
char**              libhal_get_all_devices              (LibHalContext *ctx,
                                                          int *num_devices,
                                                          DBusError *error);

@@ -1546,9 +1546,9 @@


-

+

libhal_device_exists ()

-
dbus_bool_t         libhal_device_exists                (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_exists                (LibHalContext *ctx,
                                                          const char *udi,
                                                          DBusError *error);

@@ -1584,9 +1584,9 @@


-

+

libhal_device_print ()

-
dbus_bool_t         libhal_device_print                 (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_print                 (LibHalContext *ctx,
                                                          const char *udi,
                                                          DBusError *error);

@@ -1622,9 +1622,9 @@


-

+

libhal_device_property_exists ()

-
dbus_bool_t         libhal_device_property_exists       (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_property_exists       (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          DBusError *error);
@@ -1666,9 +1666,9 @@

-

+

libhal_device_get_property_string ()

-
char*               libhal_device_get_property_string   (LibHalContext *ctx,
+
char*               libhal_device_get_property_string   (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          DBusError *error);
@@ -1712,9 +1712,9 @@

-

+

libhal_device_get_property_int ()

-
dbus_int32_t        libhal_device_get_property_int      (LibHalContext *ctx,
+
dbus_int32_t        libhal_device_get_property_int      (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          DBusError *error);
@@ -1756,9 +1756,9 @@

-

+

libhal_device_get_property_uint64 ()

-
dbus_uint64_t       libhal_device_get_property_uint64   (LibHalContext *ctx,
+
dbus_uint64_t       libhal_device_get_property_uint64   (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          DBusError *error);
@@ -1800,9 +1800,9 @@

-

+

libhal_device_get_property_double ()

-
double              libhal_device_get_property_double   (LibHalContext *ctx,
+
double              libhal_device_get_property_double   (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          DBusError *error);
@@ -1844,9 +1844,9 @@

-

+

libhal_device_get_property_bool ()

-
dbus_bool_t         libhal_device_get_property_bool     (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_get_property_bool     (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          DBusError *error);
@@ -1888,9 +1888,9 @@

-

+

libhal_device_get_property_strlist ()

-
char**              libhal_device_get_property_strlist  (LibHalContext *ctx,
+
char**              libhal_device_get_property_strlist  (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          DBusError *error);
@@ -1935,9 +1935,9 @@

-

+

libhal_device_set_property_string ()

-
dbus_bool_t         libhal_device_set_property_string   (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_set_property_string   (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          const char *value,
@@ -1986,9 +1986,9 @@
 

-

+

libhal_device_set_property_int ()

-
dbus_bool_t         libhal_device_set_property_int      (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_set_property_int      (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          dbus_int32_t value,
@@ -2037,9 +2037,9 @@
 

-

+

libhal_device_set_property_uint64 ()

-
dbus_bool_t         libhal_device_set_property_uint64   (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_set_property_uint64   (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          dbus_uint64_t value,
@@ -2088,9 +2088,9 @@
 

-

+

libhal_device_set_property_double ()

-
dbus_bool_t         libhal_device_set_property_double   (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_set_property_double   (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          double value,
@@ -2139,9 +2139,9 @@
 

-

+

libhal_device_set_property_bool ()

-
dbus_bool_t         libhal_device_set_property_bool     (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_set_property_bool     (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          dbus_bool_t value,
@@ -2190,9 +2190,9 @@
 

-

+

libhal_device_property_strlist_append ()

-
dbus_bool_t         libhal_device_property_strlist_append
+
dbus_bool_t         libhal_device_property_strlist_append
                                                         (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
@@ -2242,9 +2242,9 @@
 

-

+

libhal_device_property_strlist_prepend ()

-
dbus_bool_t         libhal_device_property_strlist_prepend
+
dbus_bool_t         libhal_device_property_strlist_prepend
                                                         (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
@@ -2294,9 +2294,9 @@
 

-

+

libhal_device_property_strlist_remove_index ()

-
dbus_bool_t         libhal_device_property_strlist_remove_index
+
dbus_bool_t         libhal_device_property_strlist_remove_index
                                                         (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
@@ -2346,9 +2346,9 @@
 

-

+

libhal_device_property_strlist_remove ()

-
dbus_bool_t         libhal_device_property_strlist_remove
+
dbus_bool_t         libhal_device_property_strlist_remove
                                                         (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
@@ -2398,9 +2398,9 @@
 

-

+

libhal_device_remove_property ()

-
dbus_bool_t         libhal_device_remove_property       (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_remove_property       (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          DBusError *error);
@@ -2443,9 +2443,9 @@

-

+

libhal_device_get_property_type ()

-
LibHalPropertyType  libhal_device_get_property_type     (LibHalContext *ctx,
+
LibHalPropertyType  libhal_device_get_property_type     (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *key,
                                                          DBusError *error);
@@ -2488,18 +2488,18 @@

-

+

struct LibHalChangeSet_s

-
struct LibHalChangeSet_s;
+
struct LibHalChangeSet_s;


-

+

LibHalChangeSet

-
typedef struct LibHalChangeSet_s LibHalChangeSet;
+
typedef struct LibHalChangeSet_s LibHalChangeSet;
 

@@ -2507,9 +2507,9 @@


-

+

libhal_device_new_changeset ()

-
LibHalChangeSet*    libhal_device_new_changeset         (const char *udi);
+
LibHalChangeSet*    libhal_device_new_changeset         (const char *udi);

Request a new changeset object. Used for changing multiple properties at once. Useful when performance is critical and also for atomically updating several properties.

@@ -2534,9 +2534,9 @@

-

+

libhal_changeset_set_property_string ()

-
dbus_bool_t         libhal_changeset_set_property_string
+
dbus_bool_t         libhal_changeset_set_property_string
                                                         (LibHalChangeSet *changeset,
                                                          const char *key,
                                                          const char *value);
@@ -2573,9 +2573,9 @@

-

+

libhal_changeset_set_property_int ()

-
dbus_bool_t         libhal_changeset_set_property_int   (LibHalChangeSet *changeset,
+
dbus_bool_t         libhal_changeset_set_property_int   (LibHalChangeSet *changeset,
                                                          const char *key,
                                                          dbus_int32_t value);

@@ -2611,9 +2611,9 @@


-

+

libhal_changeset_set_property_uint64 ()

-
dbus_bool_t         libhal_changeset_set_property_uint64
+
dbus_bool_t         libhal_changeset_set_property_uint64
                                                         (LibHalChangeSet *changeset,
                                                          const char *key,
                                                          dbus_uint64_t value);
@@ -2650,9 +2650,9 @@

-

+

libhal_changeset_set_property_double ()

-
dbus_bool_t         libhal_changeset_set_property_double
+
dbus_bool_t         libhal_changeset_set_property_double
                                                         (LibHalChangeSet *changeset,
                                                          const char *key,
                                                          double value);
@@ -2689,9 +2689,9 @@

-

+

libhal_changeset_set_property_bool ()

-
dbus_bool_t         libhal_changeset_set_property_bool  (LibHalChangeSet *changeset,
+
dbus_bool_t         libhal_changeset_set_property_bool  (LibHalChangeSet *changeset,
                                                          const char *key,
                                                          dbus_bool_t value);

@@ -2727,9 +2727,9 @@


-

+

libhal_changeset_set_property_strlist ()

-
dbus_bool_t         libhal_changeset_set_property_strlist
+
dbus_bool_t         libhal_changeset_set_property_strlist
                                                         (LibHalChangeSet *changeset,
                                                          const char *key,
                                                          const char **value);
@@ -2766,9 +2766,9 @@

-

+

libhal_device_commit_changeset ()

-
dbus_bool_t         libhal_device_commit_changeset      (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_commit_changeset      (LibHalContext *ctx,
                                                          LibHalChangeSet *changeset,
                                                          DBusError *error);

@@ -2804,9 +2804,9 @@


-

+

libhal_device_free_changeset ()

-
void                libhal_device_free_changeset        (LibHalChangeSet *changeset);
+
void                libhal_device_free_changeset        (LibHalChangeSet *changeset);

Free a changeset.

@@ -2823,18 +2823,18 @@


-

+

struct LibHalProperty_s

-
struct LibHalProperty_s;
+
struct LibHalProperty_s;


-

+

LibHalProperty

-
typedef struct LibHalProperty_s LibHalProperty;
+
typedef struct LibHalProperty_s LibHalProperty;
 

Represents a property. Opaque.

@@ -2844,18 +2844,18 @@

-

+

struct LibHalPropertySet_s

-
struct LibHalPropertySet_s;
+
struct LibHalPropertySet_s;


-

+

LibHalPropertySet

-
typedef struct LibHalPropertySet_s LibHalPropertySet;
+
typedef struct LibHalPropertySet_s LibHalPropertySet;
 

Represents a set of properties. Opaque; use the @@ -2866,9 +2866,9 @@


-

+

libhal_device_get_all_properties ()

-
LibHalPropertySet*  libhal_device_get_all_properties    (LibHalContext *ctx,
+
LibHalPropertySet*  libhal_device_get_all_properties    (LibHalContext *ctx,
                                                          const char *udi,
                                                          DBusError *error);

@@ -2904,9 +2904,9 @@


-

+

libhal_property_set_sort ()

-
void                libhal_property_set_sort            (LibHalPropertySet *set);
+
void                libhal_property_set_sort            (LibHalPropertySet *set);

Sort all properties according to property name.

@@ -2923,9 +2923,9 @@


-

+

libhal_free_property_set ()

-
void                libhal_free_property_set            (LibHalPropertySet *set);
+
void                libhal_free_property_set            (LibHalPropertySet *set);

Free a property set earlier obtained with libhal_device_get_all_properties().

@@ -2942,9 +2942,9 @@


-

+

libhal_property_set_get_num_elems ()

-
unsigned int        libhal_property_set_get_num_elems   (LibHalPropertySet *set);
+
unsigned int        libhal_property_set_get_num_elems   (LibHalPropertySet *set);

Get the number of properties in a property set.

@@ -2968,9 +2968,9 @@


-

+

struct LibHalPropertySetIterator_s

-
struct LibHalPropertySetIterator_s {
+
struct LibHalPropertySetIterator_s {
 	LibHalPropertySet *set;    /**< Property set we are iterating over */
 	unsigned int idx;          /**< Index into current element */
 	LibHalProperty *cur_prop;  /**< Current property being visited */
@@ -2984,9 +2984,9 @@
 

-

+

LibHalPropertySetIterator

-
typedef struct LibHalPropertySetIterator_s LibHalPropertySetIterator;
+
typedef struct LibHalPropertySetIterator_s LibHalPropertySetIterator;
 

Iterator for inspecting all properties. Do not access any members; @@ -2997,9 +2997,9 @@


-

+

libhal_psi_init ()

-
void                libhal_psi_init                     (LibHalPropertySetIterator *iter,
+
void                libhal_psi_init                     (LibHalPropertySetIterator *iter,
                                                          LibHalPropertySet *set);

Initialize a property set iterator.

@@ -3024,9 +3024,9 @@

-

+

libhal_psi_has_more ()

-
dbus_bool_t         libhal_psi_has_more                 (LibHalPropertySetIterator *iter);
+
dbus_bool_t         libhal_psi_has_more                 (LibHalPropertySetIterator *iter);

Determine whether there are more properties to iterate over.

@@ -3050,9 +3050,9 @@


-

+

libhal_psi_next ()

-
void                libhal_psi_next                     (LibHalPropertySetIterator *iter);
+
void                libhal_psi_next                     (LibHalPropertySetIterator *iter);

Advance iterator to next property.

@@ -3069,9 +3069,9 @@


-

+

libhal_psi_get_type ()

-
LibHalPropertyType  libhal_psi_get_type                 (LibHalPropertySetIterator *iter);
+
LibHalPropertyType  libhal_psi_get_type                 (LibHalPropertySetIterator *iter);

Get type of property.

@@ -3095,9 +3095,9 @@


-

+

libhal_psi_get_key ()

-
char*               libhal_psi_get_key                  (LibHalPropertySetIterator *iter);
+
char*               libhal_psi_get_key                  (LibHalPropertySetIterator *iter);

Get the key of a property.

@@ -3123,9 +3123,9 @@


-

+

libhal_psi_get_string ()

-
char*               libhal_psi_get_string               (LibHalPropertySetIterator *iter);
+
char*               libhal_psi_get_string               (LibHalPropertySetIterator *iter);

Get the value of a property of type string.

@@ -3151,9 +3151,9 @@


-

+

libhal_psi_get_int ()

-
dbus_int32_t        libhal_psi_get_int                  (LibHalPropertySetIterator *iter);
+
dbus_int32_t        libhal_psi_get_int                  (LibHalPropertySetIterator *iter);

Get the value of a property of type signed integer.

@@ -3177,9 +3177,9 @@


-

+

libhal_psi_get_uint64 ()

-
dbus_uint64_t       libhal_psi_get_uint64               (LibHalPropertySetIterator *iter);
+
dbus_uint64_t       libhal_psi_get_uint64               (LibHalPropertySetIterator *iter);

Get the value of a property of type unsigned integer.

@@ -3203,9 +3203,9 @@


-

+

libhal_psi_get_double ()

-
double              libhal_psi_get_double               (LibHalPropertySetIterator *iter);
+
double              libhal_psi_get_double               (LibHalPropertySetIterator *iter);

Get the value of a property of type double.

@@ -3229,9 +3229,9 @@


-

+

libhal_psi_get_bool ()

-
dbus_bool_t         libhal_psi_get_bool                 (LibHalPropertySetIterator *iter);
+
dbus_bool_t         libhal_psi_get_bool                 (LibHalPropertySetIterator *iter);

Get the value of a property of type bool.

@@ -3255,9 +3255,9 @@


-

+

libhal_psi_get_strlist ()

-
char**              libhal_psi_get_strlist              (LibHalPropertySetIterator *iter);
+
char**              libhal_psi_get_strlist              (LibHalPropertySetIterator *iter);

Get the value of a property of type string list.

@@ -3281,9 +3281,9 @@


-

+

libhal_string_array_length ()

-
unsigned int        libhal_string_array_length          (char **str_array);
+
unsigned int        libhal_string_array_length          (char **str_array);

Get the length of an array of strings.

@@ -3307,9 +3307,9 @@


-

+

libhal_free_string_array ()

-
void                libhal_free_string_array            (char **str_array);
+
void                libhal_free_string_array            (char **str_array);

Frees a NULL-terminated array of strings. If passed NULL, does nothing.

@@ -3326,9 +3326,9 @@


-

+

libhal_free_string ()

-
void                libhal_free_string                  (char *str);
+
void                libhal_free_string                  (char *str);

Used to free strings returned by libhal.

@@ -3345,9 +3345,9 @@


-

+

libhal_new_device ()

-
char*               libhal_new_device                   (LibHalContext *ctx,
+
char*               libhal_new_device                   (LibHalContext *ctx,
                                                          DBusError *error);

Create a new device object which will be hidden from applications @@ -3381,9 +3381,9 @@


-

+

libhal_device_commit_to_gdl ()

-
dbus_bool_t         libhal_device_commit_to_gdl         (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_commit_to_gdl         (LibHalContext *ctx,
                                                          const char *temp_udi,
                                                          const char *udi,
                                                          DBusError *error);
@@ -3436,9 +3436,9 @@

-

+

libhal_remove_device ()

-
dbus_bool_t         libhal_remove_device                (LibHalContext *ctx,
+
dbus_bool_t         libhal_remove_device                (LibHalContext *ctx,
                                                          const char *udi,
                                                          DBusError *error);

@@ -3480,9 +3480,9 @@


-

+

libhal_merge_properties ()

-
dbus_bool_t         libhal_merge_properties             (LibHalContext *ctx,
+
dbus_bool_t         libhal_merge_properties             (LibHalContext *ctx,
                                                          const char *target_udi,
                                                          const char *source_udi,
                                                          DBusError *error);
@@ -3524,9 +3524,9 @@

-

+

libhal_device_matches ()

-
dbus_bool_t         libhal_device_matches               (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_matches               (LibHalContext *ctx,
                                                          const char *udi1,
                                                          const char *udi2,
                                                          const char *property_namespace,
@@ -3585,9 +3585,9 @@
 

-

+

libhal_manager_find_device_string_match ()

-
char**              libhal_manager_find_device_string_match
+
char**              libhal_manager_find_device_string_match
                                                         (LibHalContext *ctx,
                                                          const char *key,
                                                          const char *value,
@@ -3637,9 +3637,9 @@
 

-

+

libhal_device_add_capability ()

-
dbus_bool_t         libhal_device_add_capability        (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_add_capability        (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *capability,
                                                          DBusError *error);
@@ -3681,9 +3681,9 @@

-

+

libhal_device_query_capability ()

-
dbus_bool_t         libhal_device_query_capability      (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_query_capability      (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *capability,
                                                          DBusError *error);
@@ -3726,9 +3726,9 @@

-

+

libhal_find_device_by_capability ()

-
char**              libhal_find_device_by_capability    (LibHalContext *ctx,
+
char**              libhal_find_device_by_capability    (LibHalContext *ctx,
                                                          const char *capability,
                                                          int *num_devices,
                                                          DBusError *error);
@@ -3770,9 +3770,9 @@

-

+

libhal_device_property_watch_all ()

-
dbus_bool_t         libhal_device_property_watch_all    (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_property_watch_all    (LibHalContext *ctx,
                                                          DBusError *error);

Watch all devices, ie. the device_property_changed callback is @@ -3803,9 +3803,9 @@


-

+

libhal_device_add_property_watch ()

-
dbus_bool_t         libhal_device_add_property_watch    (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_add_property_watch    (LibHalContext *ctx,
                                                          const char *udi,
                                                          DBusError *error);

@@ -3846,9 +3846,9 @@


-

+

libhal_device_remove_property_watch ()

-
dbus_bool_t         libhal_device_remove_property_watch (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_remove_property_watch (LibHalContext *ctx,
                                                          const char *udi,
                                                          DBusError *error);

@@ -3884,9 +3884,9 @@


-

+

libhal_device_lock ()

-
dbus_bool_t         libhal_device_lock                  (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_lock                  (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *reason_to_lock,
                                                          char **reason_why_locked,
@@ -3934,9 +3934,9 @@
 

-

+

libhal_device_unlock ()

-
dbus_bool_t         libhal_device_unlock                (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_unlock                (LibHalContext *ctx,
                                                          const char *udi,
                                                          DBusError *error);

@@ -3973,9 +3973,9 @@


-

+

libhal_device_rescan ()

-
dbus_bool_t         libhal_device_rescan                (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_rescan                (LibHalContext *ctx,
                                                          const char *udi,
                                                          DBusError *error);

@@ -4011,9 +4011,9 @@


-

+

libhal_device_reprobe ()

-
dbus_bool_t         libhal_device_reprobe               (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_reprobe               (LibHalContext *ctx,
                                                          const char *udi,
                                                          DBusError *error);

@@ -4049,9 +4049,9 @@


-

+

libhal_device_emit_condition ()

-
dbus_bool_t         libhal_device_emit_condition        (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_emit_condition        (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *condition_name,
                                                          const char *condition_details,
@@ -4100,9 +4100,9 @@
 

-

+

libhal_device_claim_interface ()

-
dbus_bool_t         libhal_device_claim_interface       (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_claim_interface       (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *interface_name,
                                                          const char *introspection_xml,
@@ -4152,9 +4152,9 @@
 

-

+

libhal_device_addon_is_ready ()

-
dbus_bool_t         libhal_device_addon_is_ready        (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_addon_is_ready        (LibHalContext *ctx,
                                                          const char *udi,
                                                          DBusError *error);

@@ -4194,9 +4194,9 @@


-

+

libhal_device_acquire_interface_lock ()

-
dbus_bool_t         libhal_device_acquire_interface_lock
+
dbus_bool_t         libhal_device_acquire_interface_lock
                                                         (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *interface,
@@ -4245,9 +4245,9 @@
 

-

+

libhal_device_release_interface_lock ()

-
dbus_bool_t         libhal_device_release_interface_lock
+
dbus_bool_t         libhal_device_release_interface_lock
                                                         (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *interface,
@@ -4290,9 +4290,9 @@
 

-

+

libhal_acquire_global_interface_lock ()

-
dbus_bool_t         libhal_acquire_global_interface_lock
+
dbus_bool_t         libhal_acquire_global_interface_lock
                                                         (LibHalContext *ctx,
                                                          const char *interface,
                                                          dbus_bool_t exclusive,
@@ -4335,9 +4335,9 @@
 

-

+

libhal_release_global_interface_lock ()

-
dbus_bool_t         libhal_release_global_interface_lock
+
dbus_bool_t         libhal_release_global_interface_lock
                                                         (LibHalContext *ctx,
                                                          const char *interface,
                                                          DBusError *error);
@@ -4374,9 +4374,9 @@

-

+

libhal_device_is_caller_locked_out ()

-
dbus_bool_t         libhal_device_is_caller_locked_out  (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_is_caller_locked_out  (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *interface,
                                                          const char *caller,
@@ -4426,9 +4426,9 @@
 

-

+

libhal_device_is_locked_by_others ()

-
dbus_bool_t         libhal_device_is_locked_by_others   (LibHalContext *ctx,
+
dbus_bool_t         libhal_device_is_locked_by_others   (LibHalContext *ctx,
                                                          const char *udi,
                                                          const char *interface,
                                                          DBusError *error);
--- hal-0.5.9.1.orig/doc/api/libhal/html/rn01.html +++ hal-0.5.9.1/doc/api/libhal/html/rn01.html @@ -25,7 +25,7 @@

-API Reference

+API Reference

--- hal-0.5.9.1.orig/doc/api/libhal/html/ix01.html +++ hal-0.5.9.1/doc/api/libhal/html/ix01.html @@ -24,243 +24,243 @@

-libhal +libhal

libhal

-Index

+Index

L

-
LibHalChangeSet, LibHalChangeSet +
LibHalChangeSet, LibHalChangeSet
-
LibHalChangeSet_s, struct LibHalChangeSet_s +
LibHalChangeSet_s, struct LibHalChangeSet_s
-
LibHalContext, LibHalContext +
LibHalContext, LibHalContext
-
LibHalDeviceAdded, LibHalDeviceAdded () +
LibHalDeviceAdded, LibHalDeviceAdded ()
-
LibHalDeviceCondition, LibHalDeviceCondition () +
LibHalDeviceCondition, LibHalDeviceCondition ()
-
LibHalDeviceLostCapability, LibHalDeviceLostCapability () +
LibHalDeviceLostCapability, LibHalDeviceLostCapability ()
-
LibHalDeviceNewCapability, LibHalDeviceNewCapability () +
LibHalDeviceNewCapability, LibHalDeviceNewCapability ()
-
LibHalDevicePropertyModified, LibHalDevicePropertyModified () +
LibHalDevicePropertyModified, LibHalDevicePropertyModified ()
-
LibHalDeviceRemoved, LibHalDeviceRemoved () +
LibHalDeviceRemoved, LibHalDeviceRemoved ()
-
LibHalGlobalInterfaceLockAcquired, LibHalGlobalInterfaceLockAcquired () +
LibHalGlobalInterfaceLockAcquired, LibHalGlobalInterfaceLockAcquired ()
-
LibHalGlobalInterfaceLockReleased, LibHalGlobalInterfaceLockReleased () +
LibHalGlobalInterfaceLockReleased, LibHalGlobalInterfaceLockReleased ()
-
LibHalIntegrateDBusIntoMainLoop, LibHalIntegrateDBusIntoMainLoop () +
LibHalIntegrateDBusIntoMainLoop, LibHalIntegrateDBusIntoMainLoop ()
-
LibHalInterfaceLockAcquired, LibHalInterfaceLockAcquired () +
LibHalInterfaceLockAcquired, LibHalInterfaceLockAcquired ()
-
LibHalInterfaceLockReleased, LibHalInterfaceLockReleased () +
LibHalInterfaceLockReleased, LibHalInterfaceLockReleased ()
-
LibHalProperty, LibHalProperty +
LibHalProperty, LibHalProperty
-
LibHalPropertySet, LibHalPropertySet +
LibHalPropertySet, LibHalPropertySet
-
LibHalPropertySetIterator, LibHalPropertySetIterator +
LibHalPropertySetIterator, LibHalPropertySetIterator
-
LibHalPropertySetIterator_s, struct LibHalPropertySetIterator_s +
LibHalPropertySetIterator_s, struct LibHalPropertySetIterator_s
-
LibHalPropertySet_s, struct LibHalPropertySet_s +
LibHalPropertySet_s, struct LibHalPropertySet_s
-
LibHalPropertyType, enum LibHalPropertyType +
LibHalPropertyType, enum LibHalPropertyType
-
LibHalProperty_s, struct LibHalProperty_s +
LibHalProperty_s, struct LibHalProperty_s
-
libhal_acquire_global_interface_lock, libhal_acquire_global_interface_lock () +
libhal_acquire_global_interface_lock, libhal_acquire_global_interface_lock ()
-
libhal_changeset_set_property_bool, libhal_changeset_set_property_bool () +
libhal_changeset_set_property_bool, libhal_changeset_set_property_bool ()
-
libhal_changeset_set_property_double, libhal_changeset_set_property_double () +
libhal_changeset_set_property_double, libhal_changeset_set_property_double ()
-
libhal_changeset_set_property_int, libhal_changeset_set_property_int () +
libhal_changeset_set_property_int, libhal_changeset_set_property_int ()
-
libhal_changeset_set_property_string, libhal_changeset_set_property_string () +
libhal_changeset_set_property_string, libhal_changeset_set_property_string ()
-
libhal_changeset_set_property_strlist, libhal_changeset_set_property_strlist () +
libhal_changeset_set_property_strlist, libhal_changeset_set_property_strlist ()
-
libhal_changeset_set_property_uint64, libhal_changeset_set_property_uint64 () +
libhal_changeset_set_property_uint64, libhal_changeset_set_property_uint64 ()
-
LIBHAL_CHECK_LIBHALCONTEXT, LIBHAL_CHECK_LIBHALCONTEXT() +
LIBHAL_CHECK_LIBHALCONTEXT, LIBHAL_CHECK_LIBHALCONTEXT()
-
libhal_ctx_free, libhal_ctx_free () +
libhal_ctx_free, libhal_ctx_free ()
-
libhal_ctx_get_dbus_connection, libhal_ctx_get_dbus_connection () +
libhal_ctx_get_dbus_connection, libhal_ctx_get_dbus_connection ()
-
libhal_ctx_get_user_data, libhal_ctx_get_user_data () +
libhal_ctx_get_user_data, libhal_ctx_get_user_data ()
-
libhal_ctx_init, libhal_ctx_init () +
libhal_ctx_init, libhal_ctx_init ()
-
libhal_ctx_init_direct, libhal_ctx_init_direct () +
libhal_ctx_init_direct, libhal_ctx_init_direct ()
-
libhal_ctx_new, libhal_ctx_new () +
libhal_ctx_new, libhal_ctx_new ()
-
libhal_ctx_set_cache, libhal_ctx_set_cache () +
libhal_ctx_set_cache, libhal_ctx_set_cache ()
-
libhal_ctx_set_dbus_connection, libhal_ctx_set_dbus_connection () +
libhal_ctx_set_dbus_connection, libhal_ctx_set_dbus_connection ()
-
libhal_ctx_set_device_added, libhal_ctx_set_device_added () +
libhal_ctx_set_device_added, libhal_ctx_set_device_added ()
-
libhal_ctx_set_device_condition, libhal_ctx_set_device_condition () +
libhal_ctx_set_device_condition, libhal_ctx_set_device_condition ()
-
libhal_ctx_set_device_lost_capability, libhal_ctx_set_device_lost_capability () +
libhal_ctx_set_device_lost_capability, libhal_ctx_set_device_lost_capability ()
-
libhal_ctx_set_device_new_capability, libhal_ctx_set_device_new_capability () +
libhal_ctx_set_device_new_capability, libhal_ctx_set_device_new_capability ()
-
libhal_ctx_set_device_property_modified, libhal_ctx_set_device_property_modified () +
libhal_ctx_set_device_property_modified, libhal_ctx_set_device_property_modified ()
-
libhal_ctx_set_device_removed, libhal_ctx_set_device_removed () +
libhal_ctx_set_device_removed, libhal_ctx_set_device_removed ()
-
libhal_ctx_set_global_interface_lock_acquired, libhal_ctx_set_global_interface_lock_acquired () +
libhal_ctx_set_global_interface_lock_acquired, libhal_ctx_set_global_interface_lock_acquired ()
-
libhal_ctx_set_global_interface_lock_released, libhal_ctx_set_global_interface_lock_released () +
libhal_ctx_set_global_interface_lock_released, libhal_ctx_set_global_interface_lock_released ()
-
libhal_ctx_set_interface_lock_acquired, libhal_ctx_set_interface_lock_acquired () +
libhal_ctx_set_interface_lock_acquired, libhal_ctx_set_interface_lock_acquired ()
-
libhal_ctx_set_interface_lock_released, libhal_ctx_set_interface_lock_released () +
libhal_ctx_set_interface_lock_released, libhal_ctx_set_interface_lock_released ()
-
libhal_ctx_set_user_data, libhal_ctx_set_user_data () +
libhal_ctx_set_user_data, libhal_ctx_set_user_data ()
-
libhal_ctx_shutdown, libhal_ctx_shutdown () +
libhal_ctx_shutdown, libhal_ctx_shutdown ()
-
LIBHAL_DEPRECATED, LIBHAL_DEPRECATED +
LIBHAL_DEPRECATED, LIBHAL_DEPRECATED
-
libhal_device_acquire_interface_lock, libhal_device_acquire_interface_lock () +
libhal_device_acquire_interface_lock, libhal_device_acquire_interface_lock ()
-
libhal_device_addon_is_ready, libhal_device_addon_is_ready () +
libhal_device_addon_is_ready, libhal_device_addon_is_ready ()
-
libhal_device_add_capability, libhal_device_add_capability () +
libhal_device_add_capability, libhal_device_add_capability ()
-
libhal_device_add_property_watch, libhal_device_add_property_watch () +
libhal_device_add_property_watch, libhal_device_add_property_watch ()
-
libhal_device_claim_interface, libhal_device_claim_interface () +
libhal_device_claim_interface, libhal_device_claim_interface ()
-
libhal_device_commit_changeset, libhal_device_commit_changeset () +
libhal_device_commit_changeset, libhal_device_commit_changeset ()
-
libhal_device_commit_to_gdl, libhal_device_commit_to_gdl () +
libhal_device_commit_to_gdl, libhal_device_commit_to_gdl ()
-
libhal_device_emit_condition, libhal_device_emit_condition () +
libhal_device_emit_condition, libhal_device_emit_condition ()
-
libhal_device_exists, libhal_device_exists () +
libhal_device_exists, libhal_device_exists ()
-
libhal_device_free_changeset, libhal_device_free_changeset () +
libhal_device_free_changeset, libhal_device_free_changeset ()
-
libhal_device_get_all_properties, libhal_device_get_all_properties () +
libhal_device_get_all_properties, libhal_device_get_all_properties ()
-
libhal_device_get_property_bool, libhal_device_get_property_bool () +
libhal_device_get_property_bool, libhal_device_get_property_bool ()
-
libhal_device_get_property_double, libhal_device_get_property_double () +
libhal_device_get_property_double, libhal_device_get_property_double ()
-
libhal_device_get_property_int, libhal_device_get_property_int () +
libhal_device_get_property_int, libhal_device_get_property_int ()
-
libhal_device_get_property_string, libhal_device_get_property_string () +
libhal_device_get_property_string, libhal_device_get_property_string ()
-
libhal_device_get_property_strlist, libhal_device_get_property_strlist () +
libhal_device_get_property_strlist, libhal_device_get_property_strlist ()
-
libhal_device_get_property_type, libhal_device_get_property_type () +
libhal_device_get_property_type, libhal_device_get_property_type ()
-
libhal_device_get_property_uint64, libhal_device_get_property_uint64 () +
libhal_device_get_property_uint64, libhal_device_get_property_uint64 ()
-
libhal_device_is_caller_locked_out, libhal_device_is_caller_locked_out () +
libhal_device_is_caller_locked_out, libhal_device_is_caller_locked_out ()
-
libhal_device_is_locked_by_others, libhal_device_is_locked_by_others () +
libhal_device_is_locked_by_others, libhal_device_is_locked_by_others ()
-
libhal_device_lock, libhal_device_lock () +
libhal_device_lock, libhal_device_lock ()
-
libhal_device_matches, libhal_device_matches () +
libhal_device_matches, libhal_device_matches ()
-
libhal_device_new_changeset, libhal_device_new_changeset () +
libhal_device_new_changeset, libhal_device_new_changeset ()
-
libhal_device_print, libhal_device_print () +
libhal_device_print, libhal_device_print ()
-
libhal_device_property_exists, libhal_device_property_exists () +
libhal_device_property_exists, libhal_device_property_exists ()
-
libhal_device_property_strlist_append, libhal_device_property_strlist_append () +
libhal_device_property_strlist_append, libhal_device_property_strlist_append ()
-
libhal_device_property_strlist_prepend, libhal_device_property_strlist_prepend () +
libhal_device_property_strlist_prepend, libhal_device_property_strlist_prepend ()
-
libhal_device_property_strlist_remove, libhal_device_property_strlist_remove () +
libhal_device_property_strlist_remove, libhal_device_property_strlist_remove ()
-
libhal_device_property_strlist_remove_index, libhal_device_property_strlist_remove_index () +
libhal_device_property_strlist_remove_index, libhal_device_property_strlist_remove_index ()
-
libhal_device_property_watch_all, libhal_device_property_watch_all () +
libhal_device_property_watch_all, libhal_device_property_watch_all ()
-
libhal_device_query_capability, libhal_device_query_capability () +
libhal_device_query_capability, libhal_device_query_capability ()
-
libhal_device_release_interface_lock, libhal_device_release_interface_lock () +
libhal_device_release_interface_lock, libhal_device_release_interface_lock ()
-
libhal_device_remove_property, libhal_device_remove_property () +
libhal_device_remove_property, libhal_device_remove_property ()
-
libhal_device_remove_property_watch, libhal_device_remove_property_watch () +
libhal_device_remove_property_watch, libhal_device_remove_property_watch ()
-
libhal_device_reprobe, libhal_device_reprobe () +
libhal_device_reprobe, libhal_device_reprobe ()
-
libhal_device_rescan, libhal_device_rescan () +
libhal_device_rescan, libhal_device_rescan ()
-
libhal_device_set_property_bool, libhal_device_set_property_bool () +
libhal_device_set_property_bool, libhal_device_set_property_bool ()
-
libhal_device_set_property_double, libhal_device_set_property_double () +
libhal_device_set_property_double, libhal_device_set_property_double ()
-
libhal_device_set_property_int, libhal_device_set_property_int () +
libhal_device_set_property_int, libhal_device_set_property_int ()
-
libhal_device_set_property_string, libhal_device_set_property_string () +
libhal_device_set_property_string, libhal_device_set_property_string ()
-
libhal_device_set_property_uint64, libhal_device_set_property_uint64 () +
libhal_device_set_property_uint64, libhal_device_set_property_uint64 ()
-
libhal_device_unlock, libhal_device_unlock () +
libhal_device_unlock, libhal_device_unlock ()
-
libhal_find_device_by_capability, libhal_find_device_by_capability () +
libhal_find_device_by_capability, libhal_find_device_by_capability ()
-
LIBHAL_FREE_DBUS_ERROR, LIBHAL_FREE_DBUS_ERROR() +
LIBHAL_FREE_DBUS_ERROR, LIBHAL_FREE_DBUS_ERROR()
-
libhal_free_property_set, libhal_free_property_set () +
libhal_free_property_set, libhal_free_property_set ()
-
libhal_free_string, libhal_free_string () +
libhal_free_string, libhal_free_string ()
-
libhal_free_string_array, libhal_free_string_array () +
libhal_free_string_array, libhal_free_string_array ()
-
libhal_get_all_devices, libhal_get_all_devices () +
libhal_get_all_devices, libhal_get_all_devices ()
-
libhal_manager_find_device_string_match, libhal_manager_find_device_string_match () +
libhal_manager_find_device_string_match, libhal_manager_find_device_string_match ()
-
libhal_merge_properties, libhal_merge_properties () +
libhal_merge_properties, libhal_merge_properties ()
-
libhal_new_device, libhal_new_device () +
libhal_new_device, libhal_new_device ()
-
libhal_property_set_get_num_elems, libhal_property_set_get_num_elems () +
libhal_property_set_get_num_elems, libhal_property_set_get_num_elems ()
-
libhal_property_set_sort, libhal_property_set_sort () +
libhal_property_set_sort, libhal_property_set_sort ()
-
libhal_psi_get_bool, libhal_psi_get_bool () +
libhal_psi_get_bool, libhal_psi_get_bool ()
-
libhal_psi_get_double, libhal_psi_get_double () +
libhal_psi_get_double, libhal_psi_get_double ()
-
libhal_psi_get_int, libhal_psi_get_int () +
libhal_psi_get_int, libhal_psi_get_int ()
-
libhal_psi_get_key, libhal_psi_get_key () +
libhal_psi_get_key, libhal_psi_get_key ()
-
libhal_psi_get_string, libhal_psi_get_string () +
libhal_psi_get_string, libhal_psi_get_string ()
-
libhal_psi_get_strlist, libhal_psi_get_strlist () +
libhal_psi_get_strlist, libhal_psi_get_strlist ()
-
libhal_psi_get_type, libhal_psi_get_type () +
libhal_psi_get_type, libhal_psi_get_type ()
-
libhal_psi_get_uint64, libhal_psi_get_uint64 () +
libhal_psi_get_uint64, libhal_psi_get_uint64 ()
-
libhal_psi_has_more, libhal_psi_has_more () +
libhal_psi_has_more, libhal_psi_has_more ()
-
libhal_psi_init, libhal_psi_init () +
libhal_psi_init, libhal_psi_init ()
-
libhal_psi_next, libhal_psi_next () +
libhal_psi_next, libhal_psi_next ()
-
libhal_release_global_interface_lock, libhal_release_global_interface_lock () +
libhal_release_global_interface_lock, libhal_release_global_interface_lock ()
-
libhal_remove_device, libhal_remove_device () +
libhal_remove_device, libhal_remove_device ()
-
libhal_string_array_length, libhal_string_array_length () +
libhal_string_array_length, libhal_string_array_length ()
--- hal-0.5.9.1.orig/doc/api/libhal-storage/libhal-storage-decl.txt +++ hal-0.5.9.1/doc/api/libhal-storage/libhal-storage-decl.txt @@ -0,0 +1,442 @@ + +LibHalDrive_s +struct LibHalDrive_s; + + +LibHalDrive +typedef struct LibHalDrive_s LibHalDrive; + + +LibHalVolume_s +struct LibHalVolume_s; + + +LibHalVolume +typedef struct LibHalVolume_s LibHalVolume; + + +LibHalStoragePolicy_s +struct LibHalStoragePolicy_s; + + +LibHalStoragePolicy +typedef struct LibHalStoragePolicy_s LibHalStoragePolicy; + + +LibHalStoragePolicyIcon +typedef enum { + LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK = 0x10000, + LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK_IDE = 0x10001, + LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK_SCSI = 0x10002, + LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK_USB = 0x10003, + LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK_IEEE1394 = 0x10004, + LIBHAL_STORAGE_ICON_DRIVE_DISK = 0x10100, + LIBHAL_STORAGE_ICON_DRIVE_DISK_IDE = 0x10101, + LIBHAL_STORAGE_ICON_DRIVE_DISK_SCSI = 0x10102, + LIBHAL_STORAGE_ICON_DRIVE_DISK_USB = 0x10103, + LIBHAL_STORAGE_ICON_DRIVE_DISK_IEEE1394 = 0x10104, + LIBHAL_STORAGE_ICON_DRIVE_CDROM = 0x10200, + LIBHAL_STORAGE_ICON_DRIVE_CDROM_IDE = 0x10201, + LIBHAL_STORAGE_ICON_DRIVE_CDROM_SCSI = 0x10202, + LIBHAL_STORAGE_ICON_DRIVE_CDROM_USB = 0x10203, + LIBHAL_STORAGE_ICON_DRIVE_CDROM_IEEE1394 = 0x10204, + LIBHAL_STORAGE_ICON_DRIVE_FLOPPY = 0x10300, + LIBHAL_STORAGE_ICON_DRIVE_FLOPPY_IDE = 0x10301, + LIBHAL_STORAGE_ICON_DRIVE_FLOPPY_SCSI = 0x10302, + LIBHAL_STORAGE_ICON_DRIVE_FLOPPY_USB = 0x10303, + LIBHAL_STORAGE_ICON_DRIVE_FLOPPY_IEEE1394 = 0x10304, + LIBHAL_STORAGE_ICON_DRIVE_TAPE = 0x10400, + LIBHAL_STORAGE_ICON_DRIVE_COMPACT_FLASH = 0x10500, + LIBHAL_STORAGE_ICON_DRIVE_MEMORY_STICK = 0x10600, + LIBHAL_STORAGE_ICON_DRIVE_SMART_MEDIA = 0x10700, + LIBHAL_STORAGE_ICON_DRIVE_SD_MMC = 0x10800, + LIBHAL_STORAGE_ICON_DRIVE_CAMERA = 0x10900, + LIBHAL_STORAGE_ICON_DRIVE_PORTABLE_AUDIO_PLAYER = 0x10a00, + LIBHAL_STORAGE_ICON_DRIVE_ZIP = 0x10b00, + LIBHAL_STORAGE_ICON_DRIVE_JAZ = 0x10c00, + LIBHAL_STORAGE_ICON_DRIVE_FLASH_KEY = 0x10d00, + + LIBHAL_STORAGE_ICON_VOLUME_REMOVABLE_DISK = 0x20000, + LIBHAL_STORAGE_ICON_VOLUME_REMOVABLE_DISK_IDE = 0x20001, + LIBHAL_STORAGE_ICON_VOLUME_REMOVABLE_DISK_SCSI = 0x20002, + LIBHAL_STORAGE_ICON_VOLUME_REMOVABLE_DISK_USB = 0x20003, + LIBHAL_STORAGE_ICON_VOLUME_REMOVABLE_DISK_IEEE1394 = 0x20004, + LIBHAL_STORAGE_ICON_VOLUME_DISK = 0x20100, + LIBHAL_STORAGE_ICON_VOLUME_DISK_IDE = 0x20101, + LIBHAL_STORAGE_ICON_VOLUME_DISK_SCSI = 0x20102, + LIBHAL_STORAGE_ICON_VOLUME_DISK_USB = 0x20103, + LIBHAL_STORAGE_ICON_VOLUME_DISK_IEEE1394 = 0x20104, + LIBHAL_STORAGE_ICON_VOLUME_CDROM = 0x20200, + LIBHAL_STORAGE_ICON_VOLUME_CDROM_IDE = 0x20201, + LIBHAL_STORAGE_ICON_VOLUME_CDROM_SCSI = 0x20202, + LIBHAL_STORAGE_ICON_VOLUME_CDROM_USB = 0x20203, + LIBHAL_STORAGE_ICON_VOLUME_CDROM_IEEE1394 = 0x20204, + LIBHAL_STORAGE_ICON_VOLUME_FLOPPY = 0x20300, + LIBHAL_STORAGE_ICON_VOLUME_FLOPPY_IDE = 0x20301, + LIBHAL_STORAGE_ICON_VOLUME_FLOPPY_SCSI = 0x20302, + LIBHAL_STORAGE_ICON_VOLUME_FLOPPY_USB = 0x20303, + LIBHAL_STORAGE_ICON_VOLUME_FLOPPY_IEEE1394 = 0x20304, + LIBHAL_STORAGE_ICON_VOLUME_TAPE = 0x20400, + LIBHAL_STORAGE_ICON_VOLUME_COMPACT_FLASH = 0x20500, + LIBHAL_STORAGE_ICON_VOLUME_MEMORY_STICK = 0x20600, + LIBHAL_STORAGE_ICON_VOLUME_SMART_MEDIA = 0x20700, + LIBHAL_STORAGE_ICON_VOLUME_SD_MMC = 0x20800, + LIBHAL_STORAGE_ICON_VOLUME_CAMERA = 0x20900, + LIBHAL_STORAGE_ICON_VOLUME_PORTABLE_AUDIO_PLAYER = 0x20a00, + LIBHAL_STORAGE_ICON_VOLUME_ZIP = 0x20b00, + LIBHAL_STORAGE_ICON_VOLUME_JAZ = 0x20c00, + LIBHAL_STORAGE_ICON_VOLUME_FLASH_KEY = 0x20d00, + + LIBHAL_STORAGE_ICON_DISC_CDROM = 0x30000, + LIBHAL_STORAGE_ICON_DISC_CDR = 0x30001, + LIBHAL_STORAGE_ICON_DISC_CDRW = 0x30002, + LIBHAL_STORAGE_ICON_DISC_DVDROM = 0x30003, + LIBHAL_STORAGE_ICON_DISC_DVDRAM = 0x30004, + LIBHAL_STORAGE_ICON_DISC_DVDR = 0x30005, + LIBHAL_STORAGE_ICON_DISC_DVDRW = 0x30006, + LIBHAL_STORAGE_ICON_DISC_DVDPLUSR = 0x30007, + LIBHAL_STORAGE_ICON_DISC_DVDPLUSRW = 0x30008, + LIBHAL_STORAGE_ICON_DISC_DVDPLUSRWDL = 0x30009, + LIBHAL_STORAGE_ICON_DISC_BDROM = 0x3000a, + LIBHAL_STORAGE_ICON_DISC_BDR = 0x3000b, + LIBHAL_STORAGE_ICON_DISC_BDRE = 0x3000c, + LIBHAL_STORAGE_ICON_DISC_HDDVDROM = 0x3000d, + LIBHAL_STORAGE_ICON_DISC_HDDVDR = 0x3000e, + LIBHAL_STORAGE_ICON_DISC_HDDVDRW = 0x3000f, + LIBHAL_STORAGE_ICON_DISC_MRW = 0x30010, + LIBHAL_STORAGE_ICON_DISC_MRWW = 0x30011, + LIBHAL_STORAGE_ICON_DISC_MO = 0x30012 +} LibHalStoragePolicyIcon; + + +LibHalStoragePolicyIconPair +typedef struct { + LibHalStoragePolicyIcon icon; + const char *icon_path; +} LibHalStoragePolicyIconPair; + + +libhal_storage_policy_new +LibHalStoragePolicy * +void) LIBHAL_DEPRECATED;void libhal_storage_policy_free (LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;void libhal_storage_policy_set_icon_path (LibHalStoragePolicy *policy,LibHalStoragePolicyIcon icon,const char *path) LIBHAL_DEPRECATED;void libhal_storage_policy_set_icon_mapping (LibHalStoragePolicy *policy,LibHalStoragePolicyIconPair *pairs) LIBHAL_DEPRECATED;const char *libhal_storage_policy_lookup_icon (LibHalStoragePolicy *policy,LibHalStoragePolicyIcon icon) LIBHAL_DEPRECATED;typedef enum {LIBHAL_DRIVE_BUS_UNKNOWN = 0x00,LIBHAL_DRIVE_BUS_IDE = 0x01,LIBHAL_DRIVE_BUS_SCSI = 0x02,LIBHAL_DRIVE_BUS_USB = 0x03,LIBHAL_DRIVE_BUS_IEEE1394 = 0x04,LIBHAL_DRIVE_BUS_CCW = 0x05} LibHalDriveBus;typedef enum {LIBHAL_DRIVE_TYPE_REMOVABLE_DISK = 0x00,LIBHAL_DRIVE_TYPE_DISK = 0x01,LIBHAL_DRIVE_TYPE_CDROM = 0x02,LIBHAL_DRIVE_TYPE_FLOPPY = 0x03,LIBHAL_DRIVE_TYPE_TAPE = 0x04,LIBHAL_DRIVE_TYPE_COMPACT_FLASH = 0x05,LIBHAL_DRIVE_TYPE_MEMORY_STICK = 0x06,LIBHAL_DRIVE_TYPE_SMART_MEDIA = 0x07,LIBHAL_DRIVE_TYPE_SD_MMC = 0x08,LIBHAL_DRIVE_TYPE_CAMERA = 0x09,LIBHAL_DRIVE_TYPE_PORTABLE_AUDIO_PLAYER = 0x0a,LIBHAL_DRIVE_TYPE_ZIP = 0x0b,LIBHAL_DRIVE_TYPE_JAZ = 0x0c,LIBHAL_DRIVE_TYPE_FLASHKEY = 0x0d,LIBHAL_DRIVE_TYPE_MO = 0x0e} LibHalDriveType;typedef enum {LIBHAL_DRIVE_CDROM_CAPS_CDROM = 0x00001,LIBHAL_DRIVE_CDROM_CAPS_CDR = 0x00002,LIBHAL_DRIVE_CDROM_CAPS_CDRW = 0x00004,LIBHAL_DRIVE_CDROM_CAPS_DVDRAM = 0x00008,LIBHAL_DRIVE_CDROM_CAPS_DVDROM = 0x00010,LIBHAL_DRIVE_CDROM_CAPS_DVDR = 0x00020,LIBHAL_DRIVE_CDROM_CAPS_DVDRW = 0x00040,LIBHAL_DRIVE_CDROM_CAPS_DVDPLUSR = 0x00080,LIBHAL_DRIVE_CDROM_CAPS_DVDPLUSRW = 0x00100,LIBHAL_DRIVE_CDROM_CAPS_DVDPLUSRDL = 0x00200,LIBHAL_DRIVE_CDROM_CAPS_DVDPLUSRWDL = 0x00400,LIBHAL_DRIVE_CDROM_CAPS_BDROM = 0x00800,LIBHAL_DRIVE_CDROM_CAPS_BDR = 0x01000,LIBHAL_DRIVE_CDROM_CAPS_BDRE = 0x02000,LIBHAL_DRIVE_CDROM_CAPS_HDDVDROM = 0x04000,LIBHAL_DRIVE_CDROM_CAPS_HDDVDR = 0x08000,LIBHAL_DRIVE_CDROM_CAPS_HDDVDRW = 0x10000,LIBHAL_DRIVE_CDROM_CAPS_MRW = 0x20000,LIBHAL_DRIVE_CDROM_CAPS_MRWW = 0x40000,LIBHAL_DRIVE_CDROM_CAPS_MO = 0x80000} LibHalDriveCdromCaps;LibHalDrive *libhal_drive_from_udi (LibHalContext *hal_ctx,const char *udi + + +libhal_drive_from_device_file +LibHalDrive * +LibHalContext *hal_ctx,const char *device_file + + +libhal_drive_free +void +LibHalDrive *drive + + +libhal_drive_is_hotpluggable +dbus_bool_t +LibHalDrive *drive + + +libhal_drive_uses_removable_media +dbus_bool_t +LibHalDrive *drive + + +libhal_drive_is_media_detected +dbus_bool_t +LibHalDrive *drive + + +libhal_drive_get_size +dbus_uint64_t +LibHalDrive *drive + + +libhal_drive_get_media_size +dbus_uint64_t +LibHalDrive *drive + + +libhal_drive_get_partition_scheme +const char * +LibHalDrive *drive + + +libhal_drive_no_partitions_hint +dbus_bool_t +LibHalDrive *drive + + +libhal_drive_requires_eject +dbus_bool_t +LibHalDrive *drive + + +libhal_drive_get_type +LibHalDriveType +LibHalDrive *drive + + +libhal_drive_get_bus +LibHalDriveBus +LibHalDrive *drive + + +libhal_drive_get_cdrom_caps +LibHalDriveCdromCaps +LibHalDrive *drive + + +libhal_drive_get_device_major +unsigned int +LibHalDrive *drive + + +libhal_drive_get_device_minor +unsigned int +LibHalDrive *drive + + +libhal_drive_get_type_textual +const char * +LibHalDrive *drive + + +libhal_drive_get_device_file +const char * +LibHalDrive *drive + + +libhal_drive_get_udi +const char * +LibHalDrive *drive + + +libhal_drive_get_serial +const char * +LibHalDrive *drive + + +libhal_drive_get_firmware_version +const char * +LibHalDrive *drive + + +libhal_drive_get_model +const char * +LibHalDrive *drive + + +libhal_drive_get_vendor +const char * +LibHalDrive *drive + + +libhal_drive_get_physical_device_udi +const char * +LibHalDrive *drive + + +libhal_drive_get_dedicated_icon_drive +const char * +LibHalDrive *drive + + +libhal_drive_get_dedicated_icon_volume +const char * +LibHalDrive *drive + + +libhal_drive_policy_compute_display_name +char * +LibHalDrive *drive,LibHalVolume *volume,LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;char *libhal_drive_policy_compute_icon_name (LibHalDrive *drive,LibHalVolume *volume,LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;dbus_bool_t libhal_drive_policy_is_mountable (LibHalDrive *drive,LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;const char *libhal_drive_policy_get_desired_mount_point (LibHalDrive *drive,LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;const char *libhal_drive_policy_get_mount_options (LibHalDrive *drive,LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;const char *libhal_drive_policy_get_mount_fs (LibHalDrive *drive,LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;char **libhal_drive_find_all_volumes (LibHalContext *hal_ctx,LibHalDrive *drive,int *num_volumes + + +libhal_drive_policy_default_get_mount_root +char * +LibHalContext *hal_ctx) LIBHAL_DEPRECATED;dbus_bool_t libhal_drive_policy_default_use_managed_keyword (LibHalContext *hal_ctx) LIBHAL_DEPRECATED;char *libhal_drive_policy_default_get_managed_keyword_primary (LibHalContext *hal_ctx) LIBHAL_DEPRECATED;char *libhal_drive_policy_default_get_managed_keyword_secondary (LibHalContext *hal_ctx) LIBHAL_DEPRECATED;typedef enum {LIBHAL_VOLUME_USAGE_MOUNTABLE_FILESYSTEM,LIBHAL_VOLUME_USAGE_PARTITION_TABLE,LIBHAL_VOLUME_USAGE_RAID_MEMBER,LIBHAL_VOLUME_USAGE_CRYPTO,LIBHAL_VOLUME_USAGE_UNKNOWN,LIBHAL_VOLUME_USAGE_OTHER} LibHalVolumeUsage;typedef enum {LIBHAL_VOLUME_DISC_TYPE_CDROM = 0x00,LIBHAL_VOLUME_DISC_TYPE_CDR = 0x01,LIBHAL_VOLUME_DISC_TYPE_CDRW = 0x02,LIBHAL_VOLUME_DISC_TYPE_DVDROM = 0x03,LIBHAL_VOLUME_DISC_TYPE_DVDRAM = 0x04,LIBHAL_VOLUME_DISC_TYPE_DVDR = 0x05,LIBHAL_VOLUME_DISC_TYPE_DVDRW = 0x06,LIBHAL_VOLUME_DISC_TYPE_DVDPLUSR = 0x07,LIBHAL_VOLUME_DISC_TYPE_DVDPLUSRW = 0x08,LIBHAL_VOLUME_DISC_TYPE_DVDPLUSR_DL = 0x09,LIBHAL_VOLUME_DISC_TYPE_BDROM = 0x0a,LIBHAL_VOLUME_DISC_TYPE_BDR = 0x0b,LIBHAL_VOLUME_DISC_TYPE_BDRE = 0x0c,LIBHAL_VOLUME_DISC_TYPE_HDDVDROM = 0x0d,LIBHAL_VOLUME_DISC_TYPE_HDDVDR = 0x0e,LIBHAL_VOLUME_DISC_TYPE_HDDVDRW = 0x0f,LIBHAL_VOLUME_DISC_TYPE_MO = 0x10,} LibHalVolumeDiscType;LibHalVolume *libhal_volume_from_udi (LibHalContext *hal_ctx,const char *udi + + +libhal_volume_from_device_file +LibHalVolume * +LibHalContext *hal_ctx,const char *device_file + + +libhal_volume_from_mount_point +LibHalVolume * +LibHalContext *hal_ctx,const char *mount_point + + +libhal_volume_free +void +LibHalVolume *volume + + +libhal_volume_get_size +dbus_uint64_t +LibHalVolume *volume + + +libhal_volume_get_disc_capacity +dbus_uint64_t +LibHalVolume *volume + + +libhal_volume_get_udi +const char * +LibHalVolume *volume + + +libhal_volume_get_device_file +const char * +LibHalVolume *volume + + +libhal_volume_get_device_major +unsigned int +LibHalVolume *volume + + +libhal_volume_get_device_minor +unsigned int +LibHalVolume *volume + + +libhal_volume_get_fstype +const char * +LibHalVolume *volume + + +libhal_volume_get_fsversion +const char * +LibHalVolume *volume + + +libhal_volume_get_fsusage +LibHalVolumeUsage +LibHalVolume *volume + + +libhal_volume_is_mounted +dbus_bool_t +LibHalVolume *volume + + +libhal_volume_is_mounted_read_only +dbus_bool_t +LibHalVolume *volume + + +libhal_volume_is_partition +dbus_bool_t +LibHalVolume *volume + + +libhal_volume_is_disc +dbus_bool_t +LibHalVolume *volume + + +libhal_volume_get_partition_scheme +const char * +LibHalVolume *volume + + +libhal_volume_get_partition_type +const char * +LibHalVolume *volume + + +libhal_volume_get_partition_label +const char * +LibHalVolume *volume + + +libhal_volume_get_partition_uuid +const char * +LibHalVolume *volume + + +libhal_volume_get_partition_flags +const char ** +LibHalVolume *volume + + +libhal_volume_get_partition_number +unsigned int +LibHalVolume *volume + + +libhal_volume_get_partition_start_offset +dbus_uint64_t +LibHalVolume *volume + + +libhal_volume_get_partition_media_size +dbus_uint64_t +LibHalVolume *volume + + +libhal_volume_get_label +const char * +LibHalVolume *volume + + +libhal_volume_get_mount_point +const char * +LibHalVolume *volume + + +libhal_volume_get_uuid +const char * +LibHalVolume *volume + + +libhal_volume_get_storage_device_udi +const char * +LibHalVolume *volume + + +libhal_volume_crypto_get_backing_volume_udi +const char * +LibHalVolume *volume + + +libhal_volume_crypto_get_clear_volume_udi +char * +LibHalContext *hal_ctx, LibHalVolume *volume + + +libhal_volume_disc_has_audio +dbus_bool_t +LibHalVolume *volume + + +libhal_volume_disc_has_data +dbus_bool_t +LibHalVolume *volume + + +libhal_volume_disc_is_blank +dbus_bool_t +LibHalVolume *volume + + +libhal_volume_disc_is_rewritable +dbus_bool_t +LibHalVolume *volume + + +libhal_volume_disc_is_appendable +dbus_bool_t +LibHalVolume *volume + + +libhal_volume_get_disc_type +LibHalVolumeDiscType +LibHalVolume *volume + + +libhal_volume_get_msdos_part_table_type +int +LibHalVolume *volume) LIBHAL_DEPRECATED;dbus_uint64_t libhal_volume_get_msdos_part_table_start (LibHalVolume *volume) LIBHAL_DEPRECATED;dbus_uint64_t libhal_volume_get_msdos_part_table_size (LibHalVolume *volume) LIBHAL_DEPRECATED;dbus_bool_t libhal_volume_should_ignore (LibHalVolume *volume + --- hal-0.5.9.1.orig/doc/api/libhal-storage/libhal-storage-undocumented.txt +++ hal-0.5.9.1/doc/api/libhal-storage/libhal-storage-undocumented.txt @@ -0,0 +1,80 @@ +4% symbol docs coverage. +3 symbols documented. +0 symbols incomplete. +72 not documented. + + +LibHalDrive +LibHalDrive_s +LibHalStoragePolicy +LibHalStoragePolicyIcon +LibHalStoragePolicyIconPair +LibHalStoragePolicy_s +LibHalVolume +LibHalVolume_s +libhal_drive_from_device_file +libhal_drive_get_bus +libhal_drive_get_cdrom_caps +libhal_drive_get_dedicated_icon_drive +libhal_drive_get_dedicated_icon_volume +libhal_drive_get_device_file +libhal_drive_get_device_major +libhal_drive_get_device_minor +libhal_drive_get_firmware_version +libhal_drive_get_media_size +libhal_drive_get_model +libhal_drive_get_partition_scheme +libhal_drive_get_physical_device_udi +libhal_drive_get_serial +libhal_drive_get_size +libhal_drive_get_type +libhal_drive_get_type_textual +libhal_drive_get_udi +libhal_drive_get_vendor +libhal_drive_is_hotpluggable +libhal_drive_is_media_detected +libhal_drive_no_partitions_hint +libhal_drive_policy_compute_display_name +libhal_drive_policy_default_get_mount_root +libhal_drive_requires_eject +libhal_drive_uses_removable_media +libhal_storage_policy_new +libhal_volume_crypto_get_backing_volume_udi +libhal_volume_crypto_get_clear_volume_udi +libhal_volume_disc_has_audio +libhal_volume_disc_has_data +libhal_volume_disc_is_appendable +libhal_volume_disc_is_blank +libhal_volume_disc_is_rewritable +libhal_volume_from_device_file +libhal_volume_from_mount_point +libhal_volume_get_device_file +libhal_volume_get_device_major +libhal_volume_get_device_minor +libhal_volume_get_disc_capacity +libhal_volume_get_disc_type +libhal_volume_get_fstype +libhal_volume_get_fsusage +libhal_volume_get_fsversion +libhal_volume_get_label +libhal_volume_get_mount_point +libhal_volume_get_msdos_part_table_type +libhal_volume_get_partition_flags +libhal_volume_get_partition_label +libhal_volume_get_partition_media_size +libhal_volume_get_partition_number +libhal_volume_get_partition_scheme +libhal_volume_get_partition_start_offset +libhal_volume_get_partition_type +libhal_volume_get_partition_uuid +libhal_volume_get_size +libhal_volume_get_storage_device_udi +libhal_volume_get_udi +libhal_volume_get_uuid +libhal_volume_is_disc +libhal_volume_is_mounted +libhal_volume_is_mounted_read_only +libhal_volume_is_partition + + +libhal-storage:Short_Description --- hal-0.5.9.1.orig/doc/api/libhal-storage/xml/libhal-storage-doc.bottom +++ hal-0.5.9.1/doc/api/libhal-storage/xml/libhal-storage-doc.bottom @@ -0,0 +1 @@ + --- hal-0.5.9.1.orig/doc/api/libhal-storage/xml/object_index.sgml +++ hal-0.5.9.1/doc/api/libhal-storage/xml/object_index.sgml @@ -0,0 +1,8 @@ + + + + + + + + --- hal-0.5.9.1.orig/doc/api/libhal-storage/xml/tree_index.sgml +++ hal-0.5.9.1/doc/api/libhal-storage/xml/tree_index.sgml @@ -0,0 +1,7 @@ + + +]> + + --- hal-0.5.9.1.orig/doc/api/libhal-storage/libhal-storage-decl-list.txt +++ hal-0.5.9.1/doc/api/libhal-storage/libhal-storage-decl-list.txt @@ -0,0 +1,77 @@ +
+libhal-storage +LibHalDrive_s +LibHalDrive +LibHalVolume_s +LibHalVolume +LibHalStoragePolicy_s +LibHalStoragePolicy +LibHalStoragePolicyIcon +LibHalStoragePolicyIconPair +libhal_storage_policy_new +libhal_drive_from_device_file +libhal_drive_free +libhal_drive_is_hotpluggable +libhal_drive_uses_removable_media +libhal_drive_is_media_detected +libhal_drive_get_size +libhal_drive_get_media_size +libhal_drive_get_partition_scheme +libhal_drive_no_partitions_hint +libhal_drive_requires_eject +libhal_drive_get_type +libhal_drive_get_bus +libhal_drive_get_cdrom_caps +libhal_drive_get_device_major +libhal_drive_get_device_minor +libhal_drive_get_type_textual +libhal_drive_get_device_file +libhal_drive_get_udi +libhal_drive_get_serial +libhal_drive_get_firmware_version +libhal_drive_get_model +libhal_drive_get_vendor +libhal_drive_get_physical_device_udi +libhal_drive_get_dedicated_icon_drive +libhal_drive_get_dedicated_icon_volume +libhal_drive_policy_compute_display_name +libhal_drive_policy_default_get_mount_root +libhal_volume_from_device_file +libhal_volume_from_mount_point +libhal_volume_free +libhal_volume_get_size +libhal_volume_get_disc_capacity +libhal_volume_get_udi +libhal_volume_get_device_file +libhal_volume_get_device_major +libhal_volume_get_device_minor +libhal_volume_get_fstype +libhal_volume_get_fsversion +libhal_volume_get_fsusage +libhal_volume_is_mounted +libhal_volume_is_mounted_read_only +libhal_volume_is_partition +libhal_volume_is_disc +libhal_volume_get_partition_scheme +libhal_volume_get_partition_type +libhal_volume_get_partition_label +libhal_volume_get_partition_uuid +libhal_volume_get_partition_flags +libhal_volume_get_partition_number +libhal_volume_get_partition_start_offset +libhal_volume_get_partition_media_size +libhal_volume_get_label +libhal_volume_get_mount_point +libhal_volume_get_uuid +libhal_volume_get_storage_device_udi +libhal_volume_crypto_get_backing_volume_udi +libhal_volume_crypto_get_clear_volume_udi +libhal_volume_disc_has_audio +libhal_volume_disc_has_data +libhal_volume_disc_is_blank +libhal_volume_disc_is_rewritable +libhal_volume_disc_is_appendable +libhal_volume_get_disc_type +libhal_volume_get_msdos_part_table_type +
+ --- hal-0.5.9.1.orig/doc/api/libhal-storage/html/index.html +++ hal-0.5.9.1/doc/api/libhal-storage/html/index.html @@ -24,11 +24,11 @@     
  

-

Version 0.5.9 +

Version 0.5.9.1

-

+

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later --- hal-0.5.9.1.orig/doc/api/libhal-storage/html/rn01.html +++ hal-0.5.9.1/doc/api/libhal-storage/html/rn01.html @@ -25,7 +25,7 @@

-API Reference

+API Reference

--- hal-0.5.9.1.orig/doc/api/libhal-storage/html/ix01.html +++ hal-0.5.9.1/doc/api/libhal-storage/html/ix01.html @@ -24,155 +24,155 @@

-Index

+Index

L

-
LibHalDrive, LibHalDrive +
LibHalDrive, LibHalDrive
-
LibHalDrive_s, struct LibHalDrive_s +
LibHalDrive_s, struct LibHalDrive_s
-
LibHalStoragePolicy, LibHalStoragePolicy +
LibHalStoragePolicy, LibHalStoragePolicy
-
LibHalStoragePolicyIcon, enum LibHalStoragePolicyIcon +
LibHalStoragePolicyIcon, enum LibHalStoragePolicyIcon
-
LibHalStoragePolicyIconPair, LibHalStoragePolicyIconPair +
LibHalStoragePolicyIconPair, LibHalStoragePolicyIconPair
-
LibHalStoragePolicy_s, struct LibHalStoragePolicy_s +
LibHalStoragePolicy_s, struct LibHalStoragePolicy_s
-
LibHalVolume, LibHalVolume +
LibHalVolume, LibHalVolume
-
LibHalVolume_s, struct LibHalVolume_s +
LibHalVolume_s, struct LibHalVolume_s
-
libhal_drive_free, libhal_drive_free () +
libhal_drive_free, libhal_drive_free ()
-
libhal_drive_from_device_file, libhal_drive_from_device_file () +
libhal_drive_from_device_file, libhal_drive_from_device_file ()
-
libhal_drive_get_bus, libhal_drive_get_bus () +
libhal_drive_get_bus, libhal_drive_get_bus ()
-
libhal_drive_get_cdrom_caps, libhal_drive_get_cdrom_caps () +
libhal_drive_get_cdrom_caps, libhal_drive_get_cdrom_caps ()
-
libhal_drive_get_dedicated_icon_drive, libhal_drive_get_dedicated_icon_drive () +
libhal_drive_get_dedicated_icon_drive, libhal_drive_get_dedicated_icon_drive ()
-
libhal_drive_get_dedicated_icon_volume, libhal_drive_get_dedicated_icon_volume () +
libhal_drive_get_dedicated_icon_volume, libhal_drive_get_dedicated_icon_volume ()
-
libhal_drive_get_device_file, libhal_drive_get_device_file () +
libhal_drive_get_device_file, libhal_drive_get_device_file ()
-
libhal_drive_get_device_major, libhal_drive_get_device_major () +
libhal_drive_get_device_major, libhal_drive_get_device_major ()
-
libhal_drive_get_device_minor, libhal_drive_get_device_minor () +
libhal_drive_get_device_minor, libhal_drive_get_device_minor ()
-
libhal_drive_get_firmware_version, libhal_drive_get_firmware_version () +
libhal_drive_get_firmware_version, libhal_drive_get_firmware_version ()
-
libhal_drive_get_media_size, libhal_drive_get_media_size () +
libhal_drive_get_media_size, libhal_drive_get_media_size ()
-
libhal_drive_get_model, libhal_drive_get_model () +
libhal_drive_get_model, libhal_drive_get_model ()
-
libhal_drive_get_partition_scheme, libhal_drive_get_partition_scheme () +
libhal_drive_get_partition_scheme, libhal_drive_get_partition_scheme ()
-
libhal_drive_get_physical_device_udi, libhal_drive_get_physical_device_udi () +
libhal_drive_get_physical_device_udi, libhal_drive_get_physical_device_udi ()
-
libhal_drive_get_serial, libhal_drive_get_serial () +
libhal_drive_get_serial, libhal_drive_get_serial ()
-
libhal_drive_get_size, libhal_drive_get_size () +
libhal_drive_get_size, libhal_drive_get_size ()
-
libhal_drive_get_type, libhal_drive_get_type () +
libhal_drive_get_type, libhal_drive_get_type ()
-
libhal_drive_get_type_textual, libhal_drive_get_type_textual () +
libhal_drive_get_type_textual, libhal_drive_get_type_textual ()
-
libhal_drive_get_udi, libhal_drive_get_udi () +
libhal_drive_get_udi, libhal_drive_get_udi ()
-
libhal_drive_get_vendor, libhal_drive_get_vendor () +
libhal_drive_get_vendor, libhal_drive_get_vendor ()
-
libhal_drive_is_hotpluggable, libhal_drive_is_hotpluggable () +
libhal_drive_is_hotpluggable, libhal_drive_is_hotpluggable ()
-
libhal_drive_is_media_detected, libhal_drive_is_media_detected () +
libhal_drive_is_media_detected, libhal_drive_is_media_detected ()
-
libhal_drive_no_partitions_hint, libhal_drive_no_partitions_hint () +
libhal_drive_no_partitions_hint, libhal_drive_no_partitions_hint ()
-
libhal_drive_policy_compute_display_name, libhal_drive_policy_compute_display_name () +
libhal_drive_policy_compute_display_name, libhal_drive_policy_compute_display_name ()
-
libhal_drive_policy_default_get_mount_root, libhal_drive_policy_default_get_mount_root () +
libhal_drive_policy_default_get_mount_root, libhal_drive_policy_default_get_mount_root ()
-
libhal_drive_requires_eject, libhal_drive_requires_eject () +
libhal_drive_requires_eject, libhal_drive_requires_eject ()
-
libhal_drive_uses_removable_media, libhal_drive_uses_removable_media () +
libhal_drive_uses_removable_media, libhal_drive_uses_removable_media ()
-
libhal_storage_policy_new, libhal_storage_policy_new () +
libhal_storage_policy_new, libhal_storage_policy_new ()
-
libhal_volume_crypto_get_backing_volume_udi, libhal_volume_crypto_get_backing_volume_udi () +
libhal_volume_crypto_get_backing_volume_udi, libhal_volume_crypto_get_backing_volume_udi ()
-
libhal_volume_crypto_get_clear_volume_udi, libhal_volume_crypto_get_clear_volume_udi () +
libhal_volume_crypto_get_clear_volume_udi, libhal_volume_crypto_get_clear_volume_udi ()
-
libhal_volume_disc_has_audio, libhal_volume_disc_has_audio () +
libhal_volume_disc_has_audio, libhal_volume_disc_has_audio ()
-
libhal_volume_disc_has_data, libhal_volume_disc_has_data () +
libhal_volume_disc_has_data, libhal_volume_disc_has_data ()
-
libhal_volume_disc_is_appendable, libhal_volume_disc_is_appendable () +
libhal_volume_disc_is_appendable, libhal_volume_disc_is_appendable ()
-
libhal_volume_disc_is_blank, libhal_volume_disc_is_blank () +
libhal_volume_disc_is_blank, libhal_volume_disc_is_blank ()
-
libhal_volume_disc_is_rewritable, libhal_volume_disc_is_rewritable () +
libhal_volume_disc_is_rewritable, libhal_volume_disc_is_rewritable ()
-
libhal_volume_free, libhal_volume_free () +
libhal_volume_free, libhal_volume_free ()
-
libhal_volume_from_device_file, libhal_volume_from_device_file () +
libhal_volume_from_device_file, libhal_volume_from_device_file ()
-
libhal_volume_from_mount_point, libhal_volume_from_mount_point () +
libhal_volume_from_mount_point, libhal_volume_from_mount_point ()
-
libhal_volume_get_device_file, libhal_volume_get_device_file () +
libhal_volume_get_device_file, libhal_volume_get_device_file ()
-
libhal_volume_get_device_major, libhal_volume_get_device_major () +
libhal_volume_get_device_major, libhal_volume_get_device_major ()
-
libhal_volume_get_device_minor, libhal_volume_get_device_minor () +
libhal_volume_get_device_minor, libhal_volume_get_device_minor ()
-
libhal_volume_get_disc_capacity, libhal_volume_get_disc_capacity () +
libhal_volume_get_disc_capacity, libhal_volume_get_disc_capacity ()
-
libhal_volume_get_disc_type, libhal_volume_get_disc_type () +
libhal_volume_get_disc_type, libhal_volume_get_disc_type ()
-
libhal_volume_get_fstype, libhal_volume_get_fstype () +
libhal_volume_get_fstype, libhal_volume_get_fstype ()
-
libhal_volume_get_fsusage, libhal_volume_get_fsusage () +
libhal_volume_get_fsusage, libhal_volume_get_fsusage ()
-
libhal_volume_get_fsversion, libhal_volume_get_fsversion () +
libhal_volume_get_fsversion, libhal_volume_get_fsversion ()
-
libhal_volume_get_label, libhal_volume_get_label () +
libhal_volume_get_label, libhal_volume_get_label ()
-
libhal_volume_get_mount_point, libhal_volume_get_mount_point () +
libhal_volume_get_mount_point, libhal_volume_get_mount_point ()
-
libhal_volume_get_msdos_part_table_type, libhal_volume_get_msdos_part_table_type () +
libhal_volume_get_msdos_part_table_type, libhal_volume_get_msdos_part_table_type ()
-
libhal_volume_get_partition_flags, libhal_volume_get_partition_flags () +
libhal_volume_get_partition_flags, libhal_volume_get_partition_flags ()
-
libhal_volume_get_partition_label, libhal_volume_get_partition_label () +
libhal_volume_get_partition_label, libhal_volume_get_partition_label ()
-
libhal_volume_get_partition_media_size, libhal_volume_get_partition_media_size () +
libhal_volume_get_partition_media_size, libhal_volume_get_partition_media_size ()
-
libhal_volume_get_partition_number, libhal_volume_get_partition_number () +
libhal_volume_get_partition_number, libhal_volume_get_partition_number ()
-
libhal_volume_get_partition_scheme, libhal_volume_get_partition_scheme () +
libhal_volume_get_partition_scheme, libhal_volume_get_partition_scheme ()
-
libhal_volume_get_partition_start_offset, libhal_volume_get_partition_start_offset () +
libhal_volume_get_partition_start_offset, libhal_volume_get_partition_start_offset ()
-
libhal_volume_get_partition_type, libhal_volume_get_partition_type () +
libhal_volume_get_partition_type, libhal_volume_get_partition_type ()
-
libhal_volume_get_partition_uuid, libhal_volume_get_partition_uuid () +
libhal_volume_get_partition_uuid, libhal_volume_get_partition_uuid ()
-
libhal_volume_get_size, libhal_volume_get_size () +
libhal_volume_get_size, libhal_volume_get_size ()
-
libhal_volume_get_storage_device_udi, libhal_volume_get_storage_device_udi () +
libhal_volume_get_storage_device_udi, libhal_volume_get_storage_device_udi ()
-
libhal_volume_get_udi, libhal_volume_get_udi () +
libhal_volume_get_udi, libhal_volume_get_udi ()
-
libhal_volume_get_uuid, libhal_volume_get_uuid () +
libhal_volume_get_uuid, libhal_volume_get_uuid ()
-
libhal_volume_is_disc, libhal_volume_is_disc () +
libhal_volume_is_disc, libhal_volume_is_disc ()
-
libhal_volume_is_mounted, libhal_volume_is_mounted () +
libhal_volume_is_mounted, libhal_volume_is_mounted ()
-
libhal_volume_is_mounted_read_only, libhal_volume_is_mounted_read_only () +
libhal_volume_is_mounted_read_only, libhal_volume_is_mounted_read_only ()
-
libhal_volume_is_partition, libhal_volume_is_partition () +
libhal_volume_is_partition, libhal_volume_is_partition ()
--- hal-0.5.9.1.orig/doc/api/libhal-storage/html/version.xml +++ hal-0.5.9.1/doc/api/libhal-storage/html/version.xml @@ -1 +1 @@ -0.5.9 +0.5.9.1 --- hal-0.5.9.1.orig/doc/api/libhal-storage/html/libhal-storage-libhal-storage.html +++ hal-0.5.9.1/doc/api/libhal-storage/html/libhal-storage-libhal-storage.html @@ -23,16 +23,16 @@ HAL Storage Library Reference Manual Next -Top +Top  |  - Description + Description
@@ -53,9 +53,7 @@ enum LibHalStoragePolicyIcon; LibHalStoragePolicyIconPair; LibHalStoragePolicy* libhal_storage_policy_new (); -LibHalDrive* libhal_drive_from_device_file (LibHalContext *hal_ctx, +LibHalDrive* libhal_drive_from_device_file (LibHalContext *hal_ctx, const char *device_file); void libhal_drive_free (LibHalDrive *drive); dbus_bool_t libhal_drive_is_hotpluggable (LibHalDrive *drive); @@ -89,13 +87,9 @@ LibHalVolume *volume); char* libhal_drive_policy_default_get_mount_root (); -LibHalVolume* libhal_volume_from_device_file (LibHalContext *hal_ctx, +LibHalVolume* libhal_volume_from_device_file (LibHalContext *hal_ctx, const char *device_file); -LibHalVolume* libhal_volume_from_mount_point (LibHalContext *hal_ctx, +LibHalVolume* libhal_volume_from_mount_point (LibHalContext *hal_ctx, const char *mount_point); void libhal_volume_free (LibHalVolume *volume); dbus_uint64_t libhal_volume_get_size (LibHalVolume *volume); @@ -129,9 +123,7 @@ const char* libhal_volume_crypto_get_backing_volume_udi (LibHalVolume *volume); char* libhal_volume_crypto_get_clear_volume_udi - (LibHalContext *hal_ctx, + (LibHalContext *hal_ctx, LibHalVolume *volume); dbus_bool_t libhal_volume_disc_has_audio (LibHalVolume *volume); dbus_bool_t libhal_volume_disc_has_data (LibHalVolume *volume); @@ -144,26 +136,26 @@
-

Description

+

Description

-

Details

+

Details

-

+

struct LibHalDrive_s

-
struct LibHalDrive_s;
+
struct LibHalDrive_s;


-

+

LibHalDrive

-
typedef struct LibHalDrive_s LibHalDrive;
+
typedef struct LibHalDrive_s LibHalDrive;
 

@@ -171,18 +163,18 @@


-

+

struct LibHalVolume_s

-
struct LibHalVolume_s;
+
struct LibHalVolume_s;


-

+

LibHalVolume

-
typedef struct LibHalVolume_s LibHalVolume;
+
typedef struct LibHalVolume_s LibHalVolume;
 

@@ -190,18 +182,18 @@


-

+

struct LibHalStoragePolicy_s

-
struct LibHalStoragePolicy_s;
+
struct LibHalStoragePolicy_s;


-

+

LibHalStoragePolicy

-
typedef struct LibHalStoragePolicy_s LibHalStoragePolicy;
+
typedef struct LibHalStoragePolicy_s LibHalStoragePolicy;
 

@@ -209,9 +201,9 @@


-

+

enum LibHalStoragePolicyIcon

-
typedef enum {
+
typedef enum {
 	LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK           = 0x10000,
 	LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK_IDE       = 0x10001,
 	LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK_SCSI      = 0x10002,
@@ -301,9 +293,9 @@
 

-

+

LibHalStoragePolicyIconPair

-
typedef struct {
+
typedef struct {
 	LibHalStoragePolicyIcon icon;
 	const char *icon_path;
 } LibHalStoragePolicyIconPair;
@@ -314,9 +306,9 @@
 

-

+

libhal_storage_policy_new ()

-
LibHalStoragePolicy* libhal_storage_policy_new          ();
+
LibHalStoragePolicy* libhal_storage_policy_new          ();

@@ -333,11 +325,9 @@

-

+

libhal_drive_from_device_file ()

-
LibHalDrive*        libhal_drive_from_device_file       (LibHalContext *hal_ctx,
+
LibHalDrive*        libhal_drive_from_device_file       (LibHalContext *hal_ctx,
                                                          const char *device_file);

@@ -370,9 +360,9 @@

-

+

libhal_drive_free ()

-
void                libhal_drive_free                   (LibHalDrive *drive);
+
void                libhal_drive_free                   (LibHalDrive *drive);

Free all resources used by a LibHalDrive object.

@@ -389,9 +379,9 @@


-

+

libhal_drive_is_hotpluggable ()

-
dbus_bool_t         libhal_drive_is_hotpluggable        (LibHalDrive *drive);
+
dbus_bool_t         libhal_drive_is_hotpluggable        (LibHalDrive *drive);

@@ -415,9 +405,9 @@

-

+

libhal_drive_uses_removable_media ()

-
dbus_bool_t         libhal_drive_uses_removable_media   (LibHalDrive *drive);
+
dbus_bool_t         libhal_drive_uses_removable_media   (LibHalDrive *drive);

@@ -441,9 +431,9 @@

-

+

libhal_drive_is_media_detected ()

-
dbus_bool_t         libhal_drive_is_media_detected      (LibHalDrive *drive);
+
dbus_bool_t         libhal_drive_is_media_detected      (LibHalDrive *drive);

@@ -467,9 +457,9 @@

-

+

libhal_drive_get_size ()

-
dbus_uint64_t       libhal_drive_get_size               (LibHalDrive *drive);
+
dbus_uint64_t       libhal_drive_get_size               (LibHalDrive *drive);

@@ -493,9 +483,9 @@

-

+

libhal_drive_get_media_size ()

-
dbus_uint64_t       libhal_drive_get_media_size         (LibHalDrive *drive);
+
dbus_uint64_t       libhal_drive_get_media_size         (LibHalDrive *drive);

@@ -519,9 +509,9 @@

-

+

libhal_drive_get_partition_scheme ()

-
const char*         libhal_drive_get_partition_scheme   (LibHalDrive *drive);
+
const char*         libhal_drive_get_partition_scheme   (LibHalDrive *drive);

@@ -545,9 +535,9 @@

-

+

libhal_drive_no_partitions_hint ()

-
dbus_bool_t         libhal_drive_no_partitions_hint     (LibHalDrive *drive);
+
dbus_bool_t         libhal_drive_no_partitions_hint     (LibHalDrive *drive);

@@ -571,9 +561,9 @@

-

+

libhal_drive_requires_eject ()

-
dbus_bool_t         libhal_drive_requires_eject         (LibHalDrive *drive);
+
dbus_bool_t         libhal_drive_requires_eject         (LibHalDrive *drive);

@@ -597,9 +587,9 @@

-

+

libhal_drive_get_type ()

-
LibHalDriveType     libhal_drive_get_type               (LibHalDrive *drive);
+
LibHalDriveType     libhal_drive_get_type               (LibHalDrive *drive);

@@ -623,9 +613,9 @@

-

+

libhal_drive_get_bus ()

-
LibHalDriveBus      libhal_drive_get_bus                (LibHalDrive *drive);
+
LibHalDriveBus      libhal_drive_get_bus                (LibHalDrive *drive);

@@ -649,9 +639,9 @@

-

+

libhal_drive_get_cdrom_caps ()

-
LibHalDriveCdromCaps libhal_drive_get_cdrom_caps        (LibHalDrive *drive);
+
LibHalDriveCdromCaps libhal_drive_get_cdrom_caps        (LibHalDrive *drive);

@@ -675,9 +665,9 @@

-

+

libhal_drive_get_device_major ()

-
unsigned int        libhal_drive_get_device_major       (LibHalDrive *drive);
+
unsigned int        libhal_drive_get_device_major       (LibHalDrive *drive);

@@ -701,9 +691,9 @@

-

+

libhal_drive_get_device_minor ()

-
unsigned int        libhal_drive_get_device_minor       (LibHalDrive *drive);
+
unsigned int        libhal_drive_get_device_minor       (LibHalDrive *drive);

@@ -727,9 +717,9 @@

-

+

libhal_drive_get_type_textual ()

-
const char*         libhal_drive_get_type_textual       (LibHalDrive *drive);
+
const char*         libhal_drive_get_type_textual       (LibHalDrive *drive);

@@ -753,9 +743,9 @@

-

+

libhal_drive_get_device_file ()

-
const char*         libhal_drive_get_device_file        (LibHalDrive *drive);
+
const char*         libhal_drive_get_device_file        (LibHalDrive *drive);

@@ -779,9 +769,9 @@

-

+

libhal_drive_get_udi ()

-
const char*         libhal_drive_get_udi                (LibHalDrive *drive);
+
const char*         libhal_drive_get_udi                (LibHalDrive *drive);

@@ -805,9 +795,9 @@

-

+

libhal_drive_get_serial ()

-
const char*         libhal_drive_get_serial             (LibHalDrive *drive);
+
const char*         libhal_drive_get_serial             (LibHalDrive *drive);

@@ -831,9 +821,9 @@

-

+

libhal_drive_get_firmware_version ()

-
const char*         libhal_drive_get_firmware_version   (LibHalDrive *drive);
+
const char*         libhal_drive_get_firmware_version   (LibHalDrive *drive);

@@ -857,9 +847,9 @@

-

+

libhal_drive_get_model ()

-
const char*         libhal_drive_get_model              (LibHalDrive *drive);
+
const char*         libhal_drive_get_model              (LibHalDrive *drive);

@@ -883,9 +873,9 @@

-

+

libhal_drive_get_vendor ()

-
const char*         libhal_drive_get_vendor             (LibHalDrive *drive);
+
const char*         libhal_drive_get_vendor             (LibHalDrive *drive);

@@ -909,9 +899,9 @@

-

+

libhal_drive_get_physical_device_udi ()

-
const char*         libhal_drive_get_physical_device_udi
+
const char*         libhal_drive_get_physical_device_udi
                                                         (LibHalDrive *drive);

@@ -936,9 +926,9 @@


-

+

libhal_drive_get_dedicated_icon_drive ()

-
const char*         libhal_drive_get_dedicated_icon_drive
+
const char*         libhal_drive_get_dedicated_icon_drive
                                                         (LibHalDrive *drive);

@@ -963,9 +953,9 @@


-

+

libhal_drive_get_dedicated_icon_volume ()

-
const char*         libhal_drive_get_dedicated_icon_volume
+
const char*         libhal_drive_get_dedicated_icon_volume
                                                         (LibHalDrive *drive);

@@ -990,9 +980,9 @@


-

+

libhal_drive_policy_compute_display_name ()

-
char*               libhal_drive_policy_compute_display_name
+
char*               libhal_drive_policy_compute_display_name
                                                         (LibHalDrive *drive,
                                                          LibHalVolume *volume);

@@ -1023,9 +1013,9 @@


-

+

libhal_drive_policy_default_get_mount_root ()

-
char*               libhal_drive_policy_default_get_mount_root
+
char*               libhal_drive_policy_default_get_mount_root
                                                         ();

@@ -1043,11 +1033,9 @@


-

+

libhal_volume_from_device_file ()

-
LibHalVolume*       libhal_volume_from_device_file      (LibHalContext *hal_ctx,
+
LibHalVolume*       libhal_volume_from_device_file      (LibHalContext *hal_ctx,
                                                          const char *device_file);

@@ -1079,11 +1067,9 @@

-

+

libhal_volume_from_mount_point ()

-
LibHalVolume*       libhal_volume_from_mount_point      (LibHalContext *hal_ctx,
+
LibHalVolume*       libhal_volume_from_mount_point      (LibHalContext *hal_ctx,
                                                          const char *mount_point);

@@ -1115,9 +1101,9 @@

-

+

libhal_volume_free ()

-
void                libhal_volume_free                  (LibHalVolume *volume);
+
void                libhal_volume_free                  (LibHalVolume *volume);

Free all resources used by a LibHalVolume object.

@@ -1134,9 +1120,9 @@


-

+

libhal_volume_get_size ()

-
dbus_uint64_t       libhal_volume_get_size              (LibHalVolume *volume);
+
dbus_uint64_t       libhal_volume_get_size              (LibHalVolume *volume);

@@ -1160,9 +1146,9 @@

-

+

libhal_volume_get_disc_capacity ()

-
dbus_uint64_t       libhal_volume_get_disc_capacity     (LibHalVolume *volume);
+
dbus_uint64_t       libhal_volume_get_disc_capacity     (LibHalVolume *volume);

@@ -1186,9 +1172,9 @@

-

+

libhal_volume_get_udi ()

-
const char*         libhal_volume_get_udi               (LibHalVolume *volume);
+
const char*         libhal_volume_get_udi               (LibHalVolume *volume);

@@ -1212,9 +1198,9 @@

-

+

libhal_volume_get_device_file ()

-
const char*         libhal_volume_get_device_file       (LibHalVolume *volume);
+
const char*         libhal_volume_get_device_file       (LibHalVolume *volume);

@@ -1238,9 +1224,9 @@

-

+

libhal_volume_get_device_major ()

-
unsigned int        libhal_volume_get_device_major      (LibHalVolume *volume);
+
unsigned int        libhal_volume_get_device_major      (LibHalVolume *volume);

@@ -1264,9 +1250,9 @@

-

+

libhal_volume_get_device_minor ()

-
unsigned int        libhal_volume_get_device_minor      (LibHalVolume *volume);
+
unsigned int        libhal_volume_get_device_minor      (LibHalVolume *volume);

@@ -1290,9 +1276,9 @@

-

+

libhal_volume_get_fstype ()

-
const char*         libhal_volume_get_fstype            (LibHalVolume *volume);
+
const char*         libhal_volume_get_fstype            (LibHalVolume *volume);

@@ -1316,9 +1302,9 @@

-

+

libhal_volume_get_fsversion ()

-
const char*         libhal_volume_get_fsversion         (LibHalVolume *volume);
+
const char*         libhal_volume_get_fsversion         (LibHalVolume *volume);

@@ -1342,9 +1328,9 @@

-

+

libhal_volume_get_fsusage ()

-
LibHalVolumeUsage   libhal_volume_get_fsusage           (LibHalVolume *volume);
+
LibHalVolumeUsage   libhal_volume_get_fsusage           (LibHalVolume *volume);

@@ -1368,9 +1354,9 @@

-

+

libhal_volume_is_mounted ()

-
dbus_bool_t         libhal_volume_is_mounted            (LibHalVolume *volume);
+
dbus_bool_t         libhal_volume_is_mounted            (LibHalVolume *volume);

@@ -1394,9 +1380,9 @@

-

+

libhal_volume_is_mounted_read_only ()

-
dbus_bool_t         libhal_volume_is_mounted_read_only  (LibHalVolume *volume);
+
dbus_bool_t         libhal_volume_is_mounted_read_only  (LibHalVolume *volume);

@@ -1420,9 +1406,9 @@

-

+

libhal_volume_is_partition ()

-
dbus_bool_t         libhal_volume_is_partition          (LibHalVolume *volume);
+
dbus_bool_t         libhal_volume_is_partition          (LibHalVolume *volume);

@@ -1446,9 +1432,9 @@

-

+

libhal_volume_is_disc ()

-
dbus_bool_t         libhal_volume_is_disc               (LibHalVolume *volume);
+
dbus_bool_t         libhal_volume_is_disc               (LibHalVolume *volume);

@@ -1472,9 +1458,9 @@

-

+

libhal_volume_get_partition_scheme ()

-
const char*         libhal_volume_get_partition_scheme  (LibHalVolume *volume);
+
const char*         libhal_volume_get_partition_scheme  (LibHalVolume *volume);

@@ -1498,9 +1484,9 @@

-

+

libhal_volume_get_partition_type ()

-
const char*         libhal_volume_get_partition_type    (LibHalVolume *volume);
+
const char*         libhal_volume_get_partition_type    (LibHalVolume *volume);

@@ -1524,9 +1510,9 @@

-

+

libhal_volume_get_partition_label ()

-
const char*         libhal_volume_get_partition_label   (LibHalVolume *volume);
+
const char*         libhal_volume_get_partition_label   (LibHalVolume *volume);

@@ -1550,9 +1536,9 @@

-

+

libhal_volume_get_partition_uuid ()

-
const char*         libhal_volume_get_partition_uuid    (LibHalVolume *volume);
+
const char*         libhal_volume_get_partition_uuid    (LibHalVolume *volume);

@@ -1576,9 +1562,9 @@

-

+

libhal_volume_get_partition_flags ()

-
const char**        libhal_volume_get_partition_flags   (LibHalVolume *volume);
+
const char**        libhal_volume_get_partition_flags   (LibHalVolume *volume);

@@ -1602,9 +1588,9 @@

-

+

libhal_volume_get_partition_number ()

-
unsigned int        libhal_volume_get_partition_number  (LibHalVolume *volume);
+
unsigned int        libhal_volume_get_partition_number  (LibHalVolume *volume);

@@ -1628,9 +1614,9 @@

-

+

libhal_volume_get_partition_start_offset ()

-
dbus_uint64_t       libhal_volume_get_partition_start_offset
+
dbus_uint64_t       libhal_volume_get_partition_start_offset
                                                         (LibHalVolume *volume);

@@ -1655,9 +1641,9 @@


-

+

libhal_volume_get_partition_media_size ()

-
dbus_uint64_t       libhal_volume_get_partition_media_size
+
dbus_uint64_t       libhal_volume_get_partition_media_size
                                                         (LibHalVolume *volume);

@@ -1682,9 +1668,9 @@


-

+

libhal_volume_get_label ()

-
const char*         libhal_volume_get_label             (LibHalVolume *volume);
+
const char*         libhal_volume_get_label             (LibHalVolume *volume);

@@ -1708,9 +1694,9 @@

-

+

libhal_volume_get_mount_point ()

-
const char*         libhal_volume_get_mount_point       (LibHalVolume *volume);
+
const char*         libhal_volume_get_mount_point       (LibHalVolume *volume);

@@ -1734,9 +1720,9 @@

-

+

libhal_volume_get_uuid ()

-
const char*         libhal_volume_get_uuid              (LibHalVolume *volume);
+
const char*         libhal_volume_get_uuid              (LibHalVolume *volume);

@@ -1760,9 +1746,9 @@

-

+

libhal_volume_get_storage_device_udi ()

-
const char*         libhal_volume_get_storage_device_udi
+
const char*         libhal_volume_get_storage_device_udi
                                                         (LibHalVolume *volume);

@@ -1787,9 +1773,9 @@


-

+

libhal_volume_crypto_get_backing_volume_udi ()

-
const char*         libhal_volume_crypto_get_backing_volume_udi
+
const char*         libhal_volume_crypto_get_backing_volume_udi
                                                         (LibHalVolume *volume);

@@ -1814,12 +1800,10 @@


-

+

libhal_volume_crypto_get_clear_volume_udi ()

-
char*               libhal_volume_crypto_get_clear_volume_udi
-                                                        (LibHalContext *hal_ctx,
+
char*               libhal_volume_crypto_get_clear_volume_udi
+                                                        (LibHalContext *hal_ctx,
                                                          LibHalVolume *volume);

@@ -1849,9 +1833,9 @@


-

+

libhal_volume_disc_has_audio ()

-
dbus_bool_t         libhal_volume_disc_has_audio        (LibHalVolume *volume);
+
dbus_bool_t         libhal_volume_disc_has_audio        (LibHalVolume *volume);

@@ -1875,9 +1859,9 @@

-

+

libhal_volume_disc_has_data ()

-
dbus_bool_t         libhal_volume_disc_has_data         (LibHalVolume *volume);
+
dbus_bool_t         libhal_volume_disc_has_data         (LibHalVolume *volume);

@@ -1901,9 +1885,9 @@

-

+

libhal_volume_disc_is_blank ()

-
dbus_bool_t         libhal_volume_disc_is_blank         (LibHalVolume *volume);
+
dbus_bool_t         libhal_volume_disc_is_blank         (LibHalVolume *volume);

@@ -1927,9 +1911,9 @@

-

+

libhal_volume_disc_is_rewritable ()

-
dbus_bool_t         libhal_volume_disc_is_rewritable    (LibHalVolume *volume);
+
dbus_bool_t         libhal_volume_disc_is_rewritable    (LibHalVolume *volume);

@@ -1953,9 +1937,9 @@

-

+

libhal_volume_disc_is_appendable ()

-
dbus_bool_t         libhal_volume_disc_is_appendable    (LibHalVolume *volume);
+
dbus_bool_t         libhal_volume_disc_is_appendable    (LibHalVolume *volume);

@@ -1979,9 +1963,9 @@

-

+

libhal_volume_get_disc_type ()

-
LibHalVolumeDiscType libhal_volume_get_disc_type        (LibHalVolume *volume);
+
LibHalVolumeDiscType libhal_volume_get_disc_type        (LibHalVolume *volume);

@@ -2005,9 +1989,9 @@

-

+

libhal_volume_get_msdos_part_table_type ()

-
int                 libhal_volume_get_msdos_part_table_type
+
int                 libhal_volume_get_msdos_part_table_type
                                                         ();

--- hal-0.5.9.1.orig/tools/hal-system-power-pmi +++ hal-0.5.9.1/tools/hal-system-power-pmi @@ -0,0 +1,129 @@ +#! /bin/bash + +# hal-system-power-pmi - temporary wrapper script for .libs/hal-system-power-pmi +# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) +# +# The hal-system-power-pmi program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='/bin/sed -e 1s/^X//' +sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g' + +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +fi + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command="(cd /home/packages/u/x/hal-0.5.9.1/tools; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; { test -z \"\${LD_LIBRARY_PATH+set}\" || unset LD_LIBRARY_PATH || { LD_LIBRARY_PATH=; export LD_LIBRARY_PATH; }; }; PATH=\"/home/doko/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games\"; export PATH; cc -g -Wall -O2 -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wl,--as-needed -o \$progdir/\$file hal-system-power-pmi.o -ldbus-glib-1 /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so ../libhal/.libs/libhal.so -ldbus-1 -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/home/packages/u/x/hal-0.5.9.1/libhal/.libs -Wl,--rpath -Wl,/usr/lib ) " + +# This environment variable determines our operation mode. +if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then + # install mode needs the following variable: + notinst_deplibs=' ../libhal/libhal.la' +else + # When we are sourced in execute mode, $file and $echo are already set. + if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then + echo="echo" + file="$0" + # Make sure echo works. + if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift + elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then + # Yippee, $echo works! + : + else + # Restart under the correct shell, and then maybe $echo will work. + exec /bin/bash "$0" --no-reexec ${1+"$@"} + fi + fi + + # Find the directory that this script lives in. + thisdir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "x$thisdir" = "x$file" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=`ls -ld "$file" | /bin/sed -n 's/.*-> //p'` + while test -n "$file"; do + destdir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + + # If there was a directory component, then change thisdir. + if test "x$destdir" != "x$file"; then + case "$destdir" in + [\\/]* | [A-Za-z]:[\\/]*) thisdir="$destdir" ;; + *) thisdir="$thisdir/$destdir" ;; + esac + fi + + file=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + file=`ls -ld "$thisdir/$file" | /bin/sed -n 's/.*-> //p'` + done + + # Try to get the absolute directory name. + absdir=`cd "$thisdir" && pwd` + test -n "$absdir" && thisdir="$absdir" + + program=lt-'hal-system-power-pmi' + progdir="$thisdir/.libs" + + if test ! -f "$progdir/$program" || \ + { file=`ls -1dt "$progdir/$program" "$progdir/../$program" 2>/dev/null | /bin/sed 1q`; \ + test "X$file" != "X$progdir/$program"; }; then + + file="$$-$program" + + if test ! -d "$progdir"; then + mkdir "$progdir" + else + rm -f "$progdir/$file" + fi + + # relink executable if necessary + if test -n "$relink_command"; then + if relink_command_output=`eval $relink_command 2>&1`; then : + else + echo "$relink_command_output" >&2 + rm -f "$progdir/$file" + exit 1 + fi + fi + + mv -f "$progdir/$file" "$progdir/$program" 2>/dev/null || + { rm -f "$progdir/$program"; + mv -f "$progdir/$file" "$progdir/$program"; } + rm -f "$progdir/$file" + fi + + if test -f "$progdir/$program"; then + if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then + # Run the actual program with our arguments. + + exec "$progdir/$program" ${1+"$@"} + + $echo "$0: cannot exec $program $*" + exit 1 + fi + else + # The program doesn't exist. + $echo "$0: error: \`$progdir/$program' does not exist" 1>&2 + $echo "This script is just a wrapper for $program." 1>&2 + echo "See the libtool documentation for more information." 1>&2 + exit 1 + fi +fi --- hal-0.5.9.1.orig/debian/pyversions +++ hal-0.5.9.1/debian/pyversions @@ -0,0 +1 @@ +2.4- --- hal-0.5.9.1.orig/debian/hal.examples +++ hal-0.5.9.1/debian/hal.examples @@ -0,0 +1 @@ +debian/no-cd-media-check.fdi --- hal-0.5.9.1.orig/debian/hal.postrm +++ hal-0.5.9.1/debian/hal.postrm @@ -0,0 +1,36 @@ +#!/bin/sh + +set -e + +# gracefully handle udev rules renaming on upgrade errors +if [ "$1" = abort-install ] || [ "$1" = abort-upgrade ]; then + if dpkg --compare-versions "$2" le-nl "0.5.8.1-3ubuntu7"; then + F=/etc/udev/rules.d/85-hal.rules + if [ -e $F.moved-by-preinst ]; then + mv -f $F.moved-by-preinst $F + fi + fi +fi + +#DEBHELPER# + +if [ "$1" = "purge" ] ; then + # Tell dbus to reload it's configuration files only, when we purge the + # package, i.e. when we remove its conffiles in /etc/dbus-1/system.d/ + if [ -x /etc/init.d/dbus ]; then + invoke-rc.d dbus force-reload || true + fi + + if [ -x "$(command -v deluser)" ]; then + deluser --quiet --system haldaemon > /dev/null || true + else + echo >&2 "Not removing haldaemon system account because deluser command was not found" + fi + + rmdir /var/run/hal || true + + rm -f /var/cache/hald/fdi-cache + rmdir /var/cache/hald || true +fi + +exit 0 --- hal-0.5.9.1.orig/debian/libhal-storage1.install +++ hal-0.5.9.1/debian/libhal-storage1.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libhal-storage.so.* --- hal-0.5.9.1.orig/debian/hal-device-manager.1 +++ hal-0.5.9.1/debian/hal-device-manager.1 @@ -0,0 +1,46 @@ +.\" Hey, EMACS: \-*\- nroff \-*\- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1\-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH HAL\-DEVICE\-MANAGER 1 "September 21, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage\-specific macros, see man(7) + +.SH NAME +hal\-device\-manager \- Show devices and their properties + +.SH SYNOPSIS +.BR hal\-device\-manager + +.SH DESCRIPTION +Shows a list of all devices with their properties. + +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. + +.SH OPTIONS +This program accepts all the standard GNOME and GTK+ options, which +follow the usual GNU command line syntax, with long options +starting with two dashes (`\-'). + +.SH SEE ALSO +.BR lshal (1), +.BR hal\-get\-property (1), +.BR hal\-set\-property (1). +.br +For more information visit http://freedesktop.org/Software/hal + +.SH AUTHOR +This manual page was written by Sjoerd Simons , +for the Debian project (but may be used by others). --- hal-0.5.9.1.orig/debian/hal.init +++ hal-0.5.9.1/debian/hal.init @@ -0,0 +1,96 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: hal +# Required-Start: $local_fs dbus +# Required-Stop: $local_fs dbus +# Should-Start: $syslog acpid +# Should-Stop: $syslog acpid +# Default-Start: 2 3 4 5 +# Default-Stop: S 0 1 6 +# Short-Description: Hardware abstraction layer +# Description: The HAL daemon collects and maintains information about +# your hardware. +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/hald +PIDDIR=/var/run/hal +PIDFILE=$PIDDIR/hald.pid +NAME=hald +DAEMONUSER=haldaemon +DESC="Hardware abstraction layer" + +. /lib/lsb/init-functions + +test -x $DAEMON || exit 0 + +# Include hal defaults if available +if [ -f /etc/default/hal ] ; then + . /etc/default/hal +fi + +set -e + +do_start() { + # a crashing gparted sometimes leaves this behind; a bad hack, but we + # should keep this in place until hal offers a native interface for + # temporarily disabling automount (see LP #134712) + rm -f /usr/share/hal/fdi/policy/gparted-disable-automount.fdi + + if [ ! -d $PIDDIR ]; then + mkdir -p $PIDDIR + chown $DAEMONUSER:$DAEMONUSER $PIDDIR + fi + start-stop-daemon --start --oknodo --pidfile $PIDFILE \ + --exec $DAEMON -- $DAEMON_OPTS +} + +do_stop() { + start-stop-daemon --stop --oknodo --quiet --pidfile $PIDFILE \ + --exec $DAEMON +} + +case "$1" in + start) + if [ ! -d /proc/sys/fs/inotify ]; then + log_failure_msg "Can't start $DESC - enable inotify support in your kernel" + exit 0 + fi + if [ ! -e /var/run/dbus/system_bus_socket ]; then + log_failure_msg "Can't start $DESC - please ensure dbus is running" + exit 0 + fi + + if [ ! -d /sys/kernel ]; then + log_failure_msg "Can't start $DESC - sysfs not mounted on /sys" + exit 0 + fi + + if [ "$(stat -c %d/%i /)" != "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; then + log_failure_msg "Can't start $DESC - detected chrooted session" + exit 0 + fi + + log_daemon_msg "Starting $DESC" "$NAME" + do_start + log_end_msg $? + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + log_end_msg $? + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + sleep 1 + do_start + log_end_msg $? + ;; + *) + log_success_msg "Usage: $0 {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- hal-0.5.9.1.orig/debian/compat +++ hal-0.5.9.1/debian/compat @@ -0,0 +1 @@ +5 --- hal-0.5.9.1.orig/debian/libhal-dev.install +++ hal-0.5.9.1/debian/libhal-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include/hal/libhal.h +debian/tmp/usr/lib/pkgconfig/hal.pc +debian/tmp/usr/lib/libhal.so +debian/tmp/usr/lib/libhal.a --- hal-0.5.9.1.orig/debian/libhal1.install +++ hal-0.5.9.1/debian/libhal1.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libhal.so.* --- hal-0.5.9.1.orig/debian/patches/60_add_memstick_support.patch +++ hal-0.5.9.1/debian/patches/60_add_memstick_support.patch @@ -0,0 +1,177 @@ +diff -ur hald.orig/linux/blockdev.c hald/linux/blockdev.c +--- hald.orig/linux/blockdev.c 2007-04-03 17:38:50.000000000 +0100 ++++ hald/linux/blockdev.c 2007-08-31 21:14:55.000000000 +0100 +@@ -896,6 +896,12 @@ + is_hotpluggable = TRUE; + hal_device_property_set_string (d, "storage.bus", "mmc"); + break; ++ } else if (strcmp (bus, "memstick") == 0) { ++ physdev = d_it; ++ physdev_udi = udi_it; ++ is_hotpluggable = TRUE; ++ hal_device_property_set_string (d, "storage.bus", "memstick"); ++ break; + } else if (strcmp (bus, "ccw") == 0) { + physdev = d_it; + physdev_udi = udi_it; +@@ -1019,6 +1025,8 @@ + + } else if (strcmp (parent_bus, "mmc") == 0) { + hal_device_property_set_string (d, "storage.drive_type", "sd_mmc"); ++ } else if (strcmp (parent_bus, "memstick") == 0) { ++ hal_device_property_set_string (d, "storage.drive_type", "memstick"); + } + + hal_device_property_set_string (d, "info.category", "storage"); +diff -ur hald.orig/linux/device.c hald/linux/device.c +--- hald.orig/linux/device.c 2007-08-31 21:14:31.000000000 +0100 ++++ hald/linux/device.c 2007-08-31 21:14:55.000000000 +0100 +@@ -1343,6 +1343,51 @@ + return TRUE; + } + ++ ++static HalDevice * ++memstick_host_add (const gchar *sysfs_path, const gchar *device_file, HalDevice *parent_dev, const gchar *parent_path) ++{ ++ HalDevice *d; ++ gint host_num; ++ const gchar *last_elem; ++ ++ d = NULL; ++ ++ if (parent_dev == NULL || parent_path == NULL) { ++ goto out; ++ } ++ ++ d = hal_device_new (); ++ hal_device_property_set_string (d, "linux.sysfs_path", sysfs_path); ++ ++ hal_device_property_set_string (d, "info.parent", hal_device_get_udi (parent_dev)); ++ ++ hal_device_property_set_string (d, "info.category", "memstick_host"); ++ hal_device_add_capability (d, "memstick_host"); ++ ++ hal_device_property_set_string (d, "info.product", "Memory Stick Host Adapter"); ++ ++ last_elem = hal_util_get_last_element (sysfs_path); ++ sscanf (last_elem, "memstick%d", &host_num); ++ hal_device_property_set_int (d, "memstick_host.host", host_num); ++ ++out: ++ return d; ++} ++ ++static gboolean ++memstick_host_compute_udi (HalDevice *d) ++{ ++ gchar udi[256]; ++ ++ hal_util_compute_udi (hald_get_gdl (), udi, sizeof (udi), ++ "%s_memstick_host", ++ hal_device_property_get_string (d, "info.parent")); ++ hal_device_set_udi (d, udi); ++ hal_device_property_set_string (d, "info.udi", udi); ++ return TRUE; ++} ++ + static HalDevice * + pci_add (const gchar *sysfs_path, const gchar *device_file, HalDevice *parent_dev, const gchar *parent_path) + { +@@ -2110,6 +2155,49 @@ + + } + ++static HalDevice * ++memstick_add (const gchar *sysfs_path, const gchar *device_file, HalDevice *parent_dev, const gchar *parent_path) ++{ ++ HalDevice *d; ++ const gchar *bus_id; ++ ++ if (parent_dev == NULL) { ++ d = NULL; ++ goto out; ++ } ++ ++ d = hal_device_new (); ++ hal_device_property_set_string (d, "linux.sysfs_path", sysfs_path); ++ hal_device_property_set_string (d, "info.subsystem", "memstick"); ++ hal_device_property_set_string (d, "info.bus", "memstick"); ++ hal_device_property_set_string (d, "info.parent", hal_device_get_udi (parent_dev)); ++ ++ hal_util_set_driver (d, "info.linux.driver", sysfs_path); ++ ++ bus_id = hal_util_get_last_element (sysfs_path); ++ ++ hal_util_set_string_from_file (d, "info.product", sysfs_path, "attr_modelname"); ++ hal_util_set_string_from_file (d, "memstick.class", sysfs_path, "class"); ++ hal_util_set_string_from_file (d, "memstick.category", sysfs_path, "category"); ++ ++out: ++ return d; ++} ++ ++static gboolean ++memstick_compute_udi (HalDevice *d) ++{ ++ gchar udi[256]; ++ ++ hal_util_compute_udi (hald_get_gdl (), udi, sizeof (udi), ++ "%s_memstick_card", ++ hal_device_property_get_string (d, "info.parent")); ++ hal_device_set_udi (d, udi); ++ hal_device_property_set_string (d, "info.udi", udi); ++ return TRUE; ++ ++} ++ + /*--------------------------------------------------------------------------------------------------------------*/ + + static HalDevice * +@@ -3046,6 +3134,16 @@ + .remove = dev_remove + }; + ++static DevHandler dev_handler_memstick_host = ++{ ++ .subsystem = "memstick_host", ++ .add = memstick_host_add, ++ .get_prober = NULL, ++ .post_probing = NULL, ++ .compute_udi = memstick_host_compute_udi, ++ .remove = dev_remove ++}; ++ + static DevHandler dev_handler_pci = { + .subsystem = "pci", + .add = pci_add, +@@ -3109,6 +3207,13 @@ + .remove = dev_remove + }; + ++static DevHandler dev_handler_memstick = { ++ .subsystem = "memstick", ++ .add = memstick_add, ++ .compute_udi = memstick_compute_udi, ++ .remove = dev_remove ++}; ++ + static DevHandler dev_handler_ieee1394 = { + .subsystem = "ieee1394", + .add = ieee1394_add, +@@ -3191,6 +3296,7 @@ + &dev_handler_pcmcia, + &dev_handler_scsi, + &dev_handler_mmc, ++ &dev_handler_memstick, + &dev_handler_ieee1394, + &dev_handler_xen, + &dev_handler_ssb, +@@ -3211,6 +3317,7 @@ + &dev_handler_tape, + &dev_handler_tape390, + &dev_handler_mmc_host, ++ &dev_handler_memstick_host, + &dev_handler_backlight, + &dev_handler_firewire, + NULL --- hal-0.5.9.1.orig/debian/patches/14_power_suspend_linux_pmu_fix.patch +++ hal-0.5.9.1/debian/patches/14_power_suspend_linux_pmu_fix.patch @@ -0,0 +1,23 @@ +commit 188a8a5a7aa66ea48af96cda70bac300bb8bc9bc +Author: Sjoerd Simons +Date: Wed Oct 18 23:44:35 2006 +0200 + + use $HAL_PROP_POWER_MANAGEMENT_TYPE to check the power management type + + HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD was used to check if the + powermanagement type, which isn't set on the root object. Using + HAL_PROP_POWER_MANAGEMENT_TYPE fixes suspend on pmu machines + +diff --git a/tools/linux/hal-system-power-suspend-linux b/tools/linux/hal-system-power-suspend-linux +index 6842cc0..dad5198 100755 +--- a/tools/linux/hal-system-power-suspend-linux ++++ b/tools/linux/hal-system-power-suspend-linux +@@ -19,7 +19,7 @@ unsupported() { + read seconds_to_sleep + + #PMU systems cannot use /sys/power/state yet, so use a helper to issue an ioctl +-if [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "pmu" ]; then ++if [ "$HAL_PROP_POWER_MANAGEMENT_TYPE" = "pmu" ]; then + hal-system-power-pmu sleep + if [ $? -ne 0 ]; then + echo "org.freedesktop.Hal.Device.SystemPowerManagement.NotSupported" >&2 --- hal-0.5.9.1.orig/debian/patches/macbook-backlight.diff +++ hal-0.5.9.1/debian/patches/macbook-backlight.diff @@ -0,0 +1,30 @@ +diff -Naurd hal-0.5.9.1-old/fdi/policy/10osvendor/10-macbook-backlight.fdi hal-0.5.9.1/fdi/policy/10osvendor/10-macbook-backlight.fdi +--- hal-0.5.9.1-old/fdi/policy/10osvendor/10-macbook-backlight.fdi 2007-09-05 06:00:09.000000000 +0200 ++++ hal-0.5.9.1/fdi/policy/10osvendor/10-macbook-backlight.fdi 2007-09-05 06:29:42.000000000 +0200 +@@ -3,11 +3,11 @@ + + + +- +- ++ ++ + + +- ++ + + + +diff -Naurd hal-0.5.9.1-old/fdi/policy/10osvendor/10-macbookpro-utils.fdi hal-0.5.9.1/fdi/policy/10osvendor/10-macbookpro-utils.fdi +--- hal-0.5.9.1-old/fdi/policy/10osvendor/10-macbookpro-utils.fdi 2007-09-05 06:00:10.000000000 +0200 ++++ hal-0.5.9.1/fdi/policy/10osvendor/10-macbookpro-utils.fdi 2007-09-05 06:29:42.000000000 +0200 +@@ -5,7 +5,7 @@ + + + +- ++ + + + --- hal-0.5.9.1.orig/debian/patches/55_nonpolkit-mount-policy.patch +++ hal-0.5.9.1/debian/patches/55_nonpolkit-mount-policy.patch @@ -0,0 +1,32 @@ +diff -Nur hal-0.5.9/tools/hal-storage-mount.c hal-0.5.9.new/tools/hal-storage-mount.c +--- hal-0.5.9/tools/hal-storage-mount.c 2007-04-17 20:36:35.000000000 +0200 ++++ hal-0.5.9.new/tools/hal-storage-mount.c 2007-04-17 20:38:34.000000000 +0200 +@@ -143,7 +143,6 @@ + exit (1); + } + +-#ifdef HAVE_POLKIT + static void + permission_denied_privilege (const char *privilege, const char *uid) + { +@@ -151,7 +150,6 @@ + fprintf (stderr, "%s refused uid %s\n", privilege, uid); + exit (1); + } +-#endif + + /* borrowed from gtk/gtkfilesystemunix.c in GTK+ on 02/23/2006 */ + static void +@@ -776,6 +774,12 @@ + permission_denied_privilege (privilege, invoked_by_uid); + } + } ++#else ++ /* root can do everything; only allow handling removable devices ++ * without uid change to non-root users */ ++ if (!invoked_by_uid || strcmp(invoked_by_uid, "0")) ++ if (!privilege || strcmp (privilege, "hal-storage-removable-mount")) ++ permission_denied_privilege (privilege, invoked_by_uid); + #endif + + #ifdef DEBUG --- hal-0.5.9.1.orig/debian/patches/62_dbus-python-0.80.patch +++ hal-0.5.9.1/debian/patches/62_dbus-python-0.80.patch @@ -0,0 +1,52 @@ +--- tools/device-manager/DeviceManager.py.old 2007-03-01 13:51:25.642701954 +0100 ++++ tools/device-manager/DeviceManager.py 2007-03-01 13:53:45.690682834 +0100 +@@ -367,7 +367,7 @@ + # clear category, capabilities + # set category, capabilities + if device.properties.has_key("info.category"): +- category.set_label("%s"%device.properties["info.category"]) ++ category.set_label('"' + '", "'.join(device.properties["info.capabilities"]) + '"') + else: + category.set_label("Unknown") + +@@ -453,24 +453,30 @@ + iter = store.append() + val = device.properties[p] + ptype = type(val) +- if ptype==str: ++ if issubclass(ptype, str): + store.set(iter, 0, p, 1, "string", 2, "%s"%val) +- elif ptype==int: +- store.set(iter, 0, p, 1, "int", 2, "%d (0x%x)"%(val, val)) +- elif ptype==long: +- store.set(iter, 0, p, 1, "long", 2, "%d (0x%x)"%(val, val)) +- elif ptype==bool: ++ elif issubclass(ptype, unicode): ++ store.set(iter, 0, p, 1, "string", 2, val.encode('utf-8')) ++ elif issubclass(ptype, (bool, dbus.Boolean)): + if val: + store.set(iter, 0, p, 1, "bool", 2, "true") + else: + store.set(iter, 0, p, 1, "bool", 2, "false") +- elif ptype==float: ++ elif issubclass(ptype, int): ++ store.set(iter, 0, p, 1, "int", 2, "%d (0x%x)"%(val, val)) ++ elif issubclass(ptype, long): ++ store.set(iter, 0, p, 1, "long", 2, "%d (0x%x)"%(val, val)) ++ elif issubclass(ptype, float): + store.set(iter, 0, p, 1, "float", 2, "%f"%val) + elif ptype==list: + store.set(iter, 0, p, 1, "list", 2, ", ".join(val)) +- else: +- # assume strlist +- store.set(iter, 0, p, 1, "strlist", 2, val) ++ elif issubclass(ptype, list): ++ # assume strlist ++ formatted = (u'"' + u'", "'.join(val) + u'"').encode('utf-8') ++ store.set(iter, 0, p, 1, "strlist", 2, formatted) ++ else: ++ # should never happen ++ store.set(iter, 0, p, 1, "(unknown type)", 2, "") + + + prop_tree_view = self.xml.get_widget("ns_adv_properties") --- hal-0.5.9.1.orig/debian/patches/75-hal-serial-null.patch +++ hal-0.5.9.1/debian/patches/75-hal-serial-null.patch @@ -0,0 +1,39 @@ +commit afcd255ed7dd4729824242f216549c24b5a7a603 +Author: Danny Kukawka +Date: Fri Aug 10 18:08:26 2007 +0200 + + fix possible segfault on serial device check + + Applied slightly adopted patch from Natanael Copa : + > The problem is that serial_get_prober() dont check if + > hal_device_property_get_string() returns NULL or not. + +commit e8e3988db89e062210d9d97778775ae27e2b4815 +Author: Danny Kukawka +Date: Thu Aug 16 15:45:31 2007 +0200 + + fix compilerwarning in serial_get_prober() + + Fixed compilerwarning in serial_get_prober() about incompatible + pointer types. + +diff --git a/hald/linux/device.c b/hald/linux/device.c +index 45cd25b..c6e9942 100644 +diff -Nur hal-0.5.9.1/hald/linux/device.c hal-0.5.9.1.new/hald/linux/device.c +--- hal-0.5.9.1/hald/linux/device.c 2007-04-03 18:40:48.000000000 +0200 ++++ hal-0.5.9.1.new/hald/linux/device.c 2007-09-23 16:30:37.000000000 +0200 +@@ -1223,9 +1223,12 @@ + static const gchar * + serial_get_prober (HalDevice *d) + { ++ const gchar *dev; ++ + /* FIXME TODO: check if there is an other way, to call the porber only +- on ttyS* devices, than check the name of the device file */ +- if (!strncmp(hal_device_property_get_string (d, "linux.device_file"), "/dev/ttyS", 9)) ++ on ttyS* devices, than check the name of the device file */ ++ dev = hal_device_property_get_string (d, "linux.device_file"); ++ if (dev && !strncmp(dev, "/dev/ttyS", 9)) + return "hald-probe-serial"; + else + return NULL; --- hal-0.5.9.1.orig/debian/patches/63_my_dbus_is_full_of_uints.patch +++ hal-0.5.9.1/debian/patches/63_my_dbus_is_full_of_uints.patch @@ -0,0 +1,28 @@ +--- hal-0.5.9.1/hald/hald_dbus.c 2007-04-05 06:04:31.000000000 +0100 ++++ hal-0.5.9.1.crack/hald/hald_dbus.c 2007-09-08 13:22:47.000000000 +0100 +@@ -3574,7 +3574,7 @@ + gint return_code, gchar **error, + gpointer data1, gpointer data2) + { +- dbus_uint32_t result; ++ dbus_int32_t result; + DBusMessage *reply = NULL; + DBusMessage *message; + DBusMessageIter iter; +@@ -3619,14 +3619,14 @@ + dbus_message_unref (reply); + + } else { +- result = (dbus_uint32_t) return_code; ++ result = (dbus_int32_t) return_code; + + reply = dbus_message_new_method_return (message); + if (reply == NULL) + DIE (("No memory")); + + dbus_message_iter_init_append (reply, &iter); +- dbus_message_iter_append_basic (&iter, DBUS_TYPE_UINT32, &result); ++ dbus_message_iter_append_basic (&iter, DBUS_TYPE_INT32, &result); + + if (conn != NULL) { + if (!dbus_connection_send (conn, reply, NULL)) --- hal-0.5.9.1.orig/debian/patches/90_pmi.patch +++ hal-0.5.9.1/debian/patches/90_pmi.patch @@ -0,0 +1,209 @@ +diff -Nur hal/hald/linux/osspec.c hal.new/hald/linux/osspec.c +--- hal/hald/linux/osspec.c 2007-04-03 17:38:50.000000000 +0100 ++++ hal.new/hald/linux/osspec.c 2007-08-29 18:08:24.000000000 +0100 +@@ -722,6 +722,15 @@ + decode_dmi (d); + } + ++static void ++computer_probing_pmi_helper_done (HalDevice *d, guint32 exit_type, ++ gint return_code, gchar **error, ++ gpointer data1, gpointer data2) ++{ ++ HAL_INFO (("In computer_probing_pmi_helper_done")); ++ decode_dmi (d); ++} ++ + void + osspec_probe (void) + { +@@ -774,6 +783,9 @@ + if (g_file_test ("/usr/bin/pm-is-supported", G_FILE_TEST_IS_EXECUTABLE)) { + hald_runner_run (root, "hal-system-power-pm-is-supported", NULL, HAL_HELPER_TIMEOUT, + computer_probing_pm_is_supported_helper_done, NULL, NULL); ++ } else if (g_file_test ("/usr/sbin/pmi", G_FILE_TEST_IS_EXECUTABLE)) { ++ hald_runner_run (root, "hal-system-power-pmi", NULL, HAL_HELPER_TIMEOUT, ++ computer_probing_pmi_helper_done, NULL, NULL); + } else { + decode_dmi (root); + } +diff -Nur hal/tools/Makefile.am hal.new/tools/Makefile.am +--- hal/tools/Makefile.am 2007-05-02 04:57:02.000000000 +0100 ++++ hal.new/tools/Makefile.am 2007-08-29 18:09:01.000000000 +0100 +@@ -72,7 +72,8 @@ + hal-storage-closetray \ + hal-storage-cleanup-mountpoint \ + hal-storage-cleanup-all-mountpoints \ +- hal-system-power-pm-is-supported ++ hal-system-power-pm-is-supported \ ++ hal-system-power-pmi + + if HAVE_PMU + libexec_PROGRAMS += \ +@@ -94,6 +95,9 @@ + hal_system_power_pm_is_supported_SOURCES = hal-system-power-pm-is-supported.c + hal_system_power_pm_is_supported_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ $(top_builddir)/libhal/libhal.la + ++hal_system_power_pmi_SOURCES = hal-system-power-pmi.c ++hal_system_power_pmi_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ $(top_builddir)/libhal/libhal.la ++ + hal_storage_mount_SOURCES = hal-storage-mount.c hal-storage-shared.c hal-storage-shared.h + hal_storage_mount_LDADD = @GLIB_LIBS@ @POLKIT_LIBS@ @DBUS_LIBS@ $(top_builddir)/libhal/libhal.la $(top_builddir)/libhal-storage/libhal-storage.la + +diff -Nur hal/tools/Makefile.in hal.new/tools/Makefile.in +--- hal/tools/Makefile.in 2007-06-12 19:27:25.000000000 +0100 ++++ hal.new/tools/Makefile.in 2007-08-29 18:09:27.000000000 +0100 +@@ -46,8 +46,9 @@ + hal-storage-closetray$(EXEEXT) \ + hal-storage-cleanup-mountpoint$(EXEEXT) \ + hal-storage-cleanup-all-mountpoints$(EXEEXT) \ +- hal-system-power-pm-is-supported$(EXEEXT) $(am__EXEEXT_1) \ +- $(am__EXEEXT_2) $(am__EXEEXT_3) ++ hal-system-power-pm-is-supported$(EXEEXT) \ ++ hal-system-power-pmi$(EXEEXT) $(am__EXEEXT_1) $(am__EXEEXT_2) \ ++ $(am__EXEEXT_3) + @HAVE_PMU_TRUE@am__append_4 = \ + @HAVE_PMU_TRUE@ hal-system-power-pmu + +@@ -150,6 +151,9 @@ + $(am_hal_system_power_pm_is_supported_OBJECTS) + hal_system_power_pm_is_supported_DEPENDENCIES = \ + $(top_builddir)/libhal/libhal.la ++am_hal_system_power_pmi_OBJECTS = hal-system-power-pmi.$(OBJEXT) ++hal_system_power_pmi_OBJECTS = $(am_hal_system_power_pmi_OBJECTS) ++hal_system_power_pmi_DEPENDENCIES = $(top_builddir)/libhal/libhal.la + am__hal_system_power_pmu_SOURCES_DIST = hal-system-power-pmu.c + @HAVE_PMU_TRUE@am_hal_system_power_pmu_OBJECTS = \ + @HAVE_PMU_TRUE@ hal-system-power-pmu.$(OBJEXT) +@@ -196,6 +200,7 @@ + $(hal_storage_closetray_SOURCES) $(hal_storage_eject_SOURCES) \ + $(hal_storage_mount_SOURCES) $(hal_storage_unmount_SOURCES) \ + $(hal_system_power_pm_is_supported_SOURCES) \ ++ $(hal_system_power_pmi_SOURCES) \ + $(hal_system_power_pmu_SOURCES) $(hal_system_sonypic_SOURCES) \ + $(lshal_SOURCES) $(umount_hal_SOURCES) + DIST_SOURCES = $(am__hal_acl_tool_SOURCES_DIST) $(hal_device_SOURCES) \ +@@ -209,6 +214,7 @@ + $(hal_storage_closetray_SOURCES) $(hal_storage_eject_SOURCES) \ + $(hal_storage_mount_SOURCES) $(hal_storage_unmount_SOURCES) \ + $(hal_system_power_pm_is_supported_SOURCES) \ ++ $(hal_system_power_pmi_SOURCES) \ + $(am__hal_system_power_pmu_SOURCES_DIST) \ + $(am__hal_system_sonypic_SOURCES_DIST) $(lshal_SOURCES) \ + $(am__umount_hal_SOURCES_DIST) +@@ -456,6 +462,8 @@ + @HAVE_ACLMGMT_TRUE@hal_acl_tool_LDADD = @GLIB_LIBS@ $(top_builddir)/libhal/libhal.la + hal_system_power_pm_is_supported_SOURCES = hal-system-power-pm-is-supported.c + hal_system_power_pm_is_supported_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ $(top_builddir)/libhal/libhal.la ++hal_system_power_pmi_SOURCES = hal-system-power-pmi.c ++hal_system_power_pmi_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ $(top_builddir)/libhal/libhal.la + hal_storage_mount_SOURCES = hal-storage-mount.c hal-storage-shared.c hal-storage-shared.h + hal_storage_mount_LDADD = @GLIB_LIBS@ @POLKIT_LIBS@ @DBUS_LIBS@ $(top_builddir)/libhal/libhal.la $(top_builddir)/libhal-storage/libhal-storage.la + hal_storage_unmount_SOURCES = hal-storage-unmount.c hal-storage-shared.c hal-storage-shared.h +@@ -657,6 +665,9 @@ + hal-system-power-pm-is-supported$(EXEEXT): $(hal_system_power_pm_is_supported_OBJECTS) $(hal_system_power_pm_is_supported_DEPENDENCIES) + @rm -f hal-system-power-pm-is-supported$(EXEEXT) + $(LINK) $(hal_system_power_pm_is_supported_OBJECTS) $(hal_system_power_pm_is_supported_LDADD) $(LIBS) ++hal-system-power-pmi$(EXEEXT): $(hal_system_power_pmi_OBJECTS) $(hal_system_power_pmi_DEPENDENCIES) ++ @rm -f hal-system-power-pmi$(EXEEXT) ++ $(LINK) $(hal_system_power_pmi_OBJECTS) $(hal_system_power_pmi_LDADD) $(LIBS) + hal-system-power-pmu$(EXEEXT): $(hal_system_power_pmu_OBJECTS) $(hal_system_power_pmu_DEPENDENCIES) + @rm -f hal-system-power-pmu$(EXEEXT) + $(LINK) $(hal_system_power_pmu_OBJECTS) $(hal_system_power_pmu_LDADD) $(LIBS) +@@ -708,6 +719,7 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal-storage-shared.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal-storage-unmount.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal-system-power-pm-is-supported.Po@am__quote@ ++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal-system-power-pmi.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal-system-power-pmu.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal-system-sonypic.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal_find_by_capability.Po@am__quote@ +diff -Nur hal/tools/hal-system-power-pmi.c hal.new/tools/hal-system-power-pmi.c +--- hal/tools/hal-system-power-pmi.c 1970-01-01 01:00:00.000000000 +0100 ++++ hal.new/tools/hal-system-power-pmi.c 2007-08-29 18:08:24.000000000 +0100 +@@ -0,0 +1,85 @@ ++/*************************************************************************** ++ * hal-system-power-pmi.c: Query powermanagement-interface for suspend ++ * ++ * Copyright (C) 2006 David Zeuthen, ++ * Copyright (C) 2007 Canonical Ltd. ++ * (by Colin Watson ) ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License as published by ++ * the Free Software Foundation; either version 2 of the License, or ++ * (at your option) any later version. ++ * ++ * This program is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ * GNU General Public License for more details. ++ * ++ * You should have received a copy of the GNU General Public License ++ * along with this program; if not, write to the Free Software ++ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ++ * ++ **************************************************************************/ ++ ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++#include ++#include ++#include ++#include ++ ++#include ++#include ++ ++int ++main (int argc, char *argv[]) ++{ ++ int ret; ++ char *udi; ++ DBusError error; ++ LibHalContext *hal_ctx = NULL; ++ LibHalChangeSet *cs; ++ gboolean can_suspend = FALSE; ++ gboolean can_hibernate = FALSE; ++ int exit_status; ++ ++ ret = 1; ++ ++ udi = getenv ("HAL_PROP_INFO_UDI"); ++ if (udi == NULL) ++ goto out; ++ ++ dbus_error_init (&error); ++ if ((hal_ctx = libhal_ctx_init_direct (&error)) == NULL) { ++ printf ("Cannot connect to hald\n"); ++ if (dbus_error_is_set (&error)) { ++ dbus_error_free (&error); ++ } ++ goto out; ++ } ++ ++ cs = libhal_device_new_changeset (udi); ++ if (cs == NULL) { ++ printf ("Cannot initialize changeset\n"); ++ goto out; ++ } ++ ++ g_spawn_command_line_sync ("/usr/sbin/pmi query suspend", NULL, NULL, &exit_status, NULL); ++ can_suspend = (exit_status == 0); ++ g_spawn_command_line_sync ("/usr/sbin/pmi query hibernate", NULL, NULL, &exit_status, NULL); ++ can_hibernate = (exit_status == 0); ++ ++ libhal_changeset_set_property_bool (cs, "power_management.can_suspend", can_suspend); ++ libhal_changeset_set_property_bool (cs, "power_management.can_suspend_hybrid", FALSE); ++ libhal_changeset_set_property_bool (cs, "power_management.can_hibernate", can_hibernate); ++ ++ libhal_device_commit_changeset (hal_ctx, cs, &error); ++ libhal_device_free_changeset (cs); ++ ++ ret = 0; ++out: ++ return ret; ++} --- hal-0.5.9.1.orig/debian/patches/64_read_brightness_not_actual_brightness.patch +++ hal-0.5.9.1/debian/patches/64_read_brightness_not_actual_brightness.patch @@ -0,0 +1,14 @@ +diff -Nur hal-0.5.9.1/tools/linux/hal-system-lcd-get-brightness-linux hal-0.5.9.1.new/tools/linux/hal-system-lcd-get-brightness-linux +--- hal-0.5.9.1/tools/linux/hal-system-lcd-get-brightness-linux 2007-04-03 17:38:50.000000000 +0100 ++++ hal-0.5.9.1.new/tools/linux/hal-system-lcd-get-brightness-linux 2007-09-29 21:42:20.000000000 +0100 +@@ -8,8 +8,8 @@ + # (at your option) any later version. + + # we have /sys/class/backlight +-if [ -r "$HAL_PROP_LINUX_SYSFS_PATH/actual_brightness" ]; then +- value="`cat $HAL_PROP_LINUX_SYSFS_PATH/actual_brightness`" ++if [ -r "$HAL_PROP_LINUX_SYSFS_PATH/brightness" ]; then ++ value="`cat $HAL_PROP_LINUX_SYSFS_PATH/brightness`" + exit ${value} + fi + --- hal-0.5.9.1.orig/debian/patches/01_hal_debian_dbuspolicy.patch +++ hal-0.5.9.1/debian/patches/01_hal_debian_dbuspolicy.patch @@ -0,0 +1,20 @@ +diff -aur hal-0.5.8.vanilla/hal.conf.in hal-0.5.8/hal.conf.in +--- hal-0.5.8.vanilla/hal.conf.in 2006-09-11 23:56:39.000000000 +0200 ++++ hal-0.5.8/hal.conf.in 2006-09-17 12:32:49.000000000 +0200 +@@ -54,6 +54,16 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + + + --- hal-0.5.9.1.orig/debian/patches/26-addon-acpi-fix-free-before-init.diff +++ hal-0.5.9.1/debian/patches/26-addon-acpi-fix-free-before-init.diff @@ -0,0 +1,71 @@ +dbus_error handling was being abused quite wrongly. This might even +fix a couple of potential memory leaks... Paul Sladen + + +diff -ur hal-0.5.9.1/hald/linux/addons/addon-acpi.c hal-0.5.9.1.sladen/hald/linux/addons/addon-acpi.c +--- hal-0.5.9.1/hald/linux/addons/addon-acpi.c 2007-10-04 18:55:13.000000000 +0300 ++++ hal-0.5.9.1.sladen/hald/linux/addons/addon-acpi.c 2007-10-04 20:03:07.000000000 +0300 +@@ -185,6 +185,8 @@ + DBusError error; + char event[256]; + ++ dbus_error_init (&error); ++ + while (fgets (event, sizeof event, eventfp)) + { + HAL_DEBUG (("event is '%s'", event)); +@@ -200,12 +202,16 @@ + HAL_DEBUG (("button event")); + + /* TODO: only rescan if button got state */ +- dbus_error_init (&error); + if (libhal_device_rescan (ctx, udi, &error)) { +- dbus_error_init (&error); ++ if (dbus_error_is_set (&error)) { ++ dbus_error_free (&error); ++ } + type = libhal_device_get_property_string(ctx, udi, + "button.type", + &error); ++ if (dbus_error_is_set (&error)) { ++ dbus_error_free (&error); ++ } + if (type != NULL) { + libhal_device_emit_condition (ctx, udi, "ButtonPressed", + type, &error); +@@ -216,31 +222,28 @@ + } + } else if (strncmp (acpi_path, "ac_adapter", sizeof ("ac_adapter") - 1) == 0) { + HAL_DEBUG (("ac_adapter event")); +- dbus_error_init (&error); + libhal_device_rescan (ctx, udi, &error); + } else if (strncmp (acpi_path, "battery", sizeof ("battery") - 1) == 0) { + HAL_DEBUG (("battery event")); +- dbus_error_init (&error); + libhal_device_rescan (ctx, udi, &error); + #ifdef BUILD_ACPI_IBM + } else if (strncmp (acpi_path, "ibm/hotkey", sizeof ("ibm/hotkey") -1) == 0) { + /* handle ibm ACPI hotkey events*/ + handle_ibm_acpi_events(ctx, acpi_num1, acpi_num2); + #endif +- } ++ } + + } else { + HAL_DEBUG (("cannot parse event")); + } + + if (dbus_error_is_set (&error)) { +- /* Free the error (which include a dbus_error_init()) +- This should prevent errors if a call above fails */ ++ /* NB: dbus_error_free (&error) performs dbus_error_init (error); */ + dbus_error_free (&error); + } + } + +- dbus_error_free (&error); ++ /* dbus-errors.c: "An error only needs to be freed if it's been set, not if it's merely been initialized." */ + fclose (eventfp); + } + + --- hal-0.5.9.1.orig/debian/patches/28_runner_64bit_values.patch +++ hal-0.5.9.1/debian/patches/28_runner_64bit_values.patch @@ -0,0 +1,34 @@ +diff --git a/hald-runner/main.c b/hald-runner/main.c +index 3b170b3..3842cb8 100644 +--- a/hald-runner/main.c ++++ b/hald-runner/main.c +@@ -128,9 +128,10 @@ handle_start(DBusConnection *con, DBusMessage *msg) + goto malformed; + + if (run_request_run(r, con, NULL, &pid)) { ++ gint64 ppid = pid; + reply = dbus_message_new_method_return(msg); + dbus_message_append_args (reply, +- DBUS_TYPE_INT64, &pid, ++ DBUS_TYPE_INT64, &ppid, + DBUS_TYPE_INVALID); + + } else { +diff --git a/hald-runner/runner.c b/hald-runner/runner.c +index 57a2a80..8cbc777 100644 +--- a/hald-runner/runner.c ++++ b/hald-runner/runner.c +@@ -175,11 +175,12 @@ out: + /* emit a signal that this PID exited */ + if(rd->con != NULL && rd->emit_pid_exited) { + DBusMessage *signal; ++ gint64 ppid = rd->pid; + signal = dbus_message_new_signal ("/org/freedesktop/HalRunner", + "org.freedesktop.HalRunner", + "StartedProcessExited"); + dbus_message_append_args (signal, +- DBUS_TYPE_INT64, &(rd->pid), ++ DBUS_TYPE_INT64, &(ppid), + DBUS_TYPE_INVALID); + dbus_connection_send(rd->con, signal, NULL); + } --- hal-0.5.9.1.orig/debian/patches/62_ignore_single_slash_label.patch +++ hal-0.5.9.1/debian/patches/62_ignore_single_slash_label.patch @@ -0,0 +1,12 @@ +diff -Nur hal/build-tree/hal-0.5.8.1/tools/hal-storage-mount.c hal.new/build-tree/hal-0.5.8.1/tools/hal-storage-mount.c +--- hal-0.5.8.1/tools/hal-storage-mount.c 2007-03-09 18:13:01.000000000 +0100 ++++ hal-0.5.8.1/tools/hal-storage-mount.c 2007-03-09 18:19:42.000000000 +0100 +@@ -591,7 +591,7 @@ + else + label = NULL; + +- if (label != NULL) { ++ if (label != NULL && strcmp(label, "/") != 0) { + /* best - use label */ + g_strlcpy (mount_point, label, sizeof (mount_point)); + --- hal-0.5.9.1.orig/debian/patches/40_readme_remove_hacking.patch +++ hal-0.5.9.1/debian/patches/40_readme_remove_hacking.patch @@ -0,0 +1,12 @@ +diff -ruN hal-0.5.0-old/README hal-0.5.0/README +--- hal-0.5.0-old/README 2004-12-14 03:47:58.000000000 +0100 ++++ hal-0.5.0/README 2005-04-13 12:32:18.448771192 +0200 +@@ -2,8 +2,6 @@ + HAL is a hardware abstraction layer + + +-See also the file HACKING for notes of interest to developers working on HAL. +- + See http://www.freedesktop.org/Software/hal for lots of documentation, + mailing lists, etc. + --- hal-0.5.9.1.orig/debian/patches/23_addon_acpi.patch +++ hal-0.5.9.1/debian/patches/23_addon_acpi.patch @@ -0,0 +1,28 @@ +diff -aur hal-0.5.8.vanilla/hald/linux/addons/addon-acpi.c hal-0.5.8/hald/linux/addons/addon-acpi.c +--- hal-0.5.8.vanilla/hald/linux/addons/addon-acpi.c 2006-09-11 23:56:39.000000000 +0200 ++++ hal-0.5.8/hald/linux/addons/addon-acpi.c 2006-09-17 16:12:51.000000000 +0200 +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #include + #include + +@@ -45,9 +46,14 @@ + acpi_get_event_fp_kernel (void) + { + FILE *fp = NULL; ++ struct stat sbuf; + +- fp = fopen ("/proc/acpi/event", "r"); ++ if (stat("/usr/sbin/acpid", &sbuf) == 0) { ++ HAL_DEBUG (("acpid installed, not using the kernel acpi event interface")); ++ return NULL; ++ } + ++ fp = fopen ("/proc/acpi/event", "r"); + if (fp == NULL) + HAL_ERROR (("Cannot open /proc/acpi/event: %s", strerror (errno))); + +Only in hal-0.5.8/hald/linux/addons: addon-acpi.c.orig --- hal-0.5.9.1.orig/debian/patches/69_set_dmi_before_matching.patch +++ hal-0.5.9.1/debian/patches/69_set_dmi_before_matching.patch @@ -0,0 +1,51 @@ +diff -ur hal-0.5.9.1.clean/hald/linux/osspec.c hal-0.5.9.1/hald/linux/osspec.c +--- hal-0.5.9.1.clean/hald/linux/osspec.c 2007-09-03 14:14:17.000000000 +0100 ++++ hal-0.5.9.1/hald/linux/osspec.c 2007-09-03 14:24:14.000000000 +0100 +@@ -480,6 +480,23 @@ + if (!hal_device_has_property (d, "system.formfactor")) { + hal_device_property_set_string (d, "system.formfactor", "unknown"); + } ++ ++ /* will enqueue hotplug events for entire system */ ++ HAL_INFO (("Synthesizing sysfs events...")); ++ coldplug_synthesize_events (); ++ ++ HAL_INFO (("Synthesizing powermgmt events...")); ++ if (acpi_synthesize_hotplug_events ()) { ++ HAL_INFO (("ACPI capabilities found")); ++ } else if (pmu_synthesize_hotplug_events ()) { ++ HAL_INFO (("PMU capabilities found")); ++ } else if (apm_synthesize_hotplug_events ()) { ++ HAL_INFO (("APM capabilities found")); ++ } else { ++ HAL_INFO (("No powermgmt capabilities")); ++ } ++ HAL_INFO (("Done synthesizing events")); ++ + di_search_and_merge (d, DEVICE_INFO_TYPE_INFORMATION); + di_search_and_merge (d, DEVICE_INFO_TYPE_POLICY); + +@@ -754,22 +771,6 @@ + /* Let computer be in TDL while synthesizing all other events because some may write to the object */ + hal_device_store_add (hald_get_tdl (), root); + +- /* will enqueue hotplug events for entire system */ +- HAL_INFO (("Synthesizing sysfs events...")); +- coldplug_synthesize_events (); +- +- HAL_INFO (("Synthesizing powermgmt events...")); +- if (acpi_synthesize_hotplug_events ()) { +- HAL_INFO (("ACPI capabilities found")); +- } else if (pmu_synthesize_hotplug_events ()) { +- HAL_INFO (("PMU capabilities found")); +- } else if (apm_synthesize_hotplug_events ()) { +- HAL_INFO (("APM capabilities found")); +- } else { +- HAL_INFO (("No powermgmt capabilities")); +- } +- HAL_INFO (("Done synthesizing events")); +- + /* + * Populate the powermgmt keys according to the kernel options. + * NOTE: This may not mean the machine is able to suspend +Only in hal-0.5.9.1/hald/linux: osspec.c~ --- hal-0.5.9.1.orig/debian/patches/02_powerscripts.patch +++ hal-0.5.9.1/debian/patches/02_powerscripts.patch @@ -0,0 +1,96 @@ +diff --git a/tools/linux/hal-system-power-hibernate-linux b/tools/linux/hal-system-power-hibernate-linux +index 250e191..1adf908 100755 +diff -Nur hal-0.5.9/tools/linux/hal-system-power-hibernate-linux hal-0.5.9.new/tools/linux/hal-system-power-hibernate-linux +--- hal-0.5.9/tools/linux/hal-system-power-hibernate-linux 2007-04-17 20:57:12.000000000 +0200 ++++ hal-0.5.9.new/tools/linux/hal-system-power-hibernate-linux 2007-04-17 21:12:48.000000000 +0200 +@@ -54,15 +54,23 @@ + + #Other distros just need to have *any* tools installed + else +- if [ -x "/usr/bin/powersave" ] ; then ++ if [ -x "/usr/sbin/pm-hibernate" ] ; then ++ /usr/sbin/pm-hibernate $QUIRKS ++ RET=$? ++ elif [ -x "/usr/bin/powersave" ] ; then + $POWERSAVED_SUSPEND2DISK + RET=$? ++ elif [ -x "/etc/acpi/hibernate.sh" ] ; then ++ # acpi-support installed ++ /etc/acpi/hibernate.sh force ++ RET=$? ++ elif [ -x "/usr/sbin/s2disk" ] ; then ++ # uswsusp tools installed ++ /usr/sbin/s2disk ++ RET=$? + elif [ -x "/usr/sbin/pmi" ] ; then + /usr/sbin/pmi action hibernate force + RET=$? +- elif [ -x "/usr/sbin/pm-hibernate" ] ; then +- /usr/sbin/pm-hibernate $QUIRKS +- RET=$? + elif [ -x "/usr/sbin/hibernate" ] ; then + # Suspend2 tools installed + /usr/sbin/hibernate --force +@@ -73,8 +81,8 @@ + RET=$? + else + unsupported +- fi + fi ++fi + + #Refresh devices as a resume can do funny things + for type in button battery ac_adapter +diff -Nur hal-0.5.9/tools/linux/hal-system-power-suspend-linux hal-0.5.9.new/tools/linux/hal-system-power-suspend-linux +--- hal-0.5.9/tools/linux/hal-system-power-suspend-linux 2007-04-17 20:57:12.000000000 +0200 ++++ hal-0.5.9.new/tools/linux/hal-system-power-suspend-linux 2007-04-17 21:13:33.000000000 +0200 +@@ -86,24 +86,36 @@ + + #Other distros just need to have *any* tools installed + else +- if [ -x "/usr/bin/powersave" ] ; then +- $POWERSAVED_SUSPEND2RAM +- RET=$? +- elif [ -x "/usr/sbin/pmi" ] ; then +- /usr/sbin/pmi action suspend force +- RET=$? +- elif [ -x "/usr/sbin/pm-suspend" ] ; then ++ if [ -x "/usr/sbin/pm-suspend" ] ; then + /usr/sbin/pm-suspend $QUIRKS + RET=$? ++ elif [ -x "/usr/bin/powersave" ] ; then ++ $POWERSAVED_SUSPEND2RAM ++ RET=$? ++ elif [ -x "/usr/sbin/hibernate" ] ; then ++ # Use hibernate configured for suspend-to-ram ++ /usr/sbin/hibernate -F/etc/hibernate/ram.conf ++ RET=$? ++ elif [ -x "/etc/acpi/sleep.sh" ] ; then ++ # Use acpi-support for suspend to ram ++ /etc/acpi/sleep.sh force ++ RET=$? ++ elif [ -x "/usr/sbin/s2ram" ] ; then ++ # uswsusp tools installed ++ /usr/sbin/s2ram ++ RET=$? ++ elif [ -x "/usr/sbin/pmi" ] ; then ++ /usr/sbin/pmi action suspend force ++ RET=$? + elif [ -w "/sys/power/state" ] ; then +- # Use the raw kernel sysfs interface +- echo "mem" > /sys/power/state +- RET=$? ++ # Use the raw kernel sysfs interface ++ echo "mem" > /sys/power/state ++ RET=$? + else +- # TODO: add other scripts support +- unsupported +- fi ++ # TODO: add other scripts support ++ unsupported + fi ++fi + + #Refresh devices as a resume can do funny things + for type in button battery ac_adapter --- hal-0.5.9.1.orig/debian/patches/34_add_hwdb_button.patch.disabled +++ hal-0.5.9.1/debian/patches/34_add_hwdb_button.patch.disabled @@ -0,0 +1,2317 @@ +diff -ruN hal-0.5.7-old/tools/device-manager/DeviceManager.py hal-0.5.7/tools/device-manager/DeviceManager.py +--- hal-0.5.7-old/tools/device-manager/DeviceManager.py 2006-05-22 15:14:16.000000000 +0200 ++++ hal-0.5.7/tools/device-manager/DeviceManager.py 2006-05-22 15:14:16.000000000 +0200 +@@ -2,6 +2,7 @@ + + import LaunchpadIntegration + import sys ++import os + import gobject + import gtk + import dbus +@@ -37,6 +38,10 @@ + self.dont_show_virtual = 1 - self.dont_show_virtual + self.update_device_list() + ++ def on_hwdb_activate(self, w): ++ """ run the hwdb client, no need for a test, its a dependency now """ ++ os.spawnl(os.P_WAIT, "/usr/bin/hwdb-gui") ++ + def __init__(self): + """Init the GUI and connect to the HAL daemon.""" + LibGladeApplication.__init__(self, Const.DATADIR + "/hal-device-manager.glade") +diff -ruN hal-0.5.7-old/tools/device-manager/hal-device-manager.glade hal-0.5.7/tools/device-manager/hal-device-manager.glade +--- hal-0.5.7-old/tools/device-manager/hal-device-manager.glade 2005-11-08 16:47:36.000000000 +0100 ++++ hal-0.5.7/tools/device-manager/hal-device-manager.glade 2006-05-22 15:14:35.000000000 +0200 +@@ -21,6 +21,8 @@ + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST ++ True ++ False + True + + +@@ -37,6 +39,8 @@ + + + True ++ GTK_PACK_DIRECTION_LTR ++ GTK_PACK_DIRECTION_LTR + + + +@@ -135,6 +139,9 @@ + False + False + True ++ False ++ False ++ False + + + +@@ -145,1081 +152,1319 @@ + + + +- ++ + True +- True +- True +- True +- GTK_POS_TOP +- False +- False ++ False ++ 0 + + +- +- 12 ++ + True +- 9 +- 2 +- False +- 6 +- 6 +- +- +- +- 84 +- 16 +- True +- <b>Vendor:</b> +- False +- True +- GTK_JUSTIFY_RIGHT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 0 +- 1 +- fill +- +- +- +- +- +- +- 84 +- 16 +- True +- <b>Device:</b> +- False +- True +- GTK_JUSTIFY_RIGHT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 1 +- 2 +- fill +- +- +- +- +- +- +- 250 +- 16 +- True +- True +- Device Name +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 1 +- 2 +- fill +- +- +- +- +- +- +- 84 +- 16 +- True +- <b>Bus Type:</b> +- False +- True +- GTK_JUSTIFY_RIGHT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 4 +- 5 +- fill +- +- +- +- +- +- +- 250 +- 16 +- True +- True +- Status +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 3 +- 4 +- fill +- +- +- +- +- +- +- 250 +- 16 +- True +- True +- Bus Type +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 4 +- 5 +- fill +- +- +- +- +- +- +- 84 +- 16 +- True +- <b>Device Type:</b> +- False +- True +- GTK_JUSTIFY_RIGHT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 6 +- 7 +- fill +- +- +- +- +- +- +- 250 +- 16 +- True +- True +- Device Type +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 6 +- 7 +- fill +- +- +- +- +- +- +- 250 +- 96 +- True +- True +- Capabilties this might be a pretty long list so blablabla yada yda dyadhsk hdks jdhsk dks hdks hdks +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0 +- 0 +- 0 +- +- +- 1 +- 2 +- 7 +- 8 +- fill +- +- +- +- +- +- +- 250 +- 16 +- True +- True +- Device Vendor +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 0 +- 1 +- +- +- +- +- +- +- True +- <b>Capabilities:</b> +- False +- True +- GTK_JUSTIFY_LEFT +- False +- False +- 1 +- 0 +- 0 +- 0 +- +- +- 0 +- 1 +- 7 +- 8 +- fill +- fill +- +- +- +- +- +- 84 +- 16 +- True +- <b>Status:</b> +- False +- True +- GTK_JUSTIFY_RIGHT +- True +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 3 +- 4 +- fill +- +- +- ++ True ++ True ++ True ++ GTK_POS_TOP ++ False ++ False + + +- ++ ++ 12 + True ++ 9 ++ 2 + False +- 0 ++ 6 ++ 6 + + +- ++ ++ 84 ++ 16 ++ True ++ <b>Vendor:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ False ++ False ++ 1 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 0 ++ 1 ++ fill ++ ++ + +- +- +- 0 +- 2 +- 2 +- 3 +- fill +- fill +- +- +- +- +- +- True +- False +- 0 + + +- ++ ++ 84 ++ 16 ++ True ++ <b>Device:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ False ++ False ++ 1 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 1 ++ 2 ++ fill ++ ++ + +- +- +- 0 +- 2 +- 5 +- 6 +- fill +- fill +- +- +- +- +- False +- True +- +- +- +- +- +- True +- Device +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- tab +- +- + +- +- +- 12 +- True +- 7 +- 2 +- False +- 6 +- 6 ++ ++ ++ 250 ++ 16 ++ True ++ True ++ Device Name ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 1 ++ 2 ++ fill ++ ++ ++ + +- +- +- 84 +- 16 +- True +- <b>Bandwidth:</b> +- False +- True +- GTK_JUSTIFY_RIGHT +- True +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 1 +- 2 +- fill +- +- +- ++ ++ ++ 84 ++ 16 ++ True ++ <b>Bus Type:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ False ++ False ++ 1 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 4 ++ 5 ++ fill ++ ++ ++ + +- +- +- 108 +- 16 +- True +- <b>Vendor:</b> +- False +- True +- GTK_JUSTIFY_RIGHT +- True +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 4 +- 5 +- fill +- +- +- ++ ++ ++ 250 ++ 16 ++ True ++ True ++ Status ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 3 ++ 4 ++ fill ++ ++ ++ + +- +- +- 84 +- 16 +- True +- <b>Product:</b> +- False +- True +- GTK_JUSTIFY_RIGHT +- True +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 5 +- 6 +- fill +- +- +- ++ ++ ++ 250 ++ 16 ++ True ++ True ++ Bus Type ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 4 ++ 5 ++ fill ++ ++ ++ + +- +- +- 84 +- 16 +- True +- <b>Revision:</b> +- False +- True +- GTK_JUSTIFY_RIGHT +- True +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 6 +- 7 +- fill +- +- +- ++ ++ ++ 84 ++ 16 ++ True ++ <b>Device Type:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ False ++ False ++ 1 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 6 ++ 7 ++ fill ++ ++ ++ + +- +- +- 250 +- 16 +- True +- True +- USB Version +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 0 +- 1 +- +- +- ++ ++ ++ 250 ++ 16 ++ True ++ True ++ Device Type ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 6 ++ 7 ++ fill ++ ++ ++ + +- +- +- 250 +- 16 +- True +- True +- USB Bandwidth +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 1 +- 2 +- fill +- +- +- ++ ++ ++ 250 ++ 96 ++ True ++ True ++ Capabilties this might be a pretty long list so blablabla yada yda dyadhsk hdks jdhsk dks hdks hdks ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 7 ++ 8 ++ fill ++ ++ ++ + +- +- +- 250 +- 16 +- True +- True +- Max Power Drain +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 2 +- 3 +- fill +- +- +- ++ ++ ++ 250 ++ 16 ++ True ++ True ++ Device Vendor ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 0 ++ 1 ++ ++ ++ + +- +- +- 250 +- 16 +- True +- True +- Manufacturer ID +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 4 +- 5 +- fill +- +- +- ++ ++ ++ True ++ <b>Capabilities:</b> ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 1 ++ 0 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 7 ++ 8 ++ fill ++ fill ++ ++ + +- +- +- 250 +- 16 +- True +- True +- Product ID +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 5 +- 6 +- fill +- +- +- ++ ++ ++ 84 ++ 16 ++ True ++ <b>Status:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ True ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 3 ++ 4 ++ fill ++ ++ ++ + +- +- +- 250 +- 16 +- True +- True +- Product Revision +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 6 +- 7 +- fill +- +- +- ++ ++ ++ True ++ False ++ 0 + +- +- +- True +- False +- 0 ++ ++ ++ ++ ++ ++ 0 ++ 2 ++ 2 ++ 3 ++ fill ++ fill ++ ++ + + +- ++ ++ True ++ False ++ 0 ++ ++ ++ ++ ++ ++ ++ 0 ++ 2 ++ 5 ++ 6 ++ fill ++ fill ++ + + + +- 0 +- 2 +- 3 +- 4 +- fill +- fill ++ False ++ True + + + + +- ++ + True +- <b>USB Version:</b> ++ Device + False +- True ++ False + GTK_JUSTIFY_LEFT + False + False +- 1 ++ 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + +- 0 +- 1 +- 0 +- 1 +- fill +- ++ tab + + + + +- ++ ++ 12 + True +- <b>Power Usage:</b> +- False +- True +- GTK_JUSTIFY_LEFT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 2 +- 3 +- fill +- +- +- +- +- +- False +- True +- +- ++ 7 ++ 2 ++ False ++ 6 ++ 6 + +- +- +- True +- USB +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- tab +- +- ++ ++ ++ 84 ++ 16 ++ True ++ <b>Bandwidth:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ True ++ False ++ 1 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 1 ++ 2 ++ fill ++ ++ ++ + +- +- +- 12 +- True +- 5 +- 2 +- False +- 6 +- 6 ++ ++ ++ 108 ++ 16 ++ True ++ <b>Vendor:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ True ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 4 ++ 5 ++ fill ++ ++ ++ + +- +- +- 108 +- 16 +- True +- <b>Vendor:</b> +- False +- True +- GTK_JUSTIFY_RIGHT +- True +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 0 +- 1 +- +- +- +- ++ ++ ++ 84 ++ 16 ++ True ++ <b>Product:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ True ++ False ++ 1 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 5 ++ 6 ++ fill ++ ++ ++ + +- +- +- 108 +- 16 +- True +- <b>OEM Product:</b> +- False +- True +- GTK_JUSTIFY_RIGHT +- True +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 4 +- 5 +- +- +- +- ++ ++ ++ 84 ++ 16 ++ True ++ <b>Revision:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ True ++ False ++ 1 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 6 ++ 7 ++ fill ++ ++ ++ + +- +- +- 108 +- 16 +- True +- <b>OEM Vendor:</b> +- False +- True +- GTK_JUSTIFY_RIGHT +- True +- False +- 0.5 +- 0.5 +- 0 +- 0 ++ ++ ++ 250 ++ 16 ++ True ++ True ++ USB Version ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 0 ++ 1 ++ ++ ++ ++ ++ ++ ++ 250 ++ 16 ++ True ++ True ++ USB Bandwidth ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 1 ++ 2 ++ fill ++ ++ ++ ++ ++ ++ ++ 250 ++ 16 ++ True ++ True ++ Max Power Drain ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 2 ++ 3 ++ fill ++ ++ ++ ++ ++ ++ ++ 250 ++ 16 ++ True ++ True ++ Manufacturer ID ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 4 ++ 5 ++ fill ++ ++ ++ ++ ++ ++ ++ 250 ++ 16 ++ True ++ True ++ Product ID ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 5 ++ 6 ++ fill ++ ++ ++ ++ ++ ++ ++ 250 ++ 16 ++ True ++ True ++ Product Revision ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 6 ++ 7 ++ fill ++ ++ ++ ++ ++ ++ ++ True ++ False ++ 0 ++ ++ ++ ++ ++ ++ ++ 0 ++ 2 ++ 3 ++ 4 ++ fill ++ fill ++ ++ ++ ++ ++ ++ True ++ <b>USB Version:</b> ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 1 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 0 ++ 1 ++ fill ++ ++ ++ ++ ++ ++ ++ True ++ <b>Power Usage:</b> ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 1 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 2 ++ 3 ++ fill ++ ++ ++ + + +- 0 +- 1 +- 3 +- 4 +- +- ++ False ++ True + + + + +- +- 108 +- 16 ++ + True +- <b>Product:</b> ++ USB + False +- True +- GTK_JUSTIFY_RIGHT +- True ++ False ++ GTK_JUSTIFY_LEFT ++ False + False + 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + +- 0 +- 1 +- 1 +- 2 +- +- ++ tab + + + + +- ++ ++ 12 + True ++ 5 ++ 2 + False +- 0 ++ 6 ++ 6 + + +- ++ ++ 108 ++ 16 ++ True ++ <b>Vendor:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ True ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 0 ++ 1 ++ ++ ++ + +- +- +- 0 +- 2 +- 2 +- 3 +- fill +- fill +- +- + +- +- +- 250 +- 16 +- True +- True +- Manufacturer ID +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 ++ ++ ++ 108 ++ 16 ++ True ++ <b>OEM Product:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ True ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 4 ++ 5 ++ ++ ++ ++ ++ ++ ++ ++ 108 ++ 16 ++ True ++ <b>OEM Vendor:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ True ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 3 ++ 4 ++ ++ ++ ++ ++ ++ ++ ++ 108 ++ 16 ++ True ++ <b>Product:</b> ++ False ++ True ++ GTK_JUSTIFY_RIGHT ++ True ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ 1 ++ 1 ++ 2 ++ ++ ++ ++ ++ ++ ++ ++ True ++ False ++ 0 ++ ++ ++ ++ ++ ++ ++ 0 ++ 2 ++ 2 ++ 3 ++ fill ++ fill ++ ++ ++ ++ ++ ++ 250 ++ 16 ++ True ++ True ++ Manufacturer ID ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 0 ++ 1 ++ ++ ++ ++ ++ ++ ++ 250 ++ 16 ++ True ++ True ++ Product ID ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 1 ++ 2 ++ fill ++ ++ ++ ++ ++ ++ ++ 250 ++ 16 ++ True ++ True ++ OEM Manufacturer ID ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 3 ++ 4 ++ fill ++ ++ ++ ++ ++ ++ ++ 250 ++ 16 ++ True ++ True ++ OEM Product ID ++ False ++ True ++ GTK_JUSTIFY_LEFT ++ True ++ True ++ 0 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 1 ++ 2 ++ 4 ++ 5 ++ fill ++ ++ ++ + + +- 1 +- 2 +- 0 +- 1 +- ++ False ++ True + + + + +- +- 250 +- 16 ++ + True +- True +- Product ID ++ PCI + False +- True ++ False + GTK_JUSTIFY_LEFT +- True +- True +- 0 ++ False ++ False ++ 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + +- 1 +- 2 +- 1 +- 2 +- fill +- ++ tab + + + + +- +- 250 +- 16 ++ + True + True +- OEM Manufacturer ID +- False +- True +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 ++ GTK_POLICY_ALWAYS ++ GTK_POLICY_ALWAYS ++ GTK_SHADOW_NONE ++ GTK_CORNER_TOP_LEFT ++ ++ ++ ++ True ++ True ++ True ++ False ++ False ++ True ++ False ++ False ++ False ++ ++ + + +- 1 +- 2 +- 3 +- 4 +- fill +- ++ False ++ True + + + + +- +- 250 +- 16 ++ + True +- True +- OEM Product ID ++ Advanced + False +- True ++ False + GTK_JUSTIFY_LEFT +- True +- True +- 0 ++ False ++ False ++ 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + +- 1 +- 2 +- 4 +- 5 +- fill +- ++ tab + + + + +- False +- True +- +- +- +- +- +- True +- PCI +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- tab ++ 0 ++ True ++ True + + + + +- ++ + True + True +- GTK_POLICY_ALWAYS +- GTK_POLICY_ALWAYS +- GTK_SHADOW_NONE +- GTK_CORNER_TOP_LEFT ++ GTK_RELIEF_NORMAL ++ True ++ + + +- ++ + True +- True +- True +- False +- False +- True ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ 0 ++ 0 ++ 0 ++ 0 ++ ++ ++ ++ True ++ False ++ 2 ++ ++ ++ ++ True ++ /usr/share/hwdb-client/hwdb.png ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ ++ ++ True ++ Ubuntu Device Database ++ True ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ ++ 0 ++ False ++ False ++ ++ ++ ++ + + + + +- False +- True +- +- +- +- +- +- True +- Advanced +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- tab ++ 0 ++ False ++ False + + + --- hal-0.5.9.1.orig/debian/patches/25_privileges-addons.patch +++ hal-0.5.9.1/debian/patches/25_privileges-addons.patch @@ -0,0 +1,12 @@ +diff -Nur hal-0.5.9/hald/linux/addons/addon-storage.c hal-0.5.9.new/hald/linux/addons/addon-storage.c +--- hal-0.5.9/hald/linux/addons/addon-storage.c 2007-04-01 06:31:07.000000000 +0200 ++++ hal-0.5.9.new/hald/linux/addons/addon-storage.c 2007-04-17 21:00:01.000000000 +0200 +@@ -630,7 +630,7 @@ + /* We could drop privs if we know that the haldaemon user is + * to be able to access block devices... + */ +- /*drop_privileges (1);*/ ++ drop_privileges (1); + + if ((udi = getenv ("UDI")) == NULL) + goto out; --- hal-0.5.9.1.orig/debian/patches/24_ignored_volumes.patch +++ hal-0.5.9.1/debian/patches/24_ignored_volumes.patch @@ -0,0 +1,42 @@ +diff -Nur hal-0.5.9/fdi/policy/10osvendor/20-storage-methods.fdi hal-0.5.9.new/fdi/policy/10osvendor/20-storage-methods.fdi +--- hal-0.5.9/fdi/policy/10osvendor/20-storage-methods.fdi 2007-04-17 21:00:43.000000000 +0200 ++++ hal-0.5.9.new/fdi/policy/10osvendor/20-storage-methods.fdi 2007-04-17 21:09:00.000000000 +0200 +@@ -106,6 +111,38 @@ + + + ++ ++ ++ ++ ++ false ++ ++ true ++ ++ ++ true ++ ++ ++ ++ false ++ ++ ++ ++ ++ ++ ++ ++ true ++ ++ ++ ++ false ++ ++ ++ ++ ++ ++ + org.freedesktop.Hal.Device.Volume + + Mount --- hal-0.5.9.1.orig/debian/patches/ubuntu-lpi.patch +++ hal-0.5.9.1/debian/patches/ubuntu-lpi.patch @@ -0,0 +1,22 @@ +diff -ruN hal-0.5.4-old/tools/device-manager/DeviceManager.py hal-0.5.4/tools/device-manager/DeviceManager.py +--- hal-0.5.4-old/tools/device-manager/DeviceManager.py 2005-07-15 22:28:57.000000000 +0200 ++++ hal-0.5.4/tools/device-manager/DeviceManager.py 2005-10-18 14:03:05.000000000 +0200 +@@ -1,5 +1,6 @@ + """This file contains the DeviceManager class.""" + ++import LaunchpadIntegration + import sys + import gobject + import gtk +@@ -40,6 +41,11 @@ + """Init the GUI and connect to the HAL daemon.""" + LibGladeApplication.__init__(self, Const.DATADIR + "/hal-device-manager.glade") + ++ LaunchpadIntegration.set_sourcepackagename("hal") ++ widget = self.xml.get_widget("help1_menu") ++ print widget ++ LaunchpadIntegration.add_items (widget, -1, False, True); ++ + ver = getattr(dbus, 'version', (0, 0, 0)) + if ver < (0, 40, 0): + dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, --- hal-0.5.9.1.orig/debian/patches/70-libhal-changeset-memleak.patch +++ hal-0.5.9.1/debian/patches/70-libhal-changeset-memleak.patch @@ -0,0 +1,21 @@ +commit 314ee3c92e02b35c19a14e0d7465e7c0df2a7903 +Author: Sjoerd Simons +Date: Thu Jun 21 14:58:54 2007 +0200 + + free changeset elements keys + + Changeset element keys weren't freed, causing memleaks. Mostly in the UPS + addon, which uses it for every change it notices. + +diff --git a/libhal/libhal.c b/libhal/libhal.c +index fb9800a..c8e41aa 100644 +--- a/libhal/libhal.c ++++ b/libhal/libhal.c +@@ -4191,6 +4191,7 @@ libhal_device_free_changeset (LibHalChangeSet *changeset) + fprintf (stderr, "%s %d : unknown change_type %d\n", __FILE__, __LINE__, elem->change_type); + break; + } ++ free (elem->key); + free (elem); + } + --- hal-0.5.9.1.orig/debian/patches/65-keyboard-addon-repeated.patch +++ hal-0.5.9.1/debian/patches/65-keyboard-addon-repeated.patch @@ -0,0 +1,12 @@ +diff -Nur hal-0.5.9/hald/linux/addons/addon-keyboard.c hal-0.5.9.new/hald/linux/addons/addon-keyboard.c +--- hal-0.5.9/hald/linux/addons/addon-keyboard.c 2007-03-07 22:52:19.000000000 +0100 ++++ hal-0.5.9.new/hald/linux/addons/addon-keyboard.c 2007-04-17 20:12:26.000000000 +0200 +@@ -244,7 +244,7 @@ + } + } + } +- } else if (event.type == EV_KEY && key_name[event.code] != NULL && event.value == 1) { ++ } else if (event.type == EV_KEY && key_name[event.code] != NULL && event.value) { + dbus_error_init (&error); + libhal_device_emit_condition (ctx, udi, + "ButtonPressed", --- hal-0.5.9.1.orig/debian/patches/59_add_ssb_bus.patch +++ hal-0.5.9.1/debian/patches/59_add_ssb_bus.patch @@ -0,0 +1,69 @@ +diff -Nur hal-0.5.9/hald/linux/device.c hal-0.5.9.new/hald/linux/device.c +--- hal-0.5.9/hald/linux/device.c 2007-04-17 20:16:06.000000000 +0200 ++++ hal-0.5.9.new/hald/linux/device.c 2007-04-17 20:19:33.000000000 +0200 +@@ -2175,6 +2175,43 @@ + /*--------------------------------------------------------------------------------------------------------------*/ + + static HalDevice * ++ssb_add (const gchar *sysfs_path, const gchar *device_file, HalDevice *parent_dev, const gchar *parent_path) ++{ ++ HalDevice *d; ++ ++ d = hal_device_new (); ++ hal_device_property_set_string (d, "linux.sysfs_path", sysfs_path); ++ hal_device_property_set_string (d, "linux.sysfs_path_device", sysfs_path); ++ hal_device_property_set_string (d, "info.bus", "ssb"); ++ if (parent_dev != NULL) { ++ hal_device_property_set_string (d, "info.parent", hal_device_get_udi (parent_dev)); ++ } else { ++ hal_device_property_set_string (d, "info.parent", "/org/freedesktop/Hal/devices/computer"); ++ } ++ ++ hal_util_set_driver (d, "info.linux.driver", sysfs_path); ++ ++ hal_device_property_set_string (d, "ssb.bus_id", ++ hal_util_get_last_element (sysfs_path)); ++ return d; ++} ++ ++static gboolean ++ssb_compute_udi (HalDevice *d) ++{ ++ gchar udi[256]; ++ ++ hal_util_compute_udi (hald_get_gdl (), udi, sizeof (udi), ++ "/org/freedesktop/Hal/devices/ssb_%s", ++ hal_device_property_get_string (d, "xen.bus_id")); ++ hal_device_set_udi (d, udi); ++ hal_device_property_set_string (d, "info.udi", udi); ++ return TRUE; ++} ++ ++/*--------------------------------------------------------------------------------------------------------------*/ ++ ++static HalDevice * + ieee1394_add (const gchar *sysfs_path, const gchar *device_file, HalDevice *parent_dev, const gchar *parent_path) + { + HalDevice *d; +@@ -3096,6 +3133,13 @@ + .remove = dev_remove + }; + ++static DevHandler dev_handler_ssb = { ++ .subsystem = "ssb", ++ .add = ssb_add, ++ .compute_udi = ssb_compute_udi, ++ .remove = dev_remove ++}; ++ + /* s390 specific busses */ + static DevHandler dev_handler_ccw = { + .subsystem = "ccw", +@@ -3149,6 +3193,7 @@ + &dev_handler_mmc, + &dev_handler_ieee1394, + &dev_handler_xen, ++ &dev_handler_ssb, + &dev_handler_ccw, + &dev_handler_ccwgroup, + &dev_handler_iucv, --- hal-0.5.9.1.orig/debian/patches/56_probe_fstab.patch +++ hal-0.5.9.1/debian/patches/56_probe_fstab.patch @@ -0,0 +1,189 @@ +diff -Nur hal-0.5.9/hald/linux/probing/probe-storage.c hal-0.5.9.new/hald/linux/probing/probe-storage.c +--- hal-0.5.9/hald/linux/probing/probe-storage.c 2007-04-01 09:06:53.000000000 +0200 ++++ hal-0.5.9.new/hald/linux/probing/probe-storage.c 2007-04-17 20:01:45.000000000 +0200 +@@ -96,6 +96,52 @@ + return rc; + } + ++/* check if given volume is in /etc/fstab and put the mount point and options ++ * into linux.fstab.options and linux.fstab.mountpoint */ ++static void ++set_fstab_values (LibHalContext *ctx, const char *device_file, LibHalChangeSet *cs, struct volume_id *vid) ++{ ++ FILE* fstab; ++ struct mntent *me; ++ char pathbuf[PATH_MAX]; ++ char *fstab_dev_rp; ++ ++ fstab = setmntent ("/etc/fstab", "r"); ++ if (!fstab) ++ return; ++ ++ while ((me = getmntent (fstab)) != NULL) { ++ /* try device name and its realpath */ ++ if (!strcmp(me->mnt_fsname, device_file)) ++ break; ++ fstab_dev_rp = realpath (me->mnt_fsname, pathbuf); ++ if (fstab_dev_rp && !strcmp(fstab_dev_rp, device_file)) ++ break; ++ ++ /* try uuid */ ++ if (vid && vid->uuid && ++ !strncmp (me->mnt_fsname, "UUID=", 5) && ++ !strcmp (me->mnt_fsname+5, vid->uuid)) ++ break; ++ ++ /* try label */ ++ if (vid && vid->label && ++ !strncmp (me->mnt_fsname, "LABEL=", 6) && ++ !strcmp (me->mnt_fsname+6, vid->label)) ++ break; ++ } ++ ++ if (me) { ++ /* we got a match */ ++ libhal_changeset_set_property_string (cs, ++ "linux.fstab.mountpoint", me->mnt_dir); ++ libhal_changeset_set_property_string (cs, ++ "linux.fstab.options", me->mnt_opts); ++ } ++ ++ endmntent (fstab); ++} ++ + int + main (int argc, char *argv[]) + { +@@ -108,6 +154,7 @@ + char *bus; + char *drive_type; + char *sysfs_path; ++ struct volume_id *vid = NULL; + dbus_bool_t only_check_for_fs; + LibHalChangeSet *cs; + +@@ -382,7 +429,6 @@ + close (fd); + HAL_DEBUG (("PROBE CLOSED LOCK ON CDROM")); + } else { +- struct volume_id *vid; + GDir *dir; + const gchar *partition; + const gchar *main_device; +@@ -467,12 +513,18 @@ + } else { + ; + } +- volume_id_close(vid); + } + close (fd); + } + ++ /* probe for fstab information (vid might be NULL for removable ++ * devices like CD-ROMs, thus we don't do that in above block */ ++ set_fstab_values(ctx, device_file, cs, vid); ++ + out: ++ if (vid) ++ volume_id_close(vid); ++ + if (cs != NULL) { + libhal_device_commit_changeset (ctx, cs, &error); + libhal_device_free_changeset (cs); +diff -Nur hal-0.5.9/hald/linux/probing/probe-volume.c hal-0.5.9.new/hald/linux/probing/probe-volume.c +--- hal-0.5.9/hald/linux/probing/probe-volume.c 2007-04-01 09:06:53.000000000 +0200 ++++ hal-0.5.9.new/hald/linux/probing/probe-volume.c 2007-04-17 20:02:06.000000000 +0200 +@@ -40,6 +40,7 @@ + #include + #include + #include ++#include + + #include + #include +@@ -151,6 +152,52 @@ + } + } + ++/* check if given volume is in /etc/fstab and put the mount point and options ++ * into linux.fstab.options and linux.fstab.mountpoint */ ++static void ++set_fstab_values (LibHalContext *ctx, const char *device_file, LibHalChangeSet *cs, struct volume_id *vid) ++{ ++ FILE* fstab; ++ struct mntent *me; ++ char pathbuf[PATH_MAX]; ++ char *fstab_dev_rp; ++ ++ fstab = setmntent ("/etc/fstab", "r"); ++ if (!fstab) ++ return; ++ ++ while ((me = getmntent (fstab)) != NULL) { ++ /* try device name and its realpath */ ++ if (!strcmp(me->mnt_fsname, device_file)) ++ break; ++ fstab_dev_rp = realpath (me->mnt_fsname, pathbuf); ++ if (fstab_dev_rp && !strcmp(fstab_dev_rp, device_file)) ++ break; ++ ++ /* try uuid */ ++ if (vid && vid->uuid && ++ !strncmp (me->mnt_fsname, "UUID=", 5) && ++ !strcmp (me->mnt_fsname+5, vid->uuid)) ++ break; ++ ++ /* try label */ ++ if (vid && vid->label && ++ !strncmp (me->mnt_fsname, "LABEL=", 6) && ++ !strcmp (me->mnt_fsname+6, vid->label)) ++ break; ++ } ++ ++ if (me) { ++ /* we got a match */ ++ libhal_changeset_set_property_string (cs, ++ "linux.fstab.mountpoint", me->mnt_dir); ++ libhal_changeset_set_property_string (cs, ++ "linux.fstab.options", me->mnt_opts); ++ } ++ ++ endmntent (fstab); ++} ++ + static void + advanced_disc_detect (LibHalContext *ctx, const char *udi, LibHalChangeSet *cs, + int fd, const char *device_file) +@@ -305,7 +352,7 @@ + DBusError error; + char *parent_udi; + char *sysfs_path; +- struct volume_id *vid; ++ struct volume_id *vid = NULL; + char *stordev_dev_file; + char *partition_number_str; + char *partition_start_str; +@@ -678,7 +725,6 @@ + } + } + +- volume_id_close(vid); + } + + /* get partition type number, if we find a msdos partition table */ +@@ -775,7 +821,15 @@ + /* good so far */ + ret = 0; + ++ /* probe for fstab information (vid might be NULL for removable ++ * devices like CD-ROMs, thus we don't do that in above block */ ++ set_fstab_values(ctx, device_file, cs, vid); ++ + out: ++ ++ if (vid) ++ volume_id_close(vid); ++ + if (cs != NULL) { + /* for testing... + char *values[4] = {"foo", "bar", "baz", NULL}; --- hal-0.5.9.1.orig/debian/patches/ubuntu-desktop-POTFILES.patch +++ hal-0.5.9.1/debian/patches/ubuntu-desktop-POTFILES.patch @@ -0,0 +1,9 @@ +diff -ruN hal-0.5.7-old/po/POTFILES.in hal-0.5.7/po/POTFILES.in +--- hal-0.5.7-old/po/POTFILES.in 2006-01-26 15:32:37.000000000 +0100 ++++ hal-0.5.7/po/POTFILES.in 2006-03-27 16:34:50.000000000 +0200 +@@ -1,4 +1,5 @@ + # List of source files containing translatable strings. + # Please keep this file sorted alphabetically. ++../../debian/hal-device-manager.desktop.in + libhal-storage/libhal-storage.c + tools/device-manager/hal-device-manager.glade --- hal-0.5.9.1.orig/debian/patches/68-pass-noquirks-to-pm-utils.patch +++ hal-0.5.9.1/debian/patches/68-pass-noquirks-to-pm-utils.patch @@ -0,0 +1,30 @@ +We should tell pm-utils if we know about the machine, but don't require a +quirk. We need this to distinguish betweet 'not known' and 'just works' + +I discussed this with richard hughes and stefan seyfried. Not sure if it is +applied upstream yet. + +Author: Tim Dijkstra + +diff --git a/tools/linux/hal-system-power-suspend-linux b/tools/linux/hal-system-power-suspend-linux +index 58a5915..9e4b951 100755 +--- a/tools/linux/hal-system-power-suspend-linux ++++ b/tools/linux/hal-system-power-suspend-linux +@@ -31,6 +31,7 @@ QUIRKS="" + [ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_VGA_MODE_3" = "true" ] && QUIRKS="$QUIRKS --quirk-vga-mode3" + [ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_VBE_POST" = "true" ] && QUIRKS="$QUIRKS --quirk-vbe-post" + [ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_RADEON_OFF" = "true" ] && QUIRKS="$QUIRKS --quirk-radeon-off" ++[ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_NONE" = "true" ] && QUIRKS=" --quirk-none" + + # PMU systems cannot use /sys/power/state yet, so use a helper to issue an ioctl + if [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "pmu" ]; then +--- a/tools/hal-system-power-suspend-hybrid 2007-03-20 22:35:10.000000000 +0100 ++++ b/tools/hal-system-power-suspend-hybrid 2007-06-17 23:16:39.000000000 +0200 +@@ -42,6 +42,7 @@ + [ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_VGA_MODE_3" = "true" ] && QUIRKS="$QUIRKS --quirk-vga-mode3" + [ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_VBE_POST" = "true" ] && QUIRKS="$QUIRKS --quirk-vbepost" + [ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_RADEON_OFF" = "true" ] && QUIRKS="$QUIRKS --quirk-radeon-off" ++[ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_NONE" = "true" ] && QUIRKS=" --quirk-none" + + if [ -x "/usr/sbin/pm-suspend-hybrid" ] ; then + if [ $seconds_to_sleep != "0" ] ; then --- hal-0.5.9.1.orig/debian/copyright +++ hal-0.5.9.1/debian/copyright @@ -0,0 +1,232 @@ +This package was debianized by Martin Waitz on +Fri, 24 Oct 2003 22:54:43 +0200. + +It was downloaded from www.freedesktop.org + +Upstream Author: David Zeuthen + +Copyright: + +HAL is licensed to you under your choice of the Academic Free +License version 2.0, or the GNU General Public License version 2. +Both licenses are included here. Some individual source code files +and/or binaries may be under the GPL only or under the LGPG. + +Each source code file is marked with the proper copyright information. + + The Academic Free License + v. 2.0 + +This Academic Free License (the "License") applies to any original +work of authorship (the "Original Work") whose owner (the "Licensor") +has placed the following notice immediately following the copyright +notice for the Original Work: + +Licensed under the Academic Free License version 2.0 + +1) Grant of Copyright License. Licensor hereby grants You a +world-wide, royalty-free, non-exclusive, perpetual, sublicenseable +license to do the following: + +a) to reproduce the Original Work in copies; + +b) to prepare derivative works ("Derivative Works") based upon the Original Work; + +c) to distribute copies of the Original Work and Derivative Works to the public; + +d) to perform the Original Work publicly; and + +e) to display the Original Work publicly. + +2) Grant of Patent License. Licensor hereby grants You a world-wide, +royalty-free, non-exclusive, perpetual, sublicenseable license, under +patent claims owned or controlled by the Licensor that are embodied in +the Original Work as furnished by the Licensor, to make, use, sell and +offer for sale the Original Work and Derivative Works. + +3) Grant of Source Code License. The term "Source Code" means the +preferred form of the Original Work for making modifications to it and +all available documentation describing how to modify the Original +Work. Licensor hereby agrees to provide a machine-readable copy of +the Source Code of the Original Work along with each copy of the +Original Work that Licensor distributes. Licensor reserves the right +to satisfy this obligation by placing a machine-readable copy of the +Source Code in an information repository reasonably calculated to +permit inexpensive and convenient access by You for as long as +Licensor continues to distribute the Original Work, and by publishing +the address of that information repository in a notice immediately +following the copyright notice that applies to the Original Work. + +4) Exclusions From License Grant. Neither the names of Licensor, nor +the names of any contributors to the Original Work, nor any of their +trademarks or service marks, may be used to endorse or promote +products derived from this Original Work without express prior written +permission of the Licensor. Nothing in this License shall be deemed +to grant any rights to trademarks, copyrights, patents, trade secrets +or any other intellectual property of Licensor except as expressly +stated herein. No patent license is granted to make, use, sell or +offer to sell embodiments of any patent claims other than the licensed +claims defined in Section 2. No right is granted to the trademarks of +Licensor even if such marks are included in the Original Work. +Nothing in this License shall be interpreted to prohibit Licensor from +licensing under different terms from this License any Original Work +that Licensor otherwise would have a right to license. + +5) This section intentionally omitted. + +6) Attribution Rights. You must retain, in the Source Code of any +Derivative Works that You create, all copyright, patent or trademark +notices from the Source Code of the Original Work, as well as any +notices of licensing and any descriptive text identified therein as an +"Attribution Notice." You must cause the Source Code for any +Derivative Works that You create to carry a prominent Attribution +Notice reasonably calculated to inform recipients that You have +modified the Original Work. + +7) Warranty of Provenance and Disclaimer of Warranty. Licensor +warrants that the copyright in and to the Original Work and the patent +rights granted herein by Licensor are owned by the Licensor or are +sublicensed to You under the terms of this License with the permission +of the contributor(s) of those copyrights and patent rights. Except +as expressly stated in the immediately proceeding sentence, the +Original Work is provided under this License on an "AS IS" BASIS and +WITHOUT WARRANTY, either express or implied, including, without +limitation, the warranties of NON-INFRINGEMENT, MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY +OF THE ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF WARRANTY +constitutes an essential part of this License. No license to Original +Work is granted hereunder except under this disclaimer. + +8) Limitation of Liability. Under no circumstances and under no legal +theory, whether in tort (including negligence), contract, or +otherwise, shall the Licensor be liable to any person for any direct, +indirect, special, incidental, or consequential damages of any +character arising as a result of this License or the use of the +Original Work including, without limitation, damages for loss of +goodwill, work stoppage, computer failure or malfunction, or any and +all other commercial damages or losses. This limitation of liability +shall not apply to liability for death or personal injury resulting +from Licensor's negligence to the extent applicable law prohibits such +limitation. Some jurisdictions do not allow the exclusion or +limitation of incidental or consequential damages, so this exclusion +and limitation may not apply to You. + +9) Acceptance and Termination. If You distribute copies of the +Original Work or a Derivative Work, You must make a reasonable effort +under the circumstances to obtain the express assent of recipients to +the terms of this License. Nothing else but this License (or another +written agreement between Licensor and You) grants You permission to +create Derivative Works based upon the Original Work or to exercise +any of the rights granted in Section 1 herein, and any attempt to do +so except under the terms of this License (or another written +agreement between Licensor and You) is expressly prohibited by +U.S. copyright law, the equivalent laws of other countries, and by +international treaty. Therefore, by exercising any of the rights +granted to You in Section 1 herein, You indicate Your acceptance of +this License and all of its terms and conditions. + +10) Termination for Patent Action. This License shall terminate +automatically and You may no longer exercise any of the rights granted +to You by this License as of the date You commence an action, +including a cross-claim or counterclaim, for patent infringement (i) +against Licensor with respect to a patent applicable to software or +(ii) against any entity with respect to a patent applicable to the +Original Work (but excluding combinations of the Original Work with +other software or hardware). + +11) Jurisdiction, Venue and Governing Law. Any action or suit relating +to this License may be brought only in the courts of a jurisdiction +wherein the Licensor resides or in which Licensor conducts its primary +business, and under the laws of that jurisdiction excluding its +conflict-of-law provisions. The application of the United Nations +Convention on Contracts for the International Sale of Goods is +expressly excluded. Any use of the Original Work outside the scope of +this License or after its termination shall be subject to the +requirements and penalties of the U.S. Copyright Act, 17 U.S.C. \u00a4 +101 et seq., the equivalent laws of other countries, and international +treaty. This section shall survive the termination of this License. + +12) Attorneys Fees. In any action to enforce the terms of this License +or seeking damages relating thereto, the prevailing party shall be +entitled to recover its costs and expenses, including, without +limitation, reasonable attorneys' fees and costs incurred in +connection with such action, including any appeal of such action. +This section shall survive the termination of this License. + +13) Miscellaneous. This License represents the complete agreement +concerning the subject matter hereof. If any provision of this +License is held to be unenforceable, such provision shall be reformed +only to the extent necessary to make it enforceable. + +14) Definition of "You" in This License. "You" throughout this +License, whether in upper or lower case, means an individual or a +legal entity exercising rights under, and complying with all of the +terms of, this License. For legal entities, "You" includes any entity +that controls, is controlled by, or is under common control with you. +For purposes of this definition, "control" means (i) the power, direct +or indirect, to cause the direction or management of such entity, +whether by contract or otherwise, or (ii) ownership of fifty percent +(50%) or more of the outstanding shares, or (iii) beneficial ownership +of such entity. + +15) Right to Use. You may use the Original Work in all ways not +otherwise restricted or conditioned by this License or by law, and +Licensor promises not to interfere with or be responsible for such +uses by You. + +This license is Copyright (C) 2003 Lawrence E. Rosen. All rights +reserved. Permission is hereby granted to copy and distribute this +license without modification. This license may not be modified +without the express written permission of its copyright owner. + +-- +END OF ACADEMIC FREE LICENSE. The following is intended to describe the essential +differences between the Academic Free License (AFL) version 1.0 and other +open source licenses: + +The Academic Free License is similar to the BSD, MIT, UoI/NCSA and Apache +licenses in many respects but it is intended to solve a few problems with +those licenses. + +* The AFL is written so as to make it clear what software is being +licensed (by the inclusion of a statement following the copyright notice +in the software). This way, the license functions better than a template +license. The BSD, MIT and UoI/NCSA licenses apply to unidentified software. + +* The AFL contains a complete copyright grant to the software. The BSD +and Apache licenses are vague and incomplete in that respect. + +* The AFL contains a complete patent grant to the software. The BSD, MIT, +UoI/NCSA and Apache licenses rely on an implied patent license and contain +no explicit patent grant. + +* The AFL makes it clear that no trademark rights are granted to the +licensor's trademarks. The Apache license contains such a provision, but the +BSD, MIT and UoI/NCSA licenses do not. + +* The AFL includes the warranty by the licensor that it either owns the +copyright or that it is distributing the software under a license. None of +the other licenses contain that warranty. All other warranties are disclaimed, +as is the case for the other licenses. + +* The AFL is itself copyrighted (with the right granted to copy and distribute +without modification). This ensures that the owner of the copyright to the +license will control changes. The Apache license contains a copyright notice, +but the BSD, MIT and UoI/NCSA licenses do not. + + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +A copy of the GPL is available in /usr/share/common-licenses/GPL --- hal-0.5.9.1.orig/debian/hal.preinst +++ hal-0.5.9.1/debian/hal.preinst @@ -0,0 +1,82 @@ +#!/bin/sh + +set -e + +rm_conffile() { + PKGNAME="hal" + CONFFILE="$1" + + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi + fi +} + +mv_conffile() { + OLD="$1" + NEW="$2" + if [ -e "$OLD" ]; then + md5sum="`md5sum \"$OLD\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg -s dhcdbd | sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' $OLD'{s/.* //;p}}\"`" + if [ "$md5sum" = "$old_md5sum" ]; then + mv -f "$OLD" "$OLD.moved-by-preinst" + else + mv -f "$OLD" "$NEW" + fi + fi +} + +case "$1" in + install|upgrade) + if dpkg --compare-versions "$2" le "0.5.2-1"; then + rm_conffile "/etc/hal/fdi/preferences.fdi" + rm_conffile "/etc/dev.d/block/hal-unmount.dev" + fi + if dpkg --compare-versions "$2" le "0.5.6-2"; then + rm_conffile "/etc/udev/scripts/device-removable.sh" + fi + if dpkg --compare-versions "$2" le "0.5.6-4"; then + rm_conffile "/etc/hal/fdi/preferences.fdi" + fi + if dpkg --compare-versions "$2" le "0.5.7-2"; then + rm_conffile "/etc/udev/rules.d/90-hal.rules" + fi + if dpkg --compare-versions "$2" le "0.5.7.1-1"; then + deluser --quiet --system hal > /dev/null || true + fi + if dpkg --compare-versions "$2" le "0.5.8.1-3ubuntu7"; then + mv_conffile /etc/udev/rules.d/85-hal.rules /etc/udev/rules.d/95-hal.rules + fi + if dpkg --compare-versions "$2" lt "0.5.9-3"; then + if [ -x /etc/dbus-1/event.d/20hal ]; then + /etc/dbus-1/event.d/20hal stop + fi + rm_conffile "/etc/dbus-1/event.d/20hal" + fi + + # fix rc symlink priorities for upgrades from older gutsy versions + if dpkg --compare-versions "$2" le-nl 0.5.9.1-1ubuntu2; then + echo "Fixing up startup script priorities..." + for l in 2 3 4 5; do + old=/etc/rc$l.d/S24hal + new=/etc/rc$l.d/S12hal + if [ -e $old ] && ! [ -e $new ]; then + mv $old $new + fi + done + fi +esac + + + +#DEBHELPER# + +exit 0 --- hal-0.5.9.1.orig/debian/no-cd-media-check.fdi +++ hal-0.5.9.1/debian/no-cd-media-check.fdi @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- hal-0.5.9.1.orig/debian/control +++ hal-0.5.9.1/debian/control @@ -0,0 +1,119 @@ +Source: hal +Section: admin +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Sjoerd Simons +Uploaders: Sebastian Dröge , Michael Biebl +Build-Depends: debhelper (>= 5.0.37.2), cdbs, autotools-dev, python-support (>= 0.5.3), python-dbus, libdbus-glib-1-dev (>= 0.60), libglib2.0-dev, libsysfs-dev, libexpat1-dev, libpopt-dev, pkg-config, pciutils, doxygen, intltool (>= 0.22), libusb-dev, libvolume-id-dev, python, xmlto, libxml2-utils, gtk-doc-tools, pciutils-dev, sharutils +Standards-Version: 3.7.2 +XS-Vcs-Bzr: https://code.launchpad.net/~ubuntu-core-dev/hal/ubuntu + +Package: hal +Architecture: any +Depends: ${shlibs:Depends}, adduser, pciutils, usbutils, udev (>= 0.065), dbus (>= 0.60-1), lsb-base, hal-info (>= 20070402) +Recommends: eject +Suggests: hal-device-manager +Description: Hardware Abstraction Layer + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + +Package: hal-device-manager +Architecture: all +Depends: ${shlibs:Depends}, ${python:Depends}, python-dbus, python-gnome2, python-glade2, hal, python-launchpad-integration, hwdb-client-gnome +Conflicts: hal (<< 0.5) +Description: Hardware Abstraction Layer user interface + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + . + This package provides a user interface which shows the information HAL knows + about the devices on the system. + +Package: hal-doc +Architecture: all +Section: doc +Suggests: devhelp +Description: Hardware Abstraction Layer - documentation + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + . + This Package contains the API documentation for HAL. + + +Package: libhal1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: Hardware Abstraction Layer - shared library + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + . + This package contains shared libraries to be used by applications. + +Package: libhal-storage1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: Hardware Abstraction Layer - shared library for storage devices + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + . + This library provides an interface for handling storage devices. + +Package: libhal-dev +Section: libdevel +Architecture: any +Depends: libhal1 (= ${binary:Version}), libdbus-1-dev (>= 0.60) +Suggests: hal-doc +Description: Hardware Abstraction Layer - development files + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + . + This package contains files that are needed to build applications. + +Package: libhal-storage-dev +Section: libdevel +Architecture: any +Depends: libhal-storage1 (= ${binary:Version}), libdbus-1-dev (>= 0.60), libhal-dev +Suggests: hal-doc +Description: Hardware Abstraction Layer - development files + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + . + This package contains files that are needed to build applications that use + libhal-storage1. + --- hal-0.5.9.1.orig/debian/hal.udev.rules +++ hal-0.5.9.1/debian/hal.udev.rules @@ -0,0 +1,2 @@ +# Have udev pass data over a socket to hal +RUN+="socket:/org/freedesktop/hal/udev_event" --- hal-0.5.9.1.orig/debian/hal.dirs +++ hal-0.5.9.1/debian/hal.dirs @@ -0,0 +1,2 @@ +/var/cache/hald +/var/lib/hal --- hal-0.5.9.1.orig/debian/README.Debian +++ hal-0.5.9.1/debian/README.Debian @@ -0,0 +1,25 @@ + + The powermanagement callouts are in the default hal config + (org.freedesktop.Hal.Device.SystemPowerManagement and + org.freedesktop.Hal.Device.LaptopPanel) can be used by users in group + powerdev. The storage callouts (org.freedesktop.Hal.Device.Volume.*) can by + used by users in the group plugdev. + + The acpi addon won't use the kernel acpi events interface but the acpid's + event socket if acpid is installed. If acpid is removed, hal needs to be + restarted to enable monitoring of acpi events again. And if apci is installed, + hal needs a restart to free the kernels acpi events interface for acpid. + + + Some CD and DVD drives, such as the GDR8162B model found in some Dell + laptops, do not correctly handle media status inquiries and incorrectly + spin up the drive when they should not. Since hal regularly polls CD + drives for media changes, this results in increased power consumption and + mechanical wear and tear on such drives, which remain spinning constantly + while hal is running. + + If you have a CD/DVD drive exhibiting this problem, you can copy + /usr/share/doc/hal/examples/no-cd-media-check.fdi to /etc/hal/fdi/policy/ to + disable media checks for your drive. This file disables media checks for + all CD drives on the system, and also includes an example config for + disabling media checks only on a specific drive. --- hal-0.5.9.1.orig/debian/hal.manpages +++ hal-0.5.9.1/debian/hal.manpages @@ -0,0 +1,9 @@ +debian/tmp/usr/share/man/man8/hald.8 +debian/tmp/usr/share/man/man1/hal-disable-polling.1 +debian/tmp/usr/share/man/man1/hal-find-by-capability.1 +debian/tmp/usr/share/man/man1/hal-find-by-property.1 +debian/tmp/usr/share/man/man1/hal-get-property.1 +debian/tmp/usr/share/man/man1/hal-is-caller-locked-out.1 +debian/tmp/usr/share/man/man1/hal-lock.1 +debian/tmp/usr/share/man/man1/hal-set-property.1 +debian/tmp/usr/share/man/man1/lshal.1 --- hal-0.5.9.1.orig/debian/preferences.fdi +++ hal-0.5.9.1/debian/preferences.fdi @@ -0,0 +1,56 @@ + + + + + + + + + + false + + + + + + + + --- hal-0.5.9.1.orig/debian/libhal-storage-dev.install +++ hal-0.5.9.1/debian/libhal-storage-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include/hal/libhal-storage.h +debian/tmp/usr/lib/pkgconfig/hal-storage.pc +debian/tmp/usr/lib/libhal-storage.so +debian/tmp/usr/lib/libhal-storage.a --- hal-0.5.9.1.orig/debian/hal-doc.links +++ hal-0.5.9.1/debian/hal-doc.links @@ -0,0 +1,2 @@ +usr/share/doc/hal-doc/api/libhal usr/share/gtk-doc/html/libhal +usr/share/doc/hal-doc/api/libhal-storage usr/share/gtk-doc/html/libhal-storage --- hal-0.5.9.1.orig/debian/watch +++ hal-0.5.9.1/debian/watch @@ -0,0 +1,4 @@ +# format +version=3 + +http://freedesktop.org/~david/dist/hal-([\d\.]+)\.tar\.gz --- hal-0.5.9.1.orig/debian/hal.docs +++ hal-0.5.9.1/debian/hal.docs @@ -0,0 +1 @@ +build-tree/*/doc/TODO --- hal-0.5.9.1.orig/debian/rules +++ hal-0.5.9.1/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/utils.mk +include /usr/share/cdbs/1/class/gnome.mk + +ifneq ($(findstring $(DEB_BUILD_ARCH), i386 amd64),) +CONFIGURE_ARCH_FLAGS = --with-macbookpro --with-macbook +endif + +DEB_CONFIGURE_EXTRA_FLAGS := --enable-hotplug-map \ + --with-pid-file=/var/run/hal/hald.pid \ + --enable-pcmcia-support \ + --with-hwdata=/usr/share/misc \ + --disable-policy-kit \ + --disable-console-kit \ + --enable-docbook-docs \ + --docdir=/usr/share/doc/hal-doc \ + $(CONFIGURE_ARCH_FLAGS) + +DEB_DH_INSTALLINIT_ARGS := -- start 12 2 3 4 5 . stop 16 1 . + +binary-install/hal-device-manager:: + dh_pysupport -phal-device-manager /usr/share/hal/device-manager/ + +post-patches:: + uudecode -o tools/device-manager/hal-cpu.png < debian/hal-cpu.png.uuencode + uudecode -o tools/device-manager/hal-memory.png < debian/hal-memory.png.uuencode + uudecode -o tools/device-manager/hwdb.png < debian/hwdb.png.uuencode + +clean:: + rm -f tools/device-manager/hal-cpu.png tools/device-manager/hal-memory.png tools/device-manager/hwdb.png + +common-install-impl:: + # Remove hal's default udev rules files.. We ship our own + rm -rf $(DEB_DESTDIR)/etc/udev + + install -m 644 -D debian/hal.udev.rules \ + $(DEB_DESTDIR)/etc/udev/rules.d/95-hal.rules + +common-binary-predeb-arch:: + for p in $$(dh_listpackages -a -Nlibhal1); do \ + rm -rf debian/$$p/usr/share/doc/$$p; \ + ln -s libhal1 debian/$$p/usr/share/doc/$$p; \ + case $$p in hal) \ + mkdir -p debian/$$p/usr/share/doc/libhal1; \ + cp -p doc/TODO debian/$$p/usr/share/doc/libhal1/; \ + esac; \ + done + +common-binary-predeb-indep:: + for p in $$(dh_listpackages -i -Nhal-doc); do \ + rm -rf debian/$$p/usr/share/doc/$$p; \ + ln -s libhal1 debian/$$p/usr/share/doc/$$p; \ + done --- hal-0.5.9.1.orig/debian/libhal-storage1.shlibs +++ hal-0.5.9.1/debian/libhal-storage1.shlibs @@ -0,0 +1 @@ +libhal-storage 1 libhal-storage1 (>= 0.5.9) --- hal-0.5.9.1.orig/debian/hal-device-manager.desktop +++ hal-0.5.9.1/debian/hal-device-manager.desktop @@ -0,0 +1,22 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Hardware Information +Comment=View hardware information +Comment[ca]=Gestor de dispositius HAL +Comment[da]=HAL - enhedshåndtering +Comment[de]=Hardware-Informationen anzeigen +Comment[fa]=ﻡﺩیﺭ ﺲﺨﺗ ﺎﻓﺯﺍﺭ HAL +Comment[fi]=HAL-laitehallinta +Comment[fr]=Gestionnaire de périphériques HAL +Comment[hu]=HAL eszközkezelő +Comment[it]=Gestore delle periferiche HAL +Comment[nl]=HAL apparaatbeheer +Comment[pt]=Gestor de dispositivos HAL +Comment[pt_BR]=Gerenciador de dispositivos HAL +Exec=hal-device-manager +Icon=hwbrowser +StartupNotify=true +Terminal=false +Type=Application +Categories=GNOME;Settings;HardwareSettings; +X-Ubuntu-Gettext-Domain=hal --- hal-0.5.9.1.orig/debian/run-hald.sh +++ hal-0.5.9.1/debian/run-hald.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +cd hald +P="`pwd`" +export HALD_RUNNER_PATH=$P/linux:$P/linux/probing:$P/linux/addons:.:../tools:../tools/linux +export PATH=../hald-runner:$PATH +export HAL_FDI_SOURCE_PREPROBE=../fdi/preprobe +export HAL_FDI_SOURCE_INFORMATION=../fdi/information +export HAL_FDI_SOURCE_POLICY=../fdi/policy +./hald --daemon=no --verbose=yes + --- hal-0.5.9.1.orig/debian/hal-cpu.png.uuencode +++ hal-0.5.9.1/debian/hal-cpu.png.uuencode @@ -0,0 +1,25 @@ +begin 644 hal-0.4.7/tools/device-manager/hal-cpu.png.uuencode +MB5!.1PT*&@H````-24A$4@```!`````0"`8````?\_]A````!F)+1T0`_P#_ +M`/^@O:>3````"7!(67,```L3```+$P$`FIP8````!W1)344'U0$>%@`%:T`% +M;0```!UT15AT0V]M;65N=`!#G"+ESHKBA=%(N+H2M_0'$QW1A9/G`XA\.!_]39V/'F"HBA,3T__C\W,S-S9\`"L +MK*R0S^<_'AT=_4I*&0B%0KE,)O-97U_?YN#@8$91%*_?[\^ET^G/N[N[-P<& +M!M*3DY.?;&QLH`#,S#X^)AX/$XFD^'L[`R`4JD$@&59M-MM/!X/ +M4DHZ?!V^QV./HFJM5F-U=?6H4JF@JBJ93`:OUTNE4F%_?Y^>GAZ"P2!=75TH +MBD(D$J'5:O';ULO;E[__61;!8)"EI:7OPN%P3ZO5`J!0*!`*A4@FDVB:1K5: +MQ7$7;U3#,%A;6\OZ?#X,P\"V;4Y.3M`TC60R2;U> +MIZ.C@U:KA=_OQS`,I)1L9K-2:*+L`9B:FAHM%HLT&@WR^3RI5`K7==G9V2&? +MS]-NMW$F)1J/$XW$C%HM1K]?Q>KT<'1T1"`10 +M516OUXNJJIBF"4`X'$;7=6PIU;&Q1Q%AFB;;V]N#(R,CCVW;)A*)<'Y^CL_G +MP[9M-$U#TS2DE"B*@J[K&(;!BZT7%W^]+OP@_'X_\_/SWP2#P;Y:K8;KNEQ? +M7R.$P+9M:K4:IFGBNBZ:IF%9%M5JE0>I=VXMVWJCFJ;)^OKZKW>)S6;S_N?E +M`7^[K+B\O`WPY,3'Q$?!^.IW^ +C>GAX^+VWV`=OL2_N?/\";#>;,;E9VM$`````245.1*Y"8((` +` +end --- hal-0.5.9.1.orig/debian/debian-storage-policy-ignore-fixed-crypto-drives.fdi +++ hal-0.5.9.1/debian/debian-storage-policy-ignore-fixed-crypto-drives.fdi @@ -0,0 +1,13 @@ + + + + + + + + true + + + + + --- hal-0.5.9.1.orig/debian/hal.install +++ hal-0.5.9.1/debian/hal.install @@ -0,0 +1,15 @@ +debian/tmp/etc/ +debian/tmp/usr/bin/lshal +debian/tmp/usr/bin/hal-device +debian/tmp/usr/bin/hal-get-property +debian/tmp/usr/bin/hal-set-property +debian/tmp/usr/bin/hal-find-by-capability +debian/tmp/usr/bin/hal-find-by-property +debian/tmp/usr/bin/hal-disable-polling +debian/tmp/usr/bin/hal-is-caller-locked-out +debian/tmp/usr/bin/hal-lock +debian/tmp/usr/sbin/ +debian/tmp/usr/lib/hal/ +debian/tmp/usr/share/hal/fdi +debian/preferences.fdi etc/hal/fdi/policy +debian/debian-storage-policy-ignore-fixed-crypto-drives.fdi usr/share/hal/fdi/policy/10osvendor --- hal-0.5.9.1.orig/debian/hal-memory.png.uuencode +++ hal-0.5.9.1/debian/hal-memory.png.uuencode @@ -0,0 +1,17 @@ +begin 644 hal-0.4.7/tools/device-manager/hal-memory.png.uuencode +MB5!.1PT*&@H````-24A$4@```!`````0"`8````?\_]A````!F)+1T0`_P#_ +M`/^@O:>3````"7!(67,```L2```+$@'2W7[\````!W1)344'U0$>%@`NQ_S\ +M+0```=Y)1$%4.,O5T\UJ$U$`Q?%_82>!_@M#N?`I4\* +MX,7KS6VW5-WZW?R#;>000J*R%HW3!J[C(H3$REHT_S8IYQW458.W6]L*B"1` +MOEQ[8+/?VV,4A/2-`&`#V)$`0@IT +MHGGT\#')9$*[U2(,HPO,\NIT. +MTC!HGIT!X'D>KNLRCB(F2<)4ZWD@+02]09=7;UY2+!:H5JJ,QQ&?O^Q2J]6H +MN"Z[^Y\X//R&GGG9R341;2@49P1)\`55!DJY)^ +MV.6FNS0/!,V`!W=6J.36L*\48*9!I-`L(5)@*0L]T0S[59RJR\]__7D@4\CI +MYQOW,3,F4S2D8<84I13*5H2#$5-`QPF&:?)^YR.`OAC2C7O+[M/;*^_B.'%2 +MZ31::XR,A!DH6Q$-0TQE$8<1`!_VCCN_ZMXF,+W\7^(_,]?#"UM`0[<````` +(245.1*Y"8((` +` +end --- hal-0.5.9.1.orig/debian/libhal1.shlibs +++ hal-0.5.9.1/debian/libhal1.shlibs @@ -0,0 +1 @@ +libhal 1 libhal1 (>= 0.5.9) --- hal-0.5.9.1.orig/debian/shlibs.local +++ hal-0.5.9.1/debian/shlibs.local @@ -0,0 +1 @@ +libhal 1 libhal1 (>= 0.5) --- hal-0.5.9.1.orig/debian/hal-doc.install +++ hal-0.5.9.1/debian/hal-doc.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/doc/hal-doc +debian/tmp/usr/share/gtk-doc/html/libhal usr/share/doc/hal-doc/api +debian/tmp/usr/share/gtk-doc/html/libhal-storage usr/share/doc/hal-doc/api --- hal-0.5.9.1.orig/debian/changelog +++ hal-0.5.9.1/debian/changelog @@ -0,0 +1,3122 @@ +hal (0.5.9.1-6ubuntu3) gutsy; urgency=low + + * Add '26-addon-acpi-fix-free-before-init.diff' to fix error handling + in addon-acpi.c:main_loop(). (LP: #148467) + + -- Paul Sladen Thu, 04 Oct 2007 20:13:58 +0300 + +hal (0.5.9.1-6ubuntu2) gutsy; urgency=low + + * Symlink doc directories to avoid duplication of files in the + doc directories. + + -- Matthias Klose Thu, 04 Oct 2007 11:44:51 +0000 + +hal (0.5.9.1-6ubuntu1) gutsy; urgency=low + + * Merge recent fixes from Debian. Revert the libsmbios-dev build dep + addition for Gutsy, since it is in universe. + * debian/hal.init: Remove stray gparted-disable-automount.fdi on startup. + (LP: #134712) + + -- Martin Pitt Mon, 01 Oct 2007 09:25:50 +0200 + +hal (0.5.9.1-6) unstable; urgency=low + + * debian/hal.init: + + Don't start hal if sysfs is not mounted on /sys or a chrooted session + is detected. + + -- Sebastian Dröge Tue, 25 Sep 2007 15:46:11 +0200 + +hal (0.5.9.1-5) unstable; urgency=low + + [ Sjoerd Simons ] + * debian/patches/75-hal-serial-null.patch: Fix crash when linux.device_file + of a serial device isn't known (Closes: #439919, #440468) + + -- Sjoerd Simons Sun, 23 Sep 2007 16:26:38 +0200 + +hal (0.5.9.1-4) unstable; urgency=low + + * debian/rules + - Do not explicitely enable the dell-backlight support as libsmbios-dev is + only available on amd64/i386. The ./configure script will automatically + enable the feature for platforms where libsmbios-dev is installed. + (Closes: #438459) + + -- Michael Biebl Fri, 17 Aug 2007 09:58:08 +0200 + +hal (0.5.9.1-3) unstable; urgency=low + + * Check for inotify support in the init script and fail gracefully with a + proper error message. (Closes: #426049, #434615) + * Check if dbus is running in the init script and fail gracefully with a + proper error message. (Closes: #426420, #427332) + * debian/hal-device-manager.desktop + - Remove invalid category "Application" from the Categories field. + + -- Michael Biebl Thu, 16 Aug 2007 09:57:24 +0200 + +hal (0.5.9.1-2) unstable; urgency=low + + [ Sjoerd Simons ] + * debian/control + + Add libsmbios-dev build-depend on amd64 and i386 to build the dell + backlight addon (Closes: #429871) + * debian/patches/70-libhal-changeset-memleak.patch + + Added. Fixes a memleak when freeing hal changesets. (Closes: #429823) + + [ Michael Biebl ] + * debian/hal.preinst + - Do not parse /var/lib/dpkg/status directly but use dpkg-query instead. + + -- Michael Biebl Fri, 22 Jun 2007 19:35:08 +0100 + +hal (0.5.9.1-1ubuntu9) gutsy; urgency=low + + * debian/patches/64_read_brightness_not_actual_brightness.patch: Read + the brightness from /sys/class/backlight/foo/brightness, not + actual_brightness. It makes more sense to change based on the + brightness that we wanted to set, not the brightness that we + actually set. + + -- Matthew Garrett Sat, 29 Sep 2007 21:42:51 +0100 + +hal (0.5.9.1-1ubuntu8) gutsy; urgency=low + + * debian/preferences.fdi: Disable automounting for fixed disks. On session + startup it is not done anyway (since that disables the gnome-mount UI + which would ask for authentication) and it leads to confusion when + restarting hal while a session is running. (LP: #138537) + + -- Martin Pitt Tue, 11 Sep 2007 11:49:23 +0200 + +hal (0.5.9.1-1ubuntu7) gutsy; urgency=low + + * Make the return types of methods sane + + -- Matthew Garrett Sat, 08 Sep 2007 14:02:18 +0100 + +hal (0.5.9.1-1ubuntu6) gutsy; urgency=low + + * debian/patches/macbook-backlight.diff: Add backlight support to new + MacBook and MacBookPro. + Upstream commits: + a88fc4ff5e21668d4c41fa5bc7d2188791250b7a + 68eb19a7cf5e31203bf7d1c8728e61afc74975bb + (Closes LP: #119184) + + -- Fabio M. Di Nitto Wed, 05 Sep 2007 05:52:20 +0200 + +hal (0.5.9.1-1ubuntu5) gutsy; urgency=low + + * debian/patches/69_set_dmi_before_matching.patch: Make sure that the DMI + information has been merged before doing matching against fdi files + + -- Matthew Garrett Mon, 03 Sep 2007 14:28:53 +0100 + +hal (0.5.9.1-1ubuntu4) gutsy; urgency=low + + * debian/patches/60_add_memstick_support.patch: Support memory stick + drivers + + -- Matthew Garrett Fri, 31 Aug 2007 21:17:10 +0100 + +hal (0.5.9.1-1ubuntu3) gutsy; urgency=low + + * debian/patches/90_pmi.patch: Fall back to pmi if pm-is-supported is not + available. This is expected to go away once Ubuntu switches to pm-utils. + + -- Colin Watson Wed, 29 Aug 2007 18:23:16 +0100 + +hal (0.5.9.1-1ubuntu2) gutsy; urgency=low + + * debian/rules: + - Start hal init script at priority 12 instead of 24, so that it starts + right after dbus, and before gdm. This fixes the race condition of + gnome-session sometimes not having hal ready. (LP: #127913) + - Do not stop hal in levels 0 and 6, it's not necessary (multiuser-like + change). + * debian/hal.preinst: Fix rc symlink priority on upgrades. Since Feisty did + not yet have its own rc symlinks, this only needs to be kept for + intra-gutsy updates and thus should disappear around the beta release. + + -- Martin Pitt Tue, 24 Jul 2007 12:47:38 +0200 + +hal (0.5.9.1-1ubuntu1) gutsy; urgency=low + + * Merge with Debian unstable. Remaining Ubuntu changes: + + ** Ubuntu specific ** + + - debian/control: Add XS-Vcs-Bzr, remove Debian's XS-Vcs-Svn. + - Launchpad integration: + + Add p-l-i dependency to hal-device-manager. + + Add debian/patches/ubuntu-lpi.patch: h-d-m code bits. + - hwdb integration: + + Add hwdb-client-gnome dependency to hal-device-manager and sharutils + build dependency. + + Add icons: debian/{hal-cpu,hal-memory,hwdb}.png.uuencode. + + debian/patches/34-add_hwdb_button.patch: Glade modifications and Python + code hook. Note that this patch is disabled ATM, because (1) it needs + to be ported to 0.5.9, and (2) the current hwdb needs a complete + overhaul. + + debian/rules: uudecode icons during build. + - Langpack support for .desktop file: + + debian/hal-device-manager.desktop: Add gettext domain, improve comment. + + Add debian/hal-device-manager.desktop.in: .desktop stub for intltool + POT creation. + + debian/patches/ubuntu-desktop-POTFILES.patch: Add this desktop.in to + po/POTFILES.in. + + debian/rules: Include gnome.mk to do the automagic POT building. + - Ubuntu udev world order: + + Remove debian/hal.links. + + debian/rules: Install udev rules into /etc/udev/rules.d/. + + debian/hal.{preinst,postinst,postrm}: Transition code for changing the + udev rule priority (see 0.5.8.1-3ubuntu7, needs to be kept until next + LTS). + - https://wiki.ubuntu.com/MountAllLocalFilesystems spec: + + debian/patches/56_probe_fstab.patch: Check whether a volume or storage + device is present in fstab, and if so, set linux.fstab.options and + linux.fstab.mountpoint. + + debian/patches/24_ignored_volumes.patch: Ignore fixed partitions which + are supposed to be mounted automatically in fstab, but aren't. + - debian/patches/62_ignore_single_slash_label.patch: Ignore labels which + only consist of a slash, so that they do not end up as /media/-. An + earlier Ubuntu d-i/ubiquity created those labels by default. + (LP #83323) + + ** Packaging fixes which should go to Debian ** + + - Privilege reduction: + + debian/hal.postinst: Add haldaemon to various groups for removable + device access (floppy, plugdev, etc.). + + debian/patches/25_privileges-addons.patch: Run addon-storage as + non-root. + - debian/patches/02_powerscripts.patch: Prefer alternative scripts over + pmi, since pmi is the default. + - debian/patches/55_nonpolkit-mount-policy.patch: Implement a policy check + if PolicyKit is not available: Only allow mounting of removable devices + to non-root users. + + ** Bug fixes which should go upstream ** + + - debian/patches/24_ignored_volumes.patch: Ignore fixed partitions but + those mounted to /media. + - debian/patches/59_add_ssb_bus.patch: Add support for devices on the SSB + bus; patch by Matthew Garrett. + + * debian/rules: Remove obsolete cleanup of /etc/dev.d and /etc/hotplug.d/. + * Remove debian/patches/63_fixup_macbookpro.patch: Applied upstream. + + -- Martin Pitt Fri, 22 Jun 2007 09:50:32 +0200 + +hal (0.5.9.1-1) unstable; urgency=low + + [ Sjoerd Simons ] + * debian/hal.udev.rules + + No longer try calling pumount or umount when devices are removed but not + unmounted. Leave this to hal itself + * debian/hal-unmount.sh + + Removed. No longer needed + + [ Tim Dijkstra ] + * Tell pm-utils if we know a machine doesn't need a quirk + + [ Michael Biebl ] + * New upstream release. + * Patches removed as they were merged upstream: + - debian/patches/10_repeated_property_changed_signals.patch + - debian/patches/11_fix_luks_mounting.patch + - debian/patches/12_powerscripts_quirks.patch + - debian/patches/16_ntfs_allowed_mount_options.patch + - debian/patches/66-NULL-fstype-crash.patch + - debian/patches/67-fix-probe-volume.patch + * debian/control + - Replace ${Source-Version} with ${binary:Version}. + - Add build dependency on autotools-dev for up-to-date config.{guess,sub} + files. + * debian/hal.init + - Don't fail to start if hal daemon is already running. + + -- Michael Biebl Tue, 19 Jun 2007 21:23:03 +0100 + +hal (0.5.9-3) unstable; urgency=low + + * Install the hal start script as regular SysV init script + (Closes: #407132, #397223) + - Rename debian/hal.init.dbus to debian/hal.init. + - Add proper LSB header to debian/hal.init and cleanup some cruft. + - debian/rules + + Don't install /etc/dbus-1/event.d/20hal anymore. + + Set DEB_DH_INSTALLINIT_ARGS to start at 24 and stop at 16. + - debian/hal.{preinst,postinst,prerm} + + The shell code to start/stop the hal daemon is now automatically + created by dh_installinit, so remove the manually written code. + hal.prerm is empty and therefore removed completely. + - debian/hal.preinst + + Remove the old conffile /etc/dbus-1/event.d/20hal or rename it to + *.dpkg-bak if it was modified locally. + + -- Michael Biebl Wed, 23 May 2007 12:33:08 +0200 + +hal (0.5.9-2ubuntu1) gutsy; urgency=low + + * Merge with Debian unstable. Remaining Ubuntu changes: + + ** Ubuntu specific ** + + - debian/control: Add XS-Vcs-Bzr, remove Debian's XS-Vcs-Svn. + - Launchpad integration: + + Add p-l-i dependency to hal-device-manager. + + Add debian/patches/ubuntu-lpi.patch: h-d-m code bits. + - hwdb integration: + + Add hwdb-client-gnome dependency to hal-device-manager and sharutils + build dependency. + + Add icons: debian/{hal-cpu,hal-memory,hwdb}.png.uuencode. + + debian/patches/34-add_hwdb_button.patch: Glade modifications and Python + code hook. + + debian/rules: uudecode icons during build. + - Langpack support for .desktop file: + + debian/hal-device-manager.desktop: Add gettext domain, improve comment. + + Add debian/hal-device-manager.desktop.in: .desktop stub for intltool + POT creation. + + debian/patches/ubuntu-desktop-POTFILES.patch: Add this desktop.in to + po/POTFILES.in. + + debian/rules: Include gnome.mk to do the automagic POT building. + - Ubuntu udev world order: + + Remove debian/hal.links. + + debian/rules: Install udev rules into /etc/udev/rules.d/. + + debian/hal.{preinst,postinst,postrm}: Transition code for changing the + udev rule priority (see 0.5.8.1-3ubuntu7, needs to be kept until next + LTS). + - https://wiki.ubuntu.com/MountAllLocalFilesystems spec: + + debian/patches/56_probe_fstab.patch: Check whether a volume or storage + device is present in fstab, and if so, set linux.fstab.options and + linux.fstab.mountpoint. + + debian/patches/24_ignored_volumes.patch: Ignore fixed partitions which + are supposed to be mounted automatically in fstab, but aren't. + - debian/patches/62_ignore_single_slash_label.patch: Ignore labels which + only consist of a slash, so that they do not end up as /media/-. An + earlier Ubuntu d-i/ubiquity created those labels by default. + (LP #83323) + + ** Packaging fixes which should go to Debian ** + + - Privilege reduction: + + debian/hal.postinst: Add haldaemon to various groups for removable + device access (floppy, plugdev, etc.). + + debian/patches/25_privileges-addons.patch: Run addon-storage as + non-root. + - debian/patches/02_powerscripts.patch: Prefer alternative scripts over + pmi, since pmi is the default. + - debian/patches/55_nonpolkit-mount-policy.patch: Implement a policy check + if PolicyKit is not available: Only allow mounting of removable devices + to non-root users. + + ** Bug fixes which should go upstream ** + + - debian/patches/24_ignored_volumes.patch: Ignore fixed partitions but + those mounted to /media. + - debian/patches/59_add_ssb_bus.patch: Add support for devices on the SSB + bus; patch by Matthew Garrett. + - debian/patches/63_fixup_macbookpro.patch: Extend 10-macbookpro-utils.fdi + fixes to more MacBooc models; patch by Matthew Garret. + + -- Martin Pitt Tue, 15 May 2007 17:12:21 +0200 + +hal (0.5.9-2) unstable; urgency=low + + [ Michael Biebl ] + * Upload to unstable. + + * Changes merged from Ubuntu: + - debian/patches/16_ntfs_allowed_mount_options.patch + + Allow NTFS mount option 'utf8' (LP #78142). + - debian/patches/62_dbus-python-0.80.patch + + Correctly show HAL properties in hal-device-manager with dbus-python. + (FD #9343; rejected upstream because h-d-m is going away). + - debian/patches/65-keyboard-addon-repeated.patch + + Do not ignore key repeat events in the keyboard addon. (FD #9767) + - debian/patches/66-NULL-fstype-crash.patch + + Do not crash on NULL volume.fstypes, and assing some fallback values + to them. (FD #10429, LP #87800) + - debian/patches/67-fix-probe-volume.patch + + Fix scrambled labels. (FD #10362, LP #69914) + - debian/hal.init.dbus + + Use actual init script path in usage help. + - debian/run-hald.sh + + Put absolute paths in HALD_RUNNER_PATH so that callouts are found, + too. + + * debian/control + - Drop Build-Depends: linux-kernel-headers (>= 2.6.17). + linux-libc-dev in unstable is recent enough. + - Drop Build-Depends: libcap-dev. It's only needed for compiling some of + the test programs. (Closes: #398933) + * debian/hal.postrm + - Reload dbus only on purge, i.e. when the conffile + /etc/dbus-1/system.d/hal.conf is removed. + - Remove the fdi-cache file on purge. + - Check for deluser being available. If not, print a warning message and + do not remove the haldaemon system account. (Closes: #416760) + * debian/hal.{preinst,postinst} + - Remove some old upgrade paths for the hal init script. + + [ Sjoerd Simons ] + * debian/libhal1.shlibs, debian/libhal-storage1.shlibs: Bump shlibs + + -- Michael Biebl Mon, 07 May 2007 15:41:16 +0200 + +hal (0.5.9-1ubuntu2) gutsy; urgency=low + + * debian/rules: Only enable MacBooc on i386 and amd64, since only + works and builds there. Fixes FTBFS on sparc and powerpc. + + -- Martin Pitt Wed, 02 May 2007 12:55:51 +0200 + +hal (0.5.9-1ubuntu1) gutsy; urgency=low + + * Merge with Debian experimental. Remaining Ubuntu changes: + + ** Ubuntu specific ** + + - debian/control: + + Drop linux-kernel-headers dependency (called linux-libc-dev in Ubuntu + which is build-essential). + + Add XS-Vcs-Bzr, remove Debian's XS-Vcs-Svn. + + Ubuntu maintainer. + - Launchpad integration: + + Add p-l-i dependency to hal-device-manager. + + Add debian/patches/ubuntu-lpi.patch: h-d-m code bits. + - hwdb integration: + + Add hwdb-client-gnome dependency to hal-device-manager and sharutils + build dependency. + + Add icons: debian/{hal-cpu,hal-memory,hwdb}.png.uuencode. + + debian/patches/34-add_hwdb_button.patch: Glade modifications and Python + code hook. + + debian/rules: uudecode icons during build. + - Langpack support for .desktop file: + + debian/hal-device-manager.desktop: Add gettext domain, improve comment. + + Add debian/hal-device-manager.desktop.in: .desktop stub for intltool + POT creation. + + debian/patches/ubuntu-desktop-POTFILES.patch: Add this desktop.in to + po/POTFILES.in. + + debian/rules: Include gnome.mk to do the automagic POT building. + - Ubuntu udev world order: + + Remove debian/hal.links. + + debian/rules: Install udev rules into /etc/udev/rules.d/. + + debian/hal.{preinst,postinst,postrm}: Transition code for changing the + udev rule priority (see 0.5.8.1-3ubuntu7, needs to be kept until next + LTS). + - https://wiki.ubuntu.com/MountAllLocalFilesystems spec: + + debian/patches/56_probe_fstab.patch: Check whether a volume or storage + device is present in fstab, and if so, set linux.fstab.options and + linux.fstab.mountpoint. + + debian/patches/24_ignored_volumes.patch: Ignore fixed partitions which + are supposed to be mounted automatically in fstab, but aren't. + - debian/patches/62_ignore_single_slash_label.patch: Ignore labels which + only consist of a slash, so that they do not end up as /media/-. An + earlier Ubuntu d-i/ubiquity created those labels by default. + (LP #83323) + + ** Packaging fixes which should go to Debian ** + + - Privilege reduction: + + debian/hal.postinst: Add haldaemon to various groups for removable + device access (floppy, plugdev, etc.). + + debian/patches/25_privileges-addons.patch: Run addon-storage as + non-root. + - debian/hal.init.dbus: Use actual init script path in usage help, not + hardcoded /etc/init.d/hal (since it is actually in /etc/dbus/event.d). + (LP #84642) + - debian/hal.postrm: Check mode ($1) properly. + - debian/patches/02_powerscripts.patch: Prefer alternative scripts over + pmi, since pmi is the default. + - debian/run-hald.sh: Put absolute paths in HALD_RUNNER_PATH so that + callouts are found, too. + - debian/patches/55_nonpolkit-mount-policy.patch: Implement a policy check + if PolicyKit is not available: Only allow mounting of removable devices + to non-root users. + - debian/patches/62_dbus-python-0.80.patch: Correctly show HAL properties + in hal-device-manager with dbus-python. (FD #9343; rejected upstream + because h-d-m is going away). + + ** Bug fixes which should go upstream ** + + - debian/patches/16_ntfs_allowed_mount_options.patch: Allow NTFS mount + option 'utf8' (LP #78142). + - debian/patches/24_ignored_volumes.patch: Ignore fixed partitions but + those mounted to /media. + - debian/patches/59_add_ssb_bus.patch: Add support for devices on the SSB + bus; patch by Matthew Garrett. + - debian/patches/63_fixup_macbookpro.patch: Extend 10-macbookpro-utils.fdi + fixes to more MacBooc models; patch by Matthew Garret. + + ** Bug fixes from upstream bugzilla ** + + - debian/patches/65-keyboard-addon-repeated.patch: Do not ignore key + repeat events in the keyboard addon. (FD #9767) + - debian/patches/66-NULL-fstype-crash.patch: Do not crash on NULL + volume.fstypes, and assing some fallback values to them. (FD #10429, + LP #87800) + - debian/patches/67-fix-probe-volume.patch: Fix scrambled labels. + (FD #10362, LP #69914) + + Changes in this version: + + * Remove debian/10-storage-policy.fdi to stop ejecting all USB/Firewire + devices. (LP: #63090) + * Remove debian/patches/57_allow_bus_virtual.patch: This does not apply at + all to 0.5.9, and must either be confirmed to be obsolete or redone. + * Disable debian/patches/34-add_hwdb_button.patch for now, it needs to be + reworked for 0.5.9. + + -- Martin Pitt Tue, 17 Apr 2007 21:26:56 +0200 + +hal (0.5.9-1) experimental; urgency=low + + * New upstream release. + * Patches removed as they were applied or fixed upstream: + - debian/patches/03_macbookpro_configure.patch + - debian/patches/04_cd_write.patch + - debian/patches/05_one_formfactor_fallback.patch + - debian/patches/06_smbios_return.patch + - debian/patches/07_ppc_suspend.patch + - debian/patches/08_openfirmware.patch + - debian/patches/09_check_hashtable_initialisation.patch + - debian/patches/10_callout_errors.patch + - debian/patches/11_no_useless_runner_errors.patch + - debian/patches/12_pegasus_pmu_crash_fix.patch + - debian/patches/13_hal_callout_bashism.patch + - debian/patches/15_partition_probing.patch + - debian/patches/24_dbus_connection_close.patch + - debian/patches/25_correctly_free_lists.patch + - debian/patches/26_fix_hald_not_running_coredump.patch + - debian/patches/27_hal_fix_dbus_error_is_set.patch + - debian/patches/29_handle_non_hal_mounts.patch + - debian/patches/30_cdrom_bogus_tocinfo.patch + * Revised patches: + - debian/patches/02_powerscripts.patch + * debian/patches/19_sonypi_support.patch + - Removed. Instead of relying on the external spicctrl tool, /dev/sonypi + is used directly now by the hal-system-sonypic addon. + * debian/patches/55_nonpolkit-mount-policy.patch + - Removed. We depend on PolicyKit now to check if a user is authorized to + mount local partitions. + * debian/control + - Add Depends: hal-info (>= 20070402) to hal package. + * debian/libhal(-storage)-dev.install + - Do not install libtool *.la files anymore. + * debian/rules + - Remove cdbs tarball.mk rules file. + - Cleanup obsolete rm commands from common-install-impl. + * debian/hal.dirs + - Create the directories /var/cache/hald (fdi files cache) and + /var/lib/hal (dev acl management list). + * debian/hald.8, debian/lshal.1 + - Removed. Shipped upstream. + * debian/hal.manpages + - Install upstream manpages. (Closes: #277399) + + -- Michael Biebl Tue, 03 Apr 2007 09:31:47 +0200 + +hal (0.5.8.1-9) unstable; urgency=low + + * debian/no-cd-media-check.fdi + - Re-added "HL-DT-ST DVD-RW GCA-4080N" product string + + -- Sjoerd Simons Wed, 14 Mar 2007 21:31:28 +0100 + +hal (0.5.8.1-8) unstable; urgency=low + + [ Michael Biebl ] + * debian/control: + - Add an explicit build dependency on docbook-xml so we don't fail on + buildds without network access. + + [ Sjoerd Simons ] + * debian/hal-unmount.sh: Always run pumount/umount if a block device is + removed, not only when it's mounted. This ensure that dm devices can be + properly deconfigured by pumount. + * debian/debian-storage-policy-ignore-fixed-crypto-drives.fdi + - Added. Ignore non-removable devices with crypto volumes again + (Closes: #414417) + + -- Sjoerd Simons Wed, 14 Mar 2007 20:36:26 +0100 + +hal (0.5.8.1-7) unstable; urgency=low + + [ Sjoerd Simons ] + * Acknowledge Steve Langasek's NMU. (Closes: #370186) + * debian/patches/29_handle_non_hal_mounts.patch + - Added. Handle volume removal for mounted volumed that weren't mounted by + hal correctly. + * debian/patches/30_cdrom_bogus_tocinfo.patch + - Added. Some cdrom drives/discs report a wrong start of the session in the + TOC, causing hal to not detect the filesystem. Work around this by + rescanning at offset 0 for discs when filesystem detection fails. + + [ Michael Biebl ] + * Add XS-Vcs-* fields to debian/control. + * Drop debian-storage-policy-fixed-drives.fdi in favor of + debian/patches/55_nonpolkit-mount-policy.patch. + This fixes the problem that local devices are not shown in nautilus. + (Closes: #394155, #395169, #409879) + * debian/patches/02_powerscripts.patch + - Add support for pm-utils and prefer it over other solutions. This is in + anticipation of hal-0.5.9, where pm-utils will be the preferred backend. + * Install HAL specification document. (Closes: #413813) + - debian/control: Build-Depend on docbook-utils and libxml2-utils. + - debian/rules: Pass --enable-docbook-docs to ./configure. + * debian/watch + - Fix regexp to not match non-hal releases, like hal-info. + + -- Sjoerd Simons Wed, 7 Mar 2007 23:50:11 +0100 + +hal (0.5.8.1-6.1) unstable; urgency=high + + * Non-maintainer upload. + * High-urgency upload for RC bugfix. + * Provide /usr/share/doc/hal/examples/no-cd-media-check.fdi as an example + for disabling CD ROM media checks, and document this in README.Debian, as + a workaround for CD drives with broken firmware. Closes: #370186. + + -- Steve Langasek Mon, 12 Feb 2007 16:42:29 -0800 + +hal (0.5.8.1-6) unstable; urgency=low + + * debian/patches/19_sonypi_support.patch + - Added. Fixes the sonypi brightness setting method + (Patch from Mike Hommey) (Closes: #391528) + + -- Sjoerd Simons Mon, 15 Jan 2007 22:53:09 +0100 + +hal (0.5.8.1-5) unstable; urgency=high + + [ Michael Biebl ] + * debian/hal-doc.install, debian/hal-doc.links + - Install API documentation into /usr/share/doc/hal-doc/html and create a + link back to /usr/share/gtk-doc/html/hal so devhelp can find it. + (Closes: #398803) + * debian/control + - Add a Suggests on devhelp for the hal-doc package which allows to + access the API documentation more easily. + + [ Sebastian Dröge ] + * debian/control: + + Updated to use my debian.org mail address + + [ Sjoerd Simons ] + * debian/patches/28_runner_64bit_values.patch + - Added. Ensure 64 bit values are correctly aligned before passing them to + dbus (Closes: #404937) + * Urgency high, fixes an RC bug + + -- Sjoerd Simons Mon, 15 Jan 2007 14:28:45 +0100 + +hal (0.5.8.1-4ubuntu12) feisty; urgency=low + + * Add debian/patches/66-NULL-fstype-crash.patch: Do not crash on NULL + volume.fstypes, and assing some fallback values to them. Patch from Danny + Kukawa in FD#10429. (LP: #87800) + * debian/patches/24_ignored_volumes.patch: Ignore partitions which are + mounted by default in /etc/fstab only when they are not currently mounted + (this could happen on damaged partitions, failed fsck, etc., and + inexperienced users should not randomly mount those.). Since this would + make system partitions visible, limit the visible ones to /media/ again, + as in previous Ubuntu releases. (LP: #73227) + * Add debian/10-storage-policy.fdi: Resurrect 'Eject all USB and Firewire + storage devices', just as in previous Ubuntu releases. (LP: #97366) + * Add debian/patches/67-fix-probe-volume.patch: Attempt to fix scrambled + labels. Taken from FD#10362, thanks to Danny Kukawa. (LP: #69914) + + -- Martin Pitt Fri, 30 Mar 2007 17:55:46 +0200 + +hal (0.5.8.1-4ubuntu11) feisty; urgency=low + + * 30-mp3-player-fdi.patch: Remove "Feiya Technology Corp Memory Bar" again, + since other Flash drives use the very same controller, but are not capable + of music playback. (LP: #90286) + * Remove debian/patches/33-prefer-pmi-over-powersave.patch, so that + installing powersave actually makes hal use it. The patch is not necessary + any more, since kpowersave does not depend on powersaved any more, so this + does not reopen #61920. (LP: #90425) + * Add debian/patches/65-keyboard-addon-repeated.patch: Do not ignore key + repeat events in the keyboard addon. Patch taken from + https://bugs.freedesktop.org/show_bug.cgi?id=9767, thanks to Ryan Lortie. + + -- Martin Pitt Wed, 28 Mar 2007 17:28:26 +0200 + +hal (0.5.8.1-4ubuntu10) feisty; urgency=low + + * debian/control: Add XS-Vcs-Bzr field. + * debian/patches/64_macbook_backlight.patch: Remove all the autotools + generated stuff, only keep the manually written bits. + * Add debian/patches/99_autoreconf.patch: Diff of running automake 1.9.6 + and autoconf 2.59, so that the changes in 64_macbook_backlight.patch + become active. Using 2.59 instead of 2.61 does not change shell + interpolation rules, so that hal-device-manager will work again. + (LP: #91264) + + -- Martin Pitt Mon, 12 Mar 2007 16:41:40 +0100 + +hal (0.5.8.1-4ubuntu9) feisty; urgency=low + + [ Sebastian Dröge ] + * debian/patches/62_dbus-python-0.8.patch: + + Correctly show HAL properties in hal-device-manager with dbus-python + 0.80. https://bugs.freedesktop.org/show_bug.cgi?id=9343 + + [ Matthew Garrett ] + * debian/patches/63_fixup_macbookpro.patch: + + Fix building the MBP addon, and edit the FDI files so it binds to new + hardware. + * debian/patches/64_macbook_backlight.patch: + + Add support for the backlight on Macbooks. + https://launchpad.net/ubuntu/+source/hal/+bug/72287 + + [ Martin Pitt ] + * Add debian/patches/62_ignore_single_slash_label.patch: Ignore labels which + only consist of a slash, so that they do not end up as /media/-. + (LP: #83323) + * debian/patches/30-mp3-player-fdi.patch: Add Sony Ericsson W300i. + (LP: #86866) + * debian/patches/30-mp3-player-fdi.patch: Add Transcend T.Sonic 520. + (LP: #90117) + + -- Martin Pitt Fri, 9 Mar 2007 18:36:36 +0100 + +hal (0.5.8.1-4ubuntu8) feisty; urgency=low + + * Add debian/patches/61_addon_cpufreq_crash.patch: Fix crash in the cpufreq + addon. (LP: #85717) + * debian/hal.init.dbus: Use actual init script path in usage help, not + hardcoded /etc/init.d/hal (since it is actually in /etc/dbus/event.d). + (LP: #84642) + * debian/patches/02_powerscripts.patch: Fix path to s2disk/s2ram. + (LP: #84652) + * debian/patches/30-mp3-player-fdi.patch: Add missing audio_folders + attribute to Sony Ericsson k750i FDI. (LP: #84924) + + -- Martin Pitt Tue, 20 Feb 2007 09:48:58 +0100 + +hal (0.5.8.1-4ubuntu7) feisty; urgency=low + + * debian/patches/30-mp3-player-fdi.patch: Add Sony Ericsson W810i. + (LP: #56060) + * debian/patches/30-mp3-player-fdi.patch: Add Archos A404. (LP: #81204) + * debian/hal-device-manager.install: Install .desktop file into + /usr/share/applications/, not /usr/share/control-center-2.0/capplets/ any + more, so that it actually appears in control center. + * debian/control: Set Ubuntu maintainer. + + -- Martin Pitt Fri, 16 Feb 2007 11:35:14 +0100 + +hal (0.5.8.1-4ubuntu6) feisty; urgency=low + + * add 60_fix_thinkpad_fdi_entries.patch to hopefully + fix IBM ThinkPad brightness key handling for all think pads reporting + IBM as vendor instead of LENOVO (malone bug #81407) + + -- Oliver Grawert Mon, 12 Feb 2007 20:43:21 +0100 + +hal (0.5.8.1-4ubuntu5) feisty; urgency=low + + * Add support for newer sysfs layout + * Add support for devices on the SSB bus + + -- Matthew Garrett Sat, 10 Feb 2007 20:58:50 +0000 + +hal (0.5.8.1-4ubuntu4) feisty; urgency=low + + * debian/hal-device-manager.desktop: + - use "HardwareSettings" category (Ubuntu: #80851) + + -- Sebastien Bacher Tue, 23 Jan 2007 16:44:56 +0100 + +hal (0.5.8.1-4ubuntu3) feisty; urgency=low + + * debian/patches/30-mp3-player-fdi.patch: Clean up a bit. + * Add debian/patches/17_hdm_bus_type.patch: Fix 'bus type' display in + hal-device-manager. Closes: LP#26362 + * Add debian/patches/18_set-brightness_bashism.patch: Fix bashism in + tools/linux/hal-system-lcd-get-brightness-linux to make brightness setting + on Sony Vaio laptops work again. Closes: LP#68617 + * debian/hal-device-manager.desktop{,.in}: Since hal-device-manager does not + actually manage anything, rename it to 'Hardware information'. + Closes: LP#45247 + * debian/patches/30-mp3-player-fdi.patch: Add iAudio F2. Closes: LP#78546 + * debian/control: Add alternative build dependency 'libvolumeid-dev' for + backportability. + * Rename debian/patches/16_ntfs_allow_local_mount_option.patch to + 16_ntfs_allowed_mount_options.patch and add 'utf8'. Closes: LP#78142 + + -- Martin Pitt Fri, 12 Jan 2007 16:08:52 +0100 + +hal (0.5.8.1-4ubuntu2) feisty; urgency=low + + * Add back debian/patches/00upstream-06-stat-dev-not-mountpoint.patch and + port it to 0.5.8.1. This fixes handling of NTFS-FUSE mounts again in + Feisty. Closes: LP#35354 + * debian/patches/24_ignored_volumes.patch: Fix ignoring of Apple bootstrap + partitions. Closes: LP#61767 + * debian/patches/24_ignored_volumes.patch: Ignore partitions without an + fsusage, e. g. unformatted ones, Mac patch partitions, etc. + Closes: LP#18901 + * Add debian/patches/00upstream-01-acpi-low-powerlevels.patch: + - Fix ACPI problems with incorrect low current voltage values. + - Patch taken from upstream git 9c99fc03fbac6380032a6678c641a76ef02ad834. + - Closes: LP#66025 + * Add debian/patches/16_ntfs_allow_local_mount_option.patch: Allow 'locale=' + mount option for NTFS. Closes: LP#78370 + * Add debian/patches/00upstream-02-music-players.patch: Pull USB music + player FDI file from git head. At the moment, this adds the Zen Nano. + Closes: LP#77047 + * debian/patches/30-mp3-player-fdi.patch: + - Add "Nexia NX58XX (including Super*Talent MegaScreen)". Closes: LP#77842 + - Add "Feiya Technology Corp Memory Bar". Closes: LP#77854 + - Add "MPMan MP-Ki 128". Closes: LP#66239 + + -- Martin Pitt Tue, 9 Jan 2007 12:22:57 +0100 + +hal (0.5.8.1-4ubuntu1) feisty; urgency=low + + * Merge from Debian unstable; remaining changes: + + Drop linux-kernel-headers (called linux-libc-dev in Ubuntu and + build-essential). + - Launchpad integration: + + Add p-l-i dependency to hal-device-manager. + + Add debian/patches/ubuntu-lpi.patch: h-d-m code bits. + - hwdb integration: + + Add hwdb-client-gnome dependency to hal-device-manager. + + Add icons: debian/{hal-cpu,hal-memory,hwdb}.png.uuencode. + + debian/patches/34-add_hwdb_button.patch: Glade modifications and Python + code hook. + + debian/rules: uudecode icons during build. + - Privilege reduction: + + debian/hal.postinst: Add haldaemon to various groups for removable + device access (floppy, plugdev, etc.). + + debian/patches/25_privileges-addons.patch: Run addon-storage as + non-root. + - Langpack support for .desktop file: + + debian/hal-device-manager.desktop: Add gettext domain, improve comment. + + Add debian/hal-device-manager.desktop.in: .desktop stub for intltool + POT creation. + + debian/patches/ubuntu-desktop-POTFILES.patch: Add this desktop.in to + po/POTFILES.in. + + debian/rules: Include gnome.mk to do the automagic POT building. + - debian/hal-device-manager.install: Install device manager .desktop file + into control-center-2.0/capplets/. + - debian/hald.8: Remove documentation of removed --retain-privileges + option. + - debian/hal.postrm: Check mode ($1) properly. + - Re-enumerate remaining Ubuntu patches. + - debian/patches/24_ignored_volumes.patch: + + Ignore unmounted fixed partitions but those mounted to /media. + + Ignore unmounted fixed crypto partitions but those mounted to /media. + + Ignore removable Apple bootstrap partitions. + - Laptop fixes: + + debian/patches/26_volume_and_aliased_keys.patch: LP#22451 (fix from + Paul Sladen). + + debian/patches/28-fix-omnibook-brightness-levels.patch: Omnibooks have + 11 brightness levels, not 8. + + debian/patches/31_laptop-panel-fixes.patch: Some Thinkpads control + brightness in Hardware. + - debian/patches/27-hdm-nice-keyvalues.patch: Prettify lists in the device + manager. + - debian/patches/30-mp3-player-fdi.patch: Support some more music players. + - debian/patches/32_smartcard_drivetype.patch: Some MMC cards call + themselves 'Storage-SDC'. + - debian/patches/33-prefer-pmi-over-powersave.patch: Nomen est omen. + pmi generally works better than powersave. + - debian/rules: Fix installation of udev rules for Ubuntu's udev layout. + - debian/run-hald.sh: Put absolute paths in HALD_RUNNER_PATH so that + callouts are found, too. + - debian/patches/55_nonpolkit-mount-policy.patch: Implement a policy check + if PolicyKit is not available: Only allow mounting of removable devices + to non-root users. + - debian/patches/56_probe_fstab.patch: Check whether a volume or storage + device is present in fstab, and if so, set linux.fstab.options and + linux.fstab.mountpoint. + - debian/patches/24_ignored_volumes.patch: Replace the old policy about + showing/hiding volumes: Now show all volumes, except those which are + mounted automatically in /etc/fstab. + - Add debian/patches/57_allow_bus_virtual.patch: Accept BUS_VIRTUAL input + devices (i.e. uinput) even though they have no physical device. + + -- Martin Pitt Tue, 19 Dec 2006 17:09:37 +0100 + +hal (0.5.8.1-4) unstable; urgency=low + + [ Michael Biebl ] + * Improve short description of the hal-doc package. (Closes: #387374) + + [ Sebastian Dröge ] + * Patches from upstream GIT: + + debian/patches/24_dbus_connection_close.patch: + - Don't call dbus_connection_close() in lshal and hal-device. This is + invalid usage of DBus API. + GIT changeset c85e02d58d6503b494bb4c8584a7c44ac6923208 + + debian/patches/25_correctly_free_lists.patch: + - Correctly free lists to prevent accessing free'd memory. + GIT changeset a56a15b90177734c70a8b03d961a7bcabdea2af8 + + debian/patches/26_fix_hald_not_running_coredump.patch: + - Don't coredump utilities when hald is not running but print a usefull + error message. GIT changeset c2053bf825cd9d81949d63ad83790a68310bb808 + + [ Sjoerd Simons ] + * debian/patches/02_powerscripts.patch + + Prefer hibernate over uswsusp. (Closes: #397302) + * debian/patches/27_hal_fix_dbus_error_is_set.patch + + Added. Ensure libhal never calls dbus_error_is_set(NULL) as that's not + allowed in the D-Bus API + + -- Sjoerd Simons Sat, 11 Nov 2006 14:16:52 +0100 + +hal (0.5.8.1-3ubuntu7) feisty; urgency=low + + [ Colin Watson ] + * Add debian/patches/57_allow_bus_virtual.patch: + - Accept BUS_VIRTUAL input devices (i.e. uinput) even though they have + no physical device (LP: #67954). + + [ Martin Pitt ] + * debian/rules: Install udev rules as priority 95, not 85, since other + scripts still to important things after 85. + * debian/hal.{preinst,postinst,postrm}: Do the renaming on upgrades, take + care to avoid the dpkg conffile question if the script was not modified, + and gracefully handle aborted upgrades. + + -- Martin Pitt Fri, 8 Dec 2006 18:15:06 +0100 + +hal (0.5.8.1-3ubuntu6) feisty; urgency=low + + * Add debian/patches/55_nonpolkit-mount-policy.patch: + - tools/hal-storage-mount.c: Implement a policy check if PolicyKit is not + available: Only allow mounting of removable devices (without changing + 'uid=' to non-root users. + - This obsoletes the previous 'volume.ignore=true' hack in + debian/debian-storage-policy-fixed-drives.fdi, so do not install this + any more. + * debian/run-hald.sh: Fix paths to probes. + * Add debian/patches/56_probe_fstab.patch: + - Check whether a volume or storage device is present in fstab, and if so, + set linux.fstab.options and linux.fstab.mountpoint. + - Note: This is an initial working, but ugly patch; the duplicated code + should be moved into a library and linked to both probes, but let's + first get some upstream feedback before cleaning it up. + * debian/patches/24_ignored_volumes.patch: + - Replace the old policy about showing/hiding volumes: Now show all + volumes, except those which are mounted automatically in /etc/fstab. + - See https://wiki.ubuntu.com/MountAllLocalFilesystems for details. + + -- Martin Pitt Thu, 7 Dec 2006 15:59:53 +0100 + +hal (0.5.8.1-3ubuntu5) feisty; urgency=low + + * Adjust dependency from libvolumeid-dev to libvolume-id-dev, we changed + package names to match Debian. + + -- Scott James Remnant Thu, 23 Nov 2006 10:57:24 +0000 + +hal (0.5.8.1-3ubuntu4) feisty; urgency=low + + * debian/patches/54_dbus_error_is_set.patch: + + Make sure that dbus_error_is_set is really never ever called with NULL. + This is not allowed by the DBus API. + + -- Sebastian Dröge Mon, 13 Nov 2006 00:45:22 +0100 + +hal (0.5.8.1-3ubuntu3) feisty; urgency=low + + * Patches from upstream GIT: + + debian/patches/50_dbus-connection-close.patch: + - Don't call dbus_connection_close() in lshal and hal-device. This is + invalid usage of DBus API. + GIT changeset c85e02d58d6503b494bb4c8584a7c44ac6923208 + + debian/patches/51_correctly_free_lists.patch: + - Correctly free lists to prevent accessing free'd memory. + GIT changeset a56a15b90177734c70a8b03d961a7bcabdea2af8 + + debian/patches/52_fix_hald_not_running_coredump.patch: + - Don't coredump utilities when hald is not running but print a usefull + error message. GIT changeset c2053bf825cd9d81949d63ad83790a68310bb808 + + debian/patches/53_dbus_is_error_set.patch: + - Don't call dbus_error_is_set() with NULL. This is invalid usage of DBus + API. GIT changeset 0a9965e4aa4ffc2f382d7fe1286937308439fd1f + + -- Sebastian Dröge Fri, 10 Nov 2006 10:24:05 +0100 + +hal (0.5.8.1-3ubuntu2) feisty; urgency=low + + * Re-add accidentally dropped sharutils build dependency to fix FTBFS. + + -- Martin Pitt Mon, 6 Nov 2006 07:11:17 -0800 + +hal (0.5.8.1-3ubuntu1) feisty; urgency=low + + * Merge with Debian Sid. Remaining changes: + - Fix build dependencies: + + libvolume-id-dev -> libvolumeid-dev + + Drop linux-kernel-headers (called linux-libc-dev in Ubuntu and + build-essential). + - Launchpad integration: + + Add p-l-i dependency to hal-device-manager. + + Add debian/patches/ubuntu-lpi.patch: h-d-m code bits. + - hwdb integration: + + Add hwdb-client-gnome dependency to hal-device-manager. + + Add icons: debian/{hal-cpu,hal-memory,hwdb}.png.uuencode. + + debian/patches/34-add_hwdb_button.patch: Glade modifications and Python + code hook. + + debian/rules: uudecode icons during build. + - Privilege reduction: + + debian/hal.postinst: Add haldaemon to various groups for removable + device access (floppy, plugdev, etc.). + + debian/patches/25_privileges-addons.patch: Run addon-storage as + non-root. + - Langpack support for .desktop file: + + debian/hal-device-manager.desktop: Add gettext domain, improve comment. + + Add debian/hal-device-manager.desktop.in: .desktop stub for intltool + POT creation. + + debian/patches/ubuntu-desktop-POTFILES.patch: Add this desktop.in to + po/POTFILES.in. + + debian/rules: Include gnome.mk to do the automagic POT building. + - debian/hal-device-manager.install: Install device manager .desktop file + into control-center-2.0/capplets/. + - debian/hald.8: Remove documentation of removed --retain-privileges + option. + - debian/hal.postrm: Check mode ($1) properly. + - Re-enumerate remaining Ubuntu patches. + - debian/patches/24_ignored_volumes.patch: + + Ignore unmounted fixed partitions but those mounted to /media. + + Ignore unmounted fixed crypto partitions but those mounted to /media. + + Ignore removable Apple bootstrap partitions. + - Laptop fixes: + + debian/patches/26_volume_and_aliased_keys.patch: LP#22451 (fix from + Paul Sladen). + + debian/patches/28-fix-omnibook-brightness-levels.patch: Omnibooks have + 11 brightness levels, not 8. + + debian/patches/31_laptop-panel-fixes.patch: Some Thinkpads control + brightness in Hardware. + - debian/patches/27-hdm-nice-keyvalues.patch: Prettify lists in the device + manager. + - debian/patches/30-mp3-player-fdi.patch: Support some more music players. + - debian/patches/32_smartcard_drivetype.patch: Some MMC cards call + themselves 'Storage-SDC'. + - debian/patches/33-prefer-pmi-over-powersave.patch: Nomen est omen. + pmi generally works better than powersave. + - debian/rules: Fix installation of udev rules for Ubuntu's udev layout. + - debian/run-hald.sh: Put absolute paths in HALD_RUNNER_PATH so that + callouts are found, too. + * Drop pmount backend patch for now, it does not apply at all to the new + backends. Eventually we will harden the current backends to do the same + paranoia level of policy checks that pmount does. + + -- Martin Pitt Fri, 27 Oct 2006 00:05:22 +0200 + +hal (0.5.8.1-3) unstable; urgency=low + + * debian/control + - Add a Recommends on eject to the hal package. + - Add myself to Uploaders. + * 15_partition_probing.patch + - Added. Fixes problems with extended partition tables. + (Closes: #393245, #392978) + * Update to new python policy using python-support + - Tightened Build-Depends on python-support (>= 0.5.3). + - Drop X[SB]-P-V fields from debian/control, add a debian/pyversions file + instead specifying the supported python versions. + - Drop debian/pycompat. + - Drop dh_python call from debian/rules, call dh_pysupport with the + correct path to the modules directory. + - Call dh_pysupport in binary-install instead of binary-predeb. + + -- Michael Biebl Tue, 24 Oct 2006 13:33:55 +0200 + +hal (0.5.8.1-2) unstable; urgency=low + + * 12_pegasus_pmu_crash_fix.patch + - Added. Check if power_management.type was set before doing strcmp and + detect Pegasos machines as having the desktop formfactor + (Closes: #391124) + * /debian/patches/13_hal_callout_bashism.patch + - Added. Fix some bashisms in the hal callout scripts + * debian/patches/02_powerscripts.patch + - Updated. Use s2ram instead of s2both to let uswsusp suspend to ram + (Closes: #388558) + * debian/patches/14_power_suspend_linux_pmu_fix.patch + - Added. Use the correct hal property to check the powermanagement type. + (Closes: #393203) + + -- Sjoerd Simons Wed, 18 Oct 2006 23:45:26 +0200 + +hal (0.5.8.1-1) unstable; urgency=low + + * New upstream release + u debian/patches/01_hal_debian_dbuspolicy.patch + - Updated. + * debian/patches/05_pmu_nohibernate.patch + - Removed. Recent kernels don't crash my machine anymore + * debian/patches/04_hald_scripts.patch + debian/patches/06_more_buttons.patch + debian/patches/08_probe_serial.patch + debian/patches/09_sony_brightness.patch + debian/patches/12_refresh_acpi_states.patch + debian/patches/14_probe_volume_invalidlabel.patch + debian/patches/16_dont_stat_autofs.patch + debian/patches/17_fix_dbus_090_build.patch + debian/patches/18_hald_runner_fd_leak.patch + debian/patches/22_recognize_partitions.patch + - Removed. All fixed upstream + * debian/patches/07_suspend2.patch + debian/patches/20_uswsusp.patch + debian/patches/21_acpi_support.patch + - Merged into 02_powerscripts.patch + * debian/patches/hdm-python2.4.patch + - Removed. Not needed anymore since the default python is 2.4 now + * debian/patches/19_sonypi_support.patch + - Updated. Upstream supports spicctrl but assumes it's in a different path + * debian/patches/15_mount_scripts_pmount.patch + - Removed. Replaced by the new version of the mount scripts + * debian/rules: Disable PolicyKit + * debian/control: Add build-depend on libvolume-id-dev + * debian/patches/23_addon_acpi.patch + - Updated. + * debian/control: Add linux-kernel-headers (>= 2.6.17) to the build-depends + for the definition of ARPHRD_IEEE80211_RADIOTAP + * debian/hal.install: Scripts are no longer in /usr/share/hal but in + /usr/lib/hal + * debian/patches/03_macbookpro_configure.patch + - Added. Change configure so the macbook pro utils can actually be + disabled. + * debian/rules: Disable the macbook pro backlight addon. + * debian/patches/04_cd_write.patch + - Added. don't crash on cd drives without write capabilities (From + upstream git) + * debian/patches/05_one_formfactor_fallback.patch + - Added. Use one fallback to an unknown formfactor instead of three. Fixes + bugs caused by falling back when not needed. + * debian/patches/06_smbios_return.patch + - Added. Only let the prober return success if it actually found some + usefull info. + * debian/patches/07_ppc_suspend.patch + - Added. pmu systems can suspend by using hal's own tool. So actually flag + it as being able to suspend even though mem isn't in /sys/power/state + * debian/patches/08_openfirmware.patch + - Added. Extra model and machine compatibility from openfirmware and + use that info to detect the formfactor. + * debian/debian-storage-policy-fixed-drives.fdi + - Added. Add policy to hal so it refuses to mount and unmount fixed + drives. + * debian/patches/09_check_hashtable_initialisation.patch + - Added. Check if the udi to method queue hashtable is initialized before + using it. (From upstream) + * debian/patches/10_callout_errors.patch + - Added. Use dbus_error_free instead of LIBHAL_FREE_DBUS_ERROR. Ensures + errors correctly reach hald-runner. + * debian/patches/11_no_useless_runner_errors.patch + - Added. Only let hald-runner output warnings if there was actually an + error. + + -- Sjoerd Simons Mon, 2 Oct 2006 18:55:05 +0200 + +hal (0.5.7.1-2) unstable; urgency=low + + * debian/patches/22_recognize_partitions.patch + - Added. More robust recognition that a block device is a partition. Fixes + detecting scsi cdrom drives as partitions (From upstream git) + (Closes: #383792) + * debian/patches/23_addon_acpi.patch + - Added. Don't use the kernel acpi event interface if acpid is installed. + (Closes: #380520, #352512) + * debian/README.Debian: Update documentations about the configuration of the + callouts. Also mention how hal's acpi addon interacts with acpid. + * debian/hal.dirs: Remove /var/run/hal from hal.dirs. Let the init scripts + takes care of its creation. (Closes: #385270) + * debian/hal.postinst: Don't create a homedir for hal. + * debian/hal.preinst: Remove the old hal user. As deluser --system only + removes system users this should be safe. + * debian/hal.postrm: Don't delgroup the daemon user on purge, deluser + already takes care of that. + * debian/hal.postrm: Remove the /var/run/hal dir on purge + * debian/patches/21_acpi_support.patch: + - Updated. Use the force argument to the sleep and hibernate call + (Closes: #384120) + * debian/patches/debian/patches/19_sonypi_support.patch: + - Updated. The spicctrl tool is installed in a different location on + debian then what upstream assumes. + + -- Sjoerd Simons Mon, 4 Sep 2006 23:22:49 +0200 + +hal (0.5.7.1-1) unstable; urgency=low + + [ Sjoerd Simons ] + * New upstream release + * debian/hal.postinst,debian/hal.postrm,debian/rules: Rename the hal daemon + user to haldaemon (was hal) + * debian/hal.postinst: Created the plugdev system group if it doesn't exist + * debian/hal.links: Change the udev rules.d link from 050_hal-plugdev.rules + to z99_hal.rules to ensure hal gets its data after all the udev magic. + * debian/patches/09_sony_brightness.patch: + - Apply trivial upstream patch to fix LCD brightness setting on Sony + laptops. + - From the ubuntu hal package which took it from upstream, thanks to Paolo + Borelli + * debian/patches/12_refresh_acpi_states.patch: + - Added. refresh ACPI events after suspend/hibernate + - From the ubuntu hal package, patch created by Paul Sladen based on + upstream CVS. + * debian/patches/14_probe_volume_invalidlabel.patch + - Added. Don't try to fix device labels with invalid UTF-8 characters if + more than 20% of the characters is invalid. This avoids totally + unintelligible labels while still preserving only mildly damaged ones. + - From the ubuntu hal package, patch created by Martin Pitt + * debian/patches/15_mount_scripts_pmount.patch: + - Change mount/umount scripts to call pmount-hal/pumount as the + destination user instead of mount/umount as root. This way, we do not + have to rely on hal properties for sanity checking, which are unreliable + in hal's current trust model. + - Change eject script to call eject as the destination user instead of + root. + - This change should be completely transparent to the outside world, so + that KDE and gnome-mount will just work. (Closes: #377689) + - From the ubuntu hal package, patch created by Martin Pitt. + * debian/patches/16_dont_stat_autofs.patch: + - Added. Don't stat autofs filesystems as that will remount. + (Closes: #361785) (From upstream git) + * debian/patches/17_fix_dbus_090_build.patch: + - Added. Fix build with dbus >= 0.90 (From upstream git) + * debian/patches/18_hald_runner_fd_leak.patch + - Added. Fix fd leak in hald-runner. Patch by Mike Hommey (Closes: #375143) + * debian/patches/debian/patches/19_sonypi_support.patch: + - Added. Support sonypi using laptops (Closes: #375144) (From upstream git) + * debian/patches/07_suspend2.patch: + - Updated. Don't try to use suspend2 to suspend a pmu machine, which can + crash the machine. (Closes: #366008) + * debian/patches/20_uswsusp.patch: + - Added. Use uswsusp for suspend and hibernation if available. Patch by + Tim Dijkstra. (Closes: #382183) + * debian/patches/21_acpi_support.patch: + - Added. Use acpi-support for suspend and hibernation if available. + (Closes: #381708) + + [ Sebastian Dröge ] + * debian/pycompat, + debian/control, + debian/rules: + + update to the new Python Policy + * debian/control: + + Bump Standards-Version to 3.7.2 + + Add myself to Uploaders + + -- Sjoerd Simons Tue, 15 Aug 2006 15:45:35 +0200 + +hal (0.5.7.1-0ubuntu17) edgy; urgency=low + + * Add debian/patches/00upstream-07-hald-runner_fdleak.patch: + - Fix stderr file descriptor leak. This can prevent suspending and + probably other nasty things. + - Patch taken from upstream: + http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=fcb6aa0df90b7ee61a58c207896448131d3aa180 + - Closes: LP#66939 + + -- Martin Pitt Thu, 19 Oct 2006 16:55:39 +0200 + +hal (0.5.7.1-0ubuntu16) edgy; urgency=low + + * debian/patches/20_laptop-panel-fixes.patch: Extend match to all LENOVO + ThinkPad models from the T, Z, and X series to fix brightness keys for + those, too. Closes: LP#61184 + + -- Martin Pitt Fri, 13 Oct 2006 11:24:51 +0200 + +hal (0.5.7.1-0ubuntu15) edgy; urgency=low + + * Add debian/patches/00upstream-05-fix-stale_nfs_handle_block.patch: + - Do not stat NFS mounts when preparing for suspend to fix hang. + - Patch taken from upstream git. + - Closes: LP#64266 + * Add debian/patches/20_laptop-panel-fixes.patch: ThinkPad T60 controls + screen brightness in hardware, so set the appropriate flag in + 10-laptop-panel-mgmt-policy.fdi. Closes: LP#61184 + * Add debian/patches/21_smartcard_drivetype.patch: Recognize 'Storage-SDC' + as smart card drive type. Closes: LP#61834 + * Add debian/patches/22-prefer-pmi-over-powersave.patch: Prefer pmi over + powersave in the suspend/hibernate scripts. Closes: LP#61920 + * debian/patches/17-mp3-player-fdi.patch: Add information about Sandisk + Corp. Sansa e270. Closes: LP#64300 + * debian/patches/02_ignored_volumes.patch: Ignore Apple bootstrap partitions + on removable devices, too. Closes: LP#61767 + * Add debian/patches/00upstream-06-stat-dev-not-mountpoint.patch: + - hald/linux/blockdev.c, blockdev_refresh_mount_state(): Stat the special + device file, not the mount point's underlying device. This makes hal + correctly recognize fuse mounts. + - Patch ported from upstream GIT, thanks to Florent Mertens! + http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=2ea340399bf8cf3d2bb6bd1b5c4ecbc2042e93d4 + - Closes: LP#35354 + + -- Martin Pitt Mon, 9 Oct 2006 11:22:04 +0200 + +hal (0.5.7.1-0ubuntu14) edgy; urgency=low + + * Add debian/patches/19_fix_wifi_detection.patch: + - Switch to sysfs based wifi detection instead of reading + /proc/net/wireless. The latter is horribly unreliable especially after + waking up from suspend. + - Patch taken from upstream git, thanks to Soren Hansen for digging it + out. + - Closes: LP#59981 + + -- Martin Pitt Thu, 5 Oct 2006 10:55:00 +0200 + +hal (0.5.7.1-0ubuntu13) edgy; urgency=low + + * debian/patches/02_ignored_volumes.patch: Ignore unmounted + non-hotpluggable/non-removable crypto volumes. Closes: LP#46529 + * debian/patches/17-mp3-player-fdi.patch: Add TrekStor i.Beat jump MP3 + Player. Closes: LP#61116 + + -- Martin Pitt Wed, 20 Sep 2006 12:20:32 +0200 + +hal (0.5.7.1-0ubuntu12) edgy; urgency=low + + * Make hal-device-manager depend on hwdb-client-gnome, not hwdb-client. + + -- Adam Conrad Wed, 20 Sep 2006 15:32:55 +1000 + +hal (0.5.7.1-0ubuntu11) edgy; urgency=low + + * Replace debian/patches/19_dont_overwrite_formfactor.patch with official + GIT head upstream patch 00upstream-04-dont-overwrite-formfactor.patch + (http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=f70301c8f426618d52a31d33c846989b1c8e7a52) + Closes: LP#59342) + * debian/patches/17-mp3-player-fdi.patch: + - Add Sandisk Sansa m250. Closes: LP#57903 + - Add SLVR/ROKR iTunes Motorola phone. Closes: LP#55960 + + -- Martin Pitt Mon, 18 Sep 2006 12:16:05 +0200 + +hal (0.5.7.1-0ubuntu10) edgy; urgency=low + + * Add debian/patches/00upstream-01-music-players-fdi.patch: Update + 10-usb-music-players.fdi from GIT head to support many more music players + (this supersedes the current 17-mp3-player-fdi.patch). Closes: LP#59022 + * debian/patches/17-mp3-player-fdi.patch: Add information for the Philips + GoGear SA1330, thanks to Juri Pakaste! Closes: LP#58077 + * debian/10-storage-policy.fdi: Remove enabling of hal-addon-storage, since + 20-storage-methods.fdi already does that. We don't need two h-a-s + processes for each drive. Closes: LP#58935 + * debian/hald.8: Remove --retain-privileges documentation, this option does + not exist any more. Closes: LP#44770 + * Add debian/patches/00upstream-02-mWh-conversion.patch: + - Properly convert mAh to mWh rather than uWh. + - Taken from GIT head: + http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=b30d1320614564d226018b8a491ee4f70567db64 + - Closes: LP#53719 + * Add debian/patches/00upstream-03-fs-on-partitioned-devices.patch: + - Do not probe for a file system on a device which already has partitions + created. This fixes empty bogus mounts for somewhat unclean partition + tables. + - Taken from GIT head: + http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=2c98ffc8dac7ee161042355790256d836e4028f9 + - Closes: LP#19390 + * Add debian/patches/19_dont_overwrite_formfactor.patch: Do not overwrite + the form factor as set by PMU/ACPI/DMI with an 'unknown' value from + computer_probing_pcbios_helper_done(). Thanks to VETSEL Patrice for this + patch! Closes: LP#59342 + + -- Martin Pitt Tue, 12 Sep 2006 10:42:58 +0200 + +hal (0.5.7.1-0ubuntu9) edgy; urgency=low + + * debian/patches/18_fix_dbus_090_build.patch: + + Fix build with dbus (>= 0.90) + + -- Sebastian Dröge Wed, 30 Aug 2006 13:43:52 +0200 + +hal (0.5.7.1-0ubuntu8) edgy; urgency=low + + * Rebuild against dbus 0.90 + + -- Sebastian Dröge Thu, 24 Aug 2006 14:38:43 +0200 + +hal (0.5.7.1-0ubuntu7) edgy; urgency=low + + * debian/control: Fix dependency python2.4-glade2 -> python-glade2. Closes: + LP#57002. + * Add debian/patches/17-mp3-player-fdi.patch: Add MPMan MP-Ki 128 MP3 + Player/Recorder. Closes: LP#44801 + + -- Martin Pitt Wed, 23 Aug 2006 18:50:43 +0200 + +hal (0.5.7.1-0ubuntu6) edgy; urgency=low + + * Add 16-nonpartitions-ending-in-nums.patch: + - Hal currently assumes that device names ending in numbers are + partitions. This patch adds a safe and easy, but slightly ugly + workaround. (Real fix will be discussed with upstream at + https://bugs.freedesktop.org/show_bug.cgi?id=5558) + - This breaks SCSI, USB, and Firewire CD drives, which are usually called + 'scd0', 'sr1', etc. + - Closes: LP#56484 and an impressive number of duplicates. + + -- Martin Pitt Wed, 23 Aug 2006 12:53:21 +0200 + +hal (0.5.7.1-0ubuntu5) edgy; urgency=low + + * debian/rules: Fix hwdata dir: /var/lib/misc -> /usr/share/misc, since + that's where the *.ids files live nowadays. + * debian/hal.postrm: Purge the 'haldaemon' user, not 'hal'. + + -- Martin Pitt Tue, 15 Aug 2006 09:58:34 +0200 + +hal (0.5.7.1-0ubuntu4) edgy; urgency=low + + * debian/hal.install: Revert 0.5.7.1-0ubuntu3 changes, install all + hal-system-storage-* scripts again. + * Add debian/patches/mount-scripts-pmount.patch: + - Change mount/umount scripts to call pmount-hal/pumount as the + destination user instead of mount/umount as root. This way, we do not + have to rely on hal properties for sanity checking, which are unreliable + in hal's current trust model. + - Change eject script to call eject as the destination user instead of + root. + - This change should be completely transparent to the outside world, so + that KDE and gnome-mount will just work. + * debian/control: Add pmount dependency to hal for above change. + * debian/control: Replace python version specific p-dbus and p-gnome2 + dependencies with their unversioned package names. Leave p-glade2 for now + since it has not yet been converted. Closes: LP#54615 + + -- Martin Pitt Fri, 4 Aug 2006 10:14:23 +0200 + +hal (0.5.7.1-0ubuntu3) edgy; urgency=low + + * Don't install hal-system-storage-eject, unused + + -- Jonathan Riddell Wed, 2 Aug 2006 14:28:02 +0000 + +hal (0.5.7.1-0ubuntu2) edgy; urgency=low + + * Install scripts/hal-system-storage-*, needed by KDE 3.5.4 + + -- Jonathan Riddell Sun, 30 Jul 2006 21:48:25 +0000 + +hal (0.5.7.1-0ubuntu1) edgy; urgency=low + + * New upstream microrelease: + - Fix compatibility with kernels > 2.6.17 (changed sysfs layout). + - No other changes. + + -- Martin Pitt Thu, 27 Jul 2006 07:32:34 +0200 + +hal (0.5.7-2ubuntu5) edgy; urgency=low + + * debian/control: + + really fix python-dbus depends now + + -- Sebastian Dröge Tue, 11 Jul 2006 22:55:22 +0200 + +hal (0.5.7-2ubuntu4) edgy; urgency=low + + * debian/pycompat: + + and now do it really right and add this file with a 2 in it + + -- Sebastian Dröge Mon, 10 Jul 2006 22:39:28 +0200 + +hal (0.5.7-2ubuntu3) edgy; urgency=low + + * debian/control, + debian/rules: + + update to the new Debian Python Policy + + -- Sebastian Dröge Mon, 10 Jul 2006 17:53:28 +0200 + +hal (0.5.7-2ubuntu2) edgy; urgency=low + + * debian/control: + - fix the python2.4-dbus Depends + + -- Sebastian Dröge Mon, 10 Jul 2006 17:40:12 +0200 + +hal (0.5.7-2ubuntu1) edgy; urgency=low + + * Synchronize to Debian. + + -- Martin Pitt Tue, 27 Jun 2006 15:37:39 +0200 + +hal (0.5.7-2) unstable; urgency=low + + * debian/hal.udev.rules + + Fix broken udev syntax (Closes: #364324) + * Bump compat version to 5 + * Killing hal with brute force in prerm shouldn't be needed anymore + * Don't install hal's default udev rules file, we ship our own + (Closes: 359749) + * debian/patches/07_suspend2.patch + + Added. Possibility to use hibernate to suspend-to-ram + * debian/patches/08_probe_serial.patch + + Only probe legacy serial ports. Fixes issue with usb serial ports from + wince pda's that can't handle the probing (Closes: #352934) + + -- Sjoerd Simons Mon, 1 May 2006 22:42:50 +0200 + +hal (0.5.7-1ubuntu18) dapper; urgency=low + + * adding zzz_add_hwdb_button.patch and make the hwdb button in + hal-device-manager reappear + * add hwdb-client to hal-device-manager deps + * fix hdm-python2.4.patch to work cleanly with pittis cdbstpatch script + + -- Oliver Grawert Mon, 22 May 2006 13:19:58 +0200 + +hal (0.5.7-1ubuntu17) dapper; urgency=low + + * Fix my cdbs incompetence + + -- Matthew Garrett Tue, 16 May 2006 17:52:50 +0100 + +hal (0.5.7-1ubuntu16) dapper; urgency=low + + * Omnibook brightness control should have 11 levels (Closes: LP#44962) + + -- Matthew Garrett Tue, 16 May 2006 12:39:44 +0100 + +hal (0.5.7-1ubuntu15) dapper; urgency=low + + * Fix name of 14_prove_volume_invalidlabel.patch -> s/prove/probe/. + * Disable debian/patches/13_probe_input_endianess.patch for now; it is + incorrect (the ioctl expects chars, not long) and causes crashes. + Closes: LP#43962 (and half a dozen dups) + + -- Martin Pitt Wed, 10 May 2006 18:33:34 +0200 + +hal (0.5.7-1ubuntu14) dapper; urgency=low + + * Add debian/patches/14_probe_volume_invalidlabel.patch: + - Do not try to fix device labels with invalid UTF-8 characters if more + than 20% of the characters are invalid. This avoids totally + unintelligible labels while still preserving only mildly damaged ones. + - Closes: LP#27897 + + -- Martin Pitt Wed, 10 May 2006 18:21:02 +0200 + +hal (0.5.7-1ubuntu13) dapper; urgency=low + + * Add debian/patches/13_probe_input_endianess.patch: + - Fix bit testing in probe-input to work on big endian, too. + - Patch taken from upstream CVS. + + -- Martin Pitt Tue, 9 May 2006 09:09:11 +0200 + +hal (0.5.7-1ubuntu12) dapper; urgency=low + + * debian/patches/12_refresh_acpi_states.patch: + backport from CVS, refresh ACPI events after suspend/hibernate. + Half of the fix for [Malone: #33072] + + -- Paul Sladen Mon, 01 May 2006 16:00:05 +0100 + +hal (0.5.7-1ubuntu11) dapper; urgency=low + + * debian/patches/is_mounted_read_only_property.patch: + - backport from CVS for the new "is_mounted_read_only_property" property, + required by gnomevfs,nautilus to fix datas copied from CD being readonly + (http://mail.gnome.org/archives/nautilus-list/2006-March/msg00045.html) + (Ubuntu: #21576) + + -- Sebastien Bacher Fri, 21 Apr 2006 00:00:16 +0200 + +hal (0.5.7-1ubuntu10) dapper; urgency=low + + * Disable debian/patches/01_probe_parttable.patch, it causes regressions + (like CD-ROMs detected as fsusage='partitiontable'). This reopens bug + #19390, but that one is much less evil. + * debian/hal-device-manager.desktop: + - Add X-Ubuntu-Gettext-Domain. + - Update the German translation to match the changed C one from + 0.5.7-1ubuntu7. + * Add debian/hal-device-manager.desktop.in: Reduced h-d-m desktop file with + just _Name and _Comment to add these msgids to the POT. + * Add debian/patches/desktop-POTFILES.patch: Add debian/h-d-m.desktop.in to + POTFILES.in. + * Add debian/patches/11-hdm-nice-keyvalues.patch: + - Beautify the display of list values: do not show a Python unicode prefix + (u'foo') and Python list notation ([...]). + - Closes: LP#35935 + * Rename system user 'hal' to 'haldaemon' to be compatible with upstream + default (and the documentation in the web) and to avoid name conflicts + with user accounts for people whose name is 'Hal'. + - debian/rules: Drop --with-hal-{user,group} + - debian/hal.postinst, debian/hal.init.dbus: Change user name accordingly. + - Closes: LP#11957 + * debian/hal.default: Remove the comments about hal running as user/root, + since this cannot be changed any more. + + -- Martin Pitt Mon, 27 Mar 2006 18:08:12 +0200 + +hal (0.5.7-1ubuntu9) dapper; urgency=low + + * debian/patches/10_volume_and_aliased_keys.patch (addon-keyboard): + - Add macro, volume* and mute keys (special codes <128) + - Add in 'aliased-keys' mirrored onto F19..F23 + - Add battery key at value 236, (waiting for upstream), [Malone: #22451] + + -- Paul Sladen Mon, 27 Mar 2006 16:06:51 +0100 + +hal (0.5.7-1ubuntu8) dapper; urgency=low + + * debian/patches/02_ignored_volumes.patch: + - Only show mounted volumes in /media (not in /mnt any more), and do not + show all VFAT/NTFS mounts. (See discussion in bug #34886) + + -- Martin Pitt Mon, 20 Mar 2006 11:46:44 +0100 + +hal (0.5.7-1ubuntu7) dapper; urgency=low + + * debian/hal-device-manager.desktop: + - use "View hardware information" instead of "HAL Device Manager" + as menu item tooltip + + -- Sebastien Bacher Thu, 16 Mar 2006 14:16:22 +0100 + +hal (0.5.7-1ubuntu6) dapper; urgency=low + + * Add debian/patches/02_ignored_volumes.patch: + - Add a policy for which volumes are shown in gnome-vfs and which aren't. + This replaces the gconf based policy in gnome-vfs2, which was ripped out + two seconds before the final Gnome relase (*cough* freezes?). + - Now ignore volumes on non-hottpluggable and non-removable volumes unless + they are mounted under /mnt or /media, or are a mounted NTFS or VFAT + partition. This should come close to what the majority of users will + want to see. + - Malone #34886 (might also fix at leastparts of #13554) + * Add debian/patches/09_sony_brightness.patch: + - Apply trivial upstream patch to fix LCD brightness setting on Sony + laptops. + - Patch taken from upstream CVS, thanks to Paolo Borelli. + - Malone #31289 + + -- Martin Pitt Wed, 15 Mar 2006 23:07:11 +0100 + +hal (0.5.7-1ubuntu5) dapper; urgency=low + + * debian/10-storage-policy.fdi: Restore most of the settings from hal 0.5.6, + since they are still necessary as long as we don't use gnome-mount: + - Ensures proper mount point for iPods. (Malone #33120) + - Mounts volumes with 'exec' again. (Malone #33621) + + -- Martin Pitt Thu, 9 Mar 2006 12:44:30 +0100 + +hal (0.5.7-1ubuntu4) dapper; urgency=low + + * Add debian/patches/01_probe_parttable.patch: + volume_id/volume_id.c, volume_id_probe_all(): + - Add probing for MS-DOS partition table before probing for file systems. + All calls to this function expect that this function may return a + partition table. + - This also avoids mounting the raw device as a volume when there is + actually a partition on it. (Malone #19390) + * Remove debian/README.Debian, it's obsolete. + + -- Martin Pitt Wed, 8 Mar 2006 11:23:50 +0100 + +hal (0.5.7-1ubuntu3) dapper; urgency=low + + * Add debian/10-storage-policy.fdi and ship it in + /usr/share/hal/fdi/policy/10osvendor/, I did not notice that this was + dropped in Debian. Reinstates 'eject removable devices' policy. + + -- Martin Pitt Fri, 3 Mar 2006 15:44:45 +0100 + +hal (0.5.7-1ubuntu2) dapper; urgency=low + + * debian/patches/05_pmu_nohibernate.patch: Fix crash if + power_management.type does not exist. This happens on e. g. ppc64, which + have SMU, not PMU. Thanks to Alastair Poole for debugging this with me. + + -- Martin Pitt Wed, 1 Mar 2006 11:58:34 +0100 + +hal (0.5.7-1ubuntu1) dapper; urgency=low + + * New upstream version with mainly bug fixes and cleanup, UVF exception + approved by Matt. + * Synchronize to Debian. + * Remove patches which are now upstream: + - 06_dbus-query-capability.patch + - 07_add-keyboard-addons.patch + - 09_privileges-hald.patch + * debian/patches/08_privileges-addons.patch: The bulk of the patch went + upstream. The only change left is the derooting of addon-storage, which is + not appropriate for upstream. + + -- Martin Pitt Mon, 27 Feb 2006 11:07:36 +0100 + +hal (0.5.7-1) experimental; urgency=low + + * New upstream release + * debian/patches/02_hal_addon_pmu.patch + + Removed. Fixed upstream + * debian/patches/03_hald_runnerpath.patch + + Removed. Fixed upstream + + -- Sjoerd Simons Fri, 24 Feb 2006 20:03:09 +0100 + +hal (0.5.6+cvs20060219-1) experimental; urgency=low + + * CVS snapshot + * debian/patches/01_hal_privsep.patch + + Removed. Fixed upstream + * debian/patches/02_hal_addon_pmu.patch + + Updated + * debian/patches/03_storage_sigio.patch + + Removed. Fixed upstream + * debian/patches/04_hald-no-patch.patch + + Removed. Fixed upstream + * debian/patches/05_hald_clear_udev_buffer.patch + + Removed. Fixed upstream + * Sync with Ubuntu + + Remove unneeded build-depends (libsysfs-dev and libcap-dev) + + force-reload dbus instead of reload + + Remove obsolete fdi example conffile + + Add small utility script to run hald from the debian dir. + * debian/patches/storage-policy-debian.patch + + Removed. Obsolete + * debian/patches/03_hald_runnerpath.patch + + Added. Give programs run by the runner a save PATH + * debian/patches/04_hald_scripts.patch + + Added. Fix various bugs in the hal scripts + * Add the powerdev group in postinst + * debian/patches/01_hal_debian_dbuspolicy.patch + + Added. Change the hal dbus policy to allow user part of the powerdev + group to use the org.freedesktop.Hal.Device.SystemPowerManagement and + org.freedesktop.Hal.Device.LaptopPanel interfaces. + + -- Sjoerd Simons Mon, 20 Feb 2006 23:24:34 +0100 + +hal (0.5.6-4ubuntu4) dapper; urgency=low + + * debian/rules: Use gnome.mk to get gettext domain in .desktop file. + + -- Martin Pitt Fri, 24 Feb 2006 07:38:04 +0100 + +hal (0.5.6-4ubuntu3) dapper; urgency=low + + * debian/run-hald.sh: Specify absolute paths in HALD_RUNNER_PATH to make + the runner find the callouts in the source tree. + * debian/patches/08_privileges-addons.patch: Completely rework patch. + - hald/linux2/probing/shared.h: Factor out drop_privileges() into this + header file and add 'keep_auxgroups' parameter. + - hald/linux2/addons/addon-storage.c: Drop privileges with keeping + auxiliary groups right at the start; since the helper repeatedly opens + the device file for good reasons, we cannot keep an opened fd around. + - hald/linux2/addons/addon-acpi.c: + + If /proc ACPI interface is disabled, drop privileges right away (since + everybody can read from acpid). + + Otherwise, drop privileges right after opening the kernel's ACPI + interface. Move this part out of the reconnect loop since after + dropping privs we cannot reconnect (and the kernel interface shouldn't + disappear anyway). + - hald/linux2/addons/addon-pmu.c: Drop all privileges after opening + /dev/adb. + * debian/patches/07_add-keyboard-addons.patch: Remove drop_privileges() + since it's already in shared.h. + * debian/hal.init.dbus: Remove the extra pid check/kill, start-stop-daemon + should be sufficient to stop hal nowadays. + * Revert changes from previous upload; discussion revealed that hal should + deliberately ignore settings in /etc/default/acpi-support, so we don't + need the PMI querying. + + -- Martin Pitt Tue, 21 Feb 2006 16:58:53 +0100 + +hal (0.5.6-4ubuntu2) dapper; urgency=low + + * Add support for using /usr/sbin/pmi to verify capabilities for suspend + versus hibernate. + This will need revisiting later to be implemented more neatly + + -- Daniel Silverstone Mon, 20 Feb 2006 15:56:08 +0000 + +hal (0.5.6-4ubuntu1) dapper; urgency=low + + * Synchronize to Debian to get bug fixes. + - Fix ZIP drive deadlock. (Malone #29822) + * Remove debian/patches/z_autoconf.patch: Not necessary any more, Debian's + 01_hal_privsep.patch already contains autoconf changes. + * Cleaned up names of ubuntu patches. + * Adapt ubuntu specific patches to apply again. + + -- Martin Pitt Tue, 14 Feb 2006 08:39:16 +0100 + +hal (0.5.6-4) unstable; urgency=high + + * debian/patches/05_hald_clear_udev_buffer.patch + + Added. Clear the buffer where udev events are received before using + (from hal CVS) + + -- Sjoerd Simons Mon, 13 Feb 2006 18:59:12 +0100 + +hal (0.5.6-3) unstable; urgency=high + + * debian/patches/01_hal_privsep.patch + + Updated. Fix deadlock when using ATAPI Zip-drives (Closes: #351296) + + -- Sjoerd Simons Sun, 12 Feb 2006 17:52:58 +0100 + +hal (0.5.6-2) unstable; urgency=low + + * debian/patches/01_hal_privsep.patch + + Updated to current CVS version + * udev communicated events to hal via a socket now, which as a side-effect + fixes incompatibility with udev 0.83 (Closes: #350639, #350762) + * Let hal look in the right location for the pci.ids and usb.ids files + (Closes: #341824) + * Because the addons run with root privs. now, harddisk properties are + available (Closes: #290653) + * debian/patches/03_storage_sigio.patch + + Added. Switch EjectButton detection to SG_IO interface. Solves some + problems with scsi cdrom drives (from hal CVS) + * debian/patches/04_hald-no-patch.patch + + Added. Also start correctly when PATH is not set (Closes: #345391) + + -- Sjoerd Simons Wed, 1 Feb 2006 23:59:58 +0100 + +hal (0.5.6-1ubuntu3) dapper; urgency=low + + * Add debian/patches/dbus-query-capability.patch: + - Use hal_device_has_capability() instead of broken "info.capabilities" + parsing. + - Malone #30198, thanks to Scott Robinson for the patch. + + -- Martin Pitt Wed, 8 Feb 2006 13:31:14 +0100 + +hal (0.5.6-1ubuntu2) dapper; urgency=low + + * debian/patches/zz_add-keyboard-addons.patch + - Add a listener for keyboard devices, and fix the ACPI addon to + send the button type on events + + -- Matthew Garrett Mon, 6 Feb 2006 16:35:43 +0000 + +hal (0.5.6-1ubuntu1) dapper; urgency=low + + * Synchronize to Debian. + + -- Martin Pitt Thu, 26 Jan 2006 14:42:02 +0100 + +hal (0.5.6-1) experimental; urgency=low + + * New upstream release + * debian/patches/hal-dbus_max_match_rules_per_connection.patch + + Removed. Default max_match_rules in dbus is high enough these days + * Don't add the hal to group floppy and cdrom + * Stop using the hotplug helper, instead let udev pass data via a socket to + hal + * debian/patches/01_hal_privsep.patch + + Added. Let the addons and probes be called by a little helper running as + root while the main hal database runs as an unpriviledged user. + * No longer chown removable device to group hal + * debian/patches/02_hal_addon_pmu.patch + + Added. Use a direct connection to hal, because it might not be on the + system bus yet. Open /dev/adb non-block so read blocks instead of + getting EAGAIN and failing. + + -- Sjoerd Simons Thu, 19 Jan 2006 23:12:56 +0100 + +hal (0.5.6-0ubuntu4) dapper; urgency=low + + * debian/hal.install: + - Just install the hal scripts into /usr/share/hal, not into /usr/lib/hal + in addition + - Remove installation of storage scripts again (see 0.5.6-0ubuntu2 + changelog). + + -- Martin Pitt Tue, 24 Jan 2006 09:27:56 +0100 + +hal (0.5.6-0ubuntu3) dapper; urgency=low + + * Update debian/hal.install + - Install hal scripts + + -- Matthew Garrett Tue, 24 Jan 2006 01:16:32 +0000 + +hal (0.5.6-0ubuntu2) dapper; urgency=low + + * Add debian/patches/hald-runner.patch: + - Fork off a small root daemon hald_runner that communicates with hald + over p2p dbus and is responsible to start helpers as root. This allows + the main hald to run with even less privileges and at the same time + enables active elements like power management. + - Patch from Sjoerd Simons, taken from upstream CVS. + * Add debian/patches/privileges-hald.patch: + - Run hald without any auxiliary groups. + * Add debian/patches/privileges-addons.patch: + - storage polling addon: Drop root privileges, run as user hal with + auxiliary groups (since we need them for accessing CD-ROMs etc.). + - acpi polling addon: Drop root privileges, run as user hal without any + additional groups, since everybody can read acpid events. + * debian/hal.install: Install hal-system-{power,lcd}-* scripts to make g-p-m + happy. Do not install the storage scripts for now since they rely on the + integrity of hald (redesigning them is upstream work in progress). + * Remove debian/patches/hal-dbus_max_match_rules_per_connection.patch, it's + obsolete. + * Add debian/run-hald.sh: Script to run hald locally from build-tree. + + -- Martin Pitt Mon, 23 Jan 2006 13:52:44 +0100 + +hal (0.5.6-0ubuntu1) dapper; urgency=low + + * New upstream version. + * Remove debian/patches/cvs-udev-socket.patch: upstream now. + + -- Martin Pitt Tue, 17 Jan 2006 10:15:10 +0100 + +hal (0.5.5.1-5) unstable; urgency=low + + * Tighten depends on dbus and python2.4-dbus a little bit more + * Fix a bashim in the postinst script (Closes: 347326) + + -- Sjoerd Simons Thu, 12 Jan 2006 00:38:47 +0100 + +hal (0.5.5.1-4ubuntu1) dapper; urgency=low + + * Synchronize to Debian, clean up diff cruft. + * Remove superfluous libcap-dev build dependency. + + -- Martin Pitt Mon, 9 Jan 2006 16:57:37 +0100 + +hal (0.5.5.1-4) unstable; urgency=low + + * Upload to unstable + * Add python to the build-depends for dh_python + + -- Sjoerd Simons Thu, 5 Jan 2006 22:36:33 +0100 + +hal (0.5.5.1-3) experimental; urgency=low + + * Let libhal-dev and libhal-storage-dev depend on libdbus-1-dev (>= 0.60) + + -- Sjoerd Simons Fri, 16 Dec 2005 15:37:21 +0100 + +hal (0.5.5.1-2) experimental; urgency=low + + * Use log_daemon_msg instead of log_begin_msg in the init script + (Closes: #339728) + * Build against dbus 0.60 + + -- Sjoerd Simons Thu, 15 Dec 2005 12:02:22 +0100 + +hal (0.5.5.1-1ubuntu5) dapper; urgency=low + + * Make hal-device-manager depend on python-launchpad-integration + + -- Jonathan Riddell Tue, 3 Jan 2006 02:14:15 +0000 + +hal (0.5.5.1-1ubuntu4) dapper; urgency=low + + * Drop obsolete libsysfs-dev build dependency. + * Bump dbus dependency to >= 0.60 and build against libdbus-1-2. + + -- Martin Pitt Tue, 20 Dec 2005 19:32:40 +0100 + +hal (0.5.5.1-1ubuntu3) dapper; urgency=low + + * debian/hal.udev.rules: Clean up = vs. ==, drop obsolete checks. + + -- Martin Pitt Mon, 5 Dec 2005 15:09:51 +0100 + +hal (0.5.5.1-1ubuntu2) dapper; urgency=low + + * Add debian/patches/cvs-udev-socket.patch: + - Listen to udev events on a socket /org/freedesktop/hal/udev_event. + - This replaces the old hal.hotplug helper binary. + - Patch taken from upstream CVS. + * debian/hal.udev.rules: Send udev events to the socket instead of + hal.hotplug. + * debian/rules: Install udev script as /etc/udev/rules.d/85-hal.rules (not + in /etc/udev any more). + * Remove debian/hal.links to remove the 050_hal-plugdev.rules -> + ../hal.rules symlink. + * debian/hal.preinst: Transition from earlier versions. + - Remove obsolete 050_hal-plugdev.rules symlink. + - Handle hal.rules conffile moving. + + -- Martin Pitt Thu, 1 Dec 2005 15:38:06 +0100 + +hal (0.5.5.1-1ubuntu1) dapper; urgency=low + + * New upstream version that plays with kernels 2.6.13+. + - Fixes rate information for batteries (#18770) + - Should fix crash due to missing hald-addon-usb-csr (#18658). + * Merged Debian changes. + * debian/hal.post{inst,rm}: + - Use force-reload instead of reload since dbus' init script does not + support reload. + - Only start hal manually if it is not yet running (Ubuntu's dbus will + start it automatically). + * debian/hal.{preinst,postrm}: Remove stopping of hald on upgrades since we + do not want to automatically restart hal. + + -- Martin Pitt Thu, 17 Nov 2005 18:33:13 +0100 + +hal (0.5.5.1-1) experimental; urgency=low + + * New upstream release + * Sync with ubuntu (Thanks Martin Pitt) + + Make libhal-storage-dev depend libhal-dev + + Fix rm_conffile in hal.preinst + + Install hal-find-by-capability and hal-find-by-property + + Translation updates for hal-device-manager.desktop + * Never restart dbus in postinst or postrm . Only reload it's config. + * Depend on libusb-dev to build hald-addon-usb-csr (Closes: #335530) + * Build hal-device-manager again. + * debian/patches/hdm-python2.4.patch + + Force hal-device-manager to use python2.4 + * Install /usr/bin/hal-device + + -- Sjoerd Simons Tue, 15 Nov 2005 14:18:58 +0100 + +hal (0.5.4-2ubuntu1) dapper; urgency=low + + * Merge to latest Debian package. + * Remove patches that are included upstream now: + - acpi-battery-fixes.patch + - acpi-battery-normalization.patch + - acpid-reconnect.patch + - check_reporting_unit_NULL.patch + - datatypes.patch + - signals-hdm.patch + * Drop debian/patches/drop-privileges-option.patch: This was only relevant + for the Hoary->Breezy upgrade. + * debian/patches/lpi.patch: Adapted to new upstream code. + * debian/hal.preinst: + - Fix parameter passing in rm_conffile(). + - Remove obsolete /etc/hotplug.d/default/20-hal.hotplug on upgrade. + - Remove obsolete /etc/hal/fdi/preferences.fdi on upgrade. (Ubuntu #17561) + * debian/control: + - Lower the udev dependency to >= 0.060 for now. + - Add libhal-dev dependency to libhal-storage-dev. (Ubuntu #17338) + + -- Martin Pitt Wed, 19 Oct 2005 12:44:31 +0200 + +hal (0.5.4-2) experimental; urgency=low + + * Hal doesn't include hal.dev anymore, so don't try to execute it in the + udev rules (Closes: #326957) + * Package doesn't ship fstab-sync, so also don't ship it's manpage. + + -- Sjoerd Simons Thu, 8 Sep 2005 10:36:03 +0200 + +hal (0.5.4-1) experimental; urgency=low + + * New upstream release + * use udev RUN rules instead of the hotplug.d and dev.d script dirs + * Install hal-umount.sh in /usr/lib/hal instead of usr/lib/hal/hal-umount.sh + * debian/patches/property-null-values.patch + + Removed. Fixed upstream + * Sync with ubuntu + + Switched the init script to lsb-base + + hal.init.dbus: If hald does not want to die in do_stop, use the "yes, + we really mean it" approach to ensure clean restarts. + + debian/patches/storage-policy-debian.patch + - Dropped noatime/sync handling hunk since upstream now does the right + thing. + - Enable storage.requires_eject on USB storage devices to always + eject them (which causes them to properly power off). + + Only (re)start dbus when hal isn't already running. + + Update the manpage + + -- Sjoerd Simons Sat, 27 Aug 2005 22:31:21 +0200 + +hal (0.5.3-0ubuntu13) breezy; urgency=low + + * Install hal-find-by-property and hal-find-by-capability since they are + really useful tools. + * Use update-notifier's brand new notify-reboot-required script instead of + creating a hal specific update notification. + + -- Martin Pitt Fri, 30 Sep 2005 19:52:09 +0200 + +hal (0.5.3-0ubuntu12) breezy; urgency=low + + * Add debian/patches/drop-privileges-option.patch: + - Readd option "--drop-privileges" to make Hoary upgrades smoother. + - Ubuntu #15771 + * debian/hal.postinst: Add an update notification that recommends to reboot + the machine soon. + * debian/hal.init.dbus: Remove the notification on hal startup. + + -- Martin Pitt Tue, 20 Sep 2005 11:36:40 +0200 + +hal (0.5.3-0ubuntu11) breezy; urgency=low + + * Add debian/patches/signals-hdm.patch: + - Fix hal-device-manager's signal handling for current dbus. + - Patch stolen from 0.5.4. + - Ubuntu #14088 + * debian/control: + - Move python-launchpad-integration dependency from hal to + hal-device-manager, where it belongs to. + - Ubuntu #14860 + * Add debian/patches/acpid-reconnect.patch: + - Reconnect to acpid if it was restarted. + - Thanks to Ryan Lortie for this patch. + - Ubuntu #14852 + * Add debian/patches/acpi-battery-normalization.patch: + - Ported Ryan Lortie's patch for better calculating battery charge levels. + - Hopefully fixes Ubuntu #14246. + + -- Martin Pitt Thu, 8 Sep 2005 19:40:48 +0200 + +hal (0.5.3-0ubuntu10) breezy; urgency=low + + * hal.init.dbus: If hald does not want to die in do_stop, use the "yes, we + really mean it" approach to ensure clean restarts. + * debian/hald.8: --drop-privileges does not exist any more, document + --retain-privileges. + + -- Martin Pitt Wed, 24 Aug 2005 11:49:53 +0200 + +hal (0.5.3-0ubuntu9) breezy; urgency=low + + * debian/patches/storage-policy-debian.patch: + - Fix eject property. It is storage.requires_eject, not + storage.policy.requires_eject. Meh. + + -- Martin Pitt Tue, 23 Aug 2005 16:14:52 +0200 + +hal (0.5.3-0ubuntu8) breezy; urgency=low + + * debian/patches/storage-policy-debian.patch: + - Enable storage.policy.requires_eject on USB storage devices to always + eject them (which causes them to properly power off). This replaces the + gnome-vfs2 patch which does not work properly any more. + * debian/patches/acpi-battery-fixes.patch: + - Fix bogus values if BIOS reports battery.voltage.design but not + battery.voltage.current. + - Ubuntu #13990 + + -- Martin Pitt Tue, 23 Aug 2005 14:55:26 +0200 + +hal (0.5.3-0ubuntu7) breezy; urgency=low + + * debian/patches/lpi.patch: + - add support for LaunchpadIntegration into hal-device-manager + + -- Michael Vogt Mon, 22 Aug 2005 19:20:27 +0200 + +hal (0.5.3-0ubuntu6) breezy; urgency=low + + * debian/patches/check_reporting_unit_NULL.patch: + - hal-0.5.3/hald/linux2/acpi.c, battery_refresh(): Check for NULL + reporting_unit to avoid segfault. + + -- Martin Pitt Mon, 22 Aug 2005 13:56:19 +0200 + +hal (0.5.3-0ubuntu5) breezy; urgency=low + + * Do not restart hal on upgrades. (Ubuntu #13312) + * debian/hal.postrm: Add --system option to deluser for safety. + * debian/hal.prerm: If hald doesn't stop properly, try harder with kill -9. + + -- Martin Pitt Wed, 17 Aug 2005 13:24:57 +0200 + +hal (0.5.3-0ubuntu4) breezy; urgency=low + + * Add debian/patches/acpi-battery-fixes.patch: + - Ported various ACPI battery fixes from development version + hal@arch.ubuntu.com/hal--MAIN--0 (thanks to the arch supermirror): + patch-612, patch-622, patch-623, patch-625, patch-629, patch-631, + patch-640, patch-641, patch-642, patch-644, patch-645 + - Ubuntu #13446 + + -- Martin Pitt Tue, 16 Aug 2005 20:43:52 +0200 + +hal (0.5.3-0ubuntu3) breezy; urgency=low + + * Add debian/patches/datatypes.patch: + - Fix FTBFS on amd64 due to conflicting definitions of [u]int64_t in + config.h and sys/types.h. + - Disable datatypes check in configure.in, regenerate configure. + - Replace all kernel-style datatypes (like __u16) with their official + userspace counterparts (like int16_t) since config.h doesn't export the + kernel-style ones any more. + - This is a quick and ugly hack (tm). + + -- Martin Pitt Thu, 11 Aug 2005 22:51:50 +0200 + +hal (0.5.3-0ubuntu2) breezy; urgency=low + + * debian/control: + - build with the current dbus package. + + -- Sebastien Bacher Thu, 11 Aug 2005 11:16:46 +0200 + +hal (0.5.3-0ubuntu1) breezy; urgency=low + + * New upstram bugfix release. + - Handles degrading battery capacity. (Ubuntu #12909) + * Removed debian/patches/property-null-values.patch, adopted upstream. + * debian/patches/storage-policy-debian.patch: Dropped noatime/sync handling + hunk since upstream now does the right thing. + * debian/hal.postinst: Fix dbus init script name to restart dbus and hal + correctly after package upgrade. + + -- Martin Pitt Fri, 29 Jul 2005 09:49:13 +0200 + +hal (0.5.2-0ubuntu5) breezy; urgency=low + + * Added debian/patches/property-null-values.patch: + - hald/hal_property_new_string(): If the given value is NULL, create a + property with value "" instead of NULL to prevent all sorts of segfaults + at a very low level. (Ubuntu #11060) + + -- Martin Pitt Tue, 24 May 2005 10:00:57 +0200 + +hal (0.5.2-0ubuntu4) breezy; urgency=low + + * debian/patches/storage-policy-debian.patch: Restore the policy to mount + devices smaller than 2GB (i. e. usually USB flash sticks) with "noatime" + to cut down wearout. + + -- Martin Pitt Fri, 20 May 2005 08:36:34 +0200 + +hal (0.5.2-0ubuntu3) breezy; urgency=low + + * debian/patches/storage-policy-debian.patch: + - Remove the sync/async mounting policy so that all devices are mounted + "async" by default. + - This will avoid physical damage of flash chips due to exaggerated + updating of inode/FAT structures and greatly speed up the write + throughput. On the bad side this makes it much less safe to remove devices + without proper umounting. + - Debian #309625. + * debian/preferences.fdi: Adopt the comment for the sync/async example. + + -- Martin Pitt Wed, 18 May 2005 18:03:12 +0200 + +hal (0.5.2-0ubuntu2) breezy; urgency=low + + * Uploaded out of date diff.gz previously; reupload to fix FTBFS. + + -- Martin Pitt Tue, 17 May 2005 13:30:23 +0200 + +hal (0.5.2-0ubuntu1) breezy; urgency=low + + * New upstream release. + * Dropped debian/patches/hal-dbus_max_match_rules_per_connection.patch, this + was accepted upstream. + + -- Martin Pitt Fri, 13 May 2005 12:22:45 +0200 + +hal (0.5.1-0ubuntu1) breezy; urgency=low + + * New upstream release. + * Dropped patches (included upstream): + - debian/patches/device-manager-gtk-true.patch + - debian/patches/fix-droppriv.patch + * debian/control: Tightened dbus dependencies to >= 0.33. + * debian/control: Added hal dependency to dbus. + + -- Martin Pitt Tue, 10 May 2005 17:20:18 +0200 + +hal (0.5-0ubuntu1) breezy; urgency=low + + * New upstream version with a radically new architecture, and ABI break. + Introduces new package names (due to SONAME changes). + * Updated patches to new upstream version: + - hal-dbus_max_match_rules_per_connection.patch + - readme-remove-hacking.patch + - storage-policy-debian.patch + * Dropped patches: + - hal-fdi.patch (included upstream) + - hal-hotplug-map.patch (this program does not exist any more) + - ids-search.patch (included upstream) + - no_sysdevice.patch (obsolete) + - ubuntu-03-cdrom-debugging.patch (obsolete) + * Temporarily dropped patches which need to be redesigned: + - ubuntu-01-lsbrelease.patch + - ubuntu-02-procfs.patch + - ubuntu-04-hwdb.patch + - ubuntu-05-dmidecode.patch + - ubuntu-06-harddisk-volumes.patch (depends on behavior of new gnome-vfs) + - ubuntu-99-autoconf.patch (not necessary any more for now) + * Renamed debian/docs to debian/hal.docs for consistency. + * debian/hal.default: hal now defaults to run as normal user, so invert the + setting and documentation. + * Added debian/patches/fix-droppriv.patch: + - hald/hald.c: Drop privileges after calling osspec_init(), since the + latter opens a netlink socket, which requires root privileges. + * debian/hal.install: Install preferences.fdi into etc/hal/fdi/policy to + match new layout. + * Added debian/patches/device-manager-gtk-true.patch: + - Replace deprecated "gtk.TRUE" with "True" to avoid warning. + + -- Martin Pitt Wed, 13 Apr 2005 13:22:36 +0200 + +hal (0.4.7-1ubuntu14) hoary; urgency=low + + * hal-device-manager.desktop: Added translations. (Ubuntu #7370) + + -- Martin Pitt Tue, 29 Mar 2005 15:07:24 +0200 + +hal (0.4.7-1ubuntu13) hoary; urgency=low + + * Added debian/patches/ubuntu-06-harddisk-volumes.patch: + - fdi/90defaultpolicy/storage-policy.fdi: If a volume has an empty + fsusage, set it to "filesystem" to work around the fact that the + non-root hald cannot read harddisk partitions. + - libhal-storage/libhal-storage.c: Do not declare a volume as invisible if + hal does not know the file system (hald cannot read harddisk + partitions). + - Ubuntu #7641 + + -- Martin Pitt Thu, 17 Mar 2005 12:58:55 +0100 + +hal (0.4.7-1ubuntu12) hoary; urgency=low + + * debian/hal.preinst: Fix test for /etc/dbus-1/event.d/hal -> 20hal upgrade + to avoid asking dpkg questions on upgrade. (Ubuntu #7418) + * debian/hal.postinst: Do not fail if addgroup plugdev fails (which happens + sometimes if the group is already present). + + -- Martin Pitt Thu, 10 Mar 2005 15:56:28 +0100 + +hal (0.4.7-1ubuntu11) hoary; urgency=low + + * patch hal/hal.conf.in instead of hal/hal.conf + + -- Michael Vogt Tue, 8 Mar 2005 10:38:02 +0100 + +hal (0.4.7-1ubuntu10) hoary; urgency=low + + * set 512 in + /etc/dbus-1/system.d/hal.conf (default is 128) + This fixes the problem that hal-device-manager can not start for + systems with a lot of devices (closes: #7188) + + -- Michael Vogt Mon, 7 Mar 2005 13:27:01 +0100 + +hal (0.4.7-1ubuntu9) hoary; urgency=low + + * Added debian/patches/ubuntu-05-dmidecode.patch: + - Read the output of dmidecode (though a setuid wrapper) and create + appropriate hal nodes. + - Patch from Oliver Grawert . + * debian/hal.install: Install new hal-dmiwrapper to /usr/lib/hal. + * debian/hal.postinst: Set permissions of /usr/lib/hal/hal-dmiwrapper to + root:hal 4751. + * debian/patches/ubuntu-99-autoconf.patch: Regenerated. + + -- Martin Pitt Wed, 2 Mar 2005 11:43:56 +0100 + +hal (0.4.7-1ubuntu8) hoary; urgency=low + + * debian/hal.postinst: Ensure that the 'hal' user is always in groups + 'cdrom' and 'floppy', since this breaked sometimes when upgrading from + earlier versions. (Ubuntu #6497) + * Added debian/patches/no_sysdevice.path: Don't die when a device doesn't + have a sysfs path when finalizing the class device. (Debian #293630) Patch + stolen from Debian version 0.4.7-2, thanks to Sjoerd Simons. + + -- Martin Pitt Mon, 28 Feb 2005 15:59:04 +0100 + +hal (0.4.7-1ubuntu7) hoary; urgency=low + + * debian/rules: Call uudecode in post-patches:: instead of configure/hal:: + to fix FTBFS in some cases. + + -- Martin Pitt Fri, 25 Feb 2005 13:07:34 +0100 + +hal (0.4.7-1ubuntu6) hoary; urgency=low + + * Added debian/patches/ubuntu-03-cdrom-debugging.patch: + - Report errors in hald/linux/block_class_device.c:cdrom_get_properties(). + * Integrate hwdb-gui calling into hal-device-manager. Patch from Oliver + Grawert : + - Added debian/patches/ubuntu-04-hwdb.patch (h-d-m changes) + - deian/control: Suggest hwdb-client. + * Added debian/*.png.uuencode (Icons for lsbrelease and procfs patches and + hwdb integration), install them in debian/rules. From Oliver + Grawert . + * Build-Depend on sharutils. + * Updated debian/patches/ubuntu-99-autoconf.patch, this time with a better + matching automake version to produce a smaller patch. + + -- Martin Pitt Fri, 25 Feb 2005 10:44:48 +0100 + +hal (0.4.7-1ubuntu5) hoary; urgency=low + + * debian/rules: Disable fstab-sync building. + + -- Martin Pitt Thu, 24 Feb 2005 09:48:59 +0100 + +hal (0.4.7-1ubuntu4) hoary; urgency=low + + * Added debian/patches/ubuntu-01-lsbrelease.patch: + - Support reading the output of lsb_release and add the properties to the + root device. + - Thanks to Oliver Grawert for the patch. + * Added debian/patches/ubuntu-02-procfs.patch: + - Support reading /proc/{cpuinfo,meminfo} and create two new devices + "Processor" and "Memory". + - Thanks to Oliver Grawert for the patch. + * Added debian/patches/ubuntu-99-autoconf.patch: + - Oliver's patches touch Makefile.am; This patch contains the + Makefile/configure changes. + * debian/rules: Configure with --with-hwdata=/var/lib/misc to allow hal to + find pci.ids and usb.ids. + + -- Martin Pitt Mon, 14 Feb 2005 12:27:59 +0100 + +hal (0.4.7-1ubuntu3) hoary; urgency=low + + * Put user hal into group 'plugdev' also for upgrades, not just on new + installations. + + -- Martin Pitt Mon, 7 Feb 2005 10:36:13 +0100 + +hal (0.4.7-1ubuntu2) hoary; urgency=low + + * Removed hotplug device group management (this now gets handled by udev + proper): + - Removed debian/hal.udev.{device-removable.sh,rules}, debian/hal.links + - debian/rules: Don't install these files. + * debian/hal.preinst: Remove obsolete /etc/udev/hal.rules and + /etc/udev/scripts/device-removable.sh if it was not modified. + * debian/hal.postinst: Do not update udev with broken do_udev method, this + is not necessary any more. (Ubuntu #6235) + * debian/postinst: Add hal user to the "plugdev" group since udev now puts + removable devices into this group. + * debian/preinst: In hal->20hal transition, check that 20hal does not yet + exist. + + -- Martin Pitt Mon, 7 Feb 2005 09:32:31 +0100 + +hal (0.4.7-1ubuntu1) hoary; urgency=low + + * Merged Debian version (new upstream bugfix release). + + -- Martin Pitt Thu, 27 Jan 2005 10:31:56 +0100 + +hal (0.4.7-1) unstable; urgency=medium + + * New upstream release + + hal-device-manager handles ieee1394 now (Closes: #290931) + * Added watch file + + -- Sjoerd Simons Tue, 25 Jan 2005 15:25:51 +0100 + +hal (0.4.6-1) unstable; urgency=low + + * New upstream release + + Fixes various problems with vfat label detection (Closes: #271997) + * Enable building of fstab-sync as some people seem to like it + (Closes: #290780) + * debian/patches/storage-policy-debian.patch. + + Updated. Copy block.policy.desired_mount_point from block.storage to + volume.policy.desired_mount_point if the blockdevice has no partitions + (Closes: #290963) + + -- Sjoerd Simons Fri, 21 Jan 2005 17:27:34 +0100 + +hal (0.4.5-1) unstable; urgency=low + + * New upstream release + * Removed patches that were fixed/merged upstream + + debian/patches/check-ide-floppy-for-zip.patch + + debian/patches/volume_id-fat.patch + + -- Sjoerd Simons Thu, 13 Jan 2005 16:46:12 +0100 + +hal (0.4.4-2) unstable; urgency=low + + * debian/patches/volume_id-fat.patch + + Added. Fixes label reading on large FAT volumes. Patch from Kay Sievers. + (Closes: #271997) + * debian/patches/check-ide-floppy-for-zip.patch + + Added. Support IDE Zip drives that appear as IDE floppies. Patch from + David Zeuthen. + + -- Sjoerd Simons Mon, 10 Jan 2005 09:28:55 +0100 + +hal (0.4.4-1) unstable; urgency=low + + * New upstream release + * Removed patched that were merged/fixed upstream: + + debian/patches/netdev-recovery.patch + + -- Sjoerd Simons Fri, 7 Jan 2005 11:29:56 +0100 + +hal (0.4.4-0ubuntu1) hoary; urgency=low + + * New upstream bugfix release, fixes a regression of 0.4.3 and a buffer + overflow + * debian/patches/netdev-recovery.patch: removed, adopted upstream + + -- Martin Pitt Fri, 7 Jan 2005 12:54:54 +0100 + +hal (0.4.3-1ubuntu1) hoary; urgency=low + + * Merged new Debian version + - does not ship the sony_dsc fdi any more, which avoids showing the photo + import dialog twice (Ubuntu bug #4767) + + -- Martin Pitt Tue, 4 Jan 2005 23:23:56 +0100 + +hal (0.4.3-1) unstable; urgency=low + + * New upstream release + * Start using tarball.mk from cdbs + * Removed patched that were merged/fixed upstream: + + debian/patches/cdrom-fdleak.patch + + debian/patches/cdrom-media-check.patch + + debian/patches/fix-ide-fdi.patch + + debian/patches/fstab-sync-crash.patch + + debian/patches/poll-only-cdroms.patch + + debian/patches/special_mtab_chars.patch + * debian/patches/netdev-recovery.patch + + Added. Fixes a crash in the netdev recovery code (Closes: #288089) + * debian/hal.udev.rules + + The only ide drives hal polls are cdroms, so it's unnecessary to set the + group of other removable ide drives to hal. (Closes: #288301) + * Stop shipping sony_dsc.fdi, it just causes problems. + * debian/patches/ids-search.patch + + Updated + * debian/patches/z_update_autofoo.patch + + Removed, not necessary anymore because of the ids-search.patch update + + -- Sjoerd Simons Tue, 4 Jan 2005 18:26:44 +0100 + +hal (0.4.2-6) unstable; urgency=low + + * debian/patches/cdrom-fdleak.patch + + Added. Don't leak a filedescriptor to the cdrom device when the + filesystem on a data cd isn't recognized. Patch from Peter Österlund + (Closes: #287779) + + -- Sjoerd Simons Thu, 30 Dec 2004 15:29:04 +0100 + +hal (0.4.2-5) unstable; urgency=high + + * Create /var/run/hal dir on start if it's not there (Closes: #287258) + + -- Sjoerd Simons Sun, 26 Dec 2004 15:27:45 +0100 + +hal (0.4.2-4ubuntu1) hoary; urgency=low + + * Merge to new Debian release + * hal.preinst, hal->20hal conffile transition: added md5sum of older version + to avoid dpkg conffile question + + -- Martin Pitt Thu, 23 Dec 2004 20:28:03 +0100 + +hal (0.4.2-4) unstable; urgency=high + + * Only add hal to group cdrom and floppy when creating the user. This way it + won't get added on upgrade if the admin removed it. (Closes: #286790) + * debian/hal-unmount.dev + + Also check /etc/mtab to see if the device is mounted. (Closes: #286579) + * Urgency high. Fixes an RC bug. + + -- Sjoerd Simons Sun, 19 Dec 2004 20:42:37 +0100 + +hal (0.4.2-3ubuntu1) hoary; urgency=low + + * Merged changes from new Debian release + - fixes handling of spaces in mount points (Ubuntu bug #4223) + * removed ubuntu-hal-unmount-sanitycheck.patch (adopted in Debian) + * Since the python 2.4 changes require direct patching of the debian control + files anyway: statically applied Ubuntu specific patches and removed them: + - ubuntu-conffile-transition.patch + - ubuntu-lsbinit.patch + - ubuntu-menu.patch + * debian/hal.preinst: + - fixed md5sum checking of /etc/dev.d/default/unmount.dev to make it + actually work + + -- Martin Pitt Mon, 20 Dec 2004 10:04:06 +0100 + +hal (0.4.2-3) unstable; urgency=low + + * debian/patches/special_mtab_chars.patch + + Added. In /etc/mtab and /proc/mounts some special chars (like space) are + encoded in octal from. Decode these into normal chars again. Fixes + problems with spaces in mountpoints (Closes: #284322) + * debian/hal-unmount.dev: + + Sanity-check $DEVNAME to make sure it begins with a slash, so we don't + get bitten by DEVNAME=-a or DEVNAME="". Thanks to Scott James Remnant + + -- Sjoerd Simons Sun, 19 Dec 2004 18:32:47 +0100 + +hal (0.4.2-2ubuntu3) hoary; urgency=low + + * Build using python2.4. + + -- Matthias Klose Fri, 17 Dec 2004 17:00:42 +0100 + +hal (0.4.2-2ubuntu2) hoary; urgency=low + + * Rescued the accidentially dropped changes from 0.4.2-1ubuntu[34]: + - ubuntu-dbus-conffile-transition.patch: reworked, version from -1ubuntu4 + was totally broken (it patched itself) + - ubuntu-hal-unmount-sanitycheck.patch: added; check in hal-unmount.dev + that the device to be removed starts with '/' + * renamed patch ubuntu-dbus-conffile-transition.patch to + ubuntu-conffile-transition.patch since it now contains other transitions + * ubuntu-conffile-transition.patch: + - apparently some older hal versions installed + /etc/udev/scripts/device-removable.sh as non-executable; make it + executable if we upgrade from a version before 0.4.2-2ubuntu2 + + -- Martin Pitt Wed, 15 Dec 2004 14:21:03 +0100 + +hal (0.4.2-2ubuntu1) hoary; urgency=low + + * Merged to new Debian release. + * Removed patches (adopted in Debian): + - ubuntu-cdrom-media-check.patch + - ubuntu-fix-ide-fdi.patch + - ubuntu-ids-search.patch + - ubuntu-poll-only-cdroms.patch + - z_autoreconf.patch + + -- Martin Pitt Tue, 14 Dec 2004 12:22:10 +0100 + +hal (0.4.2-2) unstable; urgency=medium + + * debian/patches/fstab-sync-crash.patch + + Added. Don't crash on cleaning fstab in certain + circumstances (Closes: #284721) + * debian/patches/ids-search.patch + + Added. Search for pci.ids and usb.ids runtime. Fixes problems when the + location changes or if it is different then on the machine hal was build + on. + * debian/patches/fix-ide-fdi.patch + + Added. Correct syntax error in the fdi file + * debian/patches/cdrom-media-check.patch + + Added. Some CD-ROMs report that they contain a CD even if the tray is + open; probe CDROM_MEDIA_CHANGED twice to check whether there is indeed a + CD inside.Thanks to Michael Hofmann for discovering this and + finding the fix. + * debian/patches/poll-only-cdroms.patch: + + Added. Instead of trying to work around broken ide pcmcia device just + poll cdrom on the ide bus. Patch from David Zeuthen (Closes: #284164) + * debian/patches/z_update_autofoo.patch: + + Added. Update configure, this is needed by ids-search.patch. + + -- Sjoerd Simons Wed, 08 Dec 2004 16:18:14 +0100 + +hal (0.4.2-1ubuntu4) hoary; urgency=low + + * debian/hal-unmount.dev: + - Sanity-check $DEVNAME to make sure it begins with a slash, so we + don't get bitten by DEVNAME=-a or DEVNAME="". + + -- Scott James Remnant Fri, 10 Dec 2004 15:13:05 +0100 + +hal (0.4.2-1ubuntu3) hoary; urgency=low + + * ubuntu-dbus-conffile-transition.patch: + - Remove /etc/dev.d/default/unmount.dev if it has not been modified, + this was deprecated a long time ago and doesn't do anything other + than cause every filesystem to get unmounted. + + -- Scott James Remnant Fri, 10 Dec 2004 14:58:46 +0100 + +hal (0.4.2-1ubuntu2) hoary; urgency=low + + * debian/patches/ubuntu-fix-ide-fdi.patch: + - Fix missing slash in closing tag in ide-drives.fdi. + * ubuntu-poll-only-cdroms.patch: + - Throw out the broken check for PCMCIA ide devices (which was intended to + disable media checking on them) and instead poll only on CD-ROM drives. + - Taken from upstream CVS. + - Ubuntu bug #2265 + * debian/patches/ubuntu-cdrom-media-check.patch: + - Fix media checking capability test. + - Some CD-ROMs report that they contain a CD even if the tray is open; + probe CDROM_MEDIA_CHANGED twice to check whether there is indeed a CD + inside. + - Thanks to Michael Hofmann for discovering this and finding the fix + - Ubuntu bug #4005 + * debian/patches/ubuntu-ids-search.patch: + - Disable check for pci.ids path in configure.in and instead check for the + path at runtime; this fixes the current FTBFS and broken runtime + behavior with the most recent pciutils. + - Thanks to Sjoerd Simons for preparing the patch. + * debian/patches/z-autoreconf.patch: + - updated configure to make ubuntu-ids-search.patch active + + -- Martin Pitt Mon, 6 Dec 2004 14:59:22 +0100 + +hal (0.4.2-1ubuntu1) hoary; urgency=low + + * Merged to new Debian version. + + -- Martin Pitt Thu, 2 Dec 2004 15:20:57 +0100 + +hal (0.4.2-1) unstable; urgency=low + + * New upstream release + * Remove patches that have been merged upstream: + + debian/patches/device-manager-glade.patch + + debian/patches/device-manager.patch + + -- Sjoerd Simons Thu, 2 Dec 2004 13:13:50 +0100 + +hal (0.4.1-2ubuntu1) hoary; urgency=low + + * Debian adopted the "do not run as root" approach and most of our Ubuntu + changes; thanks to Sjoerd for his great cooperation + * Dropped patches (adopted by Debian): + - ubuntu-dbus-dependency.patch + - ubuntu-plugdev.patch + - ubuntu-runasuser.patch + - ubuntu-unmount_dev.d.patch + - ubuntu-readme.patch + - ubuntu-storage-policy.patch + * Dropped obsolete ubuntu-oldpkgtransition.patch; this was relevant only for + pre-Warty release + * debian/patches/ubuntu-lsbinit.patch: rewrote for new init script + * ubuntu-dbus-conffile-transition.patch: + - added + - handle /etc/dbus-1/event.d/hal -> 20hal transition without a dpkg + question if the original conffile is unmodified + + -- Martin Pitt Mon, 29 Nov 2004 11:30:36 +0100 + +hal (0.4.1-2) unstable; urgency=low + + * Rename the hal dbus start script from hal to 20hal. Makes it simpler to + order startup of dbus services. + * Let hald run as non-root by default + * Use a dev.d script for lazy device umount. So hald doesn't need too. + (Script from the ubuntu package) + * Install udev configuration to make removable devices owned by group hal + (Adapted from the ubuntu package) + * Call udevsend for all block devices in the postinst. To ensure + the permissions are set right for already available devices. + * debian/README. Updated to reflect we run as user hal by default now. + * debian/patches/storage-policy-debian.patch. + + Updated. turn off sync and noatime for drivers bigger then 2GB. + * /etc/hal/fdi/preferences.fdi + + Added. Some examples of system settings that can be tweaked via hal's + database. + * debian/patches/storage-policy-debian.patch. + + Updated. Disable the managed keyword again, so we don't have to depend + on a mount version that's already frozen. + + -- Sjoerd Simons Mon, 8 Nov 2004 23:59:23 +0100 + +hal (0.4.1-1ubuntu6) hoary; urgency=low + + * debian/patches/ubuntu-unmount_dev.d.patch: + + added + + install /etc/dev.d/default/unmount.dev which automatically unmounts + removed devices which are still mounted; this is more robust than the + previous pmount method, which required a policy hole in pmount + (since hal runs as normal user) and did not unmount all partitions of a + drive from time to time + * debian/patches/ubuntu-pmount.patch: + + removed, it is not needed any more (obsoleted by above patch) + + -- Martin Pitt Tue, 16 Nov 2004 18:43:10 +0100 + +hal (0.4.1-1ubuntu5) hoary; urgency=low + + * debian/patches/ubuntu-storage-policy.patch: install + /etc/hal/fdi/ubuntu-storage-policy.fdi; this defaults to using + 'sync,noatime' mount options for hotpluggable drives < 1 GB and + 'async,atime' for bigger drives. As a conffile, it makes further + customizations easy. However, to actually use this, you need a HAL-aware + pmount (version 0.4+) and a gnome-volume-manager that uses pmount-hal + (1.0.2-4ubuntu4+). (Ubuntu bug #2386) + + -- Martin Pitt Mon, 15 Nov 2004 17:03:02 +0100 + +hal (0.4.1-1ubuntu4) hoary; urgency=low + + * debian/patches/ubuntu-plugdev.patch: debhelper does not seem to like + relative link targets; use absolute target in hal.links to make the udev + rules symlink actually work + + -- Martin Pitt Mon, 15 Nov 2004 14:21:54 +0100 + +hal (0.4.1-1ubuntu3) hoary; urgency=low + + * debian/patches/ubuntu-plugdev.patch: + + install device-removable.sh in /etc/udev/scripts/ now (as suggested by + Marco d'Itri); the old location /usr/share/hal/ might not be available + early enough + + install rules file in /etc/udev/ now and symlink it from + /etc/udev/rules.d/ to allow better configurability + + -- Martin Pitt Fri, 12 Nov 2004 16:32:10 +0100 + +hal (0.4.1-1ubuntu2) hoary; urgency=low + + * debian/patches/ubuntu-plugdev.patch: now change the group of removable + device nodes to 'plugdev' by introducing custom udev rules (formerly the + udev package did this on itself, but this functionality is now moved to + hal, where it actually belongs; consensus with Marco d'Itri). + + Added versioned dependency to udev >= 0.042 (which does not have the + plugdev rules any more) + + Added debian/device-removable.sh (installed in /usr/share/hal/) which + decides whether a device is removable by looking at its 'removable' + sysfs attribute (supported by kernels 2.6.8+). + + Added debian/z_hal-plugdev.rules (installed in /etc/udev/rules.d/) to + put IDE and SCSI drives in 'plugdev' if device-removable.sh returns true. + + -- Martin Pitt Thu, 11 Nov 2004 13:54:11 +0100 + +hal (0.4.1-1ubuntu1) hoary; urgency=low + + * Synchronized to new Debian version. + * debian/patches/ubuntu-lsbinit.patch: + + adapted to work with new release + + -- Martin Pitt Mon, 8 Nov 2004 21:20:16 +0100 + +hal (0.4.1-1) unstable; urgency=low + + * New upstream release + + Fixes fstab-sync crash when called without options (Closes: #278468) + + Detects highpoint ata raid configurations (Closes: #277534) + * debian/hald.8: Fixed typos + * debian/rules: Correctly generate the python dependencies for + hal-device-manager + * debian/hal.postinst: Don't fail when the dbus-1 init script isn't + available yet + * Removed patches (adopted upstream): + + debian/patches/fstab-sync.patch + + debian/patches/nonblock.patch + + debian/patches/storage-policy-uudi.patch + * debian/patches/storage-policy-debian.patch + Updated. Usage comment=fstabsync as option for fstab-sync mount lines + * debian/patches/hal-fdi.patch + Added. Look for user fdi files in /etc/hal/fdi + * debian/patches/device-manager.patch + Added. Fill the Device type and Capabilities field (Patch from Bryan Clark) + * debian/patches/device-manager-glade.patch + Added. Improve the appearance of the Device tab in h-d-m + * debian/patches/hal-hotplug-map.patch + Added. Check if the usb device isn't actually an usb mass storage device + before setting libgphoto2 support properties. Fixes problems with + olympus cameras, because PtP and UMS versions have the same usb id's + (Closes: #279395) + + -- Sjoerd Simons Sat, 06 Nov 2004 19:59:37 +0100 + +hal (0.4.0-1ubuntu2) hoary; urgency=low + + * Build-depend on libxml-parser-perl to fix FTBFS. + + -- Martin Pitt Wed, 27 Oct 2004 12:13:53 +0200 + +hal (0.4.0-1ubuntu1) hoary; urgency=low + + * Resynchronized to the Debian package; thanks to Sjoerd for making this + (and future syncs) easy. + * Now maintain all Ubuntu-specific changes as patches prefixed with + "ubuntu-" + * Patches taken over from previous Ubuntu releases: + + ubuntu-dbus-dependency: change python2.3-dbus dependency from -1.1 + (Debian) to -1ubuntu1 (Ubuntu) + + ubuntu-lsbinit: pretty initscript + + ubuntu-menu: Ubuntu-compliant desktop file + + ubuntu-oldpkgtransition: clean upgrades from versions <= + 0.2.92-1ubuntu13 + + ubuntu-plugdev: install and run in group plugdev + + ubuntu-pmount: use pmount for forced unmounting + + ubuntu-readme: describe Ubuntu changes in README.Debian + + ubuntu-runasuser: default to run as user, not root + + -- Martin Pitt Thu, 21 Oct 2004 13:13:58 +0200 + +hal (0.4.0-1) experimental; urgency=low + + * New upstream release + * Marin Pitt: + + New packages libhal-storage0 and libhal-storage-dev for new hal-storage + library + + Removed patches (adopted upstrem): + - add_device_nullarg.patch + - fix_first_hotplug.diff + - hal-cdspeed.patch + - nofail_nocaps.patch + - pci_pre_process_check_null.diff + + debian/lshal.1: properly quoted dashes + + * Sjoerd Simons: + + Removed patches (adopted upstream): + - pciid-fdleak.patch + - usbdb-fdleak.patch + - fs_probing.patch + - haldb-require-privs.patch + - libgphoto2-usermap.patch + - netlink_spoofing.patch + + No longer shipping the fstab-update script + + debian/hal.preinst: Stop hal in preinst instead of dbus + + debian/hal.preinst: Add missing debhelper token + + debian/hal.preinst: Remove fstab-update.h transition. + + Added /etc/default/hal to easily configure running hal as non-root + + Added debian/patches/fstab-sync.patch (from CVS HEAD) + - Use the name of the special device file instead of 'foo' when writing + to the syslog. + - clean wasn't being called on hald startup because of missing defines + due to the removal of fstab-sync options + + Added debian/patches/nonblock.patch (from CVS HEAD) + - Fixes wrong handling of O_NONBLOCK by hal when probing the fileystem + type (by removing it) + + Added debian/patches//storage-policy-uudi.patch (from CVS HEAD) + - Never use filesystem UUDI for mount points in the default policy + + Ship fstab-sync.8 manpage + + Added debian/patches/storage-policy-debian.patch + - Change to storage policy to match the behaviour of previous hal + debian packages. + + -- Sjoerd Simons Mon, 18 Oct 2004 16:30:01 +0200 + +hal (0.2.98-5) unstable; urgency=high + + * Restart dbus on postinst instead of starting, fixes problems on upgrade + and install (Closes: #277050) (Closes: #277035) + * debian/patches/netlink_spoofing.patch + + Added. Check PID of netlink packets to prevent spoofing from user + processes (from CVS HEAD) + * High priority because it fixes upgrade and install problems. + + -- Sjoerd Simons Sun, 17 Oct 2004 20:19:48 +0200 + +hal (0.2.98-4) unstable; urgency=medium + + * Also restart dbus when hal is freshly installed. + + -- Sjoerd Simons Sun, 17 Oct 2004 19:45:26 +0200 + +hal (0.2.98-3) unstable; urgency=medium + + * debian/patches/haldb-require-privs.patch + + Added. Only allow root and the hal's current user to change things in + the hal's database (from CVS HEAD with some enhancements) + * Doesn't crash when SIOCGMIIREG fails (Closes: #276297) + + -- Sjoerd Simons Sun, 10 Oct 2004 19:57:52 +0200 + +hal (0.2.98-2) unstable; urgency=medium + + * Goodies from the Ubuntu hal packages (thanks to Martin Pitt) + + Properly quote dashes in the manpages + + German translation of hal-device-manager.desktop + * debian/patches/add_device_nullarg.patch + + Added. check whether given_sysfs_path is NULL and + immediately return in this case; previously, this parameter was copied + and compared without checking. (from ubuntu package) + * debian/patches/fix_first_hotplug.patch + + Added. Fixes race conditions with regard to the first hotplug event + (from CVS HEAD) + * debian/patches/fs_probing.patch + + Added. Fixes some file probing issues (from CVS HEAD) + * debian/patches/nofail_nocaps.patch + + Added. Don't fail on a kernel without capablities if privileges are + dropped (from Ubuntu package) + * debian/patches/pci_pre_process_check_null.patch + + Added. Added extra NULL pointing checking (from Ubuntu package) + * debian/patches/pciid-fdleak.patch + + Added. Close file descriptors after reading the pci id database + * debian/patches/usbdb-fdleak.patch + + Added. Close file descriptors after reading the usb id database + * Make fstab-update.hal POSIX compliant (patch from Martin Waitz) + (Closes: #274937) + + -- Sjoerd Simons Sun, 10 Oct 2004 17:31:40 +0200 + +hal (0.2.98-1) unstable; urgency=high + + * New upstream release + * Fixes endless loop in FAT32 label reading code (Closes: #273001) + * Make it possible to run hal with dropped priviledges + (not enabled by default) + * Put hal-device-manager in it's own package (Closes: Bug#239122) + * Install hal-hotplug-map helper + * Updated hald manpage + * Created hal-device-manager manpage + * Disable selinux for now. A newer libselinux then in debian is needed. + * debian/patches/hal-cdspeed.patch + + Added. Fix for unchecked buffer access from Martin Pitt + * debian/patches/libgphoto2-usermap.patch + + Added. Let hal-hotplug-map work correctly with the libgphoto2 hotplug + config. + * Urgency high because this fixes RC bugs + + -- Sjoerd Simons Sun, 26 Sep 2004 11:10:45 +0200 + +hal (0.2.97+cvs20040907-1) unstable; urgency=high + + * New maintainer. + * New CVS snapshot (Closes: Bug#266158) + * More robust hotplugging code (Closes: Bug#264597) + * libhal.la no long declares a bogus dependency on libexpat + (Closes: Bug#266667) + * debian/patches/hal_volume_utf8.patch + + removed. Already fixed upstream + * Changed fstab-update.sh to fstab-update.hal. Only callouts with the .hal + extension are invoked now. + * Conflict with old gnome-volume-manager + * Urgency high because it fixes RC bugs in testing + + -- Sjoerd Simons Tue, 7 Sep 2004 22:17:15 +0200 + +hal (0.2.97-0.1) unstable; urgency=low + + * NMU for New upstream release. + + sarge freezes tomorrow, this should beat the deadline. + + Works with D-BUS 0.22 and above. + * Tighten D-BUS Build-Deps/Depends to >= 0.22. + + -- Daniel Stone Mon, 16 Aug 2004 17:34:37 -0700 + +hal (0.2.95-5) unstable; urgency=medium + + * Urgency medium as this release should enter testing soon + * Replace hal_volume_utf8.patch with hal_validate_utf8.patch + + -- Martin Waitz Mon, 2 Aug 2004 20:23:51 +0200 + +hal (0.2.95-4) unstable; urgency=low + + * Manage patches with quilt. + * Apply hal_volume_utf8.patch and hal_mounted_on_startup.patch + from Sjoerd Simons (Closes: #261723) + + -- Martin Waitz Wed, 28 Jul 2004 21:34:56 +0200 + +hal (0.2.95-3) unstable; urgency=low + + * Explicitly depend on dbus 0.21-7 to get hald started (Closes: #261582) + + -- Martin Waitz Tue, 27 Jul 2004 23:15:40 +0200 + +hal (0.2.95-2) unstable; urgency=low + + * Build-depend on libpopt-dev + + -- Martin Waitz Sat, 24 Jul 2004 21:43:18 +0200 + +hal (0.2.95-1) unstable; urgency=low + + * New upstream release (Closes: #259860) + - hal hotplug helper executes in background (Closes: #237836) + - hal-device-manager shows error message in dialog (Closes: #233854) + * debian/rules: use upstream doc/api Makefiles to build docs. + * debian/{rules,hal.postinst,hal.init,hal.init.dbus}: + Start hald together with dbus (Closes: #231704) + * Apply patch from David Weinehall to make + the fstab update script not require bash (Closes: #259293) + * Cleanup syslog usage in the hotplug helper + * remove HACKING reference from README (Closes: #260241) + * fix hal-device-manager when info.product key misses + + -- Martin Waitz Fri, 23 Jul 2004 21:33:03 +0200 + +hal (0.2.93+20040711-2) unstable; urgency=low + + * rerun libtoolize to fix libhal0, argh. (Closes: #259111) + + -- Martin Waitz Tue, 13 Jul 2004 21:45:20 +0200 + +hal (0.2.93+20040711-1) unstable; urgency=low + + * New CVS checkout (Closes: #257781) + - includes part of my get-properties patch (Closes: #238175) + * debian/control: build-depend on python (Closes: #258461) + * add shlib file (Closes: #253779) + * support vc class in linux hotplug helper (Closes: #258112) + + -- Martin Waitz Mon, 12 Jul 2004 23:43:54 +0200 + +hal (0.2.92-1) unstable; urgency=low + + * New upstream release + * debian/README.Debian: add note about fstab-update callout + * fix COPYING, by accident it only contained the GPL + + -- Martin Waitz Tue, 8 Jun 2004 21:51:44 +0200 + +hal (0.2.91-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz Wed, 26 May 2004 00:28:25 +0200 + +hal (0.2.90+20040515-1) unstable; urgency=low + + * New CVS checkout + * debian/fstab-update.sh: add example from cvs tree + * debian/rules: install fstab-update.sh as example into hal/device.d + (but leave it -x for now to disable it) + + -- Martin Waitz Sat, 15 May 2004 19:55:11 +0200 + +hal (0.2.90+20040511-1) unstable; urgency=low + + * New CVS checkout + + -- Martin Waitz Tue, 11 May 2004 20:13:53 +0200 + +hal (0.2.90+20040424-1) unstable; urgency=low + + * New CVS checkout + + -- Martin Waitz Sat, 24 Apr 2004 13:15:48 +0200 + +hal (0.2.6+20040331-1) unstable; urgency=low + + * New CVS checkout + + -- Martin Waitz Wed, 31 Mar 2004 22:25:22 +0200 + +hal (0.2.6+20040311-1) unstable; urgency=low + + * New CVS checkout (Closes: #237436) + * don't die if usbfs is not mounted (Closes: # 234364) + * print better error message if hald is not runnig (one part of #233854) + + -- Martin Waitz Thu, 11 Mar 2004 20:51:59 +0100 + +hal (0.2.6-4) unstable; urgency=low + + * debian/hal.postinst: restart dbus on configure, so that it + reads our dbus policy configuration file + * debian/control: add dependency on some python modules and usbutils + (Closes: #231312, #231555, #231607) + + -- Martin Waitz Sat, 7 Feb 2004 21:49:57 +0100 + +hal (0.2.6-3) unstable; urgency=low + + * first upload to unstable + * debian/control: add phython2.3-dbus dependency + + -- Martin Waitz Thu, 5 Feb 2004 22:07:22 +0100 + +hal (0.2.6-2) experimental; urgency=low + + * Merge with package from Ross Burton + - debian/control: add hal-doc, update build-depends + - debian/rules: build documentation + - debian/hal-doc.install: include dokumentation in hal-doc + - debian/hal.postrm: new file + - debian/hal-device-manager.desktop: new file + - debian/hal.install: add desktop file + + -- Martin Waitz Tue, 27 Jan 2004 02:31:10 +0100 + +hal (0.2.6-1) experimental; urgency=low + + * Initial Release. (Closes: #217468) + + -- Martin Waitz Tue, 20 Jan 2004 01:41:51 +0100 + --- hal-0.5.9.1.orig/debian/hal.default +++ hal-0.5.9.1/debian/hal.default @@ -0,0 +1 @@ +DAEMON_OPTS= --- hal-0.5.9.1.orig/debian/hal-device-manager.install +++ hal-0.5.9.1/debian/hal-device-manager.install @@ -0,0 +1,3 @@ +debian/tmp/usr/bin/hal-device-manager +debian/tmp/usr/share/hal/device-manager/ +debian/hal-device-manager.desktop usr/share/applications/ --- hal-0.5.9.1.orig/debian/hal-device-manager.manpages +++ hal-0.5.9.1/debian/hal-device-manager.manpages @@ -0,0 +1 @@ +build-tree/*/debian/hal-device-manager.1 --- hal-0.5.9.1.orig/debian/hal-device-manager.desktop.in +++ hal-0.5.9.1/debian/hal-device-manager.desktop.in @@ -0,0 +1,4 @@ +[Desktop Entry] +Encoding=UTF-8 +_Name=Hardware Information +_Comment=View hardware information --- hal-0.5.9.1.orig/debian/hal.postinst +++ hal-0.5.9.1/debian/hal.postinst @@ -0,0 +1,72 @@ +#! /bin/sh +# postinst script for hal +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + if ! getent passwd haldaemon >/dev/null; then + adduser --disabled-password --quiet --system --no-create-home \ + --gecos "Hardware abstraction layer" --group haldaemon + fi + if ! getent group powerdev > /dev/null; then + addgroup --quiet --system powerdev || true + fi + + # Add the plugdev group + if ! getent group plugdev > /dev/null; then + addgroup --quiet --system plugdev || true + fi + + adduser --quiet haldaemon floppy + adduser --quiet haldaemon cdrom + adduser --quiet haldaemon plugdev + adduser --quiet haldaemon powerdev + + # be sure the run dir is owned by the hal user + chown haldaemon:haldaemon /var/run/hal 2>/dev/null || true + + if [ -x /etc/init.d/dbus ]; then + invoke-rc.d dbus force-reload || true + fi + + # finish the udev rules rename on upgrades + if dpkg --compare-versions "$2" le-nl "0.5.8.1-3ubuntu7"; then + rm -f /etc/udev/rules.d/85-hal.rules.moved-by-preinst + fi + + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- hal-0.5.9.1.orig/debian/hwdb.png.uuencode +++ hal-0.5.9.1/debian/hwdb.png.uuencode @@ -0,0 +1,69 @@ +begin 644 ./hal-0.4.7/tools/device-manager/hwdb.png.uuencode +MB5!.1PT*&@H````-24A$4@```"$````C"`8````:+&-D````!F)+1T0````` +M``#Y0[M_````"7!(67,```L3```+$P$`FIP8````!W1)344'U0$(%R`PW,>' +MF```"QE)1$%4>-J-F'N,'?=5QS^_W\S^^^O+NVU_;ZL8Z;&+NV@T/3 +MU!9J_T"D0"@T$2TJ"`%%0!.)\(B0$%(!%2&$"K0"(4(;$&T!!974(4G3+'G8 +ML1MLU][U;M;V>E_>Y]U[=^^=]\SOQQ\[:S:64V6D(XTTOYGS_9WS/=]S?B,> +M_\)/'Y:&_&S&MD5;M^.VQP>\3,,P/IO)V$\5\R5D;%"P"ZA$D<0) +M2BD2$J(@0DI)QLQ0L//DC!S"D"B58)4LM-8(4Q+%(79N]6-*J5\`1C\P"!0B +MITKL:3O`MNY>%A<744JAE&)E>9FYYC1U;Y5L)4,Q6V9'?I"![;N8GY]':TV2 +M)*RNUEAN++`6UFDL-SH\QVL#Y!8_.K5[@TB48JFVA!%9M!7+Q'%,+I=#:TVS +MU6)J:H90^FPK=C&_OH`(3+H[>@C#D$*A@%(*QW&9GIVAHGS^K9]6# +M0_]]8=_>7_O,<_^\""1`_'Y@3"$$A5R>2GL%K35**;36&^'/6)3+;30\A=90 +M*A2I5JH8**I!G?:XAA0"804L%$O\\EOCY&[-&`'`]-0GAH3\$^!)P$\MNB<( +MK36^[Q.$`4F2W$F%4HHXCDD2!0(,TZ"H$QZKG6/'M7_$;JT@]<8SH0PF=GZ* +MCEH=H3=\*""97]@-=`#KJ7-UKVA(M":*(H(@O!,%R[+P?1_7]0B"@*)ML+M- +M4G<\.NHSY)N+&,1(H1!H!(H^;Y')CG8V4`D,(9COJ$X"%:`(V("QL>"N2$@I +M:2L5*.3S1%%$-INEN[L;W_<1`O;M[.;I`Q?)Q./\D7.*5S(/\?.-281.TNUH +ME-#\K#O*G]ZWEUHN']ZOY?J,TJ_^UN3-_TB=9]X/`(",DX2%Q7EF;\\2AN&= +ME"1)@M-CQ9FD$B>68@]_EO7,K^ANOYQI9HB*V\D&$4<'7T"I>O7"*.XPU5S.4H +M9DT^43R')$&(#2[-!@4N7+[*XEJ3NA-0+)4H%`K4&FL\=_8JOS2=9SB[,]1" +M8`B-$(K.]:GC?_RQH>-`/DV->7/'$=*B5(*UW7IT9.TZ35T +MNCS$YMFEDW3T#B*E1$J)81@8AD%?7Q\GCA\G4RCQ5ZT.)^P8\#Z)AFI;%X)Y]?"1K\>C9/T=$/@+)^8./\LVE8_S^SFD,%7!^M9V>+I/N]FUD +M,AFZNKKH[NZFT6@0!@&F+:@U5UBIU?0K8>72(^6N2I#H3*PQ[_YKK?QVH`A7#J-M;9)N[J\2T,AFLK&0M]BC` +M!@>4QDLD4>A@$FV\%;?(%PH4"R4AW-:&$[<((C\YO7]_ +M[L^6ZU^/M38C,)-229X#5=9MO/0 +M+I>\J@-PHMKD&UZ,YWMDBA91'+*X-H]E6$0RQ`D<$D,AA2&>").'F9M]Q$R3 +MGWW@,"F`^%[2;:(U_7OZ6&VY/"6.LK\<\_VE%GTYBR_ON@QJ8^V)['6.'7R0 +M6ZL)H?0I%=K0"62$C2Q(*FT=1"H@:*X5#DY=>4RD/I00K.3L"RD?@BV5(;9T +M4;`M@^YJ'EW($(UVO=LV]Z6)(E02CE*J58*1@':S)<*V+;%KLY. +M2E866VJNS2S14RQQWG,YK5]*FQ3LR33044A6;\P1"A!"8`C8J^'(^0OLO#Z! +MVI1<'!XU+A?QC>_?NW6?;=LWW_3/3T]/G?-^OQW&L`65.C\^\8DIQ>CV? +MK>0S66&;0BXT7..F*!8S9H>]?^@^JS\9`Q3_N72(J>60)VL+%&>F6>WJ1AH& +M[2NKM*\LD<012!-M&L1)0JNMS/-]O60\;S"?SP_:MHUA&*>V;]_^O>'AX6?B +M.&X!D3ER8?RU)(R>^/`#QTZ;9MS9T='Y.TH)QYR9F'.!T2,?$G_=T]-[2FM]IX<((:@YBB^./$B;Y8.*^?-28&4DCB.44F,;<48MJ>6EUK#:=GZ +MYB8(S_/^2SG7?[1_3^OH[?5=>C,281@*`*TU+:WYIP/[:+MOB'8_8+=EH;1B +M.8JX;@AZY1)2J//)S]]>&WDZ3I=YFF8>LXD\%U70$0QS'U*&)))8RT_'0.3;!, +MD[%FAZ\6IK9W7FKQ[;B>J6S5%AW;++9+$JI.Y$A+5$A!$IK1M>J +MM)>+]/;V\;6K;?SM&U'MD2.A+;1SGDO#J]U5+SI'WNH9_=@?RANSII(N<%V(<2= +M<5!K3<.)^.Z$Y)M746/+S7%3-F_LWV'T1K&FKP=C*0`-D&X +MXCV3]T:;S0%MN[?G[X^B9-MG/K7GXTV/D3_XO8>?7E]IBO$K,[E+[YJLM+J8 +M7]%X[CJ.&Z)U0K6L.7$TYQW[<$5_]:MOO6B9TG[YM?F;L=(S:\UX"FBDCC>M +M!7C&/89?!22-]6AEW4D6WCB_LF!E[=4?>:![<'ZVL:8BS]3^XL*)#R652G>) +MXT?S3$ZVZ&SWKGSR5*;D>=YX1WTE\-PB]Y9`2IR6TI+5N)(F^\OP+-VL'!XN="PO.[?E:=/9G'MU^^,!0V7U] +M^-J9O3O45-Y6]E>>NW%FXD9C^+O#<^.3,\XM8"6U3>=-P-L$`*A[G0,V=4*F +MG=C:,A45@/*3O[CCIYJ!N?K,[Y[\B^?^_>87S[XY'6SOS1M_]R_7+P%A"CY( +M=]M*S=_R[#TM7?R0$_LFF,U1W4J!Y('\T+YR]:G/'S[U;]^^-?;2J]-KZ4?# +MU/FF>8";WK_O/"$^P.^#N\%L1F6KF7>!B-+[3=O4A'N>R@4?_+H;C+EEI)7?9#_T_\7]:`K)W@#W2/0````!)14Y$KD)@@@`` +` +end

-libhal-storage +libhal-storage

libhal-storage