buildroot.git
11 years agodependencies: test all programs before bailing out
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:44 +0000 (22:26 +0000)]
dependencies: test all programs before bailing out

The current dependencies code abort as soon as one program is
missing. It is quite annoying when multiple programs are
missing. Instead, bail out if needed after testing all programs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodependencies: add details about which distro package to install
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:43 +0000 (22:26 +0000)]
dependencies: add details about which distro package to install

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodependencies: remove useless newlines
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:42 +0000 (22:26 +0000)]
dependencies: remove useless newlines

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodependencies: remove a few useless mandatory dependencies
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:41 +0000 (22:26 +0000)]
dependencies: remove a few useless mandatory dependencies

awk, bison, flex, makeinfo, gettext should be built as dependencies of
packages when needed. In practice, even the toolchain build doesn't
need any of these, and only a few packages do require them.

It is not needed to list gzip and bzip2 since they are already checked
through ${DL_TOOLS}: whenever a package needs gzip or bzip2 for its
extraction, the dependency is added.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoat: needs host-flex and host-bison
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:40 +0000 (22:26 +0000)]
at: needs host-flex and host-bison

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibglib2: add dependency on host-gettext
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:39 +0000 (22:26 +0000)]
libglib2: add dependency on host-gettext

libglib2 requires msgfmt, which is now provided by host-gettext since
gettext will no longer be part of the mandatory dependencies.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogettext: provide a host variant
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:38 +0000 (22:26 +0000)]
gettext: provide a host variant

In preparation for the removal of gettext as a hard dependency, we
need to be able to provide a host variant of gettext for the few
packages that require msgfmt.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoncurses: enable shared library build on the host
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:37 +0000 (22:26 +0000)]
ncurses: enable shared library build on the host

On the host, we generally build and install a shared library rather
than a static version of libraries. In this specific case, we will
want to build host-gettext, which builds a shared library that depends
on ncurses. And this doesn't work well if ncurses is static because it
hasn't been built with -fPIC. Therefore, let's build ncurses as shared
on the host.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoiproute2: add dependency on host-bison
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:36 +0000 (22:26 +0000)]
iproute2: add dependency on host-bison

iproute2 requires bison, so we add the necessary dependency. In
addition, in order for iproute2 to find bison, we need to pass
$(TARGET_MAKE_ENV).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibpcap: add missing flex/bison dependencies
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:35 +0000 (22:26 +0000)]
libpcap: add missing flex/bison dependencies

In preparation for the removal of the flex/bison mandatory
dependencies, make sure libpcap builds host-flex/host-bison.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogmp: requires host-m4
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:34 +0000 (22:26 +0000)]
gmp: requires host-m4

On a system where m4 is not installed, gmp does not build due to the
lack of m4. Add the missing host-m4 dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agouClibc: add missing $(Q)
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:33 +0000 (22:26 +0000)]
uClibc: add missing $(Q)

Add a missing $(Q) in front of a MESSAGE call, which leads to the
message being displayed but also the command that shows the message.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokernel-headers: add missing $(Q)
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:32 +0000 (22:26 +0000)]
kernel-headers: add missing $(Q)

Add a missing $(Q) in front of a MESSAGE call, which leads to the
message being displayed but also the command that shows the message.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogcc: add missing $(Q)
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:31 +0000 (22:26 +0000)]
gcc: add missing $(Q)

Add a missing $(Q) in front of a MESSAGE call, which leads to the
message being displayed but also the command that shows the message.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogcc: introduce BR2_GCC_NEEDS_MPC to reduce code duplication
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:30 +0000 (22:26 +0000)]
gcc: introduce BR2_GCC_NEEDS_MPC to reduce code duplication

For each version of gcc, we need to check whether it requires mpc as a
dependency. Since this is true for 4.5, 4.6, 4.7, snapshots and now
4.8, let's factorize this code a bit by using a Kconfig symbol that
tells us whether we are using a gcc version that requires mpc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogcc: add support for gcc 4.8
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:29 +0000 (22:26 +0000)]
gcc: add support for gcc 4.8

This commit adds support for the recently released gcc 4.8. We re-add
the same patch series as the one used for 4.7.x, after refreshing the
patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogcc: fix location of snapshots
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:28 +0000 (22:26 +0000)]
gcc: fix location of snapshots

The gcc snapshots are now located at
ftp://gcc.gnu.org/pub/gcc/snapshots/. This has been tested with a
recent 4.8.0-RC snapshot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibgtk2: use non-host specific patch
Thomas Petazzoni [Sat, 23 Mar 2013 22:26:27 +0000 (22:26 +0000)]
libgtk2: use non-host specific patch

The libgtk2 package was using a host-<foo>.patch that should be
applied only on the host variant of the package. Unfortunately, with
the patch model rework, this doesn't work anymore: Buildroot tries to
apply the patch twice, for some reason.

But instead of fixing the patch model, it is probably a lot better to
fix this patch itself, which is the only usage of host-only patch in
Buildroot.

So instead of simply removing code that detects dependencies in gtk2's
configure.in script, we use a condition based on the value of
gdktarget. And it turns out that it makes the patch shorter.

However, it requires autoreconfiguring the libgtk2 target package,
because we are now modifying its configure.in.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogettext: fix tools build failure for uClibc toolchain with C++
Gustavo Zacarias [Sat, 23 Mar 2013 22:26:26 +0000 (22:26 +0000)]
gettext: fix tools build failure for uClibc toolchain with C++

Fixes:
http://autobuild.buildroot.net/results/e5777d754653edef9d8c8558f04c2836734f2c25/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/connman: version bump to 1.12, and fix build with newer kernels headers
Yann E. MORIN [Sat, 23 Mar 2013 22:26:25 +0000 (22:26 +0000)]
package/connman: version bump to 1.12, and fix build with newer kernels headers

... while keeping compatibility with older ones.

Fixes autobuild failure:
http://autobuild.buildroot.org/results/f99ae7af46c70f7c356b7771321511a42eb3694d/

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: bump 3.8.x stable version
Gustavo Zacarias [Thu, 21 Mar 2013 01:53:48 +0000 (01:53 +0000)]
linux: bump 3.8.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokernel-headers: bump 3.{0, 2, 4, 8}.x stable version
Gustavo Zacarias [Thu, 21 Mar 2013 01:53:47 +0000 (01:53 +0000)]
kernel-headers: bump 3.{0, 2, 4, 8}.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodosfstools: fix host variant dependencies
Gustavo Zacarias [Thu, 21 Mar 2013 02:12:34 +0000 (02:12 +0000)]
dosfstools: fix host variant dependencies

host-dosfstools shouldn't pull host-libiconv in since that's for
uClibc-based toolchains and we don't have that package anyway.
Fixes:
http://autobuild.buildroot.net/results/7637985bfb0afdd9217c297e9b0ac5de797c137d/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosyslinux: bump to version 4.06
Daniel Price [Tue, 19 Mar 2013 12:21:38 +0000 (12:21 +0000)]
syslinux: bump to version 4.06

Signed-off-by: Daniel Price <daniel.price@gmail.com>
Tested-by: Will Moore <will.moore@beraninstruments.com>
Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agooprofile 0.9.8: fix compilation on powerpc
Thomas De Schampheleire [Thu, 21 Mar 2013 09:03:17 +0000 (09:03 +0000)]
oprofile 0.9.8: fix compilation on powerpc

The oprofile build was broken on powerpc since version 0.9.8.
This was detected in several autobuilds, like
http://autobuild.buildroot.net/results/6f6c02d18495907d50fcdfc6003ac20d493c55fe/

Thomas Petazzoni had some fixes pending in his own tree, and this patch is
partially based on this work (credits to him). Here is an overview:
- I took over (and fixed) the oprofile.mk changes, except for the powerpc-
  specific part. For powerpc, there is a new dependency to libpfm4.
- I reimported those Yocto patches that were specific to the ppc build
  issues, but left out the other ones. Those can be added in separate
  commits.

[Peter: simplify libpfm4 check]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxinetd: follow the convention for patch location
Thomas Petazzoni [Wed, 20 Mar 2013 21:16:17 +0000 (22:16 +0100)]
xinetd: follow the convention for patch location

Following 5538e4766201aa0 ("rework patch model"), the xinetd patches
were no longer being applied, because they were stored in
package/xinetd/xinetd-2.3.15/*.patch. This lead to xinetd build
failures such as:
http://autobuild.buildroot.org/results/1a032bca894b76facd9e7f01c3b5d370987d7fc8/build-end.log.

This patch fixes this by changing the location and name of the xinetd
patches to follow the new conventions.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agophp: security bump to version 5.3.23
Gustavo Zacarias [Wed, 20 Mar 2013 04:57:52 +0000 (04:57 +0000)]
php: security bump to version 5.3.23

Fixes CVE-2013-1635 and CVE-2013-1643.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agohplip: needs C++ support in toolchain
Peter Korsgaard [Wed, 20 Mar 2013 19:50:14 +0000 (20:50 +0100)]
hplip: needs C++ support in toolchain

As pointed out by Thomas.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agorework patch model
Simon Dawson [Sun, 17 Mar 2013 23:13:47 +0000 (23:13 +0000)]
rework patch model

At the Buildroot Developers Meeting (4-5 February 2013, in Brussels) a change
to the patch logic was discussed. See

http://elinux.org/Buildroot:DeveloperDaysFOSDEM2013

for details. In summary:

* For patches stored in the package directory, if
  package/<pkg>/<version>/ does exist, apply package/<pkg>/<version>/*.patch,
  otherwise, apply package/<pkg>/*.patch
* For patches stored in the global patches directory, if
  $(GLOBAL_PATCH_DIR)/<pkg>/<version>/ does exist, apply
  $(GLOBAL_PATCH_DIR)/<pkg>/<version>/*.patch, otherwise, apply
  $(GLOBAL_PATCH_DIR)/<pkg>/*.patch

This patch adds the new BR2_GLOBAL_PATCH_DIR configuration item, and reworks
the generic package infrastructure to implement the new patch logic.

[Peter: fixup doc nits as pointed out by Thomas]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosmartmontools: bump to version 6.1
Gustavo Zacarias [Tue, 19 Mar 2013 10:04:24 +0000 (10:04 +0000)]
smartmontools: bump to version 6.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5base: install bundled fonts to target
Floris Bos [Tue, 19 Mar 2013 09:29:41 +0000 (09:29 +0000)]
qt5base: install bundled fonts to target

If not using font-config, Qt 5 offers a set of standard fonts to
use instead. Install these to target.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5base: add rPi EGL glue code
Floris Bos [Tue, 19 Mar 2013 09:29:40 +0000 (09:29 +0000)]
qt5base: add rPi EGL glue code

When the rpi-userland package is selected, assume we are targetting
the Raspberry Pi, and add the right platform glue code when building
the Qt5 EGLFS plugin.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5base: add support to build against ICU
Thomas Petazzoni [Tue, 19 Mar 2013 09:29:39 +0000 (09:29 +0000)]
qt5base: add support to build against ICU

Qt5Webkit requires Qt5Base to be built with ICU support, so we add
such support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5base: add glib support
Thomas Petazzoni [Tue, 19 Mar 2013 09:29:38 +0000 (09:29 +0000)]
qt5base: add glib support

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5base: add D-Bus support
Thomas Petazzoni [Tue, 19 Mar 2013 09:29:37 +0000 (09:29 +0000)]
qt5base: add D-Bus support

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5base: add support for fontconfig, png, jpeg, gif
Thomas Petazzoni [Tue, 19 Mar 2013 09:29:36 +0000 (09:29 +0000)]
qt5base: add support for fontconfig, png, jpeg, gif

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5base: add eglfs graphics backend
Thomas Petazzoni [Tue, 19 Mar 2013 09:29:35 +0000 (09:29 +0000)]
qt5base: add eglfs graphics backend

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5base: add OpenSSL support
Thomas Petazzoni [Tue, 19 Mar 2013 09:29:34 +0000 (09:29 +0000)]
qt5base: add OpenSSL support

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopsmisc: bump to version 22.20
Gustavo Zacarias [Tue, 19 Mar 2013 07:55:22 +0000 (07:55 +0000)]
psmisc: bump to version 22.20

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agostunnel: security bump to version 4.55
Gustavo Zacarias [Tue, 19 Mar 2013 06:58:46 +0000 (06:58 +0000)]
stunnel: security bump to version 4.55

Fixes CVE-2013-1762, improves CVE-2010-3684 workaround.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokexec: bump to version 2.0.4
Sven Neumann [Tue, 19 Mar 2013 06:12:41 +0000 (06:12 +0000)]
kexec: bump to version 2.0.4

Version 2.0.4 has improved support for handling of device-tree
blobs on the ARM platform.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackages: re-categorize gmp, mpc and mpfr
Gustavo Zacarias [Tue, 19 Mar 2013 03:32:05 +0000 (03:32 +0000)]
packages: re-categorize gmp, mpc and mpfr

They're not development tools, they're libraries, so place them under
libraries->other.
Also adjust gsl sort order.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoiproute2: needs mmu
Gustavo Zacarias [Tue, 19 Mar 2013 03:22:12 +0000 (03:22 +0000)]
iproute2: needs mmu

Fixes
http://autobuild.buildroot.net/results/08beca1cae9dc55b2f770a01ad95bcbe56594300/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoaudiofile: bump to version 0.3.6
Gustavo Zacarias [Tue, 19 Mar 2013 03:05:11 +0000 (03:05 +0000)]
audiofile: bump to version 0.3.6

Now with FLAC support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosamba: bump to version 3.6.13
Gustavo Zacarias [Tue, 19 Mar 2013 02:33:15 +0000 (02:33 +0000)]
samba: bump to version 3.6.13

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibffi: bump to version 3.0.13
Gustavo Zacarias [Tue, 19 Mar 2013 02:33:14 +0000 (02:33 +0000)]
libffi: bump to version 3.0.13

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agompfr: bump to version 3.1.2
Gustavo Zacarias [Tue, 19 Mar 2013 02:33:13 +0000 (02:33 +0000)]
mpfr: bump to version 3.1.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosudo: security bump to version 1.8.6p7
Gustavo Zacarias [Tue, 19 Mar 2013 02:25:39 +0000 (02:25 +0000)]
sudo: security bump to version 1.8.6p7

Fixes CVE-2013-1775 and CVE-2013-1776.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibcap: fix host build when BR2_PACKAGE_ATTR is enabled
Peter Korsgaard [Tue, 19 Mar 2013 15:12:36 +0000 (16:12 +0100)]
libcap: fix host build when BR2_PACKAGE_ATTR is enabled

We don't have (or need) a host-attr package.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibcap: Add optional support for libattr capabilities
Markos Chandras [Tue, 19 Mar 2013 00:51:48 +0000 (00:51 +0000)]
libcap: Add optional support for libattr capabilities

libcap can optionally link to libattr to support extra
file capabilities. Link to this library and pull it as
dependency if BR2_PACKAGE_ATTR is selected.

[Peter: use LIBCAP_ prefix on variable]
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoAdded package HPLIP for printing to HP printers
Olivier Schonken [Mon, 18 Mar 2013 20:55:16 +0000 (20:55 +0000)]
Added package HPLIP for printing to HP printers

HPLIP (Hewlett-Packard Linux Imaging & Printing) is an HP-developed solution
for printing, scanning, and faxing with HP inkjet and laser based printers
in Linux.

[Peter: fix Config.in white space]
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain/crosstool-NG: do not depend on the top-level Buildroot's .config
Yann E. MORIN [Mon, 18 Mar 2013 12:03:03 +0000 (12:03 +0000)]
toolchain/crosstool-NG: do not depend on the top-level Buildroot's .config

Previously, the crosstool-NG backend did depend on the top-level
Buildroot's .config to detect changes in the toolchain options,
using a tentatively-clever heuristic, which also included the full
Buildroot's version string to push down to set the components' versions
strings.

In doing so, any commit in the Buildroot tree would imply a complete
rebuild of the toolchain, even in the case the toolchain options did
not change, thus being a large annoyance (to say the least).

As Buildroot never guaranteed that toolchain options would be detected,
even less handled, and that the internal backend does neither detect nor
act on toolchain options changes, and delegate that to the user, there
is no point in individualising the crosstool-NG backend's behaviour.

This reasoning also applies to the depdency on the crosstool-NG's bundled
.config file, too.

So, just drop the not-so-clever heuristic, and just build the toolchain
once, leaving to the user the responsibility to explictly ask Buildroot
to rebuild the toolchain.

Reported-by: "Przemyslaw Wrzos" <przemyslaw.wrzos@calyptech.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: "Przemyslaw Wrzos" <przemyslaw.wrzos@calyptech.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/mtools: new host-package
Yann E. MORIN [Sun, 17 Mar 2013 08:19:45 +0000 (08:19 +0000)]
package/mtools: new host-package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/genpart: new host-only package
Yann E. MORIN [Sun, 17 Mar 2013 08:19:44 +0000 (08:19 +0000)]
package/genpart: new host-only package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/genimage: new host-only package
Yann E. MORIN [Sun, 17 Mar 2013 08:19:43 +0000 (08:19 +0000)]
package/genimage: new host-only package

[Peter: wrap help text]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/libconfuse: add host variant
Yann E. MORIN [Sun, 17 Mar 2013 08:19:42 +0000 (08:19 +0000)]
package/libconfuse: add host variant

Needed later by genimage.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/dosfstools: add host-package selection
Yann E. MORIN [Sun, 17 Mar 2013 08:19:41 +0000 (08:19 +0000)]
package/dosfstools: add host-package selection

Add dosfstools as a host-package selection in the menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/e2fsprogs: add host-package selection
Yann E. MORIN [Sun, 17 Mar 2013 08:19:40 +0000 (08:19 +0000)]
package/e2fsprogs: add host-package selection

Add the e2fsprogs as a host-package selection in the menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agohost util-linux: disable login and su since they depend on PAM
Christophe Vu-Brugier [Mon, 11 Mar 2013 06:19:37 +0000 (06:19 +0000)]
host util-linux: disable login and su since they depend on PAM

This fixes the following errors when building util-linux v2.22.2 for
the host in case the PAM headers are missing:

  configure: error: login selected, but required PAM header file not available
  configure: error: su selected, but required PAM header file not available

Signed-off-by: Christophe Vu-Brugier <cvubrugier@lacie.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopkg-autotools.mk: remove extra space from config-update message
Danomi Manchego [Mon, 11 Mar 2013 15:58:31 +0000 (15:58 +0000)]
pkg-autotools.mk: remove extra space from config-update message

If you do a "make -s", you will notice that the UPDATE_CONFIG_HOOK message
has an extra space compared to other highlighted messages.  For example:

>>> util-linux 2.20.1  Updating config.sub and config.guess
>>> util-linux 2.20.1 Patching libtool
>>> util-linux 2.20.1 Autoreconfiguring

A grep shows this is the only instance of the extra space. This patch
removes the extra space.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonew package: redis
Daniel Price [Mon, 11 Mar 2013 15:47:11 +0000 (15:47 +0000)]
new package: redis

[Peter: fix white space, drop _SOURCE]
Signed-off-by: Daniel Price <daniel.price@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoInstall libfribidi to staging
Maxime Hadjinlian [Thu, 21 Feb 2013 04:58:43 +0000 (04:58 +0000)]
Install libfribidi to staging

Install libfribi to staging to be able to link against it.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agooprofile: upstep 0.9.7 patches to 0.9.8
Thomas De Schampheleire [Tue, 12 Mar 2013 18:10:55 +0000 (19:10 +0100)]
oprofile: upstep 0.9.7 patches to 0.9.8

The patches to oprofile 0.9.7 seem still relevant for 0.9.8, but for some
reason they were not upstepped.

[Peter: drop version number from patch filenames]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibpfm4: new package
Thomas De Schampheleire [Tue, 12 Mar 2013 08:10:54 +0000 (08:10 +0000)]
libpfm4: new package

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogpsd: add upstream patches
Simon Dawson [Sat, 16 Mar 2013 11:07:13 +0000 (11:07 +0000)]
gpsd: add upstream patches

Add a couple of patches submitted by Mike Frysinger to gpsd upstream. One of
these patches (that for the gpsd/dbus interface) fixes autobuild failures
such as the following.

  http://autobuild.buildroot.net/results/41ccc838c5d44ab237a7195767940585bbb8b1f6

Note that neither of these patches has yet been accepted upstream.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agojson-glib: new package
Henrique Camargo [Mon, 18 Feb 2013 11:29:03 +0000 (11:29 +0000)]
json-glib: new package

JSON-GLib is a library providing serialization and deserialization
support for the JavaScript Object Notation (JSON) format described by
RFC 4627.

https://live.gnome.org/JsonGlib/

[Peter: add license info, tweak help text]
Signed-off-by: Henrique Camargo <henrique@henriquecamargo.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoAdded lcms2 package
Olivier Schonken [Sat, 16 Mar 2013 02:42:22 +0000 (02:42 +0000)]
Added lcms2 package

Little CMS intends to be an OPEN SOURCE small-footprint color management
engine, with special focus on accuracy and performance.

[Peter: tweak help text, fix white space]
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoMark AArch64 as a 64 bits architecture
Thomas Petazzoni [Mon, 18 Mar 2013 05:18:09 +0000 (05:18 +0000)]
Mark AArch64 as a 64 bits architecture

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agozeromq: require IPv6 support in toolchain
Simon Dawson [Sun, 17 Mar 2013 23:42:05 +0000 (23:42 +0000)]
zeromq: require IPv6 support in toolchain

The zeromq package was recently bumped from version 2.2.0 to version 3.2.2,
which has introduced a requirement for IPv6 support in the toolchain. At
present, IPv6 support is mandatory in zeromq: there is no configuration option
to enable/disable the feature.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosdl: use <pkg>_CONFIG_SCRIPTS for sdl-config
Thomas Petazzoni [Sun, 17 Mar 2013 22:36:19 +0000 (22:36 +0000)]
sdl: use <pkg>_CONFIG_SCRIPTS for sdl-config

Use the <pkg>_CONFIG_SCRIPTS mechanism to handle the sdl-config
script, so that it properly gets removed from the target. However, we
can't completely remove the manual fixup, because it also takes care
of removing the -Wl,-rpath option, which the general
<pkg>_CONFIG_SCRIPTS doesn't do.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agourg: handle config scripts properly
Thomas Petazzoni [Sun, 17 Mar 2013 22:36:18 +0000 (22:36 +0000)]
urg: handle config scripts properly

urg installs two <foo>-config scripts, so the ones installed in
$(STAGING_DIR) should be fixed up, and the ones installed in
$(TARGET_DIR) should be removed. Use the <pkg>_CONFIG_SCRIPTS
infrastructure to do this.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agourg: fix license
Thomas Petazzoni [Sun, 17 Mar 2013 22:36:17 +0000 (22:36 +0000)]
urg: fix license

The urg.mk file mentions a LGPLv3+ license. However, none of the
source code in the urg package carries a copyright notice that
indicates the "v3 or later". The only license information we have is
the COPYING file, that contains the text of the LGPLv3
license. Therefore, we should probably assume that the code is under
LGPLv3 only.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonodejs: new package
Daniel Price [Thu, 7 Mar 2013 15:31:16 +0000 (15:31 +0000)]
nodejs: new package

Based off of patches posted by (and Signed-off-by:) Jonathan Liu <net147@gmail.com>

[Peter: fix Config.in whitespace]
Signed-off-by: Daniel Price <daniel.price@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoNew package: gtest
Stephan Hoffmann [Tue, 5 Feb 2013 08:16:08 +0000 (08:16 +0000)]
New package: gtest

Google's framework for writing C++ tests on a variety of platforms (Linux,
Mac OS X, Windows, Cygwin, Windows CE, and Symbian). Based on the xUnit
architecture. Supports automatic test discovery, a rich set of assertions,
user-defined assertions, death tests, fatal and non-fatal failures, value-
and type-parameterized tests, various options for running the tests, and XML
test report generation.

Gtest also allows to easily build testsuites for C programs.

This package allows running testsuites on the target which might be
advantgeous in certain cases.

http://code.google.com/p/googletest/

[Peter: Tweak Config.in, use GTEST_VERSION in _SOURCE]
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agourg: new package
Samuel Martin [Mon, 11 Mar 2013 18:58:41 +0000 (18:58 +0000)]
urg: new package

[Peter: drop 'library' from name]
Cc: Eric Jarrige <eric.jarrige@armadeus.org>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agozeromq: add PGM/EPGM support
Alexander Lukichev [Sun, 3 Mar 2013 23:48:12 +0000 (23:48 +0000)]
zeromq: add PGM/EPGM support

This adds support for Pragmatic General Multicast protocol on raw
IP (PGM, RFC 3208) or UDP frames (EPGM) for use as zeromq reliable
multicast transport. The library relies on openpgm package to
implement the protocol itself.

Signed-off-by: Alexander Lukichev <alexander.lukichev@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoopenpgm: new package
Alexander Lukichev [Sun, 3 Mar 2013 23:48:11 +0000 (23:48 +0000)]
openpgm: new package

OpenPGM is an open source implementation of the Pragmatic General
Multicast (PGM) specification in RFC 3208 available at www.ietf.org.
It is required for PGM/EPGM support in ZeroMQ library.

Signed-off-by: Alexander Lukichev <alexander.lukichev@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agozeromq: bump version to 3.2.2
Alexander Lukichev [Mon, 11 Mar 2013 01:43:09 +0000 (01:43 +0000)]
zeromq: bump version to 3.2.2

Signed-off-by: Alexander Lukichev <alexander.lukichev@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years ago<pkg>-rsync: exclude version control files
Thomas De Schampheleire [Fri, 1 Mar 2013 10:26:38 +0000 (10:26 +0000)]
<pkg>-rsync: exclude version control files

When using rsync to import package sources (typically with
PKG_OVERRIDE_SRCDIR), it often happens that these external sources
are under version control, and contain directories like .git,
.hg, etc.

Depending on the project, these directories can become pretty large
and typically have a lot of files. Moreover, they are not necessary
in the context of building the package. Therefore, this commit adds
the --cvs-exclude option to the rsync call, saving both disk space
and sync time.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoperl: bump to version 5.16.3
Francois Perrad [Tue, 12 Mar 2013 00:00:03 +0000 (00:00 +0000)]
perl: bump to version 5.16.3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: bump 3.8.x stable version
Gustavo Zacarias [Fri, 15 Mar 2013 00:51:35 +0000 (00:51 +0000)]
linux: bump 3.8.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokernel-headers: bump 3.{0, 2, 4, 8}.x stable version
Gustavo Zacarias [Fri, 15 Mar 2013 00:51:34 +0000 (00:51 +0000)]
kernel-headers: bump 3.{0, 2, 4, 8}.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: Add a load address option for building uImage on 3.7+ multi-platform kernels
Julien Boibessot [Wed, 13 Mar 2013 11:13:24 +0000 (11:13 +0000)]
linux: Add a load address option for building uImage on 3.7+ multi-platform kernels

[Peter: add quotes as suggested by Arnout]
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoussp-push: new package
Samuel Martin [Mon, 11 Mar 2013 18:58:40 +0000 (18:58 +0000)]
ussp-push: new package

Cc: Eric Jarrige <eric.jarrige@armadeus.org>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoopenobex: new package
Samuel Martin [Mon, 11 Mar 2013 18:58:39 +0000 (18:58 +0000)]
openobex: new package

Cc: Julien Boibessot <julien.boibessot@armadeus.com>
Cc: Eric Jarrige <eric.jarrige@armadeus.org>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofs/common.mk: Strip extra whitespace when device table is empty
Ezequiel Garcia [Wed, 13 Mar 2013 02:28:16 +0000 (02:28 +0000)]
fs/common.mk: Strip extra whitespace when device table is empty

Since ROOTFS_DEVICE_TABLES is a concatenation of two strings separated by
spaces, there will always be a space in it, which means it's never empty.
Therefore, when testing for empty, the condition never evaluate to false.

The following change fixes this problem; it runs qstrip on the overall
combination of the variables, causing the space to be removed if it's the
only thing left.

Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopoco: bump to 1.4.6p1
Baruch Siach [Tue, 12 Mar 2013 22:15:49 +0000 (22:15 +0000)]
poco: bump to 1.4.6p1

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopoco: needs threads
Baruch Siach [Tue, 12 Mar 2013 22:15:48 +0000 (22:15 +0000)]
poco: needs threads

Fixes
http://autobuild.buildroot.net/results/98f8ae541939bd7b44601d3ee039bbc84becea84.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agobarebox: add 2013.03.0, remove 2012.11
Fabio Porcedda [Sun, 10 Mar 2013 23:54:08 +0000 (23:54 +0000)]
barebox: add 2013.03.0, remove 2012.11

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibv4l: depends on jpeg so must select it
Arnout Vandecappelle (Essensium/Mind) [Tue, 12 Mar 2013 11:17:05 +0000 (11:17 +0000)]
libv4l: depends on jpeg so must select it

Fixes http://autobuild.buildroot.net/results/3053854fccd65bc5b28384f2a2039a33abeeea47

The introduction of the error message for the jpeg virtual package exposes
this kind of error.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoeeprog.mk: fix site
Jerzy Grzegorek [Tue, 12 Mar 2013 03:24:25 +0000 (03:24 +0000)]
eeprog.mk: fix site

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoat91bootstrap: fix upstream URL
Peter Korsgaard [Tue, 12 Mar 2013 09:52:26 +0000 (10:52 +0100)]
at91bootstrap: fix upstream URL

AT91Bootstrap 1.x seems to have disappeared from atmel.com (but return
HTML instead of a 404), so use the at91.com FTP server instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolcdproc: needs MMU
gilles.talis@gmail.com [Mon, 11 Mar 2013 07:41:24 +0000 (07:41 +0000)]
lcdproc: needs MMU

Fixes:
http://autobuild.buildroot.org/results/58d0231cc39ee6be3064906f07307b438ea4c30b

Also fixed some indentation issues

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/tzdata: new package
Richard Braun [Thu, 7 Mar 2013 11:53:41 +0000 (11:53 +0000)]
package/tzdata: new package

This is the time zone database, used by glibc for translations between
UTC and local time.

Signed-off-by: Richard Braun <rbraun@sceen.net>
[yann.morin.1998@free.fr: use global ZIC, install posix TZ only once]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/zic: new host package
Richard Braun [Thu, 7 Mar 2013 11:53:40 +0000 (11:53 +0000)]
package/zic: new host package

This is the zone information compiler, used to compile the time zone
database.

Signed-off-by: Richard Braun <rbraun@sceen.net>
[yann.morin.1998@free.fr: export ZIC for all to use]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoicu: speed up host build
Thomas Petazzoni [Sat, 9 Mar 2013 04:03:00 +0000 (04:03 +0000)]
icu: speed up host build

The host build of icu doesn't need to build everything, so we can add
a few more --disable-<foo> options to save a little bit of build time.

On a fast build server, this bring the host icu build from 2m28.517s
to 2m5.192s.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoicu: don't build object files twice
Thomas Petazzoni [Sat, 9 Mar 2013 04:02:59 +0000 (04:02 +0000)]
icu: don't build object files twice

When passed --enable-static and --enable-shared, icu will generate
both a shared and a static version of its libraries.

However, in order to do so, it builds each and every object file
twice: once with -fPIC (for the shared library), and once without
-fPIC (for the static library). While admittedly building -fPIC for a
static library generates a slightly suboptimal code, this is what all
the autotools-based project are doing. They build each object file
once, and they use it for both the static and shared libraries.

icu builds the object files for the shared library as .o files, and
the object files for static library as .ao files. By simply changing
the suffix of object files used for static libraries to ".o", we tell
icu to use the ones built for the shared library (i.e, with -fPIC),
and avoid the double build of icu.

On a fast build server, this brings the target icu build from
3m41.302s down to 1m43.926s (approximate numbers: some other builds
are running on the system at the same time).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoicu: workaround toolchain bugs
Thomas Petazzoni [Sat, 9 Mar 2013 04:02:58 +0000 (04:02 +0000)]
icu: workaround toolchain bugs

Many of ARM Sourcery CodeBench toolchain have a bug when compiling
icu's translit.cpp source file. The bug is trigerred when there is a
combination of "-W -Wall" and "-Os", and causes an internal compiler
error. The bug has been reported to Mentor Graphics.

Even though it is clearly a toolchain bug, having a workaround for it
is trivial in this case. So it will avoid our users falling into this
internal compiler error, and allow our autobuilders to test more
packages using this Sourcery CodeBench toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoflot: add fillbetween plugin
Arnaud Rébillout [Wed, 13 Feb 2013 05:25:45 +0000 (05:25 +0000)]
flot: add fillbetween plugin

Flot plugin for computing bottoms for filled line and bar charts.

[Peter: fixup help text]
Signed-off-by: Arnaud Rébillout <rebillout@syscom.ch>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/mdadm: add license information
Christophe Vu-Brugier [Thu, 7 Mar 2013 00:21:06 +0000 (00:21 +0000)]
package/mdadm: add license information

Signed-off-by: Christophe Vu-Brugier <cvubrugier@lacie.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>