Commit Graph

14 Commits

Author SHA1 Message Date
Gustavo Zacarias
5fcd6c4a3a glibmm: bump to version 2.46.1
Adjust pulseview/libsigrok for the gcc >= 4.8 dependency.

Line wrap comment depends for pulseview.

Drop redundant libsigrok depend on comment for libsigrok++.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-11-14 09:39:48 +01:00
Thomas Petazzoni
e01c6f08b7 libsigrok: depends on gcc >= 4.7
Until recently, only the C++ bindings of libsigrok needed a recent
compiler because they are written in C++11. However, now, libsigrok
itself is written in C11, which is only available since gcc 4.7.

So, this commit replaces the CodeSourcery-specific exclusions by a
proper dependency on gcc >= 4.7.

The sigrok-cli and pulseview packages, which select libsigrok, are
also updated accordingly.

Fixes:
  http://autobuild.buildroot.org/results/1d7/1d75497009f1e3b06236b3409fd768dcf7956b87/
  http://autobuild.buildroot.org/results/563/563378e3f6320980153c8c972ceba5e913fe933f/

[Thomas: add autobuilder references, as suggested by Yann E. Morin.]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-08-05 12:11:20 +02:00
Bartosz Golaszewski
6fd3caec06 libsigrok: bump commit hash
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-30 14:26:42 +02:00
Romain Naour
914c950df3 package/libsigrok: blacklist CS powerpc toolchains
Even though BR2_PACKAGE_LIBSIGROKCXX is selected, the C++
binding is disabled due to lack of C++11 support in the toolchain.

Configure output:
Enabled language bindings:
 - C++............................. no (C++11 compiler required)

So disable libsigrok C++ binding and pulseview for CS powerpc toolchains.

Fixes:
http://autobuild.buildroot.net/results/737/737453011ac0d13ab197258171ffa0f81bc4c368/

[Thomas: use 'depends on !foo && !bar' instead of 'depends on !(foo ||
bar)', seems it looks more logical in this situation.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-05-20 23:25:53 +02:00
Thomas Petazzoni
2c490f00c8 host-autoconf-archive: install to a non-standard location
The host-autoconf-archive package was added to provide the necessary
autoconf macros for the libsigrok package, and later also used for the
thrift package.

However, it installs its autoconf macro in
$(HOST_DIR)/usr/share/aclocal, which is part of the include directory
of autoconf macros used for all autoreconf invocations. Unfortunately,
using those macros for all packages is causing a number of
regressions: one on host-ola fixed in commit
884af65fd5, and one in snmpp. Those
packages are autoreconf'ed, but if they are autoreconf'ed with the
autoconf-archive macros installed, they no longer work.

To solve this problem, this commit implements a simple solution that
makes using host-autoconf-archive macros an opt-in mechanism. To
achieve this, the autoconf-archive package is modified to install its
macros in a special directory, and only the packages that really want
to use those macros will have to pass a -I flag pointing to this
directory in their <pkg>_AUTORECONF_OPTS variable.

Fixes:

  http://autobuild.buildroot.org/results/712/712c8083b9eeafa41b60790961028c40b28f59ad/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-15 00:59:31 +02:00
Bartosz Golaszewski
208260982e libsigrok: bump commit hash
Several patches fixing issues and adding new features to baylibre-acme
driver have been merged with upstream libsigrok.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-13 12:26:37 +02:00
Bartosz Golaszewski
b9a6cc1dd2 Revert "libsigrok: mark libsigrokcxx as broken"
This reverts commit 41e81b7ae1.

Doxygen dependency issue for libsigrokcxx has been fixed.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-12 18:58:58 +02:00
Bartosz Golaszewski
18c0584f88 libsigrok: add host-doxygen dependency for C++ bindings
Doxygen is required to generate xml files required by libsigrokcxx
build system.

[Thomas: add host-python (or host-python3) to the dependencies when
building the C++ bindings for libsigrok, since a Python interpreter >=
2.7 is needed at build time.]

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-12 18:57:13 +02:00
Thomas Petazzoni
41e81b7ae1 libsigrok: mark libsigrokcxx as broken
It requires doxygen to generate the C++ bindings, which doesn't have a
package in Buildroot. Until this gets resolved, mark libsigrokcxx and
its reverse dependency pulseview as broken to avoid build failures in
the autobuilders.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-08 21:07:23 +02:00
Bartosz Golaszewski
cd3c6e26c5 libsigrok: enable building C++ bindings
[Thomas:
 - Use BR2_INSTALL_LIBSTDCPP instead of BR2_TOOLCHAIN_BUILDROOT_CXX,
   so that the condition also works with external toolchains.
 - Use a 'if BR2_PACKAGE_LIBSIGROK' instead of duplicating the
   dependency.]

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-23 18:01:07 +01:00
Bartosz Golaszewski
503a6b2271 libsigrok: bump git commit tag
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-20 19:04:15 +01:00
Bartosz Golaszewski
8dee519750 libsigrok: don't select libserialport in Config.in
Libsigrok can be built without libserialport. Don't select it
in Config.in from both libsigrok and sigrok-cli and add a check
to libsigrok.mk to determine whether libserialport should be
enabled.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-20 18:56:50 +01:00
Bartosz Golaszewski
733431b5f9 libsigrok: remove --disable-udev from CONF_OPTS
This option is invalid and thus ignored by libsigrok configure.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-20 18:56:00 +01:00
Bartosz Golaszewski
73789f14e4 libsigrok: new package
[Peter: needs host-pkgconf, simplify pre configure hook]
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-01 14:49:43 +01:00