Commit Graph

689 Commits

Author SHA1 Message Date
Khem Raj
2946ce1c9a glade: Fix format string warnings with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 059b3b2474)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Ming Liu
a7ec955470 json-spirit: Add -latomic to LDFLAGS
This fixes following errors when compiling with clang:
| ../json_spirit/libjson_spirit.so.4.0.8: error: undefined reference to '__atomic_load_4'
| ../json_spirit/libjson_spirit.so.4.0.8: error: undefined reference to '__atomic_compare_exchange_4'
| ../json_spirit/libjson_spirit.so.4.0.8: error: undefined reference to '__atomic_fetch_sub_4'
| ../json_spirit/libjson_spirit.so.4.0.8: error: undefined reference to '__atomic_fetch_add_4'

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit ac2a6d2b5d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Khem Raj
af09a2d721 php7: upgrade to 7.1.7
License checksum changed due to opyright year changed to 2017
Fix build with clang/hardening

ak] 7.1.x updates are bug or security fixes only. no new functions. Per PHP policy.
so update makes sence IMHO

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit ad9df2b36a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Mikko Rapeli
35ac565bd1 fribidi_0.19.7.bb: set CVE_PRODUCT to gnu_fribidi
gnu_fribidi is used in NVD for CVE's like:

https://nvd.nist.gov/vuln/detail/CVE-2010-3444

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 854b98c05a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Khem Raj
f751cb4ed6 ltrace: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 8a542c8912)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Khem Raj
21126cc5d5 ltrace: Add mips64 support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 27a7e20e2b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Tomas Novotny
80c1bb2195 ltrace: fix build failure under icecream
The ltrace package fails to build under icecream distributed compiler
because of harmless warning emitted during preprocessing. See the patch
itself for more information.

Colleague of mine has submitted the patch but I'm afraid that the
project is dead.

Please note that icecream support in oe-core has some issues currently.
I have some local fixes and I plan to send them.

Signed-off-by: Tomas Novotny <tomas@novotny.cz>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Zhixiong Chi
ef316309bb mercurial: CVE-2017-9462
Backport the CVE patch from
https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499

"hg serve --stdio" allows remote authenticated users to launch the
Python debugger, and consequently execute arbitrary code, by using
 --debugger as a repository name.

CVE: CVE-2017-9462

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Ricardo Ribalda Delgado
9be0ac6e72 meson: Use pkgconfig-native for the native tools
QT relies on host compilers such mas mocc. Modify meson to use
pkgconfig-native instead of pkgconfig in such cases.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Ming Liu
c7d2ad2e3e xerces-c: fix a wrong PACKAGECONFIG option
In xerces-c's configure, these options is being referred as follows:
......
    curl_flags="-I$with_curl/include"
    curl_libs="-L$with_curl/lib -lcurl"

    icu_flags="-I$with_icu/include"
    icu_libs="-L$with_icu/lib -licuuc -licudata"
......

so they shouldn't be set to ${STAGING_DIR}, use
${STAGING_DIR_TARGET}${prefix} instead.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
dengke.du@windriver.com
b316598c93 php: fix install error for libphp*.so
Changed in V4:
	Add the tag: meta-oe

1. Different version php have different libphp*.so, so we need to install its
   corresponding libphp*.so, for example:

    php-7.1.0  libphp7.so
    php-5.6.26 libphp5.so

2. Fix php-5.6.26 compiling errors:

    ld: TSRM/.libs/TSRM.o: undefined reference to symbol
    'pthread_sigmask@@GLIBC_2.2.5'
    error adding symbols: DSO missing from command line

3. Create a configure script like 70_mod_php5, we name it 70_mod_php7, this
   file connect the php7 and the apache2, so they work together to let the
   LAMP works correctly.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Cody P Schafer
6418010bf0 ninja: extend to nativesdk
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-04 09:18:58 +02:00
Jackie Huang
474eb0daa5 python-pygobject: remove the empty pkgconfig directory
The empty pkgconfif directory causes error when run
relocatable_native_pcfiles:

| sed: can't read /path/to/recipe-sysroot-native/usr/lib/pkgconfig/*.pc: No such file or directory

So remove the directory instead of removing the pc file
but left an empty pkgconfig diretory.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-04 09:18:33 +02:00
Huang Qiyu
ff85915aa0 libedit: 20160903-3.1 -> 20170329-3.1
Upgrade libedit from 20160903-3.1 to 20170329-3.1.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:14:16 +02:00
Khem Raj
91fa3724d3 msgpack-c: Drop unused patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-26 20:14:14 +02:00
Pascal Bach
881ac49a9c nodejs: update to 4.8.2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:13:32 +02:00
Khem Raj
cc275f0b11 msgpack-c: Upgrade to 2.1.1
Fix build with gcc7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:13:30 +02:00
Khem Raj
2f6193d78f ltrace: Fix FTBFS due to invalid code in ARM support
Found with gcc7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:13:29 +02:00
Khem Raj
95e5112481 librcf: Fix build on aarch64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:53 +02:00
Zhixiong Chi
449030b1b9 autoconf-archive: drop m4files confliction with gnome-common
Delete the conflicting m4files with gnome-common to avoid the confliction,
and the two m4 files will be installed by gnome-common that comes from
oe-core, then set rdepends to gnome-common.

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-24 11:00:50 +02:00
Robert Yang
444e1fb198 php: remove PNBLACKLIST
It has been fixed since:
commit b5bb611637
Author: dengke.du@windriver.com <dengke.du@windriver.com>
Date:   Tue Mar 28 04:13:36 2017 -0400

    php: fix install failure

Also remove it for xdebug since php works now.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:53 +02:00
Andreas Müller
db7a09ede1 geany-plugins: update 1.29 -> 1.30
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-04-18 14:21:43 +02:00
Andreas Müller
1566cbb502 geany: update 1.29 -> 1.30.1
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-04-18 14:21:43 +02:00
Zhixiong Chi
b6e7cc35d4 autoconf-archive: Upgrade to 2016.09.16
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:41 +02:00
Ming Liu
3405347d58 librcf: install missing SF headers
A flaw was introduced by commit 414426a3:
[ librcf: add new recipe ]

in which, the SF headers wasn't installed, this could cause build
errors in projects that compiling/linking to librcf while librcf
was built with LIBRCF_USE_SF_SERIALIZATION option enabled.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:38 +02:00
Martin Jansa
cdb428e7c4 recipes: add removal date to PNBLACKLIST messages
* based on discussion in pndeprecated thread:
  https://patchwork.openembedded.org/patch/137573/
  update the messages to warn possible users that the
  recipe will be removed before the end of the next development
  cycle (before Yocto 2.4 is released).

* updated with:
  sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs`
* then noticed couple recipes being blacklisted only based on
  DISTRO_FEATURES, so removed those:
  meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb
  meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb
  meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb
  meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb
  meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb
  meta-oe/recipes-navigation/gypsy/gypsy.inc
  meta-oe/recipes-navigation/navit/navit.inc
  meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb

* if it isn't fixed by this date, it's fair game to be removed
  whenever someone gets around to i

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:36:45 +02:00
Khem Raj
01feee2cd9 jsonrpc: Backport and create patches to build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:30 +02:00
Martin Jansa
385cb88530 tcsh, dt: blacklist because tcsh doesn't respect CC variable
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:05 +02:00
dengke.du@windriver.com
b5bb611637 php: fix install failure
After switch to RSS(recipe specific sysroot), the php package failed when
installing.

This is because the build system can't find the file: pear.conf, that file
stay in "${D}/${STAGING_DIR_NATIVE}" directory before the switch, now stay
in "${RECIPE_SYSROOT_NATIVE}" directory, so we need to place it in correct
place.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:03 +02:00
Khem Raj
9a3812e4b4 libedit: Update to 20160618-3.1 release
fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:02 +02:00
Khem Raj
cafa3a4542 memstat: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:58 +02:00
Khem Raj
0d48a392d5 rapidjson: Update to 1.1.0 + git
Drop backports
Adjust the license checksums to match the changes to file especially

b4b1a39937

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:56 +02:00
Andre McCurdy
56d0a5607a luajit: test SITEINFO_BITS instead of maintaining a list of 32bit targets
When cross compiling, the word size of the compiler set via HOST_CC
must match the word size of the target. That's achieved by appending
"-m32" to BUILD_CC_ARCH if the target word size is known to be 32bits.

Unfortunately the current list of over-rides may not cover all cases.
Using SITEINFO_BITS is a more generic solution.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:33 +01:00
Ming Liu
ebd31fd8d5 meta: do not prepend/append to BBCLASSEXTEND
Replace some "+=/=+" with "=" when setting BBCLASSEXTEND, they are
redundant and inconsistent with the same setting in other recipes.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:32 +01:00
Peter Kjellerstedt
f07b8a2196 meson: Update to 0.37.1
Also make it possible to actually build the native version by avoiding
the runtime dependencies.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:32:39 +01:00
Ming Liu
414426a398 librcf: add new recipe
RCF (Remote Call Framework) is a cross-platform interprocess
communication framework for C++, which is widely used by some
industrial companies.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:44 +01:00
Ming Liu
29cc9583e3 json-spirit: add new recipe
Json Spirit is a C++ JSON parser/generator implemented with Boost Spirit.

It's being required by another newly added recipe librcf.

The source json_spirit_v4.08.zip is derived from:
https://www.codeproject.com/KB/recipes/JSON_Spirit/json_spirit_v4.08.zip

The reason for getting it from a zip file instead of fetching it from
the above site is that it needs logging in firstly before you can
download anything.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:44 +01:00
Khem Raj
ff5d50b43f iptraf: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:43 +01:00
Khem Raj
fd490689fa ltrace: Fix build with aarch64 and bump to latest
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:43 +01:00
Peter Kjellerstedt
0c31f55bcf Make use of the new bb.utils.filter() function
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-07 13:30:26 +01:00
Derek Straka
32b0092f6f python-simplejson: relocate to meta-python and add a python3 version
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-04 12:38:56 +01:00
Martin Jansa
f7326128b8 android-tools: add libcap dependency and fix build on big endian systems
* add dependency on libcap to fix:
  android-tools/5.1.1.r37-r0/git/system/core/adb/adb.c:39:28: fatal error: sys/capability.h: No such file or directory
   #include <sys/capability.h>
                            ^
* add patch from buildroot to fix build with newer glibc and on
  bit-endian systems
  android-tools/5.1.1.r37-r0/git/system/core/adb/usb_linux_client.c:38:25: error: initializer element is not constant
    #define cpu_to_le32(x)  htole32(x)
                            ^

* and also disable thumb to fix:
  http://errors.yoctoproject.org/Errors/Details/133881/

* drop default apply=yes for the .patch files

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:17:07 +01:00
Andreas Müller
4cae9c99f2 geany-plugins: unblacklist - geany is back
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:55 +01:00
Andreas Müller
410e47a11e geany: add intltool-native to DEPENDS and unblacklist
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:55 +01:00
Derek Straka
7a8f7dffa6 nodejs: update to version 4.7.3
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:55 +01:00
Derek Straka
67a0e5280a python-simplejson: update to version 3.10.0
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:54 +01:00
Andreas Müller
1792b81376 glade3: unblacklist - libbonoboui and libgnomeui are back
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-02-22 13:16:49 +01:00
Derek Straka
4404c61139 ninja: update version to 1.7.2
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:48 +01:00
Linus Svensson
b8f6712bd9 meson: Add recipe for the meson build system
Meson is a build system designed to be fast and as user firendly as
possible. Find out more about meson at mesonbuild.com.

This patch is based on a prototype patch by
Ross Burton <ross.burton@intel.com>.

Signed-off-by: Linus Svensson <linussn@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-20 11:50:12 +01:00
Martin Jansa
044e518954 smbnetfs gnome-disk-utility contacts kexecboot initramfs-kexecboot-klibc-image system-config-keyboard system-setup-keyboard geany geany-plugins efivar efibootmgr gimp system-config-keyboard tumbler: Blacklist
* fails repeatedly as reported in:
  http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111112.html
  http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111173.html
  http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111180.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 20:34:21 +01:00