fontconfig package : cross-compilation
PATCH 1/1 fontconfig package : cross-compilation
... or rather, host-compilation of utilities used during build.
Signature · 9 lines
Julien Letessier <[email protected]> -------------- 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
PATCH 1/1 fontconfig package : cross-compilation
Functionnaly identical patch, slightly simpler.
Installation directories are also corrected.
2007/6/24, Julien Letessier <[email protected]>:
Quoted 8 lines
... or rather, host-compilation of utilities used during build.
--
Julien Letessier
<[email protected]>
Signature · 9 lines
Julien Letessier <[email protected]> -------------- 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
PATCH 1/1 fontconfig package : cross-compilation
Quoted 2 lines · Julien Letessier
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!
PATCH 1/1 fontconfig package : cross-compilation
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 <[email protected]>:
Quoted 11 lines · Julien Letessier
Quoted 2 lines
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!
Signature · 16 lines
Julien Letessier <[email protected]> -------------- 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
PATCH 1/1 fontconfig package : cross-compilation
Quoted 3 lines · Julien Letessier
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
Quoted 10 lines
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 :)
Quoted 2 lines
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!
PATCH 1/1 fontconfig package : cross-compilation
2007/6/26, Bernhard Fischer <[email protected]>:
In order to avoid to have the sources unpacked in two locations, we
Quoted 7 lines
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)-hostCan 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,
Signature · 12 lines
Julien Letessier < [email protected]> -------------- 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
PATCH 1/1 fontconfig package : cross-compilation
Quoted 1 line · Julien Letessier
I took the liberty to add a few 'touch -c $@' where relevant.
Excellent.
Quoted 2 lines
I also changed the targets from foo-host to host-foo, as seems to be the policy elswhere in buildroot.
Merged. Thanks!