buildroot.git
7 years agolibv4l: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:53:30 +0000 (22:53 +0200)]
libv4l: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibuio: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:53:04 +0000 (22:53 +0200)]
libuio: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibidn: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:52:20 +0000 (22:52 +0200)]
libidn: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibgpg-error: use the new gettext logic
Thomas Petazzoni [Tue, 4 Jul 2017 10:31:20 +0000 (12:31 +0200)]
libgpg-error: use the new gettext logic

This commit switches to use the new gettext logic, which involves
using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
on gettext/host-gettext.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibglib2: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:51:50 +0000 (22:51 +0200)]
libglib2: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agolibftdi1: use the new gettext logic
Thomas Petazzoni [Tue, 4 Jul 2017 10:30:13 +0000 (12:30 +0200)]
libftdi1: use the new gettext logic

This commit switches to use the new gettext logic, which involves
using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
on gettext/host-gettext.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibconfuse: use the new gettext logic
Thomas Petazzoni [Tue, 4 Jul 2017 10:28:51 +0000 (12:28 +0200)]
libconfuse: use the new gettext logic

This commit switches to use the new gettext logic, which involves
using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
on gettext/host-gettext.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolbreakout2: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:51:10 +0000 (22:51 +0200)]
lbreakout2: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokbd: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:50:17 +0000 (22:50 +0200)]
kbd: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agojson-glib: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:49:51 +0000 (22:49 +0200)]
json-glib: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agohttping: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:48:15 +0000 (22:48 +0200)]
httping: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogrep: use the new gettext logic
Thomas Petazzoni [Tue, 4 Jul 2017 10:25:08 +0000 (12:25 +0200)]
grep: use the new gettext logic

This commit switches to use the new gettext logic, which involves
using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
on gettext/host-gettext.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agognuchess: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:47:09 +0000 (22:47 +0200)]
gnuchess: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogmpc: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:47:03 +0000 (22:47 +0200)]
gmpc: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoglib-networking: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:46:50 +0000 (22:46 +0200)]
glib-networking: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogit: use the new gettext logic
Thomas Petazzoni [Tue, 4 Jul 2017 10:26:02 +0000 (12:26 +0200)]
git: use the new gettext logic

This commit switches to use the new gettext logic, which involves
using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
on gettext/host-gettext.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogdbm: use the new gettext logic
Thomas Petazzoni [Tue, 4 Jul 2017 10:28:29 +0000 (12:28 +0200)]
gdbm: use the new gettext logic

This commit switches to use the new gettext logic, which involves
using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on
gettext/host-gettext.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoflex: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 15:06:30 +0000 (17:06 +0200)]
flex: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofetchmail: use the new gettext logic
Thomas Petazzoni [Tue, 4 Jul 2017 10:19:02 +0000 (12:19 +0200)]
fetchmail: use the new gettext logic

This commit switches to use the new gettext logic, which involves
using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on
gettext/host-gettext.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoexiv2: use the new gettext logic
Thomas Petazzoni [Tue, 4 Jul 2017 10:26:53 +0000 (12:26 +0200)]
exiv2: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using BR2_SYSTEM_ENABLE_NLS instead of BR2_ENABLE_LOCALE to decide
   if NLS support should be enabled or not

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoelfutils: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:46:28 +0000 (22:46 +0200)]
elfutils: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefibootmgr: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:45:53 +0000 (22:45 +0200)]
efibootmgr: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

 - dropping BR2_PACKAGE_GETTEXT selection

The BR2_USE_WCHAR dependency was needed for gettext, now that we no
longer need gettext, we can also get rid of this dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodropwatch: use new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:43:53 +0000 (22:43 +0200)]
dropwatch: use new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of relying on binutils
   depending on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodos2unix: use new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 14:59:50 +0000 (16:59 +0200)]
dos2unix: use new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

 - dropping BR2_PACKAGE_GETTEXT selection

In addition, we now use BR2_SYSTEM_ENABLE_NLS instead of
BR2_ENABLE_LOCALE to decide if NLS support should be enabled or
disabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodnsmasq: use new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:42:08 +0000 (22:42 +0200)]
dnsmasq: use new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoding-libs: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:41:25 +0000 (22:41 +0200)]
ding-libs: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

The BR2_USE_WCHAR dependency was only needed for gettext. But now, we
no longer need gettext unconditionally, so this dependency on
BR2_USE_WCHAR is removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodiffutils: use new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:41:14 +0000 (22:41 +0200)]
diffutils: use new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocurlftpfs: use new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:41:06 +0000 (22:41 +0200)]
curlftpfs: use new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocryptsetup: use new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:40:58 +0000 (22:40 +0200)]
cryptsetup: use new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocoreutils: use the new gettext logic
Thomas Petazzoni [Tue, 4 Jul 2017 10:28:00 +0000 (12:28 +0200)]
coreutils: use the new gettext logic

This commit uses TARGET_NLS_DEPENDENCIES instead of existing logic to
add the dependency on gettext. To keep the existing behavior, we keep
the --with-libintl-prefix option, but only when a libintl library is
effectively provided by gettext.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoclamav: use new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:40:46 +0000 (22:40 +0200)]
clamav: use new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobinutils: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:40:02 +0000 (22:40 +0200)]
binutils: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl. This wasn't
   done so far, but is needed for the build to work, because uClibc
   now has a stub gettext implementation, which is mistaken as being
   the full gettext implementation by the configure script

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoaxel: use the new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 15:08:25 +0000 (17:08 +0200)]
axel: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

 - dropping BR2_PACKAGE_GETTEXT selection

Note that -lpthread is no longer needed for -lintl, but axel uses
pthread directly anyway, so we have to keep -lpthread as part of
LDFLAGS.

Finally, we now use BR2_SYSTEM_ENABLE_NLS to decide whether NLS
support should be enabled or not.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoavahi: use new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 20:39:02 +0000 (22:39 +0200)]
avahi: use new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoalsa-utils: use new gettext logic
Thomas Petazzoni [Mon, 3 Jul 2017 19:14:53 +0000 (21:14 +0200)]
alsa-utils: use new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoRevert "gettext: build libintl unconditionally for uClibc/musl"
Thomas Petazzoni [Tue, 4 Jul 2017 23:25:59 +0000 (01:25 +0200)]
Revert "gettext: build libintl unconditionally for uClibc/musl"

This reverts commit 431d00abc1ffd0db287f0392e45229a53db7a187, which in
fact doesn't work for static linking situations, as can be seen in:

  http://autobuild.buildroot.net/results/a6a4039f23a6fbd2bdb5938bcef097a7310452cc/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/kvazaar: needs BR2_TOOLCHAIN_HAS_SYNC_4
Romain Naour [Tue, 4 Jul 2017 23:08:57 +0000 (01:08 +0200)]
package/kvazaar: needs BR2_TOOLCHAIN_HAS_SYNC_4

./.libs/libkvazaar.so: undefined reference to `__sync_add_and_fetch_4'

Fixes:
http://autobuild.buildroot.net/results/b39/b39a82a2e4106c5ec55c288415e73043a872a0b1

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/kvazaar: needs C++ compiler
Romain Naour [Tue, 4 Jul 2017 23:08:56 +0000 (01:08 +0200)]
package/kvazaar: needs C++ compiler

Even if there is only one CPP file src/extras/crypto.cpp which should
be disabled by --without-cryptopp, kvazaar fail to build the shared
library libkvazaar.so when no C++ compiler is available.

checking whether we are using the GNU C++ compiler... no

Fixes:
[microblazel] http://autobuild.buildroot.net/results/5d1/5d140ed95e292f73b6770a5e5be717df844e4830
[arm] http://autobuild.buildroot.net/results/c55/c55b973502b9b88643ae9fca11447b547148275d

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/kvazaar: add host-pkgconf dependency
Romain Naour [Tue, 4 Jul 2017 23:08:55 +0000 (01:08 +0200)]
package/kvazaar: add host-pkgconf dependency

The build system use PKG_CHECK_MODULES.

checking pkg-config is at least version 0.9.0... ./configure: line 16886: output/host/usr/bin/pkg-config: No such file or directory
no

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mke2img: remove package
Sébastien Szymanski [Tue, 4 Jul 2017 14:47:29 +0000 (16:47 +0200)]
package/mke2img: remove package

Now that we use mkfs to generate ext2/3/4 filesystem image by calling
mkfs directly from fs/ext2/ext2.mk, we can remove this package.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofs/ext2: use mkfs to generate rootfs image
Sébastien Szymanski [Tue, 4 Jul 2017 14:47:26 +0000 (16:47 +0200)]
fs/ext2: use mkfs to generate rootfs image

mkfs is now capable of generating rootfs images. Use mkfs instead of
genext2fs.

If not set, we now let mkfs calculate the block size and the number of
inodes needed.

This change also adjusts the options to meet those of mkfs.

Notes:
* Passing a null inode number to mkfs triggers its automatic calculation.
* Passing a fs-size with no unit suffix to mkfs is interpreted as using
  1K block size.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: don't pass PATH when calling mkfs.ext, just call it directly
from $(HOST_DIR)/usr/sbin, as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofs/ext2: deprecate BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES option
Samuel Martin [Tue, 4 Jul 2017 14:47:25 +0000 (16:47 +0200)]
fs/ext2: deprecate BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES option

Soon, the ext{2,3,4} rootfs image will no longer be generated with
genext2fs, but using mke2fs instead which has no support for the extra
inode number option.

So, deprecate the BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES option and
recommend, in lieu, to set the total inode number, taking account of
the extra ones if needed.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agognutls: bump to version 3.5.14
Peter Korsgaard [Tue, 4 Jul 2017 21:46:19 +0000 (23:46 +0200)]
gnutls: bump to version 3.5.14

Bugfix release, see the release notes for the fixes:

https://lists.gnupg.org/pipermail/gnutls-devel/2017-July/008469.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoutils/brmake: print the error code of the build
Yann E. MORIN [Tue, 4 Jul 2017 21:53:15 +0000 (23:53 +0200)]
utils/brmake: print the error code of the build

Since the stdout and stderr streams are redirected, it is not
immediately obvious when a build failed, even though brmake really exits
with the same error code as make did.

When there is an error, print the exit code after the elapsed time.

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/ratpoison: needs MMU
Romain Naour [Tue, 4 Jul 2017 21:53:39 +0000 (23:53 +0200)]
package/ratpoison: needs MMU

Fixes:
http://autobuild.buildroot.net/results/10c/10c0a41275ba53473c89881990ba608b7550b23a

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogettext: build libintl unconditionally for uClibc/musl
Thomas Petazzoni [Tue, 4 Jul 2017 22:11:10 +0000 (00:11 +0200)]
gettext: build libintl unconditionally for uClibc/musl

Only the initial patches of the gettext series have been applied, and
a bisectability problem has arised: when BR2_SYSTEM_ENABLE_NLS is
disabled, which is the default, gettext no longer builds libintl.

However, since packages have not yet been updated to the new gettext
logic, they still try to link against libintl, because they rely on
BR2_NEEDS_GETTEXT/BR2_NEEDS_GETTEXT_IF_LOCALE, which are true.

So, as a temporary measure, we adjust the gettext package so that it
unconditionally builds libintl for uClibc/musl, even when NLS is
disabled. This commit will be reverted once all packages have been
fixed.

Fixes:

  http://autobuild.buildroot.net/results/a4cf71c34dcc5c750ea87a16014c2cb2d28cdebd/
  (elfutils)

  http://autobuild.buildroot.net/results/cb9ae18295b21b3f9399be6edd82273add375656/
  (linux-pam)

  http://autobuild.buildroot.net/results/4225e5dfb6bcf590d9c1068112472ee82bc87d6b/
  (alsa-utils)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/ifupdown-scripts: allow use with a custom skeleton
Yann E. MORIN [Sun, 2 Jul 2017 14:35:52 +0000 (16:35 +0200)]
package/ifupdown-scripts: allow use with a custom skeleton

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/ifupdown-scripts: new package
Yann E. MORIN [Sun, 2 Jul 2017 14:35:50 +0000 (16:35 +0200)]
package/ifupdown-scripts: new package

The ifupdown scripts can be used independently of the init system, be it
sysv, busybox or systemd; they could even be used when there is no init
system (i.e. the user is providing his own).

Currently, those ifupdown scripts are bundled in the skeleton.

But we soon will have a skeleton specific to systemd, so we would be
missing those scripts (when systemd-networkd is not enabled).

So, move those scripts to their own package.

To keep the current behaviour (before it is changed in future commits),
we make that package default to y, but depend on the default skeleton.

Instead of being a target-finalize hook, the scripts are installed as
any other package are, with a package install-target command.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: drop empty IFUPDOWN_SCRIPTS_SOURCE]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-firmware: add qca6174{bt} firmware
Maxime Hadjinlian [Tue, 4 Jul 2017 16:39:35 +0000 (18:39 +0200)]
linux-firmware: add qca6174{bt} firmware

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas: adjust alphabetic ordering, rename bluetooth option to
include vendor name.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoUpdate for 2017.05.1
Peter Korsgaard [Tue, 4 Jul 2017 21:13:06 +0000 (23:13 +0200)]
Update for 2017.05.1

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit f3d8beeb369412a69adc75bf78391fb8a07d49b5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/website: update for 2017.05.1
Peter Korsgaard [Tue, 4 Jul 2017 21:29:20 +0000 (23:29 +0200)]
docs/website: update for 2017.05.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoUpdate for 2017.02.4
Peter Korsgaard [Tue, 4 Jul 2017 16:50:41 +0000 (18:50 +0200)]
Update for 2017.02.4

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 7ea1487c0afbbb44eca7b2f9e8759305195ab2a6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/website: update for 2017.02.4
Peter Korsgaard [Tue, 4 Jul 2017 17:24:50 +0000 (19:24 +0200)]
docs/website: update for 2017.02.4

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoskalibs: fix bashism in type sizes patch
Eric Le Bihan [Tue, 4 Jul 2017 16:58:22 +0000 (18:58 +0200)]
skalibs: fix bashism in type sizes patch

Instead of using a Bash-only variable substitution feature in the patch
to determine type size at build time, invoke `sed` to make it portable.

Fixes:

  http://autobuild.buildroot.net/results/023d71356376bea13d16c43898a0347e41cd19b9/

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/Makefile.in: fix musl handling
Thomas Petazzoni [Tue, 4 Jul 2017 14:47:51 +0000 (16:47 +0200)]
package/Makefile.in: fix musl handling

Until now, we had no support for full NLS with the musl C library:
BR2_NEEDS_GETTEXT was only true for uClibc. But the musl C library
provides a stub gettext implementation, which some packages were
failing to recognize as being usable, and therefore we are passing
autoconf cache variables to hint those packages that yes, the C
library has a usable gettext implementation.

However, we are going to enable full NLS support for musl, by giving
the possibility to build gettext libintl with musl. In such a case, we
do not want packages to use the gettext implementation of the C
library, but really the one provided by gettext libintl.

Therefore, we should only pre-seed the
gt_cv_func_gnugettext1_libc*=yes variables if we're on musl but
without gettext libintl. Otherwise packages will fail building because:

 - libintl.h is the one from the full-blown gettext implementation, so
   it assumes the package will link against -lintl

 - the package thinks gettext is provided by the C library, so it
   doesn't link with -lintl

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/Makefile.in: introduce TARGET_NLS_{DEPENDENCIES, LIBS}
Thomas Petazzoni [Tue, 4 Jul 2017 14:47:50 +0000 (16:47 +0200)]
package/Makefile.in: introduce TARGET_NLS_{DEPENDENCIES, LIBS}

All packages that can use NLS support will have to depend on
host-gettext, as it provides the tools for generating .mo files from
.po files.

In addition, all packages may need to depend on gettext (and link with
-lintl) if the full-blown gettext implementation is provided by
libintl and not by the C library.

In order to avoid repeating such conditions everywhere, this commit
introduces two variables:

 - TARGET_NLS_DEPENDENCIES, which packages that may use NLS support
   should unconditionally add to their <pkg>_DEPENDENCIES variable.

 - TARGET_NLS_LIBS, which packages can use to pass through LIBS or
   LDFLAGS when the package build system needs help to realize that it
   should link against libintl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosystem: introduce BR2_SYSTEM_ENABLE_NLS
Thomas Petazzoni [Tue, 4 Jul 2017 14:47:49 +0000 (16:47 +0200)]
system: introduce BR2_SYSTEM_ENABLE_NLS

Until now, the option BR2_ENABLE_LOCALE was more-or-less controlling
whether NLS support was enabled in packages. More precisely, if
BR2_ENABLE_LOCALE=y, we were not doing anything (so some packages
could have NLS support enabled, some not). And only when
BR2_ENABLE_LOCALE was disabled we were explicitly passing
--disable-nls to packages.

This doesn't make much sense, and there is no reason to tie NLS
support to locale support. You may want locale support, but not
necessarily NLS support. Therefore, this commit introduces
BR2_SYSTEM_ENABLE_NLS, which allows to enable/disable NLS support
globally. When this option is enabled, we pass --enable-nls to
packages, otherwise we pass --disable-nls.

In addition, when this option is enabled and the C library doesn't
provide a full-blown implementation of gettext, we select the gettext
package, which will provide the full blown implementation.

It is worth mentioning that this commit has a visible impact for users:

 - Prior to this commit, as soon as BR2_ENABLE_LOCALE=y, packages
   *could* provide NLS support. It was up to each package to decide
   whether they wanted to provide NLS support or not (we were not
   passing --enable-nls nor --disable-nls).

 - After this commit, it's BR2_SYSTEM_ENABLE_NLS that controls whether
   NLS is enabled or disabled, and this option is disabled by default.

Bottom line: with the default of BR2_SYSTEM_ENABLE_NLS disabled, some
packages may lose NLS support that they used to provide. But we
believe it's a reasonable default behavior for Buildroot, where
generally NLS support is not necessary.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: rename DISABLE_NLS to NLS_OPTS
Thomas Petazzoni [Tue, 4 Jul 2017 14:47:48 +0000 (16:47 +0200)]
package: rename DISABLE_NLS to NLS_OPTS

We are going to use DISABLE_NLS not only for disabling NLS support,
but also to explicitly enable it. Therefore, this preparatory commit
renames it to NLS_OPTS, which is consistent with other foo_OPTS
variables defined in package/Makefile.in.

While at it, we replace the := assignments by regular = assignments.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogettext: force build libintl if needed
Thomas Petazzoni [Tue, 4 Jul 2017 14:47:47 +0000 (16:47 +0200)]
gettext: force build libintl if needed

This commit introduces a hidden option
BR2_PACKAGE_GETTEXT_PROVIDES_INTL that is used by gettext.mk to force
the build of libintl if the toolchain doesn't provide a full gettext
implementation.

For now, this hidden option is not selected by anything, but a
follow-up commit will introduce BR2_ENABLE_NLS, which will make use of
it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: introduce BR2_TOOLCHAIN_HAS_FULL_GETTEXT
Thomas Petazzoni [Tue, 4 Jul 2017 14:47:46 +0000 (16:47 +0200)]
toolchain: introduce BR2_TOOLCHAIN_HAS_FULL_GETTEXT

This new boolean is true if the toolchain provides a built-in
full-featured implementation of gettext (glibc), and false if only a
stub implementation is provided (uclibc, musl).

This will be used in follow-up commits to decide whether libintl needs
to be built by gettext or not.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc: enable libintl stubs
Thomas Petazzoni [Tue, 4 Jul 2017 14:47:45 +0000 (16:47 +0200)]
uclibc: enable libintl stubs

In order to avoid having to bring libintl from gettext whenever you
want to build a program that needs it, uClibc-ng now provides a stub
implementation of the gettext functions in uClibc-ng itself. This
brings uClibc-ng in the same situation as musl.

This will fix a lot of build failures related to static linking with
libintl, and generally is a first step to simplify our gettext
handling.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoushare: do not use the DISABLE_NLS variable
Thomas Petazzoni [Tue, 4 Jul 2017 14:47:44 +0000 (16:47 +0200)]
ushare: do not use the DISABLE_NLS variable

ushare is not an autoconf/automake based package, so it does not have
the standard behavior of autoconf that every enable/disable option
supports both --enable-foo and --disable-foo.

For example, it supports --disable-nls, but not
--enable-nls. Currently, DISABLE_NLS is either empty or --disable-nls,
but this will be changed in a follow-up commit. As a preparation, this
commit modifies ushare to no longer use DISABLE_NLS, but instead
calculate itself whether --disable-nls should be passed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolvm2: force disable NLS support
Thomas Petazzoni [Tue, 4 Jul 2017 14:47:43 +0000 (16:47 +0200)]
lvm2: force disable NLS support

We are going to pass --enable-nls to all autotools packages when NLS
support is enabled globally. However, lvm2 NLS support doesn't build,
and anyway lvm2 doesn't provide any useful translation files, so we
force disable NLS support for this package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoflex: remove bogus comment
Thomas Petazzoni [Tue, 4 Jul 2017 14:47:42 +0000 (16:47 +0200)]
flex: remove bogus comment

The comment that explains why we were defining HOST_FLEX_DEPENDENCIES
instead of inheriting from FLEX_DEPENDENCIES no longer makes sense,
since we remove such automatic inheritance of host dependencies from
target dependencies a while ago.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibglib2: disable compiler warnings
Thomas Petazzoni [Tue, 4 Jul 2017 14:47:41 +0000 (16:47 +0200)]
libglib2: disable compiler warnings

By default, libglib enables some fairly aggressive warnings, treated
as errors. In particular, the -Wformat=2 warning triggers a warning
due to the return value of the ngettext() macro from uClibc libintl
stub not being understood as being potentially a format string.

So, before we enable the stub libintl in uClibc, we disable such
warnings. A bug will be reported to upstream uClibc to get the actual
bug fixed, but disabling compiler warnings treated as errors is anyway
a good thing in the context of Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/strace: fix nios2_sp_ptr definition
Romain Naour [Tue, 4 Jul 2017 16:33:26 +0000 (18:33 +0200)]
package/strace: fix nios2_sp_ptr definition

The patch [1] introduced in strace 1.17 uses the old way of accessing
SP register as defined for kernel headers < 4.0. The kernel headers
for nios2 has been changed in commit [2].

This patch updates strace to use the new kernel/userspace interface.

Fixes:
http://autobuild.buildroot.net/results/b9f/b9fc25b82f3280872fe1593ac252a8529ba83576

[1] https://github.com/strace/strace/commit/6117728aacf431a3e3c05761766c776874cc0861
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=92d5dd8cd6e2b211d32d8fbc6cf4b7470765a09f

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: improve a bit the commit log and patch description.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosyslinux: drop patch 0003, not needed after gnu-efi update
Benoît Allard [Mon, 3 Jul 2017 09:11:03 +0000 (11:11 +0200)]
syslinux: drop patch 0003, not needed after gnu-efi update

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibusb-compat: fix a build issue with undefined PATH_MAX
Bartosz Golaszewski [Mon, 3 Jul 2017 14:16:52 +0000 (16:16 +0200)]
libusb-compat: fix a build issue with undefined PATH_MAX

libsigrok build failed because of PATH_MAX not being defined in usb.h.
On linux it is defined in linux/limits.h, but usb.h only includes
limit.h. Add a patch fixing the header in libusb-compat.

While we're at it: remove the patch numbering from previous patch.

Fixes: http://autobuild.buildroot.net/results/535/5353c2418c0c3311ef9ecb1f1ddc3ce769369b96/
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-fusion: fix build issue with Linux >= 4.7
Matthew Shyu [Tue, 4 Jul 2017 03:12:38 +0000 (11:12 +0800)]
linux-fusion: fix build issue with Linux >= 4.7

The size parameter from sock_recvmsg() was removed from Linux kernel
API since 4.7. This commit adjusts the existing
0004-Port-one-one_udp.c-to-Linux-4.1.patch to fix the build with Linux
>= 4.7.

Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
[Thomas: improved commit title/log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/systemd: needs timezone info
Yann E. MORIN [Tue, 4 Jul 2017 11:21:20 +0000 (13:21 +0200)]
package/systemd: needs timezone info

systemd does not like being booted without any timezone info (especially
on a R/O filesystem), so we forcibly enable that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas: fix alphabetic ordering.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboot/syslinux: disable syslinux legacy-BIOS for broken toolchains
Romain Naour [Tue, 4 Jul 2017 12:01:10 +0000 (14:01 +0200)]
boot/syslinux: disable syslinux legacy-BIOS for broken toolchains

Since [1] syslinux is built with the target toolchain in order to
properly build with gnu-efi package. But toolchains built with
binutils 2.26 break the syslinux legacy-BIOS build as reported at [2],
due to binutils bug #19615.

Thanks to Benoît Allard for the investigation and the link to the
binutils bug [3].

[1] 6e432d5ecb46959f3c27dbbca48e41512bb40a70
[2] http://lists.busybox.net/pipermail/buildroot/2017-July/196253.html
[3] https://sourceware.org/bugzilla/show_bug.cgi?id=19615

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: CodeSourcery AMD64 affected by PR19615
Romain Naour [Tue, 4 Jul 2017 12:01:09 +0000 (14:01 +0200)]
toolchain: CodeSourcery AMD64 affected by PR19615

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/qt5base: provide "qt.conf" to make "qmake" relocatable
Wolfgang Grandegger [Fri, 30 Jun 2017 08:37:08 +0000 (10:37 +0200)]
package/qt5base: provide "qt.conf" to make "qmake" relocatable

The file "qt.conf" can be used to override the hard-coded paths that are
compiled into the Qt library. We need it to make "qmake" relocatable.

CC: Julien Corjon <corjon.j@ecagroup.com>
CC: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
[Thomas:
 - use | instead of \ as sed separator, suggested by Arnout.
 - fix indentation, suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/scripts: add relocate-sdk.sh script for SDK relocation
Wolfgang Grandegger [Fri, 30 Jun 2017 08:37:04 +0000 (10:37 +0200)]
support/scripts: add relocate-sdk.sh script for SDK relocation

It will install the script "relocate-sdk.sh" in the HOST_DIR
allowing to adjust the path to the SDK directory in all text
files after it has been moved to a new location.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
[Thomas:
 - Fix shebang to be /bin/sh instead of /bin/bash, suggested by Arnout
 - Use | instead of \ as a separator for sed expressions, suggested by
   Arnout, discussed with Wolfgang and others
 - Remove ./ at the beginning of LOCFILE, suggested by Arnout
 - Fix comment about the path check being made before doing the
   replacement, suggested by Arnout
 - Fix indentation, suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agospidev-test: s/BR2_DL_DIR/DL_DIR/
Maxime Hadjinlian [Tue, 4 Jul 2017 09:40:40 +0000 (11:40 +0200)]
spidev-test: s/BR2_DL_DIR/DL_DIR/

BR2_DL_DIR is not to be used by the package's Makefile.

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>
7 years agokodi: s/BR2_DL_DIR/DL_DIR/
Maxime Hadjinlian [Tue, 4 Jul 2017 09:40:39 +0000 (11:40 +0200)]
kodi: s/BR2_DL_DIR/DL_DIR/

BR2_DL_DIR is not to be used by the package's Makefile.

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>
7 years agomanual: add documentation about DL_DIR
Maxime Hadjinlian [Tue, 4 Jul 2017 09:40:38 +0000 (11:40 +0200)]
manual: add documentation about DL_DIR

And at the same time don't encourage use of BR2_DL_DIR

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>
7 years agogst1-rtsp-server: bump version to 1.12.1
Peter Korsgaard [Tue, 4 Jul 2017 12:19:16 +0000 (14:19 +0200)]
gst1-rtsp-server: bump version to 1.12.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-validate: bump version to 1.12.1
Peter Korsgaard [Tue, 4 Jul 2017 12:19:15 +0000 (14:19 +0200)]
gst1-validate: bump version to 1.12.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-plugins-bad: bump version to 1.12.1
Peter Korsgaard [Tue, 4 Jul 2017 12:19:14 +0000 (14:19 +0200)]
gst1-plugins-bad: bump version to 1.12.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-plugins-ugly: bump version to 1.12.1
Peter Korsgaard [Tue, 4 Jul 2017 12:19:13 +0000 (14:19 +0200)]
gst1-plugins-ugly: bump version to 1.12.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-plugins-good: bump version to 1.12.1
Peter Korsgaard [Tue, 4 Jul 2017 12:19:12 +0000 (14:19 +0200)]
gst1-plugins-good: bump version to 1.12.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-plugins-base: bump version to 1.12.1
Peter Korsgaard [Tue, 4 Jul 2017 12:19:11 +0000 (14:19 +0200)]
gst1-plugins-base: bump version to 1.12.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-libav: bump version to 1.12.1
Peter Korsgaard [Tue, 4 Jul 2017 12:19:10 +0000 (14:19 +0200)]
gst1-libav: bump version to 1.12.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst-omx: bump version to 1.12.1
Peter Korsgaard [Tue, 4 Jul 2017 12:19:09 +0000 (14:19 +0200)]
gst-omx: bump version to 1.12.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-vaapi: bump version to 1.12.1
Peter Korsgaard [Tue, 4 Jul 2017 12:19:08 +0000 (14:19 +0200)]
gst1-vaapi: bump version to 1.12.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogstreamer1: bump to version 1.12.1
Peter Korsgaard [Tue, 4 Jul 2017 12:19:07 +0000 (14:19 +0200)]
gstreamer1: bump to version 1.12.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibmad: add security patch from debian
Peter Korsgaard [Tue, 4 Jul 2017 08:42:11 +0000 (10:42 +0200)]
libmad: add security patch from debian

Fixes:

CVE-2017-8372 - The mad_layer_III function in layer3.c in Underbit MAD
libmad 0.15.1b, if NDEBUG is omitted, allows remote attackers to cause a
denial of service (assertion failure and application exit) via a crafted
audio file.

CVE-2017-8373 - The mad_layer_III function in layer3.c in Underbit MAD
libmad 0.15.1b allows remote attackers to cause a denial of service
(heap-based buffer overflow and application crash) or possibly have
unspecified other impact via a crafted audio file.

CVE-2017-8374 - The mad_bit_skip function in bit.c in Underbit MAD libmad
0.15.1b allows remote attackers to cause a denial of service (heap-based
buffer over-read and application crash) via a crafted audio file.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoicu: propagate host gcc dependency to reverse dependencies
Peter Korsgaard [Mon, 3 Jul 2017 21:18:59 +0000 (23:18 +0200)]
icu: propagate host gcc dependency to reverse dependencies

Fixes:
http://autobuild.buildroot.net/results/821/821eae7add252e3711ed069a2d292a04427fa43b/

Commit 87f43c3403 (package/icu: needs host gcc >= 4.8) added a new toolchain
dependency to icu, but didn't propagate it to the reverse dependencies of
icu.

Some of these have been fixed in later commits, but not all.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-rtsp-server: bump version to 1.12.0
Vicente Olivert Riera [Fri, 12 May 2017 10:18:07 +0000 (11:18 +0100)]
gst1-rtsp-server: bump version to 1.12.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-validate: bump version to 1.12.0
Vicente Olivert Riera [Fri, 12 May 2017 10:18:06 +0000 (11:18 +0100)]
gst1-validate: bump version to 1.12.0

Remove non-existant configure options:

  --disable-sphinx-doc:
  Even if it looks like there is some code for that in configure.ac, it
  seems that is not taken into account and that configure option is not
  even recognized.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-bad: move dtls plugin
Peter Korsgaard [Tue, 4 Jul 2017 11:24:22 +0000 (13:24 +0200)]
gst1-plugins-bad: move dtls plugin

The dtls plugin needs openssl, so move it down to the "plugins with external
dependencies" section to match the rest of the plugins.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-bad: add new Timed Text Markup Language (TTML) plugin
Peter Korsgaard [Tue, 4 Jul 2017 11:21:43 +0000 (13:21 +0200)]
gst1-plugins-bad: add new Timed Text Markup Language (TTML) plugin

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-bad: add new dependency-less audiobuffersplit / audiomixmatrix plugins
Peter Korsgaard [Tue, 4 Jul 2017 10:48:41 +0000 (12:48 +0200)]
gst1-plugins-bad: add new dependency-less audiobuffersplit / audiomixmatrix plugins

These plugins are new in 1.12.x

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-bad: explicitly disable new msdk plugin
Peter Korsgaard [Tue, 4 Jul 2017 10:52:52 +0000 (12:52 +0200)]
gst1-plugins-bad: explicitly disable new msdk plugin

As we do not have the needed dependencies packaged.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-bad: add Image Quality Assessment (IQA) plugin
Vicente Olivert Riera [Fri, 12 May 2017 10:18:02 +0000 (11:18 +0100)]
gst1-plugins-bad: add Image Quality Assessment (IQA) plugin

This plugin replaces the recently removed videomeasure plugin.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-bad: bump version to 1.12.0
Vicente Olivert Riera [Fri, 12 May 2017 10:18:01 +0000 (11:18 +0100)]
gst1-plugins-bad: bump version to 1.12.0

Remove non-existant configure options:

  --disable-mimic:
    https://github.com/GStreamer/gst-plugins-bad/commit/ad661999ad2c79a5d7721f0eb1e7f1f83a304224

  --enable-dataurisrc:
    https://github.com/GStreamer/gst-plugins-bad/commit/de4bb6e1d4793637fd72d7316d06ebba4148583e

  --enable-videomeasure:
    https://github.com/GStreamer/gst-plugins-bad/commit/ca3020cf46d49d8e3fd54ec323b3a17cd389d780

  --enable-apexsink, --disable-nas, --disable-linsys, --enable-sdl,
  --disable-sdltest, --disable-libvisual, --disable-timidity,
  --disable-sndio, --disable-wininet, --disable-xvid,
  --enable-cdxaparse, --enable-dccp, --enable-hdvparse, --enable-mve,
  --enable-nuvdemux, --enable-patchdetect, --enable-sdi, --enable-tta,
  --disable-pvr:
    https://github.com/GStreamer/gst-plugins-bad/commit/9b5de053995488d5ddc78c1bf4df651101271d70

[Peter: split out webrtc rename to a separate patch, tweak dataurisrc help]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-ugly: bump version to 1.12.0
Vicente Olivert Riera [Fri, 12 May 2017 10:18:05 +0000 (11:18 +0100)]
gst1-plugins-ugly: bump version to 1.12.0

Remove non-existant configure options:

  --enable-mad:
    https://github.com/GStreamer/gst-plugins-ugly/commit/2f767fb24ac8ee001bde7e1452b46a4f8fe3a719

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-good: bump version to 1.12.0
Vicente Olivert Riera [Fri, 12 May 2017 10:18:04 +0000 (11:18 +0100)]
gst1-plugins-good: bump version to 1.12.0

Remove non-existant configure options:

  --disable-esd, --disable-esdtest:
  https://github.com/GStreamer/gst-plugins-good/commit/3d6955d68624c089d7066bfdbf38ef69c1dc07b6

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-base: bump version to 1.12.0
Vicente Olivert Riera [Fri, 12 May 2017 10:18:03 +0000 (11:18 +0100)]
gst1-plugins-base: bump version to 1.12.0

Remove non-existant or unnecessary configure options:

  --disable-oggtest, --disable-vorbistest:
    It looks like these options will be taken into account by ogg.m4 and
    vorbis.m4 only when ogg and vobis are enabled. However, according to
    the code on those m4 files these two options are disabled by default.

  --disable-gio_unix_2_0:
    I don't know where this option comes from.

  --disable-freetypetest:
    https://github.com/GStreamer/gst-plugins-base/commit/183610c035dd6955c9b3540b940aec50474af031

[Peter: add rawparse plugin]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>