Martin Dietze [Fri, 15 Sep 2006 09:04:28 +0000 (09:04 +0000)]
xorg-lib: resolving bugs #1411, #1412
* The () block containing the compile command for the native makekeys tool now has a "|| exit 1" so that the build stops if the compile fails
* The X11_CFLAGS and XT_CFLAGS respectively are set empty when compiling the native tool
Chris Larson [Fri, 15 Sep 2006 07:46:43 +0000 (07:46 +0000)]
classes/package.bbclass,conf/bitbake.conf:
* Add package "depchains". This facilitates, for example, ensuring that if
A depends upon B, then A-dev will RRECOMMENDS B-dev, and the same for the
-dbg packages.
Chris Larson [Thu, 14 Sep 2006 18:08:10 +0000 (18:08 +0000)]
package.bbclass:
* Avoid premature use of the PKG_* variables. We don't need to make use of
the debian.bbclass (or otherwise) renamed package names until the very end
of the packaging. This was necessary in order to enhance my
depchain/correspondantdeps stuff, and doesn't seem to harm anything.
clamav 0.84: Inherit binconfig so that the clamav-config script is staged,
so that building applications that depend on libclamav works. Also update
some descriptions.
Paul Sokolovsky [Thu, 14 Sep 2006 02:47:34 +0000 (02:47 +0000)]
binconfig.bbclass: Fix path rewriting for staged packages.
* This bbclass does path rewriting within *-config scripts for packages
being staged. However, it used to expect variable assignments in form foo=bar,
whereas some packages (e.g. libpng) have foo="bar". Fixed to understand both
formats.
* Note: I consider this fix a workaround, as it uses overquoted regexps passed
via command line. Instead, whole rewriting should be reimplemented in Python.
site: Add entries for clamav for my test platforms: sh4, i486 and i586.
Remove the site file from the clamav package itself since support for
package specific site files is not included in OE yet.
clamav: New package for the CLAM anti-virus toolkit for UNIX. It
includes a multi-threaded daemon, a command line scanner, a tool for
automatic updating via Internet and a shared library implementation
for the scanner. Tested on sh4 and i486.
dbus: drop 0.6x
* people wanting the use the old-API dbus can use 0.23.x
* people wanting to use the new-API dbus should use 0.9x
* new-API glib bindings are provided via dbus-glib
Paul Sokolovsky [Tue, 12 Sep 2006 22:46:33 +0000 (22:46 +0000)]
base.bbclass(oe_libinstall): Handle shared libs basenames of which were
suffixed with version properly.
* Sometimes soname of a shlib is overriden to contain extra version. If
it's build by libtool, .la still has basename w/o suffix. This fix recognizes
such case, and handles shlib installation properly (via libtool).
* Example of this is smpeg_0.4.4+0.4.5cvs20040311 which builds libsmpeg-0.4,
while still being linked as -lsmpeg.
Fixes #1389.
Paul Sokolovsky [Tue, 12 Sep 2006 15:59:43 +0000 (15:59 +0000)]
package.bbclass: Detect duplicates in PACKAGES properly.
* Fix bug which caused non-detection.
* Make visible error message for such condition.
* But still recover and continue for now, while we don't
have all occurances fixed in metadata. Note that while
content of the package will be ok, metadata can be wrong.
So, recover behavior should not be relied upon, this going to
be fatal condition later. Oked-by: RP, hrw
classes/insanity.bbclass: Check for possible insecure RPATH, make it work with the funy BitBake scope
The def methods are in a different scope that the PACKAGEFUNC and the
result is only the packagefunc is able to use 'd' so we need to make
this a parameter for the other methods.
Use the installed scanelf to check for the RPATH of the files
Paul Sokolovsky [Tue, 12 Sep 2006 03:06:23 +0000 (03:06 +0000)]
package.bbclass: Make "strippedness" check overridable.
* Factor out "strippedness" substring as FILE_UNSTRIPPED_MATCH.
* Allow FILE_UNSTRIPPED_MATCH to be overriden, useful to support
other executable formats.
* Also, don't complain if .debug directory already exist
(can heppen if manually run BB tasks, e.g. for debugging).
contrib/sanitize.py: Revision 0.5
* Recognise pkg_preins and pkg_prerm scripts
* For alternatives put the required items before the option items
* For initscripts put the package list first
* Recognise PKG variable
* Remove blank lines between variables with the same prefix (eg the
ALTERNATIVE_ vars).
Paul Sokolovsky [Mon, 11 Sep 2006 23:48:02 +0000 (23:48 +0000)]
libpng 1.2.12: Switch to use autoconf'ed build.
* 1.2.12 (or other version past 1.2.8) switched to the full configure support,
use autotools class to build it.
gnupg 1.4.2.2: Fix for x86. The assembler code was being compiled
with underscores prefixed to the functions while the C code was not
expecting the underscores. This was caused by the configure script
assuming that _'s were required when cross-compiling. Turning off
assembler code via a configure option would have fixed this, but
instead I've modified the configure script to actually test for
underscores when cross-compiling - the test is just a compile + nm
which works fine when cross-compiling. Tested on i486, i586 and sh4.
Martin Dietze [Mon, 11 Sep 2006 15:04:34 +0000 (15:04 +0000)]
libpcre: fixes resulting from renaming pcre->libpcre
* the recipes in libpcre now contain the code from the removed pcre packages (sorry for the mess)
* nylon-feed now DEPENDs on libpcre instead of pcre
classes/icecc.bbclass: Use split so we get the real version instead of a single charachter
[2] will get us the 2nd charachter of the first line. This
is not what we wanted. We want the version number which is the
'2nd' column of the first line.