All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <tom_rini@mentor.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] clutter: fix broken clutter-gtk
Date: Fri, 11 Feb 2011 15:25:49 -0700	[thread overview]
Message-ID: <4D55B76D.9090806@mentor.com> (raw)
In-Reply-To: <201102102318.21822.schnitzeltony@gmx.de>

On 02/10/2011 03:18 PM, Andreas Mueller wrote:
> On Thursday 03 February 2011 22:36:10 Andreas Mueller wrote:
>> * Since clutter 1.4.2 clutter-gtk fails for machines/archs configuring
>> * flavour=eglx with (see clutter.inc)
>> *
>> * | Making all in clutter-gtk
>> * | make[2]: Entering directory `/home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/clutter-gtk-0.10.8-r2.0/clutter-gtk-0.10.8/clutter-gtk'
>> * |   CC     libclutter_gtk_0.10_la-gtk-clutter-embed.lo
>> * |   CC     libclutter_gtk_0.10_la-gtk-clutter-scrollable.lo
>> * |   CC     libclutter_gtk_0.10_la-gtk-clutter-util.lo
>> * |   CC     libclutter_gtk_0.10_la-gtk-clutter-viewport.lo
>> * |   CC     libclutter_gtk_0.10_la-gtk-clutter-zoomable.lo
>> * |   CCLD   libclutter-gtk-0.10.la
>> * | /home/Superandi/tmp/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -lclutter-egl-1.0
>> *
>> * Since clutter 1.3.x in 'configure.ac' the meaning of 'CLUTTER_WINSYS' has
>> * changed. In clutter 1.2.x 'CLUTTER_WINSYS' contained the value passed by
>> * 'flavour' (in the error case 'eglx'). In 1.3.x this variable is set in
>> * 'configure.ac'. For flavour=eglx it is set to 'egl'! The correct value
>> * 'eglx' is found in 'CLUTTER_SONAME_INFIX'. Some of the '*.pc.in' files
>> * were changed. clutter-gtk fell victim for clutter-x11.pc.in.
>> *
>> * Build tested for all clutter recipes with
>> *
>> * BB_VERSION        = "1.10.2"
>> * MACHINE           = "overo"
>> * DISTRO            = "angstrom"
>> * DISTRO_VERSION    = "2010.7-test-20110203"
>>
>> Signed-off-by: Andreas Mueller<schnitzeltony@gmx.de>
>> ---
>>   .../clutter/clutter-1.4.2/fix-lib-location.patch   |   63 ++++++++++++++++++++
>>   recipes/clutter/clutter_1.4.2.bb                   |    3 +-
>>   2 files changed, 65 insertions(+), 1 deletions(-)
>>   create mode 100644 recipes/clutter/clutter-1.4.2/fix-lib-location.patch
>>
>> diff --git a/recipes/clutter/clutter-1.4.2/fix-lib-location.patch b/recipes/clutter/clutter-1.4.2/fix-lib-location.patch
>> new file mode 100644
>> index 0000000..ad4589c
>> --- /dev/null
>> +++ b/recipes/clutter/clutter-1.4.2/fix-lib-location.patch
>> @@ -0,0 +1,63 @@
>> +diff --git a/clutter/cally/cally.pc.in b/clutter/cally/cally.pc.in
>> +index 224668f..b313ad6 100644
>> +--- a/clutter/cally/cally.pc.in
>> ++++ b/clutter/cally/cally.pc.in
>> +@@ -13,6 +13,6 @@ Name: Cally
>> + Description: Clutter Accessibility Implementation Library
>> + Version: @VERSION@
>> + Requires: atk clutter-1.0
>> +-Libs: -L${libdir} -lclutter-${winsys}-${apiversion}
>> ++Libs: -L${libdir} -lclutter-${soname_infix}-${apiversion}
>> + Cflags: -I${includedir}/clutter-${apiversion}
>> + Requires: ${requires}
>> +diff --git a/clutter/cogl/cogl/cogl.pc.in b/clutter/cogl/cogl/cogl.pc.in
>> +index 7975f4f..39358ca 100644
>> +--- a/clutter/cogl/cogl/cogl.pc.in
>> ++++ b/clutter/cogl/cogl/cogl.pc.in
>> +@@ -8,10 +8,11 @@ backend=@COGL_WINSYS@ #only kept for backward compatability
>> + winsys=@COGL_WINSYS@
>> + cogl=@COGL_DRIVER@ #only kept for backward compatability
>> + driver=@COGL_DRIVER@
>> ++soname_infix=@CLUTTER_SONAME_INFIX@
>> +
>> + Name: COGL
>> + Description: Clutter GL abstraction library (${winsys}/${driver} backend)
>> + Version: @VERSION@
>> +-Libs: -L${libdir} -lclutter-${winsys}-${apiversion}
>> ++Libs: -L${libdir} -lclutter-${soname_infix}-${apiversion}
>> + Cflags: -I${includedir}/clutter-${apiversion}
>> + Requires: ${requires}
>> +diff --git a/clutter/win32/clutter-win32.pc.in b/clutter/win32/clutter-win32.pc.in
>> +index ad9a2b4..36b7a6f 100644
>> +--- a/clutter/win32/clutter-win32.pc.in
>> ++++ b/clutter/win32/clutter-win32.pc.in
>> +@@ -7,10 +7,11 @@ requires=@CLUTTER_REQUIRES@
>> + backend=@CLUTTER_WINSYS@ #only kept for backward compatability
>> + winsys=@CLUTTER_WINSYS@
>> + cogl_driver=@COGL_DRIVER@
>> ++soname_infix=@CLUTTER_SONAME_INFIX@
>> +
>> + Name: Clutter
>> + Description: Clutter Core Library (${winsys}/${cogl_driver} backend)
>> + Version: @VERSION@
>> +-Libs: -L${libdir} -lclutter-${winsys}-${apiversion}
>> ++Libs: -L${libdir} -lclutter-${soname_infix}-${apiversion}
>> + Cflags: -I${includedir}/clutter-${apiversion}
>> + Requires: ${requires}
>> +diff --git a/clutter/x11/clutter-x11.pc.in b/clutter/x11/clutter-x11.pc.in
>> +index ad9a2b4..36b7a6f 100644
>> +--- a/clutter/x11/clutter-x11.pc.in
>> ++++ b/clutter/x11/clutter-x11.pc.in
>> +@@ -7,10 +7,11 @@ requires=@CLUTTER_REQUIRES@
>> + backend=@CLUTTER_WINSYS@ #only kept for backward compatability
>> + winsys=@CLUTTER_WINSYS@
>> + cogl_driver=@COGL_DRIVER@
>> ++soname_infix=@CLUTTER_SONAME_INFIX@
>> +
>> + Name: Clutter
>> + Description: Clutter Core Library (${winsys}/${cogl_driver} backend)
>> + Version: @VERSION@
>> +-Libs: -L${libdir} -lclutter-${winsys}-${apiversion}
>> ++Libs: -L${libdir} -lclutter-${soname_infix}-${apiversion}
>> + Cflags: -I${includedir}/clutter-${apiversion}
>> + Requires: ${requires}
>> diff --git a/recipes/clutter/clutter_1.4.2.bb b/recipes/clutter/clutter_1.4.2.bb
>> index d3159f4..12b6eb5 100644
>> --- a/recipes/clutter/clutter_1.4.2.bb
>> +++ b/recipes/clutter/clutter_1.4.2.bb
>> @@ -2,10 +2,11 @@ require clutter.inc
>>
>>   DEPENDS += "json-glib"
>>
>> -PR = "${INC_PR}.0"
>> +PR = "${INC_PR}.1"
>>
>>   SRC_URI = "http://source.clutter-project.org/sources/clutter/1.4/clutter-${PV}.tar.bz2 \
>>              file://test-conformance-fix.patch \
>> +           file://fix-lib-location.patch \
>>              ${INC_SRC_URI} \
>>             "
>>
>>
> ping&  some advertisement for this patch at
>
> http://bugzilla.clutter-project.org/show_bug.cgi?id=2549
> http://git.clutter-project.org/clutter/commit/?h=clutter-1.4&id=14cb728aa92518b35c1085cd728ecd17ef8a73fa
> http://git.clutter-project.org/clutter/commit/?id=615c200707411bad14d6864e679ec8c279ec276b

Applied, thanks for your patience.

-- 
Tom Rini
Mentor Graphics Corporation



      reply	other threads:[~2011-02-11 22:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03 21:36 [PATCH] clutter: fix broken clutter-gtk Andreas Mueller
2011-02-03 21:46 ` Henning Heinold
2011-02-07 21:28   ` Andreas Mueller
2011-02-10 22:18 ` Andreas Mueller
2011-02-11 22:25   ` Tom Rini [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=4D55B76D.9090806@mentor.com \
    --to=tom_rini@mentor.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.