Paul Eggleton [Tue, 13 Mar 2012 23:40:03 +0000 (23:40 +0000)]
ncurses: fix build when ENABLE_WIDEC is not set
If wide character support is disabled (as it is with poky-tiny, for
example) then we won't have libncursesw.so.*, so skip moving these files
in that case. (Fixes a regression introduced in OE-Core revision ccd370ab147b78de7a5bd74818f755f4d3ca6d81).
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Paul Eggleton [Tue, 13 Mar 2012 15:34:49 +0000 (15:34 +0000)]
mx: add dependencies
* Add dependency on startup-notification, which is optional but without
it mx applications will not send startup notifications.
* Add dependencies on gdk-pixbuf and libxrandr which are usually taken
care of, but are required and thus should be stated explicitly.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Paul Eggleton [Tue, 13 Mar 2012 13:10:54 +0000 (13:10 +0000)]
pulseaudio: add X library dependencies
PulseAudio requires libxtst, libice, libsm and libxcb when X11 is
enabled (in our case, when x11 is in DISTRO_FEATURES), so conditionally
add those to DEPENDS.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Saul Wold [Wed, 14 Mar 2012 05:39:56 +0000 (22:39 -0700)]
libgalago: Fix package warnings by not packaging autopackage
WARNING: For recipe libgalago, the following files/directories were installed but not shipped in any package:
WARNING: /usr/share/autopackage
WARNING: /usr/share/autopackage/skeletons
WARNING: /usr/share/autopackage/skeletons/@galago.info
WARNING: /usr/share/autopackage/skeletons/@galago.info/libgalago
WARNING: /usr/share/autopackage/skeletons/@galago.info/libgalago/skeleton.1 Signed-off-by: Saul Wold <sgw@linux.intel.com>
Saul Wold [Tue, 13 Mar 2012 18:38:45 +0000 (11:38 -0700)]
autoconf: remove emacs mode files to fix warnings
WARNING: For recipe autoconf, the following files/directories were installed but not shipped in any package:
WARNING: /usr/share/emacs
WARNING: /usr/share/emacs/site-lisp
WARNING: /usr/share/emacs/site-lisp/autotest-mode.elc
WARNING: /usr/share/emacs/site-lisp/autotest-mode.el
WARNING: /usr/share/emacs/site-lisp/autoconf-mode.el
WARNING: /usr/share/emacs/site-lisp/autoconf-mode.elc Signed-off-by: Saul Wold <sgw@linux.intel.com>
Saul Wold [Tue, 13 Mar 2012 18:37:54 +0000 (11:37 -0700)]
quilt: Fix docs packaging warnings
WARNING: For recipe quilt, the following files/directories were installed but not shipped in any package:
WARNING: /usr/share/doc
WARNING: /usr/share/doc/quilt
WARNING: /usr/share/doc/quilt/README
WARNING: /usr/share/doc/quilt/quilt.pdf
WARNING: /usr/share/doc/quilt/README.MAIL Signed-off-by: Saul Wold <sgw@linux.intel.com>
Saul Wold [Tue, 13 Mar 2012 18:30:17 +0000 (11:30 -0700)]
owl-video: Fix unpackaged file warning
WARNING: For recipe owl-video, the following files/directories were installed but not shipped in any package:
WARNING: /usr/share/video
WARNING: /usr/share/video/gtk-fullscreen.png Signed-off-by: Saul Wold <sgw@linux.intel.com>
Richard Purdie [Tue, 13 Mar 2012 14:49:16 +0000 (14:49 +0000)]
alsa-utils: Ensure state directory is packaged
This adds the localstatedir to the alsactl package to avoid the warnings:
WARNING: For recipe alsa-utils, the following files/directories were installed but not shipped in any package:
WARNING: /var
WARNING: /var/lib
WARNING: /var/lib/alsa
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 13 Mar 2012 13:05:59 +0000 (13:05 +0000)]
ppp: Clean up PACKAGES vs. variable mismatch and drop unused RDEPENDS
The RPDEPENDS format is wrong and couldn't have been doing anything useful. The
mismatch between PACKAGES and the DESCRIPTION_* and FILES_* variable names could
confuse the system under certain conditions so this is a good cleanup to make.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 13 Mar 2012 13:02:32 +0000 (13:02 +0000)]
ppp: Fix unpackaged files warnings
This patch packages a couple of modules for ppp to resolve the warnings:
WARNING: For recipe ppp, the following files/directories were installed but not shipped in any package:
WARNING: /usr/lib/pppd/2.4.5/pppol2tp.so
WARNING: /usr/lib/pppd/2.4.5/openl2tp.so
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 13 Mar 2012 12:53:11 +0000 (12:53 +0000)]
matchbox-keyboard: Fix unpackaged files warning
Addresses the warnings:
WARNING: For recipe matchbox-keyboard, the following files/directories were installed but not shipped in any package:
WARNING: /usr/lib/gtk-2.0/2.10.0/immodules/libmb-im-invoker.la
WARNING: /usr/lib/matchbox-panel/libkeyboard.la
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Saul Wold [Mon, 12 Mar 2012 22:27:11 +0000 (15:27 -0700)]
gettext: Set the LICENSE field to GPLv3+
This change is needed because currently the INCOMPATIBLE_LICENSE
checking code does not map between SPDX and older style naming
(GPL-3+ vs GPLv3+). Yocto bug number 2093 filed to track this.
Richard Purdie [Tue, 13 Mar 2012 23:13:35 +0000 (23:13 +0000)]
Revert "gettext: do not set libncurses prefix explicitly"
This reverts commit 37b9d140b5d55af4f77baab0c0b0343d8b5e8b6c since it caused
QA issues for several people. The ncurses location needs to be explicitly
specificed.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python-native: distutils: don't use libdir, remove dead code path
* Coming from OE-classic it was surprising that python-native now
requires 'libdir' to be exported. Otherwise autoconf would fail
to detect python libraries. This happend using a customized
environment setup script to use OE's compiler and libs without
bitbake.
* Use STAGING_LIBDIR instead of libdir.
* While at it, remove redundant 'and' statments.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
* If plat-linux2/DLFCN.py was present, python was broken in our
image, i.e. it was unable to load many modules. This was due
to changed RTLD_* constants in dlfcn.h
* Python includes a script, plat-linux2/regen, to regenerate
the py source codes in this directory.
* Do what plat-linux2/regen would do, but use files from
STAGING_INCDIR.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
python, python-native: always set platform to linux2
* Fixes many problems with linux2 vs. linux3. At least:
- Detected version was from build-host instead of target-host.
- linuxaudiodev and ossaudiodev were disabled for linux3.
- Files were missing in /usr/lib/python2.7/plat-linux3.
* Imported from upstream HG rev c816479f6aaf
* Bugtracker URL: http://bugs.python.org/issue12326
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
* do_split_packages and package_do_split_locales dynamically add
packages in order of appearance of os.walk() or os.listdir().
This order varies between multiple build hosts (and probably
also between successive builds).
* Sort the list of dynamically added packages, to get a consistent
and reproducible order.
* This reduces the diffs in buildhistory and improves
comparability between builds.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Dexuan Cui [Fri, 9 Mar 2012 07:05:12 +0000 (15:05 +0800)]
image_types: ensure .rootfs.ext3 is created before vmdk is created.
In the case of self-hosted-image.bb, IMAGE_FSTYPES = "vmdk", so the
variables alltypes and subimages don't contain ext3, and .rootfs.ext3
won't be created, and finally the generated .hddimg and .vmdk don't have
an actual rootfs -- the size of the .vmdk file is only about 9MB.
* Both files contain -L../../WebCore/release -L../../JavaScriptCore/release -lwebcore -ljscore
* These paths and libs don't get installed.
* When building a shared lib with libtool, that links
with libQtWebKit, libtool adds these unneeded parameters
to the linker command-line, thus linking fails.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Otavio Salvador [Sat, 3 Mar 2012 04:12:18 +0000 (04:12 +0000)]
image.bbclass: fix rootfs generation without package management tools
When building without package management tools the
ROOTFS_BOOTSTRAP_INSTALL packages need to be available to provide the
bare minimal for rootfs unconfigure postinsts to be on first boot.
Those packages where being include in core-image.bbclass' based images
however every image needs those available for proper rootfs generation.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Bruce Ashfield [Fri, 2 Mar 2012 16:36:07 +0000 (11:36 -0500)]
linux-yocto: respect FILESPATH directories
During the work to enhance the ability to specify out of tree kernel
features, an assumption was made about PN being part of a patch
path. This assumption is incorrect, since patches can be anywhere in
the valid FILESPATH.
To make locating the patches in WORKDIR simple, we can just query
patch.bbclass and return both the absolute directory of the patch
and the subdirectory as it was specified on the src_uri.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Richard Purdie [Mon, 12 Mar 2012 22:13:47 +0000 (22:13 +0000)]
wireless-tools: Clarify LICENSE field to avoid warnings
The source is unclear which version of the license applies. Since BSD is listed,
we have plenty of choice so lets pick some versions. Most people would pick
BSD out of the three anyway.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 12 Mar 2012 21:30:15 +0000 (21:30 +0000)]
librsvg: Fix unpackaged directory warnings
This patch fixes the QA warnings:
WARNING: For recipe librsvg, the following files/directories were installed but not shipped in any package:
WARNING: /usr/lib/gtk-3.0
WARNING: /usr/lib/gtk-3.0/engines
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 12 Mar 2012 21:24:48 +0000 (21:24 +0000)]
sato-screenshot: Remove unneeded .la file
This resolves the QA warning:
WARNING: For recipe sato-screenshot, the following files/directories were installed but not shipped in any package:
WARNING: /usr/lib/matchbox-panel/libscreenshot.la
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nitin A Kamble [Mon, 12 Mar 2012 16:28:10 +0000 (09:28 -0700)]
cmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATH
Some libraries like libcrypto.so are installed at base_libdir
instead of libdir. So add the base_libdir to CMAKE_LIBRARY_PATH
so that these libraries can be found correctly.
This resolves an issues with libzypp, which was not finding the
libcrypo library correctly in an x32 build.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 11 Mar 2012 18:26:15 +0000 (18:26 +0000)]
package.bbclass: Drop python depends from rpmdeps
This python depends is added by rpmdeps every time it finds a python
script. This is not necessary since we handle this in otherways. It
also breaks things like nativesdk since the dependency is not renamed.
The easiest solution is just to ignore this dependency.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 9 Mar 2012 06:14:04 +0000 (14:14 +0800)]
rpm 5.4.0: Add rpmdeps-oecore to replace rpmdeps for package.bbclass
This is a performance enhancement by adding a binary allowing batch processing
of individual file dependencies. The second patch in this series uses the binary
this patch creates.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Otherwise, recipes that only append to SRC_URI instead of
overwriting it will get the full path of the recipe written
into the Source: field of the package.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Darren Hart [Wed, 7 Mar 2012 08:06:46 +0000 (00:06 -0800)]
kernel.bbclass: Remove warnings for modutils and modprobe.d
Fixes [Yocto #2036]
The source and build directories are unused, remove them.
The modutils and modprobe.d directories may be used if modules are built that
are either autoloaded or have modprobe.d entries. This isn't known at install
time, so check after the package split if these directories are empty and
remove them if they are.
Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
external-csl-toolchain: override PKGV, not PKGV_${PN}
This is needed to ensure that the RDEPENDS_${PN}-dev,
RDEPENDS_${PN}-staticdev, and RRECOMMENDS_${PN}-dbg are accurate with respect
to the PKGV of the ${PN} package, and incidentally fixes an rpm packaging
issue, as rpm dislikes the recipe PV as PKGV.
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Zhai Edwin [Tue, 6 Mar 2012 17:03:17 +0000 (09:03 -0800)]
shadow-sysroot: Fix for multilib
Fix following error in multilib build:
"ERROR: Task do_package_setscene depends upon nonexistant task
poky/meta/recipes-extended/shadow/shadow-sysroot_4.1.4.3.bb:do_populate_sysroot_setscene"
>From richard.purdie@linuxfoundation.org
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Tue, 6 Mar 2012 17:03:11 +0000 (09:03 -0800)]
logrotate 3.7.9: Allow rotate log across filesystems
The logrotate can't save the log across the different filesystems since
it used the "rename(const char *oldpath, const char *newpath)" to save
the file, fix it to act as the "mv" command(first rename, if failed,
read and write) to allow save the log across the different filesystems.
* config.c: Remove the check for different filesystems
* logrotate.c: Act as the "mv" command when rotate log
* logrotate.8: Update the mannual
* logrotate.8: Fix a bug in the mannual(\f should be \fR)
[YOCTO #718]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 6 Mar 2012 17:03:09 +0000 (09:03 -0800)]
linux-yocto: use bareclone option
Instead of specifying nocheckout=1, it provides a better workflow if
the linux-yocto recipes use the new bareclone=1 option to get a mirrored
copy of the source repository. This allows all local and remote branches
to be available during the kernel build and development cycle.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>