Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180348 - sci-geosciences/gpsd should depend on dev-libs/dbus-glib, not sys-apps/dbus
Summary: sci-geosciences/gpsd should depend on dev-libs/dbus-glib, not sys-apps/dbus
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-30 13:42 UTC by Tais P. Hansen
Modified: 2007-06-16 19:39 UTC (History)
1 user (show)

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


Attachments
Patch to fix dbus-glib dependency since dbus-1.0.0. (fix-dbus-glib-dependency.diff,438 bytes, patch)
2007-06-07 20:34 UTC, Tais P. Hansen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tais P. Hansen 2007-05-30 13:42:01 UTC
Building gpsd with dbus support fails compiling with missing dbus-glib.h and glib.h files.

The gpsd ebuild is probably missing a dbus-glib and glib dependencies. If I remember correctly, glib bindings for dbus where split from dbus sometime around v1.0.0 which is probably why gpsd assumes the glib bindings are in place if dbus alone is installed.


Reproducible: Always

Steps to Reproduce:
1. Emerge newest stable dbus and make sure you don't have dbus-glib and glib.
2. Emerge gpsd.

Actual Results:  
Compile fails because of missing dbus-glib.h and glib.h files.
Comment 1 Denis Dupeyron (RETIRED) gentoo-dev 2007-06-02 20:58:50 UTC
Removed sci-electronics in CC list, and replaced with sci-geosciences.

Denis.
Comment 2 Tais P. Hansen 2007-06-07 20:34:29 UTC
Created attachment 121448 [details, diff]
Patch to fix dbus-glib dependency since dbus-1.0.0.

I've attached a patch for sci-geosciences/gpsd/gpsd-2.34.ebuild which fixes the missing dbus-glib dependency necessary when using dbus-1.0.0 or newer.

This is my first encounter with ebuilds so I hope I understood the DEPEND atom instructions correctly. In any case it works on my box. :)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-07 21:21:28 UTC
Comment on attachment 121448 [details, diff]
Patch to fix dbus-glib dependency since dbus-1.0.0.

The only thing this needs is

- dbus? ( >=sys-apps/dbus-0.6 )
+ dbus? ( dev-libs/dbus-glib )
Comment 4 Steve Arnold archtester gentoo-dev 2007-06-16 19:39:26 UTC
This one is also fixed...