buildroot.git
10 years agosispmctl: new package
Phil Eichinger [Thu, 29 May 2014 15:05:33 +0000 (17:05 +0200)]
sispmctl: new package

[Thomas:
 - Add missing select of BR2_PACKAGE_LIBUSB, since
   BR2_PACKAGE_LIBUSB_COMPAT depends on it
 - Add missing thread dependency, since libusb requires threads.
 - Add missing wide-char dependency. Without wide char support,
   sispmctl doesn't build.
 - Rewrap the Config.in help text, and remove trailing whitespaces.
 - License is GPLv2+, not GPLv2.
 - Remove --disable-dependency-tracking from <pkg>_CONF_OPT. That's a
   global, standard, autoconf option, and there's no reason to pass it
   at the per-package level.]

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoRevert "package/weston: libxkbcommon is optional"
Yann E. MORIN [Mon, 9 Jun 2014 12:15:39 +0000 (14:15 +0200)]
Revert "package/weston: libxkbcommon is optional"

This reverts commit cf1c2eb19d3eeddca04013cfa7b2107530abf054.

xkbcommon is still needed for the clients. There's no point in disabling
the clients, or weston is unusable (as packaged in Buildroot.)

Fixes:

  http://autobuild.buildroot.org/results/4e9/4e996c65f5b33d4518b0596d9c7076083d491a52/

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux-zigbee: new package
Maxime Hadjinlian [Sat, 3 May 2014 17:48:00 +0000 (19:48 +0200)]
linux-zigbee: new package

linux-zigbee is a mix of utility tools that implements a 802.15.4 stack
along with a usefull library for any program that would need to use this
stack.

Note that the name is mislead, for licensing reason, this does *NOT*
implement the ZigBee protocol.

[Thomas:
 - add dependency on threads, propagated from libnl
 - improve the Config.in description by borrowing more text from the
   upstream website
 - fix the prompt of sub-options to be more consistent, and add help
   texts where appropriate
 - fix indentation of the BR2_PACKAGE_LINUX_ZIGBEE_TESTS option help
   text
 - add missing dependencies on host-pkgconf, host-flex and host-bison
 - add missing SoB line in the patch disabling test-serial. Maxime is
   a well-known contributor, so I assumed we had his SoB.
 - fix indentation of <pkg>_CONF_OPT.
 - remove <pkg>_INSTALL_STAGING = YES since the package does not
   install any library, and the two headers it installs are available
   through the toolchain kernel headers.
 - add comment to explain <pkg>_AUTORECONF = YES.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoconfigs: bump zedboard to 2014.1
Spenser Gilliland [Tue, 27 May 2014 21:15:32 +0000 (16:15 -0500)]
configs: bump zedboard to 2014.1

Bump zedboard defconfig to version 2014.1.  This makes it possible to use
uboot-spl instead of the xilinx specific fsbl.  However, the result is kinda
hacky due to the licensing state of ps7_init.{c,h} needed for building uboot
spl.  Directions for building a proper boot.bin using the new methodolgy is
included in the readme.txt.

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoruby: remove rubygems
Gustavo Zacarias [Tue, 20 May 2014 13:44:22 +0000 (10:44 -0300)]
ruby: remove rubygems

It's currently in a non-working state since it requires a couple of
extensions that don't build at the moment (they try to execute tests in
configure) and also requires a target compiler.
So remove it to avoid false expectations and reclaim target space back
of about 1.5 MiB.

[Thomas: slightly reword comments.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoruby: add gdbm support
Gustavo Zacarias [Tue, 20 May 2014 13:44:21 +0000 (10:44 -0300)]
ruby: add gdbm support

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoruby: add psych/libyaml support
Gustavo Zacarias [Tue, 20 May 2014 13:44:20 +0000 (10:44 -0300)]
ruby: add psych/libyaml support

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocloog: remove INSTALL_STAGING = YES
Thomas Petazzoni [Mon, 9 Jun 2014 09:54:35 +0000 (11:54 +0200)]
cloog: remove INSTALL_STAGING = YES

The package is host-only, so there's no point in specifying
INSTALL_STAGING = YES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoisl: remove INSTALL_STAGING = YES
Thomas Petazzoni [Mon, 9 Jun 2014 09:54:02 +0000 (11:54 +0200)]
isl: remove INSTALL_STAGING = YES

The package is host-only, so there's no point in specifying
INSTALL_STAGING = YES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocloog: fix license details
Thomas Petazzoni [Mon, 9 Jun 2014 09:51:44 +0000 (11:51 +0200)]
cloog: fix license details

License is in fact LGPLv2.1+, and there is no LICENSE file around.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogcc: add a BR2_GCC_ENABLE_GRAPHITE option
Steve Thomas [Mon, 19 May 2014 19:48:13 +0000 (19:48 +0000)]
gcc: add a BR2_GCC_ENABLE_GRAPHITE option

The gcc graphite optimisations such as loop-interchange, blocking
and loop-flattening, also known as graphite are an optional feature of
gcc that is very well supported since about gcc version 4.5.

This patch adds support for graphite for the toolchain as an optional
flag for versions 4.8 onwards as an optional flag, that is disabled by
default.

Signed-off-by: Steve Thomas <scjthm@live.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocloog: new package
Steve Thomas [Mon, 19 May 2014 19:48:12 +0000 (19:48 +0000)]
cloog: new package

CLooG is a free software and library to generate code for scanning
Z-polyhedra.

cloog is needed for the optional graphite optimisations that are
supported by gcc since version 4.5. Therefore this package is required
for the toolchain to support graphite.

Graphite optimisations primarily involve loop blocking flattening and
interchage so are probably of mimimal use in an embedded system where
small sizes are favoured.

cloog depends on isl.

[Thomas:
 - Add patch to add missing CMake related files to the release
   tarball, preventing the build from succeeding.
 - bump to 0.18.2
 - disable libtool patch, which doesn't apply]

Signed-off-by: Steve Thomas <scjthm@live.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoisl: new package
Steve Thomas [Mon, 19 May 2014 19:48:11 +0000 (19:48 +0000)]
isl: new package

isl is a library for manipulating sets and relations of integer points
bounded by linear constraints.

isl is needed for the optional graphite optimisations that are supported
by gcc since version 4.5. Therefore this package is required for the
toolchain to support graphite.

Graphite optimisations primarily involve loop blocking flattening and
interchage so are probably of mimimal use in an embedded system where
small sizes are favoured.

[Thomas:
 - bump to 0.12.2 (cannot use 0.13, incompatible with cloog 0.18.2,
   comment added about this)
 - use .bz2 tarball
 - disable libtool patch, which doesn't apply]

Signed-off-by: Steve Thomas <scjthm@live.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofilesystems: also chown symlinks
Yann E. MORIN [Sun, 8 Jun 2014 20:02:23 +0000 (22:02 +0200)]
filesystems: also chown symlinks

Currently, the symlinks in the generated filesystems will have the
UID of the user running the build, because 'chown' does not change
the ownership of symlinks, by default.

Although the implications are limited, some may not want that UID
to leak in the generated filesystems.

So, use 'chown -h' so even symlinks get properly chowned.

Reported-by: Angelo Dureghello <angelo@barix.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: add patches to fix MIPS __SIGRTMAX and SIG127
James Hogan [Mon, 9 Dec 2013 17:05:04 +0000 (17:05 +0000)]
uclibc: add patches to fix MIPS __SIGRTMAX and SIG127

Add two uClibc 0.9.33.2 patches which fix issues relating to high signal
number handling on MIPS.

The first patch (0056) fixes _NSIG (and as a result __SIGRTMAX) to match
glibc. This fixes GDB on MIPS with uClibc, which cannot handle
__SIGRTMAX == 128 and emits the error:
GDB bug: target.c (gdb_signal_from_host): unrecognized real-time signal
This patch is from uClibc commit 2da958760f79 (MIPS: set _NSIG to
128, not 129. This matches glibc.) and applies without conflicts.

The second patch (0057) fixes the wait status macros to correctly
interpret status 0x007f on MIPS (other arches don't have signal 127).
This patch is from uClibc commit 4a96b9486871 (bits/waitstatus.h:
correctly interpret status 0x007f on MIPS) and applies without
conflicts.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: add patch to fix arch specific eventfd defs
James Hogan [Mon, 9 Dec 2013 17:05:03 +0000 (17:05 +0000)]
uclibc: add patch to fix arch specific eventfd defs

Add uClibc 0.9.33.2 patch to fix arch specific eventfd definitions,
particularly EFD_NONBLOCK. The definition in sys/eventfd.h was 04000
(0x800), however MIPS uses 0200 (0x80). This resulted in QEMU built for
MIPS hanging at various points until input is received due to a blocking
poll of stdin.

The patch is a backport of uClibc commit fd355bc1dbcb (eventfd.h: Use
new "bits/" scheme for arch-specific flags). The only conflict was minor
in Makefile.in.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/xbmc-pvr-addons: Bump version, use gotham branch
Bernd Kuhls [Mon, 9 Jun 2014 08:43:55 +0000 (10:43 +0200)]
package/xbmc-pvr-addons: Bump version, use gotham branch

Suggested by Yann:
http://lists.busybox.net/pipermail/buildroot/2014-June/098698.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/sqlite: Bump version to 3.8.5
Bernd Kuhls [Mon, 9 Jun 2014 09:04:26 +0000 (11:04 +0200)]
package/sqlite: Bump version to 3.8.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosunxi-mali: use only -I${includedir} as pkg-config Cflags
Peter Kümmel [Sun, 1 Jun 2014 10:18:28 +0000 (12:18 +0200)]
sunxi-mali: use only -I${includedir} as pkg-config Cflags

Using only -I${includedir} in common practice.

Settings only -I${includedir}/GLES2 breaks Qt5's CMake files,
because at configure time CMake only searchs the paths reported
by pkg-config, and not even /usr/include is used as default.

Even though pkg-config strips out standard include path, that's not
the case with pkgconf (which we are using) in cross-compilation,
which correctly reports the /usr/include dir prefixed with the
sysroot.

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Kümmel <syntheticpp@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoti-gfx: use only -I${includedir} as pkg-config Cflags
Peter Kümmel [Sun, 1 Jun 2014 10:18:27 +0000 (12:18 +0200)]
ti-gfx: use only -I${includedir} as pkg-config Cflags

Using only -I${includedir} in common practice.

Settings only -I${includedir}/GLES2 breaks Qt5's CMake files,
because at configure time CMake only searchs the paths reported
by pkg-config, and not even /usr/include is used as default.

Even though pkg-config strips out standard include path, that's not
the case with pkgconf (which we are using) in cross-compilation,
which correctly reports the /usr/include dir prefixed with the
sysroot.

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Kümmel <syntheticpp@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage infra: remove duplicates in dependencies list
Yann E. MORIN [Sun, 1 Jun 2014 10:28:54 +0000 (12:28 +0200)]
package infra: remove duplicates in dependencies list

Currently, we just use what a package declares as its dependencies.

But some packages may declare the same depdency more than once. For
example, php has two options to add SQL support: 'mysql' or 'mysqli',
which are not exclusive. So, php.mk has mysql twice as a dependency.

Although that does not cause any grievance for make, we end up generating
dependency graphs where this duplicate dependency is visible.

Add an intermediary variable which contains the $(sort)-ed list of the
dependencies, thus eliminating any duplicates.

This has the side effect of also sorting the list, which is probably
good for reproducibility anyway.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/x11r7/xlib_libXfont: Bump version to 1.4.8
Bernd Kuhls [Fri, 16 May 2014 03:51:37 +0000 (05:51 +0200)]
package/x11r7/xlib_libXfont: Bump version to 1.4.8

Fixes CVE-2014-0209, CVE-2014-0210 & CVE-2014-0211
http://lists.x.org/archives/xorg-announce/2014-May/002431.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/trace-cmd: bump to version 2.3.2
Romain Naour [Sun, 8 Jun 2014 16:41:30 +0000 (18:41 +0200)]
package/trace-cmd: bump to version 2.3.2

The first patch "use-pkg-config-instead-of-python-config" has been applied
upstream.

The flag _GNU_SOURCE is now always defined in Makefile, so it can be removed
from trace-cmd.mk

CPPFLAGS are appended to CFLAGS and are used to add extra flags, but the flag
_LARGEFILE64_SOURCE in TARGET_CPPFLAGS is already defined in source files,
which causes a build error. As for CFLAGS, we fix this by filtering out our
definition of _LARGEFILE64_SOURCE from the CPPFLAGS before passing them to the
trace-cmd Makefile.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofaifa: new package
Maxime Hadjinlian [Wed, 28 May 2014 13:39:06 +0000 (15:39 +0200)]
faifa: new package

faifa is a library and a cli used to manage PLC hardware that use
Intellon chipset.  Almost everybody use theses chips nowadays.

[Thomas: license is GPLv2+, not GPLv2. Fix indentation. Add dependency
on host-autoconf and a comment to explain what's going on. Fix
indentation of target/staging installation commands. Mark the package
as not available for static library builds as it always build a shared
library. Rewrap Config.in help text.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackages: replace command install by $(INSTALL)
Maxime Hadjinlian [Sun, 1 Jun 2014 12:38:01 +0000 (14:38 +0200)]
packages: replace command install by $(INSTALL)

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosshpass: new package
Gary Bisson [Sat, 31 May 2014 22:32:16 +0000 (15:32 -0700)]
sshpass: new package

[Thomas: add MMU dependency, fix license to GPLv2+.]

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowpa_supplicant: fix BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG option
Sven Neumann [Fri, 6 Jun 2014 08:16:23 +0000 (10:16 +0200)]
wpa_supplicant: fix BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG option

Signed-off-by: Sven Neumann <neumann@teufel.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl: removes useless files in target tree
Francois Perrad [Tue, 3 Jun 2014 18:46:58 +0000 (20:46 +0200)]
perl: removes useless files in target tree

$(TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE contains include files.
*.bs & .packlist files come with perl or perl/cpan packages.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodocs/manual: add the virtual packages list
Yann E. MORIN [Sun, 8 Jun 2014 14:15:17 +0000 (16:15 +0200)]
docs/manual: add the virtual packages list

Add the list of virtual packages as an appendix to the manual.

Also reference this list from appropriate locations elsewhere in
the manual:

  - in section 7.2.2. "Config.in file", after the existing explanations
    on dependencies on target and toolchain options, on a linux kernel,
    and on udev /dev management,

  - in section 7.2.10. "Infrastructure for virtual packages", in the
    provider Config.in and .mk explanations, to have the list of existing
    symbols to select (in Config.in) and packages to provide (in .mk).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/scripts: generate a list of virtual packages
Yann E. MORIN [Sun, 8 Jun 2014 14:15:16 +0000 (16:15 +0200)]
support/scripts: generate a list of virtual packages

Generate an asciidoc table that can be included in the manual, that
lists the existing virtual packages, the corresponding symbols, and
their providers (and sub-options thereof).

The core of this change is the addition of a new formatter for virtual
packages. This formatter is a bit tricky, as it has to catter for a
bunch of corner cases:
  - provider is not a package, but is sub-options of a package
  - such a sub-option may be itself 'select'-ed by one or more
    other sub-options
  - legacy packages should not be considered as a provider

Those cases are real:
  - sub-options of mesa3d provide EGL or GLES
  - selected sub-options of mesa3d provide GL
  - udev is a legacy package, but it provides udev

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/scripts: introduce a symbol formatter to generate package lists
Yann E. MORIN [Sun, 8 Jun 2014 14:15:15 +0000 (16:15 +0200)]
support/scripts: introduce a symbol formatter to generate package lists

Currently, we can generate two different tables of packages:
  - a single-column table with the symbols' prompts,
  - a two-column table with the symbols' prompts and locations in the
    menuconfig.

For virtual packages, this is not enough, since we will have to display
more columns, with different content:
  - the virtual package name (but such symbols do not have a prompt)
  - the symbol name
  - the providers for the virtual package

So, instead of having a single function that knows how to generate any
table, introduce a formatter function that is passed as argument to,
and called by format_asciidoc_table(). Such formatter functions are
responsible for providing:
  - the layout of the table (number of columns, column arrangement),
  - the formatted header line,
  - a formatted line for a symbol.

What the formatter should ouput depends on its arguments:
  - if none are passed, the layout is returned,
  - if the header label is passed, it returns the formatted header line,
  - otherwise, it returns the formatted line for a symbol.

Two formatter functions are introduced in this changeset, to replace the
current 'sub_menu' feature:
  - _format_symbol_prompt() to display a one-column table with only the
    symbols' prompts,
  - _format_symbol_prompt_location() to display a two-column table with
    the symbols' prompts and locations.

This will help us to later introduce a new formatter to generate a table
for virtual packages.

[Thanks to Samuel for his pythonistic help!]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/scripts: who's responsible to decide what is a package
Yann E. MORIN [Sun, 8 Jun 2014 14:15:14 +0000 (16:15 +0200)]
support/scripts: who's responsible to decide what is a package

When generating the package lists, the responsibility to decide what is
actually a package symbol is currently split between the _is_package(),
the get_symbol_subset() and the format_asciidoc_table() functions.

The two latter functions check that an item is really a symbol, and that
is has a prompt.

While this is currently correct for real packages, this will no longer
be the case when we also generate a list of virtual packages, since they
do not have a prompt.

Move the responsibility to verify that a symbol is indeed a package symbol
to _is_package(), so it's all in one place, and makes it easier to change
for virtual packages.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/scripts: do not display virtual packages in generated lists
Yann E. MORIN [Sun, 8 Jun 2014 14:15:13 +0000 (16:15 +0200)]
support/scripts: do not display virtual packages in generated lists

If a package has both a 'real' and a 'virtual' definition, consider it
is a virtual package and do not display it in the generated package list.

This is the case for jpeg and cryptodev, that are virtual packages, but
also real (but empty) packages used to provide a prompt to enable/disable
a choice to select an implementation. In this case, we do not want to
list the virtual packages, but only their implementations.

So, consider packages that are both real and virtual as virtual packages.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/scripts: prepare handling virtual packages in generated lists
Yann E. MORIN [Sun, 8 Jun 2014 14:15:12 +0000 (16:15 +0200)]
support/scripts: prepare handling virtual packages in generated lists

Prepare to tell apart real packages from virtual packages.

Currently, the code implicitly recognises only real packages, and
discards virtual packages, because of the heuristic used to recognise
whether a symbol is a package:

  - for real package:
    - symbols  : BR2_PACKAGE_FOO
    - .mk files: foo.mk
  - for virtual packages:
    - symbols  : BR2_PACKAGE_HAS_FOO
    - .mk files: foo.mk

The current heuristic is to check for each symbol if a corresponding .mk
file exists, by stripping 'BR2_PACKAGE_' from the beginning of the symbol,
converting the result to lowercase, and checking if a .mk file exists.

So, as a side effect, it completely misses the virtual packages [*], which
is pretty nice since we get a list with only real packages that the user
can indeed select and see in the menuconfig.

[*] Except for 'cryptodev' and 'jpeg' which are both virtual packages and
normal packages. Except they are not normal packages, they are used to
display a choice of the implementation to use. This case will be fixed in
follow-up patches.

Since we'll soon need to also output the table of virtual packages, we
need to teach the _is_package() function to recognise them as well.

This patch is the first step into that direction: it introduces a new
function _is_real_package() that is just a wrapper to _is_package(), which
gains a new parameter, being the type of packages to filter on.

No behavioural change is made in this patch, it is just a preparatory
patch.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/scripts: document args to _is_package() in gen-manual-lists
Yann E. MORIN [Sun, 8 Jun 2014 14:15:11 +0000 (16:15 +0200)]
support/scripts: document args to _is_package() in gen-manual-lists

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/scripts: prepare expanding the packages lists
Yann E. MORIN [Sun, 8 Jun 2014 14:15:10 +0000 (16:15 +0200)]
support/scripts: prepare expanding the packages lists

Move to a function the code generating the package name from a
symbol's name, to avoid code duplication.

This is not used currently, but will be in a subsequent patch.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mesa3d: rename the prompt
Yann E. MORIN [Sun, 8 Jun 2014 14:15:09 +0000 (16:15 +0200)]
package/mesa3d: rename the prompt

Rename the prompt for mesa3d so that it matches what we usually do
for prompts of packages: just name the package in lower case.

This will help generate nicer tables in the generated packages list,
both in existing tables, and in the upcoming table of virtual packages.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/jpeg: make it behave more like other virtual packages
Yann E. MORIN [Sun, 8 Jun 2014 14:15:08 +0000 (16:15 +0200)]
package/jpeg: make it behave more like other virtual packages

Currently, the virtual package jpeg is a special virtual package,
as it offers a choice for its implementation, rather than letting the
user enable them manually.

In so doing, it defines its _HAS option as a 'def_bool y' rather than
letting each implementation 'select' it.

Since we are going to generate a list of virtual packages and their
providers, this defeats the heuristic used to find providers.

Coming with an alternate heuristic that also matches the jpeg
package is quite complex, so better and easier to make it look more
like any other virtual package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/cryptodev: make it behave more like other virtual packages
Yann E. MORIN [Sun, 8 Jun 2014 14:15:07 +0000 (16:15 +0200)]
package/cryptodev: make it behave more like other virtual packages

Currently, the virtual package cryptodev is a special virtual package,
as it offers a choice for its implementation, rather than letting the
user enable them manually.

In so doing, it defines its _HAS option as a 'def_bool y' rather than
letting each implementation 'select' it.

Since we are going to generate a list of virtual packages and their
providers, this defeats the heuristic used to find providers.

Coming with an alternate heuristic that also matches the cryptodev
package is quite complex, so better and easier to make it look more
like any other virtual package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: document the new graph-depends options
Yann E. MORIN [Sun, 8 Jun 2014 14:03:53 +0000 (16:03 +0200)]
manual: document the new graph-depends options

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agograph-depends: add option to pass arbitrary dot options
Yann E. MORIN [Sun, 8 Jun 2014 14:03:52 +0000 (16:03 +0200)]
graph-depends: add option to pass arbitrary dot options

Kids nowaday seem to prefer a left-to-right drawing rather than the
more conventional and historical top-down drawing.

Rather than multiply the number of environment variables, just add
a single one where the user can pass arbitrary dot options, such as:

    make BR2_GRAPH_DOT_OPTS=-Grankdir=LR graph-depends

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agograph-depends: rename the mode constants
Yann E. MORIN [Sun, 8 Jun 2014 14:03:51 +0000 (16:03 +0200)]
graph-depends: rename the mode constants

This is ugly, since Python does not have enum constructs, so by moving
the 'type' of the constant ('MODE' here) to the beginning, we get an
artificial 'namespace' for the constants.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agograph-depends: document the 'transitive' variable
Yann E. MORIN [Sun, 8 Jun 2014 14:03:50 +0000 (16:03 +0200)]
graph-depends: document the 'transitive' variable

Although unnecessary (we already have initialisation via the parser),
initialise the 'transitive' option, and document it at the same time.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agograph-depends: add option to set the colours
Yann E. MORIN [Sun, 8 Jun 2014 14:03:49 +0000 (16:03 +0200)]
graph-depends: add option to set the colours

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Francois Perrad <fperrad@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agograph-depends: handle the depth argument in a more pythonic way
Yann E. MORIN [Sun, 8 Jun 2014 14:03:48 +0000 (16:03 +0200)]
graph-depends: handle the depth argument in a more pythonic way

Add some comment as well, enhance help text.

[thanks to Samuel for the hints to make it even more pythonic]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agographs-depends: merge redundant-dependencies elimination
Yann E. MORIN [Sun, 8 Jun 2014 14:03:47 +0000 (16:03 +0200)]
graphs-depends: merge redundant-dependencies elimination

Merge the redundant-dependencies elimination into the newly introduced
transitive-dependencies elimination.

This makes the code cleaner and much shorter, because:

  - the ('all',pkg) redundant dependency is in fact a transitive
    dependency, and we now have code to deal with that

  - the (pkg,'toolchain') dependency is easy enough to deal with that
    having a separate function for that is overkill

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agographs: add option to remove transitive dependencies in dependency graph
Yann E. MORIN [Sun, 8 Jun 2014 14:03:46 +0000 (16:03 +0200)]
graphs: add option to remove transitive dependencies in dependency graph

Currently, all the dependencies of a package are drawn on the dependency
graph, including transitive dependencies (e.g. A->B->C and A->C).

For very big graphs, with lots of packages with lots of dependencies, the
dependency graph can be very dense, and transitive dependencies are
cluttering the graph.

In some cases, only getting the "build-order" dependencies is enough (e.g.
to see what impact a package rebuild would have).

Add a new environment variable to disable drawing transitive dependencies.

Basically, it would turn this graph:

    pkg1 ---> pkg2 ---> pkg3 -------------------.
         |\__________/                 \         \
         |\____________________         \         \
         |                     \         \         \
          `-> pkg4 ---> pkg5 ---> pkg6 ---> pkg7 ---> pkg8
                    \__________/

into that graph:

    pkg1 ---> pkg2 ---> pkg3 -----------.
         |                               \
          `-> pkg4 ---> pkg5 ---> pkg6 ---> pkg7 ---> pkg8

[Thanks to Samuel for the parser hints]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agograph-depends: refactor with more colors
Francois Perrad [Sun, 8 Jun 2014 14:03:45 +0000 (16:03 +0200)]
graph-depends: refactor with more colors

Do not use the same colors for toolchain, host and target packages.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[yann.morin.1998@free.fr rephrase commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoImprove support of OpenGL for BeagleBone Black
Hadrien Boutteville [Sun, 1 Jun 2014 15:22:07 +0000 (17:22 +0200)]
Improve support of OpenGL for BeagleBone Black

Make ti-gfx working on BeagleBone Black by adding an ugly necessary
patch to the kernel wich fix:
pvrsrvkm: Unknown symbol v7_dma_map_area
pvrsrvkm: Unknown symbol v7_dma_flush_range

Add drivers to the default kernel config used in beaglebone_defconfig
to enable the framebuffer.

Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystemd: add SMACK support option.
Eric Le Bihan [Sun, 20 Apr 2014 18:54:04 +0000 (20:54 +0200)]
systemd: add SMACK support option.

A new configuration option is available in systemd menu, to enable
support for SMACK.

For this feature to properly work, systemd requires attr (build
dependency, also used for other features) and smack (runtime dependency).

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxserver_xorg-server: add support for xtensa architecture
Max Filippov [Mon, 2 Jun 2014 22:31:02 +0000 (02:31 +0400)]
xserver_xorg-server: add support for xtensa architecture

Fixes:
  http://autobuild.buildroot.net/results/143/14308a9d1806574f06ab2a7d222f53119fab1c90/
  http://autobuild.buildroot.net/results/5cc/5cceb96ac29a410316fd7d8f7de0615ba33e3f2c/

Backported from: dc8d0688471695ec5a8db5fef93fbcfc064891d5
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxserver_xorg-server: add ordering prefix to patches
Max Filippov [Mon, 2 Jun 2014 22:31:01 +0000 (02:31 +0400)]
xserver_xorg-server: add ordering prefix to patches

This is to keep patch application order correct and to comply with
documentation.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/xbmc: use poweroff to poweroff the RPi
Yann E. MORIN [Wed, 4 Jun 2014 17:12:21 +0000 (19:12 +0200)]
package/xbmc: use poweroff to poweroff the RPi

Using "poweroff" instead of "halt" has the side advantage of flashing
the "ACT" LED 10 times (@ ~1Hz) to instruct the user when it is safe
to unplug the power supply.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystemd: bump to v213
Eric Le Bihan [Wed, 4 Jun 2014 21:40:49 +0000 (23:40 +0200)]
systemd: bump to v213

This patch bumps systemd to v213.

This new version introduces systemd-timesyncd, a SNTP daemon. This
feature can be enabled if systemd-networkd is selected via the
configuration menu. It is a simple alternative to ntpd, useful for
machines without a RTC.

The patch for reverting the use of --relative option when calling `ln`
has been refreshed, as the configure script now checks if `ln` supports
the --relative option and fails if it does not.

Another patch for the proper deactivation of gtk-doc has been added.

All these steps now require an autoreconf.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/trace-cmd: update download url
Romain Naour [Thu, 5 Jun 2014 22:07:17 +0000 (00:07 +0200)]
package/trace-cmd: update download url

The git repository has been moved to http://www.kernel.org/pub/ which
allows to use $(BR2_KERNEL_MIRROR)

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agorpi-userland: cleanup *_CONF_OPT
Samuel Martin [Wed, 4 Jun 2014 23:04:13 +0000 (01:04 +0200)]
rpi-userland: cleanup *_CONF_OPT

This change reverts the commit 5e3b1f31b3f82e3b163567f10d7131c9d649a2cf
because rpi-userland is correctly built whatever the value of the
BUILD_SHARED_LIBS CMake flags.

The cset 5e3b1f31b3f82e3b163567f10d7131c9d649a2cf originally intends to
fix linkage/runtime failure in xbmc package because of missing flags in
xbmc LIBS env. var. This has been fixed in the previous patch.

So, for rpi-userland package, BUILD_SHARED_LIBS does no longer need to
be forced to OFF, and can safely be driven by the CMake infrastructure.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agorpi-userland: add patch fix missing libvcilcs install rules
Samuel Martin [Wed, 4 Jun 2014 23:04:12 +0000 (01:04 +0200)]
rpi-userland: add patch fix missing libvcilcs install rules

This change adds a patch fix the missing install rules for libvcilcs.

This is a pre-requisite to be able to build the shared libraries of the
rpi-userland package, and most importantly avoid linkage failure (at
link-time and/or runtime) in others libraries that link with it.

Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxbmc: fix missing libraries from rpi-userland
Samuel Martin [Wed, 4 Jun 2014 23:04:11 +0000 (01:04 +0200)]
xbmc: fix missing libraries from rpi-userland

When rpi-userland libraries are built as shared-objects, not all needed
libraries are passed in the LD_FLAGS, leading to failure at linkage.

To avoid this issue, set the LIBS variable content in accordance with the
INCLUDES variable value.

The commit 5e3b1f31b3f82e3b163567f10d7131c9d649a2cf currently works
around this issue by forcing rpi-userland to be statically linked,
whereas it is actually a LIBS flags problem in xbmc package.

A follow-up patch fixes rpi-userland package.

Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libcec: fix missing libraries from rpi-userland
Yann E. MORIN [Wed, 4 Jun 2014 23:04:10 +0000 (01:04 +0200)]
package/libcec: fix missing libraries from rpi-userland

When rpi-userland libraries are built as shared-objects, not all needed
libraries are passed in the LD_FLAGS, leading to failure at linkage.

To avoid this issue, set the LIBS variable content in accordance with
INCLUDES variable value.

This is needed because libcec does not use pkg-config to look for the
ldflags needed for -lbcm_host, even though bcm_host provides a .pc
file (even a correct one!)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Tested-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxbmc-addon-xvdr: bump to a version compatible with XBMC Gotham
Bernd Kuhls [Sat, 7 Jun 2014 12:31:09 +0000 (14:31 +0200)]
xbmc-addon-xvdr: bump to a version compatible with XBMC Gotham

Removed patch applied upstream.

[Thomas: fix typo noticed by Yann.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxbmc-pvr-addons: bump to a version compatible with XBMC Gotham
Bernd Kuhls [Sat, 7 Jun 2014 12:31:08 +0000 (14:31 +0200)]
xbmc-pvr-addons: bump to a version compatible with XBMC Gotham

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxbmc: bump version to 13.1
Bernd Kuhls [Sat, 7 Jun 2014 12:31:07 +0000 (14:31 +0200)]
xbmc: bump version to 13.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomesa3d: Bump version to 10.2.1, fix xa build
Bernd Kuhls [Sat, 7 Jun 2014 12:31:10 +0000 (14:31 +0200)]
mesa3d: Bump version to 10.2.1, fix xa build

Building xa requires at least one non swrast gallium driver, needed since:
http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?h=10.2&id=e283e966660fdf037be6353dc96b7f63b8aa315a

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxbmc: hdmi cec supports needs udev for device scanning
Bernd Kuhls [Sat, 7 Jun 2014 12:31:06 +0000 (14:31 +0200)]
xbmc: hdmi cec supports needs udev for device scanning

libcec support in xbmc compiles without udev being linked to libcec,
but it is useless because xbmc uses libcec´s udev support for scanning
connected CEC devices since:
https://github.com/xbmc/xbmc/commit/59171c7a030f8a9c913abbce931967a6a8ff6897

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxbmc: add host-yasm dependency for MMX/64bit archs
Bernd Kuhls [Sat, 7 Jun 2014 12:31:04 +0000 (14:31 +0200)]
xbmc: add host-yasm dependency for MMX/64bit archs

Fixes error during xbmc configure:

yasm not found, use --disable-yasm for a crippled build

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
configure: error: Submodule lib/ffmpeg failed to configure

This will be needed for 13.0 Gotham.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxbmc: add host-nasm dependency
Bernd Kuhls [Sat, 7 Jun 2014 12:31:03 +0000 (14:31 +0200)]
xbmc: add host-nasm dependency

Fixes:
checking for nasm... no
configure: error: Could not find a required program. Please see the README for your platform.

This will be needed for 13.0 Gotham.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxbmc: add host-gettext dependency
Bernd Kuhls [Sat, 7 Jun 2014 12:31:02 +0000 (14:31 +0200)]
xbmc: add host-gettext dependency

AUTOPOINT=/bin/true does not work anymore since
https://github.com/xbmc/xbmc/commit/42017cba7a62a0cf16896b061a25a25d392e1e46

config.status: error: cannot find input file: `Makefile.in'
configure: error: Submodule lib/cpluff failed to configure

This will be needed for 13.0 Gotham.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux: bump to version 3.14.6
Gustavo Zacarias [Sun, 8 Jun 2014 11:17:10 +0000 (08:17 -0300)]
linux: bump to version 3.14.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux-headers: bump 3.{4,10,14}.x series
Gustavo Zacarias [Sun, 8 Jun 2014 11:17:09 +0000 (08:17 -0300)]
linux-headers: bump 3.{4,10,14}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomdadm: bump to version 3.3.1
Gustavo Zacarias [Sat, 7 Jun 2014 18:20:39 +0000 (15:20 -0300)]
mdadm: bump to version 3.3.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agospawn-fcgi: bump to version 1.6.4
Gustavo Zacarias [Sat, 7 Jun 2014 18:20:20 +0000 (15:20 -0300)]
spawn-fcgi: bump to version 1.6.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomusl: security bump to version 1.1.2
Gustavo Zacarias [Fri, 6 Jun 2014 23:49:37 +0000 (20:49 -0300)]
musl: security bump to version 1.1.2

Fixes CVE-2014-3484 (stack-based buffer overflow in DNS response
parsing).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobinutils: arc: Fix native binutils build failure
Anton Kolesov [Fri, 6 Jun 2014 09:56:24 +0000 (13:56 +0400)]
binutils: arc: Fix native binutils build failure

ARC-specific Makefile has been ignoring DESTDIR when doing target "install".
This has been causing build failure for native binutils, since it was trying
to install into the host's "/usr". This commit adds a patch that teaches
Makefile to honor DESTDIR. This patch should be removed after ARC Binutils
will be bumped to next release.

This fixes:
http://autobuild.buildroot.net/results/68ee094509db3e8fbedf9bab5745ff68cdfe0a84/

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobarebox: bump to version 2014.06.0
Fabio Porcedda [Fri, 6 Jun 2014 09:05:57 +0000 (11:05 +0200)]
barebox: bump to version 2014.06.0

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoRemove user "default"
Stephan Hoffmann [Thu, 5 Jun 2014 08:30:50 +0000 (10:30 +0200)]
Remove user "default"

User "default" with no password has been around for long time, but not
used within buildroot. Since we now have BR2_ROOTFS_USERS_TABLES it is
no longer needed.

Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoavahi: run as avahi user/group instead of default
Peter Korsgaard [Fri, 6 Jun 2014 22:00:16 +0000 (00:00 +0200)]
avahi: run as avahi user/group instead of default

Create an avahi specific user/group and use it instead of the global
'default' one, so it can be removed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoBump live555 to 2014.05.27
Xh Xiao [Thu, 5 Jun 2014 15:38:01 +0000 (10:38 -0500)]
Bump live555 to 2014.05.27

Update live555 to newer version

Signed-off-by: xxiao <xxiao8@fosiao.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenssl: security bump to version 1.0.1h
Baruch Siach [Thu, 5 Jun 2014 14:36:47 +0000 (17:36 +0300)]
openssl: security bump to version 1.0.1h

Fixes CVE-2014-0224, CVE-2014-0221, CVE-2014-0195, CVE-2014-0198 among others.
See https://www.openssl.org/news/secadv_20140605.txt for details.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohostapd: explain internal TLS version selection
Baruch Siach [Thu, 5 Jun 2014 14:24:19 +0000 (17:24 +0300)]
hostapd: explain internal TLS version selection

Should have no functional change.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohostapd: bump to version 2.2
Baruch Siach [Thu, 5 Jun 2014 14:24:18 +0000 (17:24 +0300)]
hostapd: bump to version 2.2

Drop upstream patch.
CONFIG_IEEE80211W is now enabled by default.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowpa_supplicant: bump to version 2.2
Gustavo Zacarias [Thu, 5 Jun 2014 12:34:09 +0000 (09:34 -0300)]
wpa_supplicant: bump to version 2.2

Patches are now upstream.

Enable epoll support since any modern kernel/toolchain supports it.

Interworking requires Hotspot functionality which we didn't enable
before so introduce a new option for them.

While at it group and sort the options in a more lean and friendly way.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-bottle: security bump to version 0.12.7
Gustavo Zacarias [Thu, 5 Jun 2014 10:51:35 +0000 (07:51 -0300)]
python-bottle: security bump to version 0.12.7

Fixes CVE-2014-3137.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/gst1-libav: disable on avr32
Yann E. MORIN [Wed, 4 Jun 2014 21:25:14 +0000 (23:25 +0200)]
package/gst1-libav: disable on avr32

gst1-libav produces particularly large binaries, and the relocations
needed for it do not fit in the possible relocation mechanisms
available on avr32. Let's just disable it.

Fixes:
    http://autobuild.buildroot.net/results/15e/15e31d92848b53f001bd6acde71409af3091215c/

[Peter: drop tvheadend hunk]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobusybox: enable noclobber option in install.sh
Danomi Manchego [Wed, 4 Jun 2014 01:53:24 +0000 (21:53 -0400)]
busybox: enable noclobber option in install.sh

We support a busybox-menuconfig target so that the BusyBox
configuration can be adjusted as needed.  However, depending
on what other packages are enabled, re-installing BusyBox
symlinks that duplicate "real" apps after the configuration
change can result in bad behaviors:

* At best, the BusyBox applet will be used after the
install, versus the desired "real" app.

* At worst, the built rootfs can become unbootable.

The BusyBox install.sh has some capability to avoid this issue
by means of a --noclobber option.  By default, this option is
disabled.  When enabled, the install.sh will not overwrite a
target file with a symlink or hardlink, be it an actual file
or a previously installed BusyBox link.

The install.sh's argument processing is somewhat broken, so this
patch simply changes the default value of the noclobber option
to on, rather than add --noclobber to the install.sh invocation.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobusybox: use SED macro instead of 'sed -i'
Danomi Manchego [Wed, 4 Jun 2014 01:53:23 +0000 (21:53 -0400)]
busybox: use SED macro instead of 'sed -i'

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolite/Config.in: indentation cleanup
Jerzy Grzegorek [Tue, 3 Jun 2014 07:48:24 +0000 (09:48 +0200)]
lite/Config.in: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: make consistent references to package metadata information
Simon Dawson [Mon, 2 Jun 2014 16:02:45 +0000 (17:02 +0100)]
manual: make consistent references to package metadata information

The de facto standard terminology in the manual appears to be "package
metadata information"; fix a couple of inconsistent references to package
"meta-information" and "meta information".

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoreplace github with GitHub
Simon Dawson [Mon, 2 Jun 2014 15:55:59 +0000 (16:55 +0100)]
replace github with GitHub

The correct capitalisation pattern is "GitHub"; fix manual and makefile
commentary.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohostapd: backport rt5370 fix from upstream
Peter Korsgaard [Wed, 4 Jun 2014 21:06:30 +0000 (23:06 +0200)]
hostapd: backport rt5370 fix from upstream

Fixes #7166

hostapd crashes with segfault when using RT5370. This is because the driver
reports Beacon RX prior to hostapd having completed the AP mode setup.

This upstream commit fixes it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/w_scan: needs kernel headers >= 3.3
Yann E. MORIN [Wed, 4 Jun 2014 20:24:35 +0000 (22:24 +0200)]
package/w_scan: needs kernel headers >= 3.3

w_scan needs SYS_DVBC_ANNEX_C, introduced in Linux 3.3.

Fixes:
    http://autobuild.buildroot.net/results/143/143960dc6de5377567dd2a383becc5a7bca90b41/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoe2fsprogs: fix quota parallel build issue
Gustavo Zacarias [Wed, 4 Jun 2014 10:21:20 +0000 (07:21 -0300)]
e2fsprogs: fix quota parallel build issue

Missing quota.o dependencies, patch already upstream. Fixes:
http://autobuild.buildroot.net/results/aac/aac7b4e3becfc0db5e50ff45d28376f35a9131af/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoe2fsprogs: bump to version 1.42.10
Gustavo Zacarias [Tue, 3 Jun 2014 23:15:56 +0000 (20:15 -0300)]
e2fsprogs: bump to version 1.42.10

Drop --disable-tls since it's not needed.

Add --disable-rpath to avoid unnecessary pollution.

e4defrag now needs an (e)glibc or musl toolchain because of
sync_file_range()
See e2fsprogs commit 58229aaf85d435469e901c974f31ead6d9124166

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofs/common.mk: unbreak .xz compression when host-xz isn't built
Peter Korsgaard [Wed, 4 Jun 2014 06:33:17 +0000 (08:33 +0200)]
fs/common.mk: unbreak .xz compression when host-xz isn't built

Closes #7160

Since f46f81de1315 (Don't build host-xz needlessly), host-xz is no longer
unconditionally built when xz fs compression is requested, so don't
explicitly refer to it.

Instead, rely on our check-host-xzcat logic to ensure xz is available and
set the path to ensure our host variant gets picked up if not available on
the build machine.

While we're at it, get rid of the now unused XZ variable.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogrep: bump to version 2.20
Gustavo Zacarias [Tue, 3 Jun 2014 22:11:11 +0000 (19:11 -0300)]
grep: bump to version 2.20

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agompd: add optional avahi support
Peter Korsgaard [Tue, 3 Jun 2014 21:50:33 +0000 (23:50 +0200)]
mpd: add optional avahi support

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agooprofile: bump to version 0.9.9
Alexey Brodkin [Tue, 20 May 2014 14:54:36 +0000 (18:54 +0400)]
oprofile: bump to version 0.9.9

Relese notes for 0.9.9 release are avaialble here:
http://oprofile.sourceforge.net/release-notes/oprofile-0.9.9

This release adds support for ARC architecture.

Also introduces new "ocount" program for collection of raw event counts.

With release of 0.9.9 we may drop back-ported patches:
oprofile-002-no-query-modules.patch - liblegacy was removed since 2.4 kernels
are no longer supported
http://sourceforge.net/p/oprofile/oprofile/ci/fcb818623bf1a638ef4f93dca9e90f8651899bf3/

oprofile-003-oprofile-ppc32-build-fix.patch
http://sourceforge.net/p/oprofile/oprofile/ci/fa889ea74b6b931e241a8cd57e90edc23cd7ab03/

oprofile-004-fix-ppc64-specific-libpfm-usage.patch
http://sourceforge.net/p/oprofile/oprofile/ci/79a183ed0d9611955714bfa1d6edb361d6bf5c2c/

oprofile-005-fix-up-configure-to-handle-architectures-that-do-not.patch
http://sourceforge.net/p/oprofile/oprofile/ci/ca6d916a6f8f0f8abbb4c9b6a97dd1a1615bb124/

But in 0.9.9 was introduced build breakage which was fixed later so adding
another back-ported patch
oprofile-002-Fix-compile-error-on-ppc-uClibc-platform-AT_BASE_PLA.patch
http://sourceforge.net/p/oprofile/oprofile/ci/08241f1b2c5a4d48020c82b509dc1076f51bf0bd/

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Simon Dawson <spdawson@gmail.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcgroup: bump to version 0.41 and use LIBCGROUP_VERSION
Kim De Mey [Tue, 3 Jun 2014 12:52:30 +0000 (14:52 +0200)]
libcgroup: bump to version 0.41 and use LIBCGROUP_VERSION

Signed-off-by: Kim De Mey <kim.demey@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/imagemagick: remove upstreamed patch
Romain Naour [Tue, 3 Jun 2014 21:03:18 +0000 (23:03 +0200)]
package/imagemagick: remove upstreamed patch

The patch has been applied in the 6.8.9-2 version.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibwebsockets: needs mmu
Gustavo Zacarias [Tue, 3 Jun 2014 20:21:46 +0000 (17:21 -0300)]
libwebsockets: needs mmu

Fixes:
http://autobuild.buildroot.net/results/92d/92d29c3f8ab0686c6de765c108937240a6649d18/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibnftnl: add uclinux configure patch
Gustavo Zacarias [Tue, 3 Jun 2014 20:11:03 +0000 (17:11 -0300)]
libnftnl: add uclinux configure patch

Fixes:
http://autobuild.buildroot.net/results/848/848331218676b4e2be78f805ba3a74cfaf87c56f/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>