Commit Graph

15783 Commits

Author SHA1 Message Date
Thomas Petazzoni
786b32a2fb mono: backport patches to fix PowerPC build
Mono 3.12.0 doesn't build properly on PowerPC, but there are already
patches upstream to fix those issues. This commit backports the two
necessary patches to get the PowerPC build working.

Fixes:

  http://autobuild.buildroot.org/results/91d/91d4b9d3f2d3597b071a1bcec8339eaf2a9c7981/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-07 12:50:46 +01:00
Thomas Petazzoni
ee60fbdd7b mono: use proper Git patches
In order to ease the modification of the Mono patches, turn the
existing ones into proper Git patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-07 12:50:21 +01:00
Peter Korsgaard
d471c19d0c x264: disable avxsynth support
Fixes:
http://autobuild.buildroot.net/results/0f8/0f8b1167ba23a9a2cd9bd6b6e1baa0470523d47d/
http://autobuild.buildroot.net/results/b65/b651f488fbd6f2985e1a656814098db6c60040e5/

We don't have an avxsynth package in Buildroot, and x264 uses dlopen to
access it so it breaks on static only toolchains.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-07 10:01:14 +01:00
Peter Korsgaard
f745590297 lame: unconditionally disable debug handling
As it is also broken on arc, bfin and microblaze and brings very limited
added value.

Fixes:
http://autobuild.buildroot.net/results/643/643d174836457237615b6504e28d7b3c12a37f93/
http://autobuild.buildroot.net/results/831/831f3a03321cea1b753f3e7dd8d3c6354d51d3e7/
http://autobuild.buildroot.net/results/71d/71dc37f9cc56f3f53676f54bf28f2ca101bc4505/
http://autobuild.buildroot.net/results/61f/61f1e956bb433aa80f859b3cf37d374feee1cb0c/

And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-06 22:46:21 +01:00
Peter Korsgaard
443386c883 linux-headers: bump 3.{4,10,12,14,18}.x series
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-06 22:15:15 +01:00
Thomas Petazzoni
3398f29da0 mono: add patch to fix MIPS build issue
Since the bump to version 3.12 of Mono, it fails to build on MIPS. The
patch added by this commit fixes this build failure, simply caused by
a missing include.

Fixes:

  http://autobuild.buildroot.org/results/6f5/6f5e20a4a99eb0db650430bf6285c844fd940711/

Submitted upstream at https://github.com/mono/mono/pull/1550.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-06 20:03:35 +01:00
Vicente Olivert Riera
1f84fcdc05 qt5/qt5base: Fix build on MIPS without DSP support
The qt_memfill32_asm_mips_dsp function is only declared if
QT_COMPILER_SUPPORTS_MIPS_DSP is defined, so we can't reference it
unless the same macro is defined.

Backporting an upstream patch to fix this issue.

This is the error message:

qt-everywhere-enterprise-src-5.4.0-alpha/qtbase/src/gui/painting/qdrawhelper.cpp:
In function 'void qInitDrawhelperAsm()':
qt-everywhere-enterprise-src-5.4.0-alpha/qtbase/src/gui/painting/qdrawhelper.cpp:6843:
error: 'qt_memfill32_asm_mips_dsp' was not declared in this scope

Upstream commit:

  2ca323ccd4

Fixes:

  http://autobuild.buildroot.net/results/254/254cf62bef8bc5d5ffe345d817d16aa9983baa15/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-06 20:03:00 +01:00
Vicente Olivert Riera
b201ec4386 qt5/qt5base: Fix build on big endian systems
Backporting an upstream patch to fix a qt5base build failure on big
endian systems. This is the error message:

image/qimage_conversions.cpp:2257:9: error: expected '}' before numeric
constant

Upstream commit:

  404f4281fd

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-06 20:02:07 +01:00
Peter Korsgaard
35bf4f3913 qemu: correct kernel headers check when major numbers differ
commit f7add51c39 (qemu: add host/target Linux version check) added a
version check between the host kernel version and the version of kernel
headers used by the toolchain, but the logic would fail unless BOTH major
and minor versions were >=, which isn't true for E.G. host kernel = 3.2 and
toolchain 2.6.x.

Instead calculate a single version number (as major << 8 + minor) and
compare that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-06 13:30:21 +01:00
Peter Korsgaard
1fe41593a9 host-qemu: needs host-python
Fixes:
http://autobuild.buildroot.net/results/e58/e58a0d7d5c084be000ae7d5b3821cd68d6639aab/
http://autobuild.buildroot.net/results/624/62425cfdd4270bf1a9b15bd57490478b1c04c720/
http://autobuild.buildroot.net/results/d18/d189d7f75ffbb3349b68a5c312b14ea5638bb903/
http://autobuild.buildroot.net/results/7d3/7d386322cec452ee636adb20be0c1a31f38385fc/

And many more.

Just like qemu for the target, host-qemu needs python (2.x) on the host.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-06 11:36:25 +01:00
Baruch Siach
6240f33bec sdparm: remove include of host headers
Fixes:
http://autobuild.buildroot.net/results/458/458b3da912b977335ac292fa7adddfb85961557a/
http://autobuild.buildroot.net/results/ead/ead9c1d354e9beebdcb892ded2d63b8d3bc3eb51/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-06 10:36:34 +01:00
Thomas Petazzoni
aa270ac892 qemu: add architecture dependencies for host qemu
The host-qemu package currently builds the user mode emulation, which
isn't available on all architectures, so this commit adds the
necessary architecture dependencies to the Config.in.host file.

Fixes:

  http://autobuild.buildroot.net/results/4298ce40cbe3db50ffe53ecf6856523157df591d/

Reported-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-06 10:32:03 +01:00
Peter Korsgaard
95c6848e81 rpm: use pkg-config to detect zlib and popt
Fixes:
http://autobuild.buildroot.net/results/98b/98b70ea09ecef214f13a622dcb926e01a6d6f7d9/
http://autobuild.buildroot.net/results/d13/d1343c3be9710d5be3cf6e4369dd5c75102e7b92/
http://autobuild.buildroot.net/results/457/457d3d9231f1422b19ffbac6d4a6ab02c6d6c22f/
http://autobuild.buildroot.net/results/ed8/ed8efe3985e6b423e4c18f9c200aa042ccb9ed23/

And many more.

Using --with-zlib=$(STAGING_DIR) causes the configure script to basically do
a find $(STAGING_DIR) -name zlib.h to figure out the correct include path
for zlib.  That is normally ok, but if botan is enabled and built before
rpm, then it installs a zlib.h header in
$(STAGING_DIR)/usr/include/botan-1.10/botan which confuses this logic and
causes configure to fail.

Fix it by using --with-zlib=external instead which causes the configure
script to use pkg-config to get the CFLAGS/LDFLAGS. Also do it for popt so
we don't end up with a similar issue in the future. We unfortunately cannot
do it for beecrypt as it doesn't install a .pc file.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-06 10:29:17 +01:00
Romain Naour
775e50cb5b package/infozip: add hash file
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-05 22:49:38 +01:00
Romain Naour
6a919e0a43 package/infozip: silent LFS warning
infozip already defines _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE in
some sources files when LARGE_FILE_SUPPORT is set.
Remove them from CFLAGS.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-05 22:49:27 +01:00
Romain Naour
3046df4572 package/infozip: fix LARGE_FILE_SUPPORT check
The LFS check was dropped in commit cc4dedd9.

Since then there is a runtime error:
zip warning : Not supported (uzoff_t not same size as zoff_t)

However LFS check can't readded as is because it can't work
for cross-compilation since it try to run a target's binary on
the host system.

Replace infozip's LFS check with the one used by autoconf.
This allows to readd LFS support for host-infozip.

Reported-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-05 22:49:04 +01:00
Romain Naour
8a68dc3691 package/infozip: disable GID/UID support
This check can't work for cross-compilation since it
try to run a target's binary on the host system.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-05 22:47:22 +01:00
Romain Naour
7ecf34b9f5 package/infozip: factorize common CFLAGS
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-05 22:41:28 +01:00
Romain Naour
f6071595ff package/infozip: rework infozip patch.
Split each cross-compilation fixes to differents
patches files.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-05 22:40:29 +01:00
Vicente Olivert Riera
752079011d libvips: requires C++ support
libvips requires C++ support, otherwise it will fail with an error
message like this one:

error: ../libvips/.libs/libvips.so: No such file or directory

The '--disable-cxx' configure option seems to be broken, so in the
meantime a compiler with C++ support is required in order to build
libvips successfully.

Reported upstream:

  https://github.com/jcupitt/libvips/issues/231

Fixes:

  http://autobuild.buildroot.net/results/cdc7cf5d3501f80c74b70aa09f93b2ad4e2f8602/
  http://autobuild.buildroot.net/results/39173dbcbbd0a243900ea583cec024b51f8b803a/
  http://autobuild.buildroot.net/results/6794705195bcdb636a8e6582ef5a1e153d4d66b3/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-05 16:58:37 +01:00
Johan Derycke
e5efd108d6 qt5webkit: Fix build without OpenGL
Fixes:
http://autobuild.buildroot.net/results/691/6918c623b65a3cee45f2c29c29b36f9bf475cc76/
http://autobuild.buildroot.net/results/914/914056cbd9787aeae4c8b42e8a37453b1a271a02/
http://autobuild.buildroot.net/results/84d/84d3285cc8e2669c4ff4c1be3a1e8ea9a6933779/

Backport patch from upstream git:
4ecb913768

Signed-off-by: Johan Derycke <johan.derycke@barco.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-05 08:48:13 +01:00
Pieter Ronsijn
ac37db1ee9 log4cxx: disable unused documentation
Saves around 14 MiB of data in /usr/share/log4cxx/html.

Signed-off-by: Johan Derycke <johan.derycke@barco.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-05 00:08:11 +01:00
Peter Korsgaard
60dbd1da78 python-pyzmq: ensure correct path to zmq is used
Fixes:
http://autobuild.buildroot.net/results/6ae/6ae84c53985ab52ab1c64dd1e2a16d0bcf9eed1e/
http://autobuild.buildroot.net/results/04d/04d5ceb5335912916f05596a285e84d38a7c7d31/
http://autobuild.buildroot.net/results/77a/77ae85f24fabd00f2981f2dbddb52d8d5091b4a8/
http://autobuild.buildroot.net/results/27a/27adf12cca4e0e998b64fda9bf4be67f6dbe1595/

And many more.

If --zmq isn't passed then python-pymq falls back to using 'pkg-config
--variable=prefix libzmq' which returns /usr, causing it to look in /usr/lib
for libraries breaking the build.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 23:44:05 +01:00
Yegor Yefremov
537b3c0ca9 python-werkzeug: bump to 0.10
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 22:11:55 +01:00
Yegor Yefremov
f65bf1cebf libmbim: bump to 1.12.2
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 21:50:46 +01:00
Yegor Yefremov
12c4db998d libqmi: bump to 1.12.2
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 21:50:41 +01:00
Peter Korsgaard
6ffcc859ae odhcp6c: uses fork(), needs mmu
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 21:27:29 +01:00
Doug Kehn
b7bc44d22d pkg-generic: reinstall target
Add a <pkg>-reinstall target, just like <pkg>-rebuild and
<pkg>-reconfigure, but that only retrigger the install step of the
package.

Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 18:05:21 +01:00
Thierry Bultel
2aaa5bd7b1 xterm: add support for 256 colors
[Thomas: make the 256 colors support unconditionally enabled.]

Signed-off-by: Thierry Bultel <tbultel@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 17:57:15 +01:00
Thierry Bultel
423903b1bb ncurses: add support for 256 colors
[Thomas: fixup nano to use $(NCURSES_CONFIG_SCRIPTS) now that the
ncurses config script can have a different name depending on the
configuration.]

Signed-off-by: Thierry Bultel <tbultel@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 17:52:27 +01:00
Peter Seiderer
20cfc871fb ghostscript-fonts: new package
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 17:04:54 +01:00
Peter Korsgaard
c6abdd97a1 iprutils: drop unneeded ncurses5-config handling
ncurses nowadays installs the headers directly into $prefix/usr/include, so
ncurses5-config doesn't return anything important and the logic wasn't
taking the wchar variant into consideration - So just drop it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 15:59:57 +01:00
Maxime Hadjinlian
cb8ce5f001 opencv: Remove hash file
Since the tarball we download is generated from GitHub, there's no
saying that the tarball won't differ in a month from now.
So the hash has no value there.

An update to the manual should be done.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 15:55:55 +01:00
Bernd Kuhls
356584ca70 Apply --disable-gtk-doc-html to all packages
Move this option to package/pkg-autotools.mk so it applies to all packages.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 15:25:21 +01:00
Peter Korsgaard
298cd8eaa2 package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:52:56 +01:00
Samuel Martin
dd798a45c5 package/gcc: rename the conditional patch according to the new policy
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:51:43 +01:00
Peter Korsgaard
088ca7f959 mjpegtools: add optional support for png/sdl/sdl_gfx/X11/gtk2
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:23:09 +01:00
Peter Korsgaard
4aacf11e22 mjpegtools: needs host-pkgconf
The configure script uses PKG_CHECK_MODULES to search for libraries.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:23:09 +01:00
Peter Korsgaard
75a38ba86a mjpegtools: uses fork(), needs mmu
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:23:09 +01:00
Maxime Hadjinlian
6ae6417af3 tslib: Use the release tarball
Add a hash file since the release tarball has been uploaded from the
maintainer.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 11:07:21 +01:00
Peter Korsgaard
2d3d6d258b libmicrohttpd: fix static linking with gnutls
Fixes http://autobuild.buildroot.net/results/f5a/f5a135647867ca98ce6189bb343a631ce6a47e23/

gnutls links to a number of libraries depending on configuration (pthread,
iconv, ..), so we need to link against those as well when statically
linking.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 10:29:46 +01:00
Johan Oudinet
8290f2ea11 ejabberd: new package.
[Thomas:
 - Adjust the comment about the dependency on erlang
 - Fix license to be 'GPLv2+ with OpenSSL exception' and not just 'GPLv2+'
 - Use double quotes instead of simple quotes in the .mk file.
 - Don't use the EJABBERD_MAKE_ENV variable, since it's not defined
   anywhere.
 - Remove the 0007-fix-init.patch patch, since we're not using the
   init script provided by ejabberd, and rename
   0008-fix-install-permissions.patch to
   0007-fix-install-permissions.patch.]

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 10:23:39 +01:00
Johan Oudinet
527aaf08cc erlang-p1-cache-tab: new package.
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 10:23:36 +01:00
Johan Oudinet
271326d45f erlang-p1-iconv: new package.
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 10:23:33 +01:00
Johan Oudinet
dc41cb3fdf erlang-p1-sip: new package.
[Thomas: adjust license to be 'GPLv2 with OpenSSL exception' instead
of just 'GPLv2'.]

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 10:23:29 +01:00
Johan Oudinet
6b41208c86 erlang-p1-stringprep: new package.
[Thomas: fixup license, it uses the TCL license, and not GPLv2+.]

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 10:23:27 +01:00
Johan Oudinet
63e4680acc erlang-p1-stun: new package.
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 10:23:24 +01:00
Johan Oudinet
73eab34485 erlang-p1-tls: new package.
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 10:23:21 +01:00
Johan Oudinet
74a8d57cca erlang-p1-utils: new package.
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 10:23:18 +01:00
Johan Oudinet
3adcfadd95 erlang-p1-xml: new package.
[Thomas: fixup license, it is GPLv2+ and not GPLv2.]

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03 10:23:16 +01:00