buildroot.git
16 years agoFix Qtopia build issues
Thomas Petazzoni [Tue, 11 Nov 2008 18:35:43 +0000 (18:35 -0000)]
Fix Qtopia build issues

This patch fixes two Qtopia build issues, encountered while trying to
use system implementation of zlib, freetype, jpeg and libpng :

 * The build process doesn't look in $(STAGING_DIR)/usr/include for
   includes and $(STAGING_DIR)/usr/lib. Same problem as the patch
   currently floating around adding LDFLAGS to TARGET_CONFIGURE_OPTS,
   but as Qtopia doesn't use TARGET_CONFIGURE_OPTS, we need a specific
   fix here. So we use the -I and -L options of Qtopia's configure
   script.

 * The build process doesn't use pkg-config to get the header path for
   Freetype headers (located in $(STAGING_DIR)/usr/include/freetype2
   and not directly in $(STAGING_DIR)/usr/include/). There was already
   a fix for this, consisting in adding $(FREETYPE_DIR)/include to the
   -I path of Qtopia's configure. This patch modifies this fix to use
   $(STAGING_DIR)/usr/include/freetype2 instead, which looks more
   coherent with how all the packages are built (using $(STAGING_DIR)
   as the reference to get headers and libraries).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoFix external toolchain build
Thomas Petazzoni [Tue, 11 Nov 2008 18:32:31 +0000 (18:32 -0000)]
Fix external toolchain build

This patch is a new version of a patch already sent several times on
the mailing-list, committed and reverted a few times by Daniel Laird,
due to several imperfections. This version is a new try at finding a
solution that works for everybody. Hopefully it'll work :-)

The original problem is that external toolchain builds failed because
packages couldn't find their dependent libraries at configure time and
could not be linked with them. To fix these two problems, two things
are added:

 * The TARGET_LDFLAGS variable was exposed as LDFLAGS at ./configure
   time thanks to TARGET_CONFIGURE_OPTS. The TARGET_LDFLAGS variable
   contains -L options with the path in the STAGING_DIR for the
   libraries. It allows ./configure scripts to properly compile the
   small test programs testing whether a dependency is properly
   installed.

 * The TARGET_CFLAGS contains a new -Wl,--rpath-link option for both
   $(STAGING_DIR)/lib and $(STAGING_DIR)/usr/lib. It allows library
   depending on other libraries to link properly. The TARGET_CFLAGS is
   exposed as CFLAGS in TARGET_CONFIGURE_OPTS.

This new version fixes a problem encountered by hartleys
<hartleys@visionengravers.com> when building the kernel. The problem
was that the -Wl,--rpath-link options were added to LDFLAGS, while
there are options for the C compiler, not the ld linker. Moving them
to CFLAGS seems to fix the issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agopackage/tiff/tiff.mk: Change to Autotools.in format
Daniel Laird [Tue, 11 Nov 2008 11:43:27 +0000 (11:43 -0000)]
package/tiff/tiff.mk: Change to Autotools.in format

Bounce tiff into Autotools.in format.
Did not use install to target as this puts loads of executables into TARGET.
So just copied tiff.so instead.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agopackage/freetype/freetype.mk: Add zib to dependencies
Daniel Laird [Tue, 11 Nov 2008 11:33:45 +0000 (11:33 -0000)]
package/freetype/freetype.mk: Add zib to dependencies

Looking into adding a configure cache to the build (like the GIT buildroot version)
This means that freetype needs to know about zlib so make
sure it had it as a dependency.
Also remove install rule for staging as it matches default.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agoRemove .rej file included in the upstream tarball before patching
Hamish Moffatt [Mon, 10 Nov 2008 23:50:57 +0000 (23:50 -0000)]
Remove .rej file included in the upstream tarball before patching

16 years agorevert 23987 until proper implementation
Ivan Kuten [Mon, 10 Nov 2008 11:17:21 +0000 (11:17 -0000)]
revert 23987 until proper implementation

16 years agoDownload Kernel.org minor patches at the same time as full sources.
Ivan Kuten [Mon, 10 Nov 2008 10:45:46 +0000 (10:45 -0000)]
Download Kernel.org minor patches at the same time as full sources.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
16 years agoFix Grub tarball version as the current version has disappeared from
Thomas Petazzoni [Sat, 8 Nov 2008 22:24:39 +0000 (22:24 -0000)]
Fix Grub tarball version as the current version has disappeared from
Debian mirrors.

Patch provided by Roberto A. Foglietta <roberto.foglietta@gmail.com>

16 years agobusybox: basename 1.12.1 fix
Peter Korsgaard [Fri, 7 Nov 2008 10:16:55 +0000 (10:16 -0000)]
busybox: basename 1.12.1 fix

16 years agoMakefile: revert HOST_GLIB_BIN staging_dir fix (r23920,23923)
Peter Korsgaard [Fri, 7 Nov 2008 08:57:59 +0000 (08:57 -0000)]
Makefile: revert HOST_GLIB_BIN staging_dir fix (r23920,23923)

It causes more trouble than it's worth, and we should move to building those
host tools ourselves to not get into version issues anyway.

16 years agoMakefile.autotools.in: make MESSAGE output stand out
Peter Korsgaard [Fri, 7 Nov 2008 08:56:02 +0000 (08:56 -0000)]
Makefile.autotools.in: make MESSAGE output stand out

The following patch makes the MESSAGE Macro in Makefile.autotools.in
work.

I think it was originally intended to print the messages in bold type
but it doesn't appear to work correctly. This patch should work on all
platforms.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
(Fixed to not continously call tput)

16 years agopackage/Makefile.in: revert rpath setup for toolchains.
Daniel Laird [Fri, 7 Nov 2008 08:15:53 +0000 (08:15 -0000)]
package/Makefile.in: revert rpath setup for toolchains.

Revert the rpath patch, it looked good up until someone tried
to build a kernel as well.  This seems to break as a result.

Will post a new patch soon and see how that goes..

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agontp: add /etc/default/ntpd to control whether to start
Wade Berrier [Thu, 6 Nov 2008 21:11:54 +0000 (21:11 -0000)]
ntp: add /etc/default/ntpd to control whether to start
 ntpd and/or ntpdate.  Also specify options and servers.

16 years agopackage/Makefile.in: rpath setup for toolchains.
Daniel Laird [Thu, 6 Nov 2008 12:54:29 +0000 (12:54 -0000)]
package/Makefile.in: rpath setup for toolchains.

Apply the patch I posted some time ago that fixes
rpath issues with external toolchains.
Has been tested by users of buildroot and feedback looks good.

Signed-off-by: Thomas Petazzoni
Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agoprboom: misc cleanups
Peter Korsgaard [Wed, 5 Nov 2008 15:47:09 +0000 (15:47 -0000)]
prboom: misc cleanups

As noted by Bernhard on irc.

16 years agoprboom: add a touch $@ to end of install target rule to install PrBoom only once
Hans-Christian Egtvedt [Wed, 5 Nov 2008 13:33:43 +0000 (13:33 -0000)]
prboom: add a touch $@ to end of install target rule to install PrBoom only once

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agolinux26: make installation of modules rule depend on .depend_done
Hans-Christian Egtvedt [Wed, 5 Nov 2008 12:59:32 +0000 (12:59 -0000)]
linux26: make installation of modules rule depend on .depend_done

This patch will make the installation of modules rule depend on .depend_done instead of .configured to make sure make prepare is run before modules are installed.

Make kernelversion does not work before make prepare has been run.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agoBuild $(PROJECT_BUILD_DIR)/autotools-stamps with normal Makefile rules
Hans-Christian Egtvedt [Wed, 5 Nov 2008 11:39:46 +0000 (11:39 -0000)]
Build $(PROJECT_BUILD_DIR)/autotools-stamps with normal Makefile rules

This patch will add a rule to top level Makefile to depend on the
$(PROJECT_BUILD_DIR)/autotools-stamps as a required directory. Hence it will be
generated if missing in stead of made when the $(PROJECT_BUILD_DIR)/.root rule
is triggered.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agokernel-headers: bump 2.6.26 and 2.6.27 minor versions
Peter Korsgaard [Wed, 5 Nov 2008 11:11:43 +0000 (11:11 -0000)]
kernel-headers: bump 2.6.26 and 2.6.27 minor versions

16 years agoMove creation of $(PROJECT_BUILD_DIR)/autotools-stamps into top level Makefile
Hans-Christian Egtvedt [Wed, 5 Nov 2008 10:41:31 +0000 (10:41 -0000)]
Move creation of $(PROJECT_BUILD_DIR)/autotools-stamps into top level Makefile

This patch will create the autotools-stamps directory early in the build
process, thus making it possible for non Makefile.autotools.in packages to use
this directory to hold stamp files.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agomake: add gettext dependency to make rule instead of TARGETS
Hans-Christian Egtvedt [Wed, 5 Nov 2008 08:43:04 +0000 (08:43 -0000)]
make: add gettext dependency to make rule instead of TARGETS

This patch adds gettext dependency to make: rule instead of the TARGETS
variable if locale is selected. Just to conform with common syntax.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agomake: select gettext and libintl if locale is enabled
Hans-Christian Egtvedt [Wed, 5 Nov 2008 08:09:30 +0000 (08:09 -0000)]
make: select gettext and libintl if locale is enabled

This patch makes sure gettext and libintl are selected if locale support is
enabled. Gettext must also be compiled before make so appropriate headers are
available to make.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agomatchbox: fix prefix
Peter Korsgaard [Tue, 4 Nov 2008 22:29:02 +0000 (22:29 -0000)]
matchbox: fix prefix

Closes #5946.

16 years agomatchbox: fix mb-applet-startup-monitor compilation (TRUE/FALSE issue)
Peter Korsgaard [Tue, 4 Nov 2008 22:28:58 +0000 (22:28 -0000)]
matchbox: fix mb-applet-startup-monitor compilation (TRUE/FALSE issue)

16 years agoKernel build fix related to external toolchain use
Peter Korsgaard [Tue, 4 Nov 2008 19:58:48 +0000 (19:58 -0000)]
Kernel build fix related to external toolchain use

This patch prevents the user from select "linux (Same version as linux
headers)" as a choice for building the kernel when an external binary
toolchain is used, since "same version as linux headers" doesn't make
sense when an external toolchain is used.

It fixes the issue encountered by Hartley <hartleys@visionengravers.com>

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoMakefile: glib-genmarshal: use BR2_STAGING_DIR instead of hardcoded staging_dir
Peter Korsgaard [Tue, 4 Nov 2008 12:50:38 +0000 (12:50 -0000)]
Makefile: glib-genmarshal: use BR2_STAGING_DIR instead of hardcoded staging_dir

16 years agonetsnmp: run CONFIG_UPDATE
Peter Korsgaard [Tue, 4 Nov 2008 11:31:58 +0000 (11:31 -0000)]
netsnmp: run CONFIG_UPDATE

Based on e068796d3 in Bernhards tree.

16 years agonetsnmp: bump version
Peter Korsgaard [Tue, 4 Nov 2008 11:26:52 +0000 (11:26 -0000)]
netsnmp: bump version

Based on fa86c12d in Bernhards tree.

16 years agoMakefile: ignore glib-genmarshal in staging_dir
Peter Korsgaard [Mon, 3 Nov 2008 20:11:03 +0000 (20:11 -0000)]
Makefile: ignore glib-genmarshal in staging_dir

HOST_GLIB is set to the path that contains the host glib tool set and is
used when building packages using glib. The buildroot top level Makefile
sets HOST_GLIB using which to find the path where glib-genmarshal is
located.

The problem is that a cross compiled version of glib-genmarshal is also
put in the build_ARCH/staging_dir/usr/bin directory when the package
libglib2 is built. This cross compiled version will typically not run on
the host system.

Fix it by ignoring staging_dir in the which output.

Closes #5934

jacmet: fixed to work correctly if it's only found in staging_dir.

16 years agoExternal toolchain C++ cross-compiler fix
Peter Korsgaard [Mon, 3 Nov 2008 10:37:27 +0000 (10:37 -0000)]
External toolchain C++ cross-compiler fix

External toolchain C++ cross-compiler fix

package/Makefile.in resets CXX to "" in TARGET_CONFIGURE_OPTS if
BR2_GCC_CROSS_CXX is not set to 'y'. However, when using an external
toolchain, BR2_GCC_CROSS_CXX is not set even if the toolchain has a
C++ cross-compiler.

This patch adds a new BR2_GCC_CROSS_CXX option in the external
toolchain configuration menu, so that just like BR2_INET_RPC,
BR2_INET_IPV6 and the others, it can be set according to the external
toolchain configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoMore external toolchain fixes
Peter Korsgaard [Mon, 3 Nov 2008 10:32:59 +0000 (10:32 -0000)]
More external toolchain fixes

Fix issues with binary external toolchains

Fix two problems encountered while using an external binary toolchain
generated by crosstool-ng:

 - Don't remove the ending / in LIB_DIR, otherwise find $LIB_DIR
   -maxdepth 1 doesn't find any file in the case LIB_DIR is a symbolic
   link and not a directory.

   For some reason, find -maxdepth 1 doesn't have the same behaviour
   on directories and symbolic links. Demonstration:

   $ mkdir foobar
   $ touch foobar/t1
   $ touch foobar/t2
   $ ln -s foobar barfoo
   $ find foobar -maxdepth 1 -name 't*'
   foobar/t1
   foobar/t2
   $ find barfoo -maxdepth 1 -name 't*'
   $ find barfoo/ -maxdepth 1 -name 't*'
   barfoo/t1
   barfoo/t2

 * Make sure the libraries are writable, otherwise the strip operation
   might fail. The library files may not be writable if the toolchain
   is not writable (which may happen if one wants to prevent anyone
   from overwriting the toolchain, which is done by crosstool-ng, for
   example).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoExternal toolchain support improvements
Peter Korsgaard [Mon, 3 Nov 2008 10:18:39 +0000 (10:18 -0000)]
External toolchain support improvements

Improve external toolchain support

 * Do not put kernel-headers in the dependencies of BASE_TARGETS in
   the case where BR2_TOOLCHAIN_SOURCE is not y. The kernel headers
   are already supposed to be part of the external toolchain, so
   there's no need to download, extract and install them.

 * In the configuration system, don't display the kernel headers
   version selection list when an external toolchain is selected. This
   is implemented by moving the source
   "toolchain/kernel-headers/Config.in" inside the if
   BR2_TOOLCHAIN_SOURCE in toolchain/Config.in.2.

 * Change the description and help message of the BR2_LARGEFILE,
   BR2_INET_IPV6, BR2_INET_RPC, and BR2_SOFT_FLOAT option in
   toolchain/external-toolchain/Config.in. In the case of an external
   toolchain, the semantic of these options is not to enable large
   file support, IPV6 or RPC (since the toolchain is already compiled,
   it has been decided previously). Their semantic is to let Buildroot
   know about the characteristics of the external toolchain being
   used.

   As an improvement, we could guess these values automatically:

    - for BR2_LARGEFILE, look at the value of __UCLIBC_HAS_LFS__ in
      bits/uClibc_config.h in the libc headers directory.

    - for BR2_INET_RPC, look at the value of __UCLIBC_HAS_RPC__ in the
      same file

    - for BR2_INET_IPV6, look at the value of __UCLIBC_HAS_IPV6__ in
      the same file

    - for BR2_SOFT_FLOAT, look at the output of $(CC) -v 2>&1 | grep
      -- "--with-float=soft"

   But I'm not sure how this would be possible, since these values are
   used at configuration-time by other configuration options, not only
   at build time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agomkdosfs: cleanup target install handling
Peter Korsgaard [Mon, 3 Nov 2008 06:16:36 +0000 (06:16 -0000)]
mkdosfs: cleanup target install handling

closes #5834.

16 years agopackage/: remove more 'default n' (see r22874)
Peter Korsgaard [Sun, 2 Nov 2008 20:21:59 +0000 (20:21 -0000)]
package/: remove more 'default n' (see r22874)

16 years agosdl-image: convert to Makefile.autotools.in format
Peter Korsgaard [Sun, 2 Nov 2008 19:21:21 +0000 (19:21 -0000)]
sdl-image: convert to Makefile.autotools.in format

16 years agolibpng: fix Makefile.autotools.in fallout
Peter Korsgaard [Sun, 2 Nov 2008 19:21:17 +0000 (19:21 -0000)]
libpng: fix Makefile.autotools.in fallout

libpng used to have the 'png' Makefile alias, which some packages used
in their dependencies list.

With the move to Makefile.autotools.in this is now gone, so update the
packages to match.

16 years agosyslinux: fix download url
Peter Korsgaard [Sun, 2 Nov 2008 19:21:12 +0000 (19:21 -0000)]
syslinux: fix download url

16 years agobusybox: additional 1.12.1 patches
Peter Korsgaard [Sun, 2 Nov 2008 13:06:44 +0000 (13:06 -0000)]
busybox: additional 1.12.1 patches

16 years agoFixes for Qt from Markus Heidelberg
Arnar Mar Sigurðsson [Sun, 2 Nov 2008 02:16:53 +0000 (02:16 -0000)]
Fixes for Qt from Markus Heidelberg

16 years agoUpdate valka target
Arnar Mar Sigurðsson [Fri, 31 Oct 2008 17:22:59 +0000 (17:22 -0000)]
Update valka target

16 years agoAdd options to select what gfx and mouse drivers are compiled in.
Arnar Mar Sigurðsson [Fri, 31 Oct 2008 17:17:23 +0000 (17:17 -0000)]
Add options to select what gfx and mouse drivers are compiled in.
Note to tslib users: You now have to select the tslib mouse driver to build it.

16 years agoFix zlib install broken by previous commit. Sorry
Thiago A. Corrêa [Fri, 31 Oct 2008 16:37:01 +0000 (16:37 -0000)]
Fix zlib install broken by previous commit. Sorry

16 years agopackage/lite/lite.mk: Bounce version
Daniel Laird [Fri, 31 Oct 2008 14:04:31 +0000 (14:04 -0000)]
package/lite/lite.mk: Bounce version

Bounce version.

Signed-off-by: Thomas Petazzoni<>
Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agopciutils may depend on zlib. Based on Bernhard's git repository.
Thiago A. Corrêa [Fri, 31 Oct 2008 12:41:02 +0000 (12:41 -0000)]
pciutils may depend on zlib. Based on Bernhard's git repository.

16 years agoImprove pciutils based on Bernhard Reutner-Fischer's git repository (http://repo...
Thiago A. Corrêa [Fri, 31 Oct 2008 12:14:39 +0000 (12:14 -0000)]
Improve pciutils based on Bernhard Reutner-Fischer's git repository (repo.or.cz/w/buildroot.git?a=tree;f=package/pciutils;hb=HEAD). Thanks

16 years agoMake sure directories are created during install to STAGING_DIR and TARGET_DIR. Thank...
Thiago A. Corrêa [Fri, 31 Oct 2008 12:10:10 +0000 (12:10 -0000)]
Make sure directories are created during install to STAGING_DIR and TARGET_DIR. Thanks to Thomas Petazzoni and Bernhard Reutner-Fischer.

16 years agoFix bug #0005884 - pciutils depends on zlib
Thiago A. Corrêa [Fri, 31 Oct 2008 04:03:27 +0000 (04:03 -0000)]
Fix bug #0005884 - pciutils depends on zlib

16 years agoMinor cleanups. Use touch for stamp-files
Thiago A. Corrêa [Fri, 31 Oct 2008 03:55:03 +0000 (03:55 -0000)]
Minor cleanups. Use touch  for stamp-files

16 years agofix wrong variable name for SQL. Signed-off-by: Markus Heidelberg <markus.heidelberg...
Thiago A. Corrêa [Fri, 31 Oct 2008 02:17:30 +0000 (02:17 -0000)]
fix wrong variable name for SQL. Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>

16 years agoBump ntp version
Arnar Mar Sigurðsson [Fri, 31 Oct 2008 01:44:32 +0000 (01:44 -0000)]
Bump ntp version

16 years ago2 gcc patches from Atmel's buildroot
Arnar Mar Sigurðsson [Fri, 31 Oct 2008 01:41:31 +0000 (01:41 -0000)]
2 gcc patches from Atmel's buildroot

16 years agopython: add $(STAGING_DIR)/usr/lib to PYTHON_MODULES_LIB so that
Wade Berrier [Thu, 30 Oct 2008 17:21:18 +0000 (17:21 -0000)]
python: add $(STAGING_DIR)/usr/lib to PYTHON_MODULES_LIB so that
 modules build correctly (particularly readline)

16 years agolinux: skip installing modules if modules are disabled in kernel config
Hans-Christian Egtvedt [Thu, 30 Oct 2008 14:56:58 +0000 (14:56 -0000)]
linux: skip installing modules if modules are disabled in kernel config

This patch will check if CONFIG_MODULES is set in the kernel .config, if not
yes then it will skip installing the modules.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agolinux: make touch also create the dependency file when installing modules
Hans-Christian Egtvedt [Thu, 30 Oct 2008 14:22:11 +0000 (14:22 -0000)]
linux: make touch also create the dependency file when installing modules

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agolinux: fix typo in status printout
Hans-Christian Egtvedt [Thu, 30 Oct 2008 14:02:47 +0000 (14:02 -0000)]
linux: fix typo in status printout

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agolinux: add probing for kernel version when installing modules
Hans-Christian Egtvedt [Thu, 30 Oct 2008 14:02:05 +0000 (14:02 -0000)]
linux: add probing for kernel version when installing modules

This patch will ask the kernel for the specific version before doing
modules_install, that way Buildroot will know which directories to remove and
what parameters to use for depmod. Needed when compiling a kernel grabbed from
GIT or vendor specific releases.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agoqtopia4: fix wrong compilation of qmake
Peter Korsgaard [Wed, 29 Oct 2008 20:40:51 +0000 (20:40 -0000)]
qtopia4: fix wrong compilation of qmake

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
16 years agopackage/libpng/libpng.mk: Change to autotools.in format
Daniel Laird [Wed, 29 Oct 2008 12:49:38 +0000 (12:49 -0000)]
package/libpng/libpng.mk: Change to autotools.in format

Move libpng into the new era.....

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agobind: use strchr() instead of index()
Peter Korsgaard [Wed, 29 Oct 2008 07:35:03 +0000 (07:35 -0000)]
bind: use strchr() instead of index()

16 years agoqtopia4: fix adjustment of qmake.conf
Peter Korsgaard [Tue, 28 Oct 2008 09:40:28 +0000 (09:40 -0000)]
qtopia4: fix adjustment of qmake.conf

Extend the regexp to match spaces and also tabs to replace the qmake
variables with the proper buildroot values. Also use TARGET_AR and
TARGET_STRIP instead of using TARGET_CROSS and set a variable for
qmake.conf to shorten the command line.

Patch by Markus Heidelberg

16 years agoqtopia4: fix use of pkg-config
Peter Korsgaard [Tue, 28 Oct 2008 09:40:25 +0000 (09:40 -0000)]
qtopia4: fix use of pkg-config

When cross compiling, Qt sets PKG_CONFIG in its own configure script to
an empty string. That leads to not using pkg-config. To avoid that, use
the configure option -force-pkg-config. Also set environment variables
for pkg-config defined in TARGET_CONFIGURE_OPTS.

Patch by Markus Heidelberg.

See http://buildroot.uclibc.org/lists/buildroot/2008-October/011324.html
for more details.

16 years agoFix matchbox build
Peter Korsgaard [Mon, 27 Oct 2008 15:15:52 +0000 (15:15 -0000)]
Fix matchbox build

Fix matchbox build

This patch fixes various failures in the Matchbox build:

 * libmatchbox and matchbox-panel were using a now legacy index()
   function, which is not part of every uClibc build nowadays
   (depending on the configuration). As this function doesn't exist
   anymore in all builds, use strchr() instead, which is the
   recommended replacement for index(). Two patches, one for
   libmatchbox, one for matchbox-panel, are added to fix this problem.

   Closes bug http://bugs.uclibc.org/view.php?id=5484

 * Do not override the CFLAGS and LDFLAGS values, they are already set
   by TARGET_CONFIGURE_OPTS. It caused build failures.

 * Mangle the library paths in the .la file of libmatchbox, after
   installation in the staging dir.

It would probably be nice to switch Matchbox over to the new
Makefile.autotools.in.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoStrip gettext libraries on the target
Peter Korsgaard [Mon, 27 Oct 2008 09:45:44 +0000 (09:45 -0000)]
Strip gettext libraries on the target

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoStrip libgtk2 in the target
Peter Korsgaard [Mon, 27 Oct 2008 09:45:41 +0000 (09:45 -0000)]
Strip libgtk2 in the target

Rely on the sane default values of Makefile.autotools.in for the
staging and target installs. The immediate benefit is that the target
install will use install-strip instead of install, leading to a quite
nice size reduction in the libraries.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoStrip pango libraries on the target
Peter Korsgaard [Mon, 27 Oct 2008 09:45:38 +0000 (09:45 -0000)]
Strip pango libraries on the target

Use the predefined INSTALL_STAGING_OPT and INSTALL_TARGET_OPT
behaviour of Makefile.autotools.in, so that installation on the target
is done using install-strip.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoFix strange problems in pango configure target
Peter Korsgaard [Mon, 27 Oct 2008 09:45:34 +0000 (09:45 -0000)]
Fix strange problems in pango configure target

The configure target of pango had strange characters in it, preventing
compilation to work. Remove them, they just seem to be mistakes.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agolibglib2: remove $(DISABLE_NLS) from configure options
Peter Korsgaard [Sun, 26 Oct 2008 20:02:36 +0000 (20:02 -0000)]
libglib2: remove $(DISABLE_NLS) from configure options

The configure option --disable-nls is not supported anymore in glib
since version 2.0, see file ChangeLog.pre-2-0 line 544.

Patch by Markus Heidelberg.

16 years agolibglib2: remove redundant configure args
Peter Korsgaard [Sun, 26 Oct 2008 20:02:34 +0000 (20:02 -0000)]
libglib2: remove redundant configure args

Patch by Markus Heidelberg.

16 years agopackage: remove redundant pkg-config variables
Peter Korsgaard [Sun, 26 Oct 2008 19:57:55 +0000 (19:57 -0000)]
package: remove redundant pkg-config variables

Also remove some redundant or predefined configure/make args in these
packages.

Patch by Markus Heidelberg.

16 years agovim: add TARGET_CONFIGURE_OPTS
Peter Korsgaard [Sun, 26 Oct 2008 12:13:28 +0000 (12:13 -0000)]
vim: add TARGET_CONFIGURE_OPTS

Patch by Markus Heidelberg.

16 years agodocker: requires pkgconfig, glib2 and X11
Peter Korsgaard [Sun, 26 Oct 2008 09:14:13 +0000 (09:14 -0000)]
docker: requires pkgconfig, glib2 and X11

16 years agodocker: strip on target install
Peter Korsgaard [Sun, 26 Oct 2008 09:14:10 +0000 (09:14 -0000)]
docker: strip on target install

16 years agodocker: s/PKGCONFIG/PKG_CONFIG/ to be consistent
Peter Korsgaard [Sun, 26 Oct 2008 09:14:06 +0000 (09:14 -0000)]
docker: s/PKGCONFIG/PKG_CONFIG/ to be consistent

Patch by Markus Heidelberg.

16 years agotoolhain/: confgure: respect quiet option
Peter Korsgaard [Sun, 26 Oct 2008 09:14:02 +0000 (09:14 -0000)]
toolhain/: confgure: respect quiet option

16 years agopackage: cleanup PKG_CONFIG_SYSROOT
Peter Korsgaard [Sun, 26 Oct 2008 06:19:43 +0000 (06:19 -0000)]
package: cleanup PKG_CONFIG_SYSROOT

PKG_CONFIG_SYSROOT_DIR and friends get set in package/Makefile.in,
so there's no need to set it in the makefiles of the individual
packages as well.

Based on a patch by Markus Heidelberg.

16 years agoqtopia4: reduce the use of BR2_PACKAGE_QTOPIA4
Peter Korsgaard [Sun, 26 Oct 2008 06:03:23 +0000 (06:03 -0000)]
qtopia4: reduce the use of BR2_PACKAGE_QTOPIA4

Use one conditional if statement instead of several single "depends on".

Patch by Markus Heidelberg.

Cleaned up trailing white space while we're at it.

16 years agokernel-headers: bump 2.6.25, 2.6.26 and 2.6.27 minor versions
Peter Korsgaard [Fri, 24 Oct 2008 11:02:32 +0000 (11:02 -0000)]
kernel-headers: bump 2.6.25, 2.6.26 and 2.6.27 minor versions

16 years agolsof: bump version
Peter Korsgaard [Thu, 23 Oct 2008 18:54:10 +0000 (18:54 -0000)]
lsof: bump version

Reported by Mark McLaurin.

16 years agox11r7/xkeyboard-config: select xkbcomp
Peter Korsgaard [Thu, 23 Oct 2008 15:07:34 +0000 (15:07 -0000)]
x11r7/xkeyboard-config: select xkbcomp

xkeyboard-config uses xkbcomp at runtime, so select it.

closes #5704.

16 years agox11r7/xserver: select cursor font as well
Peter Korsgaard [Thu, 23 Oct 2008 11:58:50 +0000 (11:58 -0000)]
x11r7/xserver: select cursor font as well

Really closes #5684.

16 years agox11r7/xserver: select misc font + font alias
Peter Korsgaard [Thu, 23 Oct 2008 10:24:42 +0000 (10:24 -0000)]
x11r7/xserver: select misc font + font alias

Closes #5684.

16 years agox11r7/xclock: don't force libiconv link
Peter Korsgaard [Wed, 22 Oct 2008 20:12:28 +0000 (20:12 -0000)]
x11r7/xclock: don't force libiconv link

Closes #5654.

16 years agopackage/Makefile.in: Remove rpath fix as it breaks Thomas png build
Daniel Laird [Wed, 22 Oct 2008 15:28:30 +0000 (15:28 -0000)]
package/Makefile.in: Remove rpath fix as it breaks Thomas png build

Remove my fix for rpath-link until I can find out why it works for me and not
Thomas.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agopackage/cairo/cairo.mk: Bounce version and add patches for DirectFB
Daniel Laird [Wed, 22 Oct 2008 15:01:00 +0000 (15:01 -0000)]
package/cairo/cairo.mk: Bounce version and add patches for DirectFB

Update Cairo to 1.6.4
Add DirectFB patches as supplied by DirectFB author Dennis Kropp

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agox11r7/libFS susv3-legacy: update to what got applied upstream
Peter Korsgaard [Wed, 22 Oct 2008 14:39:46 +0000 (14:39 -0000)]
x11r7/libFS susv3-legacy: update to what got applied upstream

For details, see:
http://lists.freedesktop.org/archives/xorg/2008-October/039630.html

16 years agopackage/Makefile.in: Add -rpath-link
Daniel Laird [Wed, 22 Oct 2008 12:47:53 +0000 (12:47 -0000)]
package/Makefile.in: Add -rpath-link

As per various email discussions add -rpath-link
to the LDFLAGS.
This definately fixes a few issues for Thomas and myself
Any objections and it can be pulled again.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@...>
Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agonew package wizard: change bash-specific construct
Peter Korsgaard [Wed, 22 Oct 2008 05:19:04 +0000 (05:19 -0000)]
new package wizard: change bash-specific construct

Patch by Markus Heidelberg.

${VAR//-/_} which replaces - with _ aborts with "syntax error" on a
system where /bin/sh points to dash. Use tr therefor as already done in
the line above rather than changing the shebang to bash.

16 years agox11r7/xserver: bump version
Peter Korsgaard [Tue, 21 Oct 2008 19:44:57 +0000 (19:44 -0000)]
x11r7/xserver: bump version

16 years agox11r7/xfs: bump version - fixes CVE-2007-4568
Peter Korsgaard [Tue, 21 Oct 2008 18:50:49 +0000 (18:50 -0000)]
x11r7/xfs: bump version - fixes CVE-2007-4568

For details, see:
http://lists.freedesktop.org/archives/xorg-announce/2007-October/000416.html

16 years agox11r7/libFS: use memcpy instead of bcopy
Peter Korsgaard [Tue, 21 Oct 2008 15:06:06 +0000 (15:06 -0000)]
x11r7/libFS: use memcpy instead of bcopy

16 years agopackage/memstat: add memstat package
Peter Korsgaard [Tue, 21 Oct 2008 12:38:31 +0000 (12:38 -0000)]
package/memstat: add memstat package

Memstat lists all the processes, executables, and shared
libraries that are using up virtual memory. It's helpful to
see how the shared memory is used and which 'old' libs are
loaded.

16 years agopackage/atk/atk.mk: Bounce version
Daniel Laird [Tue, 21 Oct 2008 12:24:12 +0000 (12:24 -0000)]
package/atk/atk.mk: Bounce version

Bounce version to 1.22.0

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agobuildroot: add QUIET variable and use it for wget/git/svn/configure
Peter Korsgaard [Tue, 21 Oct 2008 08:56:26 +0000 (08:56 -0000)]
buildroot: add QUIET variable and use it for wget/git/svn/configure

A lot of tools take a -q option to be quiet.
Set this if make is called with the -s (silent) option and use for
wget, git, svn and configure.

16 years agosqlite: bump version
Peter Korsgaard [Tue, 21 Oct 2008 08:56:15 +0000 (08:56 -0000)]
sqlite: bump version

16 years agotoolchain/uclibc: brown paper bag fix for r23746
Peter Korsgaard [Mon, 20 Oct 2008 18:55:26 +0000 (18:55 -0000)]
toolchain/uclibc: brown paper bag fix for r23746

So much for doing one more "obvious" fix before going home -
Sorry everyone.

16 years agotoolchain/uclibc: only use make install_headers for 0.9.29+
Peter Korsgaard [Mon, 20 Oct 2008 15:23:50 +0000 (15:23 -0000)]
toolchain/uclibc: only use make install_headers for 0.9.29+

0.9.28.3 doesn't have install_headers, so use install_dev there.

Got broken by r23561.

16 years agopackage/pango/pango.mk: Remove redundant PKG_CONFIG_*
Daniel Laird [Mon, 20 Oct 2008 13:57:30 +0000 (13:57 -0000)]
package/pango/pango.mk: Remove redundant PKG_CONFIG_*

Remove the unnecessary PKG_CONFIG_* settings and tidy up some
config options.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agopackage/: remove redundant install-strip in *_TARGET_INSTALL_OPT
Peter Korsgaard [Mon, 20 Oct 2008 11:53:16 +0000 (11:53 -0000)]
package/: remove redundant install-strip in *_TARGET_INSTALL_OPT

It's default now.

16 years agoneon: don't strip if BR2_ENABLE_DEBUG is enabled
Peter Korsgaard [Mon, 20 Oct 2008 11:53:08 +0000 (11:53 -0000)]
neon: don't strip if BR2_ENABLE_DEBUG is enabled

16 years agobridge-utils: don't strip if BR2_ENABLE_DEBUG is enabled
Peter Korsgaard [Mon, 20 Oct 2008 11:53:05 +0000 (11:53 -0000)]
bridge-utils: don't strip if BR2_ENABLE_DEBUG is enabled