aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* jsoncpp: fix build for non C++11 toolchainsGravatar Baruch Siach2015-03-311-0/+39
| | | | | | | | | | | | | | Add a patch removing reference to std::snprintf that is only in C++11. Fixes: http://autobuild.buildroot.net/results/b39/b390beeb9a6fea12f1a4d9f2ff9a8a483628cad2/ http://autobuild.buildroot.net/results/d18/d18b3e116b680a3897fbea296938e900a1e5e80a/ http://autobuild.buildroot.net/results/1b2/1b20a2f81dd2b409785930705222bc03576c4907/ and many more. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mesa3d: specify llvm-prefixGravatar Gustavo Zacarias2015-03-311-0/+3
| | | | | | | | | | | | When it's not defined an automatic search is triggered, which can find /usr/bin/llvm-config on distributions that include all development files (like gentoo) and have desktop packages installed. So point it towards the staging dir which is where it should live eventually if/when we've got it to avoid header/include path polution that otherwise leads to build failures. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pango: adjust indentationGravatar Gustavo Zacarias2015-03-311-5/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pango: bump to version 1.36.8Gravatar Gustavo Zacarias2015-03-312-1/+3
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pixman: add hash fileGravatar Gustavo Zacarias2015-03-311-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: use <pkg>_EXTRA_DOWNLOADSGravatar Thomas Petazzoni2015-03-301-6/+2
| | | | | | | | | | | | | | Instead of manually using the DOWNLOAD macro (which should remain an internal macro), this commit converts the Perl package to use <pkg>_EXTRA_DOWNLOADS, now that it has been extended to allow full URLs. [Thomas: as suggested by Yann, keep comment explaining how we handle perl-cross.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* docs/manual: update documentation about <pkg>_SOURCE, <pkg>_PATCH and ↵Gravatar Thomas Petazzoni2015-03-301-13/+17
| | | | | | | | | | | | | | | | | | | | | | | <pkg>_EXTRA_DOWNLOADS This commit updates the Buildroot manual for the variables used to indicate where to download the source code from: - It updates the description of <pkg>_SOURCE to make it clear that Buildroot assume that the tarball is hosted at <pkg>_SITE. - It updates the description of <pkg>_PATCH to indicate that not only file names (assumed to be hosted at <pkg>_SITE) can be used, but also full URLs. This allows to match with what the current code is doing. - It updates the description of <pkg>_EXTRA_DOWNLOADS to also indicate that full URLs are now accepted, following the change made in the previous commit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* pkg-generic: allow full URLs for <pkg>_EXTRA_DOWNLOADSGravatar Thomas Petazzoni2015-03-301-1/+6
| | | | | | | | | | | | | | The current logic for <pkg>_EXTRA_DOWNLOADS assumes that it is a list of files, all hosted at <pkg>_SITE. However, just like for <pkg>_PATCH, it may be useful to specify <pkg>_EXTRA_DOWNLOADS entries that are hosted on a different site than the package <pkg>_SITE. This commit implements this, by re-using the same logic as the one used for <pkg>_PATCH. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* pkg-generic: refactor the "Downloading" message logicGravatar Thomas Petazzoni2015-03-301-10/+6
| | | | | | | | | | | | | | In the .stamp_downloaded hook, the logic to decide whether or not to display the "Downloading" message is treating the check of <pkg>_SOURCE as a special case. But in fact, there is no real reason to do so: the existing loop used for <pkg>_PATCH and <pkg>_EXTRA_DOWNLOADS could work just as well. This commit therefore refactors this piece of code, to have a single loop checking <pkg>_SOURCE, <pkg>_PATCH and <pkg>_EXTRA_DOWNLOADS. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* pkg-generic: take into account <pkg>_EXTRA_DOWNLOADS to display ↵Gravatar Thomas Petazzoni2015-03-301-1/+1
| | | | | | | | | | | | | | | | | | "Downloading" message The .stamp_downloaded target displays the "Downloading" message even if there is really something to download. However, this logic only checks for <pkg>_SOURCE and <pkg>_PATCH: it does not check if something needs to be downloaded in <pkg>_EXTRA_DOWNLOADS. This commit fixes that, which makes sure that the "Downloading" message is displayed if one of the items in <pkg>_EXTRA_DOWNLOADS has not yet been downloaded. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* pkg-generic: fix the logic showing the "Downloading" messageGravatar Thomas Petazzoni2015-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | Even though the .stamp_downloaded target is executed for each package being built, the pkg-generic infrastructure tries to not display the "Downloading" message when there is in fact nothing to download. Unfortunately, the logic was incorrect for the patch download: it forgot the fact that <pkg>_PATCH can contain either file names (in which case we assume the patch should be downloaded from <pkg>_SITE), or full URLs. The latter case was not properly handled, as we were checking if $(DL_DIR)/<full URL> existed, while we should be testing if $(DL_DIR)/`basename <full URL>` exists. This patch fixes that, which makes sure the "Downloading" message is displayed only when necessary. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* linux: use the package infrastructure to download patchesGravatar Thomas Petazzoni2015-03-301-17/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The linux package has a special handling of patches, with quite a bit of legacy in it. A problem caused by this special handling is that the linux package calls directly the DOWNLOAD_WGET macro, which means that the package infrastructure isn't aware of which patches get downloaded, and it prevents doing changes inside the package download infrastructure. This commit changes the handling of patches in the linux package in the following way: * The LINUX_PATCHES variable is kept as is: it lists all the patches mentioned in the Config.in option BR2_LINUX_KERNEL_PATCH. This option can contain http://, ftp://, https:// URLs, path to local files or local directories. This variable is *not* used by the generic package infrastructure, so it is purely internal to the Linux package. * The LINUX_PATCH variable is now filled in with the list of patches that should be downloaded. It is derived from LINUX_PATCHES by filtering the patches that have http://, ftp:// or https:// in their path. Since <pkg>_PATCH is handled by the package infrastructure, it means that those patches are now automatically downloaded and applied by the package infrastructure. * The LINUX_APPLY_PATCHES hook is renamed to LINUX_APPLY_LOCAL_PATCHES, because it is now only responsible of applying local patches: remote patches are handled by LINUX_PATCH. The implementation of the hook is changed to filter out the patches that have already taken care of by LINUX_PATCH, so that we only iterate through the list of local patches or local patch directories. [Thomas: adjust comment in the code according to Yann comments.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* libgtk2: adjust styleGravatar Gustavo Zacarias2015-03-301-12/+12
| | | | | | | | Cleanup indentation and mention why we need AUTORECONF. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libgtk2: drop libxcomposite mandatory depGravatar Gustavo Zacarias2015-03-301-2/+1
| | | | | | | | It's not selected, not required and duplicate with the autodep. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libgtk2: bump to version 2.24.27Gravatar Gustavo Zacarias2015-03-302-2/+3
| | | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* logrotate: add hash fileGravatar Benoît Thébaudeau2015-03-301-0/+2
| | | | | Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* arch/sparc: doesn't have atomicsGravatar Gustavo Zacarias2015-03-301-3/+0
| | | | | | | | Cores older than v9 don't seem to have atomics so remove it. Fixes a test build of pulseaudio for example. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libseccomp: bump version to 2.2.0Gravatar Bernd Kuhls2015-03-306-72/+40
| | | | | | | | | | | | - change upstream URL, project moved to github - removed patches not needed anymore since project switched to autoconf - add newly supported platforms to Config.in [Thomas: - remove hash file, since we're fetching from github now.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* arch: BINFMT_FLAT_SHARED is not really shared for buildroot purposesGravatar Sonic Zhang2015-03-301-1/+6
| | | | | | | | | | | | | | | | | | | | Although BINFMT_FLAT_SHARED is indeed a shared library format, it does not support dynamic library loading with dlopen(). So for buildroot purposes, BR2_STATIC_LIBS shouldn't be selected. As it happens, the compiler options that are added for BINFMT_FLAT_SHARED also make the compiler ignore the -static option, so we can simply force BR2_STATIC_LIBS and things work out perfectly. Therefore, remove the select of BR2_BINFMT_SUPPORTS_SHARED from BINFMT_FLAT_SHARED, which in turn makes sure that BR2_STATIC_LIBS is selected. [Arnout: rewrite commit message, add explanatory comment] Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mplayer: add optional giflib supportGravatar Bernd Kuhls2015-03-301-0/+7
| | | | | | | | [Thomas: Use --enable-gif / --disable-gif, and do not pass --extra-libs.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mplayer: needs host-pkgconfGravatar Bernd Kuhls2015-03-301-0/+2
| | | | | | | | | | mplayer's custom configure script can use pkg-config to discover dependencies. [Thomas: improve commit log.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* squid: adjust styleGravatar Gustavo Zacarias2015-03-301-6/+6
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* squid: bump to version 3.5.3Gravatar Gustavo Zacarias2015-03-302-4/+15
| | | | | | | | [Thomas: slightly expand the comment about atomic operations, after the discussion with Baruch.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/sysdig: New packageGravatar Angelo Compagnucci2015-03-304-0/+74
| | | | | | | | | | | | | | | | | | | | | | Sysdig is open source, system-level exploration: capture system state and activity from a running Linux instance, then save, filter and analyze. [Thomas: - remove unneeded 0001-makefile-driver-compile-options.patch, instead pass KERNELDIR in the make options when building the driver, and pass the contents of $(LINUX_MAKE_FLAGS) directly. - use $(SYSDIG_BUILDDIR) instead of $(@D)/buildroot-build, so that the package does not depend on the package infra using specifically buildroot-build as the build subdirectory. - use $(MAKE) -C <foo> instead of cd <foo>; $(MAKE). - rename 0002 patch to 0001, since the 0001 patch is removed.] Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Reviewed-by: Ryan Barnett <ryan.barnett@rockwellcollins.com> Tested-by: Ryan Barnett <ryan.barnett@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* logrotate: bump version to 3.8.9Gravatar Benoît Thébaudeau2015-03-302-10/+34
| | | | | | | | | | | | | | | | This version comes with a new build system based on autoconf/automake, so we switch from generic-package to autotools-package. However, since the tarball does not contain a pre-generated configure script, we have to set LOGROTATE_AUTORECONF = YES. [Thomas: - add comment explaining why AUTORECONF = YES is needed - expand commit log - use --without/--with instead of --with=yes/--with=no - fix indentation in the ACL condition] Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xutil_util-macros: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xutil_makedepend: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_fontcacheproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_fixesproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_dri3proto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_dri2proto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_dmxproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_damageproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_compositeproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_bigreqsproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_applewmproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_inputproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_kbproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_presentproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_recordproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_renderproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_resourceproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_scrnsaverproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_videoproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_windowswmproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_xcmiscproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_xextproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_xf86bigfontproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_xf86dgaproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* x11r7/xproto_xf86driproto: add hash fileGravatar Gustavo Zacarias2015-03-301-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>