Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] fontconfig package : cross-compilation
@ 2007-06-24 16:58 Julien Letessier
  2007-06-24 18:33 ` Julien Letessier
  0 siblings, 1 reply; 7+ messages in thread
From: Julien Letessier @ 2007-06-24 16:58 UTC (permalink / raw)
  To: buildroot

... or rather, host-compilation of utilities used during build.


-- 
Julien Letessier
<julien.letessier@technosens.fr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot-fontconfig.patch
Type: application/octet-stream
Size: 4791 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070624/19956e11/attachment.obj 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH] fontconfig package : cross-compilation
  2007-06-24 16:58 [Buildroot] [PATCH] fontconfig package : cross-compilation Julien Letessier
@ 2007-06-24 18:33 ` Julien Letessier
  2007-06-25  8:32   ` Bernhard Fischer
  0 siblings, 1 reply; 7+ messages in thread
From: Julien Letessier @ 2007-06-24 18:33 UTC (permalink / raw)
  To: buildroot

Functionnaly identical patch, slightly simpler.
Installation directories are also corrected.

2007/6/24, Julien Letessier <julien.letessier@technosens.fr>:
> ... or rather, host-compilation of utilities used during build.
>
>
> --
> Julien Letessier
> <julien.letessier@technosens.fr>
>
>


-- 
Julien Letessier
<julien.letessier@technosens.fr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot-fontconfig.patch
Type: application/octet-stream
Size: 7650 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070624/a6ec297c/attachment-0001.obj 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH] fontconfig package : cross-compilation
  2007-06-24 18:33 ` Julien Letessier
@ 2007-06-25  8:32   ` Bernhard Fischer
  2007-06-26 15:19     ` Julien Letessier
  0 siblings, 1 reply; 7+ messages in thread
From: Bernhard Fischer @ 2007-06-25  8:32 UTC (permalink / raw)
  To: buildroot

On Sun, Jun 24, 2007 at 08:33:18PM +0200, Julien Letessier wrote:
>Functionnaly identical patch, slightly simpler.
>Installation directories are also corrected.

Two remarks:
- please push this upstream, too
- please add a patch that does this autoreconf. We should not rely on
  the build-host to have autoconf nor automake installed, i think.

Thanks alot for looking into this!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH] fontconfig package : cross-compilation
  2007-06-25  8:32   ` Bernhard Fischer
@ 2007-06-26 15:19     ` Julien Letessier
  2007-06-26 17:07       ` Bernhard Fischer
  0 siblings, 1 reply; 7+ messages in thread
From: Julien Letessier @ 2007-06-26 15:19 UTC (permalink / raw)
  To: buildroot

Note that quite a few Buildroot packages require autoconf to be
installed on the host (openssh, dropbear, avahi, gawk, dbug, glib)...
they'll need to be changed, too.

Attached are patches for
* autoconf-host, automake-host, libtool-host
  and an $(AUTORECONF) variable that runs autoreconf with the
appropriate arguments
* the fontconfig package using custom-built autoreconf (replaces previous patch)

This still requires perl on the build host, but I assume that's reasonable :)

Tell me how this works for you.

2007/6/25, Bernhard Fischer <rep.dot.nop@gmail.com>:
> On Sun, Jun 24, 2007 at 08:33:18PM +0200, Julien Letessier wrote:
> >Functionnaly identical patch, slightly simpler.
> >Installation directories are also corrected.
>
> Two remarks:
> - please push this upstream, too
> - please add a patch that does this autoreconf. We should not rely on
>   the build-host to have autoconf nor automake installed, i think.
>
> Thanks alot for looking into this!
>


-- 
Julien Letessier
<julien.letessier@technosens.fr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot_autoconf-automake-libtool-host.patch
Type: application/octet-stream
Size: 6685 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070626/177f17c3/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot_fontconfig-v2.patch
Type: application/octet-stream
Size: 7880 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070626/177f17c3/attachment-0003.obj 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH] fontconfig package : cross-compilation
  2007-06-26 15:19     ` Julien Letessier
@ 2007-06-26 17:07       ` Bernhard Fischer
  2007-06-27 13:59         ` Julien Letessier
  0 siblings, 1 reply; 7+ messages in thread
From: Bernhard Fischer @ 2007-06-26 17:07 UTC (permalink / raw)
  To: buildroot

On Tue, Jun 26, 2007 at 05:19:28PM +0200, Julien Letessier wrote:
>Note that quite a few Buildroot packages require autoconf to be
>installed on the host (openssh, dropbear, avahi, gawk, dbug, glib)...
>they'll need to be changed, too.

yes
>
>Attached are patches for
>* autoconf-host, automake-host, libtool-host
> and an $(AUTORECONF) variable that runs autoreconf with the
>appropriate arguments
>* the fontconfig package using custom-built autoreconf (replaces previous 
>patch)
>
>This still requires perl on the build host, but I assume that's reasonable 
>:)

no :)
>
>Tell me how this works for you.

In order to avoid to have the sources unpacked in two locations, we
usually unpack them into $(TOOL_BUILD_DIR), i.e.:
AUTOMAKE_SRC_DIR:=$(TOOL_BUILD_DIR)/automake-$(AUTOMAKE_VER)
AUTOMAKE_DIR:=$(BUILD_DIR)/automake-$(AUTOMAKE_VER)
AUTOMAKE_HOST_DIR:=$(TOOL_BUILD_DIR)/automake-$(AUTOMAKE_VER)-host

Can you please adjust accordingly?

Thanks for the nice patch!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH] fontconfig package : cross-compilation
  2007-06-26 17:07       ` Bernhard Fischer
@ 2007-06-27 13:59         ` Julien Letessier
  2007-06-28 14:01           ` Bernhard Fischer
  0 siblings, 1 reply; 7+ messages in thread
From: Julien Letessier @ 2007-06-27 13:59 UTC (permalink / raw)
  To: buildroot

2007/6/26, Bernhard Fischer <rep.dot.nop@gmail.com>:

In order to avoid to have the sources unpacked in two locations, we
> usually unpack them into $(TOOL_BUILD_DIR), i.e.:
> AUTOMAKE_SRC_DIR:=$(TOOL_BUILD_DIR)/automake-$(AUTOMAKE_VER)
> AUTOMAKE_DIR:=$(BUILD_DIR)/automake-$(AUTOMAKE_VER)
> AUTOMAKE_HOST_DIR:=$(TOOL_BUILD_DIR)/automake-$(AUTOMAKE_VER)-host
>
> Can you please adjust accordingly?
>

Done.
I took the liberty to add a few 'touch -c $@' where relevant.
I also changed the targets from foo-host to host-foo, as seems to be the
policy elswhere in buildroot.

Cheers,
-- 
Julien Letessier
< julien.letessier@technosens.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070627/15d17043/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot_autoconf-automake-libtool-host-v2.patch
Type: application/octet-stream
Size: 10411 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070627/15d17043/attachment-0001.obj 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH] fontconfig package : cross-compilation
  2007-06-27 13:59         ` Julien Letessier
@ 2007-06-28 14:01           ` Bernhard Fischer
  0 siblings, 0 replies; 7+ messages in thread
From: Bernhard Fischer @ 2007-06-28 14:01 UTC (permalink / raw)
  To: buildroot

On Wed, Jun 27, 2007 at 03:59:56PM +0200, Julien Letessier wrote:

>I took the liberty to add a few 'touch -c $@' where relevant.

Excellent.
>I also changed the targets from foo-host to host-foo, as seems to be the
>policy elswhere in buildroot.

Merged. Thanks!

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-06-28 14:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-24 16:58 [Buildroot] [PATCH] fontconfig package : cross-compilation Julien Letessier
2007-06-24 18:33 ` Julien Letessier
2007-06-25  8:32   ` Bernhard Fischer
2007-06-26 15:19     ` Julien Letessier
2007-06-26 17:07       ` Bernhard Fischer
2007-06-27 13:59         ` Julien Letessier
2007-06-28 14:01           ` Bernhard Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox