#864305 libgeoclue-2-0 doesn't depend on geoclue-2.0

Package:
libgeoclue-2-0
Source:
geoclue-2.0
Description:
convenience library to interact with geoinformation service
Submitter:
Iain Lane
Date:
2025-01-21 08:42:01 UTC
Severity:
normal
#864305#5
Date:
2017-06-06 17:03:28 UTC
From:
To:
Hi,

The library packages don't depend on the service, but they are a wrapper
around the DBus API. This means that you can write a program using
Geoclue and it'll fail at runtime because the service isn't installed so
it can't be bus activated.

I think probably libgeoclue-2-0 should depend on geoclue-2.0. (Might
need to make geoclue-2.0 M-A: foreign?)

Cheers,

#864305#10
Date:
2017-07-14 14:26:34 UTC
From:
To:
On Tue, 06 Jun 2017 18:03:28 +0100 Iain Lane <laney@debian.org> wrote:

 > Hi,

Hello,

 > The library packages don't depend on the service, but they are a wrapper
 > around the DBus API. This means that you can write a program using
 > Geoclue and it'll fail at runtime because the service isn't installed so
 > it can't be bus activated.
 >
 > I think probably libgeoclue-2-0 should depend on geoclue-2.0. (Might
 > need to make geoclue-2.0 M-A: foreign?)
 >

The main problem is that adding the dependency will create a dependency
loop. Apparently the daemon package is already dependency against
libgeoclue-2-0

#864305#15
Date:
2017-07-14 14:32:16 UTC
From:
To:
Le 14/07/17 à 16:26, Laurent Bigonville a écrit :
Apparently this is due to the where-am-i demo program, I guess that one
could be moved to an other -demo package

#864305#20
Date:
2017-07-14 14:42:38 UTC
From:
To:
To avoid making a new package: put it in -dev maybe? Or don't install
it? I guess it's most interesting for developers to learn to use the
API?

Ok, I suppose -dev would break M-A: same, but maybe putting things in
the multiarch libdir would be good anyway.

Cheers,

#864305#25
Date:
2025-01-21 08:39:09 UTC
From:
To:
The where-am-i program was indeed moved to a -demo package, which should
unblock this bug.

I proposed marking the dependency here:
https://salsa.debian.org/freedesktop-team/geoclue-2.0/-/merge_requests/17