buildroot.git
10 years agopackage/musepack: add sequence number in patch names
Samuel Martin [Sun, 31 Aug 2014 19:55:19 +0000 (21:55 +0200)]
package/musepack: add sequence number in patch names

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libplist: fix static link
Samuel Martin [Sun, 31 Aug 2014 19:55:17 +0000 (21:55 +0200)]
package/libplist: fix static link

- libplist depends on libm and optionally on zlib and libiconv (via
  libxml2), so add a patch fixing the build-system that way
- disable shared object build when BR2_PREFER_STATIC_LIB is set

Fixes:
  http://autobuild.buildroot.net/results/9a3/9a364e3d91634a2da2bc481da1dee0ad0e870941/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/yajl: fix static link
Samuel Martin [Sun, 31 Aug 2014 19:55:16 +0000 (21:55 +0200)]
package/yajl: fix static link

- disable shared object build when BR2_PREFER_STATIC_LIB is set

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/yajl: add sequence number in patch names
Samuel Martin [Sun, 31 Aug 2014 19:55:15 +0000 (21:55 +0200)]
package/yajl: add sequence number in patch names

Also remove the package version from the patch names.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/cmake: add host-pkgconf as dependency
Samuel Martin [Sun, 31 Aug 2014 19:55:14 +0000 (21:55 +0200)]
package/cmake: add host-pkgconf as dependency

Since some CMake modules (even upstream ones) use pgk_check_modules
primitives to find {C,LD}FLAGS, add it to the dependency list.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual/user guide/customization: rework section on rootfs customization
Thomas De Schampheleire [Sun, 31 Aug 2014 13:14:30 +0000 (15:14 +0200)]
manual/user guide/customization: rework section on rootfs customization

This patch reworks the section on root filesystem customization as follows:
- use labeled list instead of bulleted list to clarify the different methods
- move rootfs overlay and post-build scripts to the top and label them as
  recommended.
- split post-image to a separate section, as it is not related to the target
  filesystem customization
- line up post-build and post-image explanations, for example regarding
  working directory of the script
- general expansion of some of the explanation
- general rewording

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystemd: fix endian detection for powerpc
Peter Korsgaard [Sun, 31 Aug 2014 19:36:52 +0000 (21:36 +0200)]
systemd: fix endian detection for powerpc

Fixes http://autobuild.buildroot.net/results/d53/d5305af6e47da7a577e391c96328ca952c149cd1/

Apply two patches from upstream git to fix powerpc endian detection. These patches
are already part of systemd v216, so they should be dropped when the package
is bumped.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp-*: get tarball from sources.buildroot.net
Peter Korsgaard [Sun, 31 Aug 2014 19:10:57 +0000 (21:10 +0200)]
php-*: get tarball from sources.buildroot.net

pecl.php.net seems to have a database issue and returns a html page instead
of the tarball.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp-gnupg: get tarball from sources.buildroot.net
Peter Korsgaard [Sun, 31 Aug 2014 19:06:22 +0000 (21:06 +0200)]
php-gnupg: get tarball from sources.buildroot.net

pecl.php.net seems to have a database issue and returns a html page instead
of the tarball.

Fixes http://autobuild.buildroot.net/results/3b6/3b6c53ecbd8d25307ed77b29bffa62f5395f1981/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp-geoip: get tarball from sources.buildroot.net
Peter Korsgaard [Sun, 31 Aug 2014 19:02:35 +0000 (21:02 +0200)]
php-geoip: get tarball from sources.buildroot.net

pecl.php.net seems to have a database issue and returns a html page instead
of the tarball.

Fixes http://autobuild.buildroot.net/results/c56/c56b3bf6c141b2b9b9062816bec559b2529534a1/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/xscreensaver: fix linking with intl
Romain Naour [Wed, 27 Aug 2014 21:53:21 +0000 (23:53 +0200)]
package/xscreensaver: fix linking with intl

xscreensaver doesn't build with (e)glibc toolchain when gettext package is
selected.

With (e)glibc libintl is provided by the libc whereas with uClibc it's provided
by gettext.

If "LIBS=-lintl" is removed from XSCREENSAVER_CONF_ENV, then the -lintl is
missing during xscreensaver build if the toolchain needs gettext.

xscreensaver.o: In function `main':
undefined reference to `libintl_bindtextdomain'
undefined reference to `libintl_textdomain'

Backport a patch applied in 5.28 that fix linking issue with intl and remove
"LIBS=-lintl" from XSCREENSAVER_CONF_ENV.

Note:
gettext package is always selected with xscreensaver when BR2_NEEDS_GETTEXT is
set due to dependencies on libgtk2 and libglib2.

Fixes:
http://autobuild.buildroot.net/results/39b/39b6ad07ad59d87afeca6e427c69f580bed35700/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/mesa3d: fix comment about i965 DRI driver
Yann E. MORIN [Sat, 30 Aug 2014 21:56:29 +0000 (23:56 +0200)]
package/mesa3d: fix comment about i965 DRI driver

The help entry for the i965 DRI driver states that it supports alll
Intel GPUs. That's not true, as at least the i915 series is not handled
by this driver, but by a separate one.

Fix the help text accordingly; remove the useless second part of the
help text (which does not mean much for Buildroot.)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibgpgme: Take into account that gnupg and gnupg2 are mutual exclusive
Vicente Olivert Riera [Thu, 28 Aug 2014 12:16:21 +0000 (13:16 +0100)]
libgpgme: Take into account that gnupg and gnupg2 are mutual exclusive

Avoid that libgpgme can select the gnupg package although gnupg2 has
been already selected. Both packages are mutual exclusive and shouldn't
be selected at the same time.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libwebsockets: fix static link
Samuel Martin [Sat, 30 Aug 2014 09:52:24 +0000 (11:52 +0200)]
package/libwebsockets: fix static link

- disable shared object build when BR2_PREFER_STATIC_LIB is set

Fixes:
  http://autobuild.buildroot.net/results/0a9/0a9f0c3c101550e73f7100f2b88a88c1f2bbad95/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libiqrf: fix static link
Samuel Martin [Sat, 30 Aug 2014 09:52:23 +0000 (11:52 +0200)]
package/libiqrf: fix static link

- libiqrf depends on pthread, so add a patch fixing the build-system that way
- disable shared object build when BR2_PREFER_STATIC_LIB is set

Fixes:
  http://autobuild.buildroot.net/results/210/2108f37e4a41af0b527c78e646e82f1cafa0353d/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libdaemon: add patch to fix build with the musl C library
Jörg Krause [Sat, 30 Aug 2014 20:15:39 +0000 (22:15 +0200)]
package/libdaemon: add patch to fix build with the musl C library

Adds a patch to the package libdaemon which removes an error when building
libdaemon against the musl C library.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobtrfs-progs: bump to version 3.16, fix static linking
Thomas Petazzoni [Sat, 30 Aug 2014 12:51:44 +0000 (14:51 +0200)]
btrfs-progs: bump to version 3.16, fix static linking

The original aim of this patch was to fix static linking of
btrfs-progs. In order to implement this in the form of patches that
can potentially be upstreamed, this patch first bumps the btrfs-progs
package to the latest upstream stable version. It then:

 - Reworks the existing documentation disabling patch in a form that
   can potentially be upstreamed.

 - Adds a patch to support static building of the btrfs-progs
   binaries.

Both patches have been submitted upstream, see
http://article.gmane.org/gmane.comp.file-systems.btrfs/38145.

Fixes:

  http://autobuild.buildroot.org/results/ddc/ddcc70143ce2c2882894184e4ce195a11407e027/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual/user guide/customization: rework section on BR2_EXTERNAL
Thomas De Schampheleire [Fri, 29 Aug 2014 19:50:41 +0000 (21:50 +0200)]
manual/user guide/customization: rework section on BR2_EXTERNAL

This patch reworks the section on BR2_EXTERNAL as follows:
- move note about upstreaming to the chapter introduction
- streamline the section with the previously added section 'Recommended
  directory structure', avoiding duplication.
- use $(BR2_EXTERNAL) rather than BR2_EXTERNAL when referring to file paths.
- some general rewording

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual/user guide/customization: add section with recommended dir structure
Thomas De Schampheleire [Fri, 29 Aug 2014 19:50:40 +0000 (21:50 +0200)]
manual/user guide/customization: add section with recommended dir structure

Although the user is free to choose where to put project-specific files, the
presentation 'Using Buildroot for real projects' [1] first described a
certain recommendation.
This patch briefly describes this recommendation in the form of a directory
structure overview, the details will be added in subsequent patches.

Since the section on BR2_EXTERNAL is logically connected to the directory
structure, this section is moved right after it.

[1] http://elinux.org/images/2/2a/Using-buildroot-real-project.pdf

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual/user guide/customization: expand introduction text
Thomas De Schampheleire [Fri, 29 Aug 2014 19:50:39 +0000 (21:50 +0200)]
manual/user guide/customization: expand introduction text

This patch expands the introduction text of chapter 'Project-specific
customization' by listing the type of customizations that can be performed
by a project.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/upmpdcli: disable for Blackfin GNU Toolchain
Jörg Krause [Mon, 25 Aug 2014 20:36:45 +0000 (22:36 +0200)]
package/upmpdcli: disable for Blackfin GNU Toolchain

Those toolchains use gcc <= 4.3, which do not support required C++11 features.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolftp: add missing host-pkgconf dependency
Thomas Petazzoni [Fri, 29 Aug 2014 07:51:48 +0000 (09:51 +0200)]
lftp: add missing host-pkgconf dependency

lftp configure.ac uses PKG_CHECK_MODULES, so it must have host-pkgconf
in its dependency, otherwise the autoreconf step fails due to the lack
of pkg.m4.

Fixes:

  http://autobuild.buildroot.org/results/b16/b16d964f275d4d8703665236b969cc19f7ef20be/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoexim: requires thread support
Thomas Petazzoni [Fri, 29 Aug 2014 07:32:07 +0000 (09:32 +0200)]
exim: requires thread support

Fixes:

  http://autobuild.buildroot.net/results/98a1acb58665e6cd2df354fc63afef1d4606c6e0/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoruby: should not use dl_iterate_phdr() on Blackfin
Thomas Petazzoni [Thu, 28 Aug 2014 22:17:38 +0000 (00:17 +0200)]
ruby: should not use dl_iterate_phdr() on Blackfin

The dl_iterate_phdr() C library function on Blackfin returns a
non-conventional structure format compared to other architectures,
which makes Ruby unable to use it. Since it's just an optional feature
of Ruby apparently used to generate more fancy backtraces, this commit
simply disables the usage of dl_iterate_phdr() on this architecture.

Fixes:

  http://autobuild.buildroot.org/results/1b0/1b0e2f5f95889eb26846927da45d128247d0ed89/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoruby: requires shared library
Thomas Petazzoni [Thu, 28 Aug 2014 22:17:37 +0000 (00:17 +0200)]
ruby: requires shared library

No matter what you do, the Ruby build system wants to use shared
libraries for the encoding modules. Therefore, this commit disallows
the selection of Ruby in BR2_PREFER_STATIC_LIB situations.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibroxml: fix pthread linking issue
Peter Korsgaard [Fri, 29 Aug 2014 06:59:01 +0000 (08:59 +0200)]
libroxml: fix pthread linking issue

Fixes http://autobuild.buildroot.net/results/d18/d188bcf5c374273ffe09589f7db5a40e4c5d7bc9/

Thread handling can get disabled with --disable-xml-thread-safe, but that's
a change for next.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxapp_luit: needs MMU
Bernd Kuhls [Wed, 27 Aug 2014 19:44:44 +0000 (21:44 +0200)]
xapp_luit: needs MMU

Fixes
http://autobuild.buildroot.net/results/13a/13a97461e3b6098e59cfcd829e6bcafa51e50bb4/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouboot-tools: add patch to fix (no)stripping on non-ELF platforms
Thomas Petazzoni [Wed, 27 Aug 2014 12:38:08 +0000 (14:38 +0200)]
uboot-tools: add patch to fix (no)stripping on non-ELF platforms

On Blackfin FLAT, stripping does not exist, but recent U-Boot versions
nonetheless try to strip and fail if they cannot do so. This commit
adds a U-Boot patch (submitted upstream) that solves this issue.

Fixes:

  http://autobuild.buildroot.org/results/153/1530f8247d1652da5779994f298141b1572ce74f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxapp_xfs: needs MMU
Thomas Petazzoni [Wed, 27 Aug 2014 11:55:20 +0000 (13:55 +0200)]
xapp_xfs: needs MMU

Fixes:

  http://autobuild.buildroot.net/results/7a89f79499e167cc98449a045604d25d4fc88484/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowebkit: disable on SuperH
Thomas Petazzoni [Wed, 27 Aug 2014 11:54:22 +0000 (13:54 +0200)]
webkit: disable on SuperH

Webkit has been failing on SuperH since a long time, with nobody
caring to fix the problem. Since anyway our Webkit version is old and
in the process of being updated, our best option for 2014.08 is to
simply disallow Webkit on SuperH.

Fixes:

  http://autobuild.buildroot.org/results/3a0/3a0c48f65c06f7f19e608d54307c0788a0130589/
  http://autobuild.buildroot.org/?reason=webkit-1.11.5&arch=sh4a

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoperl-gd: mark as broken
Thomas Petazzoni [Wed, 27 Aug 2014 11:51:59 +0000 (13:51 +0200)]
perl-gd: mark as broken

perl-gd doesn't build on gcc10 due to the host Perl being a bit
old. This shows a defiency in the perl package infrastructure, which
is being worked on. However, since it won't be solved before 2014.08,
our only solution for now is to mark perl-gd as broken, as well as its
reverse dependency perl-gdgraph.

Avoids:

  http://autobuild.buildroot.org/results/228/228b43e67e683cecfa3851a8a030d06e9fdc6dac/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/mpd: opus plugin needs libogg as well
Jörg Krause [Tue, 26 Aug 2014 09:26:28 +0000 (11:26 +0200)]
package/mpd: opus plugin needs libogg as well

Fixes http://autobuild.buildroot.net/results/492/4924194292a428a295ded2f7aa0b9a3f81ed1b4a/

The opus decoder plugin depends on libopus and libogg.

[Peter: reworded commit message]
Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibev: don't install event.h
Gustavo Zacarias [Tue, 26 Aug 2014 11:36:17 +0000 (08:36 -0300)]
libev: don't install event.h

It's a 'compatibility layer' with libevent which we:
1) Don't need
2) Possibly outdated with respect to libevent2
3) Causes build failures

Fixes:
http://autobuild.buildroot.net/results/451/4510fe02ef3497803ed27bf339dca07b3b073c10/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoUpdate for 2014.08-rc3
Peter Korsgaard [Tue, 26 Aug 2014 08:26:38 +0000 (10:26 +0200)]
Update for 2014.08-rc3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/infra: fix downloading versions with a slash
Yann E. MORIN [Tue, 19 Aug 2014 17:21:15 +0000 (19:21 +0200)]
package/infra: fix downloading versions with a slash

Since cset 54456cc (infra: consistently use double dollar signs...), it
is no longer possible to download versions with a slash in it, because
the _DL_VERSION variable is second-expanded, but the _VERSION variable
is immediately-expanded to have '/' substitued with '_'.

So, _DL_VERSION is only expanded at the time it is evaluated, and by
that time, we've lost the slashes in _VERSION.

Make the _DL_VERSION variables immediately-evaluated.

Fixes:
    https://bugs.busybox.net/show_bug.cgi?id=7328

Reported-by: Vincent Stehlé <vincent.stehle@freescale.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vincent Stehlé <vincent.stehle@freescale.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libinput: fix build with libevdev
Romain Naour [Sun, 24 Aug 2014 16:53:05 +0000 (18:53 +0200)]
package/libinput: fix build with libevdev

libevdev and libinput use the same function name (log_msg).
An easy fix is to rename one of the two functions.

Fixes:
http://autobuild.buildroot.net/results/b1e/b1ea94f09d6f7459e3d7794c4a62bbdbb53d5da6/build-end.log

[Thomas: slightly reword the patch description.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libevas-generic-loaders: needs zlib
Romain Naour [Sun, 24 Aug 2014 16:53:04 +0000 (18:53 +0200)]
package/libevas-generic-loaders: needs zlib

Fixes:
http://autobuild.buildroot.net/results/5d4/5d41cec63a15dc5f31460c8cecd6054119ddb1fc/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/procps-ng: fix linking with intl
Romain Naour [Thu, 21 Aug 2014 13:56:07 +0000 (15:56 +0200)]
package/procps-ng: fix linking with intl

procps-ng doesn't build with (e)glibc toolchain when gettext package is
selected.

With (e)glibc libintl is provided by the libc whereas with uClibc it's provided
by gettext.

Linking with intl is only needed if the toolchain needs gettext and locale is
set.

Fixes:
http://autobuild.buildroot.net/results/3e8/3e8464e0b00ce22fa02a6337159fca250d86425c/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agophp: security bump to version 5.5.16
Gustavo Zacarias [Fri, 22 Aug 2014 13:49:03 +0000 (10:49 -0300)]
php: security bump to version 5.5.16

Fixes:
CVE-2014-3538 - Extensive backtracking in rule regular expression
CVE-2014-3587 - Segfault in cdf.c
CVE-2014-2497 - php-gd 'c_color' NULL pointer dereference
CVE-2014-5120 - Null byte injection possible with imagexxx functions
CVE-2014-3597 - segfault in dns_get_record

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: file organization: rename files to match new section title
Thomas De Schampheleire [Wed, 20 Aug 2014 19:39:54 +0000 (21:39 +0200)]
manual: file organization: rename files to match new section title

After the renaming of some sections, rename the corresponding files for
clarity.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: file organization: avoid unnecessary indirection
Thomas De Schampheleire [Wed, 20 Aug 2014 19:39:53 +0000 (21:39 +0200)]
manual: file organization: avoid unnecessary indirection

Some source files of the manual merely contain inclusion of other files.
Especially at top-level this is unnecessary, and one could just as well add
these includes in manual.txt.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual/user guide: rework 'Configuration of other components' chapter
Thomas De Schampheleire [Wed, 20 Aug 2014 19:39:52 +0000 (21:39 +0200)]
manual/user guide: rework 'Configuration of other components' chapter

This patch reworks the chapter 'Configuration of other components' as
follows:
- remove separate customize-xxx-config.txt files in favor of one shared file
  configure-other-componenents.txt
- use labeled list instead of separate sections, as the information in each
  section is limited.
- simplify instructions for busybox/uclibc thanks to the kconfig-package
  infrastructure
- rewrite instructions for Linux
- add instructions for Barebox

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual/user guide: move tip on configuration searches
Thomas De Schampheleire [Tue, 19 Aug 2014 19:41:48 +0000 (21:41 +0200)]
manual/user guide: move tip on configuration searches

This patch moves the tip on searching in the configuration editors into the
section 'Buildroot configuration', which is more logical.

The wording of that section is slightly adapted to fit this new part.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual/user guide: high-level restructuring
Thomas De Schampheleire [Tue, 19 Aug 2014 19:41:47 +0000 (21:41 +0200)]
manual/user guide: high-level restructuring

This patch performs some additional restructuring of the manual,
specifically in the User Guide. In detail:

- Rename 'Daily use' to 'General Buildroot usage'
- Move chapters 'make tips', 'Eclipse integration', and 'Advanced usage' as
  sections under the 'General Buildroot usage' chapter.
- Rename 'Details on Buildroot configuration' into 'Buildroot configuration'
- Rework the 'Customization' section as follows:
  - Move the short section on debugging the external toolchain wrapper into
    the rest of the explanation on external toolchains.
  - Remove the now redundant section on toolchains, as this is already
    explained in much more detail in the 'Buildroot configuration' chapter.
  - Move the sections on busybox/uclibc/kernel configuration from chapter
    'Customization' into a separate chapter 'Configuration of other
    components'.
  - Rename the remaining part of the original 'Customization' chapter into
    'Project-specific customization' and fold it together with the next
    chapter 'Storing the configuration'
- Remove the chapter 'Going further in Buildroot innards' thanks to:
  - Moving the chapter 'How Buildroot works' to the Developer guide.
  - Moving the 'Advanced Buildroot usage' section to the 'General Buildroot
    usage' chapter.
- Remove the chapter 'Hacking Buildroot' by:
  - Adding a reference to adding packages to the 'Project-specific
    customizations' chapter
  - Leaving out the explicit reference to creating board support, as this is
    part of the previous chapter already, so an extra reference is
    redundant.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual/getting started: minor improvements to 'Using Buildroot' section
Thomas De Schampheleire [Tue, 19 Aug 2014 19:41:46 +0000 (21:41 +0200)]
manual/getting started: minor improvements to 'Using Buildroot' section

This patch renames the section 'Using Buildroot' into 'Buildroot quick
start' as real details about Buildroot usage will be in the User Guide
rather than in 'Getting Started'.

Additionally, add a cross-reference to the section about configuring
Buildroot.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/ltris: fix linking with intl
Romain Naour [Tue, 19 Aug 2014 17:43:56 +0000 (19:43 +0200)]
package/ltris: fix linking with intl

ltris doen't build with (e)glibc toolchain since commit 454a41016f2f074b69e2c677f4749c213c653e86
when gettext package is selected.

With (e)glibc libintl is provided by the libc whereas with uClibc it's provided by gettext.

Linking with intl is only needed if the toolchain needs gettext and locale is set.

Fixes:
http://autobuild.buildroot.net/results/821/82128cb9f5cd6ae2595a8302462f1b5719dad9f7/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/lbreakout2: fix linking with intl
Romain Naour [Wed, 20 Aug 2014 11:25:21 +0000 (13:25 +0200)]
package/lbreakout2: fix linking with intl

lbreakout2 doen't build with (e)glibc toolchain when gettext package is selected.

With (e)glibc libintl is provided by the libc whereas with uClibc it's provided by gettext.

Linking with intl is only needed if the toolchain needs gettext and locale is set.

Fixes:
http://autobuild.buildroot.net/results/a77/a77dd3e18cc4a5e8300ab33eb532cc03d0156f7f/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agousb_modeswitch: more descriptive help text
Jonathan Ben Avraham [Thu, 21 Aug 2014 11:42:59 +0000 (14:42 +0300)]
usb_modeswitch: more descriptive help text

Provides a fuller description of the USB_ModeSwitch functionality for
the benefit of the otherwise clueless.

[Thomas: minor formatting and wording fixes.]

Signed-off-by: Jonathan Ben-Avraham <yba@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/xmlstarlet: fix static linking
Romain Naour [Mon, 18 Aug 2014 21:35:42 +0000 (23:35 +0200)]
package/xmlstarlet: fix static linking

The static linking with libxml2 and lib(e)xslt (--enable-static-libs)
need to be enabled when BR2_PREFER_STATIC_LIB is set.

Fixes:
http://autobuild.buildroot.net/results/0fd/0fd4a65ab98a4cf3fe893c29628608a71e96ecbc/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotvheadend: fix undefined variable in error print
Danomi Manchego [Wed, 20 Aug 2014 01:20:47 +0000 (21:20 -0400)]
tvheadend: fix undefined variable in error print

The variable "$SCRIPTNAME" is undefined; replace with "$0".

Also, fix "Stopping" spelling.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agontp: fix undefined variable in error print
Danomi Manchego [Wed, 20 Aug 2014 01:20:46 +0000 (21:20 -0400)]
ntp: fix undefined variable in error print

The variable "$SCRIPTNAME" is undefined; replace with "$0".

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogstreamer{, 1}: fix unaligned access detection for arc
Alexey Brodkin [Wed, 20 Aug 2014 15:04:47 +0000 (19:04 +0400)]
gstreamer{, 1}: fix unaligned access detection for arc

Fixes the same issue as reported for microblaze here
http://autobuild.buildroot.net/results/f49/f4914bb3999c8a7a0c0a2afdac5de40fb9058372/

Similar to the existing handling for avr32, microblaze and xtensa.
Also add it for gstreamer1 for good measure as it was missing there as well.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoimagemagick: Disable OpenMP
Benoît Thébaudeau [Wed, 20 Aug 2014 16:49:25 +0000 (18:49 +0200)]
imagemagick: Disable OpenMP

By default (i.e. without adding libgomp.so* to
BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS), if an external toolchain with libgomp
support is used, then libgomp is installed to staging/ , but not to target/ .
Consequently, with such a toolchain, imagemagick's configure detected libgomp as
supported and enabled its usage for the build stage, but then it failed to run
on the target because libgomp was missing. This is the bug #7322.

Disable OpenMP for imagemagick as a temporary workaround, until a better long
term solution is agreed on and implemented.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/gutenprint: replaces -static with -static-libtool-libs
Romain Naour [Sun, 17 Aug 2014 22:35:58 +0000 (00:35 +0200)]
package/gutenprint: replaces -static with -static-libtool-libs

gutenprint rely on the original behaviour of -static, but since commit
in buildroot "support/libtool: make -static behave like -all-static" [1],
the build of genppd is broken.

genppd need to be build statically otherwise the following warning appears:
***WARNING: Use of --disable-static-genppd or --disable-static
            when building CUPS is very dangerous.  The build may
            fail when building the PPD files, or may *SILENTLY*
            build incorrect PPD files or cause other problems.
            Please review the README and release notes carefully!

[1] http://git.buildroot.net/buildroot/commit/?id=97703978ac870ce2b14ad144f8e082de82aa2c64

Fixes:
http://autobuild.buildroot.net/results/55f/55f78104d7a5d11baf5650ac12aaa1b23c2b7743/build-end.log
http://autobuild.buildroot.net/results/fc8/fc8cfe3f27ceaca70c7471c44305317c66cb0eea/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch: remove no-longer default on atomics option
Yann E. MORIN [Sun, 17 Aug 2014 19:30:03 +0000 (21:30 +0200)]
arch: remove no-longer default on atomics option

Now that all architectures explicitly select this option when it makes
sense, there is no need to have a default value.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/xtensa: always has atomic ops
Yann E. MORIN [Sun, 17 Aug 2014 19:30:02 +0000 (21:30 +0200)]
arch/xtensa: always has atomic ops

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/x86: all x86 but i386 has atomics operations
Yann E. MORIN [Sun, 17 Aug 2014 19:30:01 +0000 (21:30 +0200)]
arch/x86: all x86 but i386 has atomics operations

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/sparc: always has atomic ops
Yann E. MORIN [Sun, 17 Aug 2014 19:30:00 +0000 (21:30 +0200)]
arch/sparc: always has atomic ops

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/sh: always has atomic ops
Yann E. MORIN [Sun, 17 Aug 2014 19:29:59 +0000 (21:29 +0200)]
arch/sh: always has atomic ops

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/powerpc: always has atomic ops
Yann E. MORIN [Sun, 17 Aug 2014 19:29:58 +0000 (21:29 +0200)]
arch/powerpc: always has atomic ops

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/nios2: always has atomic ops
Yann E. MORIN [Sun, 17 Aug 2014 19:29:57 +0000 (21:29 +0200)]
arch/nios2: always has atomic ops

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/mips: always has atomic ops
Yann E. MORIN [Sun, 17 Aug 2014 19:29:56 +0000 (21:29 +0200)]
arch/mips: always has atomic ops

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/microblaze: always has atomic ops
Yann E. MORIN [Sun, 17 Aug 2014 19:29:55 +0000 (21:29 +0200)]
arch/microblaze: always has atomic ops

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/m68k: always has atomic ops
Yann E. MORIN [Sun, 17 Aug 2014 19:29:54 +0000 (21:29 +0200)]
arch/m68k: always has atomic ops

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/bfin: always has atomic ops
Yann E. MORIN [Sun, 17 Aug 2014 19:29:53 +0000 (21:29 +0200)]
arch/bfin: always has atomic ops

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/avr32: always has atomic ops
Yann E. MORIN [Sun, 17 Aug 2014 19:29:52 +0000 (21:29 +0200)]
arch/avr32: always has atomic ops

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/arm: always has atomic ops
Yann E. MORIN [Sun, 17 Aug 2014 19:29:51 +0000 (21:29 +0200)]
arch/arm: always has atomic ops

armv6 and above all have one sort of atomic ops or another. For armv5
and below, they are emulated, either as a kernel trap, a kernel VDSO,
or compiler intrinsics.

Aarch64 is just armv8, so make it a single commit. ;-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomsgpack: add dependency on atomic operations
Anton Kolesov [Sun, 17 Aug 2014 19:29:50 +0000 (21:29 +0200)]
msgpack: add dependency on atomic operations

This fixes:
http://autobuild.buildroot.net/results/44849a386cefb8899f4560296bfbbd8ea19ee910/

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
[yann.morin.1998@free.fr: use the new symbol; remove comment strings]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibftdi: add dependency on atomic operations
Anton Kolesov [Sun, 17 Aug 2014 19:29:49 +0000 (21:29 +0200)]
libftdi: add dependency on atomic operations

This fixes:
http://autobuild.buildroot.net/results/6cb25ed954840109c9d0e582e922b0ba9d07e174/

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
[yann.morin.1998@free.fr: use the new symbol; remove comment strings]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopulseaudio: add dependency on atomic operations
Anton Kolesov [Sun, 17 Aug 2014 19:29:48 +0000 (21:29 +0200)]
pulseaudio: add dependency on atomic operations

This fixes:
http://autobuild.buildroot.net/results/d463f3bf730a600a07ed6cd33695bf45e9fd3540/

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
[yann.morin.1998@free.fr: use the new symbol; remove comment strings]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocairo: add dependency on atomic operations
Anton Kolesov [Sun, 17 Aug 2014 19:29:47 +0000 (21:29 +0200)]
cairo: add dependency on atomic operations

This fixes:
http://autobuild.buildroot.net/results/fadfaa9916724d310d0dda555a1db31bee1601d0/

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
[yann.morin.1998@free.fr: use the new symbol; remove comment strings;
 fix weston's comment]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: document dependencies on atomic operations
Anton Kolesov [Sun, 17 Aug 2014 19:29:46 +0000 (21:29 +0200)]
manual: document dependencies on atomic operations

Add atomic operations to the list of generic dependencies.

Since this is an architecture option, there is no comment string to be
added.

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
[yann.morin.1998@free.fr: use the new arch-option; remove comment string]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain: drop the now-unused old BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
Yann E. MORIN [Sun, 17 Aug 2014 19:29:45 +0000 (21:29 +0200)]
toolchain: drop the now-unused old BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS

It's now been replaced with BR2_ARCH_HAS_ATOMICS, annd all packages have
been changed to use that instead.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/thrift: use the new ARCH_HAS_ATOMICS as dependency
Yann E. MORIN [Sun, 17 Aug 2014 19:29:44 +0000 (21:29 +0200)]
package/thrift: use the new ARCH_HAS_ATOMICS as dependency

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/jack2: use the new ARCH_HAS_ATOMICS as dependency
Yann E. MORIN [Sun, 17 Aug 2014 19:29:43 +0000 (21:29 +0200)]
package/jack2: use the new ARCH_HAS_ATOMICS as dependency

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libtorrent: use the new ARCH_HAS_ATOMICS as dependency
Yann E. MORIN [Sun, 17 Aug 2014 19:29:42 +0000 (21:29 +0200)]
package/libtorrent: use the new ARCH_HAS_ATOMICS as dependency

And propagate to the reverse dependencies of libtorrent

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/icu: use the new ARCH_HAS_ATOMICS as dependency
Yann E. MORIN [Sun, 17 Aug 2014 19:29:41 +0000 (21:29 +0200)]
package/icu: use the new ARCH_HAS_ATOMICS as dependency

And propagate to the reverse dependencies of icu.
Also, fix beecrypt's comment: only the C++ support needs atomics.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch: add an option to specify if the arch has atomic ops
Yann E. MORIN [Sun, 17 Aug 2014 19:29:40 +0000 (21:29 +0200)]
arch: add an option to specify if the arch has atomic ops

The fact that atomic operations are available is not really a
specificity of the toolchain, but rather of the architecture.

So, add a new option that architectures that have atomic operations
can select. This in turn selects the current toolchain atomic option,
until all packages have been converted, at which point the old
toolchain option can be removed.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodocs/manual: update documentation about gettext handling
Thomas Petazzoni [Sat, 16 Aug 2014 13:47:22 +0000 (15:47 +0200)]
docs/manual: update documentation about gettext handling

This commit updates the Buildroot manual regarding how gettext related
issues are handled, now that we have cases where the gettext package
should be selected even with glibc toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoecryptfs-utils: select gettext, needed for command line utilities
Thomas Petazzoni [Sat, 16 Aug 2014 13:47:21 +0000 (15:47 +0200)]
ecryptfs-utils: select gettext, needed for command line utilities

The ecryptfs-utils package requires the 'gettext' program, which is
provided by the gettext package, to get translated strings. This is
needed regardless of whether the toolchain uses glibc or uClibc.

This issue was reported by 'ausjke' on IRC.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogettext: allow building when BR2_NEEDS_GETTEXT is not selected
Thomas Petazzoni [Sat, 16 Aug 2014 13:47:20 +0000 (15:47 +0200)]
gettext: allow building when BR2_NEEDS_GETTEXT is not selected

Until now, we thought that gettext was only needed for the target for
uClibc toolchains, to provide the gettext functions that are normally
provided directly by glibc.

However, the gettext runtime actually does more than providing the
equivalent of those C library functions: it also provides certain
command line tools, like 'gettext' to get translated strings from the
shell. This tool is for example used by certain ecryptfs-utils scripts
to get translated strings. It is therefore necessary to be able to
build the gettext package even for glibc toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoUpdate for 2014.08-rc2
Peter Korsgaard [Sun, 17 Aug 2014 23:04:16 +0000 (01:04 +0200)]
Update for 2014.08-rc2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodocs/news.html: add 2014.08-rc1 announcement link
Peter Korsgaard [Sun, 17 Aug 2014 22:53:30 +0000 (00:53 +0200)]
docs/news.html: add 2014.08-rc1 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/xbmc-pvr-addons: Bump version
Bernd Kuhls [Sun, 17 Aug 2014 22:00:30 +0000 (00:00 +0200)]
package/xbmc-pvr-addons: Bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/xbmc: Bump version to 13.2
Bernd Kuhls [Sun, 17 Aug 2014 22:00:29 +0000 (00:00 +0200)]
package/xbmc: Bump version to 13.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agompd: Add missing config option for plugin MAD
Joerg Krause [Mon, 11 Aug 2014 11:42:54 +0000 (13:42 +0200)]
mpd: Add missing config option for plugin MAD

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agompd: Set enable/disable config option for all plugins
Joerg Krause [Mon, 11 Aug 2014 11:42:53 +0000 (13:42 +0200)]
mpd: Set enable/disable config option for all plugins

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agompd: Fix config option for plugin FLAC
Joerg Krause [Mon, 11 Aug 2014 11:42:52 +0000 (13:42 +0200)]
mpd: Fix config option for plugin FLAC

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agompd: Fix config option for plugin FAAD2
Joerg Krause [Mon, 11 Aug 2014 11:42:51 +0000 (13:42 +0200)]
mpd: Fix config option for plugin FAAD2

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopostgresql: remove devfiles from target
Floris Bos [Wed, 13 Aug 2014 13:57:10 +0000 (15:57 +0200)]
postgresql: remove devfiles from target

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual/getting started: rework 'Using Buildroot' section
Thomas De Schampheleire [Tue, 12 Aug 2014 20:20:13 +0000 (22:20 +0200)]
manual/getting started: rework 'Using Buildroot' section

This patch does some general rewording of the 'Using buildroot' section
of the manual.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual/getting started: rework 'Getting Buildroot' section
Thomas De Schampheleire [Tue, 12 Aug 2014 20:20:12 +0000 (22:20 +0200)]
manual/getting started: rework 'Getting Buildroot' section

This patch reworks the 'Getting Buildroot' section of the manual as follows:
- be more specific on the Buildroot release cycle
- refer to the download page of the website for details on snapshots and
  git, instead of duplicating the information.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowebsite/download: update daily snapshot section
Thomas De Schampheleire [Tue, 12 Aug 2014 20:20:11 +0000 (22:20 +0200)]
website/download: update daily snapshot section

This patch makes some minor changes to the download page of the website:
- don't capitalize Daily Snapshots as there is no reason to.
- remove extra link to daily snapshots, as this link is already available on
  the line below.
- add a link to the latest snapshot
- avoid 'Click here', especially if 'here' is not clickable

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual/getting started: rework 'System requirements' section
Thomas De Schampheleire [Tue, 12 Aug 2014 20:20:10 +0000 (22:20 +0200)]
manual/getting started: rework 'System requirements' section

This patch reworks the requirements section of the manual as follows:
- some general rewording
- move configuration editor dependencies above the download tools, as this
  is the first thing people come in contact with.
- move sentence regarding -dev packages to configuration editor dependencies
  and restrict to 'libraries'.
- clarify the download tools part.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual/getting started: rework 'Community resources' section
Thomas De Schampheleire [Tue, 12 Aug 2014 20:20:09 +0000 (22:20 +0200)]
manual/getting started: rework 'Community resources' section

This patch reworks the section 'Community resources' as follows:
- use a labeled list instead of subsections, as the content of each section
  is so small that it does not deserve a real section.
  Related to this, the anchors for each of these subsections are removed, as
  referencing such anchors that do not correspond to a section boundary are
  not displayed nicely.
- move the part about applying patches from patchwork to the Contributing
  section in the Developer Guide
- reword some parts of the text
- add link texts to some links, instead of showing the URL directly, to make
  the HTML / PDF display nicer.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual/getting started: rename and move 'Getting involved' section
Thomas De Schampheleire [Tue, 12 Aug 2014 20:20:08 +0000 (22:20 +0200)]
manual/getting started: rename and move 'Getting involved' section

The Getting Involved section is actually an overview of the ways to interact
with the Buildroot community, which is useful for developers _and_ users.
Therefore, this patch moves the section from the Developer Guide to the
Getting Started section, and renames it to 'Community Resources'.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: remove 'Events' section
Thomas De Schampheleire [Tue, 12 Aug 2014 20:20:07 +0000 (22:20 +0200)]
manual: remove 'Events' section

The list of buildroot events is outdated, a sign that the manual is not the
best place to refer to timely things like events. The wiki page is better
suited for such information.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: high-level restructuring
Thomas De Schampheleire [Tue, 12 Aug 2014 20:20:06 +0000 (22:20 +0200)]
manual: high-level restructuring

The structure of the buildroot manual is not always clear. There is a large
number of chapters, and some chapters seem to overlap. The distinction
between general usage and developer information is not always clear.

This patch restructures the manual into four large parts:
- getting started
- user guide
- developer guide
- appendix

Except for the names of these parts, the section names are not yet changed.
Content-wise there are no changes yet either. This will be handled in
subsequent patches.

In order to achieve the introduction of a new level 'parts' above
'chapters', the section indicators (=, ==, ===, ...) of several sections
have to be moved one level down. Additionally, the leveloffset indication to
asciidoc has to be removed. Finally, to maintain more or less the same level
of detail in the table of contents, the toc.section.depth attribute is
reduced as well. Note that for some sections, less detail is visible now.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodependencies: Reject gcj in BR2_NEEDS_HOST_JAVA check
Bernd Kuhls [Sat, 16 Aug 2014 09:44:38 +0000 (11:44 +0200)]
dependencies: Reject gcj in BR2_NEEDS_HOST_JAVA check

Xbmc uses the Groovy java package to generate API code, for details see
http://wiki.xbmc.org/index.php?title=Codegeneration#How_it_works

Groovy itself is broken when used with gcj:
http://jira.codehaus.org/browse/GROOVY-3701

Xbmc recommends to use another java package instead, like openjdk:
http://forum.xbmc.org/showthread.php?tid=199742

Until we come up with a host package to provide a java setup and
in order to make autobuilder happy let´s reject gcj when we check
for a java installation on the host.

Currently Xbmc is the only package using BR2_NEEDS_HOST_JAVA
so changing the behaviour of dependencies.sh has no side effects.

Fixes
http://autobuild.buildroot.net/results/213/213d7454a1dc68cfb8f4c8d9508f52ebf8e58e33/
http://autobuild.buildroot.net/results/639/639cda872cf36c122cbd6139dd76f6b51ac1864e/
http://autobuild.buildroot.net/results/c9e/c9eb12c95b2939c64590692a82af8d84bbd90956/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/nut: fix parallel install
Yann E. MORIN [Sun, 17 Aug 2014 10:03:12 +0000 (12:03 +0200)]
package/nut: fix parallel install

Fixes:
    http://autobuild.buildroot.net/results/256/2567e13cd5bc702bc3a38a1d6fc8e34022cc7db5/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>