[PATCH 0/2] remove deprecated keys from HAL

Danny Kukawka danny.kukawka at web.de
Mon Mar 3 15:54:39 PST 2008


On Dienstag, 4. März 2008, David Zeuthen wrote:
> On Tue, 2008-02-26 at 16:46 +0100, Danny Kukawka wrote:
> > Hi,
> >
> > some deprecated keys/properties reached the end of lifetime with
> > 2008-03-01 because they are now 12 months deprecated. The keys are:
> > - info.bus --> replaced by info.subsystem
> > - *.physical_device --> replaced by *.orginating_device
> >
> > The following two patches, get commited 1. March 2008 remove them
> > completely from HAL. Please be prepared and check your HAL consuming
> > applications.
>
> This is a good idea, thanks for doing it. However it currently breaks
> libgphoto2 and libmtp whom we need to track down and get them to update
> their fdi file generation scripts. So for now I've added this patch
>
> http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=9fc161488795bcd259e
>a499bb28c04383be3a51b
>
> It sucks, maybe we can revert it in the future when these projects have
> updated.

This really sucks. They had 12 months time to update their projects. If you 
have a project that relies on HAL you should be able to take every some 
months a look at the spec to see what changed. 

Attached a (fast) patch for libgphoto2 and libmtp.

Danny 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgphoto2-fix-fdi_file_generation.diff
Type: text/x-diff
Size: 761 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20080304/0a907bc5/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmtp-fix-fdi_file_generation.diff
Type: text/x-diff
Size: 531 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20080304/0a907bc5/attachment-0001.diff 


More information about the hal mailing list