summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
AgeCommit message (Collapse)AuthorFiles
2007-04-18classes: Add support for intertask dependencies to be specified, needed for ↵Richard Purdie1
correct operation with bitbake 1.8.x. Old behaviour is maintained in a special legacy anonymous function in base.bbclass. The patch is an improved version of the one discussed on the mailing list.
2007-03-29package.bbclass: fix build problem related to private libsMarcin Juszkiewicz1
2007-03-29package.bbclass: added support for private libraries (used only in package)Marcin Juszkiewicz1
- if package contain libraries which are not used outside then add PRIVATE_LIBS variable with names of them to not generate shlibs for them.
2007-02-27package.bbclass: comment out the cleandir since it breaks constructions like ↵Koen Kooi1
"inherit package_ipk package_tar" and seems to interfere with do_split_packages
2007-02-22classes: package, rm_work - fix bashisms (from Poky)Marcin Juszkiewicz1
2007-01-30package.bbclass: don't try to rmdir("./"), it won't workPhil Blundell1
2007-01-29package.bbclass: add workaround for wrongly globbed symlinks in FILES ↵Phil Blundell1
causing python traceback spew during population
2007-01-28package.bbclass: remove directories named in FILES from image after file Phil Blundell1
migration
2007-01-01package.bbclass: Add fakeroot-native as a depenedncy (from poky)Richard Purdie1
2006-12-12package.bbclass: set PATH before running OBJDUMP to get dependencies calculatedMarcin Juszkiewicz1
I do not know does this is best way of fixing it but it is better to have it in repository then having rootfs images without libc.
2006-11-28bitbake.conf : introduce the OBJDUMP variable, by default set toGraeme Gregory1
${HOST_PREFIX}objdump package.bbclass : make use of the OBJDUMP variable rather than calling ${BUILD_PREFIX}objdump inside do_shlibs. As the original usage was faulty and ended up calling host objdump which works for some arm targets but not all.
2006-10-28base.bbclass, package.bbclass: don destrucively set RDEPENDS and ↵Koen Kooi1
RRECOMMENDS, from Poky * poky rev 823: 'package.bbclass: depchains: don't -destructively- set the pkg's RRECOMMENDS.' * poky rev 824: 'base.bbclass: depchains: don't -destructively- set the pkg's RRECOMMENDS.'
2006-10-22package.bbclass: Fix split_packages to remove spurious references to -dbg ↵Richard Purdie1
packages. The way it selects the principle package name needs totally reworking as the current code is flawed but apply a workaround for now (this is unrelated to other changes to package.bbclass)
2006-10-21package.bbclass: Fix split_locales to remove spurious references to -dbg ↵Richard Purdie1
packages. The way it selects the principle package name needs totally reworking as the current code is flawed but apply a workaround for now (this is unrelated to other changes to package.bbclass)
2006-10-20package.bbclass: Split into two tasks, one which prepares the packages and ↵Richard Purdie1
then package_write which actually generates the packages. The two stage approach allows us to avoid circular dependency issues from classes like debian.bbclass. As the data being emitted into pkgdata/ changed, you need to either wipe tmp or rerun the do_package tasks (wipe the do_package stamps). Everything will repackage anyway due to the new task.
2006-10-20base/package.bbclass: Clean up and document things a bit more. Should be no ↵Richard Purdie1
functional changes (from poky)
2006-10-18module_strip.bbclass: filter out directories to stop recent binutils from ↵Koen Kooi1
barfing package.bbclass: likewise
2006-10-02classes/package.bbclass: use ?= for PACKAGEFUNCS *again*Koen Kooi1
* people should really watch out with introducing regressions
2006-09-16package.bbclass: remove do_install *again* to fix all the failed builds ↵Koen Kooi1
people are reporting ~lart kergoth for introducing this regression
2006-09-15classes/package.bbclass,conf/bitbake.conf:Chris Larson1
* 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.
2006-09-15Restructure the subpackage metadata to facilitate use of that metadata by ↵Chris Larson1
other packages.
2006-09-14package.bbclass: yank an unintentional change.Chris Larson1
2006-09-14package.bbclass:Chris Larson1
* 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.
2006-09-12package.bbclass: Detect duplicates in PACKAGES properly.Paul Sokolovsky1
* 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
2006-09-12package.bbclass: Make "strippedness" check overridable.Paul Sokolovsky1
* 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).
2006-09-08package.bbclass:Chris Larson1
Make legitimize_package_name also convert <U0123> style encoding of unicode codepoints into their utf-8 representation, as in glibc locale files.
2006-08-27package.bbclass: remove do_install from PACKAGE_FUNCS, as noted by Philipp ZabelKoen Kooi1
2006-08-25classes: run do_package before do_stage so we can populate staging with ↵Koen Kooi1
package if we want
2006-08-20classes: Add task dependencies expressions, as required for the new ↵Richard Purdie1
multithreading version of bitbake. Also, set BB_DEFAULT_TASK to specify the default task (build) rather than hardcode into bitbake.
2006-07-31Change -dbg objects to use .debug directory. Fixes various FILES issues.Richard Purdie1
2006-07-28classes/package.bbclass: Only set PACKAGEFUNCS once!Holger Freyther1
Set PACKAGEFUNCS only once. Now if more than one bbclass inherits package both additional functions will be executed. The new packagefuncs will be appended to the list and the old ones will not be lost
2006-07-24Add automatic generation of -dbg packages. These contain the debug symbols ↵Richard Purdie1
that are stripped from binaries and the symbols are linked to the original binaries via the gnu-debuglink section.If the -dbg packages are installed, oprofile and gdb will use them for symbol lookup.
2006-04-29package.bbclass: Add sanity check for duplicates in PACKAGES (bug 674)Richard Purdie1
2006-04-04disapproval of revision 'b7326fa2f47e0d1df4fc54428bf5d903b1042483'Justin Patrin1
2006-04-04package.bbclass: deal with multiple copies of the same package in PACKAGESJustin Patrin1
2006-03-06glibc, package.bbclass: generate old-style binary locales at build time ↵Rene Wagner1
using qemu. based on a patch originally written by Phil Blundell. fixes hh.org Bug #1385 (localedef OOM issue). - running localedef (in qemu...) for every locale takes a while. set BINARY_LOCALE_ARCHES = "" to avoid the new behaviour.
2006-02-12Fix package name renaming for classes like debian.bbclass:Richard Purdie1
package.bbclass now tracks any package renaming performed using PKG_*. When a package is built, the runtime variables are translated using this cached information which is stored in staging. From now on, only use package names are valid in runtime variables like RDEPENDS, RRECOMMENDS and RSUGGESTS. eg. fontconfig-dev is correct, libfontconfig-dev would be wrong. As debian.bbclass can't determine package renaming until after a package's contents is known, the class has to set BUILD_ALL_DEPS = "1". This also means OE is no longer forced into one package renaming scheme.
2006-01-31package.bbclass: now really fix interpretation of IGNORE_STRIP_ERRORS.Rene Wagner1
2006-01-31package.bbclass: fix interpretation of IGNORE_STRIP_ERRORS one more time.Rene Wagner1
2006-01-31package.bbclass: interpret 0 as false (as well as "") when evaluating ↵Rene Wagner1
IGNORE_STRIP_ERRORS
2006-01-31package.bbclass: implement a failsafe strip in classesJohn Bowler1
- package.bbclass now uses file-native and cross strip to reliably strip unstripped executables and check the return code. For the moment a failure here doesn't cause the build to fail but does output a failure message direct to the controlling terminal (this is temporary). This behaviour can be changed by forcing IGNORE_STRIP_ERRORS = "" The change works by using a new runstrip shell function for every potentially strippable file. Since this calls native 'file' there is a dependency on all inheritors of package.bbclass for file-native and since this would break native builds (because of the cycle in file-native and it's own native depends) native.bbclass cancels this dependency (system file should be fine for native packages and, anyway native currently doesn't package.)
2006-01-30package.bbclass: fix stripping logic. work around strip returning 0 even on ↵Rene Wagner1
failure.
2006-01-29package.bbclass: don't silently ignore errors when running STRIP. Set ↵Rene Wagner1
IGNORE_STRIP_ERRORS to get the old behaviour back. Part of a fix for hh.org Bug #1469
2005-11-18package.bbclass: added support for preinst/prerm actions - patch by Jamie ↵Marcin Juszkiewicz1
Lenehan - this close #456
2005-07-22Applied patch by Philip Blundell to fix package names in dependencies.Florian Boor1
2005-05-17Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/05/17 20:39:04+02:00 uni-frankfurt.de!mickeyl add python-pygtk2 to task-python-everything 2005/05/17 20:32:02+02:00 uni-frankfurt.de!mickeyl apply zecke's patches to prepare for the low memory bitbake. the repository needs bitbake r159 or better now BKrev: 428a3a77SoUtXtfto7tXtwiSdrA1ew
2005-04-19add trailing newlines to postinst and postrm in split packagesPhil Blundell1
BKrev: 42646050b9wZ5BDXf6zj1pOZottT1g
2005-03-16Merge nslu2-linux@nslu2-linux.bkbits.net:openembeddedg2@giantshoulder.com1
into giantshoulder.com:/home/tom/dev/openslug/openembedded 2005/03/17 00:06:10+10:30 (none)!rwhitby Removed the ehci module from openslug-init. 2005/03/17 00:03:09+10:30 (none)!rwhitby Removed the ehci module from openslug-image. 2005/03/16 08:34:55+10:30 (none)!rwhitby OpenSlug 1.7 - removed KALLSYMS, and EHCI is now compiled back into the kernel. 2005/03/15 08:41:13-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/15 15:48:57+00:00 (none)!dp Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into cimmeria.(none):/home/dp/zaurus/openembedded 2005/03/15 15:44:34+00:00 (none)!dp Change TARGET_ARCH to TARGET_SYS and enable RTC for timing 2005/03/15 07:41:18-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/15 16:02:40+01:00 mn-solutions.de!schurig mnci-ramses: kernel image fixes 2005/03/14 03:41:08-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/14 12:29:29+01:00 local!hrw Merge bk://oe-devel@oe-devel.bkbits.net/openembedded/ into marcinj.local:/home/hrw/zaurus/bb/openembedded 2005/03/14 12:26:37+01:00 local!hrw allow packages to not have shlibs info generated - useful with packages like sharp-compat-libs 2005/03/14 03:06:57-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/14 21:33:42+10:30 (none)!rwhitby Updated fakeroot from 1.2.1 to 1.2.2 (upstream change). 2005/03/14 12:02:04+01:00 uni-frankfurt.de!mickeyl upgrade fakeroot to 1.2.2 2005/03/13 19:41:10-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/14 03:38:40+00:00 (none)!cwiiis Add missing dependencies to gconf-dbus (libxml2, popt) 2005/03/14 03:13:30+00:00 (none)!cwiiis Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into cwiiisdesktop.(none):/home/cwiiis/oe/openembedded 2005/03/14 03:12:25+00:00 (none)!cwiiis Fix automake 1.9 breakage in libmatchbox. 2005/03/13 17:41:10-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/14 00:54:51+00:00 rpsys.net!RP openzaurus-2.6: Add pxa udc suspend/resume patch by David Brownell 2005/03/13 10:41:06-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/13 13:31:09-05:00 handhelds.org!kergoth Add fakeroot 1.2.1. 2005/03/13 13:25:28-05:00 handhelds.org!kergoth Add hdparm 5.8. 2005/03/13 13:21:24-05:00 handhelds.org!kergoth Merge oe-devel@oe-devel.bkbits.net:openembedded into handhelds.org:/home/kergoth/code/openembedded 2005/03/13 13:21:04-05:00 handhelds.org!kergoth Add rxvt-unicode 5.3. 2005/03/13 09:41:04-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/13 18:13:24+01:00 handhelds.org!zecke libsdl-qpe: Try placing __attribute__ at a different location 2005/03/13 08:41:59-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/13 11:49:00-05:00 handhelds.org!kergoth Fix the efl package builds that were broken by the recent binconfig changes (they were directly specifying the -config script paths in staging_bindir). 2005/03/13 11:43:47-05:00 handhelds.org!kergoth Merge oe-devel@oe-devel.bkbits.net:openembedded into handhelds.org:/home/kergoth/code/openembedded 2005/03/13 11:43:30-05:00 handhelds.org!kergoth Apply bugfix from Finn Thain to the bytes_per_inode patch in genext2fs. 2005/03/13 07:41:23-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/13 16:15:10+01:00 uni-frankfurt.de!mickeyl add collections.so and itertools.so to python-lang 2005/03/13 06:41:12-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/13 15:17:47+01:00 uni-frankfurt.de!mickeyl bump CVSDATE for oz-3.5.3 2005/03/13 15:15:43+01:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/03/13 15:13:39+01:00 uni-frankfurt.de!mickeyl repair fortune-mod and bring it back from nonworking 2005/03/13 13:34:54+01:00 uni-frankfurt.de!mickeyl add GNU recode, a charset conversion utility 2005/03/13 03:41:06-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/13 12:16:41+01:00 (none)!koen Add vlc-gpe_0.8.1, courtesy Marc Poulhies. Fix configure flags, disable ogg/tremor for now. 2005/03/12 21:41:06-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/13 00:47:35-05:00 handhelds.org!kergoth Upgrade beep-media-player from 0.9.7rc2 to 0.9.7, and fix the build by defining _GNU_SOURCE. 2005/03/13 00:35:23-05:00 handhelds.org!kergoth Make the libogg builds inherit pkgconfig. 2005/03/13 00:21:46-05:00 handhelds.org!kergoth Unbork the ccdv build. 2005/03/12 20:41:07-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/12 23:46:08-05:00 handhelds.org!kergoth Add OpenSSH 4.0p1. 2005/03/12 19:41:14-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/12 17:28:56-10:00 (none)!dyoung Set NLS for glib-2.0 to be on so packages that depend on it will build 2005/03/12 22:16:52-05:00 handhelds.org!kergoth Add openssh test results to the i686 linux* site files. 2005/03/12 22:02:28-05:00 handhelds.org!kergoth Disable mmx in the inkscape builds. 2005/03/12 21:57:04-05:00 handhelds.org!kergoth Split libsigc++ 1.2 and 2.0 into seperate entities, as they should be, and adjust the inkscape deps accordingly. Inkscape builds again. 2005/03/12 18:41:10-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/12 20:57:13-05:00 handhelds.org!kergoth Fix the libart-lgpl build for i686. 2005/03/12 17:41:03-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/12 20:44:07-05:00 handhelds.org!kergoth Fix FILESPATH in freetype-native. 2005/03/12 20:34:07-05:00 handhelds.org!kergoth Add feh version 1.2.7. 2005/03/12 20:32:27-05:00 handhelds.org!kergoth imlib2: * Enable X support, and patch up the buildsystem to do so more intelligently. * Depend on x11 and xext. * Fixup the -config script. * Split out the binaries into a -bin package. 2005/03/12 20:03:00-05:00 handhelds.org!kergoth Apply patch to fixup giblib-config. 2005/03/12 16:41:04-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/12 19:28:47-05:00 handhelds.org!kergoth Add giblib 1.2.4 and consolodate some metadata into a .inc. 2005/03/12 19:09:47-05:00 handhelds.org!kergoth Unbork the imlib2 build.. its packaging needed tweaks, and its manual set oF EET_CONFIG and FREETYPE_CONFIG was broken by the recent binconfig changes. 2005/03/12 18:53:25-05:00 handhelds.org!kergoth Clean up the freetype builds.. use autotools_stage_includes. 2005/03/12 15:41:11-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/12 18:28:04-05:00 handhelds.org!kergoth Add grep 2.5.1. 2005/03/12 18:19:59-05:00 handhelds.org!kergoth Upgrade mysql to 4.1.10a. 2005/03/12 14:41:18-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/12 17:38:33-05:00 handhelds.org!kergoth Add php 4.3.10, and move common bits into a .inc. 2005/03/12 17:35:21-05:00 handhelds.org!kergoth Add php test results to the i686 linux* site files. 2005/03/12 17:08:27-05:00 handhelds.org!kergoth Pass the password in the cvs:// uri in the slugimage .bb 2005/03/12 17:03:03-05:00 handhelds.org!kergoth Per the recommendation of Erik Andersen, kill off the setting of -rpath in our TARGET_LDFLAGS. We now rely on ldconfig more than ever. This was necessary, because the linker looks in both rpath _and_ rpath-link to find things during the build. 2005/03/12 17:01:41-05:00 handhelds.org!kergoth Fix the naming of the .ext2 image inside the .ext2.gz for that image type. 2005/03/12 16:57:29-05:00 handhelds.org!kergoth Fix the autom4te_perllibdir bits in gnu-configize, to make it usable natively on the target. 2005/03/12 12:41:25-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/12 15:32:05-05:00 handhelds.org!kergoth Merge oe-devel@oe-devel.bkbits.net:openembedded into handhelds.org:/home/kergoth/code/openembedded 2005/03/12 15:31:46-05:00 handhelds.org!kergoth genext2fs 1.3+cvs: * Apply bytes per inode patch, to fix the default inode count based on # of blocks, so it no longer uses the auto bits unnecessarily, and add a cmdline opt to control it. BKrev: 4238364bBtYSx5s1QTTJbjtEROGB3w
2005-03-01Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/02/28 19:35:49+00:00 reciva.com!pb update libdisplaymigration to 0.99 2005/02/28 19:33:15+00:00 reciva.com!pb avoid crash when old shlibs dir does not exist 2005/03/01 01:51:41+00:00 reciva.com!pb Merge bk://oe-devel@openembedded-devel.bkbits.net/openembedded into mebius.reciva.com:/home/pb/oe/oe 2005/03/01 01:50:40+00:00 reciva.com!pb undelete not-redundant-after-all autofoo x11 patch BKrev: 4224bab6qEo9lRsAKfk1n1wgknwp-w
2005-03-01Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembeddedDerek Young1
into builder.(none):/home/dereky/bbroot/openembedded 2005/02/28 04:40:13-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/02/28 12:37:13+00:00 nexus.co.uk!pb straighten out new x11 snapshot 2005/02/28 12:18:18+00:00 reciva.com!pb add new version of xproto 2005/02/28 12:16:45+00:00 reciva.com!pb Merge bk://oe-devel@openembedded-devel.bkbits.net/openembedded into mebius.reciva.com:/home/pb/oe/oe 2005/03/01 18:55:34+00:00 (none)!pb collapse multiple spaces in SRC_URI to a single space. replace some inefficient string concatenation with %-substitution 2005/03/01 18:54:47+00:00 (none)!pb suppress circular dependency when package contains both binaries and libraries move pkgconfig shlibs data into new location; consider old files first so that new ones override them 2005/03/01 18:53:46+00:00 (none)!pb add missing patch to gstreamer SRC_URI BKrev: 4224baabcSg6J2wzDfVE30KMAuYbQA