Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496106 - net-libs/webkit-gtk-2.2.2 depends on <app-misc/geoclue-2
Summary: net-libs/webkit-gtk-2.2.2 depends on <app-misc/geoclue-2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: gnome-3.10
  Show dependency tree
 
Reported: 2013-12-27 00:32 UTC by Mike Auty (RETIRED)
Modified: 2014-01-21 22:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2013-12-27 00:32:59 UTC
Hiya,

Just to let you know the configure script in webkit-gtk-2.2.2 with USE="geoloc" will fail with the following in config.log, indicating that it's using pkg-config to look for "geoclue" rather than "geoclue-2.0".  Either the dependencies should be fixed, or if it can compile against it, then it'll need the configure scripts updating.  Let me know if you need any additional information...

configure:20152: checking for GEOCLUE
configure:20159: $PKG_CONFIG --exists --print-errors "geoclue"
Package geoclue was not found in the pkg-config search path.
Perhaps you should add the directory containing `geoclue.pc'
to the PKG_CONFIG_PATH environment variable
No package 'geoclue' found
configure:20162: $? = 1
configure:20176: $PKG_CONFIG --exists --print-errors "geoclue"
Package geoclue was not found in the pkg-config search path.
Perhaps you should add the directory containing `geoclue.pc'
to the PKG_CONFIG_PATH environment variable
No package 'geoclue' found
configure:20179: $? = 1
configure:20193: result: no
No package 'geoclue' found
configure:20209: error: Package requirements (geoclue) were not met:

No package 'geoclue' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GEOCLUE_CFLAGS
and GEOCLUE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Comment 1 Rafał Mużyło 2013-12-27 07:20:04 UTC
> if it can compile against it

The answer seems to be "not yet".
Comment 2 Rafał Mużyło 2013-12-27 07:22:37 UTC
...also, webkit-gtk 2.2.3 was released a few weeks ago.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-12-27 13:02:46 UTC
Yes we know about the release, thanks.
Comment 4 Javier 2013-12-28 07:34:06 UTC
To get webkit-gtk-2.2.2 to compile with USE="geoloc" you need to install an older version of geoclue before you install geoclue-2
(First step uninstall geoclue so you can install in order by version)


emerge --ask --unmerge geoclue

emerge --ask =app-misc/geoclue-0.12.99

emerge --ask =app-misc/geoclue-2.0.0


You should now be able to compile webkit-gtk-2.2.2



Just some additional info to the developers, with just geoclue-2.0.0 installed, doing a "whereis geoclue" shows /usr/libexec/geoclue
Installing geoclue-0.12.99 gives us /usr/include/geoclue as well.
Comment 5 Mark R. Pariente 2014-01-01 02:17:20 UTC
I see the same issue with the following packages as well:

gnome-extra/gnome-clocks-3.10.1 (>=app-misc/geoclue-1.99.3)
mail-client/evolution-3.10.3 (map ? >=app-misc/geoclue-0.12.0)
net-im/empathy-3.10.2 (geoloc ? >=app-misc/geoclue-1.99.3)
sci-geosciences/gnome-maps-3.10.2 (>=app-misc/geoclue-1.99.3)

Without geoclue:0 these packages exhibit broken library dependencies but yet the ebuild deps are satisfied with only geoclue:2.0 installed.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-01-21 22:42:32 UTC
+  21 Jan 2014; Gilles Dartiguelongue <eva@gentoo.org>
+  webkit-gtk-1.8.3-r200.ebuild, webkit-gtk-1.8.3-r201.ebuild,
+  webkit-gtk-1.8.3-r300.ebuild, webkit-gtk-1.10.2-r300.ebuild,
+  webkit-gtk-2.0.4.ebuild, webkit-gtk-2.2.2.ebuild:
+  Pin geoclue dependency to slot 0, bug #496106.
+

I am going over the rest of the tree now. Thanks for your report.