scm/bb/tizen-distro.git
12 years agogdk-pixbuf: Allow empty -xlib package
Richard Purdie [Tue, 15 May 2012 17:49:09 +0000 (18:49 +0100)]
gdk-pixbuf: Allow empty -xlib package

There are things that depend on the -xlib package. There are two
possible ways to fix this, either recommend them instead of depending
on them, or allow the package to be empty. I'm doing the latter
since its a bit cleaner and less invasive.

This library is a bit pointless which is why there is little point
in adding the x dependency in the non-lsb case. If it becomes widly
used we can rethink this.

(From OE-Core rev: 7d49da7389b5bb0e74d9000b002ebf0bc554e85b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: replace bashism with working shell idiom
Peter Seebach [Mon, 14 May 2012 22:49:23 +0000 (17:49 -0500)]
runqemu: replace bashism with working shell idiom

The =~ operator is not one of my favorites, not just due to portability
issues, but because it's not well known, and a lot of people might
not expect a regex operator.

The canonical shell idiom for this is to use case with alternation
and wildcards.  As a side note, if you are matching anything containing
core-image-sato, you don't need to also check for core-image-sato-sdk.

(From OE-Core rev: 716ae8dbd1fb29292c9fca0f59d3807a54508e87)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoofono: Add python-pygobject to ofono-tests package DEPENDS
Darren Hart [Tue, 15 May 2012 00:10:34 +0000 (17:10 -0700)]
ofono: Add python-pygobject to ofono-tests package DEPENDS

Some of the ofono-tests python scripts, such as test-modem and
receive-sms (22 in total) import gobject. Make the ofono-tests package
depend on python-pygobject.

Tested on the meta-intel fri2 BSP in a core-image-sato image. Assorted
ofono tests run correctly.

(From OE-Core rev: 30708f1b5bc3844e080ef863fdd22446700ba0b1)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/rootfs_*: fix splitting package dependency strings
Paul Eggleton [Sun, 13 May 2012 08:52:57 +0000 (09:52 +0100)]
classes/rootfs_*: fix splitting package dependency strings

If a + character appears in a version specification within the list of
package dependencies, the version will not be removed from the list in
list_package_depends/recommends leading to garbage appearing in the
dependency graphs generated by buildhistory. To avoid any future
problems due to unusual characters appearing in versions, change the
regex to match almost any character.

Fixes [YOCTO #2451].

(From OE-Core rev: 36d1717e2ad4ca1620ee9f01b524b5ff2f499b26)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/siggen.py: ensure dumped signatures have group R/W
Joshua Lock [Sat, 12 May 2012 01:21:51 +0000 (18:21 -0700)]
lib/bb/siggen.py: ensure dumped signatures have group R/W

We anticipate signatures being shared amongst peers in a group so ensure
they have rw-rw-r-- permissions to facilitate this.

(Bitbake rev: e4716f316152cafabebcefec7b387edeb02ad3eb)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/siggen: use open() rather than the file constructor
Joshua Lock [Sat, 12 May 2012 00:58:57 +0000 (17:58 -0700)]
lib/bb/siggen: use open() rather than the file constructor

The Python documentation states:
 "When opening a file, it’s preferable to use open() instead of invoking
the file constructor directly." [1]

Further in Python 3 direct use of the file constructor is no longer
possible.

1. http://docs.python.org/library/functions.html#open

(Bitbake rev: 759f953e29a7131614e5b1f0312edf2b17523675)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/tests: Add test of the git fetcher
Richard Purdie [Fri, 11 May 2012 17:16:01 +0000 (18:16 +0100)]
bitbake/tests: Add test of the git fetcher

(Bitbake rev: 4dd2655caef1003b51c0600397a91f1c9526a67f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/fetch2/git: Set a default for the GITDIR variable
Richard Purdie [Fri, 11 May 2012 17:15:16 +0000 (18:15 +0100)]
bitbake/fetch2/git: Set a default for the GITDIR variable

(Bitbake rev: 1a0cdc65812f1f12bf4bbea6540a3aaf0f81b4f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/fetch2/git: Don't set the branch name to None, that makes no sense
Richard Purdie [Fri, 11 May 2012 17:14:40 +0000 (18:14 +0100)]
bitbake/fetch2/git: Don't set the branch name to None, that makes no sense

With floating revisions and no specified branch, the fetcher could fail
with some obtuse errors. This was due to the branch name being set to None
which makes no sense. This patch reworks some conditions to avoid this.

(Bitbake rev: 740c58d43cfb1445dd126e4827bb70ce988ca107)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdk-pixbuf: Drop unneeded RPROVIDES
Richard Purdie [Sat, 12 May 2012 10:12:08 +0000 (11:12 +0100)]
gdk-pixbuf: Drop unneeded RPROVIDES

(From OE-Core rev: cab85fd0b481cdbf36477348de75352be3f38ca2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Drop dubious use of packages[0] from do_split_packages and do_split_...
Richard Purdie [Sat, 12 May 2012 10:10:33 +0000 (11:10 +0100)]
package.bbclass: Drop dubious use of packages[0] from do_split_packages and do_split_locales

As the comment says, using packages[0] is rather broken and can be incorrect,
as demonstrated by the recent gdk-pixbuf change. Replacing it with PN is
a bit more correct and more likely to do what was originally intended
by this function.

(From OE-Core rev: 5d0144fe6bd1febc2d1e651bbcff891c80f20b88)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agooe-buildenv-internal: Fix BITBAKEDIR changes to work with existing autobuilder scritpts
Richard Purdie [Sat, 12 May 2012 07:41:44 +0000 (08:41 +0100)]
oe-buildenv-internal: Fix BITBAKEDIR changes to work with existing autobuilder scritpts

The BITBAKEDIR change does not work well when the script is sourced from another script
since $2 may be unrelated. This change adds the logic onto the BDIR conditional and
which more external scripts would set, hence avoiding the problem.

(From OE-Core rev: ec8fbe0d1870285a4a972ddcfe83aa63d720cb80)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxserver-xorg: Fix build on powerpc
Khem Raj [Fri, 11 May 2012 17:21:47 +0000 (10:21 -0700)]
xserver-xorg: Fix build on powerpc

(From OE-Core rev: 8a11f42d3ed526fae0c0bb050d7d0519904591b4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd option to oe-buildenv-internal script to change bitbake location.
Philip Balister [Wed, 9 May 2012 16:44:23 +0000 (12:44 -0400)]
Add option to oe-buildenv-internal script to change bitbake location.

Having bitbake inside the oe-core is annoying to some people. This commit
adds a second option to the oe-init-build-env script.

Run like this:

. ./oe-init-build-env ../build ../bitbake

for example. Without the second option, the old behavior is preserved.

(From OE-Core rev: 45510a0dd7a9321c29c5b21ac4053192f7ab9ad5)

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel-yocto: export GUILT_BASE to devshell
Bruce Ashfield [Tue, 8 May 2012 19:10:17 +0000 (15:10 -0400)]
kernel-yocto: export GUILT_BASE to devshell

One of the patch backends to linux-yocto is guilt, which normally
tracks patches under .git. But .git isn't something that can be
checked into a SCM and repeated. So it has been moved under meta/patches
and committed to the meta branch.

If devshell is used, GUILT_BASE isn't set, so patch manipulations will
fail. We export GUILT_BASE and point it at the meta directory when
devshell is invoked for linux-yocto.

(From OE-Core rev: 10546e42a0db6a9585488536e29759239ef6e73b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Drop EXPORT_FUNCTIONS use against mapping_rename_hook
Richard Purdie [Thu, 10 May 2012 08:24:22 +0000 (09:24 +0100)]
package.bbclass: Drop EXPORT_FUNCTIONS use against mapping_rename_hook

The usage of this function renaming and it being called using
bb.build.exec_func() causes needless indirection loops, confusing log
files and seems generally pointless.

This simplification makes the process much simpler and faster. I can't
come up with a good reason why the export_functions functionality is
needed for this function.

(From OE-Core rev: 74daad03ca29a03b0005f7d2b90a0347d5b583a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years ago.gitignore: add /bitbake to the ignore list for external distributions
Jason Wessel [Wed, 9 May 2012 13:46:32 +0000 (08:46 -0500)]
.gitignore: add /bitbake to the ignore list for external distributions

External distributions based on the oe-core will typically include
bitbake in the top level directory.  The idea is to make it easy
for external distributions to easily assemble a distribution
with a pristine version of oe-core, add avoid the git untracked messages:

 # Untracked files:
 #   (use "git add <file>..." to include in what will be committed)
 #
 #       bitbake/

[RP: remove leading slash]
(From OE-Core rev: 9cd30beba77497288eeb2545920bc23f2a77cf16)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoe2fsprogs: fix packaging error for libext2fs
Andreas Oberritter [Thu, 10 May 2012 20:03:57 +0000 (22:03 +0200)]
e2fsprogs: fix packaging error for libext2fs

* libext2fs is located in base_libdir, not libdir

(From OE-Core rev: 683bc278d8695ecf4c8658ab39266279c6bf26d4)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Improve sstate_installpkg performance
Mark Hatle [Thu, 10 May 2012 23:13:38 +0000 (18:13 -0500)]
sstate.bbclass: Improve sstate_installpkg performance

In a pathological case, lots of files to process, the sstate_installpkg
performance was very poor.  It interated over each file and ran 3
individual sed commands per file.  Changing this to keep iterating
but running only a single command took about 1/3 time time.

However, when looking at the corresponding sstate_hardcode_path
function, it was clear we could optimize this further.

Using the same encoding logic to specify only the minimumal sed
operation necessary, and using xargs to avoid the os.system call the
install step was able to be performed in 13% of the original time.

Example timing numbers for perl:

3m7s original code
1m20s single sed, but interating
0m26s using xargs and limited sed

(From OE-Core rev: d9f655753fbdc8cbd8e705577430fed4f23732b3)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdk-pixbuf: Add --with-x11 when building lsb image
Xiaofeng Yan [Fri, 11 May 2012 07:23:15 +0000 (15:23 +0800)]
gdk-pixbuf: Add --with-x11 when building lsb image

LSB Test Suite complains "No library libgdk_pixbuf_xlib-2.0.so.0" \
because of having "--without-x11" for gdk-pixbuf_2.24.1.bb.
Use the linuxstdbase override and also make it conditional on x11 \
being in DISTRO_FEATURES for passing lsb test.
Split libgdk_pixbuf_xlib to a single package.

(From OE-Core rev: 4cb21630cf87e6cc9a062f1c2be9fea25d3e218a)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-core-lsb: Add libgdk-pixbuf-xlib to core-image-lsb
Xiaofeng Yan [Fri, 11 May 2012 07:23:12 +0000 (15:23 +0800)]
task-core-lsb: Add libgdk-pixbuf-xlib to core-image-lsb

LSB Test Suite complains "No library libgdk_pixbuf_xlib-2.0.so.0" \
which are created by gdk-pixbuf_2.24.1.bb.
So add this library to core-image-lsb for passing lsb test.

[RP: Fix whitespace]
(From OE-Core rev: e79f19ef4fb59d6dc14ea139d4e4b132add80842)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: fix build with poky-tiny distro
Nitin A Kamble [Wed, 9 May 2012 20:42:45 +0000 (13:42 -0700)]
eglibc: fix build with poky-tiny distro

This fixes bug [YOCTO #2443]

The prototype of findidx() has changed, but the code in xregex.c is
still using the old prototype. This issue stayed hidden because this
code only gets excercised when OPTION_POSIX_REGEXP_GLIBC is disabled
in the eglibc configuration.
  See the patch for further information.

(From OE-Core rev: 8691038efb0aca4a2cd61fce0c53d10092e48b75)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotypecheck.bbclass: update per current variable typing code
Christopher Larson [Thu, 10 May 2012 02:40:14 +0000 (21:40 -0500)]
typecheck.bbclass: update per current variable typing code

(From OE-Core rev: 13fcda4b158ce944d64b22bd5b63ce0f51faad67)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouclibc.inc: uclibc rtld does support GNU_HASH
Khem Raj [Sun, 6 May 2012 20:55:23 +0000 (13:55 -0700)]
uclibc.inc: uclibc rtld does support GNU_HASH

(From OE-Core rev: a4b74a8244e8b55075082e6d5a59f35f8e437e9d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Add patch to fix /var installation location
Saul Wold [Wed, 9 May 2012 18:08:57 +0000 (11:08 -0700)]
eglibc: Add patch to fix /var installation location

This address the packaging issues since it's installed in the wrong place
ERROR: For recipe eglibc-nativesdk, the following files/directories were installed but not shipped in any package:
ERROR:   /var
ERROR:   /var/db
ERROR:   /var/db/Makefile

(From OE-Core rev: 22a2297c712d3b3ca0335197943483218c92ef3e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.bbclass: Detect empty $PATH components too
Peter Seebach [Wed, 9 May 2012 20:14:41 +0000 (15:14 -0500)]
sanity.bbclass: Detect empty $PATH components too

Empty components in $PATH have the same effect as a . in $PATH,
and are a common side-effect of inserting a misspelled or unset
shell variable in $PATH.

(From OE-Core rev: ac4201b714c83c614113bfa735d0a2fc6f64db99)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoblacklist.bbclass: Refactor, use PNBLACKLIST[pn]
Mark Hatle [Wed, 9 May 2012 15:50:59 +0000 (10:50 -0500)]
blacklist.bbclass: Refactor, use PNBLACKLIST[pn]

Revise the handling from ANGSTROM_BLACKLIST to PNBLACKLIST[pn].

Refactor the code to eliminate references to the distribution and recipe
name in the message.

Change the skipPackage message message from:

ERROR: <recipe> was skipped: <distro> DOES NOT support <recipe> because <reason>

to:

ERROR: <recipe> was skipped: Recipe is blacklisted: <reason>

(From OE-Core rev: 0893457465e184550906844fbab2dec397201835)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoblacklist: fix typo in name
Mark Hatle [Wed, 9 May 2012 15:21:35 +0000 (10:21 -0500)]
blacklist: fix typo in name

(From OE-Core rev: 02a5fe21cad2ec29268de7f3a556bb827f726998)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Import directly from meta-openembedded commit:  a63c374cdc785ade69d2998978d08280e671dc1f

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoh264_qpel_mmx.patch: fix Upstream-Status tag
Saul Wold [Sat, 5 May 2012 01:19:18 +0000 (18:19 -0700)]
h264_qpel_mmx.patch: fix Upstream-Status tag

(From OE-Core rev: 1410f735bca5d1ad2ad1c75fa17288d223d078a0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/runqueue: Drop check_stamp_fn, it's obsolete and should not be used
Richard Purdie [Thu, 10 May 2012 08:23:11 +0000 (09:23 +0100)]
bitbake/runqueue: Drop check_stamp_fn, it's obsolete and should not be used

This function was used by old code such as packaged staging but is thankfully
obsolete now and replaced with better mechanisms. Its time to remove it and
the horrible internal only variables associated with it.

(Bitbake rev: 2995b8d551e0532eca20f8862730acd062c608ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/runqueue: Drop check_stamps function, it is obsolete and unused
Richard Purdie [Thu, 10 May 2012 08:22:22 +0000 (09:22 +0100)]
bitbake/runqueue: Drop check_stamps function, it is obsolete and unused

This was originally used to check the consistency of the stamps in one function
call. This turns out to be inefficient, unnecessary and if it were necessary,
check_stamp_task() could be called in a loop. The function has been unmodified
for a while and likely contains bugs. Its best simply removed.

(Bitbake rev: 728ffde1bd69b880d48fe8523b1616956d13616e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/runqueue: Fix 'full' stamp checking to be more efficient and cache results
Richard Purdie [Thu, 10 May 2012 08:21:41 +0000 (09:21 +0100)]
bitbake/runqueue: Fix 'full' stamp checking to be more efficient and cache results

This should fix issues where bitbake would seemingly lock up when checking
certain configurations of stampfiles.

The cache is kept within the runqueue since that feels like the right
place to associate this cache data.

(Bitbake rev: e95755c4931b26d9f8102ed3652dff969145cfc9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqueue: drop unnecessary keys() in runqueue_process_waitpid
Christopher Larson [Wed, 9 May 2012 23:35:48 +0000 (18:35 -0500)]
runqueue: drop unnecessary keys() in runqueue_process_waitpid

(Bitbake rev: d03dc07dea2f4e594fdbe4abe618670fe628a7c9)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqueue: handle task exit due to signal/stop
Christopher Larson [Wed, 9 May 2012 23:32:20 +0000 (18:32 -0500)]
runqueue: handle task exit due to signal/stop

- for a normal exit, use WEXITSTATUS, rather than manually shifting
- for exit via signal, set the exit code to 128+N, per shell convention
- if a process was stopped, return and don't handle it, as the process can yet
  be continued

This should fix the case where bitbake says a task failed with an exit code of
0 (we assumed failure based on the overall status, but didn't pass all the
information along to task_fail).

(Bitbake rev: 84ea614bc56d35a414eb5bf5658891b340bfc569)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: change the workflow about click 'Run Image' to run directly after builded a...
Liming An [Tue, 8 May 2012 11:48:08 +0000 (19:48 +0800)]
Hob: change the workflow about click 'Run Image' to run directly after builded a qemu image

[YOCTO #2155]

(Bitbake rev: d8a1fc4613ce1d6c1d0e3dad53d7af15b2011fd5)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: add group number show and 'bold' visible effect for Package view
Liming An [Tue, 8 May 2012 11:48:07 +0000 (19:48 +0800)]
Hob: add group number show and 'bold' visible effect for Package view

as ui design, add number of packages for each group, and make the
text font to 'bold' when row be selected

[YOCTO #2195]

(Bitbake rev: 5812176a679a39a4d096134c871c3d24a7e505ea)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: add original url show function with the tooltip hyperlink for user
Liming An [Tue, 8 May 2012 11:48:06 +0000 (19:48 +0800)]
Hob: add original url show function with the tooltip hyperlink for user

When case about No browser, such as running in 'Build Appliance', user can't open
the hyper link, so add this work around for user. (Checking the browser is avaiable
or not is hard by different system and browser type)

[YOCTO #2340]

(Bitbake rev: 02cc701869bceb2d0e11fe3cf51fb0582cda01b0)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: change the refresh icon speed to make it view clear
Liming An [Tue, 8 May 2012 11:48:05 +0000 (19:48 +0800)]
Hob: change the refresh icon speed to make it view clear

Because the arrow icon refresh so fast as the go backward by illusion, so adjust it slow.

[YOCTO #2335]

(Bitbake rev: ac4a8885fafdc0d1e79831334ead9a8ddb6e2472)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Add patch to fix /var installation location
Saul Wold [Wed, 9 May 2012 18:08:57 +0000 (11:08 -0700)]
eglibc: Add patch to fix /var installation location

This address the packaging issues since it's installed in the wrong place
ERROR: For recipe eglibc-nativesdk, the following files/directories were installed but not shipped in any package:
ERROR:   /var
ERROR:   /var/db
ERROR:   /var/db/Makefile

(From OE-Core rev: 910452727fc277c1caec7612b36c37b58d845350)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibc-package.bbclass: Add MLPREFIX while dynamically set RDEPENDS
Dongxiao Xu [Mon, 23 Apr 2012 08:48:59 +0000 (16:48 +0800)]
libc-package.bbclass: Add MLPREFIX while dynamically set RDEPENDS

We need to add MLPREFIX when set RDEPENDS by setVar() function.

(From OE-Core rev: 9407895c88e46490d0ef9bb185f73466e7204c15)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types.bbclass: redefine EXTRA_IMAGECMD_jffs2 to leverage siteinfo
Ting Liu [Mon, 7 May 2012 04:44:29 +0000 (12:44 +0800)]
image_types.bbclass: redefine EXTRA_IMAGECMD_jffs2 to leverage siteinfo

(From OE-Core rev: 7c803cea58737ea0abc62cd21c3813d955f07224)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agozlib: upgrade to 1.2.7
Eric BĂ©nard [Tue, 8 May 2012 17:30:43 +0000 (19:30 +0200)]
zlib: upgrade to 1.2.7

1.2.6 is no more fetchable and 1.2.7 fix some bugs, full changelog is
available here : http://zlib.net/ChangeLog.txt

(From OE-Core rev: 2f071e32128d8c022277c8af72dae47f60cf212b)

Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoguile: upgrade from 2.0.3 to 2.0.5
Nitin A Kamble [Tue, 1 May 2012 16:31:01 +0000 (09:31 -0700)]
guile: upgrade from 2.0.3 to 2.0.5

(From OE-Core rev: 29afcb7ad976db62f9a46abf305a47a24a99dbda)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssl: Fix build for mips64(el)
Khem Raj [Wed, 25 Apr 2012 22:43:30 +0000 (15:43 -0700)]
openssl: Fix build for mips64(el)

(From OE-Core rev: b2f89bd7bf3ae86b7db8cbef4b103d61cb68a218)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.bbclass: Implement initial toolchain sanity checks
Peter Seebach [Tue, 1 May 2012 16:20:22 +0000 (11:20 -0500)]
sanity.bbclass: Implement initial toolchain sanity checks

This introduces a sanity check for the toolchain, which verifies
each tuning (including any multilibs), producing meaningful diagnostics
for problems, and also provides some higher-level tuning features.

The TUNEVALID and TUNECONFLICT/TUNECONFLICTS settings were not
implemented.  Listed one or two missing features in TUNEVALID,
also (in a previous patch) fixed the references to
features which didn't exist.

This patch also provides a whitelisting mechanism (which is completely
unused) to allow vendors providing prebuilt toolchain components to
restrict tunings to those based on or compatible with a particular ABI.

(From OE-Core rev: 2a91ff0ba0d587c516a5a972553280364853faa4)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4-graphics-system: set graphic system in profile instead of X11 session
Otavio Salvador [Wed, 2 May 2012 01:00:01 +0000 (22:00 -0300)]
qt4-graphics-system: set graphic system in profile instead of X11 session

To allow the use of Qt applications started manually to use the
configured graphics system the setting needs to be available in user
environment. This moves the setting to /etc/profile.d ensuring it is
set and available. This allow the removal of x11-common as dependency.

(From OE-Core rev: 3804784b6200f82f5d8d6f533ce5e1a36ee2aeac)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibatomics-ops: Make it build for SH4
Khem Raj [Mon, 30 Apr 2012 22:52:57 +0000 (15:52 -0700)]
libatomics-ops: Make it build for SH4

(From OE-Core rev: 0023aa21687287754c972c5e8edd527822e4e7c0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: fix upgrade path from module-init-tools
Martin Jansa [Tue, 8 May 2012 22:53:38 +0000 (15:53 -0700)]
kmod: fix upgrade path from module-init-tools

* PROVIDES does not need _${PN}
* CONFLICTS should be RCONFLICTS
* opkg needs RREPLACES to automatically remove older module-init-tools
  instead of just reporting it conflicts with kmod

SHR root@gjama ~ $ opkg install kmod
Installing kmod (7+git02629fa02e96763db7460a930239cc93649a52f8-r0.0) to root...
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/kmod_7+git02629fa02e96763db7460a930239cc93649a52f8-r0.0_armv4t.ipk.
Removing package module-init-tools-depmod from root...
update-alternatives: removing //sbin/depmod as no more alternatives exist for it
Removing package module-init-tools from root...
update-alternatives: Linking //sbin/insmod to ../bin/busybox
update-alternatives: Linking //sbin/modprobe to ../bin/busybox
update-alternatives: Linking //sbin/rmmod to ../bin/busybox
update-alternatives: removing //sbin/modinfo as no more alternatives exist for it
update-alternatives: removing //bin/lsmod as no more alternatives exist for it
update-alternatives: Linking //sbin/lsmod to ../bin/busybox
Configuring kmod.
update-alternatives: Linking //sbin/insmod to /sbin/insmod.kmod
update-alternatives: Linking //sbin/modprobe to /sbin/modprobe.kmod
update-alternatives: Linking //sbin/rmmod to /sbin/rmmod.kmod
update-alternatives: Linking //sbin/modinfo to /sbin/modinfo.kmod
update-alternatives: Linking //bin/lsmod to /bin/lsmod.kmod
update-alternatives: Linking //sbin/lsmod to /bin/lsmod.kmod
update-alternatives: Linking //sbin/depmod to /sbin/depmod.kmod

(From OE-Core rev: 8de7f8045f28aecfe796afcdb013c557ce9d1372)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: Use base_libdir for installing libkmod
Khem Raj [Tue, 8 May 2012 22:39:28 +0000 (15:39 -0700)]
kmod: Use base_libdir for installing libkmod

This also helps avoid QA errors about binaries
accessing contents from /usr/lib

Also fixes emptry libkmod problem since now
the files are installed in expected place

(From OE-Core rev: 6b74f2461735272bd950a4f060dab6e778a36f92)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: Update to .8+ release
Khem Raj [Tue, 8 May 2012 22:39:08 +0000 (15:39 -0700)]
kmod: Update to .8+ release

(From OE-Core rev: 8dd0e28809dba8ce6d42c127041c591664c81c59)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokern-tools: fix do_patch errors
Bruce Ashfield [Wed, 9 May 2012 03:42:24 +0000 (23:42 -0400)]
kern-tools: fix do_patch errors

The linux-yocto repository and scripts can support a mode of
meta data management that merges a base meta branch to every
BSP branch. In this case, the scripts don't have to restore
a checkpoint for the meta data to be globally accessible.

The decision to restore or not is made based on whether or
not the meta branch is part of all branches or not.

The linux-yocto recipes have a sanity check to determine if
the requested SRCREV for meta data matches the head of the
meta branch (via do_validate_branches). If the wrong commit
is at the head, the meta branch is moved aside and the branch
reset to the right commit. This creates two meta branches that
contain the base meta data.

The test for integrated meta data mistakes this for a globally
merged set of meta data and doesn't restore the checkpoint, which
leads to build failures.

The immediate fix is to allow two branches to have the meta
data. The long term fix is to make the detection only consider
if the build branch contains the meta data.

(From OE-Core rev: bd794b92d12ceda2728520701e980b7a3cabd23d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: include libkmod also from libdir
Martin Jansa [Mon, 7 May 2012 21:12:43 +0000 (23:12 +0200)]
kmod: include libkmod also from libdir

* until it's decided it should be installed in base_libdir or libdir
* fixes libkmod packaging

(From OE-Core rev: 87249372b4a9951f9e4dc6acece950718382a164)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokern-tools: integrate minor fixes
Bruce Ashfield [Mon, 30 Apr 2012 04:02:17 +0000 (00:02 -0400)]
kern-tools: integrate minor fixes

Updating the SRCREV to pick up two minor fixes:

1/2:
    kgit-init: correct spelling of createme

    kgit-init copies the kern-tools scripts and intends to copy createme.

    The typo is in the usage() of updateme as well.

    (From OE-Core rev: 043871d7e5d2d19c2ff43e54d2ff180c09e8903e)

Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
2/2:
    kconf_check: fix bad quoting around missing_required.cfg

    missing_required.cfg won't have it's path truncated (if applicable), since
    the quoting it wrong.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: streamline support for multiple upstream repo types
Bruce Ashfield [Thu, 22 Mar 2012 20:00:08 +0000 (16:00 -0400)]
linux-yocto: streamline support for multiple upstream repo types

In order to support repositories of various types (with or without
meta data, branched, pristine, custom, etc) information about the
type of processing that is required was passed to the processing
phases via variables.

The combination of variables involved in coordinating the processing
creates a learning curve and overly complicates recipe extensions.

With minor tweaks to the kern-tools, adding flexibility and keying
off the existence of the meta branch it is possible to remove all
of the variables that were added to support different repository
types.

(From OE-Core rev: 06e5f45c8f38925cd5902a3a3f436f5e9451dd16)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.2: configuration and pch merge
Bruce Ashfield [Fri, 4 May 2012 14:40:34 +0000 (10:40 -0400)]
linux-yocto/3.2: configuration and pch merge

Updating the 3.2 SRCREVs to import the following meta/config
changes:

   6b3d4e0 meta: add mei feature
   519abac meta: add usb/uhci-hcd feature
   a67c5a3 meta/crownbay: use usb features
   0855066 meta: add usb/ohci-hcd feature
   15f1a99 meta: add usb/ehci-hcd feature
   8fa6408 meta: add usb/xhci-hcd feature
   c724a55 meta: add usb/base feature
   b55b3a1 sys940x: Cleanup sys940x.scc
   93f2e97 sys940x: Use PHYSICAL_START of 0x200000 to boot
   aaa034b sys940x: Add common standard and preempt-rt features
   e2b1286 sys940x: Add efi-ext to standard and preempt-rt configs
   d188c21 sys940x: Move emgd-1.10 data to the standard scc file
   72d9369 fri2: Cleanup fri2-$KTYPE.scc files re efi-ext.scc
   dbcb120 fri2: Use emgd-1.10 feature and branch

And the following driver fix:

   f39a0a9 pch_gbe: Do not abort probe on bad MAC

(From OE-Core rev: 612047a20ca400b932ccc634ddb759460d69fdce)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopango: Fix modules load failure in multilib environment
Zhai Edwin [Tue, 8 May 2012 14:43:49 +0000 (22:43 +0800)]
pango: Fix modules load failure in multilib environment

Multi-libs of Pango need different modules, thus different config files and
utils. This patch separate config file and utils with different MLPREFIX to
avoid conflict.

[YOCTO #2356] got fixed.

(From OE-Core rev: 80c431989eef64d2c34a9cddb7fb95b7b9768706)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssl: fix incorrect INC_PR
Scott Garman [Tue, 8 May 2012 14:42:45 +0000 (07:42 -0700)]
openssl: fix incorrect INC_PR

Restore INC_PR to r15 to prevent breakage with out of tree openssl
recipes (e.g, meta-oe).

(From OE-Core rev: 370b186b7c39897b868a5e3798a11a285277f145)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb-util-image: Add missing dependency on xcb-util
Richard Purdie [Fri, 4 May 2012 11:29:07 +0000 (11:29 +0000)]
xcb-util-image: Add missing dependency on xcb-util

(From OE-Core rev: 616552506708d6dbb35a716be5bdff345edf2be0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosed: Explicitly disable acl for deterministic builds
Richard Purdie [Fri, 4 May 2012 11:28:42 +0000 (11:28 +0000)]
sed: Explicitly disable acl for deterministic builds

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgdbus: delete from oe-core
Martin Jansa [Mon, 7 May 2012 20:06:04 +0000 (22:06 +0200)]
libgdbus: delete from oe-core

* as suggested here:
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-May/022071.html

(From OE-Core rev: 7da4a24fc5a781602aff20d25f4b9162e60810fc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibsoup: delete from oe-core
Martin Jansa [Mon, 7 May 2012 20:06:05 +0000 (22:06 +0200)]
libsoup: delete from oe-core

* as suggested here:
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-May/022060.html

(From OE-Core rev: 95849df48d1f3802a593d57d7917bc420cbf811a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxeyes/pong-clock: Update recipes
Richard Purdie [Tue, 8 May 2012 13:42:51 +0000 (13:42 +0000)]
xeyes/pong-clock: Update recipes

(From OE-Core rev: a1bdb86c6fcb925cef10e613dd553c766e359188)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-demoapps: Remove except for xeyes and pong-clock
Richard Purdie [Tue, 8 May 2012 13:25:59 +0000 (14:25 +0100)]
meta-demoapps: Remove except for xeyes and pong-clock

http://lists.linuxtogo.org/pipermail/openembedded-core/2012-May/022059.html

As proposed by Martin Jansa with a couple of changes from me.

(From OE-Core rev: 204ee7391c19f9b2fa7f8b2ef46d04c7ccf5bd42)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoevolution-data-server: delete old 2.20.0 version
Martin Jansa [Mon, 7 May 2012 20:06:02 +0000 (22:06 +0200)]
evolution-data-server: delete old 2.20.0 version

* evolution-data-server_git.bb provides 2.30.2 from 2010-06-20 and is default for a while

(From OE-Core rev: 3138acfe6bcd86e41900a2d5e90851e30ea44bec)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoevolution-data-server: delete unused patch parallelmake.patch
Martin Jansa [Mon, 7 May 2012 20:06:01 +0000 (22:06 +0200)]
evolution-data-server: delete unused patch parallelmake.patch

(From OE-Core rev: 557d81e4c323fb0f919b5ea466555b13d95b7584)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus-glib: bump PR to rebuild after glib upgrade
Martin Jansa [Mon, 7 May 2012 20:06:00 +0000 (22:06 +0200)]
dbus-glib: bump PR to rebuild after glib upgrade

* some apps had issues in runtime when dbus-glib wasn't rebuilt and
  reinstalled after glib upgrade, see:
  http://www.shr-project.org/trac/ticket/1980

(From OE-Core rev: af04af955b1443861a9f7e5fbf87a93546f9acd9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking: updates for upgraded recipes
Scott Garman [Mon, 7 May 2012 22:49:15 +0000 (15:49 -0700)]
distro_tracking: updates for upgraded recipes

libpng, openssl, openssh, and opensp

(From OE-Core rev: d9e67aade8dbfd6ebd6836c703f65a043510043b)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopensp: upgrade to 1.5.2
Scott Garman [Mon, 7 May 2012 22:49:14 +0000 (15:49 -0700)]
opensp: upgrade to 1.5.2

Removed all patches, they've been integrated upstream. :)

Added --disable-doc-build to prevent creation of docs, which
otherwise fails with the following configure error:

could not find xmlto; set XMLTO or consider --disable-doc-build

Removed configure_prepend step that was deleting the m4/ directory,
since some macros needed for the build are defined there, and I've
not encountered any problems with keeping them there in my testing.

(From OE-Core rev: cbd055917b04bf8fc640eee289e443230de139a2)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssh: upgrade to 6.0p1
Scott Garman [Mon, 7 May 2012 22:49:13 +0000 (15:49 -0700)]
openssh: upgrade to 6.0p1

LICENSE checksum changed due to a trivial difference in the credits
list.

(From OE-Core rev: ce1fc60b0044bccf6cf8432700d6c0b6f042dae2)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: move functions from python to shell style
Dongxiao Xu [Tue, 8 May 2012 05:28:30 +0000 (13:28 +0800)]
qt4: move functions from python to shell style

In qt4's do_configure operation, it will refer to some variables that
are derived from 'd', however these variable values may be not correct
in multilib case since the extraction of these variables happens before
the multilib handler.

The fix is to move these python style functions back to shell style.

This fixes [YOCTO #2355]

[RP: Fix whitepace]
(From OE-Core rev: 977ba301a1063a84b865ddf7367c35827fbffc86)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: Fix issues with libelf dependency creeping in
Richard Purdie [Mon, 7 May 2012 09:49:43 +0000 (09:49 +0000)]
glib-2.0: Fix issues with libelf dependency creeping in

(From OE-Core rev: 2929e7d590862d9649458c90804e79a1dce40423)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: Disable tist plugin on powerpc
Richard Purdie [Mon, 7 May 2012 09:50:03 +0000 (09:50 +0000)]
connman: Disable tist plugin on powerpc

This plugin doesn't build on powerpc due to powerpc's terminal ioctl defintions
being incompatible with assumptions being made by this module. Until someone has
need and can test this on powerpc, disabling is the safest option.

(From OE-Core rev: 672846b0262add037daa2c9e434fe09388b58da8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage.bbclass,kernel.bbclass: Use kmod-native instead of module-init-tools-cross
Khem Raj [Tue, 31 Jan 2012 08:35:02 +0000 (00:35 -0800)]
image.bbclass,kernel.bbclass: Use kmod-native instead of module-init-tools-cross

(From OE-Core rev: 74fcf61224dc3e12e753c5de793591677275dffd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomodule-init-tools: Delete
Khem Raj [Tue, 31 Jan 2012 08:34:28 +0000 (00:34 -0800)]
module-init-tools: Delete

Since its provided by kmod

(From OE-Core rev: 27bc204010b9dccb30847d7b3216f8b1e106f64e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: disable man pages generation because we don't have working xsltproc
Martin Jansa [Fri, 24 Feb 2012 06:53:00 +0000 (06:53 +0000)]
kmod: disable man pages generation because we don't have working xsltproc

(From OE-Core rev: 7d782a6ef77072d7f0fe50d8208c24c9e9ea9507)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: Add recipes
Khem Raj [Tue, 31 Jan 2012 08:34:01 +0000 (00:34 -0800)]
kmod: Add recipes

kmod is replacement for module-init-tools

(From OE-Core rev: 716606f5446534e48b45fcc017e8bbdfe7f15e26)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibsoup: Fix for glib-2.0 2.32.2
Saul Wold [Sat, 5 May 2012 00:56:16 +0000 (17:56 -0700)]
libsoup: Fix for glib-2.0 2.32.2

(From OE-Core rev: d3efcf15cee6734b4bf2277346ceba9a991fbd0f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgdbus: Fix for glib-2.0 2.32.2
Saul Wold [Sat, 5 May 2012 00:33:47 +0000 (17:33 -0700)]
libgdbus: Fix for glib-2.0 2.32.2

(From OE-Core rev: 0e33eade3fec1d9df052332d37d266405467a354)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoevolution-data-server: enable deprecated glib API
Martin Jansa [Sun, 6 May 2012 07:28:23 +0000 (09:28 +0200)]
evolution-data-server: enable deprecated glib API

* we have very old version and deprecated g_atexit is used even in current master
  http://git.gnome.org/browse/evolution-data-server/log/libedataserver/e-categories.c

(From OE-Core rev: 155ea975f5e0287f9ed49413785d1948c56601a5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibsoup-2.4: upgrade to 2.38.1
Martin Jansa [Sat, 28 Apr 2012 16:38:06 +0000 (18:38 +0200)]
libsoup-2.4: upgrade to 2.38.1

* newer webkit-efl needs 2.37.4 or newer

(From OE-Core rev: 271c3afd8b72e321981b193be6deb968027e6149)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogobject-introspection: upgrade to 1.32.1
Martin Jansa [Sat, 28 Apr 2012 16:35:22 +0000 (18:35 +0200)]
gobject-introspection: upgrade to 1.32.1

* simplify SRC_URI
* add COPYING to LIC_FILES_CHKSUM

(From OE-Core rev: 117cb418dedd35afce35598fd68a18721db6e9c9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: upgrade to 2.32.2
Martin Jansa [Wed, 2 May 2012 13:59:46 +0000 (15:59 +0200)]
glib-2.0: upgrade to 2.32.2

(From OE-Core rev: 82551379ddd5440f3cdbbe2f7028e2af050e5788)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: upgrade to 2.32.1
Martin Jansa [Sat, 28 Apr 2012 16:31:07 +0000 (18:31 +0200)]
glib-2.0: upgrade to 2.32.1

* g_once_init_enter.patch shouldn't be needed after upstream commit
  794c1a30bc27b4c8d77537813acb1213d5ac80f2

* LIC_FILES_CHKSUM change is only because PCRE was upgraded and now
  pcre.h says "Copyright (c) 1997-2012 University of Cambridge" instead
  of 2010 and COPYING file
  "Please see the file LICENCE in the PCRE distribution for licensing
  details."  but LICENSE file is not part of glib distribution (but still
  BSD in standalone PCRE)

(From OE-Core rev: 231a3e046900f8fae2e0aa4fe5f2bee4c290b0b0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosite/arm-common: alignment values for guin32, guin64 and unsigned long
Tomas Frydrych [Wed, 25 Apr 2012 12:41:13 +0000 (13:41 +0100)]
site/arm-common: alignment values for guin32, guin64 and unsigned long

These are required to build recent versions of glib-2.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosite/powerpc-common: alignment values for guin32, guin64 and unsigned long
Saul Wold [Sat, 5 May 2012 23:18:21 +0000 (16:18 -0700)]
site/powerpc-common: alignment values for guin32, guin64 and unsigned long

    These are required to build recent versions of glib-2.0

(From OE-Core rev: e9fd8e3d01091aebbc4b3584d9febc695836e4c3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosite/mips-common: alignment values for guin32, guin64 and unsigned long
Saul Wold [Sat, 5 May 2012 20:22:48 +0000 (13:22 -0700)]
site/mips-common: alignment values for guin32, guin64 and unsigned long

    These are required to build recent versions of glib-2.0

(From OE-Core rev: 8fa607c1430674bee1f1f80d33f8939d7f0b1100)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Clear the building status if command failed
Dongxiao Xu [Mon, 7 May 2012 06:08:35 +0000 (14:08 +0800)]
Hob: Clear the building status if command failed

We may meet certain command failure during build time, for example,
out of memory. In this case, we need to clear the "building" status.

This fixes [YOCTO #2371]

(Bitbake rev: 283dbbbf5d34adb4c9e3aa87e3925fdebe21ff42)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/tests/fetch: Add simple http fetcher tests
Richard Purdie [Fri, 4 May 2012 17:28:21 +0000 (18:28 +0100)]
bitbake/tests/fetch: Add simple http fetcher tests

(Bitbake rev: 27b89561781f19fd95308433bec06fa8b7b354e8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/fetch2/wget: Add fallback/default wget commands
Richard Purdie [Fri, 4 May 2012 17:27:31 +0000 (18:27 +0100)]
bitbake/fetch2/wget: Add fallback/default wget commands

(Bitbake rev: 9586808572d06de4127f6a524e87e9ad75232423)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/fetch2/wget: Remove unneeded function indirection and reindent
Richard Purdie [Fri, 4 May 2012 17:26:40 +0000 (18:26 +0100)]
bitbake/fetch2/wget: Remove unneeded function indirection and reindent

(Bitbake rev: 769b92b14a1dfbbf697b8f4bf9a5a828807fd885)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/fetch2/wget: Remove unnecessary use of OVERRIDES
Richard Purdie [Fri, 4 May 2012 17:26:00 +0000 (18:26 +0100)]
bitbake/fetch2/wget: Remove unnecessary use of OVERRIDES

This allows some simplifications of the function and is slightly faster.

(Bitbake rev: 5999dc9985ad087c036611bfaa59b090a08781a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/fetch2: When unpacking, only use PATH variable if its set
Richard Purdie [Fri, 4 May 2012 17:25:13 +0000 (18:25 +0100)]
bitbake/fetch2: When unpacking, only use PATH variable if its set

(Bitbake rev: ffec38675c0d78ee9fcd1d8f5a746d162145554e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/fetch2: Remove WORKDIR reference, should use passed parameter
Richard Purdie [Fri, 4 May 2012 17:24:32 +0000 (18:24 +0100)]
bitbake/fetch2: Remove WORKDIR reference, should use passed parameter

(Bitbake rev: 9384dfaf644365c731be26572443287ce8f190b2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-bsp: clarify help with reference to meta-intel
Tom Zanussi [Mon, 30 Apr 2012 19:12:15 +0000 (14:12 -0500)]
yocto-bsp: clarify help with reference to meta-intel

The current yocto-bsp help assumes knowledge that the meta-intel layer
needs to be cloned before it's put into the BBLAYERS.  Avoid the
guesswork and state the details explicitly in the help.

Also, the shorter 'usage' string doesn't mention it at all; it would
help to at minimum mention it and refer the user to the detailed help.

Fixes [YOCTO #2330].

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-kernel: use BUILDDIR to find bblayers.conf
Tom Zanussi [Mon, 30 Apr 2012 19:12:14 +0000 (14:12 -0500)]
yocto-kernel: use BUILDDIR to find bblayers.conf

The current code assumes that builddir == srcdir/build, which it
obviously isn't sometimes.  Use BUILDDIR to get the actual builddir
being used.

Fixes [YOCTO #2219].

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitrdscripts: Update install.sh to work with mmc devices
Darren Hart [Wed, 2 May 2012 04:14:18 +0000 (21:14 -0700)]
initrdscripts: Update install.sh to work with mmc devices

Fixes [YOCTO #2385]

The installer only searches for hd[ab] sd[ab]. Some newer BSPs have mmcblk
devices that should be used as the install target. These devices also have a
partition prefix (mmcblk0p1 instead of mmcblk01). As they are detected
asynchronously, it is necessary to add the rootwait kernel parameter to avoid
a race condition trying to mount the root device.

As BSPs like the FRI2 and the sys940x have mmc devices and will have a 1.2
release, we should push this to 1.2.1. The changes are perfectly contained and
easily verified.

Test for an mmcblk device and add the p partition prefix if necessary. Add the
rootwait kernel parameter when an mmcblk device is detected.  Replace the series
of explicit umount commands with a single umount using a wildcard. This will
find all the partitions and will not try to unmount non-existant devices. Avoid
copy and paste errors by replacing /dev/${device}${pX} references with the
previously assigned rootfs, bootfs, and swap variables.

These changes have been tested on the FRI2 Sato image which installed to
/dev/mmcblk0 as well as the N450 Sato image which installed to /dev/sda. Both
were successful.

(From OE-Core rev: bf403680d72e360c7382f540ea25cfdcbe77b4e5)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: be sh neutral
Bernhard Reutner-Fischer [Thu, 3 May 2012 17:12:34 +0000 (19:12 +0200)]
runqemu: be sh neutral

Now runs with dash and busybox' ash as well as with bash

(From OE-Core rev: 2b93ed90736ed08c25561e24343a5ef2b8f7dbef)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: minor tweaks
Bernhard Reutner-Fischer [Thu, 3 May 2012 17:12:33 +0000 (19:12 +0200)]
runqemu: minor tweaks

(From OE-Core rev: cda565317eefbac1b7fb268d3d8720ebae8057fa)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: add and use error()
Bernhard Reutner-Fischer [Thu, 3 May 2012 17:12:32 +0000 (19:12 +0200)]
runqemu: add and use error()

(From OE-Core rev: d77186606efdbb03fd92e7ee9e9ee2f9be601ba5)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: simplify process_filename()
Bernhard Reutner-Fischer [Thu, 3 May 2012 17:12:31 +0000 (19:12 +0200)]
runqemu: simplify process_filename()

(From OE-Core rev: 042efbe653b699bd33175117e1363d87e4602e4f)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>