2579 Commits

Author SHA1 Message Date
Denys Dmytriyenko 6d8574da9b serialcheck: add version 1.0.0
Simple serial tester

Usage (as explained in Readme.txt, part of ${PN}-doc package):
 - Create a random file.
   dd if=/dev/urandom of=binary count=1 bs=4096

 - Copy the random file to both nodes.

 - Start the test
   receiving node:
        serialcheck -d /dev/ttyS0 -f binary -m r -l 10

   sending node:
        serialcheck -d /dev/ttyUSB0 -f binary -m t -l 10

   Start the receiving side before the sending side. This will transfer the
   "binary" file 10 times and the other side will expect the file 10 times.
   Once the program completes both sides should write something similar to:

|  Needed 0 reads 1 writes loops 10 / 10
|  cts: 0 dsr: 0 rng: 0 dcd: 0 rx: 0 tx: 40960 frame 0 ovr 0 par: 0 brk: 0 buf_ovrr: 0

   and in error case the receive side:

Needed 20 reads 0 writes Oh oh, inconsistency at pos 2273 (0x8e1).
Original sample:
000008b0: 28 b2 18 c9 ec b5 2c b3  3a a1 29 b1 fc 27 20 7f   (.....,.:.)..' .
000008c0: 42 f8 d5 cb d8 52 ec b5  c8 76 d3 4b d2 57 44 6a   B....R...v.K.WDj
000008d0: 40 81 6a 82 27 fd 8d 50  84 70 bc 24 6b 3d 88 fd   @.j.'..P.p.$k=..
000008e0: 9f ac 78 a4 76 9b f9 1c  74 2c d6 79 22 60 c5 de   ..x.v...t,.y"`..
000008f0: 02 9c fb 52 21 4b 40 6f  80 69 2e 80 df 12 ba a0   ...R!K@o.i......
00000900: 75 57 d5 22 33 c0 f3 bc  94 f8 aa 22 9d 02 59 20   uW."3......"..Y

Received sample:
000008b0: 28 b2 18 c9 ec b5 2c b3  3a a1 29 b1 fc 27 20 7f   (.....,.:.)..' .
000008c0: 42 f8 d5 cb d8 52 ec b5  c8 76 d3 4b d2 57 44 6a   B....R...v.K.WDj
000008d0: 40 81 6a 82 27 fd 8d 50  84 70 bc 24 6b 3d 88 fd   @.j.'..P.p.$k=..
000008e0: 9f 00 ac 78 a4 76 9b f9  1c 74 2c d6 79 22 60 c5   ...x.v...t,.y"`.
000008f0: de 02 9c fb 52 21 4b 40  6f 80 69 2e 80 df 12 ba   ....R!K@o.i.....
00000900: a0 75 57 d5 22 33 c0 f3  bc 94 f8 aa 22 9d 02 59   .uW."3......"..Y
loops 54878 / 4294967295

cts: 0 dsr: 0 rng: 0 dcd: 0 rx: 224792017 tx: 223379456 frame 0 ovr 1 par: 0 brk: 0 buf_ovrr: 0

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-21 13:03:09 +02:00
Martin Jansa 932146a331 ltrace: fix build with -Os
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:52 +02:00
Martin Jansa 10437b8842 nodejs4, liblinebreak: use "Zlib" instead of "zlib" for LICENSE
* otherwise zlib license text provider isn't found:
  WARNING: The license listed zlib was not in the licenses collected for liblinebreak
  WARNING: liblinebreak: No generic license file exists for: zlib in any provider

[YOCTO #7584]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:52 +02:00
Mike Holmes 1c71c2db40 add CUnit test suite
Adds a new recipe for building the CUnit test framework libraries

Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:50 +02:00
Jonathan Liu 3e0cfd95b8 nodejs: update to 0.12.2
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:50 +02:00
Andreas Oberritter c9e0633905 python-pyopenssl: move to meta-python
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:49 +02:00
Khem Raj 0c48853eb4 breakpad: Install missing headers
We have compile failures due these headers missing from sysroot
and other breakpad headers referring to them. So when some package
wants to link with breakpad ends up in build errors.

Change-Id: I61161e33dfb1ea6383e421e7bd2cb96bb9b06688
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:47 +02:00
Khem Raj 82a3434bc2 breakpad: Upgrade to r1435
Fixes parallel build issue with breakpad-native  amongst other updates

Change-Id: Icc26234ccb4ba77543e8dca52b27ceaeb2f77747
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:47 +02:00
Saul Wold df6c7b1279 python-pyopenssl: Upgrade to 0.14
This upgrade will match with the openssl 1.0.2 changes
The newer verion of pyopenssl now uses setuptools instead of distutils

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-21 16:42:30 +01:00
Magnus Olsson 0d38b67207 giflib: RDEPENDS on perl
The giflib utility "gifburst" is a Perl-script, so make sure Perl
is a run-time dependency for the giflib-utils package.

This will silence file-rdeps QA issue.

Signed-off-by: Magnus Olsson <magnus@minimum.se>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-21 16:42:22 +01:00
Aníbal Limón d05dede558 mpich: Disable RPATH to avoid issues in package_qa
Set --disable-rpath to extra opts in order to avoid issues
in package_qa also change default pm to gforker because
hydra has problems with RPATH.

TODO: Make a patch for solve hydra rpath issues.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-21 16:42:22 +01:00
Victor Rodriguez 824b6de96d Add mpich support
This patch add mpich support to yocto in order to run MPI framework on embedded
systems.

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Victor Rodriguez <victor.rodriguez.bahena@intel.com>
Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva@enea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-21 16:42:21 +01:00
Philip Balister fca56b63f2 python-pyqt : Move RDEPENDS on python-sip to PyQT.
python-sip has the runtime support for PyQT. Also drop the need
for anki to RDEPEND on python-sip.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-21 16:42:21 +01:00
Jonathan Liu bdac062c68 nodejs: remove curl from RDEPENDS
curl is only needed to run "make test".

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-10 14:19:36 +01:00
Martin Jansa 74bbde6984 cloud9, nodejs4: blacklist
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-10 14:19:36 +01:00
Khem Raj 2aed449495 nodejs: Upgrade to 0.12.0
Tested on mips1

Change-Id: I54211c2c323dbec1d38eb526ae183775ba3241f1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-10 14:19:36 +01:00
Bian Naimeng f83d255736 php: update to 5.5.21 to fix some bugs
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:35:39 +01:00
Martin Jansa 37a841321d recipes: add x11 to required DISTRO_FEATURES
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:33:24 +01:00
YangHaibo f6f4cadd65 tclap: add ALLOW_EMPTY in bb file
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:31:52 +01:00
Jackie Huang 8e60fa7dfa php: Look for libraries in ${baselib} rather than lib
It fails to look for libraries when we use lib64 for baselib,
use --with-libdir option to specify the correct directory.

$ ./configure --help|grep '\-\-with-libdir'
 --with-libdir=NAME      Look for libraries in .../NAME rather than .../lib

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:31:52 +01:00
Ben Shelton 9c926ef2d4 msr-tools: add recipe
msr-tools provides the rdmsr and wrmsr tools to read and write Intel
model-specific registers on the x86 and x64 architectures.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-28 09:54:41 +01:00
Paul Eggleton 831e145bd6 php: add PACKAGECONFIG for imap
Allow imap support to be easily disabled; default it to enabled based on
previous configuration.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-08 12:04:27 +01:00
Paul Eggleton ceb1a79a8f php: add PACKAGECONFIG to fix implicit dependency on libpam
Add a pam PACKAGECONFIG option defaulted from the pam DISTRO_FEATURES
item, so that if pam isn't in DISTRO_FEATURES, it is explicitly
disabled (and conversely if it is in DISTRO_FEATURES that we have an
explicit dependency on libpam).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-08 12:04:26 +01:00
Paul Eggleton d422f96d46 uw-imap: make libpam dependency dependent on DISTRO_FEATURES
If pam is not in DISTRO_FEATURES, we shouldn't be building it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-08 12:04:26 +01:00
Paul Eggleton 4aafeeecef php: fix phar script packaging
Fix several issues with how the phar package is installed and packaged:
* The symlink was pointing to an absolute path on the host, which
  naturally does not work on the target
* The script itself had a shebang pointing to a path on the host
* A file-rdeps warning was occurring due to rpmdeps detecting that the
  script requires the php binary; in order to prevent the main php
  package depending on php-cli which provides the php binary, move the
  phar script to its own package (I suspect most people won't need it
  anyway).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-08 12:04:26 +01:00
Paul Eggleton 061b7f1263 php: upgrade to 5.5.20
Among many fixes since 5.5.15, the following security issues were fixed:

CVE-2014-8142
CVE-2014-3710
CVE-2014-3669
CVE-2014-3670
CVE-2014-3668
CVE-2014-3538
CVE-2014-3587
CVE-2014-2497
CVE-2014-5120
CVE-2014-3597

For more details please see the upstream changelog:

  http://php.net/ChangeLog-5.php

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-08 12:04:26 +01:00
Paul Eggleton 18a97c00b7 php: integrate modphp
Build the mod_php Apache module within the main php recipe; this avoids
files in the sysroot from stepping on eachother and therefore avoids the
resulting build failure.

Changes made:
* Add an "apache2" PACKAGECONFIG, default disabled. This means that if
  you previously used the modphp recipe you now need to set
  PACKAGECONFIG for php to include "apache2".
* Bring in most patches and configure options from the modphp recipe.
* Specify ${libdir}/php5 as libdir. This avoids the PHP extensions
  directory being /usr/lib/extensions by default which is ugly.
* Tidy up some superfluous/malformed entries in FILES_${PN}-pear
* Drop obsolete PHP_MAJVER
* Replace virtclass- override with class-

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-08 12:04:26 +01:00
Paul Eggleton ad6e018426 libc-client: rename to uw-imap, upgrade to 2007f
* Upgrade to 2007f
* Rename to uw-imap; this is the name used by Fedora and is much more
  sensible than libc-client
* Fix errors when linking the library against code compiled with -fPIC
  such as mod-php (patch from Fedora).
* Add a security patch from Fedora
* Rename files directory to uw-imap

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-08 12:04:26 +01:00
Paul Eggleton 2b30fc6fe9 php: upgrade to 5.5.15
Based on the corresponding changes to the modphp recipe in
meta-webserver. From the commit message for the modphp upgrade:

* LIC_FILES_CHKSUM needed to change because the copyright year changed
* Enabled mcrypt since upstream recommend this for acceptable
  performance
* Disabled the opcache; this is a new feature in 5.5 and the configure
  check for it currently breaks when cross-compiling.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-08 12:04:25 +01:00
Paul Eggleton aecb603d4d protobuf: update to 2.5.0
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-08 11:58:43 +01:00
Bill Pittman 1bed3fb3eb packagekit: Change recipe to use native mkdir
For redhat type systems, the recipe tries to use a version of mkdir from
sysroots, however mkdir does not exist and the build fails.  Ubuntu systems
work because the sed command in the recipe specifically replaces the
/usr/bin/mkdir path and ubuntu systems use /bin/mkdir.

Signed-off-by: Bill Pittman <bill.pittman@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-05 13:06:47 +01:00
Otavio Salvador 1d033fc281 log4cplus: Fix license format QA error
Fix the following QA error:

,----
| WARNING: Recipe log4cplus, LICENSE (Apache-2.0 BSD-2-Clause) has
|     invalid format, LICENSES must have operator "([&|() ])" between
|     them.
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-31 16:32:30 +01:00
Philip Balister b1ffc521bd python-pyqt: Update to 4.11.3.
The configure.py script now has support for cross compiling. This
simplified the recipe substantially.

The recipe was tested with gnuradio-companion on the zedboard and
ettus-e300. This is the first time we have been able to use grc with
pyqt built with OpenEmbedded.

Build tested on armv7, x86, x86_64 and mips.

Dropped patches from previous versions.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-19 20:13:12 +01:00
Philip Balister afc100a940 sip: Update to 4.14.2.
The sip configure.py script now has some support for cross compiling. This
allowed simplication of the existing OpenEmbedded sip support. The sip
recipe now produces support for builds via sip-native and target runtime
via sip.

This has been build and runtime tested on the zedboard and ettus-e300.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-19 20:13:11 +01:00
Qian Lei 71e0dbf975 ipc-run: Add new recipe
IPC::Run allows you run and interact with child processes using files,
pipes, and pseudo-ttys. Both system()-style and scripted usages are
supported and may be mixed. Likewise, functional and OO API styles are
both supported and may be mixed.

Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-19 20:10:57 +01:00
Wenzong Fan e2d07c8646 ltrace: add PACKAGECONFIG for selinux
Add PACKAGECONFIG for 'selinux', otherwise there would be warnings like
below:

WARN: ltrace: ltrace rdepends on libselinux, but it isn't a build dependency?

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-09 11:34:42 +01:00
Andreas Müller e100ea73a3 geany update to 1.24.1
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2014-10-16 07:01:01 +02:00
Andreas Müller b4e1e03739 glade3: update to 3.8.5
check and rework licenses a bit

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2014-10-16 07:01:00 +02:00
Koen Kooi 4deb828fff php: update to 5.4.33
One patch was a backport and can be dropped, add Upstream-status to the others.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-10 12:47:34 +02:00
Koen Kooi 26043cbe2d php 5.4.14: merge .inc and .bb
There's only one version of the recipe in the repo and the split makes it harder to debug and fix problems.

Also fix target overrides and style issues.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-10 12:47:34 +02:00
Fathi Boudra b86f1c6290 pm-qa: update to 0.4.14 release
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04 00:28:29 +02:00
Denys Dmytriyenko bb17735471 ltp-ddt: keep do_make_scripts as separate task to lock correctly
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:42:53 +02:00
Khem Raj add0ba41de luajit, acpitests: Fix build on hardfloat arm
luajit as well as acpitests build system has mind of its own and does not
respect CC and friends in makefiles so we have to inject
the CFLAGS via EXTRA_OEMAKE, some of ABI defining params
e.g. float-abi selection is mentioned in TUNE_CCARGS and
not in TOOLCHAIN_OPTIONS. This causes build to go for softfloat
build and that is not what we want.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:53 +02:00
Khem Raj afa3b1578f glade3: Enable gnome support in meta-gnome instead of meta-oe
This decouples meta-oe dependencies on meta-gnome, right now
we have to use meta-gnome as dependent layer

ERROR: Nothing PROVIDES 'libbonoboui' (but
meta-openembedded/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb
DEPENDS on or otherwise requires it)

ERROR: Required build target 'glade3' has no buildable providers.

Missing or unbuildable dependency chain was: ['glade3', 'libbonoboui']

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:52 +02:00
Otavio Salvador 768f20b8ad php: Fix native build due mistakenly linking against host's iconv
The configure script has mistakenly choose to enable iconv support,
due host to provide it, adding '/usr/lib' to the linking flags and
failing as:

,----[ Linking error while testing 'fork' support ]
| conftest.c:268: warning: conflicting types for built-in function 'fork'
| .../build/tmp/sysroots/x86_64-linux/usr/lib/libxml2.so:
|     undefined reference to `gzopen64@ZLIB_1.2.3.3'
| collect2: ld returned 1 exit status
`----

This patch disables iconv support for native builds fixing the error.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-27 12:49:18 +02:00
Denys Dmytriyenko 2d6b021fce ltp-ddt: update to the latest rev, bump the version
* Fix KERNEL_DIR vs. KERNEL_INC properly, drop not needed Makefile patch
* Pass CC and KERNEL_CC to preserve the necessary system flags
* Tons of other fixes and new testcases

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-23 13:18:06 +02:00
Ben Shelton db6489c2fa cgdb: add recipe
cgdb is a lightweight ncurses-based interface to gdb that provides
syntax highlighting, visual breakpoints, and other features.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:06 +02:00
Robert P. J. Day df540b52c7 packagegroups: Remove deprecated "task" backward compatibility
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-15 17:07:02 +02:00
Martin Jansa 9d127bfee7 protobuf: add dependency on zlib
* fixes floating dependency:
  protobuf/protobuf/latest lost dependency on  zlib

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-11 10:59:23 +02:00
Martin Jansa e0e1f8d244 ltrace: add PV and PACKAGECONFIG for libunwind
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-10 16:07:18 +02:00