buildroot.git
8 years agomakedevs: remove VERSION/SOURCE
Thomas Petazzoni [Sun, 3 Jul 2016 09:49:50 +0000 (11:49 +0200)]
makedevs: remove VERSION/SOURCE

Now that the package infrastructure doesn't attempt to download a package
that has an empty version string, there's no need to define the VERSION and
SOURCE variables in the makedevs package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore: do not attempt downloads with no _VERSION set
Alex Suykov [Sun, 3 Jul 2016 09:49:49 +0000 (11:49 +0200)]
core: do not attempt downloads with no _VERSION set

Currently, when the package defines no _SOURCE and no _VERSION
variables, we end up trying to download <PACKAGE>-undefined.tar.gz.

This is utterly pointless.

Change the logic to not attempt a download when neither _SOURCE
nor _VERSION is set:
  - do not set an undefined _VERSION to "undefined"
  - do not append an empty (or "undefined") version to the package
    rawname

Consequently, for packages that have no _VERSION, the build
directory will be just the package name (which to some may look
nicer than the current "package-undefined").

Furthermore, the message trace is also a bit leaner (to the same
people that find "package" nicer than "package-undefined").

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocups: bump to version 2.1.4, change upstream location
Thomas Petazzoni [Sun, 3 Jul 2016 10:17:03 +0000 (12:17 +0200)]
cups: bump to version 2.1.4, change upstream location

cups is now available from Github, with tarballs uploaded by the
maintainers, so we use this new upstream location.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocups: fix static linking with GnuTLS
Jörg Krause [Sun, 28 Feb 2016 16:07:20 +0000 (17:07 +0100)]
cups: fix static linking with GnuTLS

cups forgets to link against the libs found by pkg-config if it is build with
GnuTLS support.

Otherwise, static build fails with:
../cups/libcups.a(tls.o): In function `http_gnutls_create_credential':
cups-2.1.2/cups/tls-gnutls.c:762: undefined reference to `gnutls_x509_crt_init'
[..]

Fixes:
http://autobuild.buildroot.net/results/205/20509b7d1edc73dc2a7622f2ae7dbf9f6665a918/
http://autobuild.buildroot.net/results/b86/b86d685caf8cf812f9505fca2de36fb8c18baee1/

Patch is sent upstream.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
[Thomas: refresh and rename patch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocups: reformat patch with Git
Thomas Petazzoni [Sun, 3 Jul 2016 10:21:13 +0000 (12:21 +0200)]
cups: reformat patch with Git

All patches in the cups package are Git formatted, except
0004-remove-pie.patch, so this commit makes things consistent by also
making this patch Git formatted.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosunxi-mail: hack to work around autobuilder issue
Peter Korsgaard [Sun, 3 Jul 2016 10:34:19 +0000 (12:34 +0200)]
sunxi-mail: hack to work around autobuilder issue

Fixes http://autobuild.buildroot.org/results/5a5/5a50be9feeb5da7694e9a42f615f0b7276319aeb/

The recent change to use git submodules for sunxi-mali instead of the github
wrapper without changing the version unfortunately doesn't work for people
who have already built sunxi-mali, as the existing github tarball will be
used instead of buildroot doing a clean git clone (with submodules).

The sunxi-mali commit we are using is the latest in the repo, so we cannot
fix it by bumping the version.  Instead simply remove the last character of
the VERSION sha1 so the existing tarballs are no longer used.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibminiupnpc: New package
Bernd Kuhls [Sat, 2 Jul 2016 22:18:11 +0000 (00:18 +0200)]
libminiupnpc: New package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/sunxi-mali: remove useless package
Yann E. MORIN [Sun, 3 Jul 2016 08:33:11 +0000 (10:33 +0200)]
package/sunxi-mali: remove useless package

sunxi-mali-prop only served a feeding prey for sunxi-mali to get the
proprietary libs.

Now that sunxi-mali downloads them (as the git submodule they are), we
no longer need sunxi-mali-prop.

Remove it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/sunxi-mali: use git submodules
Yann E. MORIN [Sun, 3 Jul 2016 08:33:10 +0000 (10:33 +0200)]
package/sunxi-mali: use git submodules

The sunxi-mali git tree is set up with a submodule that contains the
actual libraries. Since there was no support for git submodules so far,
we used a dirty trick to have that submodule cloned by its own package,
with sunxi-mali just vampirising it into its own build dir.

Now that we have support for git submodules, we can simplify stuff a
bit, and have sunxi-mali directly download the proprietary libs itself.

Remove the .hash file since we're not checking hashes for git clones.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocs/manual: document FOO_GIT_SUBMODULE
Yann E. MORIN [Sun, 3 Jul 2016 08:33:09 +0000 (10:33 +0200)]
docs/manual: document FOO_GIT_SUBMODULE

[Peter: fix typo as noticed by Samuel]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/dovecot: bump version to 2.2.25
Bernd Kuhls [Sun, 3 Jul 2016 08:58:49 +0000 (10:58 +0200)]
package/dovecot: bump version to 2.2.25

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotekui: new package
Francois Perrad [Fri, 18 Mar 2016 10:33:56 +0000 (11:33 +0100)]
tekui: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/tinyxml2: bump version to 3.0.0
Maxime Hadjinlian [Sat, 2 Jul 2016 15:16:58 +0000 (17:16 +0200)]
package/tinyxml2: bump version to 3.0.0

Remove patches as they were applied upstream:

0001-Use-BUILD_SHARED_LIBS-cmake-standard.patch
https://github.com/leethomason/tinyxml2/commit/c8ec6fcab4eb501cc5bd328c19dcbd4b30722d52

0002-Rename-test-fixed-cmake-warning.patch
https://github.com/leethomason/tinyxml2/commit/0b2c22bd46be95b08f234b8b4cb262f72ab3f0e8

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
8 years agobabeld: needs MMU as it uses fork()
Thomas Petazzoni [Sun, 3 Jul 2016 08:26:53 +0000 (10:26 +0200)]
babeld: needs MMU as it uses fork()

Fixes:

  http://autobuild.buildroot.net/results/986953a9bb49cd68338dc15e1a2f96045e44bf02/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxcb-proto: add upstream patch for python3.5 build failure
Arnout Vandecappelle [Sun, 3 Jul 2016 00:37:23 +0000 (02:37 +0200)]
xcb-proto: add upstream patch for python3.5 build failure

Since we run compileall on all python files in TARGET_DIR as part of
the finalization, the align.py from xcb-proto will be compiled (it is
not compiled as part of the package build). This file contains mixed
tab-spaces indentation, which python 3.5 no longer allows.

Add an upstream patch that cleans up the indentation in this file.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotar: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:38 +0000 (00:21 +0200)]
tar: remove empty host dependencies definition

Note that host-tar dependencies were broken with automatic derivation
of host dependencies:
host-tar could depend (or not) on host-attr (and even on non-existing
host-acl!), depending on BR2_PACKAGE_BUSYBOX.

Now, host-tar has no dependency.

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorpi-firmware: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:37 +0000 (00:21 +0200)]
rpi-firmware: remove empty host dependencies definition

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:36 +0000 (00:21 +0200)]
perl: remove empty host dependencies definition

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopax-utils: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:35 +0000 (00:21 +0200)]
pax-utils: remove empty host dependencies definition

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoncurses: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:34 +0000 (00:21 +0200)]
ncurses: remove empty host dependencies definition

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomtools: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:33 +0000 (00:21 +0200)]
mtools: remove empty host dependencies definition

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolua: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:32 +0000 (00:21 +0200)]
lua: remove empty host dependencies definition

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogawk: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:31 +0000 (00:21 +0200)]
gawk: remove empty host dependencies definition

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodosfstools: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:30 +0000 (00:21 +0200)]
dosfstools: remove empty host dependencies definition

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodos2unix: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:29 +0000 (00:21 +0200)]
dos2unix: remove empty host dependencies definition

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboost: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:28 +0000 (00:21 +0200)]
boost: remove empty host dependencies definition

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobinutils: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:27 +0000 (00:21 +0200)]
binutils: remove empty host dependencies definition

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotcl: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:26 +0000 (00:21 +0200)]
tcl: remove empty host dependencies definition

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxorriso: remove empty host dependencies definition
Julien Floret [Sat, 2 Jul 2016 22:21:25 +0000 (00:21 +0200)]
xorriso: remove empty host dependencies definition

While there, fix some typos.

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoinfra: remove auto derivation of host dependencies
Julien Floret [Sat, 2 Jul 2016 22:21:24 +0000 (00:21 +0200)]
infra: remove auto derivation of host dependencies

This feature consists in automatically deducing dependencies of a host
package from the dependencies of the target variant.

However, it causes some issues, and many host packages need different
dependencies than their target variants.

Now that host dependencies are explicitly set for all packages, we can
remove it.

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoacpitool: new package
Erico Nunes [Sat, 26 Mar 2016 18:26:16 +0000 (15:26 -0300)]
acpitool: new package

acpitool is a small, convenient command-line ACPI client.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Tested-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libbluray: fix comment
Bernd Kuhls [Sat, 2 Jul 2016 18:24:04 +0000 (20:24 +0200)]
package/libbluray: fix comment

The comment was missing in menuconfig with a non-threaded toolchain
supporting dynamic linking.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoxutil_makedepend: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:23 +0000 (00:21 +0200)]
xutil_makedepend: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxlib_libxkbfile: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:22 +0000 (00:21 +0200)]
xlib_libxkbfile: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxlib_libfontenc: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:21 +0000 (00:21 +0200)]
xlib_libfontenc: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxlib_libXrender: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:20 +0000 (00:21 +0200)]
xlib_libXrender: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxlib_libXfont: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:19 +0000 (00:21 +0200)]
xlib_libXfont: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxlib_libXfixes: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:18 +0000 (00:21 +0200)]
xlib_libXfixes: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxlib_libXdmcp: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:17 +0000 (00:21 +0200)]
xlib_libXdmcp: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxlib_libXcursor: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:16 +0000 (00:21 +0200)]
xlib_libXcursor: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxlib_libXau: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:15 +0000 (00:21 +0200)]
xlib_libXau: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxlib_libX11: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:14 +0000 (00:21 +0200)]
xlib_libX11: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxfont_font-util: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:13 +0000 (00:21 +0200)]
xfont_font-util: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxfont_encodings: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:12 +0000 (00:21 +0200)]
xfont_encodings: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxcb-proto: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:11 +0000 (00:21 +0200)]
xcb-proto: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxapp_xkbcomp: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:10 +0000 (00:21 +0200)]
xapp_xkbcomp: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxapp_xcursorgen: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:09 +0000 (00:21 +0200)]
xapp_xcursorgen: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxapp_mkfontscale: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:08 +0000 (00:21 +0200)]
xapp_mkfontscale: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxapp_mkfontdir: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:07 +0000 (00:21 +0200)]
xapp_mkfontdir: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxapp_bdftopcf: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:06 +0000 (00:21 +0200)]
xapp_bdftopcf: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibxcb: remove mistankenly added double host-xcb-proto dependency
Thomas Petazzoni [Sun, 3 Jul 2016 07:29:45 +0000 (09:29 +0200)]
libxcb: remove mistankenly added double host-xcb-proto dependency

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibxcb: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:05 +0000 (00:21 +0200)]
libxcb: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
[Thomas: add missing host-xcb-proto dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowayland: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:04 +0000 (00:21 +0200)]
wayland: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoswig: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:03 +0000 (00:21 +0200)]
swig: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pycrypto: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:02 +0000 (00:21 +0200)]
python-pycrypto: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopixman: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:01 +0000 (00:21 +0200)]
pixman: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agompfr: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:00 +0000 (00:21 +0200)]
mpfr: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agompc: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:59 +0000 (00:20 +0200)]
mpc: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolzop: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:58 +0000 (00:20 +0200)]
lzop: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolttng-babeltrace: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:57 +0000 (00:20 +0200)]
lttng-babeltrace: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibxml-parser-perl: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:56 +0000 (00:20 +0200)]
libxml-parser-perl: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibusb-compat: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:55 +0000 (00:20 +0200)]
libusb-compat: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibtool: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:54 +0000 (00:20 +0200)]
libtool: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsepol: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:53 +0000 (00:20 +0200)]
libsepol: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibpng: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:52 +0000 (00:20 +0200)]
libpng: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibftdi: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:51 +0000 (00:20 +0200)]
libftdi: add explicit dependencies for host variant

This patch also removes an incorrect dependency between host-libftdi and
host-boost when BR2_PACKAGE_LIBTFDI_CPP is set.

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibcroco: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:50 +0000 (00:20 +0200)]
libcroco: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibconfuse: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:49 +0000 (00:20 +0200)]
libconfuse: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoisl: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:48 +0000 (00:20 +0200)]
isl: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimx-usb-loader: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:47 +0000 (00:20 +0200)]
imx-usb-loader: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoheimdal: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:46 +0000 (00:20 +0200)]
heimdal: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogmp: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:45 +0000 (00:20 +0200)]
gmp: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogenimage: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:44 +0000 (00:20 +0200)]
genimage: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofwup: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:43 +0000 (00:20 +0200)]
fwup: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofontconfig: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:42 +0000 (00:20 +0200)]
fontconfig: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofile: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:41 +0000 (00:20 +0200)]
file: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
[Thomas: remove host-file dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoexpat: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:40 +0000 (00:20 +0200)]
expat: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoerlang-lager: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:39 +0000 (00:20 +0200)]
erlang-lager: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoe2tools: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:38 +0000 (00:20 +0200)]
e2tools: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodtc: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:37 +0000 (00:20 +0200)]
dtc: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodoxygen: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:36 +0000 (00:20 +0200)]
doxygen: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocramfs: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:35 +0000 (00:20 +0200)]
cramfs: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocloog: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:34 +0000 (00:20 +0200)]
cloog: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobdwgc: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:32 +0000 (00:20 +0200)]
bdwgc: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoaxfsutils: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:31 +0000 (00:20 +0200)]
axfsutils: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libgpg-error: update project URL
Bernd Kuhls [Sat, 2 Jul 2016 22:20:29 +0000 (00:20 +0200)]
package/libgpg-error: update project URL

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore/pkg-infra: download git submodules if the package wants them
Yann E. MORIN [Fri, 1 Jul 2016 09:01:19 +0000 (11:01 +0200)]
core/pkg-infra: download git submodules if the package wants them

Add a new package variable that packages can set to specify that they
need git submodules.

Only accept this option if the download method is git, as we can not get
submodules via an http download (via wget).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Aleksandar Simeonov <aleksandar@barix.com>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Tested-By: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosupport/download/git: add support for submodules
Yann E. MORIN [Fri, 1 Jul 2016 09:01:18 +0000 (11:01 +0200)]
support/download/git: add support for submodules

Some git repositories may be split into a master repository and
submodules. Up until now, we did not have support for submodules,
because we were using bare clones, in which it is not possible to
update the list of submodules.

Now that we are using plain clones with a working copy, we can retrieve
the submdoules.

Add an option to the git download helper to kick the update of
submodules, so that they are only fetched for those packages that
require them. Also document the existing -q option at the same time.

Submodules have a .git file at their root, which contains the path to
the real .git directory of the master repository. Since we remove it,
there is no point in keeping those .git files either.

Note: this is currently unused, but will be enabled with the follow-up
patch that adds the necessary parts in the pkg-generic and pkg-download
infrastructures.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosupport/download/git: do not use git archive, handle it manually
Yann E. MORIN [Fri, 1 Jul 2016 09:01:17 +0000 (11:01 +0200)]
support/download/git: do not use git archive, handle it manually

We currently use git-archive to generate the tarball. This is all handy
and dandy, but git-archive does not support submodules. In the follow-up
patch, we're going to handle submodules, so we would not be able to use
git-archive.

Instead, we manually generate the archive:
  - extract the tree to the requested cset,
  - get the date of the commit to store in the archive,
  - store only numeric owners,
  - store owner and group as 0 (zero, although any arbitrary value would
    have been fine, as long as it's a constant),
  - sort the files to store in the archive.

We also get rid of the .git directory, because there is no reason to
keep it in the context of Buildroot. Some people would love to keep it
so as to speed up later downloads when updating a package, but that is
not really doable. For example:
  - use current Buildroot
  - it would need foo-12345, so do a clone and keep the .git in the
    generated tarball
  - update Buildroot
  - it would need foo-98765
For that second clone, how could we know we would have to first extract
foo-12345 ? So, the .git in the archive is pretty much useless for
Buildroot.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosupport/download/git: do not use bare clones
Yann E. MORIN [Fri, 1 Jul 2016 09:01:16 +0000 (11:01 +0200)]
support/download/git: do not use bare clones

Currently, we are using bare clones, so as to minimise the disk usage,
most notably for largeish repositories such as the one for the Linux
kernel, which can go beyond the 1GiB barrier.

However, this precludes updating (and thus using) the submodules, if
any, of the repositories, as a working copy is required to use
submodules (becaue we need to know the list of submodules, where to find
them, where to clone them, what cset to checkout, and all those is
dependent upon the checked out cset of the father repository).

Switch to using /plain/ clones with a working copy.

This means that the extra refs used by some forges (like pull-requests
for Github, or changes for gerrit...) are no longer fetched as part of
the clone, because git does not offer to do a mirror clone when there is
a working copy.

Instead, we have to fetch those special refs by hand. Since there is no
easy solution to know whether the cset the user asked for is such a
special ref or not, we just try to always fetch the cset requested by
the user; if this fails, we assume that this is not a special ref (most
probably, it is a sha1) and we defer the check to the archive creation,
which would fail if the requested cset is missing anyway.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/boost: add boot-type_erasure support
Romain Naour [Sat, 2 Jul 2016 15:29:52 +0000 (17:29 +0200)]
package/boost: add boot-type_erasure support

Until now this library wasn't handled by the Buildroot packaging,
so add a new config option to disable it when requested.

Also disable boost-type_erasure for the host variant to keep it as
minimal as possible.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoConfig.in: indentation cleanup
Jerzy Grzegorek [Sat, 2 Jul 2016 15:06:18 +0000 (17:06 +0200)]
Config.in: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/samba4: Change tmpfiles path
Maxime Hadjinlian [Sat, 2 Jul 2016 16:21:31 +0000 (18:21 +0200)]
package/samba4: Change tmpfiles path

Per the documentation:
https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html

The order of path by priorites is:
/etc/tmpfiles.d/*.conf
/run/tmpfiles.d/*.conf
/usr/lib/tmpfiles.d/*.conf

For the user to be able to override our tmpfiles easily, it's better to
place our files in /usr/lib/tmpfiles.d/

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosphinxbase: new package
Jonathan Ben Avraham [Wed, 2 Mar 2016 07:40:41 +0000 (09:40 +0200)]
sphinxbase: new package

CMUSphinx toolkit is a speech recognition toolkit with various tools
used to build speech applications. CMU Sphinx toolkit has a number of
packages for different tasks and applications. The toolkit is designed
for use on mobile platforms.

Signed-off-by: Jonathan Ben-Avraham <yba@tkos.co.il>
[Thomas:
 - license is BSD-2c, not MIT
 - add --without-lapack]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Sort menuconfig alphabetically
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:15 +0000 (15:59 +0200)]
package/systemd: Sort menuconfig alphabetically

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosystemd-bootchart: New package
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:14 +0000 (15:59 +0200)]
systemd-bootchart: New package

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas:
 - remove Config.in.legacy option
 - rename the hash file to the correct name
 - add license files.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Remove systemd-bootchart
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:13 +0000 (15:59 +0200)]
package/systemd: Remove systemd-bootchart

Since systemd v230, bootchart has been removed from the source of
systemd and now lives in its own repository.
A new package will be added in the next commit.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Remove SYSTEMD_COMPAT option
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:12 +0000 (15:59 +0200)]
package/systemd: Remove SYSTEMD_COMPAT option

Since v230 of systemd, the compat libraries have been fully removed.
https://github.com/systemd/systemd/commit/4de282cf9324ab13d17ac334244d0d7cae2df37d

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas: rewrap Config.in help text in Config.in.legacy and put the
option at the right place.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Default yes for networkd
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:11 +0000 (15:59 +0200)]
package/systemd: Default yes for networkd

It seems logical to enable a few options along with systemd when it's
the init system.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Default yes for timesyncd
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:10 +0000 (15:59 +0200)]
package/systemd: Default yes for timesyncd

It seems logical to enable a few options along with systemd when it's
the init system.

Also change the help as timesyncd is a daemon that implements an SNTP client.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>