summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* subversion: add 1.7.0 with native support and negative D_P for nowMartin Jansa2011-11-152-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | * intentionaly with negative D_P, bitbake fetcher should be improved to detect old checkout with newer subversion available or vice versa and do svn upgrade automaticaly or show better error, but subversion as client for target or -native for distributions which explicitly say they want 1.7 (with PREFERRED_VERSION) can be available already from oe-core. * be aware that checkouts from 1.7.0 are not compatible with older subversion clients (ie when builder populating distro PREMIRROR is using 1.7.0 all builders need to have also 1.7.0) * and also 1.7.0 client needs to call svn upgrade in checkout first in order to use it (so if PREMIRROR has tarball from 1.6.x it won't work on client using 1.7.0 unless fetcher2 is improved to detect this and call svn upgrade) * tested on SHR distribution http://wiki.shr-project.org/trac/wiki/Building%20SHR#subversion1.7inshr-chroot * only missing part is to add subversion-native dependency, so that native subversion is built, before building ie elementary (because EFL are using svnversion from configure.ac to detect source revision and .svn dir needs to be from compatible version). * read http://subversion.apache.org/docs/release-notes/1.7.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* dpkg/update-alternatives: Fix dpkg version of update-alternatives to be usableRichard Purdie2011-11-155-70/+57
| | | | | | | | | | | | | | | The version of dpkg the updates-alternatives-dpkg recipe pointed at no longer used a perl script but a compiled binary. This meant the "all" architecture field was invalid, as as the sed operation during do_patch. All things considered the separate recipe was pretty pointless. This patch moves update-alternatives back to being built as part of the dpkg recipe. It also moves various functionalty to the .inc file which it belongs and fixes building and packaging of the dpkg perl modules. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* syslinux: fix the SRC_URI by using the 4.xx directoryJan Luebbe2011-11-141-2/+2
| | | | | | | | This path should be valid for a longer time, as only the current release stays in main directory. Signed-off-by: Jan Luebbe <jluebbe@debian.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Ensure we use the uname/gname fields when extracting tarballsRichard Purdie2011-11-142-1/+90
| | | | | | | | | | When extracting packages onto the target system in particular, we really want to ensure the name fields in the tarball are used over and above the numerical uid/gid values. This patch adds this functionality to opkg and ensures package upgrades work correctly permission wise. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_rpm.bbclass: Enable pre and post install scriptsMark Hatle2011-11-112-1/+161
| | | | | | | | | | | | | | | | | | [YOCTO #1755] We change the want the RPM rootfs install works to install pre and post install scripts. The new method uses a script helper that is invoked by RPM outside of the normal chroot. The wrapper is dynamically generated prior to the install starting. It will check the return code of the script. If the script fails, it will store a copy to be executed on the first system boot. This is similar to the previous mechanism. In addition, a line of debug was added to the scripts as written by package_rpm to list which package and which script for later debugging, if necessary. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* python: bump PRTom Zanussi2011-11-101-1/+1
| | | | | | | Commit 23d2eaf9 ('skip setup.py 'import check' when cross-compiling') neglected bumping the PR, this adds it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-1014-23/+23
| | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Allow use of dash as /bin/shRichard Purdie2011-11-102-2/+13
| | | | | | | | | | | | | | | | | | | | | We've had the check for dash as /bin/sh for a long time. Dash has been around long enough now that most major issues have been identified and fixed from build perspective. This patch fixes a bashism in the openjade-native recipe. It also adjusts libtool so that the header at the script is used and not the value of $SHELL. This is because many Makefiles change $SHELL so dash can get used to execute what is otherwise configured as a bash shell script. Since we don't need to execute scripts this way on any system I'm aware of us building upon, the simplest fix is just to remove $SHELL. With these two changes the dash check can be removed and we can allow builds with dash as /bin/sh Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Note: I know I need to add the description of the libtool change above into the prefix.patch]
* qemu: Ensure an internal qemugl script uses bash as it has bashismsRichard Purdie2011-11-106-6/+6
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: skip setup.py 'import check' when cross-compilingTom Zanussi2011-11-082-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | build_extension() in setup.py, as part of the build process, does an 'import check' on the built extension. The import check in turn dlopen()'s the shared library associated with the extension, which isn't something that makes sense if that library was cross-compiled for a different architecture. This was noticed with an x86_64 target that was compiled with avx support, because it caused 'illegal instruction' exceptions: | /bin/sh: line 1: 14575 Illegal instruction ... -E ./setup.py -q build For other target architectures, it doesn't necessarily cause illegal instruction exceptions, but still fails. For example, on arm, the failure pathway causes this warning: *** WARNING: renaming "cmath" since importing it failed: .../cmath.so: wrong ELF class: ELFCLASS32 This patch to setup.py and the associated recipe changes allow the whole 'import check' logic to be skipped when cross-compiling. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* pseudo: Uprev pseudo to version 1.2Mark Hatle2011-11-084-179/+13
| | | | | | | | | | This adds a new feature, PSEUDO_UNLOAD, which can be used to eliminate overhead of LD_PRELOAD when no longer necessary. Also the, clone(2), support on Linux has been updated to resolve some potential defects in the previous implementation. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* python: improve packagingMartin Jansa2011-11-072-40/+25
| | | | | | | | | | | | | | | * move 2to3 to separate package and include lib2to3 (was in python-misc) * fix pattern for python-unittest (was in python-misc because it's in subdirectory now) * add pydoc_data to python-pydoc (was in python-misc) * add more stuff to smtpd, audio, codecs, ctypes, html, io, json, mime, pickle, stringold, xmlrpc * move all FILES_ details from python recipe to manifest generator so it's in one place * added manual line break in FILES_${PN}-core, because git send-email doesn't like too long lines $ git send-email -1 dfaae65839f0ab23e5b2ae2a68df0f370bca84d2 fatal: /tmp/k8zbDajUNP/0001-python-improve-packaging.patch: 64: patch contains a line longer than 998 characters Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gettext: Switch to disabling nls and reducing -native build dependencies to ↵Richard Purdie2011-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | a set of pre built m4 macros When analysing our build performance, its apparent that binutils-cross takes an age to get built. This is due to its dependencies on flex-native and bison-native which in turn depend on gettext-native. gettext-native is problematic as it has a significant dependency chain of its own and takes an age to build. What is worse is that we never care about the native language support in -native and -cross packages since we always force the C locale. This patch therefore disables nls for all -native packages (its already disabled for -cross) and adds a new gettext-minimal-native package which contains the m4 macros to keep autoconf/automake happy. This means we gain a significant build time speedup by the removal of gettext-native from most dependency chains (only being part of gettext for the target now). For now the LICENCE field says GPLv3, the macros are actually under a FSF MIT like licence so we need to update this part of the patch in due course. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: move mke2fs.conf to e2fsprogs-mke2fs packagePaul Eggleton2011-10-311-2/+2
| | | | | | | mke2fs.conf, which contains defaults for filesystem formatting options, ought to be shipped along with mke2fs itself. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* Add new strace-graph package to avoid making perl a dependecy for all of straceMatthew McClintock2011-10-311-1/+3
| | | | | Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: bump PR after python upgradeMartin Jansa2011-10-3113-12/+13
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python-2.7.2: fix build issues when additional modules are linked against ↵Martin Jansa2011-10-311-0/+1
| | | | | | | | | host or native libpython instead of target * -L. is needed to find right libpython * -L${STAGING_LIBDIR} is needed ie for python-zlib to find right zlib Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* update python 2.7 manifestNitin A Kamble2011-10-311-1/+1
| | | | | | | | | script: add needed files into the python-core package regenerate python-2.7-manifest.inc file with newer script Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python: update generate-manifest for 2.7 version and regenerate itMartin Jansa2011-10-311-62/+62
| | | | | | * it needs to be regenerated to actually package something Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python, python-native: upgrade from 2.6.6 to 2.7.2Nitin A Kamble2011-10-3112-451/+417
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rebased these patches to the newer code modified: python-native/nohostlibs.patch modified: python/01-use-proper-tools-for-cross-build.patch modified: python/06-avoid_usr_lib_termcap_path_in_linking.patch modified: python/06-ctypes-libffi-fix-configure.patch modified: python/multilib.patch Deleted these patches are the are now upstream deleted: python/02-remove-test-for-cross.patch deleted: python/security_issue_2254_fix.patch Added this patch to python-native new file: python-native/multilib.patch Updated site config file for python modified: ../../site/common-linux : add ac_cv_have_long_long_format for python avoid this error in python: Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG" Updated default python version modified: ../../conf/distro/include/default-versions.inc Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Add readline as dependecy for gdb-cross-canadianMatthew McClintock2011-10-272-2/+2
| | | | | | | | Got errors that we were unable to find -lreadline, this fixed the issue Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtools: upgrade to 4.0.17Scott Garman2011-10-271-2/+2
| | | | Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* libxml-parser-perl, libxml-simple-perl, expat, sgmlspl-native, git: bump PR ↵Martin Jansa2011-10-254-3/+5
| | | | | | | | | to rebuild after perl upgrade * this isn't probably complete list.. just what failed here Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Backport fix for PR32219Khem Raj2011-10-242-1/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fix is needed for gold to work. Otherwise connman fails to build since it used hidden weak symbols. See http://gcc.gnu.org/bugzilla/PR32219 http://www.cygwin.com/ml/binutils/2008-02/msg00239.html The fix proposed to gcc had reviews which were not addressed hence the patch is not yet applied to gcc upstream. connman can also have workaround by changing the visibility of these symbols to be default __attribute__ ((weak, visibility("hidden"))) to __attribute__ ((weak, visibility("default"))) in include/plugin.h Signed-off-by: Khem Raj <raj.khem@gmail.com>
* subversion-1.6.15: add native support tooMartin Jansa2011-10-241-0/+2
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* squashfs-tools: add recipeCliff Brake2011-10-241-0/+40
| | | | added xz compression option, general cleanup
* perl: upgrade from 5.12.3 to 5.14.2Nitin A Kamble2011-10-2492-8643/+1949
| | | | | | | | | | | parallel build fix patches are not needed as they are upstream now. Got a new set of debian patch set for 5.14.2 perl-rpdepends: fix the autogenerated rdepends mistakes take out some mdoules which are not going to be built. [Saul Wold: Remove debug] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* gcc-configure-sdk: Point sysroot to correct locationKhem Raj2011-10-241-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils-cross-canadian: Point sysroot to correct locationKhem Raj2011-10-242-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tcl: upgrade from 8.5.9 to 8.5.10Nitin A Kamble2011-10-243-28/+20
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* ccache: update to 3.1.6Wenzong Fan2011-10-202-8/+8
| | | | | | Update ccache to 3.1.6 from 3.1.5. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
* liburi-perl: update to 1.59Kang Kai2011-10-201-3/+3
| | | | | | Update liburi-perl to 1.59 Signed-off-by: Kang Kai <kai.kang@windriver.com>
* libxml-parser-perl: upgrade from 2.40 to 2.41Nitin A Kamble2011-10-201-3/+3
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* python-dbus: upgrade from 0.83.2 to 0.84.0Nitin A Kamble2011-10-201-2/+2
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* python-scons: upgrade from 2.0.1 to 2.1.0Nitin A Kamble2011-10-202-5/+4
| | | | | | the LICENSE.txt has added 2011 year to the copyright line he nce the MD5 sum is different. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* gcc-4.6: Backport PR46934 fixKhem Raj2011-10-192-1/+394
| | | | | | | | | We have been hitting this issue on ARM/thumb and have a workaround in place to compile samba http://git.openembedded.org/openembedded/commit/recipes/samba/samba_3.2.15.bb?id=4ba7aa07c0dcd28f94515ff9927e2a04403fcf15 This backport should fix the gcc bug Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.6: Upgrade SRCREV to latest FSF 4.6 branchKhem Raj2011-10-191-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmake : Disable building ccmake.Philip Balister2011-10-171-1/+2
| | | | | | | | ccmake fails to build due to an as-needed type error with -ltinfo. Disable it for now since the build fails and cmake is what we need for target sdk. Signed-off-by: Philip Balister <philip@balister.org>
* qemu.inc: qemu-native also needs glib-2.0 nativeSaul Wold2011-10-141-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rsync: Update to 3.0.9Saul Wold2011-10-141-2/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* qemu.inc: Add glib-2.0-nativesdk to qemu-nativesdk DEPENDSKhem Raj2011-10-141-1/+1
| | | | | | QEMU starting version 0.15 needs glibc-2.0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qemu-0.15: Add recipe and forward port patches from 0.14Khem Raj2011-10-1417-0/+35081
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autoconf: no need to hardcode the full path to m4Christopher Larson2011-10-141-1/+3
| | | | | | | This way autom4te uses m4 as it finds it in the PATH, rather than hardcoding any particular path. Signed-off-by: Christopher Larson <kergoth@gmail.com>
* Import python-setuptools from meta-oe (for glib-2.0)Richard Purdie2011-10-141-0/+31
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Drop old version 4.5.1Richard Purdie2011-10-1267-10389/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-argparse: import from meta-oe, needed for newer glibMartin Jansa2011-10-111-0/+15
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* git: update to 1.7.7Koen Kooi2011-10-112-10/+10
| | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Allow user mode NFS server to run without rpcbind / portmapJason Wessel2011-10-102-1/+36
| | | | | | | | | | | | | and nfsroot mount without the need to talk to an RPC info server as long as the port numbers for mountd and nfsd are known in advance. This patch updates the qemu startup scripts and the user mode NFS server to have the ability to start without the need to use rpcbind or portmap services. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc/binutils: Disable NLS/gettext dependenciesRichard Purdie2011-10-105-3/+19
| | | | | | | | | | | | | We force the C locale when running builds for determinstic error messages. We therefore have no need to NLS support in binutils cross or gcc cross. We also don't need the standard base/autotools dependencies for our toolchain components since we don't autoreconf these. This patch turns off nls and cleans up some of the dependencies resulting in a slightly less convoluted set of build dependencies. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt-demo-init/linux-firmware/adt-installer: Convert to Use allarch class fileRichard Purdie2011-10-101-2/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>