Patchwork freetype_2.4.3.bb; Change order of configuration.

login
register
mail settings
Submitter Ulf Samuelsson
Date Oct. 22, 2011, 12:28 p.m.
Message ID <1319286535-2935-1-git-send-email-ulf_samuelsson@telia.com>
Download mbox | patch
Permalink /patch/13735/
State Accepted
Commit 1df2db51aa900fdb22ba72bc1863205cd512a7ea
Headers show

Comments

Ulf Samuelsson - Oct. 22, 2011, 12:28 p.m.
From: Ulf Samuelsson <ulf_samuelsson@telia.com>

Build of freetype-native is broken on Ubuntu 11.10 x64 - possible others.
Problem fixed in openembedded-core 2.4.4 recipe
Backporting the change will allow the build to complete.

openembedded-core-contrib/meta/recipes-graphics/freetype

Signed-Off-By: Ulf Samuelsson <ulf.samuelsson@telia.com>
---
 recipes/freetype/freetype_2.4.3.bb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Paul Menzel - Oct. 22, 2011, 1:14 p.m.
Am Samstag, den 22.10.2011, 14:28 +0200 schrieb ulf_samuelsson@telia.com:
> From: Ulf Samuelsson <ulf_samuelsson@telia.com>
> 
> Build of freetype-native is broken on Ubuntu 11.10 x64 - possible others.

It works for me without problem with Debian Squeeze (32-bit). So what is
the error message in the first place?

> Problem fixed in openembedded-core 2.4.4 recipe

It seems it was not present since the beginning, i. e. version 2.3.12.

> Backporting the change will allow the build to complete.
> 
> openembedded-core-contrib/meta/recipes-graphics/freetype
> 
> Signed-Off-By: Ulf Samuelsson <ulf.samuelsson@telia.com>
> ---
>  recipes/freetype/freetype_2.4.3.bb |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/recipes/freetype/freetype_2.4.3.bb b/recipes/freetype/freetype_2.4.3.bb
> index 66d2e51..dfc1b43 100644
> --- a/recipes/freetype/freetype_2.4.3.bb
> +++ b/recipes/freetype/freetype_2.4.3.bb
> @@ -1,7 +1,7 @@
>  DESCRIPTION = "Freetype font rendering library"
>  SECTION = "libs"
>  LICENSE = "freetype GPLv2"
> -PR = "r1"
> +PR = "r2"
>  DEPENDS = "zlib"
>  
>  SRC_URI = "\
> @@ -23,9 +23,9 @@ LDFLAGS_append = " -Wl,-rpath-link -Wl,${STAGING_DIR_TARGET}${libdir}"
>  
>  do_configure() {
>  	cd builds/unix
> -	gnu-configize --force
> -	aclocal -I .
>  	libtoolize --force --copy
> +	aclocal -I .
> +	gnu-configize --force
>  	autoconf
>  	cd ${S}
>  	oe_runconf


Thanks,

Paul
Ulf Samuelsson - Oct. 22, 2011, 9 p.m.
2011-10-22 15:14, Paul Menzel skrev:
> Am Samstag, den 22.10.2011, 14:28 +0200 schrieb ulf_samuelsson@telia.com:
>> From: Ulf Samuelsson<ulf_samuelsson@telia.com>
>>
>> Build of freetype-native is broken on Ubuntu 11.10 x64 - possible others.
> It works for me without problem with Debian Squeeze (32-bit). So what is
> the error message in the first place?
>
DIdn't save the logfile, but the problem was that
"./builds/unix/x86_64-linux-libtool"  was not present when needed.

instead "./builds/unix/libtool" had been built.
If you run a 32 bit machine, then you obviously do not have a problem.

Would be good to have it tested on a 32 bit machine of course,
but I do not see why a 64 bit version should be built based
on the changes in the patch.


>> Problem fixed in openembedded-core 2.4.4 recipe
> It seems it was not present since the beginning, i. e. version 2.3.12.
>
>> Backporting the change will allow the build to complete.
>>
>> openembedded-core-contrib/meta/recipes-graphics/freetype
>>
>> Signed-Off-By: Ulf Samuelsson<ulf.samuelsson@telia.com>
>> ---
>>   recipes/freetype/freetype_2.4.3.bb |    6 +++---
>>   1 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/recipes/freetype/freetype_2.4.3.bb b/recipes/freetype/freetype_2.4.3.bb
>> index 66d2e51..dfc1b43 100644
>> --- a/recipes/freetype/freetype_2.4.3.bb
>> +++ b/recipes/freetype/freetype_2.4.3.bb
>> @@ -1,7 +1,7 @@
>>   DESCRIPTION = "Freetype font rendering library"
>>   SECTION = "libs"
>>   LICENSE = "freetype GPLv2"
>> -PR = "r1"
>> +PR = "r2"
>>   DEPENDS = "zlib"
>>
>>   SRC_URI = "\
>> @@ -23,9 +23,9 @@ LDFLAGS_append = " -Wl,-rpath-link -Wl,${STAGING_DIR_TARGET}${libdir}"
>>
>>   do_configure() {
>>   	cd builds/unix
>> -	gnu-configize --force
>> -	aclocal -I .
>>   	libtoolize --force --copy
>> +	aclocal -I .
>> +	gnu-configize --force
>>   	autoconf
>>   	cd ${S}
>>   	oe_runconf
>
> Thanks,
>
> Paul
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/recipes/freetype/freetype_2.4.3.bb b/recipes/freetype/freetype_2.4.3.bb
index 66d2e51..dfc1b43 100644
--- a/recipes/freetype/freetype_2.4.3.bb
+++ b/recipes/freetype/freetype_2.4.3.bb
@@ -1,7 +1,7 @@ 
 DESCRIPTION = "Freetype font rendering library"
 SECTION = "libs"
 LICENSE = "freetype GPLv2"
-PR = "r1"
+PR = "r2"
 DEPENDS = "zlib"
 
 SRC_URI = "\
@@ -23,9 +23,9 @@  LDFLAGS_append = " -Wl,-rpath-link -Wl,${STAGING_DIR_TARGET}${libdir}"
 
 do_configure() {
 	cd builds/unix
-	gnu-configize --force
-	aclocal -I .
 	libtoolize --force --copy
+	aclocal -I .
+	gnu-configize --force
 	autoconf
 	cd ${S}
 	oe_runconf