[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#740844: Move to udisks2, udisks 1 is deprecated



Hello Martin,

>   #index top up prev next
>     __________________________________________________________________
>
>   Report as spam [Date Prev][Date Next] [Thread Prev][Thread Next] [Date
>   Index] [Thread Index]
>
>              Bug#740844: Move to udisks2, udisks 1 is deprecated
>     __________________________________________________________________
>
>     * To: Debian BTS Submit <submit@bugs.debian.org>
>     * Subject: Bug#740844: Move to udisks2, udisks 1 is deprecated
>     * From: Martin Pitt <mpitt@debian.org>
>     * Date: Wed, 5 Mar 2014 15:29:32 +0100
>     * Message-id: <20140305142932.GS2901@piware.de>
>     * Reply-to: Martin Pitt <mpitt@debian.org>, 740844@bugs.debian.org
>     __________________________________________________________________
>
>Package: daisy-player
>Version: 8.5.1-1
>User: pkg-utopia-maintainers@lists.alioth.debian.org
>Usertags: udisks1-deprecation
>
>Hello,
>
>this package currently depends on/recommends udisks 1. That has been
>deprecated for a while now, in favor of udisks 2. Please port the
>package to udisks 2 and drop code that uses the old
>hal/devicekit-disks/udisks 1 bits.
>
>Please note that udisks2 also has a library interface (libudisks2-0)
>which is easier to use than raw D-BUS calls. It is also introspectable
>(gir1.2-udisks-2.0) so you can use it from languages like Python.
>
>The API is documented at http://udisks.freedesktop.org/docs/latest/ .
>
>daisy-player only calls the "udisks" command line program a few times,
>that should be easy to port to the corresponding udisksctl commands.
>However, note that most desktop environments mount hotpluggable
>storage automatically, so this shouldn't even be needed in most cases?

I always work on the text-consoles; not in X.
When I insert a cd, it will not automount, so I have to mout it from
daisy-player.
Daisy-player now uses system ("udisksctl..., but I want to use the library,
but I don't know how.

    Best regards,

       Jos.
             


Reply to: