]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
9 years agoqemu: Backport malloc-trace disabling
Jussi Kukkonen [Mon, 9 Nov 2015 08:32:38 +0000 (10:32 +0200)]
qemu: Backport malloc-trace disabling

Allocation tracing has been removed from GLib 2.46 and trying to use
it results in an ugly warning: Backport patch to not use it in Qemu.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agologrotate: do not move binary logrotate to /usr/bin
Hongxu Jia [Mon, 2 Nov 2015 08:33:27 +0000 (16:33 +0800)]
logrotate: do not move binary logrotate to /usr/bin

In oe-core commit a46d3646a3e1781be4423b508ea63996b3cfca8a
...
Author: Fahad Usman <fahad_usman@mentor.com>
Date:   Tue Aug 26 13:16:48 2014 +0500

    logrotate: obey our flags

    Needed to quiet GNU_HASH warnings, and some minor fixes.
...
it explicitly move logrotate to /usr/bin without any reason,
which is against the original Linux location /usr/sbin.

So partly revert the above commit which let logrotate be
kept in the original place /usr/sbin.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: drop unneeded $D check in prerm
Christopher Larson [Wed, 11 Nov 2015 05:35:43 +0000 (22:35 -0700)]
systemd: drop unneeded $D check in prerm

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: chown hwdb.bin to root:root for do_rootfs
Christopher Larson [Wed, 11 Nov 2015 05:34:01 +0000 (22:34 -0700)]
systemd: chown hwdb.bin to root:root for do_rootfs

This is created by qemu for the do_rootfs case, which bypasses pseudo, so we
need to correct the ownership. This fixes a warning issued by
rootfs_check_host_user_contaminated.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: for valgrind, define VALGRIND=1
Christopher Larson [Wed, 11 Nov 2015 06:06:50 +0000 (23:06 -0700)]
systemd: for valgrind, define VALGRIND=1

Per the systemd README, this should be defined to run systemd under valgrind,
otherwise false positives will be triggered.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: make coredump a PACKAGECONFIG
Daniel McGregor [Tue, 3 Nov 2015 22:54:36 +0000 (16:54 -0600)]
systemd: make coredump a PACKAGECONFIG

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: add machine-id to conffiles
Dan McGregor [Tue, 3 Nov 2015 22:54:35 +0000 (16:54 -0600)]
systemd: add machine-id to conffiles

If / is mounted read-write machine-id will be overwritten on first boot.
This change ensures that the machine-id file persists across package
upgrades to systemd.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: ignore .so filenames in systemd-doc
Dan McGregor [Tue, 3 Nov 2015 22:54:34 +0000 (16:54 -0600)]
systemd: ignore .so filenames in systemd-doc

systemd names two manual pages for .so files ${foo}.so.2.8,
the library being named ${foo}.so.2. This hits the libdir
sanity checker:
WARNING: QA Issue: systemd-doc: found library in wrong location:
/usr/share/man/man8/libnss_mymachines.so.2.8 [libdir]

Disable the libdir sanity check for systemd-doc.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: fix Upstream-Status tag
Ross Burton [Wed, 11 Nov 2015 11:11:39 +0000 (11:11 +0000)]
systemd: fix Upstream-Status tag

9 years agomdadm: fix CFLAGS and ptest issues
Wenzong Fan [Fri, 16 Oct 2015 03:24:14 +0000 (23:24 -0400)]
mdadm: fix CFLAGS and ptest issues

* Pass global CFLAGS to build:

The CFLAGS does not pass to build at all since it was redefined by
mdadm Makefile:

  CFLAGS = $(CWFLAGS) $(CXFLAGS) ...

This could be done by setting 'CXFLAGS="${CFLAGS}"'.

* Also fix ptest build errors caused by global CFLAGS:

  raid6check.c:352:2: error: ignoring return value of posix_memalign, \
  declared with attribute warn_unused_result [-Werror=unused-result]

  raid6check.c:315:8: error: 'stripe_buf' may be used uninitialized \
  in this function [-Werror=maybe-uninitialized]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc-4.9: Fix various _FOR_BUILD and related variables
Juro Bystricky [Sat, 7 Nov 2015 17:46:42 +0000 (09:46 -0800)]
gcc-4.9: Fix various _FOR_BUILD and related variables

This patch is based on the patch for gcc-5.2 (41cbfd7af60f93a4bd496b7b6bf477215a286950)

When doing a FOR_BUILD thing, you have to override CFLAGS with
CFLAGS_FOR_BUILD. And if you use C++, you also have to override
CXXFLAGS with CXXFLAGS_FOR_BUILD.
Without this, when building for mingw, you end up trying to use
the mingw headers for a host build.

The same goes for other variables as well, such as CPPFLAGS,
CPP, and GMPINC.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: add sync command
Tzu-Jung Lee [Mon, 9 Nov 2015 10:30:32 +0000 (02:30 -0800)]
devtool: add sync command

The sync command is similar to the extract command, except it
fetches the sync'ed and patched branch to an existing git repository.

This enables users to keep track the upstream development while
maintaining their own local git repository at the same time.

Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost.inc: remove unused parameter from get_boost_parallel_make()
Andre McCurdy [Thu, 12 Nov 2015 21:00:39 +0000 (13:00 -0800)]
boost.inc: remove unused parameter from get_boost_parallel_make()

The bb parameter seems to have been accidentally left behind after:

  http://git.openembedded.org/openembedded-core/commit/?id=1ff36aaec25a7ee89514366fe484345e8d1d7b64

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowireless-tools: remove unused files
Maxin B. John [Thu, 12 Nov 2015 15:39:48 +0000 (17:39 +0200)]
wireless-tools: remove unused files

Remove wireless-tools.if-pre-up and zzz-wireless.if-pre-up.
As per the comment, these files were not in use from 20/8/08.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0: fix install race
Ross Burton [Thu, 12 Nov 2015 19:47:46 +0000 (19:47 +0000)]
gstreamer1.0: fix install race

The install hook needs to be a data hook not an exec hook (because automake),
the explicit dependency upstream added to fix the ordering results in
install-helpersPROGRAMS executing twice and potentially racing.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc-multilib-config: make aarch64 support multilib
Robert Yang [Thu, 5 Nov 2015 08:20:51 +0000 (00:20 -0800)]
gcc-multilib-config: make aarch64 support multilib

Fixed:
MACHINE = qemuarm64
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7at-neon"

$ bitbake core-image-minimal -cpopulate_sdk

WARNING: gcc multilib setup is not supported for TARGET_ARCH=aarch64
WARNING: gcc multilib setup is not supported for TARGET_ARCH=aarch64

[YOCTO #8638]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibxml2: fix CVE-2015-7942 and CVE-2015-8035
Armin Kuster [Wed, 11 Nov 2015 22:21:46 +0000 (14:21 -0800)]
libxml2: fix CVE-2015-7942 and CVE-2015-8035

CVE-2015-7942 libxml2: heap-based buffer overflow in xmlParseConditionalSections()
CVE-2015-8035 libxml2: DoS when parsing specially crafted XML document if XZ support is enabled

[YOCTO #8641]

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoterminal: Open a new window instead of split on older tmux versions (<1.9)
Leonardo Sandoval [Fri, 6 Nov 2015 23:25:08 +0000 (17:25 -0600)]
terminal: Open a new window instead of split on older tmux versions (<1.9)

If an old version is detected (<1.9), create a new window instead of split:
the reason is that there is no easy way to get the active pane height if no
nested formats are supported.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoflex: fix test-bison-yylval and test-bison-yylloc failed
Hongxu Jia [Wed, 11 Nov 2015 06:15:38 +0000 (01:15 -0500)]
flex: fix test-bison-yylval and test-bison-yylloc failed

The tests in flex test-bison-yylval and test-bison-yylloc
failed, so we backport a patch from upstream to fix it.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogdbm 1.8.3: install libgdbm_compat
Robert Yang [Thu, 12 Nov 2015 08:51:38 +0000 (00:51 -0800)]
gdbm 1.8.3: install libgdbm_compat

It has been built but not installed by default, while 1.11 builds and
installs it.

Fixed when build non_gplv3 + perl:
powerpc64-wrs-linux-gcc -m64 -mhard-float -mcpu=e6500
--sysroot=/mnt/docker/test_p/bitbake_build/tmp/sysroots/fsl-t2xxx
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -
fstack-protector -shared NDBM_File.o  -o
../../lib/auto/NDBM_File/NDBM_File.so   \
   -lgdbm -lgdbm_compat         \

ld: cannot find -lgdbm_compat
collect2: error: ld returned 1 exit status
Makefile:473: recipe for target '../../lib/auto/NDBM_File/NDBM_File.so' failed

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoharfbuzz: update to 1.0.6
Maxin B. John [Thu, 12 Nov 2015 08:53:23 +0000 (10:53 +0200)]
harfbuzz: update to 1.0.6

1.0.2 -> 1.0.6

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoethtool: bump version to 4.2
Maxin B. John [Thu, 12 Nov 2015 08:53:22 +0000 (10:53 +0200)]
ethtool: bump version to 4.2

4.0 -> 4.2

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssl: fix ptest issues
Wenzong Fan [Mon, 3 Aug 2015 08:52:45 +0000 (16:52 +0800)]
openssl: fix ptest issues

* follow symbolic links while copying sources from test/*
* install required target files to remove Make errors:

  make[2]: *** No rule to make target 'xxx', needed by 'yyy'.

* fix hardcode pathes:
  /usr/lib -> ${libdir}, /usr/bin -> ${bindir}

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobase-files: stage /etc/skel
Ioan-Adrian Ratiu [Thu, 22 Oct 2015 11:58:18 +0000 (14:58 +0300)]
base-files: stage /etc/skel

Having skel in the staging area lets other recipes access these files.
For ex. recipes inheriting useradd, if passing "-m" to USERADD_PARAM,
.bashrc and .profile are put automatically in $HOME, as expected.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomktemp: raise the priority to avoid conflicting with coreutils
Chen Qi [Thu, 29 Oct 2015 09:22:42 +0000 (17:22 +0800)]
mktemp: raise the priority to avoid conflicting with coreutils

If mktemp and coreutils have the same priority for the 'mktemp' command,
/bin/mktemp might point to different destinations depending on which package
is installed first.

Raise the priority to 200 in mktemp recipe to avoid such problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibunwind: fix build for qemuarm
Martin Jansa [Thu, 29 Oct 2015 10:50:32 +0000 (11:50 +0100)]
libunwind: fix build for qemuarm

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsndfile: fix CVE-2014-9756
Maxin B. John [Thu, 5 Nov 2015 15:56:09 +0000 (17:56 +0200)]
libsndfile: fix CVE-2014-9756

Fix divide by zero bug (CVE-2014-9756)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-pycurl: update version to 7.19.5.2
Maxin B. John [Thu, 5 Nov 2015 15:44:41 +0000 (17:44 +0200)]
python-pycurl: update version to 7.19.5.2

No change in License. Updated no-static-link.patch

README.rst: license checksum changed to reflect the Copyright update
COPYING-MIT: checksum changed to reflect the Copyright update

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agort-tests: upgrade to version 0.96
Maxin B. John [Thu, 5 Nov 2015 15:50:10 +0000 (17:50 +0200)]
rt-tests: upgrade to version 0.96

bump version to 0.96

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpcbind: don't use '-w' for starting rpcbind
Li Wang [Sat, 7 Nov 2015 06:43:19 +0000 (01:43 -0500)]
rpcbind: don't use '-w' for starting rpcbind

While runing:

$ systemctl restart rpcbind
$ systemctl status rpcbind

There are errors like below:
  rpcbind[1722]: Cannot open '/tmp/rpcbind.xdr' file for reading, \
    errno 2 (No such file or directory)
  rpcbind[1722]: Cannot open '/tmp/portmap.xdr' file for reading, \
    errno 2 (No such file or directory)

'-w' causes rpcbind to do a "warm start" by read a state file when
rpcbind starts up. The state file is created when rpcbind terminates.

The state file is not always there, the patch refers to:
  https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/835833

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsecret: add dependency on intltool-native
Joe Slater [Tue, 10 Nov 2015 22:28:34 +0000 (14:28 -0800)]
libsecret: add dependency on intltool-native

intltoolize is needed by configure.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssl: use subdir= instead of moving files in do_configure_prepend()
Ross Burton [Wed, 11 Nov 2015 15:14:07 +0000 (15:14 +0000)]
openssl: use subdir= instead of moving files in do_configure_prepend()

For clarity and correctness of source archiving, don't move find.pl from WORKDIR
to S in do_configure_prepend but tell the fetcher to put it in the right place
when unpacking.

Also re-order the files in SRC_URI so that patches are grouped together.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssl: sanity check that the bignum module is present
Ross Burton [Wed, 11 Nov 2015 14:50:27 +0000 (14:50 +0000)]
openssl: sanity check that the bignum module is present

The crypto_use_bigint_in_x86-64_perl patch uses the "bigint" module to
transparently support 64-bit integers on 32-bit hosts.  Whilst bigint (part of
bignum) is a core Perl module not all distributions install it (notable Fedora
23).

As the error message when bignum isn't installed is obscure, add a task to check
that it is available and alert the user if it isn't.

[ YOCTO #8562 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsdl2: require GLES when building Wayland support
Ross Burton [Wed, 11 Nov 2015 13:38:37 +0000 (13:38 +0000)]
libsdl2: require GLES when building Wayland support

The Wayland support requires GLES2 to be enabled as otherwise the EGL support
code in SDL2 isn't enabled.

| In file included from .../SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:34:0:
| .../SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c: In function 'Wayland_CreateDevice':
| .../SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:38:38: error: 'SDL_EGL_GetSwapInterval' undeclared (first use in this function)
|  #define Wayland_GLES_GetSwapInterval SDL_EGL_GetSwapInterval

Solve this by adding gles2 to the Wayland PACKAGECONFIG option.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agometa: add some missing Upstream-Status tags to patches
Ross Burton [Wed, 11 Nov 2015 11:51:05 +0000 (11:51 +0000)]
meta: add some missing Upstream-Status tags to patches

Where Signed-off-by statements have been added they were sourced from the
original commit where the author claims creation.

Signed-off-by: Ross Burton <ross.burton@intel.com>