]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agopython3: Upgrade from 3.4.3 to 3.5
Alejandro Hernandez [Tue, 10 Nov 2015 23:34:48 +0000 (23:34 +0000)]
python3: Upgrade from 3.4.3 to 3.5

python3-native_3.4.3.bb -> python3-native_3.5.0.bb:
- changed version
- changed cheksum
- no license change, just dates

python3_3.4.3.bb -> python3_3.5.0.bb:
- changed version
- changed cheksum
- no license change, just dates

New:
- use_packed_importlib.patch: Fixes importlib on cross-compile environments

Rebased:
- Manifest
- 000-cross-compile.patch
- 020-dont-compile-python-files.patch
- 04-default-is-optimized.patch
- python-3.3-multilib.patch
- distutils3-base.bbclass
- distutils3-native-base.bbclass
- python3native.bbclass

Upstream:
- makerace.patch

Misc:
- pip2 is handled as default on major distros,
modified python3-pip to leave /usr/bin/pip available for pip2
- Fixed importing pip3 from python3 interpreter

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-git: Add missing dependency
Ricardo Ribalda Delgado [Tue, 17 Nov 2015 14:14:21 +0000 (15:14 +0100)]
python-git: Add missing dependency

Python-git depends on getpass, which is part of python-unixadmin.

If it is missing:

root@qt5022:~# python
Python 2.7.9 (default, Nov 12 2015, 17:41:32)
[GCC 5.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import git
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/git/__init__.py", line 35, in <module>
    from git.config import GitConfigParser
  File "/usr/lib/python2.7/site-packages/git/config.py", line 21, in <module>
    from git.util import LockFile
  File "/usr/lib/python2.7/site-packages/git/util.py", line 14, in <module>
    import getpass
ImportError: No module named getpass
>>>

Reported-by: Dimitrios Katsaros <patcherwork@gmail.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoguile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable thumb where it...
Martin Jansa [Tue, 5 May 2015 11:52:32 +0000 (13:52 +0200)]
guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable thumb where it fails for qemuarm

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoicu: force arm mode
Martin Jansa [Wed, 16 Jul 2014 15:42:34 +0000 (17:42 +0200)]
icu: force arm mode

* otherwise it triggers following ICE:
ERROR: Function failed: do_compile (log file is located at /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/temp/log.do_compile.21570)
ERROR: Logfile of failure stored in: /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/temp/log.do_compile.21570
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make
| Note: rebuild with "make VERBOSE=1 " to show all compiler parameters.
| make[0]: Making `all' in `stubdata'
| make[1]: Entering directory '/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/build/stubdata'
| make[1]: Nothing to be done for 'all'.
| make[1]: Leaving directory '/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/build/stubdata'
| make[0]: Making `all' in `common'
| make[1]: Entering directory '/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/build/common'
|    arm-oe-linux-gnueabi-gcc    ...  /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/icu/source/common/ubidiwrt.c
| /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/icu/source/common/ubidiwrt.c: In function 'ubidi_writeReordered_53':
| /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/icu/source/common/ubidiwrt.c:643:1: internal compiler error: in patch_jump_insn, at cfgrtl.c:1275
|  }
|  ^
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for instructions.
| *** Failed compilation command follows: ----------------------------------------------------------
| arm-oe-linux-gnueabi-gcc -march=armv4t -mthumb -mthumb-interwork -mtune=arm920t --sysroot=/OE/build/shr-core/tmp-eglibc/sysroots/om-gta02 -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -I/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/icu/source/common -DDEFAULT_ICU_PLUGINS="/usr/lib/icu"  -DU_ATTRIBUTE_DEPRECATED= -DU_COMMON_IMPLEMENTATION -O2 -pipe -g -feliminate-unused-debug-types -std=c99 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -c -DPIC -fPIC -o ubidiwrt.o /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/icu/source/common/ubidiwrt.c
| --- ( rebuild with "make VERBOSE=1 all" to show all parameters ) --------
| /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/icu/source/config/mh-linux:44: recipe for target 'ubidiwrt.o' failed
| make[1]: *** [ubidiwrt.o] Error 1
| make[1]: Leaving directory '/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/build/common'
| Makefile:141: recipe for target 'all-recursive' failed
| make: *** [all-recursive] Error 2
| ERROR: oe_runmake failed
| WARNING: /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/temp/run.do_compile.21570:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/temp/log.do_compile.21570)
NOTE: recipe icu-53.1-r0: task do_compile: Failed
ERROR: Task 6803 (/OE/build/shr-core/openembedded-core/meta/recipes-support/icu/icu_53.1.bb, do_compile) failed with exit code '1'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpcbind: Security Advisory - rpcbind - CVE-2015-7236
Li Zhou [Tue, 17 Nov 2015 07:18:32 +0000 (02:18 -0500)]
rpcbind: Security Advisory - rpcbind - CVE-2015-7236

rpcbind: Fix memory corruption in PMAP_CALLIT code

Use-after-free vulnerability in xprt_set_caller in rpcb_svc_com.c in
rpcbind 0.2.1 and earlier allows remote attackers to cause a denial of
service (daemon crash) via crafted packets, involving a PMAP_CALLIT
code.

The patch comes from
<http://www.openwall.com/lists/oss-security/2015/09/18/7>, and it hasn't
been in rpcbind upstream yet.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosubversion: fix CVE-2015-3187
Wenzong Fan [Tue, 17 Nov 2015 05:38:42 +0000 (00:38 -0500)]
subversion: fix CVE-2015-3187

The svn_repos_trace_node_locations function in Apache Subversion before
1.7.21 and 1.8.x before 1.8.14, when path-based authorization is used,
allows remote authenticated users to obtain sensitive path information
by reading the history of a node that has been moved from a hidden path.

Patch is from:
http://subversion.apache.org/security/CVE-2015-3187-advisory.txt

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosubversion: fix CVE-2015-3184
Wenzong Fan [Tue, 17 Nov 2015 05:38:41 +0000 (00:38 -0500)]
subversion: fix CVE-2015-3184

mod_authz_svn in Apache Subversion 1.7.x before 1.7.21 and 1.8.x before
1.8.14, when using Apache httpd 2.4.x, does not properly restrict
anonymous access, which allows remote anonymous users to read hidden
files via the path name.

Patch is from:
http://subversion.apache.org/security/CVE-2015-3184-advisory.txt

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/sshcontrol: don't source profile
Ross Burton [Wed, 25 Nov 2015 15:00:50 +0000 (15:00 +0000)]
oeqa/sshcontrol: don't source profile

Instead of sourcing /etc/profile to get $PATH including /usr/sbin, just assign
to PATH in the ssh invocation.

The remote /etc/profile may not actually be manipulating PATH as we expect, and
there may be other commands which can interfere with the tests (such as resize
emitting a series of control characters on connection).

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/runtime/multilib: refactor ELF class extraction
Ross Burton [Tue, 1 Dec 2015 09:38:57 +0000 (09:38 +0000)]
oeqa/runtime/multilib: refactor ELF class extraction

Instead of duplicating the same code over and over, split it out to a separate
function.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-selftest: Enable code coverage on unit tests
Leonardo Sandoval [Wed, 18 Nov 2015 15:04:17 +0000 (15:04 +0000)]
oe-selftest: Enable code coverage on unit tests

Enable code coverage through the library 'python coverage'. In case the environment
variable COVERAGE_PROCESS_START is present (one of the requisites for measuring
sub-processes; the second one is including some coverage statements into the
python sitecustomize.py file) it will be taken into account, otherwise it is
exported with value '.coveragerc'. The latter value is a configuration file
(also automatically created) with some default settings. Once tests are
executed, a coverage report is shown on the log and the coverage output data is stored
with name '.coverage.<args>' where '<args>' is the name of the  unit tests executed
or 'all_tests' when running with --run-all-tests. This output data can be latter used
for better reporting using the same tool (coverage).

As briefly indicate before, measuring sub-process implies setting the env variable
COVERAGE_PROCESS_START (done automatically by the oe-selftest code with this patch if
not already set) and creating a sitecustomize.py as explained on [1].
If either one of these is missing, complete coverage will be incomplete.

Current measurements for 'oe-selftest --run-all-tests' indicate that current coverage
is around 42 % taking into account BBLAYERS, bitbake and scripts folders. More details
on [2], indicating the coverage per file/module.

This tasks has been done together with Humberto Ibarra <humberto.ibarra.lopez@linux.intel.com>

[YOCTO #8679]

[1] http://coverage.readthedocs.org/en/latest/subprocess.html
[2] https://bugzilla.yoctoproject.org/attachment.cgi?id=2854

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agometa/conf/machine: use ' inside quoted values
Martin Jansa [Wed, 18 Nov 2015 18:37:17 +0000 (19:37 +0100)]
meta/conf/machine: use ' inside quoted values

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorunqemu-internal: Replace wacom-tablet with tablet for usbdevice
Khem Raj [Wed, 18 Nov 2015 12:07:05 +0000 (14:07 +0200)]
runqemu-internal: Replace wacom-tablet with tablet for usbdevice

When booting weston-core-image with latest wayland/weston/libinput
mouse/touchpad would not work on qemux86, this fixes the issue

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorecipetool: make plugin registration function name consistent with devtool
Paul Eggleton [Sun, 22 Nov 2015 19:55:45 +0000 (08:55 +1300)]
recipetool: make plugin registration function name consistent with devtool

This should have been register_commands rather than register_command;
I used register_commands in devtool so lets change this here to be
consistent with that. (Since this is extensible through layers though we
need to remain compatible with the old name, so fall back to that if the
new function name isn't there.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorecipetool: add setvar subcommand
Paul Eggleton [Thu, 19 Nov 2015 04:17:25 +0000 (17:17 +1300)]
recipetool: add setvar subcommand

Add a recipetool subcommand "setvar" to set a variable in a file. This
uses our existing logic such that it doesn't matter if the variable is
already set in the recipe, if it's set in the recipe or some inc file,
and if the variable is not currently set that the line setting the
variable gets inserted in the right place in the file.

Implements [YOCTO #7676].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata()
Paul Eggleton [Mon, 18 May 2015 11:04:55 +0000 (12:04 +0100)]
lib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata()

Use bb.utils.edit_metadata() to replace some of the logic in this
function; this avoids us effectively having two implementations of the
same thing. In the process fix the following issues:

* Insert values before any leading comments for the next variable
  instead of after them
* Insert overridden variables (e.g. RDEPENDS_${PN}) in the correct place
* Properly handle replacing varflag settings (e.g. SRC_URI[md5sum])

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: clarify help text
Paul Eggleton [Mon, 23 Nov 2015 00:34:20 +0000 (13:34 +1300)]
devtool: clarify help text

* Make some minor clarifications to help text
* Drop ArgumentDefaultsHelpFormatter and just put the defaults in the
  text itself where needed (because otherwise you get defaults shown for
  store_true options which is somewhat confusing).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: build: enable showing default task in help
Paul Eggleton [Sun, 22 Nov 2015 19:50:29 +0000 (08:50 +1300)]
devtool: build: enable showing default task in help

Enable access to the configuration object in register_commands() so that
we can read configuration values there; this allows us to show the
task that will be run in the command line help for the build subcommand.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: build: use bbappend to set PARALLEL_MAKE
Paul Eggleton [Sun, 22 Nov 2015 18:39:14 +0000 (07:39 +1300)]
devtool: build: use bbappend to set PARALLEL_MAKE

Use a bbappend file to set PARALLEL_MAKE instead of a postfile; this
is a bit neater and only affects the specified recipe.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/recipeutils: check in validate_pn() for names instead of filenames
Paul Eggleton [Thu, 19 Nov 2015 01:15:55 +0000 (14:15 +1300)]
lib/oe/recipeutils: check in validate_pn() for names instead of filenames

Ensure that the user specifies just the name portion instead of a file
name with extension. (We can't just look for . since there are recipe
names such as "glib-2.0" that legitimately contain .).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: ensure we change back to the original dir on error
Paul Eggleton [Wed, 14 Oct 2015 20:15:33 +0000 (21:15 +0100)]
devtool: ensure we change back to the original dir on error

This is just belt-and-braces but we ought to use try..finally in this
kind of situation, so just do it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: search: print SUMMARY value
Paul Eggleton [Sun, 11 Oct 2015 18:27:44 +0000 (19:27 +0100)]
devtool: search: print SUMMARY value

Print the SUMMARY value for each matched item assuming it's not the
default.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: drop unused plugin_init() functions
Paul Eggleton [Sun, 11 Oct 2015 18:12:56 +0000 (19:12 +0100)]
devtool: drop unused plugin_init() functions

This function is no longer required to be defined for a plugin, so drop
it where it's a no-op.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: package: use DEPLOY_DIR_<pkgtype> to get deploy directory
Paul Eggleton [Sun, 11 Oct 2015 17:40:28 +0000 (18:40 +0100)]
devtool: package: use DEPLOY_DIR_<pkgtype> to get deploy directory

Rather than reconstructing the output path for packages, use the proper
variable.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: disable creating workspace for extract and search subcommands
Paul Eggleton [Sun, 11 Oct 2015 15:13:18 +0000 (16:13 +0100)]
devtool: disable creating workspace for extract and search subcommands

For subcommands that don't actually involve the workspace, don't
auto-create the workspace.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/patch: improve extraction of patch header
Paul Eggleton [Sun, 11 Oct 2015 14:41:20 +0000 (15:41 +0100)]
lib/oe/patch: improve extraction of patch header

For patches that we have to extract the header information by hand (i.e.
will not apply with "git am"), make the following improvements:

* If we can't extract author/date/subject, then try to do so from the
  commit that added the patch in git (assuming the metadata is tracked
  by git)
* Take only first Signed-off-by line instead of last
* Accept any case for "Signed-off-by" in case author has typed it by
  hand
* Improve conditional - we can skip the other cases if one matches

Implements [YOCTO #7624].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: provide a means to update the source branch
Paul Eggleton [Sun, 22 Nov 2015 23:22:09 +0000 (12:22 +1300)]
devtool: upgrade: provide a means to update the source branch

If you're upgrading a git recipe to a revision on a release branch
that's different to the branch for the current revision, then you'll
need to update the branch parameter in SRC_URI, so add a --srcbranch/-B
command-line parameter to let you do that easily. It handles both when
the branch is stated verbatim in the recipe, and when a reference to
another variable is used (a common convention is to use a SRCBRANCH
variable for this, though the code doesn't care what variable is used
if any).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: fetch remote repository before checking out new revision
Paul Eggleton [Sun, 22 Nov 2015 21:07:57 +0000 (10:07 +1300)]
devtool: upgrade: fetch remote repository before checking out new revision

If we're upgrading a recipe that fetches from git, and we've simply
fetched a tarball of the repo instead of directly from the upstream repo
(this can happen if you have PREMIRRORS set up as in poky with a core recipe,
e.g. kernelshark) then we won't have any new revisions, and the checkout
will fail with "fatal: reference is not a tree: <hash>". To avoid this,
do a "git fetch" before checking out the new revision.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: remove erroneous error when not renaming recipe
Paul Eggleton [Sun, 22 Nov 2015 21:06:50 +0000 (10:06 +1300)]
devtool: upgrade: remove erroneous error when not renaming recipe

If we're upgrading a git recipe the recipe file usually won't need
renaming; for some unknown reason we were throwing an error here which
isn't correct.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: fix updating PV and SRCREV
Paul Eggleton [Sun, 22 Nov 2015 21:14:44 +0000 (10:14 +1300)]
devtool: upgrade: fix updating PV and SRCREV

This code was clearly never tested. Fix the following issues:
* Actually set SRCREV if it's been specified
* Enable history tracking and reparse so that we handle if variables are
  set in an inc file next to the recipe
* Use a more accurate check for PV being in the recipe which will work
  if it's in an inc file next to the recipe

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: fix removing other recipes from workspace on reset
Paul Eggleton [Sun, 22 Nov 2015 20:39:39 +0000 (09:39 +1300)]
devtool: upgrade: fix removing other recipes from workspace on reset

If you did a "devtool add" followed by "devtool upgrade" and then did
a "devtool reset" on the recipe you upgraded, the first recipe would
also be deleted from the workspace - this was because we were
erroneously adding the entire "recipes" subdirectory and its contents to
be tracked for removal on reset. Remove the unnecessary call to
os.path.dirname() that caused this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: include do_patch in SRCTREECOVEREDTASKS
Tzu-Jung Lee [Mon, 2 Nov 2015 19:21:25 +0000 (19:21 +0000)]
devtool: include do_patch in SRCTREECOVEREDTASKS

The external source of kernel has been patched during the
construction of git repository. Include the do_patch task in the
SRCTREECOVEREDTASKS.

Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoimage.py: avoid mkdir race when building multiple images
Mike Crowe [Thu, 19 Nov 2015 11:48:26 +0000 (11:48 +0000)]
image.py: avoid mkdir race when building multiple images

If multiple images are being built simultaneously against the same
sysroot then the call to os.makedirs in Image._write_wic_env can fail
with:

File: '.../meta/lib/oe/image.py', lineno: 341, function: _write_wic_env
     0337:        """
     0338:        stdir = self.d.getVar('STAGING_DIR_TARGET', True)
     0339:        outdir = os.path.join(stdir, 'imgdata')
     0340:        if not os.path.exists(outdir):
 *** 0341:            os.makedirs(outdir)
     0342:        basename = self.d.getVar('IMAGE_BASENAME', True)
     0343:        with open(os.path.join(outdir, basename) + '.env', 'w') as envf:
     0344:            for var in self.d.getVar('WICVARS', True).split():
     0345:                value = self.d.getVar(var, True)
File: '/usr/lib/python2.7/os.py', lineno: 157, function: makedirs
     0153:            if e.errno != errno.EEXIST:
     0154:                raise
     0155:        if tail == curdir:           # xxx/newdir/. exists if xxx/newdir exists
     0156:            return
 *** 0157:    mkdir(name, mode)
     0158:
     0159:def removedirs(name):
     0160:    """removedirs(path)
     0161:
Exception: OSError: [Errno 17] File exists: '.../tmp-glibc/sysroots/cheetah/imgdata'

Using bb.utils.mkdirhier() protects against this.

There's also little point in checking to see if the directory already
exists - we might as well just try and create it regardless.

Once the directory has been created, there's no race on the actual file
since the filename contains IMAGE_BASENAME.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default
Martin Jansa [Wed, 25 Nov 2015 21:33:51 +0000 (22:33 +0100)]
package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default

* without this the do_rootfs task doesn't respect OPKGLIBDIR and
  info, status are created in different directory than opkg on
  target expects
* people who modify OPKGLIBDIR need to make sure that opkg.conf included
  in opkg package also sets info_dir and status_file options

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoimage.py: Avoid creating empty .env file in _write_wic_env
Mike Crowe [Thu, 19 Nov 2015 11:21:16 +0000 (11:21 +0000)]
image.py: Avoid creating empty .env file in _write_wic_env

Creating a file for every image containing a few variables isn't
necessary if wic is not being used, so don't write the file if WICVARS
is empty.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/terminal: use C locale when determining version
Dariusz Pelowski [Thu, 26 Nov 2015 16:59:53 +0000 (17:59 +0100)]
lib/oe/terminal: use C locale when determining version

Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotoolchain-shar-extract.sh: Ensure it's ran in clean environment
George Nita [Wed, 25 Nov 2015 15:28:45 +0000 (16:28 +0100)]
toolchain-shar-extract.sh: Ensure it's ran in clean environment

Fixes [YOCTO #8698] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=8698

If prior to running the toolchain installation script a toolchain
environment script is sourced then the toolchain installation will
fail. This because the environment is now set for the sourced toolchain
and doesn't suit the installation. In particular PATH points to the
toolchain executables.

The fix makes the script recursively call itself a second time with a
clean environment.

Tested by sourcing a previous successfully installed environment, erasing the
previous installation directory and then reinstalling in the same directory.

Signed-off-by: George Nita <george.nita@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotoolchain-shar-extract.sh: do not allow $ in paths for ext SDK
Paul Eggleton [Mon, 2 Nov 2015 15:51:46 +0000 (15:51 +0000)]
toolchain-shar-extract.sh: do not allow $ in paths for ext SDK

If you put an $ character in the path, SDK installation fails during the
preparation stage, so add this to the disallowed characters.

Fixes [YOCTO #8625].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocreate-pull-request: handle empty ODIR
Petter Mabäcker [Tue, 24 Nov 2015 12:45:25 +0000 (13:45 +0100)]
create-pull-request: handle empty ODIR

In some situations you might end-up with an empty ODIR (pull-xx/). The
most common reason is that you have applied your patches on 'master'
branch (or you are by mistake standing on the 'master' branch),
this will result in the default behavior that 'git format-patch'
will try to diff master..master.

Solve this by aborting the script with a proper error code and message
if ODIR is empty after the 'git format-patch' call (that is expected
to generate the cover-letter and patches).

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoscripts/gen-lockedsig-cache: improve output
Paul Eggleton [Tue, 20 Oct 2015 08:19:19 +0000 (09:19 +0100)]
scripts/gen-lockedsig-cache: improve output

* Print some status when running
* When incorrect number of arguments specified, print usage text

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: exec_native_cmd: implement support for pseudo
Ed Bartosh [Tue, 24 Nov 2015 13:22:49 +0000 (15:22 +0200)]
wic: exec_native_cmd: implement support for pseudo

Wic runs some tools through pseudo, which makes exec_native_cmd
to fail and throw cryptic error message when tool is not baked:
For example:
  Error: exec_cmd: 'export
  PSEUDO_PREFIX=/media/ssd/poky-build/tmp/sysroots/x86_64-linux/usr;export
  PSEUDO_LOCALSTATEDIR=/media/ssd/poky-build/tmp/work/qemux86-poky-linux/
...
  PSEUDO_PASSWD=/media/ssd/poky-build/tmp/work/qemux86-poky-linux/ ...
  PSEUDO_NOSYMLINKEXP=1;/media/ssd/poky-build/tmp/sysroots/ ...
  mkfs.ext4 -F -i 8192 /var/tmp/wic/build/rootfs_platform.7.ext4 -L
  platform -d
  /media/ssd/poky-build/tmp/work/qemux86-poky-linux/core-image-minimal/...
  returned '1' instead of 0

Made exec_native_cmd aware of pseudo and properly report
errors when command is not found.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotoolchain-shar-relocate: don't assume last state of env_setup_script is good
Jean-Francois Dagenais [Mon, 16 Nov 2015 19:37:16 +0000 (14:37 -0500)]
toolchain-shar-relocate: don't assume last state of env_setup_script is good

In the case where many environment-setup-* files exist, the incorrect
filename might be lastly set in env_setup_script, which leads to
incorrect behaviour for the initialization of native_sysroot.

The scenario I had was that our custom meta-toolchain-*.bb, which
inherits populate_sdk, defined another environment-setup-* file to dump
variable information for qt-creator. The file is named like so in order
for the sdk shell script to pick it up and fix the SDK paths in the
file. Since it (coincidentally) alphabetically comes after ...-core2, it
was last set in env_setup_script and the grep OECORE_NATIVE_SYSROOT
would simply be blank. The apparent symptom was "...relocate_sdk.py:
Argument list too long" since the find command would not be searching in
the right path.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity: don't enforce DISPLAY for testimage
Ross Burton [Mon, 23 Nov 2015 12:09:06 +0000 (12:09 +0000)]
sanity: don't enforce DISPLAY for testimage

Now that qemurunner doesn't need DISPLAY set, let whether DISPLAY is set be up
to the user.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/qemurunner: pass nographic to runqemu if DISPLAY isn't set
Ross Burton [Thu, 27 Aug 2015 14:14:21 +0000 (15:14 +0100)]
oeqa/qemurunner: pass nographic to runqemu if DISPLAY isn't set

Not everyone wants to run the tests with a qemu that has a graphical output, so
allow display to be None and pass nographic to runqemu in that case.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobase: add automatic dependency on lzip-native for .lz SRC_URI
Ross Burton [Fri, 20 Nov 2015 15:41:33 +0000 (15:41 +0000)]
base: add automatic dependency on lzip-native for .lz SRC_URI

Now that the SRC_URI is parsed this can be done without false-positives.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobase: decode SRC_URI before adding implicit fetch dependencies
Ross Burton [Fri, 20 Nov 2015 15:34:52 +0000 (15:34 +0000)]
base: decode SRC_URI before adding implicit fetch dependencies

To avoid false positives such as a SRC_URI for http://foo.xz/foo.zip gaining a
dependnecy on xz-native decode the URI so that precise tests can be done.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuildhistory.bbclass: support extending the content of the build history
Patrick Ohly [Wed, 25 Nov 2015 09:30:30 +0000 (10:30 +0100)]
buildhistory.bbclass: support extending the content of the build history

The idea behind the implementation of Yocto #8138 was that an
additional class can write additional files in the recipe directories,
for example by hooking into the functions of buildhistory.bbclass or
by implementing its own SSTATEPOSTINSTFUNCS function.

However, when these additional files get created before
buildhistory_emit_pkghistory(), they get removed again by that
function because it contains code which removes everything it does
not know about. The reason for that is that these unknown items
are probably obsolete.

This logic is the reason why the additional "kconfig" file from
buildhistory-extra.bbclass never showed up in the final build history.

To fix this, the hard-coded list of known files in
buildhistory_emit_pkghistory() must be turned into a variable which
derived classes can extend.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolicense.bbclass: Create image license manifest
Mariano Lopez [Fri, 13 Nov 2015 14:29:18 +0000 (14:29 +0000)]
license.bbclass: Create image license manifest

This change adds the license_deployed_manifest function
that will create the manifest for the packages deployed
next to the image but not installed in rootfs. Some
examples of these recipes would be the bootloaders, or
the kernel.

This new function was added to ROOTFS_POSTPROCESS_COMMAND
so it will run after every rootfs task.

This change also modify the write_license_files because
the image manifest is different from the root manifest.

[YOCTO #6772]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolicense.bbclass: Add function get_deployed_files
Mariano Lopez [Thu, 12 Nov 2015 14:21:06 +0000 (14:21 +0000)]
license.bbclass: Add function get_deployed_files

This function will get the files that were deployed using
the sstate-control manifest file. This will give a better
view of what was deployed next to the image.

[YOCTO #6772]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
9 years agolicense.bbclass: Added function get_deployed_dependencies
Mariano Lopez [Thu, 12 Nov 2015 14:14:40 +0000 (14:14 +0000)]
license.bbclass: Added function get_deployed_dependencies

This change introduce a new function to get the dependencies
that were deployed. It uses BB_TASKDEPDATAto get all the
dependencies of the current task, so it is possible to get
different packages depending at what point this function is
called.

[YOCTO #6772]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
9 years agolicense.bbclass: Added get_boot_dependencies function
Mariano Lopez [Thu, 12 Nov 2015 12:36:02 +0000 (12:36 +0000)]
license.bbclass: Added get_boot_dependencies function

This function gets the dependencies from the classes that
create a boot image, this is required because sometimes
the bootloader dependecy is in these classes. The current
classes covered are bootimg and bootdirectdisk because
these are the only clases that add dependencies.

[YOCTO #6772]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
9 years agolicense.bbclass: Split license create manifest
Mariano Lopez [Thu, 1 Oct 2015 11:25:08 +0000 (11:25 +0000)]
license.bbclass: Split license create manifest

This changes moves the writing of the licenses to a
separated function that could be called for other packages.

With these change it will be easier to reuse the writing of
the license for the packages deployed but not installed in
the rootfs.

[YOCTO #6772]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
9 years agolicense.bbclass: Write recipeinfo file in license folder
Mariano Lopez [Thu, 19 Nov 2015 08:05:46 +0000 (08:05 +0000)]
license.bbclass: Write recipeinfo file in license folder

Currently there is no way to get the recipe version when
creating the rootfs. It is needed because the manifest
file for the image has to contain this important piece
of information.

This change writes a new file in the license folder for
every recipe. This file is called "recipeinfo" and have
the information used to write the manifest file for the
recipes deployed next to the image.

[YOCTO #6772]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
9 years agopopulate_sdk_ext.bbclass: Be more permissive on the name of the buildtools
Mark Hatle [Fri, 20 Nov 2015 20:06:54 +0000 (14:06 -0600)]
populate_sdk_ext.bbclass: Be more permissive on the name of the buildtools

We want to support different names for the buildtools tarball.  The
name may not always be of the default oe-core format.

For instance, at Wind River we define the built-tools name to be:

${SDK_ARCH}-buildtools-nativesdk-standalone-${DISTRO_VERSION}

because thes standard SDK_NAME has additional information that is not
relevant to the builtools tarball.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopopulate_sdk_base: Add sysroot symlink check
Haris Okanovic [Tue, 17 Nov 2015 20:21:12 +0000 (14:21 -0600)]
populate_sdk_base: Add sysroot symlink check

Add optional check to do_populate_sdk() that verifies SDK sysroots don't
contain dangling or escaping symlinks before attempting to tar an archive.
Such links may fail a `tar -h` operation (-h => follow symlinks) or
archive the build system's files.

Set CHECK_SDK_SYSROOTS = "1" to enable this check.

Use case: The -h option may be set via SDKTAROPTS in some configurations
to create symlink-less SDK archives for Windows file systems.

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/populate_sdk_ext: fail if SDK_ARCH != BUILD_ARCH
Paul Eggleton [Wed, 18 Nov 2015 20:59:36 +0000 (09:59 +1300)]
classes/populate_sdk_ext: fail if SDK_ARCH != BUILD_ARCH

The extensible SDK relies upon uninative, and with the way that
uninative works, the build system architecture must be the same as the
SDK architecture or the extensible SDK won't be usable. At some point in
future hopefully we can remove this limitation, but until then it's
disingenuous to allow this to build, so add a check to ensure
SDK_ARCH == BUILD_ARCH and fail if it isn't.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/populate_sdk_ext: tweak reporting of workspace exclusion
Paul Eggleton [Thu, 12 Nov 2015 15:24:29 +0000 (15:24 +0000)]
classes/populate_sdk_ext: tweak reporting of workspace exclusion

If you have a local workspace layer enabled when building the
extensible SDK, we explicitly exclude that from the SDK (mostly because
the SDK has its own for the user to use). Adjust the message we print
notifying the user of this so it's clear that we're excluding it from
the SDK, and scale it back from a warning to a note printed with
bb.plain().

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/populate_sdk_ext: make it clear when SDK installation has failed
Paul Eggleton [Thu, 12 Nov 2015 15:08:12 +0000 (15:08 +0000)]
classes/populate_sdk_ext: make it clear when SDK installation has failed

When SDK preparation fails:

* Insert an ERROR: in front of the error message
* Add an error message to the environment setup script

Hopefully this should make it more obvious when this happens.

Fixes [YOCTO #8658].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/populate_sdk_ext: tidy up preparation log file writing
Paul Eggleton [Thu, 12 Nov 2015 15:00:47 +0000 (15:00 +0000)]
classes/populate_sdk_ext: tidy up preparation log file writing

Use a variable for the log file which includes the full path; this is
not only neater but avoids us writing the first part (the output of
oe-init-build-env) to a file in another directory since we are
changing directory as part of this subshell.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboot-directdisk.bbclass: remove HDDIMG before create
Robert Yang [Tue, 24 Nov 2015 13:20:38 +0000 (05:20 -0800)]
boot-directdisk.bbclass: remove HDDIMG before create

Fixed when rebuild:
mkdosfs: file /path/to/hdd.image already exists

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosstate: Ensure siginfo and sig files are also touched
Richard Purdie [Wed, 18 Nov 2015 11:52:06 +0000 (11:52 +0000)]
sstate: Ensure siginfo and sig files are also touched

Maintaining an sstate mirror is complicated at the moment as only the main
sstate tgz files have their timestamp updated when they're used.

This causes problems as the siginfo files can be removed from the server
due to inactivity but the sstate fetch code tries to fetch them leading
to confusing warnings and reduced debug capability.

This change ensures we touch any sig/siginfo files present and should
help ageing of the objects on sstate mirrors. It doesn't handle the intermediate
task siginfo files but those are never fetched by the current sstate code
so are an order of magnitude less problematic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoweston: Add PACKAGECONFIG option for colord CMS
Otavio Salvador [Mon, 16 Nov 2015 16:54:30 +0000 (14:54 -0200)]
weston: Add PACKAGECONFIG option for colord CMS

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopkg: add cache filename length fixes
Alejandro del Castillo [Fri, 13 Nov 2015 15:59:15 +0000 (09:59 -0600)]
opkg: add cache filename length fixes

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenjade-native: statically link local libs
Christopher Larson [Tue, 10 Nov 2015 20:49:15 +0000 (13:49 -0700)]
openjade-native: statically link local libs

Statically link local libs to avoid gold link issue. This is clearly
a workaround, but does get us past the failures with systems using gold by
default until we find a better solution.

[YOCTO #2972]

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosysklogd: inhibit updatercd for non-sysvinit
Christopher Larson [Wed, 4 Nov 2015 23:40:49 +0000 (16:40 -0700)]
sysklogd: inhibit updatercd for non-sysvinit

This recipe doesn't inherit systemd, so we need to take care of it ourselves.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconnman: depend on readline
Christopher Larson [Wed, 4 Nov 2015 23:51:13 +0000 (16:51 -0700)]
connman: depend on readline

When the client is enabled, which we do by default, readline is required.
Currently it gets pulled in by other dependencies of connman, indirectly,
but we should be explicit rather than relying on this.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolatencytop: obey LDFLAGS
Christopher Larson [Wed, 11 Nov 2015 18:41:18 +0000 (11:41 -0700)]
latencytop: obey LDFLAGS

Patch update courtesy Abdur Rehman <abdur_rehman@mentor.com>.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotcf-agent: obey LDFLAGS
Christopher Larson [Wed, 11 Nov 2015 05:12:24 +0000 (22:12 -0700)]
tcf-agent: obey LDFLAGS

This silences a GNU_HASH warning when using external toolchains. The patch is
courtesy Abdur Rehman <abdur_rehman@mentor.com>.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoblkspace: fix ldflags for iowatcher
Christopher Larson [Wed, 11 Nov 2015 04:16:35 +0000 (21:16 -0700)]
blkspace: fix ldflags for iowatcher

This quiets a GNU_HASH warning.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobluez5: enable sysvinit support
Christopher Larson [Wed, 11 Nov 2015 04:24:58 +0000 (21:24 -0700)]
bluez5: enable sysvinit support

This is from Shrikant Bobade <Shrikant_Bobade@mentor.com>.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosysprof: use packageconfig for the gui
Christopher Larson [Wed, 11 Nov 2015 18:35:06 +0000 (11:35 -0700)]
sysprof: use packageconfig for the gui

This makes the gtk dependencies optional.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomc: upgrade to 4.8.15
Maxin B. John [Mon, 16 Nov 2015 08:58:50 +0000 (10:58 +0200)]
mc: upgrade to 4.8.15

4.8.14 -> 4.8.15

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackagegroup-core-directfb: Don't depend on pango-modules
Jussi Kukkonen [Fri, 13 Nov 2015 13:38:13 +0000 (15:38 +0200)]
packagegroup-core-directfb: Don't depend on pango-modules

Recent pango upgrade means there is no pango-modules.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxkeyboard-config: Upgrade 2.15 -> 2.16
Jussi Kukkonen [Wed, 11 Nov 2015 18:31:15 +0000 (20:31 +0200)]
xkeyboard-config: Upgrade 2.15 -> 2.16

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxkbcomp: Upgrade 1.3.0 -> 1.3.1
Jussi Kukkonen [Wed, 11 Nov 2015 18:23:00 +0000 (20:23 +0200)]
xkbcomp: Upgrade 1.3.0 -> 1.3.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxinput: Upgrade 1.6.1 -> 1.6.2
Jussi Kukkonen [Wed, 11 Nov 2015 18:22:13 +0000 (20:22 +0200)]
xinput: Upgrade 1.6.1 -> 1.6.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxf86-video-omap: Upgrade 0.4.3 -> 0.4.4
Jussi Kukkonen [Wed, 11 Nov 2015 18:05:29 +0000 (20:05 +0200)]
xf86-video-omap: Upgrade 0.4.3 -> 0.4.4

Remove backported patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxf86-input-synaptics: Upgrade 1.8.2 -> 1.8.3
Jussi Kukkonen [Wed, 11 Nov 2015 15:08:26 +0000 (17:08 +0200)]
xf86-input-synaptics: Upgrade 1.8.2 -> 1.8.3

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxf86-input-evdev: Upgrade 2.9.2 -> 2.10.0
Jussi Kukkonen [Wed, 11 Nov 2015 14:30:09 +0000 (16:30 +0200)]
xf86-input-evdev: Upgrade 2.9.2 -> 2.10.0

This version installs the 10-evdev.conf configuration file
that is no longer included in xserver-xorg.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxorg-driver-input: add xorg configuration to FILES
Jussi Kukkonen [Wed, 11 Nov 2015 14:34:08 +0000 (16:34 +0200)]
xorg-driver-input: add xorg configuration to FILES

It's common for input drivers to to add files into
${datadir}/X11/xorg.conf.d/.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxserver-xorg: Upgrade 1.17.2 -> 1.18.0
Jussi Kukkonen [Wed, 11 Nov 2015 13:27:02 +0000 (15:27 +0200)]
xserver-xorg: Upgrade 1.17.2 -> 1.18.0

* Remove glibc-guard patch: xserver no longer uses termio.h on linux
  in any case.
* Remove "--enable-glx-tls": this hasn't done anything since glapi
  was separated from glx
* Note that xserver no longer installs evdev configuration
  (evdev and/or libinput should do it instead)
* Add patch to check for libsystemd correctly
* Add PACKAGECONFIG for libsystemd

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibxcb: Remove unused git-version of the recipe
Jussi Kukkonen [Tue, 10 Nov 2015 09:38:59 +0000 (11:38 +0200)]
libxcb: Remove unused git-version of the recipe

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibxcb: Upgrade 1.11 -> 1.11.1
Jussi Kukkonen [Mon, 9 Nov 2015 15:07:34 +0000 (17:07 +0200)]
libxcb: Upgrade 1.11 -> 1.11.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopixman: Upgrade 0.32.6 -> 0.32.8
Jussi Kukkonen [Mon, 9 Nov 2015 14:41:36 +0000 (16:41 +0200)]
pixman: Upgrade 0.32.6 -> 0.32.8

Update Upstream-Status on a patch.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibxi: Upgrade 1.7.4 -> 1.7.5
Jussi Kukkonen [Mon, 9 Nov 2015 14:30:01 +0000 (16:30 +0200)]
libxi: Upgrade 1.7.4 -> 1.7.5

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk-icon-utils-native: Upgrade 3.16.6 -> 3.18.2
Jussi Kukkonen [Tue, 10 Nov 2015 11:42:02 +0000 (13:42 +0200)]
gtk-icon-utils-native: Upgrade 3.16.6 -> 3.18.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_regex.inc: Add gtk-icon-utils-native
Jussi Kukkonen [Tue, 10 Nov 2015 09:54:09 +0000 (11:54 +0200)]
package_regex.inc: Add gtk-icon-utils-native

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk+3: Upgrade 3.16.6 -> 3.18.2
Jussi Kukkonen [Fri, 6 Nov 2015 13:36:21 +0000 (15:36 +0200)]
gtk+3: Upgrade 3.16.6 -> 3.18.2

* Package new development tool gtk-builder-tool.
* Disable colord support (for explicitness, no functional change)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoadwaita-icon-theme: Upgrade 3.16.2.1 -> 3.18.0
Jussi Kukkonen [Fri, 6 Nov 2015 12:27:15 +0000 (14:27 +0200)]
adwaita-icon-theme: Upgrade 3.16.2.1 -> 3.18.0

Remove a backported patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibrsvg: Upgrade 2.40.10 -> 2.40.11
Jussi Kukkonen [Fri, 6 Nov 2015 12:04:46 +0000 (14:04 +0200)]
librsvg: Upgrade 2.40.10 -> 2.40.11

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopango: add RPROVIDES for removed packages
Ross Burton [Wed, 18 Nov 2015 10:18:36 +0000 (10:18 +0000)]
pango: add RPROVIDES for removed packages

Now that Pango has merged the external modules and engines the packages don't
exist.  For convenience have the Pango library RPROVIDE these names.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopango: Upgrade 1.36.8 -> 1.38.1
Jussi Kukkonen [Thu, 5 Nov 2015 20:54:59 +0000 (22:54 +0200)]
pango: Upgrade 1.36.8 -> 1.38.1

Pango is now a simple a simple library and no longer has
 - modules
 - engines
 - configuration
Dropping all related things from the recipe.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogdk-pixbuf: Upgrade 2.30.8 -> 2.32.1
Jussi Kukkonen [Thu, 5 Nov 2015 20:26:08 +0000 (22:26 +0200)]
gdk-pixbuf: Upgrade 2.30.8 -> 2.32.1

Remove a backported patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsoup-2.4: Upgrade 2.50.0 -> 2.52.1
Jussi Kukkonen [Thu, 5 Nov 2015 12:40:18 +0000 (14:40 +0200)]
libsoup-2.4: Upgrade 2.50.0 -> 2.52.1

Don't build the now-included vala bindings: This requires gobject-introspection.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoat-spi2-atk: Upgrade 2.16.0 -> 2.18.1
Jussi Kukkonen [Thu, 5 Nov 2015 12:28:18 +0000 (14:28 +0200)]
at-spi2-atk: Upgrade 2.16.0 -> 2.18.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoatk-spi2-core: Upgrade 2.16.0 -> 2.18.1
Jussi Kukkonen [Thu, 5 Nov 2015 12:19:12 +0000 (14:19 +0200)]
atk-spi2-core: Upgrade 2.16.0 -> 2.18.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoatk: Upgrade 2.16.0 -> 2.18.0
Jussi Kukkonen [Thu, 5 Nov 2015 12:15:26 +0000 (14:15 +0200)]
atk: Upgrade 2.16.0 -> 2.18.0

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-networking: Upgrade 2.44.0 -> 2.46.1
Jussi Kukkonen [Thu, 5 Nov 2015 12:10:23 +0000 (14:10 +0200)]
glib-networking: Upgrade 2.44.0 -> 2.46.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-2.0: build dependency cleanup
Ross Burton [Mon, 16 Nov 2015 23:24:05 +0000 (23:24 +0000)]
glib-2.0: build dependency cleanup

New GLib doesn't require glib-2.0-native to build itself so remove it from the
DEPENDS.  However it is needed for the test suite so respect PTEST_ENABLED and
add it to DEPENDS if required.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-2.0: Enable more tests while cross-compiling
Jussi Kukkonen [Mon, 9 Nov 2015 09:17:07 +0000 (11:17 +0200)]
glib-2.0: Enable more tests while cross-compiling

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-2.0: Upgrade 2.44.1 -> 2.46.1
Jussi Kukkonen [Thu, 5 Nov 2015 09:31:39 +0000 (11:31 +0200)]
glib-2.0: Upgrade 2.44.1 -> 2.46.1

Fix cross-compilation build issue in gio tests.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>