3590 Commits

Author SHA1 Message Date
Jens Rehsack
c63423e305 rrdtool: fix compile error
Since cpan.bbclass has evolved, the old wrapper simulation needs some adoption.
Use as much as possible from cpan.bbclass instead of copying code from there.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-02 15:01:10 +01:00
Jackie Huang
2496cc5ad5 waf-samba.bbclass: add missing qemu options
- QEMU_OPTIONS is needed for running binary through qemu,
  add it for CROSS_EXEC.
- "-r ${OLDEST_KERNEL}" is already included in QEMU_OPTIONS,
  remove it from CROSS_EXEC

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-02 15:00:51 +01:00
Roy Li
b075b925e9 libx86-1: add the recipe
A library to provide support for making real-mode calls x86 calls. On
x86 hardware, vm86 mode is used. On other platforms, x86 emulation is
provided.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-02 14:59:27 +01:00
Jens Rehsack
a61ce1bbe1 samba: add support for sysvinit via lsb-init-functions
Since there're surely lot's of individual distibutions not moved to systemd,
allow sane samba start/stop with systemv anyway. Rely on lsb-init-functions
for improved control.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-02 14:59:27 +01:00
Martin Jansa
c02373c634 nodejs: use oe_runmake to respect PARALLEL_MAKE
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-02 14:59:26 +01:00
Martin Jansa
0862c4cfee konkretcmpi: depend on swig-native
* otherwise it fails with:
  | CMake Error at sysroots/x86_64-linux/usr/share/cmake-3.3/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  |   Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
* drop cmake-native, because it's already added by cmake.bbclass

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-02 14:59:26 +01:00
Jens Rehsack
c04f105227 rrdtool: adding the capability of native-builds to get rrdtool-oo in meta-cpan running
An additional layer for Perl modules from cpan (https://github.com/rehsack/meta-cpan)
provides additional modules for dealing with rrd files: RRDTool::OO from Michael Schili.
This extension requires an executable version of rrdtool.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-26 21:37:38 +01:00
Manuel Bachmann
bf7d1ab47f freerdp: get out of PNBLACKLIST, fix build, improve
We make the "freerdp" recipe active again, fix the build
by pulling a more recent version (the "stable" branches are
buggy and useless), and fix ARM runtime with -fPIC.

We can then :
- make X11 non-mandatory ;
- add support for Wayland ("wlfreerdp" client) ;
- add support for DirectFB ("dfreerdp" client) ;
- add support for GStreamer 1.0 ;
- make "heavy" features such as pulseaudio, cups...
non-mandatory.

We really want to install the "winpr-makecert" tool to have
TLS, but CMake does not position its RPATH cleanly, so let
us have a custom patch for that until it gets sorted out.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-26 21:37:38 +01:00
Lukas Bulwahn
aaf7140847 libeigen: patch to install the find cmake script
This commit is needed for the pcl-ros 1.3.0 recipe in the
meta-ros layer, which detects the Eigen library with the provided
cmake script.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-26 21:37:37 +01:00
Lukas Bulwahn
5b8bd16332 libeigen: update to 3.2.6
It seems that the libeigen patch is not required anymore. I could
not find any issue while building libeigen and other recipes
depending on libeigen.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-26 21:37:37 +01:00
Andreas Müller
ed4ab0ce80 poppler: update to 0.37.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-26 21:37:37 +01:00
Joe Slater
ef531ff6ad libmodbus: version 3.0.5 -> 3.0.6
Rename recipe then change md5sum and sha256sum.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-26 21:37:36 +01:00
Andreas Müller
534b72af69 libsdl2-image: Initial add 2.0.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:57:22 +02:00
Andreas Müller
c08d766401 libvpx: avoid CVE-2015-1258
[1] https://security-tracker.debian.org/tracker/CVE-2015-1258
[2] http://pkgs.fedoraproject.org/cgit/libvpx.git/commit/?id=4257ff5f4ac22a3fe7b34f441e6425b2a8b690ae

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:57:17 +02:00
Jagadeesh Krishnanjanappa
89e40e736d libuio: fix build issue with gcc-5
1. Remove  PNBLACKLIST[libuio] line, since libuio compiles fine with gcc-5
   with this patch.

2. By default, gcc-5 uses C99 inline semantics, this semantics doesn't
generate externally visible function for inline functions. This results in
below error, when an another translation unit (TU) tries to link with the
inline function,

-- snip --
| lsuio.o: In function `main':
| <...>/libuio/0.2.1-r0/git/tools/lsuio.c:85: undefined reference to `uio_mmap'
| collect2: error: ld returned 1 exit status
| make[2]: *** [lsuio] Error 1
-- CUT --

To solve this error and make libuio to compile with both 4.x and 5.x,

1. We can remove 'uio_mmap' inline function definition in uio_mmap.c, and move
   that definition into uio_helper.h file (which is included by lsuio.c) and
   replace inline with "static inline". Similarly it can be done to
   uio_single_munmap and uio_munmap inline functions

2. Add 'extern' keyword in front of uio_mmap inline function declaration , to
   make uio_mmap as a externally visible function, and so that it can be
   linked with other TUs.

Going with option 1.

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:57:08 +02:00
Qi.Chen@windriver.com
ff477aa4e6 rrdtool: fix multilib problem
When building rrdtool with multilib enabled, we would meet the following error.

ERROR: QA Issue: rrdtool: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/python2.7
  /usr/lib/python2.7/site-packages
  /usr/lib/python2.7/site-packages/rrdtool.so
  ....

Fix this problem by using nonarch_libdir instead of libdir.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:56:44 +02:00
Qi.Chen@windriver.com
8e26d2cddf rrdtool: add systemd support and fix QA issue
When building rrdtool in a building directory where systemd is configured
to be the init system, we would meet the following error.

ERROR: QA Issue: rrdtool: Files/directories were installed but not shipped in any package:
   /lib
   /lib/systemd
   /lib/systemd/system
   /lib/systemd/system/rrdcached.socket
   /lib/systemd/system/rrdcached.service

Fix this problem by adding systemd support to the rrdtool recipe.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:56:41 +02:00
Qi.Chen@windriver.com
2f5eb8f1b8 rrdtool: fix file locations
When we build rrdtool, we would meet the following QA issue.

  QA Issue: /usr/share/rrdtool/examples/stripes.py_rrdtool-perl contained
  in package rrdtool-perl requires /usr/bin/python, but no providers found
  in its RDEPENDS [file-rdeps]

The problem is that /usr/share/rrdtool/examples not only contain perl examples,
but also contains python examples.

Besides, ${datadir}/examples don't exist, fix it to be ${datadir}/rrdtool/examples.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:56:36 +02:00
Qi.Chen@windriver.com
c092f7b105 rrdtool: fix useless-rpath QA issue
When building rrdtool, we would meet the following error.

  ERROR: QA Issue: rrdtool-python: work/core2-64-poky-linux/rrdtool
  /1.5.4-r0/packages-split/rrdtool-python/usr/lib/python2.7/site-packages
  /rrdtool.so contains probably-redundant RPATH /usr/lib [useless-rpaths]

Fix this issue by removing 'LD_RUN_PATH=$(libdir)' when compiling rrdtool.so.

As we use '--disable-rpath' in EXTRA_OECONF, we don't need to the to remove
'--rpath=$(libdir)' in Makefile.am.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:56:34 +02:00
Khem Raj
5047910313 sysdig: Fix build with lua >= 5.2
It was still using deprecated lua contructs
also fix for musl while at it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:56:18 +02:00
Khem Raj
2ce3086aa8 luajit: Upgrade to 2.1 beta1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:56:06 +02:00
Gary Thomas
77582ef1be poppler: Support building against QT4-embedded
These changes allow the poppler package to build using qt4e.
To enable them, add this line to local.conf
  PACKAGECONFIG_append_pn-poppler = " qt4e"

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Upstream-status: Innapropriate [OE configuration]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:25 +02:00
Li Xin
9dc7608a0c lmsensors: remove unused service file
* Upstream ships a systemd service file sensord.service now,
  so we don't need this anymore.
* Install lm_sensors.service and fancontrol.service to support systemd systems.
  lm_sensors.service: Initialize hardware monitoring sensors.
  fancontrol.service: Start fan control, if configured.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:25 +02:00
Li Xin
06efc118e0 lmsensors-config: add configuration file sensord
It is needed to start sensord.service.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:24 +02:00
Chunrong Guo
21fe8a55f6 iperf3 :upgrade to 3.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:24 +02:00
Joshua Lock
d7d54dcf57 xerces-c: enable a native variant with BBCLASSEXTEND
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:24 +02:00
Kai Kang
2d1de436b1 openldap: 2.4.41 -> 2.4.42
Upgrade phpmyadmin from 2.4.41 to 2.4.42. And backport patch from

http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commitdiff;h=6fe51a9

to fix CVE-2015-6908.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:23 +02:00
Martin Jansa
afbceb9632 lirc: use weak assignment in PACKAGECONFIG like other recipes
* using append makes it harder to disable PACKAGECONFIGs set from
  DISTRO_FEATURES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:23 +02:00
Martin Jansa
796f9ba6a6 debootstrap: cleanup the recipe
* FILESEXTRAPATHS_prepend isn't needed
* ${PN}-${PV} -> ${BP}
* drop autotools, it doesn't use autotools, there is just a Makefile
* use SUMMARY instead of DESCRIPTION

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:22 +02:00
Martin Jansa
29e99a67da vpnc, arptables, lirc, debootstrap, log4cpp, python-ldap: drop unused variable PRIORITY
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:22 +02:00
Kai Kang
3c3908a03a efibootmgr: 0.6.0 -> 0.12
Upgrade efibootmgr from 0.6.0 to 0.12.

* update HOMEPAGE
* drop obsolete patches that source files have been removed
* add dependency efivar
* update CFLAGS to fix print wrong version issue

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:21 +02:00
Kai Kang
7967a79c83 efivar: 0.7 -> 0.21
Upgrade efivar from 0.7 to 0.21.

* update HOMEPAGE and git repo.
* update license file checksum. It made FSF addresses in COPYING be URLs.
  Ref: https://github.com/rhinstaller/efivar/commit/ca88012
* add -native recipe to provide command makeguids
  and add patch for target package to use this native makeguids command
* add patch to build efivar-native with lower version gcc which doesn't
  support options '-Wmaybe-uninitialized' and '-std=gnu11'

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:21 +02:00
Paul Barker
30924da8d0 vim: Upgrade to v7.4.769
v7.4.769 is the latest marked stable in Gentoo so we know this has had some
testing.

License change is simply rewording "further more" -> "furthermore".

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:21 +02:00
Li Xin
c09b65decc iptraf: add new recipe
IPTraf is a console-based network statistics utility for Linux.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:17 +02:00
Andreas Müller
91cfb371ad openbox: fix sporadic race on compile
| make: creating data/xsession/openbox-gnome-session
| make: creating data/xsession/openbox-session
| make: creating data/xsession/openbox-kde-session
| make: creating data/autostart/openbox-autostart
| make: creating doc/openbox.1
| make: creating data/autostart/autostart
| make: creating doc/openbox-session.1
| make: creating doc/openbox-gnome-session.1
| make: creating doc/openbox-kde-session.1
| make: creating doc/obxprop.1
| mkdir: cannot create directory './data/autostart': File exists
| Makefile:4329: recipe for target 'data/autostart/autostart' failed

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:17 +02:00
Wenzong Fan
dafdc09cf5 libcap-ng: remove package
libcap-ng 0.7.7 has been added to oe-core:
  ad509d7644803ff9386affefe2ec1a3664027074

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:17 +02:00
Wenzong Fan
02f98d1bc7 swig: remove package
swig 3.0.6 has been moved to oe-croe:
  66923c6776da13bd4513a73c3f7c5e60d74eb0f3

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:17 +02:00
Martin Jansa
8b09905f0e xf86-video-geode: blacklist, fails to build
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:16 +02:00
S. Lockwood-Childs
af5393c66d libimobiledevice: fix gcc 5 link failure
Drop 'inline' from some functions that had 'inline' keyword without
a definition at that point (they were defined in a different file).

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:16 +02:00
Martin Jansa
23400e939e Revert "freerdp: move to nonworking"
* use PNBLACKLIST instead

This reverts commit 353b2ceff20c8fcf4d58e048cab8b88f1fdccf9e.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:16 +02:00
Martin Jansa
0216e5306a Revert "gnome-terminal, system-tools-backends, slim, benchfft, syslog-ng: move to nonworking directories"
* use PNBLACKLIST instead

This reverts commit 92ea562bafda6b201fae91c2bc13a404da4d581c.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:15 +02:00
Martin Jansa
b0e0273ebb Revert "qcanobserver: Move to nonworking"
* Use PNBLACKLIST instead

This reverts commit 8040a4c38bd00e45d50b539affde03deddecd38c.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:15 +02:00
Ioan-Adrian Ratiu
8dacaa70ba meta-oe: recipes-devtools: add libubox recipe
libubox contains C utility functions used by OpenWrt projects

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:14 +02:00
Ioan-Adrian Ratiu
dcba860726 meta-oe: recipes-devtools: add debootstrap recipe
debootstrap is a tool which will install a Debian base system into a
subdirectory of another, already installed system.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:14 +02:00
Maciej Borzecki
916097b212 networkmanager: fix installed-vs-shipped warning
Package QA complains about these files being installed but not shipped:
  /run
  /run/NetworkManager

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:13 +02:00
Reinette Chatre
f86ba9a558 polkit: fix relocation of polkit binaries
Polkit is currently broken in images built with multilib and systemd.
This is because the patch, 0001-do-not-hardcoded-libdir.patch, applied on
top of the polkit source code modifies where the polkitd binary is
installed, but it does not modify the polkit.service file to start the
binary from its new location.

At first it seemed reasonable to modify the systemd service file to
search for the binary in the correct place. This change, as well as what
the patch (0001-do-not-hardcoded-libdir.patch) already does was proposed to
the polkit maintainers at https://bugs.freedesktop.org/show_bug.cgi?id=92094

During the discussion with the polkit maintainers it became apparent that the
change to support multilib polkit should not be done with a patch to
the polkit source code, but instead a change to the polkit recipe.

Polkit correctly installs libraries when multilib is in use without any
changes to its source code. What is being changed by
0001-do-not-hardcoded-libdir.patch is not where the polkit libraries are
installed but where the binaries are installed.

Installing binaries in /usr/lib when baselib is lib64 is acceptable (see
http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s06.html ).

So, instead of patching polkit to install its binaries under the same
library directory as its libraries we maintain the design of the polkit
installer to install the binaries in /usr/lib. This is the same as what is
done in distros like Fedora that supports multilib.

With this patch the polkit package, when built with multilib, installs
files into /usr/lib* as follows:
polkit/usr/lib64/libpolkit-agent-1.so.0
polkit/usr/lib64/libpolkit-gobject-1.so.0
polkit/usr/lib64/libpolkit-gobject-1.so.0.0.0
polkit/usr/lib64/libpolkit-agent-1.so.0.0.0
polkit/usr/lib
polkit/usr/lib/polkit-1
polkit/usr/lib/polkit-1/polkitd
polkit/usr/lib/polkit-1/polkit-agent-helper-1

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:13 +02:00
Otavio Salvador
b798bdbe69 mariadb: Easy linkage of code using libmysqlclient_r
The libmysqlclient_r library is now a symbolic link for the
libmysqlclient one, however some code still requires it for
linking.

To easy the transition, when installing the libmysqlclient-dev we
should include the libmysqlclient-r-dev as well.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:13 +02:00
Andrei Kholodnyi
9461b4ca6d lvm2: add --with-systemdsystemunitdir in configuration
Otherwise sed command for blk-availability.service may fail.
It will look for the service file in a wrong location

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:13 +02:00
Wenzong Fan
38ed53fcde gd: cleanup buildpaths from gdlib.pc
* gdlib.pc:
  -L/path/to/tmp/sysroots/qemux86-64/usr/lib64 -> -L/usr/lib64

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:28:13 +02:00
Andreas Müller
84d89048b0 libgudev: skip recipe for distros not using systemd as init
for those systems udev provides libgudev

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:27:51 +02:00