summaryrefslogtreecommitdiff
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* python-native: Fix gcc compiler detecting logicKhem Raj2011-11-292-12/+12
| | | | | | | | | | | | | | | | | | | We have a patch unixccompiler.patch where we try to throw away everything except first element of CC string but this does not work if gcc is prepended with something e.g. CC="ccache gcc" then the logic fails and it ends up in some modules failing on you silently (_sqlite3) in my case. The fix here is to drop basename so we keep the whole string as it is and then the detection function searches for gcc string in the whole CC. This works in both cases one the original intent of the patch and the second described above. One place where it will fail is if someone has non-gcc compiler installed in some subdir which has gcc in it e.g. /usr/gcc/fakecc but for OE this should never happen. Ideally the the detection logic should have tried to execute gcc and then parsed --version output or something. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toolchain-scripts.bbclass: Make it work when TCLIBC=uclibcKhem Raj2011-11-291-2/+6
| | | | | | | | | | This class currently only works with eglibc. Since it adds dependencies explicitly on eglibc when using uclibc this creates problems. So we make sure that it checks for TCLIBC to determine system C library in use Signed-off-by: Khem Raj <raj.khem@gmail.com>
* default-distrovars: Define SDK_VERSION and DISTRO_VERSIONKhem Raj2011-11-291-1/+2
| | | | | | | runqemu scripts check for them and when using just oe-core these are not defined anywhere Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pulseaudio: update to 1.1, delete 0.9.xKoen Kooi2011-11-2919-388/+20
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* libjson: add 0.9Koen Kooi2011-11-291-0/+14
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* getVar/setVar cleanupsRichard Purdie2011-11-2627-159/+152
| | | | | | | Complete the bb.data.getVar/setVar replacements with accesses directly to the data store object. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Ensure we run reautoconfRichard Purdie2011-11-261-16/+16
| | | | | | | | Avoding the autoreconf with a hardcoded do_configure is bad practise since it can hide various errors. This patch ensures we do use the standard do_configure. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript-native: Ensure the sys/time/h fix is applied for native buildsRichard Purdie2011-11-261-0/+1
| | | | | | | | On my system, the sys/time.h header is in a subdir off /usr/include which causes a build failure. Apply the target CFLAGS fix to native builds as well to address this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Really fix parallel make raceRichard Purdie2011-11-262-1/+20
| | | | | | | | | | | There continue to be parallel make race issues showing up on the autobuilder. This patch removes some potential sources of these. The rm is unrequired since we're using cp -f. The || true ensures that if we did race against someone it becomes harmless. [YOCTO #1202] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: Fix missing python dependency and package tests separatelyRichard Purdie2011-11-253-2/+6
| | | | | | | | | | | We need to ensure there is a python dependency for the ofono python test scripts. To do this without introducing the dependency unnecessarily for the core ofono functionality, this patch splits the tests into a separate package too. [YOCTO #1705] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Nothing uses USERNAME, remove it - can cause sstate-cache conflictsMatthew McClintock2011-11-251-1/+1
| | | | | | | | USER is the correct variable to use, also this can affect sstate cache as well. Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-package-target.inc: add the symbol link /lib/cppDexuan Cui2011-11-242-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | When I was trying self-hosted-image, eglibc's do_install failed in the target: ERROR: cannot stat bootparam_prot.h: the cause is: rpcgen doesn't work properly: rpcgen can't exec /lib/cpp since it doesn't exist. According to http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lib.html: "if a C preprocessor is installed, /lib/cpp must be a reference to it, for historical reasons. The usual placement of this binary is /usr/bin/cpp". Typical distros, like Ubuntu, openSuSE, Fedora and RHEL, all comply with the rule. Actually in meta/recipes-devtools/gcc/gcc-package-target.inc, we do try to package ${base_libdir}/cpp: FILES_cpp = "\ ${bindir}/${TARGET_PREFIX}cpp \ ${base_libdir}/cpp \ ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1" But unluckily we didn't create a symbol link in do_install. This patch adds the symbol link. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* site/x86_64-linux: add cvs config variablesNitin A Kamble2011-11-241-0/+3
| | | | | | | | | | | | configure of cvs packages was failing on the meta-toolchain for a x86_64 target. Configure error reported: checking whether printf supports %p... configure: error: cannot run test program while cross compiling This fixes [YOCTO #1781] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: We only care about the absolute value of baselibRichard Purdie2011-11-241-0/+1
| | | | | | | | | | | | The value of baselib can be constructed in several different ways and from a sstate perspective we don't care how it was made up, we only care what the final value is. This uses the new functionality in bitbake to ensure we only include the value of baselib and not any intermediate dependencies. [YOCTO #1583] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi-ui: Fix packaging and conflict with the avahi recipeRichard Purdie2011-11-241-3/+29
| | | | | | | | | | | | | | | | We need to remove the files from avahi-ui which conflict with the avahi recipe. If we don't do this they trigger packaging warnings and can also overwrite files in the sysroot unexpectedly causing build failures (if X depends on avahi, it expects avahi's files to stay there, not disappear as avahi-ui build/stages). This patch cleans up the packaging although I wish there were an alterantive to the do_install which makes my eyes bleed. [YOCTO #1770] [YOCTO #1722] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc.inc: Remove EGLIBPARALLELISM from deps for EXTRA_OEMAKEMatthew McClintock2011-11-241-0/+1
| | | | | | | Without this simply changing the number of threads via PARALLEL_MAKE can invalidate sstate-cache Signed-off-by: Matthew McClintock <msm@freescale.com>
* patch.bbclass: Add PATCHRESOLVE to excluded vars for generating sstate-cacheMatthew McClintock2011-11-241-1/+1
| | | | | | | The method of resolving the patch should not effect the sstate-cache signature. Signed-off-by: Matthew McClintock <msm@freescale.com>
* gtk+: Have gtk+ pick up ${NM} from the environmentXiaofeng Yan2011-11-242-1/+16
| | | | | | | when gtk+ configures, it should pick up ${NM} from the environment \ if it is defined, instead of just looking for "nm". Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* tslib: Set open mode for ts_calibate.cXiaofeng Yan2011-11-242-2/+33
| | | | | | | | | | | | Get patch from: http://permalink.gmane.org/gmane.comp.lib.uclibc.buildroot/27614 There is a potentially "unsafe" use of open(). Ubuntu 8.10+, for instance, by default enables the compiler flag -D_FORTIFY_SOURCE=2 \ which throws an error of ts_calibrate.c. To fix this, \ set a mode in the open() call, patch patched ts_calibrate.c \ to set 0644 (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) and it compiles fine Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* rpm: Flush old logs by change the DB_CONFIGMei Lei2011-11-242-2/+15
| | | | | | | | Fixes [YOCTO #1174] Rpm logs will grow indefinitely, so change the config to flush those old logs. Signed-off-by: Mei Lei <lei.mei@intel.com>
* eglibc_2.13: update SRCREVKang Kai2011-11-243-182/+5
| | | | | | | Update eglibc 2.13 SRCREV to 15508, just to sync with upstream Remove glibc_bug_fix_12454.patch, because it is already merged. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* base-passwd: add Upstream-Status to patches, remove unused patchScott Garman2011-11-243-27/+22
| | | | | | mysql.patch is not used by the recipe anymore, so delete it. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* dosfstools: add Upstream-Status to patchesScott Garman2011-11-247-0/+44
| | | | Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* bitbake.conf: Set BB_CONSOLELOG so we log console messages by defaultRichard Purdie2011-11-241-0/+2
| | | | | | | | | | | | The console log is often helpful for debugging issues. Difficult to reproduce bugs would benefit from a log being generated by default as it may be difficult to come by after the fact. Log to ${TMPDIR}/cooker.log.${DATETIME} by default. [YOCTO #1771] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: Use bb.plain to print the build headerRichard Purdie2011-11-241-1/+1
| | | | | | | If we just use print, the bitbake logging functions don't see the message and it can get lost if bitbake is for example logging messages to disk. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtool: Avoid relinking when cross compiling, its pointlessRichard Purdie2011-11-243-2/+105
| | | | | | | | | | | | | | | | | | There is no point in having "executable" binaries in the .libs directory linked with different rpaths to the target which could concivably be run on the build system when cross compiling. This patch removes the extra rpaths ($compile_rpath) so that the output from the "link" stage can be used on the target. We can then avoid having to "relink" during the install stage. This saves some build time (do_install is over 2 minutes faster for pulseaudio). This patch also removes an annoying "seems to be moved" warning which is totally bogus in the sysroot case. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix locale header and hardcoded libname issuesRichard Purdie2011-11-236-10/+104
| | | | | | | | | | | apt wasn't building on modern libc/compiler combinations due to missing header includes. The libcpp version was also being hardcoded, this patch generates it dynamically to work on different host systems which no longer have this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* directfb: change check sumXiaofeng Yan2011-11-231-5/+3
| | | | | | | | Change check sum of directfb. The previous checksum was incorrect when it was added due to a corrupted download on the submitter's system. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_fields: Update after Manual CheckSaul Wold2011-11-231-15/+22
| | | | | | | | | | | Checked upstream for updates of the following packages: - libiconv - libxml2 - sysstat - tcp_wrapper - texinfo Signed-off-by: Saul Wold <sgw@linux.intel.com>
* distro_tracking: update manual checks for recipesShane Wang2011-11-231-15/+23
| | | | | | Updating manual checks for jpeg, tinylogin, eggdbus, setserial, acpid, menu-cache, x11vnc, etc. Signed-off-by: Shane Wang <shane.wang@intel.com>
* distro_tracking: update manual checks for recipesShane Wang2011-11-231-18/+30
| | | | | | Updating manual checks for minicom, libtirpc, opkg, which, quota, rpcbind, strace, wireless-tool, irda-utils, libical, flac, libomxil, libsamplerate0, etc. Signed-off-by: Shane Wang <shane.wang@intel.com>
* distro_tracking: update manual checks for recipesShane Wang2011-11-231-4/+9
| | | | | | Updating manual checks for hdparm, screen, watchdog, freetype, oprofile, and tcf-agent. Signed-off-by: Shane Wang <shane.wang@intel.com>
* at: update the upstream-status of patchesNitin A Kamble2011-11-234-0/+7
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* distro_tracking: update manual checks for various recipesScott Garman2011-11-231-2/+6
| | | | | | | Updating manual check dates for the following recipes: tar, libpng, expat, dosfstools, e2fsprogs Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* distro_tracking: Refect Recipe Updates & StatusSaul Wold2011-11-231-16/+23
| | | | | | | | | | | | | | * libnl - NO_UPDATE_REASON due to incompatibility * zlib - has wrong version in update list (121) * libtasn1 - Update to 2.10 * pkgconfig - NO_UPDATE_REASON due to removal of glib-conf * file - update to 5.09 * dchp - New version is 4.2.3, not updated yet. * tiff - NO_UPDATE_REASON wait until 4.0.0 * gobject-interopsectio - NO_UPDATE_REASON can not cross-build * gnu-config - Udpate to git HEAD - requires ASSUME_PROVIDED += "git-native" Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gconf: Add note to header about patch filed upstreamRichard Purdie2011-11-231-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gconf: Ensure the correct backend directory is usedRichard Purdie2011-11-233-1/+48
| | | | | | | Without these changes, gconf will use the hardcoded backend directory meaning we can see errors when building if the binary was relocated. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gconf: Ensure that GCONF_SCHEMA_INSTALL_SOURCE uses correct pathsRichard Purdie2011-11-231-0/+4
| | | | | | | | | | | The gconf .m4 files use the path encoded into the gconf-native tools by default to populate this variable. This doesn't work if we're relocating the gconf-native binaries. By setting this variable we ensure that the m4 files always pick up the correct path. This fixes errors seen on the yocto autobuilder. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-stroke: Update to latest git revision to add missing Xrender dependencyRichard Purdie2011-11-231-1/+1
| | | | | | | | Without this, linking can fail due to missing libraries since the code depends on Xrender. The fix was already upstream, we just need to use a revision that includes it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-wm: Fix variable type in _NET_WORKAREA settingZhai Edwin2011-11-221-1/+1
| | | | | | | | | | | According to XChangeProperty doc, array of "long" should be used when format is 32. Wrong _NET_WORKAREA parameter caused blank screen in matchbox-desktop on 64 bit platform. [YOCTO #1689] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging: Remove debug accidently left inRichard Purdie2011-11-221-1/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging.bbclass: Add BB_SETSCENE_VERIFY_FUNCTION functionRichard Purdie2011-11-221-0/+15
| | | | | | | | Since we clean out do_populate_sysroot if do_configure runs, don't allow do_populate_sysroot_setscene functions if we're going to run do_configure. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Ensure paths to rpmmarcos and rpmpopt are setRichard Purdie2011-11-221-1/+1
| | | | | | | | | | If rpm-native was built in an alternative location, it may not relocate correctly unless the rpmpopt and macros paths are explicitly specified. This fixes errors seen on the Yocto autobuilder where pkgconfig "provides" entries could disappear leading to image dependency failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Fix gcc ICE on qt4-x11-free/armv7-aKhem Raj2011-11-212-4/+68
| | | | | | | | Backport fix for PR 47551 fixes the ICE seen on armv7-a/qt4-x11-free Bump up SRCREV past gcc 4.6.2 release Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: update to 1.4.16Koen Kooi2011-11-214-7/+5
| | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mime.bbclass: Add --disable-update-mimedb to EXTRA_OECONFAndreas Müller2011-11-211-0/+2
| | | | | | | | | | | | | * ensure update-mime-database is not called during build time * this patch was included in meta-oe [1] about the same time when mime.bbclass was migrated from meta-oe -> oe-core so it seems it got lost. * tests: build from scratch / run on overo / additional check: no unpacked files for gnome-control-center [1] http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/classes?id=6b765989a42ab314d1611f4dec78b07b562a9e7d Signed-off-by: Andreas Müller <schnitzeltony@gmx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio-0.9.23: Fix build on uclibcKhem Raj2011-11-212-1/+28
| | | | | | | | | | | | Import patch from oe.dev rev 7c33f2e906a20e139d53b4f2d8fbc2773a4725b3 to fix bluez build when using uclibc cgit link here http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=7c33f2e906a20e139d53b4f2d8fbc2773a4725b3 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* netbase: Update recipe 4.46 -> 4.47Khem Raj2011-11-2112-3/+3
| | | | | | | moreover 4.46 tar is not available on debian pools Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext_0.18.1.1: Fix QA IssueKhem Raj2011-11-211-2/+3
| | | | | | | | | | | For uclibc builds we get the following QA error ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: gettext-runtime path '/work/armv5te-oe-linux-uclibceabi/gettext-0.18.1.1-r4/packages-split/gettext-runtime/usr/lib/libintl.so' Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: fix path for relative links on elf files, when moved to ↵Henning Heinold2011-11-211-0/+2
| | | | | | | | | | | debugdir * relative links for elf files like ../foo.so ends up in the debugdir with ../.debug/foo.so, this causes infinite fileaccessloops fix it by adding an extra "../" to the link path Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>