From 7764d0b2511db7890a3bd6a6839a0f59145d0adf Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva Seabra Date: Wed, 16 Jun 2010 09:56:53 +0200 Subject: json-c: add recipe for json C library Signed-off-by: Martin Jansa --- recipes/json-c/json-c_0.9.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes/json-c/json-c_0.9.bb diff --git a/recipes/json-c/json-c_0.9.bb b/recipes/json-c/json-c_0.9.bb new file mode 100644 index 0000000000..1619485622 --- /dev/null +++ b/recipes/json-c/json-c_0.9.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "json C library" +HOMEPAGE = "http://oss.metaparadigm.com/json-c/" +AUTHOR = "Michael Clark and C. Watford" +LICENSE = "MIT/X11" +SECTION = "libs" + +SRC_URI = "http://oss.metaparadigm.com/json-c/${P}.tar.gz" + +SRC_URI[md5sum] = "3a13d264528dcbaf3931b0cede24abae" +SRC_URI[sha256sum] = "702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475" + +inherit autotools -- cgit v1.2.3 From 588548bdc61b444de758108bb267a942ffd395dc Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Wed, 16 Jun 2010 10:15:58 +0200 Subject: llvm2.7 2.7: Removed the link patch - its not needed for the CMake-build --- recipes/llvm/llvm2.7/link.patch | 12 ------------ recipes/llvm/llvm2.7_2.7.bb | 5 ++--- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 recipes/llvm/llvm2.7/link.patch diff --git a/recipes/llvm/llvm2.7/link.patch b/recipes/llvm/llvm2.7/link.patch deleted file mode 100644 index 059bd92295..0000000000 --- a/recipes/llvm/llvm2.7/link.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: llvm-2.7/tools/llvm-shlib/Makefile -=================================================================== ---- llvm-2.7/tools/llvm-shlib/Makefile (revision 103711) -+++ llvm-2.7/tools/llvm-shlib/Makefile (working copy) -@@ -56,5 +56,5 @@ - LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) - -Wl,--no-whole-archive - # Don't allow unresolved symbols. -- LLVMLibsOptions += -Wl,--no-undefined -+ LLVMLibsOptions += -lgcc -Wl,--no-undefined - endif - diff --git a/recipes/llvm/llvm2.7_2.7.bb b/recipes/llvm/llvm2.7_2.7.bb index 623f6fa4b8..67633e22b4 100644 --- a/recipes/llvm/llvm2.7_2.7.bb +++ b/recipes/llvm/llvm2.7_2.7.bb @@ -1,20 +1,19 @@ require llvm.inc -PR = "r1" +PR = "r2" DEPENDS = "llvm-common llvm2.7-native" SRC_URI = "\ http://llvm.org/releases/${PV}/llvm-${PV}.tgz \ file://BX_to_BLX.patch \ - file://link.patch \ " EXTRA_OECMAKE += "\ -DLLVM_TARGET_ARCH:STRING=${LLVM_ARCH} \ -DLLVM_ENABLE_ASSERTIONS:BOOL=ON \ - -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ + -DBUILD_SHARED_LIBS:BOOL=ON \ " LLVM_RELEASE = "2.7" -- cgit v1.2.3 From fe6e78787087c203fc53079e236bc8310a8c370f Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 16 Jun 2010 10:28:23 +0200 Subject: json-c: move and rename to libjson as older version was * also convert old version to new staging Signed-off-by: Martin Jansa --- recipes/json-c/json-c_0.9.bb | 12 ------------ recipes/libjson/libjson_0.6.bb | 6 +----- recipes/libjson/libjson_0.9.bb | 13 +++++++++++++ 3 files changed, 14 insertions(+), 17 deletions(-) delete mode 100644 recipes/json-c/json-c_0.9.bb create mode 100644 recipes/libjson/libjson_0.9.bb diff --git a/recipes/json-c/json-c_0.9.bb b/recipes/json-c/json-c_0.9.bb deleted file mode 100644 index 1619485622..0000000000 --- a/recipes/json-c/json-c_0.9.bb +++ /dev/null @@ -1,12 +0,0 @@ -DESCRIPTION = "json C library" -HOMEPAGE = "http://oss.metaparadigm.com/json-c/" -AUTHOR = "Michael Clark and C. Watford" -LICENSE = "MIT/X11" -SECTION = "libs" - -SRC_URI = "http://oss.metaparadigm.com/json-c/${P}.tar.gz" - -SRC_URI[md5sum] = "3a13d264528dcbaf3931b0cede24abae" -SRC_URI[sha256sum] = "702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475" - -inherit autotools diff --git a/recipes/libjson/libjson_0.6.bb b/recipes/libjson/libjson_0.6.bb index aefeed3342..edc4fdceda 100644 --- a/recipes/libjson/libjson_0.6.bb +++ b/recipes/libjson/libjson_0.6.bb @@ -3,16 +3,12 @@ HOMEPAGE = "http://oss.metaparadigm.com/json-c/" SECTION = "libs" PRIORITY = "optional" LICENSE = "BSD" -PR = "r0" +PR = "r1" SRC_URI = "http://oss.metaparadigm.com/json-c/json-c-${PV}.tar.gz" S = "${WORKDIR}/json-c-${PV}" inherit autotools -do_stage() { - autotools_stage_all -} - SRC_URI[md5sum] = "2d8b899aeeebbbe68158d25adf8a4f1e" SRC_URI[sha256sum] = "915ee6c4b8f1ffd5313d990875cd44e5e7092a51de259707daca797fd5c42b46" diff --git a/recipes/libjson/libjson_0.9.bb b/recipes/libjson/libjson_0.9.bb new file mode 100644 index 0000000000..2afc923039 --- /dev/null +++ b/recipes/libjson/libjson_0.9.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "json C library" +HOMEPAGE = "http://oss.metaparadigm.com/json-c/" +AUTHOR = "Michael Clark and C. Watford" +LICENSE = "MIT/X11" +SECTION = "libs" + +SRC_URI = "http://oss.metaparadigm.com/json-c/json-c-${PV}.tar.gz" +S = "${WORKDIR}/json-c-${PV}" + +SRC_URI[md5sum] = "3a13d264528dcbaf3931b0cede24abae" +SRC_URI[sha256sum] = "702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475" + +inherit autotools -- cgit v1.2.3 From d93a88d73cc0db0617123d2e40fe804e87690ab5 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Mon, 1 Mar 2010 22:34:57 +0000 Subject: binutils_2.18.atmel.1.0.1.bb : add latest binutils for AVR32 --- .../binutils/binutils-cross_2.18.atmel.1.0.1.bb | 3 +++ recipes/binutils/binutils_2.18.atmel.1.0.1.bb | 23 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 recipes/binutils/binutils-cross_2.18.atmel.1.0.1.bb create mode 100644 recipes/binutils/binutils_2.18.atmel.1.0.1.bb diff --git a/recipes/binutils/binutils-cross_2.18.atmel.1.0.1.bb b/recipes/binutils/binutils-cross_2.18.atmel.1.0.1.bb new file mode 100644 index 0000000000..fa82a3c433 --- /dev/null +++ b/recipes/binutils/binutils-cross_2.18.atmel.1.0.1.bb @@ -0,0 +1,3 @@ +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-2.18" +require binutils_${PV}.bb +require binutils-cross.inc diff --git a/recipes/binutils/binutils_2.18.atmel.1.0.1.bb b/recipes/binutils/binutils_2.18.atmel.1.0.1.bb new file mode 100644 index 0000000000..d08e61cfbb --- /dev/null +++ b/recipes/binutils/binutils_2.18.atmel.1.0.1.bb @@ -0,0 +1,23 @@ +INC_PR = "r8" +PR = "${INC_PR}.2" + +require binutils.inc +LICENSE = "GPLv3" + +SRC_URI = "\ + http://avr32linux.org/twiki/pub/Main/BinutilsPatches/binutils-${PV}.tar.bz2;name=archive \ + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ + file://binutils-configure-texinfo-version.patch;patch=1 \ + file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ + file://110-arm-eabi-conf.patch;patch=1 \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ + file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ + file://binutils-uclibc-gas-needs-libm.patch;patch=1 \ + file://binutils-x86_64_i386_biarch.patch;patch=1 \ + file://binutils-section-in-segment.patch;patch=1;pnum=0 \ + file://parse-neon-vmov.diff;patch=1 \ + " +SRC_URI[archive.md5sum] = "71fb723a456fd902ee785328f0d09cd5" +SRC_URI[archive.sha256sum] = "ea614e9fbec6cb9af08a911660a30991918df44e0328046341f7866ffd2f68d8" + -- cgit v1.2.3 From 102ef5fb54097727aa9a8cbf6dd9217c481bc066 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Fri, 5 Mar 2010 23:03:41 +0000 Subject: linux.inc : remove gcc 4.2.1 "fix" that breaks all modern kernel compiles modern avr32 kernels really need that -mno-pic --- recipes/linux/linux.inc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc index 982a5326fc..e0205890cd 100644 --- a/recipes/linux/linux.inc +++ b/recipes/linux/linux.inc @@ -191,10 +191,6 @@ do_configure_prepend() { yes '' | oe_runmake oldconfig } -do_configure_append_avr32() { - sed -i -e s:-mno-pic::g arch/avr32/Makefile -} - do_configure_append() { if test -e scripts/Makefile.fwinst ; then sed -i -e "s:-m0644:-m 0644:g" scripts/Makefile.fwinst -- cgit v1.2.3 From 770b4b5d0fac7944c5704bc8b54dfaf6021c0a20 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 16 Jun 2010 12:09:18 +0200 Subject: navit: add STAGING_DIR_NATIVE prefix to moc_location returned by pkg-config Signed-off-by: Martin Jansa --- recipes/navit/navit.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/navit/navit.inc b/recipes/navit/navit.inc index 0eb805b388..6f3e63e8c9 100644 --- a/recipes/navit/navit.inc +++ b/recipes/navit/navit.inc @@ -9,7 +9,7 @@ RRECOMMENDS_${PN} = "gpsd ${PN}-dbus ${PN}-speech-cmdline ${PN}-gui-internal ${P RSUGGESTS_${PN} = "flite espeak ${PN}-speech-dbus ${PN}-gui-gtk ${PN}-gui-qml ${PN}-graphics-sdl ${PN}-graphics-qt ${PN}-maptool" PE = "1" -INC_PR = "r7" +INC_PR = "r8" inherit autotools @@ -72,6 +72,8 @@ FILES_${PN}-graphics-gtk = " ${libdir}/${PN}/graphics/libgraphics_gtk_drawing_ar do_configure_prepend() { #Remove xpm building, replaced by icons in own package sed -i 's/\(.*SUBDIRS.*\) xpm\( \|$\)\(.*\)/\1\2\3/g' ${S}/navit/Makefile.am + # MOC=`$PKG_CONFIG QtGui --variable=moc_location` returns only /usr/bin/moc4 which is not available on hosts without Qt + sed -i "s#MOC=#MOC=${STAGING_DIR_NATIVE}#g" ${S}/configure.in } do_install_append() { -- cgit v1.2.3