From: Saul Wold <sgw@linux.intel.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 8/8] distcc_2.18.3.bb: Fix compilation on uclibc
Date: Sat, 21 May 2011 20:17:53 -0700 [thread overview]
Message-ID: <4DD88061.7040601@linux.intel.com> (raw)
In-Reply-To: <BANLkTi=y+5qqFiZfrXCcOQ9CtTYdzh0GCw@mail.gmail.com>
On 05/21/2011 04:06 PM, Khem Raj wrote:
> On Sat, May 21, 2011 at 11:38 AM, Saul Wold<sgw@linux.intel.com> wrote:
>> From: Khem Raj<raj.khem@gmail.com>
>>
>> We enable gtk/gnome in distcc that code uses loadavg()
>> a function unimplemented in uclibc. Therefore for uclibc
>> we disable gnome and gtk+ features in distcc
>>
>
>
> This patch had reviews to be addressed which I have done
> the patch is updated in pull branch. Use that one
>
I will pull the lastest into my sgw/stage branch. When I did the pull,
I thought things were completed, I guess bad timing on my part.
Sau!
>> Signed-off-by: Khem Raj<raj.khem@gmail.com>
>> ---
>> meta/recipes-devtools/distcc/distcc_2.18.3.bb | 17 ++++++++++++-----
>> 1 files changed, 12 insertions(+), 5 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/distcc/distcc_2.18.3.bb b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
>> index 1f5c2af..34b04a5 100644
>> --- a/meta/recipes-devtools/distcc/distcc_2.18.3.bb
>> +++ b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
>> @@ -6,7 +6,10 @@ LICENSE = "GPLv2"
>> LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>> PR = "r6"
>>
>> -DEPENDS = "avahi gtk+"
>> +DEPENDS = "avahi ${GTKDEP}"
>> +GTKDEP_libc-uclibc = ""
>> +GTKDEP = "gtk+"
>> +
>> RRECOMMENDS_${PN} = "avahi-daemon"
>>
>> # Upstream change this patch periodically so store locally
>> @@ -24,17 +27,21 @@ inherit autotools pkgconfig update-rc.d
>>
>> INITSCRIPT_NAME = "distcc"
>>
>> -EXTRA_OECONF = " --with-gtk "
>> -
>> +EXTRA_OECONF_libc-glibc = " --with-gtk "
>> +EXTRA_OECONF_libc-uclibc = " --without-gtk --without-gnome "
>> do_install_append() {
>> install -d ${D}${sysconfdir}/init.d/
>> install -d ${D}${sysconfdir}/default
>> install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/
>> install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/distcc
>> + ${DESKTOPINSTALL}
>> +}
>> +DESKTOPINSTALL = ""
>> +DESKTOPINSTALL_libc-glibc () {
>> + install -d ${D}${datadir}/distcc/
>> install -m 0644 ${WORKDIR}/distccmon-gnome.desktop ${D}${datadir}/distcc/
>> }
>> -
>> -PACKAGES += "distcc-distmon-gnome"
>> +PACKAGES_append_libc-glibc = " distcc-distmon-gnome"
>>
>> FILES_${PN} = " ${sysconfdir} \
>> ${bindir}/distcc \
>> --
>> 1.7.3.4
>>
>>
next prev parent reply other threads:[~2011-05-22 3:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-21 18:37 [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
2011-05-21 18:37 ` [PATCH 1/8] gail: Add LIC_FILES_CHKSUM Saul Wold
2011-05-21 18:37 ` [PATCH 2/8] update-alternatives-dpkg: Update to dpkg base 1.15.8.7 Saul Wold
2011-05-21 18:37 ` [PATCH 3/8] puzzles: update to r9173 Saul Wold
2011-05-23 12:03 ` Phil Blundell
2011-05-23 14:32 ` Richard Purdie
2011-05-21 18:38 ` [PATCH 4/8] tcmode-default: set *GCCVERSION to 4.6 for all Arches Saul Wold
2011-05-21 18:38 ` [PATCH 5/8] tcmode-default: Update Eglibc to 2.13 Saul Wold
2011-05-21 18:38 ` [PATCH 6/8] package_rpm.bbclass: create method for createrepo cmd Saul Wold
2011-05-21 18:38 ` [PATCH 7/8] opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS Saul Wold
2011-05-21 23:06 ` Khem Raj
2011-05-21 18:38 ` [PATCH 8/8] distcc_2.18.3.bb: Fix compilation on uclibc Saul Wold
2011-05-21 23:06 ` Khem Raj
2011-05-22 3:17 ` Saul Wold [this message]
2011-05-22 3:51 ` [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
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=4DD88061.7040601@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox