All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [oe-core 10/10] gconf: add polkit to DEPENDS
Date: Tue, 29 Nov 2011 12:49:00 -0800	[thread overview]
Message-ID: <4ED5453C.5090704@linux.intel.com> (raw)
In-Reply-To: <20111129204308.GI7441@jama.jama.net>

On 11/29/2011 12:43 PM, Martin Jansa wrote:
> On Tue, Nov 29, 2011 at 12:25:46PM -0800, Saul Wold wrote:
>> On 11/29/2011 06:09 AM, Martin Jansa wrote:
>>> Signed-off-by: Martin Jansa<Martin.Jansa@gmail.com>
>>> ---
>>>    meta/recipes-gnome/gnome/gconf_3.2.3.bb |    2 +-
>>>    1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/meta/recipes-gnome/gnome/gconf_3.2.3.bb b/meta/recipes-gnome/gnome/gconf_3.2.3.bb
>>> index aa9da78..907f0ba 100644
>>> --- a/meta/recipes-gnome/gnome/gconf_3.2.3.bb
>>> +++ b/meta/recipes-gnome/gnome/gconf_3.2.3.bb
>>> @@ -3,7 +3,7 @@ SECTION = "x11/gnome"
>>>    LICENSE = "LGPLv2+"
>>>    LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
>>>
>>> -DEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native"
>>> +DEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native polkit"
>>>
>>>    PR = "r1"
>>>
>>
>> What is this solving? This also would require polkit to have a
>> BBCLASSEXTEND with native.
>
> gconf-defaults.c:40:27: fatal error: polkit/polkit.h: No such file or directory
>
> most people have polkit build in sysroot and then if you upgrade gconf
> and polkit at the same time you can get it autodetected in
> gconf's do_configure and later removed from sysroot while polkit itself
> is being upgraded.
>
> And we probably don't want to disable defaults_service for gconf to force polkit
> dependency off.
>
> HAVE_POLKIT=no
> AC_ARG_ENABLE(defaults_service,
>    AS_HELP_STRING([--enable-defaults-service],
>      [build the defaults DBus service @<:@default=auto@:>@]),
>    , enable_defaults_service=auto)
>
> if test "x$enable_defaults_service" != "xno" ; then
>    PKG_CHECK_MODULES(DEFAULTS, glib-2.0 gthread-2.0 gobject-2.0 dbus-1 dbus-glib-1 polkit-gobject-1, HAVE_POLKIT=yes, HAVE_POLKIT=no)
>    if test "x$HAVE_POLKIT" = "xno"; then
>      if test "x$enable_defaults_service" = "xyes" ; then
>        AC_MSG_ERROR([[
> *** Could not find PolicyKit.]])
>      else
>        enable_defaults_service=no
>      fi
>    else
>      enable_defaults_service=yes
>    fi
> fi
>
> Weird it didn't fail for me without polkit-native (there isn't .bbappend in any of
> my layers and I've even tested it in distro less oe-core), but you're right, we should
> provide polkit-native or disable defaults_service for native gconf.
>
I think it would be best to disable the default_services for native 
gconf, a patch for that would be great, thanks

Sau!

> Cheers,



  reply	other threads:[~2011-11-29 20:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29  6:55 [oe-core 00/10] Small fixes Martin Jansa
2011-11-29  7:00 ` [oe-core 01/10] tinylogin: use u-a for getty so we can provide /sbin/getty from util-linux-agetty too Martin Jansa
2011-11-29  7:00 ` [oe-core 02/10] util-linux: use u-a to provide /sbin/getty from util-linux-agetty Martin Jansa
2011-11-29  7:00 ` [oe-core 03/10] mingetty: use u-a to provide /sbin/getty (also provided by util-linux-agetty and tinylogin) Martin Jansa
2011-11-29  7:00 ` [oe-core 04/10] cronie: use useradd.bbclass instead of hardcoded groupadd calls Martin Jansa
2011-11-29  7:00 ` [oe-core 05/10] ppp-dialin: use useradd.bbclass instead of hardcoded adduser/deluser calls Martin Jansa
2011-11-29  7:00 ` [oe-core 06/10] libical: add version 0.47 Martin Jansa
2011-11-29 14:09 ` [oe-core 07/10] libical: drop older version 0.46 Martin Jansa
2011-11-29 14:09 ` [oe-core 08/10] libid3tag: add gperf to DEPENDS Martin Jansa
2011-11-29 14:09 ` [oe-core 09/10] gst-plugins-ugly: bump PR to rebuild after libid3tag fix Martin Jansa
2011-11-29 14:09 ` [oe-core 10/10] gconf: add polkit to DEPENDS Martin Jansa
2011-11-29 20:25   ` Saul Wold
2011-11-29 20:43     ` Martin Jansa
2011-11-29 20:49       ` Saul Wold [this message]
2011-11-29 21:29         ` Martin Jansa
2011-11-29 22:23   ` [PATCH] gconf: add polkit to DEPENDS only for target recipe and disable default-service for native Martin Jansa
2011-11-30 15:39 ` [oe-core 00/10] Small fixes Richard Purdie

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=4ED5453C.5090704@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.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.