summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* xfonts: fix dependencies and build processThomas Petazzoni2010-05-0636-108/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of assuming that mkfontdir and mkfontscale are available on the development system, use the one installed in $(HOST_DIR). The FCCACHE variable is removed, because, for some reason, the installation process of xfonts disables the call to fc-cache when a DESTDIR is passed. See the definition of XORG_FONT_FCCACHE in aclocal.m4 in font packages: AC_DEFUN([XORG_FONT_FCCACHE],[ AC_PATH_PROG(FCCACHE, fc-cache) FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' if test x"$FCCACHE" = x ; then RUN_FCCACHE="${FCCACHE_WARN}" else RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" fi AC_SUBST([RUN_FCCACHE]) ]) In addition to this, we update the font dependencies to include font-utils for the host, mkfontdir for the host, mkfontscale for the host and bdftopcf for the host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xapp_mkfontdir: enable for the hostThomas Petazzoni2010-05-061-0/+2
| | | | | | | When compiling xfonts, mkfontdir is needed for the host, therefore, enable it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Enable xapp_bdftopcf dependencies for the hostThomas Petazzoni2010-05-065-0/+8
| | | | | | | | | | | Now that xapp_bdftopcf is enabled on the host, we also need its dependencies to be available for the host. The dependency of host-xapp_bdftopcf is host-xlib_libXfont, which itself depends on a bunch of other packages. Some of them were already available for the host, some not (xfont_encodings, xlib_xtrans, xproto_fontcacheproto, xproto_fontsproto) and are therefore added by this patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xapp_bdftopcf: enable for the hostThomas Petazzoni2010-05-061-0/+2
| | | | | | | Compiling xfonts require having bdftopcf installed on the host. Therefore, enable host support for this package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xfont_font-util: enable host packageThomas Petazzoni2010-05-062-29/+6
| | | | | | | | | | | | | | | When compiling xfonts, host utilities like bdftopcf or ucs2any, part of xfont_font-util are needed. Until now, xfont_font-util was installing ugly symbolic links, assuming that these tools were available on the development machine. This patch enables the host package for xfont_font-util, removes the post-install.sh script, and keeps only the useful part of this script in a post install hook. host-xfont_font-util will be used later by xfont packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Add staging libraries directories to -L in external caseThomas Petazzoni2010-05-061-0/+1
| | | | | | | | In order to solve issues of libtool trying to link target components against host libraries, it seems that specifying -L$(STAGING_DIR)/lib and -L$(STAGING_DIR)/usr/lib works. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Add -rpath option for host package compilationThomas Petazzoni2010-05-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | In c1b6242fdcf2cff7ebf09fec4cc1be58963e8427, we added $(HOST_DIR)/usr/lib to LD_LIBRARY_PATH when building target packages, because the build of target packages sometimes require host tools installed in $(HOST_DIR)/usr/bin which themselves require host libaries installed in $(HOST_DIR)/usr/lib. Unfortunately, this solution didn't work, as libtool then tried to link target binaries against host libraries. So $(HOST_DIR)/usr/lib got removed from LD_LIBRARY_PATH in 0d1830b07db4ebfd14e77a258de6fb391e57e960. However, this meant that we went back to the previous situation, in which host tools used during compilation of target components might require host libraries. An example : make[2]: Entering directory `/home/test/buildroot/output.ctng-arm-eglibc-2010-05-04-12-41-00/build/xfont_font-adobe-100dpi-1.0.1' /home/test/buildroot/output.ctng-arm-eglibc-2010-05-04-12-41-00/host/usr/bin/mkfontdir /home/test/buildroot/output.ctng-arm-eglibc-2010-05-04-12-41-00/target/usr/share/fonts/X11/100dpi /home/test/buildroot/output.ctng-arm-eglibc-2010-05-04-12-41-00/host/usr/bin/mkfontscale: error while loading shared libraries: libfontenc.so.1: cannot open shared object file: No such file or directory Therefore, we try another solution: make sure that host binaries are linked with an -rpath option, so that $(HOST_DIR)/usr/lib doesn't need to be in LD_LIBRARY_PATH for them to find their libraries. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Remove gtk-doc documentations from targetPaulius Zaleckas2010-05-054-6/+3
| | | | | | | | | | | | | On my target rootfs it is installed documentation for: atk, cairo, gdk, gdk-pixbuf, gio, glib, gobject, gtk, pango It ocupies 34M of space. Configure option --disable-gtk-doc doesn't prevent installation of it. So we should remove them manually if documentation is disabled. [Peter: also remove manual rm's from hal/libxml2/libglade] Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hal: cleanup packagePeter Korsgaard2010-05-043-10/+9
| | | | | | | | | | | | | Closes #1525 Kconfig selects are not recursive, so ensure we select the dependencies of our dependencies as well. Cleanup target installation: - Remove tasks handled by the generic post-build cleanup - Hal doesn't install etc/rc.d, so don't try to delete it Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mplayer: disable parallel builds (make -jX)Peter Korsgaard2010-05-041-1/+1
| | | | | | | The build system races with itself when building the internal vidix stuff (x86 only), so use MAKE1. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* usb_modeswitch: Bump to version 1.1.2Gustavo Zacarias2010-05-045-37/+40
| | | | | | | And correct kconfig dependency. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mplayer: internal copies of libdvdread/libdvdcss require largefile supportPeter Korsgaard2010-05-043-2/+5
| | | | | | So disable when we don't have largefile support in toolchain. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* X11 OpenChrome driver depends on libxcompositePaulius Zaleckas2010-05-034-2/+21
| | | | | Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* update for 2010.05-rc12010.05_rc1Peter Korsgaard2010-05-034-7/+20
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: update list of new/updated packagesPeter Korsgaard2010-05-031-12/+17
| | | | | | Mainly package changes done by Thomas' pull requests. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ccache: fix ccache-target dependenciesPeter Korsgaard2010-05-031-0/+1
| | | | | | | Ccache for the target doesn't make sense without a toolchain, so make it depend on it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bzip2: fixup build after ea448fe (convert to gentargets, add host package, ↵Peter Korsgaard2010-05-032-12/+13
| | | | | | | | | | | | bump version) Fix a few typos/mistakes introduced in commit ea448fe: - bzip2 soname is not the same as package version - It is PKG_INSTALL_STAGING, not PKG_STAGING_INSTALL - Typo: BZIP2_INSTALL_TARGET_CMDS, not B2IP_INSTALL_TARGET_CMDS Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Add $(HOST_DIR)/usr/lib to LD_LIBRARY_PATH for host but not targetLionel Landwerlin2010-05-031-3/+4
| | | | | | | | | | | | | | | | | Some packages like icu requires to be compiled against the host system first to be able to compile against the target. This is due to the usage of self generated binaries by the package to build itself. When the generated tools also depends on generated libraries it is required to add the path to these libraries in the library path (LD_LIBRARY_PATH) especially for the configure step. Adding $(HOST_DIR)/usr/lib to LD_LIBRARY_PATH for target compilation might break the link step by mixing host libraries and target binaries. Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target/generic: inittab: fix devpts mounts when devtmpfs is usedPeter Korsgaard2010-05-031-0/+1
| | | | | | | | If devtmpfs (the kernel-maintained /dev filesystem) is used, no /dev/pts directory is created, causing the devpts mount to fail, which in term causes stuff like dropbear to fail. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ncurses: fix path to patch ncurses5-configLionel Landwerlin2010-05-031-2/+2
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux-fusion: bump to 8.1.1Lionel Landwerlin2010-05-033-150/+37
| | | | | | | | Also convert to generic package infrastructure Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* directfb: added directfb tests installation optionLionel Landwerlin2010-05-032-1/+11
| | | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* directfb: bump to 1.4.3Lionel Landwerlin2010-05-033-35/+2
| | | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* docs/news: slides from FOSDEMPeter Korsgaard2010-05-031-0/+8
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ncurses: convert to autotools infrastructureLionel Landwerlin2010-05-032-122/+68
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/gdb: get rid of 6.4 / 6.5Peter Korsgaard2010-05-0311-472/+0
| | | | | | | These are ancient (2006) and upstream strongly discourage using them: ftp://sourceware.org/pub/gdb/old-releases/README Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* autoconf: Unverbosify autoreconf outputThomas Petazzoni2010-05-031-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix autotools configuration cache handlingThomas Petazzoni2010-05-031-1/+1
| | | | | | | | It got broken by the introduction of the new autotools infrastructure based on the generic infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update defconfigs after BR2_GNU_TARGET_SUFFIX removalThomas Petazzoni2010-05-0327-27/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAMEThomas Petazzoni2010-05-033-22/+18
| | | | | | | | Instead of asking the user about the GNU target suffix, just compute it automatically from the other configuration options. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update defconfigs after BR2_ROOTFS_SUFFIX removalThomas Petazzoni2010-05-0326-26/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Get rid of the code computing ROOTFS_SUFFIXThomas Petazzoni2010-05-031-8/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove last users of the ROOTFS_SUFFIX thingThomas Petazzoni2010-05-032-4/+2
| | | | | | | | The ROOTFS_SUFFIX thing has been removed in 325bfd1cbae03fe286796d3fa7de7c0a3227f7a5, so get rid of the last users. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Get rid of KERNEL_CROSSThomas Petazzoni2010-05-034-5/+3
| | | | | | | | | | | | In both internal and external toolchain cases, KERNEL_CROSS was defined to *exactly* the same value as TARGET_CROSS. It isn't modified anywhere, and is just used by kernel compilation and pcmcia compilation. Therefore, get rid of KERNEL_CROSS and use TARGET_CROSS instead. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Commonalize the definition of TOOLCHAIN_DIRThomas Petazzoni2010-05-032-2/+1
| | | | | | | | | The definition of TOOLCHAIN_DIR is the same regardless of whether external or internal toolchains are used. Moreover, move its definition together with all the other *_DIR definitions. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: make sure the default configuration doesn't ask questionsThomas Petazzoni2010-05-022-1/+4
| | | | | | | | | | | | | Since new configuration options have been added in 0.9.31, the value of these configuration options should be determined, either by the default configuration file we provide, or by uclibc.mk process. The locale generation process should probably be improved in order to allow building other locales than just en_US. [Peter: fixup locale handling, add PROGRAM__NAME to defconfig] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: add UCLIBC_HAS_NFTW to default configurationThomas Petazzoni2010-05-021-1/+1
| | | | | | | | | | | | | | UCLIBC_HAS_NFTW is a new knob in 0.9.31, which allows the obsolete and deprecated ftw() to be compiled-out separatly from nftw(), which is part of POSIX. nftw() should probably be enabled by default in uClibc, and a bug has been opened about this on uClibc bug tracker (https://bugs.busybox.net/show_bug.cgi?id=1597). nftw() is, for example, used in Gtk+. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* autotools: fix referencing to LIBTOOL_PATCH variableThomas Petazzoni2010-05-021-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove useless HOST_*_LIBTOOL_PATCHThomas Petazzoni2010-05-029-10/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* autotools: inherit LIBTOOL_PATCH for host packagesThomas Petazzoni2010-05-021-1/+8
| | | | | | | | When FOO_LIBTOOL_PATCH is defined, assume that the same value should be used for HOST_FOO_LIBTOOL_PATCH. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* openssl: convert to the generic infrastructureThomas Petazzoni2010-05-021-34/+51
| | | | | | | | OpenSSL is not using the autotools as its build system. Therefore, we must use the generic infrastructure instead of the autotools one. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libxslt: fix host compilationThomas Petazzoni2010-05-022-2/+3
| | | | | | | | | | | | | | | | Do not build against libgcrypt on the host, since we don't build libgcrypt ourself, and it might fail even when libgcrypt is installed on the host: ...configure... checking for libgcrypt-config... /usr/bin/libgcrypt-config Crypto extensions will be available. ...build... gcc: /usr/lib/libgcrypt.so: No such file or directory Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* autotools: fix autoreconf checkThomas Petazzoni2010-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | The autoreconf check was incorrect, missing a $ sign to properly reference a package-specific variable. There was no visible effect until now since : * The existing syntax allowed to access the value defined in the package specific .mk file, so when AUTORECONF was set to YES by a package, it was working. * The default value in Makefile.autotools.in was NO. In fact, when a package .mkf file wasn't defining the AUTORECONF variable, the Makefile.autotools.in test was testing the empty string against 'YES', which was false, leading to the AUTORECONF not being done, which was the desired effect. However, in a later patch, we intend to change this default value. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lua: fix pkgconfig installationPeter Korsgaard2010-05-021-1/+1
| | | | | | | install -D needs the destination filename, not just it's directory, otherwise we end up with a pkgconfig file instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/gcc: bump 4.4.x version to 4.4.4Peter Korsgaard2010-05-027-4/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* autoconf: add AUTOCONF variable settingLionel Landwerlin2010-05-021-1/+1
| | | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* autoconf: add missing AUTOMAKE variable settingLionel Landwerlin2010-05-022-2/+2
| | | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* autoconf: add AUTOHEADER variableLionel Landwerlin2010-05-021-2/+3
| | | | | | | | | autoheader is used by autoreconf, therefor we need to give the right path to this tools for host/target autoreconfiguration. Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libtool: added LIBTOOLIZE variable to point on $(HOST_DIR)/usr/bin/libtoolizeLionel Landwerlin2010-05-021-0/+1
| | | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* scripts: force copy of files to erase already present and readonly filesLionel Landwerlin2010-05-021-2/+2
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>