Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498098 - dev-libs/dbus-glib - Cross-compile fix using HDEPEND
Summary: dev-libs/dbus-glib - Cross-compile fix using HDEPEND
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on: 317337
Blocks:
  Show dependency tree
 
Reported: 2014-01-14 21:20 UTC by James Le Cuirot
Modified: 2014-01-18 10:39 UTC (History)
0 users

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


Attachments
dbus-cross-compile.patch (dbus-cross-compile.patch,1.45 KB, patch)
2014-01-14 21:20 UTC, James Le Cuirot
Details | Diff
dbus-cross-compile.patch (dbus-cross-compile.patch,1.32 KB, patch)
2014-01-14 21:24 UTC, James Le Cuirot
Details | Diff
dbus-glib-cross-compile.patch (dbus-glib-cross-compile.patch,1.58 KB, patch)
2014-01-15 21:22 UTC, James Le Cuirot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Le Cuirot gentoo-dev 2014-01-14 21:20:46 UTC
Created attachment 367850 [details, diff]
dbus-cross-compile.patch

Apologies for filing this as it is similar to bug #498030, which was closed for relying on an unofficial/experimental EAPI, but I would still like to offer it up as a use-case and it may be helpful to somebody.

This patch works around the fact that dbus-binding-tool is built and then used to build the examples and tools. Unfortunately it doesn't work out of the box because the various eclasses don't allow this EAPI even though it probably works just fine.

I didn't apply this fix for the tests because enabling tests when you're cross-compiling is a bit of a non-starter.
Comment 1 James Le Cuirot gentoo-dev 2014-01-14 21:24:42 UTC
Created attachment 367852 [details, diff]
dbus-cross-compile.patch

Oops, emacs automatically slipped in an unrelated whitespace fix!
Comment 2 James Le Cuirot gentoo-dev 2014-01-15 21:22:15 UTC
Created attachment 367914 [details, diff]
dbus-glib-cross-compile.patch

Slightly misunderstood HDEPEND. Moved more deps from DEPEND to HDEPEND.
Comment 3 Pacho Ramos gentoo-dev 2014-01-18 10:39:46 UTC
We cannot apply this or do anything until HDEPEND is not approved for a next eapi :/