Commit Graph

31226 Commits

Author SHA1 Message Date
Adam Duskett
582c64d4fa package/libsemanage: add host-audit as a dependency of the host variant
refpolicy requires host-libsemanage. host-libsemanage will fail to
compile without host-audit. This commit adds host-audit as a
requirement for host-libsemanage.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 22:50:26 +02:00
Adam Duskett
c2f7b6e196 package/audit: add support for host variant
host-libsemanage requires host-audit to compile, therefore this patch
adds a host variant for the audit package.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[Thomas: remove libcap-ng usage for now, rework commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 22:47:58 +02:00
Gustavo Zacarias
2d3bac0598 lighttpd: bump to version 1.4.40
Drop upstream patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 21:03:55 +02:00
Romain Naour
7a8921cb7c package/autofs: requires NPTL
autofs uses pthread_condattr_setclock() which is available only with
toolchains with NPTL threads support.

Fixes:
http://autobuild.buildroot.net/results/152/152d917b0078aeb3715cd562cdecf7d0debf924b

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 20:57:02 +02:00
Romain Naour
d2c997e6b0 package/pppd: disable for musl toolchains
For the same reason as for ipsec-tools [1], disable pppd for musl
toolchains.
It also include <sys/cdefs.h> which is not provided by musl [2].

This fixes a compilation error with musl libc because of undeclared
__P and missing sys/cdefs.h include.

Propagate the dependency to network-manager and rp-pppoe
packages.

[1] 33499484e4
[2] http://wiki.musl-libc.org/wiki/FAQ#Q:_I.27m_trying_to_compile_something_against_musl_and_I_get_error_messages_about_sys.2Fcdefs.h

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: add Config.in comment in network-manager.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 20:22:08 +02:00
Yann E. MORIN
f5dd604082 package/ti-sgx-um: fix Config.in
The continuation line was fogotten. However, it fits on a single line.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 20:17:28 +02:00
Frank Hunleth
84ef88f0bc dtach: bump to version v0.9
As part of the v0.9 release, development moved from sourceforge to
GitHub.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 16:48:18 +02:00
Yann E. MORIN
d246b9840f legacy: properly handle systemd compatibility libs
The legacy symbol for systemd compatibility libraries was not selecting
the BR2_LEGACY symbol, so the buld-time check would not kick in.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 16:47:39 +02:00
Romain Naour
47e885f14d package/alljoyn: needs BR2_TOOLCHAIN_HAS_SYNC_4
After applying a patch like [1], the build failed with the following
error:
liballjoyn_c.a(Message.o): In function `alljoyn_message_destroy':
Message.cc:(.text+0x74): undefined reference to `__sync_sub_and_fetch_4'
liballjoyn.so: undefined reference to `__sync_bool_compare_and_swap_4'
liballjoyn.so: undefined reference to `__sync_add_and_fetch_4'

So, add dependency on BR2_TOOLCHAIN_HAS_SYNC_4 which also disable the
alljoyn build on sparc.

[1] https://git.buildroot.org/buildroot/commit/?id=c5e96d8935016456bea342db170ae6a139a8470f

Fixes:
http://autobuild.buildroot.net/results/cea/cea62a7ed7f1eda6f817d8e27fd645942def25ec

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 16:41:15 +02:00
Gustavo Zacarias
ab173610fc dbus: disable bundled initscript
Otherwise it will install $(TARGET_DIR)/etc/rc.d/init.d/messagebus when
building on a redhat/fedora host.
Regardless of that we provide our own initscript.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 16:40:11 +02:00
Lothar Felten
994b030749 package/ti-sgx-um: new package
This package adds the userspace libraries for the SGX graphics
accelerator of the following Texas Instruments SoCs: AM335x, AM437x,
AM4430, AM5430 It also adds a config file for the libraries and a
System-V init script.

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
[Thomas:
 - Add Config.in comment about the ti-sgx-km dependency.
 - Add dependency on glibc since the package consists of pre-built
   libraries that can only work with glibc.
 - Add Config.in comment about thread and glibc dependencies
 - Use tabs for indentation everywhere.
 - Use git:// instead of http:// to clone, since http:// doesn't work.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 16:37:14 +02:00
Lothar Felten
7301412385 package/ti-sgx-km: new package
This package adds the kernel module for the SGX graphics accelerator of the
following Texas Instuments SoCs: AM335x, AM437x, AM4430, AM5430

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
[Thomas:
 - Add Config.in comment about Linux kernel dependency
 - Extend Config.in help text to indicate that a TI specific kernel is
   needed
 - Fetch using git:// since fetching from http://, since fetching over
   http:// doesn't work.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 15:47:45 +02:00
Romain Naour
b9fa6c00b1 package/rt-tests: disable for too old toolchains
rt-tests doesn't build with some "old" toolchains due to missing local
syscall number definition for the new kernel deadline scheduler on some
architectures. Upsteam added __NR_sched_setattr and __NR_sched_setattr
definition only for common architectures (x86, x86_64, arm) and tile if
not already defined [1].

Instead of adding missing syscall number, avoid building rt-tests
with toolchain compiled with too old kernel headers (i.e
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14)

At runtime, a 3.14 kernel must be used otherwise these syscall are not
available.

[1]
ef2dee4232

Fixes:
http://autobuild.buildroot.net/results/6fa/6facaeb10588bdf3ff029b882a8ae6ffba815cdc

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 15:02:42 +02:00
Dagg Stompler
7ddd6bff32 libamcodec: new package
Signed-off-by: Dagg Stompler <daggs@gmx.com>
[Thomas:
 - use the AML_LIBS_STAGING_DIR variable instead of PREFIX/M_PREFIX to
   indicate the compiler sysroot, which allows to use a foreach loop
   in the build commands.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 14:11:55 +02:00
Yugendra Sai Babu Nadupuru
8159b4f80a xapp_xinit: point to target's "mcookie"
The X11 package builds the "mcookie" executable, when selected, into
the directory output/host/usr/bin/mcookie. The xapp_init's "configure"
attempts to find the "mcookie" executable using the host's path. If
the host has an installed "mcookie" application in their /bin folder,
it can influence the build. The following patch forces the expected
mcookie location.

Related:
http://thread.gmane.org/gmane.comp.lib.uclibc.buildroot/50310

Signed-off-by: Yugendra Sai Babu Nadupuru <yugendra.sai.babu.nadupuru@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas:
 - remove conditional on the mcookie package being enabled, since
   xapp_xinit depends on the X.org server, and the X.org server
   selects mcookie.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 13:53:56 +02:00
Dagg Stompler
752a3aad96 gpu-amd-bin-mx51: add missing hash
Add hash for amd-gpu-bin-mx51-11.09.01.bin (the framebuffer variant of
the driver).

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 12:21:53 +02:00
Thomas Petazzoni
d07521f798 docs/website: adjust presentation of Mind sponsoring
Make the font size of the Mind block the same as all other blocks (it
was smaller) and re-adjust the min height of all blocks so that they
look the same.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 12:00:52 +02:00
Thomas Petazzoni
3aed608f6f docs/website: remove FOSDEM sponsors from "current sponsors"
Google and Mind are already credited in the "Past Sponsors" section
for their contribution to the FOSDEM 2016 meeting.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 11:59:00 +02:00
Romain Naour
607c97c47e docs/website: add OpenWide/Smile as sponsor
As mentionned in
http://lists.busybox.net/pipermail/buildroot/2016-July/167050.html,
OpenWide/Smile has sponsored the Buildroot Summer Camp, by allowing
Romain Naour to participate, and by paying the food expenses for the
event.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Jérémy Rosen <jeremy.rosen@smile.fr>
[Thomas:
 - renamed the logo file
 - remove useless white area in the logo, so that it appears bigger on
   the website]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 11:57:14 +02:00
Jerzy Grzegorek
73e6e6aaab package/vde2: sort alphabetically _VDE2_CONF_OPTS items
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 11:53:51 +02:00
Jerzy Grzegorek
7abd7059e9 package/vde2: put the \ just one space after the line of _VDE2_CONF_OPTS items
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 11:53:38 +02:00
Jerzy Grzegorek
1531392c83 package/vde2: remove trailing \ from last item of _VDE2_CONF_OPTS
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 11:53:32 +02:00
Yugendra Sai Babu Nadupuru
77f23c4d66 mtd: add option to install mtd integrity test
The mtd tests have proven very useful in testing both flash stability
and JFFS2 changes. Adding an option to install the integrity test.

Signed-off-by: Yugendra Sai Babu Nadupuru <yugendra.sai.babu.nadupuru@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas: rename Config.in option, misc improvements in .mk file, add
patch to fix build with uClibc/musl.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 11:49:40 +02:00
Yann E. MORIN
57b504f7f2 package/duma: fix build with C++14
Fixes:
    http://autobuild.buildroot.org/results/f7f/f7fc0092ec43a5a4bc38b5e6878842df77f32d3a/
    http://autobuild.buildroot.org/results/7ae/7ae0d5e4821c70077fc1731f578e8222e9d6691b/
    http://autobuild.buildroot.org/results/438/438032a6d6a38c9929cd26dffb8b3c5d1aed9106/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 11:05:51 +02:00
Yann E. MORIN
d522728d50 package/xcb-proto: add upstream patch for python3.5 build failure v2
Commit 37f0412 (xcb-proto: add upstream patch for python3.5 build
failure) added an upstream patch to fix building with python3.5, but
missed another one.

Add it now.

Fixes:
    http://autobuild.buildroot.org/results/b43/b43dc7013feddccaff913cb304d3ecb073ef6112/
    http://autobuild.buildroot.org/results/7e0/7e08d7ac2eb40033fd928d7c30d9660825964fa3/
    http://autobuild.buildroot.org/results/ca3/ca35393db46d6b08d3e0e9eaa55ff575c8cf36d7/
    [...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 10:12:39 +02:00
Yann E. MORIN
a74cbfd759 package/acpica: disable -Werror
Fixes:
    http://autobuild.buildroot.org/results/d17/d1728c29e90d978405d24bb97f5c8687dc5a6165/
    http://autobuild.buildroot.org/results/2ec/2ecdf0e87a76781b66098d034768fc8de657faaa/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 10:12:04 +02:00
Bernd Kuhls
6590c72817 package/dovecot-pigeonhole: bump version to 0.4.15
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 09:46:35 +02:00
Patrick Keroulas
d42ec02282 boot: add ts4800-mbrboot package
This MBR routine is based on TS' original bootloader.  It is loaded by
the bootrom stored in the companion FPGA, and chainloads an executable
located at the beginning of the first non-fs (0xda) partition.

Signed-off-by: Patrick Keroulas <patrick.keroulas@savoirfairelinux.com>
[Thomas:
 - add hash file.
 - install image in INSTALL_IMAGES_CMDS instead of
   INSTALL_TARGET_CMDS.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 23:15:12 +02:00
Adam Duskett
7f299f02b2 nginx-nasxi: new package
Naxsi is a third party nginx module reads a small subset of simple rules
containing a list of known patterns involved in website vulnerabilities.
This module behaves like a DROP-by-default firewall for nginx.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
[Thomas:
 - include Config.in file directly from package/Config.in and not from
   package/nginx/Config.
 - improve Config.in help text with more details
 - rename the package prompt from ngx_http_naxsi_module to nginx-naxsi
 - remove NGINX_NAXSI_SOURCE, and fix the definition of
   NGINX_NAXSI_SITE
 - change license from GPLv3 to GPLv2+ with OpenSSL exception
 - cange license file from LICENSE to naxsi_src/naxsi_json.c. The
   LICENSE file exists in the latest Git master of the project, but
   not in the 0.54 tag that we're packaging.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 22:49:56 +02:00
Bimal Jacob
e103967d6f nginx-upload: new package
A module for nginx web server for handling file uploads using
multipart/form-data encoding (RFC 1867).

Signed-off-by: Bimal Jacob <bimal.jacob@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas:
 - rename from nginx-upload-module to nginx-upload. Indeed, we don't
   want all nginx modules to be suffixed with "-module"
 - include the module Config.in file directly from package/Config.in,
   like we do for Python, Perl, Lua or TCL modules.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 22:22:39 +02:00
Adam Duskett
51925b7dd6 package/audit: Bump to version 2.6.5
- Removed 0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch
  as this was applied upstream.

- Removed 0002-Fix-usage-of-audit_status.feature_bitmap.patch as this was
  applied upstream.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 20:34:44 +02:00
Thomas Petazzoni
d925b39a40 libgudev: remove incorrect Config.in help text information
libgudev indeed used to be provided directly by eudev, but it's no
longer the case since eudev 3.1.3, and this has been already taken
into account in Buildroot in commit
6cfa5de33e. We simply forgot to update
the comment.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 20:32:48 +02:00
Yann E. MORIN
69c8a50ca4 package/eudev: libgudev is no longer provided by eudev
libgudev is now provided by the the eponym package libgudev.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 20:32:37 +02:00
Yann E. MORIN
df8525530f package/eudev: fix configure options
--enable-libkmod does not exist, but there's --enable-kmod.

Also, add --enable-blkid to the list of options, since we already depend
on it (from util-linux).

Also do not align \ for line continuations.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 19:40:10 +02:00
Yann E. MORIN
53e49ce9ca package/eudev: use the description on their home page
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 19:39:58 +02:00
Yann E. MORIN
077f70a834 package/eudev: explicitly disable rules generator if not wanted
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 19:39:37 +02:00
Sergi Granell
1c7e22c799 package/weston: Add demo clients install option
Signed-off-by: Sergi Granell <xerpi.g.12@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 19:37:04 +02:00
Christian Stewart
4d33573aa5 package/rtl8821au: set CONFIG_RTL8821AU properly
Due to a recent update in the code, CONFIG_RTL8821AU=m is the expected
kernel configuration environment variable to be set, not
CONFIG_RTL8812AU_8821AU=m as was previously set.

Presently the package does effectively nothing.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 19:36:24 +02:00
Jerzy Grzegorek
a121757f85 package/jemalloc: indentation cleanup
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 17:03:41 +02:00
Romain Naour
cc1d379ec4 package/efl: disable libevas jp2k loader
When the support for JP2K is requested, the configure script is looking
for libopenjpeg1.pc which is not provided by the openjpeg package since
it's too recent (currently v2.1).

Mark BR2_PACKAGE_EFL_JP2K as broken until a new version of the efl
stack support the new openjpeg library.

Fixes:
http://autobuild.buildroot.net/results/ff1/ff1dbbc6cffdb5b2550b3613295151ff9fa964d6

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 17:03:13 +02:00
Yann E. MORIN
c10b7c07a4 package/libfastjson: can use threads instead of atomics
When atomic intrisics are missing, libfastjson falls back to using
pthread mutexes to manage atomicity. Of course, this is much less
efficient than atomics, but it does the job.

Propagate the new dependency to rsyslog, the sole user of libfastjson.

Note: rsyslog already depends on threads for itself, but we believe it
is better to have the exact same dependency propagated.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 17:00:50 +02:00
Yann E. MORIN
a70bc14b92 package/libfastjson: fix build without threads
libfastjson is supposed to use the __sync_*4 atomic intrinsics, but alas
it is not using them because their ./configure decides they are not
available: it uses AC_TRY_RUN to check for them, and the default is to
decide they are not available, because of cross-compilation.

Besides, one of the source files was not including the generated
config.h, so even after fixing ./configure there was still a build
error.

The first patch is a backport from upstream to fix the missing
inclusion.

The second patch is switching AC_TRY_RUN over to AC_LINK_IFELSE, as the
only thing we're interested in is to check for the presence of the
atomic intrisics, and linking is enough for that.

Fixes:
    http://autobuild.buildroot.org/results/192/1923d0b570adba494f83747a9610ea6ec35f5223/
    http://autobuild.buildroot.org/results/23a/23ac0e742ed3a70ae4d038f8c9eadc23e708f671/
    and many others...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 17:00:26 +02:00
Yann E. MORIN
a2eed71c0d package/upmpdcli: needs MMU
... because it uses fork().

Fixes:
    http://autobuild.buildroot.org/results/9ae/9ae5c773e62bbe84f2d0495f074d659fa3dcd55b/
    http://autobuild.buildroot.org/results/8af/8afb9f96bb827b723b859ff73cdf674ca6434e7c/
    http://autobuild.buildroot.org/results/abe/abe9be3b78f26f56035ec805a86ab33b1d145a02/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
[Thomas: propagate to the Config.in comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 16:41:34 +02:00
Thomas Petazzoni
ce6da7295a sdl2_{gfx,image,ttf}: use lower-case package prompt in Config.in
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 16:39:30 +02:00
Peter Thompson
a0abce838b sdl2_ttf: new package
Signed-off-by: Peter Thompson <peter.macleod.thompson@gmail.com>
[Thomas:
 - point <pkg>_LICENSE_FILES to a file that actually exists
 - add host-pkgconf to the dependencies
 - remove unneeded CONF_OPTS options
 - pass FREETYPE_CONFIG in the environment to point to freetype-config]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 16:34:20 +02:00
Peter Thompson
f2ffe91eab sdl2_image: new package
Signed-off-by: Peter Thompson <peter.macleod.thompson@gmail.com>

[Thomas:
 - remove all sub-options to select the various image formats. Between
   no formats enabled and all formats enabled, the size difference of
   the library is ~30 KB, so it really isn't worth having all those
   sub-options:
   -rwxr-xr-x 1 thomas thomas  22444 juil. 15 15:51 libSDL2_image-2.0.so.0.0.1
   -rwxr-xr-x 1 thomas thomas  59216 juil. 15 15:52 libSDL2_image-2.0.so.0.0.1
   consequently, we simply enable unconditionally all image formats
   that don't have any dependency, and use "automatic" dependencies
   for the 4 formats that require an external library
 - remove the host package variant, as it isn't used anywhere.
 - remove --with-sdl2-prefix and --with-sdl2-exec-prefix, and instead
   add a dependency on host-pkgconf so that pkg-config is used
 - remove --disable-static, this is handled by the autotools-package
   infrastructure already
 - point <pkg>_LICENSE_FILES to an existing file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 16:14:51 +02:00
Peter Thompson
72fb754f4c sdl2_gfx: new package
Signed-off-by: Peter Thompson <peter.macleod.thompson@gmail.com>
[Thomas:
 - Rewrap Config.in help text.
 - Remove unused SDL2_GFX_VERSION_MAJOR variable
 - Add host-pkgconf to the dependencies, since pkg-config is used to
   find sdl2. This fixes the build, otherwise -I/usr/include/sdl2 was
   added to the CFLAGS when sdl2-config was found on the host machine.
 - Remove --with-sdl2-prefix, since this option doesn't exist, and
   using pkg-config is a better solution (--with-sdl-prefix exists,
   but is not useful when pkg-config is available).
 - Remove --enable-static, packages are not supposed to pass such an
   option, it's not automatically by the autotools package
   infrastructure.
 - Pass --disable-sdltest instead of --disable-sdl2test since the
   latter doesn't exist, while the former does.
 - Pass SDL2_GFX_AUTORECONF = YES since the configure/Makefile.in are
   not up-to-date and therefore it tries to use aclocal at build time.
 - Adjust _LICENSE_FILES, since there is no file named 'LICENSE', use
   the smallest source file instead, since it contains the license
   text.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 15:44:37 +02:00
Romain Perier
1ec1fbbdbb qt: add option for enabling the accessibility support
This adds an entry in the configuration menu in order to enable or
disable the accessibility support.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 15:06:40 +02:00
Romain Perier
255086f960 package/xserver_xorg-server: add version 1.17.4
Some old binary blobs drivers only implement an old VIDEODRV ABI. This
is the case for the AMD Catalyst driver for example.

Such a situation already exists with the nvidia-tegra23, that only
support the VIDEODRV ABI 14.

Since VIDEODRV ABIs are not backward compatible [0], lets introduce an
older Xserver version that supports such an old ABI.

0. https://www.x.org/wiki/XorgModuleABIVersions/

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 15:05:35 +02:00
Romain Naour
43bffa59e7 package/rt-tests: disable for musl toolchains
The cyclictest program doesn't build with musl toolchains due to
several issues with a different implementation of the "struct sigevent"
from Glibc/uClibc and musl (similar to [1]).

The pi_stress program doesn't build with musl toolchains with the
following error since musl doesn't provide _POSIX_THREAD_PRIO_INHERIT
define even if musl have Priority Inheritance mutexes [2]:

src/pi_tests/pi_stress.c:78:2: error: #error "Can't run this test without PI Mutex support"
 #error "Can't run this test without PI Mutex support"

Since the fix for cyclictest is not trivial, disable rt-tests for musl
toolchains.

Fixes:
http://autobuild.buildroot.net/results/c27/c272ef7df6190cbb688e6db0b1ee210e6fbb472c

[1] https://bugs.mysql.com/bug.php?id=80322
[2] http://www.openwall.com/lists/musl/2016/03/18/6

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 15:00:13 +02:00