All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: Using the OpenEmbedded metadata to build Distributions
	<openembedded-devel@openembedded.org>
Subject: Re: [oe-commits] org.oe.dev neod: add dependency to dbus-1
Date: Mon, 05 Nov 2007 00:18:58 +0100	[thread overview]
Message-ID: <472E5362.8040909@student.utwente.nl> (raw)
In-Reply-To: <200711042303.04292.openembedded@haerwu.biz>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcin Juszkiewicz schreef:
> Dnia niedziela, 4 listopada 2007, mickeyl commit napisał:
> 
>> neod: add dependency to dbus-1
>>
>> Author: mickeyl@openembedded.org
>> Branch: org.openembedded.dev
>> Revision: dfbec4dce18c3885b36210c05ed69759ab6bf5b6
> 
>> packages/openmoko2/neod_svn.bb	6cc80a4570dfd74c4eefe208b331a5b8c8d049af
>> packages/openmoko2/neod_svn.bb	92a5e00ba437275e36002f64963caa7aab304a17
>> @@ -1,7 +1,7 @@ DEPENDS = "gtk+ pulseaudio"
>>  DESCRIPTION = "Simple Neo1973 Daemon for Button Handling and Power 
>>  Management"  
>>  SECTION = "openmoko/daemons" 
>>  DEPENDS = "gtk+ pulseaudio"
>> -RDEPENDS = "gpe-scap xrandr alsa-utils-amixer apm"
>> +RDEPENDS = "gpe-scap xrandr alsa-utils-amixer apm dbus-1"
> 
> Why such rdependency? If it does not use dbus libraries then it does not 
> need it. If it use them then it gets linked to it.

There are 2 cases[*] where you need to add RDEPENDS manually for such a
thing:

1) when using something like dlopen();
2) when using something like system();

neod uses option 2):

g_spawn_command_line_async( "dbus-send /org/freedesktop/PowerManagement
org.freesmartphone.powermanagement.ChargerConnected", NULL );

Apart from that adding 'dbus-1' breaks OE, you should use 'dbus'
instead, OE will automagically convert that to 'dbus-1' when using
debian.bbclass.

regards

Koen

- --
koen@dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi@student.utwente.nl instead.

[*] 2 cases I know off, but I'm not a coder
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD4DBQFHLlNTMkyGM64RGpERAmvMAKCWlwivubDR8TWvfOqzbpcaExPYogCWLjbY
TPE9f5nPKNYLYILdMZiiTA==
=Zdnm
-----END PGP SIGNATURE-----



      parent reply	other threads:[~2007-11-04 23:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Ioitd-00024s-TQ@linuxtogo.org>
2007-11-04 22:03 ` [oe-commits] org.oe.dev neod: add dependency to dbus-1 Marcin Juszkiewicz
2007-11-04 22:50   ` Dr. Michael Lauer
2007-11-04 23:18   ` Koen Kooi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=472E5362.8040909@student.utwente.nl \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.