scm/bb/tizen-distro.git
12 years agoiptables: fix build error against 3.2+ kernel headers
Bruce Ashfield [Fri, 23 Mar 2012 18:36:04 +0000 (14:36 -0400)]
iptables: fix build error against 3.2+ kernel headers

The iptables local linux/types.h overrides the kernel/sysroot
types.h. As such, we need to provide some defines that are required
to build against 3.2+ kernel headers.

ifndef protection is provided for the defines to ensure that
configuration that already have these defines are still buildable.

This commit is temporary until a new version of iptables can be
used that contains the defines.

(From OE-Core rev: 1642f519bb30b3ebcfb6170cdbbc0e327d057012)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotaglib: Refresh patch after recent accidental breakage
Richard Purdie [Fri, 23 Mar 2012 18:29:29 +0000 (18:29 +0000)]
taglib: Refresh patch after recent accidental breakage

(From OE-Core rev: 7ad7c837bac0cd086098be0d7cdf5cd8388a8696)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibzypp: Fix buiild with gcc 4.7
Khem Raj [Fri, 23 Mar 2012 15:37:50 +0000 (08:37 -0700)]
libzypp: Fix buiild with gcc 4.7

it needs protype of close() before using it

(From OE-Core rev: 046a236bf0e6005ccc8af7c1449a4fa2e1e9e91c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: don't create /etc/modutils/*
Martin Jansa [Fri, 23 Mar 2012 12:56:31 +0000 (13:56 +0100)]
kernel.bbclass: don't create /etc/modutils/*

* update-modules was updated to read /etc/modules-load.d/*.conf

(From OE-Core rev: 60f144d336b5c344e7004d3cbf4d0c3fc9e1a1f2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoupdate-modules: update script to read /etc/modules-load.d/ directory
Martin Jansa [Fri, 23 Mar 2012 14:37:23 +0000 (15:37 +0100)]
update-modules: update script to read /etc/modules-load.d/ directory

* show warning for old /etc/modutils/* files without .conf extension
* v2: keep adding modules also from old /etc/modutils/* after showing
  warning, this way update-modules will be backward compatible also on
  images without kernel upgrade

(From OE-Core rev: 38302a1353cf072b7c6c54f7f90936e4c2180102)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: fix extra + in kernelrelease
Martin Jansa [Fri, 23 Mar 2012 12:56:29 +0000 (13:56 +0100)]
kernel.bbclass: fix extra + in kernelrelease

* see http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/014308.html

(From OE-Core rev: 56fe5300ab5ab072c20acd03d7fc26e9cae4e652)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: use better number for KERNEL_PRIORITY
Martin Jansa [Fri, 23 Mar 2012 12:56:28 +0000 (13:56 +0100)]
kernel.bbclass: use better number for KERNEL_PRIORITY

* there is no upgrade from 2.6.X to 3.X.Y
  last part of PV is used as kernel priority for u-a, but X is usually
  higher then Y in 3.x.x so use all 3 parts in one bigger number
* and make it weak assignment if this scheme doesn't work for some
  recipe
* if there are just 2 numbers in PV then last one is repeated twice
  (see linux-openmoko_3.2 example) but that should work fine too

  OE qemux86-64@ ~/oe-core $ grep ^KERNEL_PRIO linux-yocto_*
  linux-yocto_2.6.37.e:KERNEL_PRIORITY="20637"
  linux-yocto_3.0.e:KERNEL_PRIORITY="30024"
  linux-yocto_3.2.e:KERNEL_PRIORITY="30211"
  OE qemux86-64@ ~/oe-core $ grep ^PV linux-yocto_*
  linux-yocto_2.6.37.e:PV="2.6.37+git1+aeea99683c7283f1f3320bf2ee7085ee252d4e7e_1+af2bfbe5f757361b5b027a24d67a93bfdfaaf33c"
  linux-yocto_3.0.e:PV="3.0.24+git2+a4ac64fe873f08ef718e2849b88914725dc99c1c_2+aac580659dc0ce083f250fb05abf82e58d7f4531"
  linux-yocto_3.2.e:PV="3.2.11+git2+514847185c78c07f52e02750fbe0a03ca3a31d8f_2+4ca7e2c5d42e755e1b4c3e1478128f047a8ed2a8"

  OE qemux86-64@ ~/shr-core $ grep ^KERNEL_PRIO linux-openmoko_*
  linux-openmoko_2.6.39.e:KERNEL_PRIORITY="20639"
  linux-openmoko_3.2.e:KERNEL_PRIORITY="30202"
  linux-openmoko_git.e:KERNEL_PRIORITY="30299"
  OE qemux86-64@ ~/shr-core $ grep ^PV linux-openmoko_*
  linux-openmoko_2.6.39.e:PV="2.6.39"
  linux-openmoko_3.2.e:PV="3.2"
  linux-openmoko_git.e:PV="3.2.99+3.3.0-rc0+gitr1+7089727d63b17615fb0a652374d79cb7df0835ad"

(From OE-Core rev: 00999468341efdca1e884594dbfe25a73149e675)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: use symlinks for modutils files
Martin Jansa [Fri, 23 Mar 2012 12:56:27 +0000 (13:56 +0100)]
kernel.bbclass: use symlinks for modutils files

(From OE-Core rev: d5d1508f25299ab215799d85f2ac4b31de69abf6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: populate /etc/modules-load.d/ with module_autoload entries too
Martin Jansa [Fri, 23 Mar 2012 12:56:26 +0000 (13:56 +0100)]
kernel.bbclass: populate /etc/modules-load.d/ with module_autoload entries too

* /etc/modules-load.d/foo.conf is used by systemd like /etc/modutils/foo was with sysvinit

(From OE-Core rev: 1487af02b92278dec2eb539377cc29bb1b404153)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoprocps: use update-alternatives for pwdx, pgrep and watch
Andreas Oberritter [Fri, 23 Mar 2012 16:37:36 +0000 (17:37 +0100)]
procps: use update-alternatives for pwdx, pgrep and watch

* pwdx, pgrep and watch may be provided by busybox.
* Use update-alternatives to avoid conflict.

(From OE-Core rev: 68dc2a3fa30c03a196d650de34d0c657a7b85454)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysvinit: use update-alternatives for mountpoint and runlevel
Andreas Oberritter [Fri, 23 Mar 2012 16:37:38 +0000 (17:37 +0100)]
sysvinit: use update-alternatives for mountpoint and runlevel

* mountpoint and runlevel may be provided by busybox.
* Use update-alternatives to avoid conflict.

(From OE-Core rev: 3122da7cb2cbaf2f79c299acd5d2070caf07ec56)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoppp: drop unneeded pkg-postinst
Andreas Oberritter [Fri, 23 Mar 2012 16:37:39 +0000 (17:37 +0100)]
ppp: drop unneeded pkg-postinst

* pkg-postinst was used to make pppd setuid root, which
  can now be done in do_install() instead.

(From OE-Core rev: bc5d5457ab2d7191db343cfcb2bf3a5c8cd24a93)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-libc-headers-yocto: remove from oe-core
Bruce Ashfield [Fri, 23 Mar 2012 17:07:48 +0000 (13:07 -0400)]
linux-libc-headers-yocto: remove from oe-core

The linux-libc-headers-yocto is not required in oe-core, it can be
moved to yocto specific layers. The linux-libc-headers_* recipes
provide sufficient headers fore core users.

(From OE-Core rev: 6320041fa77514e2d2bf54f0ea6c7052d2a4a89a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-libc-headers: set default LINUXLIBCVERSION to 3.2
Bruce Ashfield [Fri, 23 Mar 2012 17:07:47 +0000 (13:07 -0400)]
linux-libc-headers: set default LINUXLIBCVERSION to 3.2

Switch the default libc-headers to the 3.2 version.

(From OE-Core rev: fc2f1581d98fccf931cb98a63ee801a444110ce4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-libc-headers: add 3.2 headers and remove 3.1
Bruce Ashfield [Fri, 23 Mar 2012 17:07:46 +0000 (13:07 -0400)]
linux-libc-headers: add 3.2 headers and remove 3.1

The 3.1 kernel was never released or directly supported via
oe-core. So as part of update the libc-headers to 3.2 we can
take the opportunity to remove it.

Built and booted on the qemu* targets.

(From OE-Core rev: ce7469ab3b49f8a326ba4c3486a4e63b7cd48799)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Add XAUTHORITY into config white list
Dongxiao Xu [Fri, 23 Mar 2012 15:08:30 +0000 (23:08 +0800)]
bitbake.conf: Add XAUTHORITY into config white list

(From OE-Core rev: 257b9e015c549974e5880738bec7e97933e1834f)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: remove a target dependency
Gary Thomas [Fri, 23 Mar 2012 15:27:07 +0000 (09:27 -0600)]
python: remove a target dependency

The target dependency DEPENDS_sharprom does not belong in this
core recipe and should be moved to a .bbappend file in the appropriate
layer if still required.

(From OE-Core rev: c82a4b2759cc54b8afa65d545e894d1ac60107fe)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change the descriptions for view_recipe_button and view_package_button
Shane Wang [Fri, 23 Mar 2012 11:21:25 +0000 (19:21 +0800)]
Hob: Change the descriptions for view_recipe_button and view_package_button

Change the text of view_recipe_button to 'Add/remove recipes and tasks'
Change the text of view_packages_button to 'Add/remove previously built packages'

[Yocto #2146]

(Bitbake rev: 0348ef08db9ac425d83126d2e6eb465adc28b110)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: add auto scroll to rows which be new appended in hob building log page
Liming An [Thu, 22 Mar 2012 11:08:40 +0000 (19:08 +0800)]
Hob: add auto scroll to rows which be new appended in hob building log page

For make the building screen to provide clear information about task in progress by request, so add this function.

At the beginning of building, the vertical scroll bar will go to the active area automatically.
Once the user moves the scroll bar in the middle, the automatic move of the bar is disabled.
However, once the user moves it to the bottom again, it will be kept to the bottom even though more logs come.

[Yocto #2098]

(Bitbake rev: cf43be6685d45c66e6508bbce653f8a67db66a9b)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: reset the policy to forbid the horizontal scrolling for building log
Liming An [Thu, 22 Mar 2012 11:03:35 +0000 (19:03 +0800)]
Hob: reset the policy to forbid the horizontal scrolling for building log

This patch is not to show the horizontal scroll bar for building log, and add CellRendererText class to wrap the text.

[Yocto #2091]

(Bitbake rev: 7c5e1297c1af2edd46315e3dec4516f850d5e222)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/builder: change dialogue title to Layers
Joshua Lock [Thu, 22 Mar 2012 23:13:08 +0000 (16:13 -0700)]
lib/bb/ui/crumbs/builder: change dialogue title to Layers

(Bitbake rev: 03e645cda56e9f8cf1fa94775534369b77518767)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: make use of HobButton for existing primary action buttons
Joshua Lock [Thu, 22 Mar 2012 23:06:42 +0000 (16:06 -0700)]
lib/bb/ui/crumbs: make use of HobButton for existing primary action buttons

Replace all gtk.Button instances that have the orange style applied with
HobButton.

(Bitbake rev: f4dfdc23a6498fdaa164a1bfccf616ff8fcbd251)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/hobwidget: add HobButton widget for the primary action
Joshua Lock [Thu, 22 Mar 2012 23:05:42 +0000 (16:05 -0700)]
lib/bb/ui/crumbs/hobwidget: add HobButton widget for the primary action

The design uses a big, bold labelled, orange button for the primary action
on each dialogue. The HobButton implements this design as a reusable widget.

HobButton makes use of Pango Markup to use a relative size, x-large, for
the button text to ensure it's relative to the system configured font
sizes.

(Bitbake rev: 9aa477f7bd16d3e360bf9b51c1f9d5032a6c5288)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: fix 'Back to image configuration' alt button text
Joshua Lock [Thu, 22 Mar 2012 23:02:56 +0000 (16:02 -0700)]
lib/bb/ui/crumbs: fix 'Back to image configuration' alt button text

Design calls for these buttons to include << at the beginning of the label

(Bitbake rev: 08cc5ec196a51c29f936eccba1644607be2ed759)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: add colour for HobAltButton per visual design
Joshua Lock [Thu, 22 Mar 2012 23:02:00 +0000 (16:02 -0700)]
lib/bb/ui/crumbs: add colour for HobAltButton per visual design

The visual design calls for the alternative button to have a pale blue
colour.

(Bitbake rev: c9f61765216a013c7ebc02157ea47c3478252e7c)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/hig: tweak 'Add Layer' button per visual design
Joshua Lock [Thu, 22 Mar 2012 23:00:29 +0000 (16:00 -0700)]
lib/bb/ui/crumbs/hig: tweak 'Add Layer' button per visual design

Use a separate, pre-lit, icon when the button has the cursor over it.

(Bitbake rev: 535d23921dfb7310022099d39b1092edfee51c1a)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/builder: only show a close button on the Layer Selector
Joshua Lock [Thu, 22 Mar 2012 22:56:30 +0000 (15:56 -0700)]
lib/bb/ui/crumbs/builder: only show a close button on the Layer Selector

Per discussion with the design team the LayerSelectionDialog should only
have a close button.

See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2083#c10

(Bitbake rev: 65d92efe2786f21b8a2790ef0383f87b6dc15b57)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: replace HobXpmLabelButtonBox with HobImageButton
Joshua Lock [Thu, 22 Mar 2012 22:54:37 +0000 (15:54 -0700)]
lib/bb/ui/crumbs: replace HobXpmLabelButtonBox with HobImageButton

HobImageButton is an gtk.Button subclass, and therefore behaves like a
button with prelight and focus states, with an icon and two lines of text -
primary and secondary. The secondary text is displayed in a lighter colour
using a new module method, soften_color(), per the design.

(Bitbake rev: b91cc96c4ff4195ac26fdfd1fb0c2ff8db06aff8)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/icons: add new icons for use in Hob, autocrop some existing ones
Joshua Lock [Thu, 22 Mar 2012 20:21:50 +0000 (13:21 -0700)]
lib/bb/ui/icons: add new icons for use in Hob, autocrop some existing ones

Add add-hover and remove-hover icons for the Layer Selection Dialogue.
Autocrop layers_hover, packages_hover and recipe_hover images.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
12 years agobitbake/fetch2: Ensure mirror tarballs have .done stamps so we don't redownload and...
Richard Purdie [Fri, 23 Mar 2012 14:52:23 +0000 (14:52 +0000)]
bitbake/fetch2: Ensure mirror tarballs have .done stamps so we don't redownload and corrupt them

[YOCTO #2154]

(Bitbake rev: 521d6b14151d3bf934b9597557f7ae46e50a3d7a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb-cross-canadian: Fix linking issues when python support is enabled
Khem Raj [Fri, 23 Mar 2012 12:50:41 +0000 (05:50 -0700)]
gdb-cross-canadian: Fix linking issues when python support is enabled

gdb-cross-canadian was linking with static version of libpython
and looking for build host python when run. This could be mismatch
between python-nativesdk and build host provided python. So we
make it consistent to always use python-nativesdk

Instead of adding bunch of -L we add -rpath and -rpath-link
so that gdb finds all needed libraries in SDK and does not
reach out into host

This should fix yocto PR# 2077 as well.

(From OE-Core rev: d56177c59b5e237a501281d806724885456f0193)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRevert "bitbake.conf/sstate.bbclass: Change PATH when installing sstate files to...
Richard Purdie [Fri, 23 Mar 2012 12:29:21 +0000 (12:29 +0000)]
Revert "bitbake.conf/sstate.bbclass: Change PATH when installing sstate files to avoid issues"

Reluctantly revert this since it breaks the tar-native workaround we have
for old versions of tar :(

This reverts commit 01218e29f963120c77885964702198d9bce77e11.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopigz: Add update-alternatives support since this otherwise conflicts with busybox...
Richard Purdie [Wed, 21 Mar 2012 14:29:49 +0000 (14:29 +0000)]
pigz: Add update-alternatives support since this otherwise conflicts with busybox/gzip

(From OE-Core rev: 8903327ff483cd3dbde8cf692be2092462265188)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomirrors.bbclass: remove dead kernel.org mirrors
Andreas Oberritter [Wed, 21 Mar 2012 15:55:21 +0000 (16:55 +0100)]
mirrors.bbclass: remove dead kernel.org mirrors

* ftp.{us,uk,hk,au,jp}.kernel.org don't have DNS A records.

(From OE-Core rev: c74af4b29179fa1e6c59672803f5d69f74976dbe)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Remove possibility of file corruption and make package writing atomic
Richard Purdie [Thu, 22 Mar 2012 22:47:24 +0000 (22:47 +0000)]
sstate.bbclass: Remove possibility of file corruption and make package writing atomic

There is currently a race window when creating sstate packages since we don't
atomically write the files to SSTATE_DIR. This change ensures we do so by writing
to a temporary file and then doing an atomic move.

(From OE-Core rev: 52bf113e786a57123a9da98f64442afbc2f1471e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugins: remove obsolete orcc hack
Andreas Oberritter [Thu, 22 Mar 2012 18:20:45 +0000 (19:20 +0100)]
gst-plugins: remove obsolete orcc hack

* The sed script replacing ${bindir}/orcc with
  ${STAGING_BINDIR_NATIVE}/orcc causes orcc to not be found.
  It may have been a workaround for older versions of pkg-config
  or older gst-plugins. Removing it makes gst-plugins use
  orcc from 'orc-native' successfully, if available.

(From OE-Core rev: a5e2277c53a8345a096eee8ccd9622838574a240)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/combo-layer: handle diffs in commit messages
Paul Eggleton [Thu, 22 Mar 2012 17:15:05 +0000 (17:15 +0000)]
scripts/combo-layer: handle diffs in commit messages

A few recent commits in the OE-Core repository contain diffs in their
commit messages, which totally confuses git-am when applying them to the
combo repository during update. Add some code to detect and indent any
diff text in the commit message so that this does not happen (and show a
warning).

(From OE-Core rev: 6e70c95dc69be6708c3bc231cc2a99eac1360815)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/combo-layer: limit component repo dirty check
Paul Eggleton [Thu, 22 Mar 2012 17:15:04 +0000 (17:15 +0000)]
scripts/combo-layer: limit component repo dirty check

If one or more components are specified for update, only check if their
repository/repositories are dirty rather than checking all of the
configured repositories.

(From OE-Core rev: b03e710c88ad0c66cf731647f26e8441d0074cae)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopixman: disable iwmmxt
Khem Raj [Fri, 23 Mar 2012 02:56:58 +0000 (19:56 -0700)]
pixman: disable iwmmxt

Pixman build system is borked and always wants iwmmxt intrinsics
it errors like below

| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_wand'
| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_wsrlhi'
| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_walign'

(From OE-Core rev: 413449897eed0b7382ae52d59b5e289958220ad5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouseradd.bbclass: retry useradd/groupadd commands to avoid lock race issues
Scott Garman [Fri, 23 Mar 2012 04:43:42 +0000 (21:43 -0700)]
useradd.bbclass: retry useradd/groupadd commands to avoid lock race issues

A race condition can occur when adding users and groups to the
passwd and group files, causing errors like the following:

 ERROR: Function 'useradd_sysroot' failed
 Tried to access "/etc/group" but this was locked.

This fix will cause the useradd code to retry the useradd and
groupadd commands up to 10 times (with a 1s sleep in between
attempts) before failing.

This fixes [YOCTO #1794]

(From OE-Core rev: 68c589f1b5ee36f0aff151b728447ffdae14622c)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm.bbclass: ensure base-passwd and shadow get installed first
Scott Garman [Fri, 23 Mar 2012 04:43:41 +0000 (21:43 -0700)]
package_rpm.bbclass: ensure base-passwd and shadow get installed first

When generating images, we need to make sure that base-passwd and
shadow get installed before other packages, which might need to create
custom user accounts.

Thanks to Richard Purdie for the initial version of this fix.

This fixes [YOCTO #2127]

(From OE-Core rev: 3d2d3cb379608301b17ce57787d324c2f06bf4f9)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcc: corrected -nativesdk package namings.
Lianhao Lu [Fri, 23 Mar 2012 04:31:52 +0000 (12:31 +0800)]
libgcc: corrected -nativesdk package namings.

1. Corrected the -nativesdk package namings.

2. Fixed package QA warnings:
WARNING: QA Issue: non -staticdev package contains static .a library:
libgcc-nativesdk-dev path
'/work/x86_64-nativesdk-pokysdk-linux/libgcc-nativesdk-4.6.3+svnr184847-r23/packages-split/libgcc-nativesdk-dev/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/x86_64-pokysdk-linux/4.6.4/libgcc.a'
WARNING: QA Issue: non -staticdev package contains static .a library:
libgcc-nativesdk-dev path
'/work/x86_64-nativesdk-pokysdk-linux/libgcc-nativesdk-4.6.3+svnr184847-r23/packages-split/libgcc-nativesdk-dev/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/x86_64-pokysdk-linux/4.6.4/libgcc_eh.a'

(From OE-Core rev: aff0373d8bfb7e9ea600fcc558433387818c520a)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonativesdk/misc: set PKGSUFFIX for correct variable name expansion.
Lianhao Lu [Fri, 23 Mar 2012 04:31:51 +0000 (12:31 +0800)]
nativesdk/misc: set PKGSUFFIX for correct variable name expansion.

Set PKGSUFFIX in nativesdk.bbclass for correct variable name expansion.
This would fix bunch of "not shipped" packaging warnings in "-nativesdk"
recipes. And also bumping the corresponding PR.

(From OE-Core rev: c69268305e6f814800b64f3a4be724c40b41108c)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoncurses: ship clear/reset in package.
Lianhao Lu [Fri, 23 Mar 2012 04:31:50 +0000 (12:31 +0800)]
ncurses: ship clear/reset in package.

Fixed not shipped packaging warnings.

WARNING: For recipe ncurses-nativesdk, the following files/directories
were installed but not shipped in any package:
WARNING:
/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/reset
WARNING:
/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/clear

(From OE-Core rev: c09a2058f6b2f24ab2ae9c5ea357111dd82af39e)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb-cross-canadian: not shipping libiberty.
Lianhao Lu [Fri, 23 Mar 2012 04:31:49 +0000 (12:31 +0800)]
gdb-cross-canadian: not shipping libiberty.

Fixed package QA warnings.

WARNING: QA Issue: non -staticdev package contains static .a library:
gdb-cross-canadian-i586 path
'/work/x86_64-nativesdk-pokysdk-linux/gdb-cross-canadian-i586-7.4-r6.3/packages-split/gdb-cross-canadian-i586/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/lib/libiberty.a'

(From OE-Core rev: 231cdeec05f82a8b16141098ca9ca6df41ebe396)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: package the var/pseudo directory.
Lianhao Lu [Fri, 23 Mar 2012 04:31:48 +0000 (12:31 +0800)]
pseudo: package the var/pseudo directory.

Fixed the "not shipped" packaging warnings.

WARNING: For recipe pseudo-nativesdk, the following files/directories
were installed but not shipped in any package:
WARNING:   /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/var
WARNING:
/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/var/pseudo

(From OE-Core rev: 91f6d5777e4fc9f261c361f41eda397a4903b334)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-toolchain: Popluated the libc siteconfig files.
Lianhao Lu [Fri, 23 Mar 2012 08:33:05 +0000 (16:33 +0800)]
meta-toolchain: Popluated the libc siteconfig files.

Fixed bug [YOCTO #2159] by correctly populate the libc's siteconfig
files.

(From OE-Core rev: eeee4b8c097e60070e4654a223b41fea0c96a12b)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Fix icon paths that were mismerged
Richard Purdie [Fri, 23 Mar 2012 11:28:02 +0000 (11:28 +0000)]
bitbake: Fix icon paths that were mismerged

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugins-bluetooth: Don't install headers, man pages or .pc files
Richard Purdie [Thu, 22 Mar 2012 22:01:53 +0000 (22:01 +0000)]
gst-plugins-bluetooth: Don't install headers, man pages or .pc files

We were seeing weird autobuilder failures where the bluetooth headers could disappear.
The reason why is that this recipe was conflicting with them. bluez4 should be handling
them and the plugin shouldn't be installing them so lets not.

(From OE-Core rev: b92aaf764e6de94fb9fdee610e8f6643ccf74894)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-kernel: new script
Tom Zanussi [Tue, 24 Jan 2012 06:32:01 +0000 (00:32 -0600)]
yocto-kernel: new script

Implementation of the 'yocto-kernel' command-line tool, for modifying
the kernel portion of a Yocto BSP.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp: new script
Tom Zanussi [Tue, 24 Jan 2012 06:30:21 +0000 (00:30 -0600)]
yocto-bsp: new script

Implementation of the 'yocto-bsp' command-line tool, for creating BSPs
and listing BSP properties.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp: add some useful constants
Tom Zanussi [Tue, 24 Jan 2012 06:29:02 +0000 (00:29 -0600)]
yocto-bsp: add some useful constants

Some constants used by the templating engine.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp-tools: add help/usage
Tom Zanussi [Tue, 24 Jan 2012 06:26:56 +0000 (00:26 -0600)]
yocto-bsp-tools: add help/usage

This is essentially 'the documentation' for the Yocto BSP tools, along
with a few related functions.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp: add kernel interface
Tom Zanussi [Tue, 24 Jan 2012 06:25:45 +0000 (00:25 -0600)]
yocto-bsp: add kernel interface

Yocto BSP kernel-related functions, for interacting with the kernel
tools and implementing the machinery behind the 'yocto-kernel'
command.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp: add templating engine
Tom Zanussi [Tue, 24 Jan 2012 06:20:15 +0000 (00:20 -0600)]
yocto-bsp: add templating engine

The main implementation of the Yocto BSP templating engine,
essentially containing the internal implementation of the 'yocto-bsp
create' and yocto-bsp list' commands.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp-tools: add bsp library
Tom Zanussi [Tue, 24 Jan 2012 06:18:54 +0000 (00:18 -0600)]
yocto-bsp-tools: add bsp library

Create a home for the yocto bsp tools.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp: add BSP template files
Tom Zanussi [Tue, 24 Jan 2012 06:15:25 +0000 (00:15 -0600)]
yocto-bsp: add BSP template files

BSP template files for all supported Yocto architectures, plus qemu
versions of the same.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoddimage: Add script for writing images to boot media
Darren Hart [Tue, 13 Mar 2012 19:02:51 +0000 (12:02 -0700)]
ddimage: Add script for writing images to boot media

Fixes [YOCTO #1806]

Standard practice is to use the Linux "dd" command to write images to boot
media. This can be error prone and the results of sloppy usage can be
disastrous. Locating the device you want to use is a clumsy process, especially
on a headless build system.

The ddimage script does the following:

o Check the image and device exist
o Check the device is writable
o Compare the device to a blacklist and abort if it's listed
  Blacklist defaults to "/dev/sda"
o Display useful identifying information about the image and device
o Prompt the user before commencing the write

The output looks something like this:

$ sudo ~/bin/ddimage tmp/deploy/images/core-image-sato-fri2-noemgd.hddimg /dev/sdk
Image details
=============
    image: `tmp/deploy/images/core-image-sato-fri2-noemgd.hddimg' -> `core-image-sato-fri2-noemgd-20111202214038.hddimg'
     size: 318568448 bytes
 modified: 2011-12-02 13:45:05.298897861 -0800
     type: x86 boot sector, code offset 0x58, OEM-ID "SYSLINUX", sectors/cluster 16, root entries 512, Media descriptor 0xf8, sectors/FAT 152, heads 64, hidden sectors 32, sectors 622204 (volumes > 32 MB) , serial number 0x4ed946e0, label: "boot       ", FAT (16 bit)

Device details
==============
  device: /dev/sdk
  vendor: Kingston
   model: DT 101 G2

Write tmp/deploy/images/core-image-sato-fri2-noemgd.hddimg to /dev/sdk [y/N]? y
Writing image...
303+1 records in
303+1 records out
318568448 bytes (319 MB) copied, 53.6766 s, 5.9 MB/s

(From OE-Core rev: 87e581bb7da9f1530d190cd023fcf892c8b858f5)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Dexuan Cui <dexuan.cui@intel.com>
CC: Joshua Lock <josh@linux.intel.com>
CC: Kishore K Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-self-hosted: add pseudo
Saul Wold [Tue, 20 Mar 2012 23:05:12 +0000 (16:05 -0700)]
task-self-hosted: add pseudo

(From OE-Core rev: 2f8c8beec3c6054bf4047f23184ae0ab873c6ce5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibc-common: Apply Debian-naming to libc debug symbols too
Mike Crowe [Tue, 20 Mar 2012 17:27:43 +0000 (17:27 +0000)]
libc-common: Apply Debian-naming to libc debug symbols too

Ensure that the eglibc-dbg package follows Debian naming too if
enabled. Retain backward compatibility with old libc-dbg naming.

(From OE-Core rev: e338607f36fcad89af7d796b2e9f3a31f11e54d6)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoarch-powerpc.inc: use default value of TUNE_PKGARCH
Matthew McClintock [Thu, 22 Mar 2012 16:53:43 +0000 (11:53 -0500)]
arch-powerpc.inc: use default value of TUNE_PKGARCH

We can use the default value for TUNE_PKGARCH, and now we just
append "-nf" if TARGET_FPU is fpu-soft

(From OE-Core rev: c2d96179c00e6600698d3fbc5cf5c95313ab7535)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconsolekit: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:06:02 +0000 (12:06 +0100)]
consolekit: use systemd_unitdir

(From OE-Core rev: 9c52e4b8d4ea63177558a096477b23e8f907ba8e)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoalsa-utils: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:06:01 +0000 (12:06 +0100)]
alsa-utils: use systemd_unitdir

(From OE-Core rev: 94c05ac1eed246a00ea65853952f947deba200d5)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:06:00 +0000 (12:06 +0100)]
dbus: use systemd_unitdir

(From OE-Core rev: f014feb73cd96c35735811737a80ee8cd1528f61)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoofono: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:05:59 +0000 (12:05 +0100)]
ofono: use systemd_unitdir

(From OE-Core rev: d05480ddcfb3270357f578fefba5855f5209714c)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:05:58 +0000 (12:05 +0100)]
bluez4: use systemd_unitdir

(From OE-Core rev: 8df5971aa3656cc3a608c231ec5b4538656f3e3e)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi.inc: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:05:57 +0000 (12:05 +0100)]
avahi.inc: use systemd_unitdir

(From OE-Core rev: 979923d67fec5e9e9d3bb55152fbbff7d86e96eb)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: add systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:05:56 +0000 (12:05 +0100)]
bitbake.conf: add systemd_unitdir

Some of oe-core's recipes need to know where systemd units are. Since the
directory might change in the future [1], we set the location once globally to
reduce maintenance efforts

[1] http://www.gossamer-threads.com/lists/gentoo/dev/245758

(From OE-Core rev: bac4871105bc6bfa820955f28b4657740ea41961)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoFix common typoes "existant", "dependant" and variations
Robert P. J. Day [Thu, 22 Mar 2012 10:05:59 +0000 (06:05 -0400)]
Fix common typoes "existant", "dependant" and variations

Fix a couple common typoes, all contained within comments so there
should be no effect on functionality.

(From OE-Core rev: dc52c3cbf3a7b7242d53019f7643495eb40c0566)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: maybe no log.do_compile or log.do_install
Robert Yang [Thu, 22 Mar 2012 09:55:34 +0000 (17:55 +0800)]
insane.bbclass: maybe no log.do_compile or log.do_install

The insane.bbclass grep in log.do_compile and log.do_install
unconditionally, but there maybe no such logs when mirror the pkg from
sstate cache file. We should check whether the log file exists or not
before grep in it.

Additionally, break the one too long line into two (Add a "\n").

[YOCTO #2153]

(From OE-Core rev: bbf38aa898454a2bb9a4ac993eb2696fbd5f4e57)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcf-agent: Using git repository instead of svn.
Lianhao Lu [Thu, 22 Mar 2012 06:22:26 +0000 (14:22 +0800)]
tcf-agent: Using git repository instead of svn.

Fixed bug [YOCTO #2152].

(From OE-Core rev: 6c785bcd4368ea49941ec00bc8c34f334a39d8f3)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agort-tests: add patch to support passing CFLAGS/LDFLAGS
Denys Dmytriyenko [Thu, 22 Mar 2012 02:46:05 +0000 (22:46 -0400)]
rt-tests: add patch to support passing CFLAGS/LDFLAGS

Enable passing OE and Distro-specific CFLAGS/LDFLAGS to the Makefile.

(From OE-Core rev: fb89e4585644db0958a633a637fc70f0459af26a)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agort-tests: replace dependency on eglibc with virtual/libc
Denys Dmytriyenko [Thu, 22 Mar 2012 02:46:04 +0000 (22:46 -0400)]
rt-tests: replace dependency on eglibc with virtual/libc

That is to support alternative providers of libc, such as glibc, uclibc
or even an external binary toolchain.
No PR bump is necessary here.

(From OE-Core rev: 053f1a0200047949765f34a6c99940adbe8f2c9f)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: fix distro-less failure expanding FILESPATH
Denys Dmytriyenko [Thu, 22 Mar 2012 01:33:03 +0000 (21:33 -0400)]
bitbake.conf: fix distro-less failure expanding FILESPATH

If DISTRO is not set, FILESPATH becomes littered with directories like
files/${DISTRO} etc. It won't bomb until you try to eval it - i.e.
manipulating FILESPATH directly with .= works fine, but calling e.g.
base_set_filespath() throws this:

ERROR: Failure expanding variable FILESPATH, expression was ${@blah} which
triggered exception SyntaxError: EOL while scanning string literal (FILESPATH,
line 1)

(From OE-Core rev: abacd7243a2e4cca216797c4a36ff66ae968ddbd)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Revert interfaces of callbacks for layer_button, view_recipes_button, and view_p...
Shane Wang [Thu, 22 Mar 2012 13:46:02 +0000 (21:46 +0800)]
Hob: Revert interfaces of callbacks for layer_button, view_recipes_button, and view_packages_button.

(From Poky rev: 35942a7dd973796673ab0215f68b4a25356ec053)

(Bitbake rev: 96e235a151fa04f5a15cd8b46f50a5852e2ba739)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/hig: disable removal of meta-hob layer
Joshua Lock [Thu, 22 Mar 2012 01:55:33 +0000 (18:55 -0700)]
lib/bb/ui/crumbs/hig: disable removal of meta-hob layer

The Hob GUI requires the meta-hob layer to function so prevent its removal
as we do with the core meta layer.

(From Poky rev: a64d71e1e4475236e286cb20dde29c4d099d3693)

(Bitbake rev: 431624678025b3d3fe04f1c6e8fc50820b3129fb)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/hig: make the layer selection dialogue more closely match design
Joshua Lock [Tue, 20 Mar 2012 16:39:45 +0000 (09:39 -0700)]
ui/crumbs/hig: make the layer selection dialogue more closely match design

The layer dialogue design includes in-line remove/delete widgets next to
the layer path in the tree view for all layers other than the meta layer as
well as an in-line notice that the meta layer cannot be removed.

This is achieved  in this patch through the use of custom cell_data_func's
for the treeview to render the meta layer differently and a custom
CellRenderer implementation, CellRendererPixbufActivatable, which renders a
pixbuf and emits a clicked signal when the user clicks on it.

Fixes [YOCTO #2083]

(From Poky rev: 83c96b7a0ec4412716090098385a665045909a9a)

(Bitbake rev: b2d8f28c0059992200457a15aef8be09e015a5dd)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: add icons for use in the layer dialogue
Joshua Lock [Thu, 22 Mar 2012 01:53:35 +0000 (18:53 -0700)]
lib/bb/ui/crumbs: add icons for use in the layer dialogue

(From Poky rev: 5e5b488952ef2a0dd886fd67993411760855fcee)

(Bitbake rev: e68c37cee0c9fb1b88479888656eae43bfd144d7)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/ui/icons: autocrop images
Joshua Lock [Thu, 22 Mar 2012 01:44:01 +0000 (18:44 -0700)]
lib/ui/icons: autocrop images

Remove transparent border from the edge of the layers_display,
packages_display and recipe_display images.

(From Poky rev: d240f17687f34a0c5733a7744e8689420f45381c)

(Bitbake rev: e439de09eb073a50e12021b196f10fc87e33b858)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: Add HobAltButton and use it
Joshua Lock [Thu, 22 Mar 2012 01:42:35 +0000 (18:42 -0700)]
lib/bb/ui/crumbs: Add HobAltButton and use it

This adds a gtk.Button subclass for secondary actions which unsets the
relief so that the user is aware that the button is clickable and yet it is
more subtle than the primary action (such that the primary action is the
most obvious one) - this is per the interaction design.

Further we replace all uses of gtk.LinkButton with the new HobAltButton

Partially addresses [YOCTO #2105], a follow on patch will theme the button
so that it matches the visual design.

(From Poky rev: c3f17fed243180678264168968333463b203bfa0)

(Bitbake rev: 601521c2d7f5568d94529a77b2cbe19fef7cbf48)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/persistenttooltip: fix whitespace
Joshua Lock [Wed, 21 Mar 2012 00:05:03 +0000 (17:05 -0700)]
ui/crumbs/persistenttooltip: fix whitespace

We use 4 spaces, not a tab, in BitBake

(From Poky rev: 7d9c9fd7c267d69bab51590074d66a2d68e98ca6)

(Bitbake rev: 7658cd6d8e0e558f60df72b294019a40c27bc703)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/persistenttooltip: fix colours on darker themes
Joshua Lock [Tue, 20 Mar 2012 22:45:33 +0000 (15:45 -0700)]
ui/crumbs/persistenttooltip: fix colours on darker themes

Darker gtk+ themes, such as the one used in Ubuntu Unity, revealed that the
PersistentTooltip styling wasn't setting the label colour correctly.

Set the label foreground colour to the tooltip_fg_colour value as read from
gtk-color-scheme property of the system settings.

(From Poky rev: 0934cfcea5986dbdc50e7159ee907c70b0b3e587)

(Bitbake rev: ab15ef585e51e4c85a4a55aa6b35fbf3b53f3805)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/persistenttooltip: tweak borders
Joshua Lock [Tue, 20 Mar 2012 22:38:27 +0000 (15:38 -0700)]
ui/crumbs/persistenttooltip: tweak borders

Change the layout and borders so that the close button is flush with the
edge of the tooltip window yet leave the contents with a small border such
that text isn't flush with the window edge.

(From Poky rev: 5a0891d144de5d3f73c51adef5a30492a679c66a)

(Bitbake rev: f652d9d28d69a04bc9361599d173625378ac8d33)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/hobwidget: add clear icon to search entries in HobNotebook
Joshua Lock [Tue, 20 Mar 2012 16:50:15 +0000 (09:50 -0700)]
ui/crumbs/hobwidget: add clear icon to search entries in HobNotebook

It's a common pattern on Gtk+ desktops to be able to clear a search/filter
entry using an icon in that entry.

(From Poky rev: 6394283522ef2f259397d8bd294291fb20354c8b)

(Bitbake rev: f55372d542995fd0797b11f42dcfdbe57858449a)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Use inherit information to judge if a recipe is image type
Dongxiao Xu [Wed, 21 Mar 2012 08:27:25 +0000 (16:27 +0800)]
Hob: Use inherit information to judge if a recipe is image type

Previously we use pattern "-image-" to match recipe name to judge if
it is image type. This will ignore some images whose name doesn't
match the pattern. The new method is to use the inherit information,
that is, if a recipe inherits image.bbclass, we treat it as an image.

(From Poky rev: 981b81bd39529d2ba9af0d4e2a25bda3d32bd8fc)

(Bitbake rev: bdbee0c899e115ad08b9a77d3e58d6767766da75)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocooker: add inherit information when generating package tree
Dongxiao Xu [Wed, 21 Mar 2012 08:27:10 +0000 (16:27 +0800)]
cooker: add inherit information when generating package tree

Inherit information could be used to judge if a recipe is image type
or not.

(From Poky rev: 203f112a84b3971dc71da3dc455fd054d1c16a12)

(Bitbake rev: fe52af99918f61abec8f779efb02926b713f2aac)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change the titles for recipe view and package view
Shane Wang [Wed, 21 Mar 2012 03:34:26 +0000 (11:34 +0800)]
Hob: Change the titles for recipe view and package view

(From Poky rev: cccbf0cc8a3d8c93a141d96bed4763beb7b85786)

(Bitbake rev: 98dd4f20f2e6f50c1cad2c480eebde14eeadc41a)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change "View Packages" description
Shane Wang [Wed, 21 Mar 2012 03:15:23 +0000 (11:15 +0800)]
Hob: Change "View Packages" description

Change 'View Packages' button description from 'Add/remove packages' to 'Add/remove previously built packages to/from your image'.
And we adjust the size to make "View Packages" button fit into the window.

[Yocto #2146]

(From Poky rev: 279dbff3ef9f8e8bc58b86f8c4f5ffe70d4a2e8b)

(Bitbake rev: 594f5936c2450d596967f062c14434f5357cb5aa)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change window title from HOB to Hob
Shane Wang [Wed, 21 Mar 2012 03:04:33 +0000 (11:04 +0800)]
Hob: Change window title from HOB to Hob

[Yocto #2147]

(From Poky rev: 9291e6b751171a49fcd8cd0d13c6b22479e542bd)

(Bitbake rev: 6d9dc83e566b7d3a4903fdba30053233d97e8381)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Move "Create your own image" to the bottom of image list
Dongxiao Xu [Wed, 21 Mar 2012 03:19:51 +0000 (11:19 +0800)]
Hob: Move "Create your own image" to the bottom of image list

Move "Create your own image" item to the bottom of base image list.
Besides, remove an un-used hob list entry.

This fixes [YOCTO #2104]

(From Poky rev: f215ce518ad644ca4747ae17279db4b82d0c715d)

(Bitbake rev: 7e00723a6508023ffbefed2c2de1bc9c55564faa)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change package selection tab order
Dongxiao Xu [Wed, 21 Mar 2012 02:14:09 +0000 (10:14 +0800)]
Hob: Change package selection tab order

In the package screen, change the tab order to be:
"Included" and "All packages".

Also change some descriptions in tab.

This fixes [YOCTO #2111]

(From Poky rev: 25628f43d16bcc35874bdac3e1ce1b552c049633)

(Bitbake rev: e12a5e478635a0de87060ac20aff8c9b1858596e)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change recipe selection tab order
Dongxiao Xu [Wed, 21 Mar 2012 02:09:16 +0000 (10:09 +0800)]
Hob: Change recipe selection tab order

In the recipe screen, change the tab order to be:
"Included", "All recipes", and "Tasks".

Also change some description name in tab.

This fixes [YOCTO #2110]

(From Poky rev: 400b1092f1bad578b26d1e41aeb87dcb852aa4e3)

(Bitbake rev: f7168e891ce4af5234d53896a7f51489a7c84a6f)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change template button name from "Template" to "Templates"
Dongxiao Xu [Tue, 20 Mar 2012 07:58:16 +0000 (15:58 +0800)]
Hob: Change template button name from "Template" to "Templates"

Change the button name according to UI team's design.

This fixes [YOCTO #2126]

(From Poky rev: 1e4477f9b121b2523685cc6440050c47d3ae1cde)

(Bitbake rev: f75dde11f2d73119702026d4dd531c0b242303c7)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: change package classes selection GUI
Dongxiao Xu [Tue, 20 Mar 2012 07:49:44 +0000 (15:49 +0800)]
Hob: change package classes selection GUI

This commit change the GUI for package classes selection in advanced
setting dialog, which conforms with UI team's design.

(From Poky rev: 7bbcabdb71d76cdb2ec1de15618d1e47f1149a21)

(Bitbake rev: 4ebce01dde18e67e01ff7c4736c229a3364c04b0)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Remove split model in GTK Hob
Dongxiao Xu [Mon, 19 Mar 2012 03:08:45 +0000 (11:08 +0800)]
Hob: Remove split model in GTK Hob

Since the GTK Hob will not use the server/client split model, thus
remove it from current Hob code. But we still keep the core mechanism
in bitbake server.

(From Poky rev: 983ea0265a53e0725dcbf9085ea767ebbc155ae5)

(Bitbake rev: 8c129e05a94d457860d883c9b2934a5559de8d9b)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Still use initcmd != None as the if judgement
Dongxiao Xu [Wed, 21 Mar 2012 02:58:14 +0000 (10:58 +0800)]
Hob: Still use initcmd != None as the if judgement

This commit reverts part of change in 491c87d1, since initcmd has a
possible value of 0, therefore we must explicitly compare the initcmd
with None in if judgement.

(From Poky rev: 5736972974a769ea7ce6c92fdf6842db044f770d)

(Bitbake rev: ee55ca82c94080ef825d6de094e38ba40ee62e8b)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxserver-kdrive: Fix packaging warnings
Saul Wold [Wed, 21 Mar 2012 20:01:17 +0000 (13:01 -0700)]
xserver-kdrive: Fix packaging warnings

WARNING: For recipe xserver-kdrive, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib
WARNING:   /usr/lib/xorg
WARNING:   /usr/lib/xorg/protocol.txt
WARNING:   /usr/share/X11
WARNING:   /usr/share/X11/xkb
WARNING:   /usr/share/X11/xkb/compiled
WARNING:   /usr/share/X11/xkb/compiled/README.compiled
(From OE-Core rev: d036265de1d9931bedb660e01a763d3d1d9e4097)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoreadline: Fix RPATH Warnings for GPLv2
Saul Wold [Wed, 21 Mar 2012 22:54:34 +0000 (15:54 -0700)]
readline: Fix RPATH Warnings for GPLv2

the norpath.patch with v2 and it worked correctly?
WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libhistory.so.5.2 contains probably-redundant RPATH /usr/lib
WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libreadline.so.5.2 contains probably-redundant RPATH /usr/lib
WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libreadline.so.5 contains probably-redundant RPATH /usr/lib
WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libhistory.so.5 contains probably-redundant RPATH /usr/lib

(From OE-Core rev: 511a9e72f7deac4d31bad6c2d94117d9fd0b97f5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolttng-ust: Increase PE due to incompatible version changes related to lttng-ust2
Richard Purdie [Wed, 21 Mar 2012 23:04:57 +0000 (23:04 +0000)]
lttng-ust: Increase PE due to incompatible version changes related to lttng-ust2

(From OE-Core rev: 732b9d6f3528c4c76be0afa911e7e1d5cf781c41)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd bitbake-dumpsig to make it more obvious how to dump a signatures file
Richard Purdie [Wed, 21 Mar 2012 17:08:04 +0000 (17:08 +0000)]
Add bitbake-dumpsig to make it more obvious how to dump a signatures file

[YOCTO #2057]

(Bitbake rev: c5fdc6c02fe4712d3114caccfd759a626bd9677b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>