Commit Graph

986 Commits

Author SHA1 Message Date
Changqing Li
5114bb8dee python-pygobject: fix install dir for python2
* after upgrade to 3.32.1, pygobject switch to build with meson, and
  default python option is python3, switch to python2

* default install dir get by python.install_sources and
python.get_install_dir is get from python's sysconfig info,
not like python3, for python2, the install dir include prefix of
recipe-sysroot-native dir, like "build/tmp-glibc/work/core2-32-wrs-linux/
python-pygobject/3.32.1-r0/recipe-sysroot-native/usr/lib/python2.7/site-packages"
add stagedir option for user to config correct install dir.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-25 14:21:48 -07:00
Pascal Bach
fb3bd9c06e protobuf-c: add patch for protobuf 3 compatibility
There is no release yet of protobuf-c that is compatible with protobuf 3.
Master is already patched so this is just a straight backport of this patch.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-17 08:17:12 -07:00
Pascal Bach
50440a488a protobuf: 3.6.1 -> 3.8.0
Simple update to latest release

The patch is needed to make python3-protobuf compile
as otherwise a file it expects is missing.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-17 08:17:12 -07:00
Changqing Li
30bdc92f11 php: upgrade 7.3.4 -> 7.3.6
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:33 -07:00
Changqing Li
934d71cb14 python-pygobject: upgrade 3.28.3 -> 3.32.1
switch to meson build

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:33 -07:00
Changqing Li
f6706cec17 php-fpm-apache: fix module path
with configuration:
IMAGE_INSTALL_append = " apache2 php-fpm-apache2"

systemctl status apache2.service report error:
httpd: Syntax error on line 509 of /etc/apache2/httpd.conf: Syntax error on line 3 of /etc/apache2/conf.d/php-fpm.conf: Cannot load lib/apache

fix by correct the module path

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:32 -07:00
Khem Raj
2349dd7dc0 python-jsmin,python-pytoml,python-which: Add recipes
These packages are needed for mozjs 60.x to build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-29 02:26:16 -07:00
Andreas Müller
e3392ec719 python-six: put python2/3 variant together
Upcoming 60.2.3 mozjs (meta-oe) requires python(2)-six-native for its
configuration. Currently python(2)-six lives in meta-python and it could be
moved to mozjs's home meta-oe but that would be just further clutter.

Once applied here patch to meta-python will be send.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-05-29 02:26:16 -07:00
Martin Jansa
ac561d7ce0 android-tools-conf: import one more improvement for android-gadget-setup from meta-luneos
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-24 10:11:28 -07:00
Slater, Joseph
3327944ba5 php-7: mark two tests as expected to fail
The output is reasonable, but not what is expected.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-21 17:52:23 -07:00
Khem Raj
09ee9889e4 openocd: Fix build on x86_64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-21 10:45:33 -07:00
Khem Raj
5d57509a88 openocd: Upgrade to latest git version
Drop upstream'ed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-18 12:42:47 -07:00
Martin Jansa
eb868d056d libdbi-perl: prevent native libdbi-perl depending on target perl
* detected with:
  openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc --machines="qemux86 qemux86copy qemuarm" --targets="libdbi-perl-native" --analyze
  ...
  ERROR: libdbi-perl-native different signature for task do_populate_sysroot.sigdata between qemux86 and qemuarm
  Hash for dependent task perl-sanity/perl_5.28.2.bb.do_populate_sysroot changed from 00c0f30e40a144255fc3054e9a71ce73170a89832318774bd2a8fc5e8dcd20ad to e22ff8375c4ee6bda646dae8a1d6b1ddeb6d373678fc036fdc406e91a026b497

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-12 10:22:51 -07:00
Pavel Modilaynen
1f080b695e jsoncpp: add native BBCLASSEXTEND
Extend to native builds, this is useful for unit tests.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10 14:10:13 -07:00
Adrian Bunk
bf719a8e37 cloud9: Remove stale files of recipe removed 2 years ago
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10 09:19:22 -07:00
Oleksandr Kravchuk
6a89252936 doxygen: replace ninja 1.9.0 fix with official one
This patch that fixes doxygen build with ninja 1.9.0 was accedpted by
the project and threfore more preferred.

https://github.com/doxygen/doxygen/pull/6965

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-07 09:33:49 -07:00
Hongxu Jia
5a6e952b79 pmtools: use update-alternatives for acpidump
acpidump is both provided by acpica and pmtools, so use
update-alternatives to fix conflicts:
...
|Error: Transaction check error:
|  file /usr/bin/acpidump conflicts between attempted installs of
pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20190405-r0.i586
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-05 23:22:39 -07:00
Changqing Li
e35c64220f php: correct httpd path
Configuration:
IMAGE_INSTALL_append = " modphp apache2 phpmyadmin xdebug"
PACKAGECONFIG_append_pn-php = " apache2"

Apache2 service start up with error:
[php7:crit] [pid 3943:tid 140477147074880] Apache is running a threaded MPM,
but your PHP Module is not compiled to be threadsafe.

Fix:
after apache2 is upgraded from 2.4.34 to 2.4.39, apache2-native
installs httpd into STAGING_SBINDIR_NATIVE, correct it so that
ZTS feature is open, and php is compiled to be threadsafe.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-05 23:22:39 -07:00
Changqing Li
ebfe36cdc9 php: upgrade 7.3.2 -> 7.3.4
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-30 12:18:30 -07:00
Mingli Yu
50108c18e5 libdbd-mysql-perl: Upgrade to 4.050
Update homepage and make SRC_URI to fetch
from git.

Remove one backported patch.

Add libdev-checklib-perl-native to DEPENDS as
the new libdbd-mysql-perl depends on another module
(Devel::CheckLib) at configure time.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:57 -07:00
Mingli Yu
a57a63f0c9 libdev-checklib-perl: add new recipe
It provides the perl module (Devel::CheckLib) which
may needed by other package which uses it to
check libs.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:56 -07:00
Philip Balister
d42cce95a8 sip: Update to 4.19.16.
* Note SRC_URI changed from SourceForge to Riverbank

Signed-off-by: Philip Balister <philip@opensdr.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-16 21:07:25 -07:00
Hongzhi.Song
be6481ca9f lua: upgrade from v5.3.4 to v5.3.5
The v5.3.5 release covers CVE-2019-6706 which is vulnerable.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-11 11:30:35 -07:00
Peter Kjellerstedt
a73aade458 doxygen: Make it build with ninja 1.9.0
ninja 1.9.0 turned the previous dupbuild warning into an error, which
resulted in the following error:

  ninja: error: build.ninja:1948: multiple rules generate
  generated_src/configvalues.h [-w dupbuild=err]

Turn the error back into a warning until upstream corrects the build
rules.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Zang Ruochen
91b44d7932 libedit: upgrade 20181209-3.1 -> 20190324-3.1
-Upgrade from libedit_20181209-3.1.bb to libedit_20190324-3.1.bb.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Nikolay Nizov
98318e265d android-tools-conf: Make sure /dev/pts/0 exists
Signed-off-by: Nikolay Nizov <nizovn@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Nikolay Nizov
76868f74ab android-tools-conf: fix typo
Signed-off-by: Nikolay Nizov <nizovn@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Brad Bishop
478c35bc01 nodejs: Update GCC 4.8 compat patch
GCC 4.8 compatibility was lost moving from 10.15.1 to 10.15.3.  Add
another wrapper for std::make_unique to restore it.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-26 09:43:57 -07:00
Oleksandr Kravchuk
24dd9328f7 doxygen: update to 1.8.15
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-23 16:15:59 -07:00
Andreas Müller
3940350b0f nodejs: upgrade 10.15.1 -> 10.15.3
* 10.15.2 was a security release for CVE-2019-5737 [1]
* 10.15.3 was a bugfix release [2]

[1] https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#10.15.2
[2] https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#10.15.3

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-22 09:33:00 -07:00
Oleksandr Kravchuk
3a9b5f466f log4cplus: update to 2.0.3
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-19 21:00:06 -07:00
Andrej Valek
f0c1ee77d9 nodejs: fix target ldflags using
- do not drop target LDFLAGS
  - even if the target LDFLAGS have been specified, tools like torque was
    linked with system libraries

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-19 21:00:06 -07:00
Adrian Bunk
335bb5297d android-tools: Add patch from Debian to build with OpenSSL 1.1
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07 09:33:45 -08:00
Khem Raj
8cbd403fce php_7.3.2.bb: Switch to mysqlnd
With mariadb 10.x it fails to find headers in right location during
builds

https://bugs.php.net/bug.php?id=75612

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07 09:33:45 -08:00
Aditya Tayade
44cca74e90 run-ptest: supplied user inputs to add_person_cpp
During protobuf-ptest execution, add_person_cpp waits for user
inputs to write data into test.data file. Fixed this by supplying
dummy data through standard input.

Upstream-Status: Pending

Signed-off-by: Aditya Tayade <Aditya.Tayade@kpit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07 09:33:45 -08:00
Khem Raj
d2cadb7a5d openocd: Fix build for risc-v
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07 09:33:45 -08:00
Khem Raj
76093a6540 msgpack-c: Upgrade to 3.1.1
Drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-06 11:32:27 -08:00
Mingli Yu
a496d83cbf libdbd-mysql-perl: fix do_compile failure
After mariadb upgrade to 10.3.13, there comes
below do_compile failure for libdbd-mysql-perl:
| dbdimp.c: In function 'mysql_dr_connect':
| dbdimp.c:2000:13: error: 'MYSQL' {aka 'struct st_mysql'} has no member named 'reconnect'
|        result->reconnect=0;

Backport a patch to fix it.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-06 11:32:27 -08:00
Khem Raj
5242f52361 octave: Exclude from world builds
it needs lapack which inturn needs libgfortran
and fortran support in compiler is not on by default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-04 23:09:24 -08:00
Khem Raj
88c6c00c0c uftrace: Upgrade to 0.9.2
Drop pathes which are upstreamed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-03 14:00:26 -08:00
Kai Kang
e860611624 xmlrpc-c: inherit binconfig
libreport calls xmlrpc-c-config from package xmlrpc-c-native to get
cflags and libs. But it gets dirs in ${STAGING_DIR_NATIVE} which make
lib32-libreport compile failed with config:

  require conf/multilib.conf
  MACHINE = "qemuarm64"
  MULTILIBS = "multilib:lib32"
  DEFAULTTUNE_virtclass-multilib-lib32 = "armv7vethf"

| arm-wrs-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libabrt_dbus.so"
  && ln -s "libabrt_dbus.so.0.0.1" "libabrt_dbus.so")
| .../tmp-glibc/work/armv5e-wrs-linux-gnueabi/libreport/2.9.7-r0/recipe-sysroot-native/usr/lib/libxml2.so:
  file not recognized: file format not recognized
| collect2: error: ld returned 1 exit status
| make[3]: *** [Makefile:780: libreport-web.la] Error 1

Make xmlrpc-c inherit binconfig to avoid such kind of errors.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-28 09:42:11 -08:00
Tuan Hoang
0ad153f721 octave: add version 4.4.1
Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24 08:07:53 -08:00
Tuan Hoang
1a2d6ee5e7 tk_8.6.9: Add tkConfig.sh in crossscript
Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-22 21:30:39 -08:00
Andrej Valek
bef21ed9aa nodejs: fix additional compatibility with older gcc
- replace all occurrences of std::make_unique with wrapper
 - sync indent level

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-22 18:14:52 -08:00
leimaohui
1262533bd1 uftrace: Support armeb.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-22 18:14:52 -08:00
Andreas Müller
fa1051bd08 geany-plugins: upgrade 1.31 -> 1.34 and rework
* geany-plugins-treebrowser/license checksum: Was changed to:
  "TreeBrowser plugin is distributed under the same license as in geany."
  Geany is GPLv2 which is part of geany-plugin's license.

* Remove explicit RDEPENDS:
    * They caused cyclic dependencies making impossible anything but all
      plugins
    * Checked: Dependencies are set correct automatically
    * Add geany-plugins-common to avoid cylcic dependencies

* All plugins that are enabled, build and pack properly. Before adding
  geany-plugins to an image caused errors in do_rootfs due to empty
  packages.

* Some plugins don't build with gtk3 - disable them

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-20 11:11:44 -08:00
Andreas Müller
6139a97e44 geany: upgrade 1.31 -> 1.34.1 and build with gtk+3
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-20 11:11:43 -08:00
Andrej Valek
1c8e4a679a nodejs 8.15.0 -> 10.15.1
Update nodejs to active 10.x LTS release 10.15.1.
- link atomic library
- make it compatible with gcc < 4.9

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:40:56 -08:00
Changqing Li
4c2c33de56 php: upgrade 7.2.10 -> 7.3.2 / 5.3.39 -> 5.6.40
License-Update: 7.x version trim trailing whitespace

7.x:
* drop CVE-2017-9120.patch since it cannot resolve the CVE
* use recommand option --with-libzip, bundled libzip is deprecated
* update patches

5.x:
* use recommand option --with-libzip, bundled libzip is deprecated
* update patches

* Fix php 7.x cross build on hosts which have libxml2 installed

libxml2 is not detected properly, it pokes at host and takes the
libraries and header files added to build which links in libraries like
libicu which may not be available in sysroot causing configure failures
like

checking for sqlite3 files in default path... found in TOPDIR/build/tmp/work/aarch64-yoe-linux/php/7.3.2-r0/recipe-sysroot/usr/lib/..
checking for SQLite 3.3.9+... checking for sqlite3_prepare_v2 in -lsqlite3... no
not found
configure: error: Please install SQLite 3.3.9 first or check libsqlite3 is present

the reason is configure test fails to find icu libraries since they were
added based on build host's libxml2.pc

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-15 06:58:55 -08:00
Ruslan Bilovol
2e0fd78621 rapidjson: fix cmake artifacts installation for non-default BASELIB case
If BASELIB is set to non-default value (like lib64),
next 'installed but not shipped' issue happens:
  /usr/lib
  /usr/lib/cmake
  /usr/lib/pkgconfig
  /usr/lib/cmake/RapidJSON
  /usr/lib/cmake/RapidJSON/RapidJSONConfigVersion.cmake
  /usr/lib/cmake/RapidJSON/RapidJSONConfig.cmake
  /usr/lib/pkgconfig/RapidJSON.pc

This is because rapidjson has library installation dir set
to 'lib' by default and hardcoded in another place.
Fix this by next changes:
 - set appropriate LIB_INSTALL_DIR
 - fix hardcoded 'lib' in CMAKECONFIG_INSTALL_DIR case

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-07 10:06:29 -08:00