Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 590940

Summary: app-misc/gramps-3.4.9-r1 needs sci-geosciences/osm-gps-map[python]
Product: Gentoo Linux Reporter: Ryoto Yayame <kanito.tasoga>
Component: Current packagesAssignee: Kevin Simmons <kevin>
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on: 592704    
Bug Blocks:    
Attachments: Ebuild patch for gramps-3.4.9-r1

Description Ryoto Yayame 2016-08-10 13:48:20 UTC
Created attachment 442918 [details, diff]
Ebuild patch for gramps-3.4.9-r1

app-misc/gramps-3.4.9 and gramps-3.4.9-r1 depend on sci-geosciences/osm-gps-map in their ebuild, but emerging osm-gps-map without its USE="python" leads to the following warning when starting Gramps:

> OsmGpsMap module not loaded. - Gramps
> OsmGpsMap module not loaded.
> Geography functionality will not be available.

Emerging osm-gps-map with USE="python" solves this.

gramps should thus depend on sci-geosciences/osm-gps-map[python,${PYTHON_USEDEP}] instead of just sci-geosciences/osm-gps-map.

I'm attaching an ebuild patch to this effect. It applies cleanly to both app-misc/gramps-3.4.9 and gramps-3.4.9-r1 (stable version gramps-3.4.5-r1 does not include osm-gps-map in its dependencies currently, and I have no idea if it should or not).
Comment 1 Marek Szuba archtester gentoo-dev 2016-08-10 14:34:25 UTC
A word of warning before any steps are taken: the Python bindings for osm-gps-map used by old versions of gramps are no longer supported by upstream and aren't even available for download from the URL listed in the ebuild; this use flag only still works because the file has since been mirrored to Gentoo servers.
Comment 2 Marek Szuba archtester gentoo-dev 2016-11-16 09:10:49 UTC
The ebuild in question has been removed from the tree, closing the bug as obsolete.