All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] gnome-power-manager: fix compilation
Date: Thu, 30 Dec 2010 11:43:34 +0100	[thread overview]
Message-ID: <4D1C6256.6030100@eukrea.com> (raw)
In-Reply-To: <1293704431.5436.5.camel@mattotaupa>

Hi Paul,

On 30/12/2010 11:20, Paul Menzel wrote:
> Am Donnerstag, den 30.12.2010, 09:55 +0100 schrieb Eric Bénard:
>
> I would prefer if the error message `libtool: Command not found` (if it
> is that short) is noted in the commit summary.
>
> 	gnome-power-manager: fix compilation: `libtool: Command not found`
>
OK fixed and pushed.

>> * libtool is hardcoded in src/Makefile and leads to
>> libtool: Command not found
>>
>> Signed-off-by: Eric Bénard<eric@eukrea.com>
>> ---
>>   recipes/gnome/gnome-power-manager_2.30.0.bb |    1 +
>>   1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/recipes/gnome/gnome-power-manager_2.30.0.bb b/recipes/gnome/gnome-power-manager_2.30.0.bb
>> index a752852..0c7bcb5 100644
>> --- a/recipes/gnome/gnome-power-manager_2.30.0.bb
>> +++ b/recipes/gnome/gnome-power-manager_2.30.0.bb
>> @@ -27,6 +27,7 @@ do_configure_append() {
>>           for i in $(find ${S} -name "Makefile") ; do
>>               sed -i -e s:-Werror::g $i
>>           done
>> +		sed -e "s/libtool --/${TARGET_SYS}-libtool --/" -i ${S}/src/Makefile
>>   }
>>
>>   PACKAGES =+ "${PN}-applets"
>
> Acked-by: Paul Menzel<paulepanter@users.sourceforge.net>
>
> What is the proper patch to send upstream? Is `${TARGET_SYS}` always
> defined? But »-« would still make problems, wouldn’t it? Is there a
> program implementing this correctly in `Makefile`?
>
- TARGET_SYS is OE specific.
- The "--" is here to only replace the 2 or 3 instances of libtool concerned 
by the workaround.
- I don't know what would be the proper patch to send upstream (and don't have 
time to check for this now). I've just seen there are several new release of 
gnome-power-manager so the problem may already be fixed, will see when I have 
some time.

Eric



  reply	other threads:[~2010-12-30 10:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-30  8:55 [PATCH] gnome-power-manager: fix compilation Eric Bénard
2010-12-30 10:20 ` Paul Menzel
2010-12-30 10:43   ` Eric Bénard [this message]
2010-12-30 18:25     ` [RFC] dealing with hard coded `libtool` in `Makefile.*` (was: [PATCH] gnome-power-manager: fix compilation) Paul Menzel

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=4D1C6256.6030100@eukrea.com \
    --to=eric@eukrea.com \
    --cc=openembedded-devel@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.