Return-Path: Received: from mail-ee0-f48.google.com (mail-ee0-f48.google.com [74.125.83.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6612CE0143A for ; Thu, 6 Dec 2012 06:03:53 -0800 (PST) Received: by mail-ee0-f48.google.com with SMTP id b57so4044027eek.35 for ; Thu, 06 Dec 2012 06:03:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=g/TndKq9Fi6mbBzKi77O46dqR9oh1C0KSSIgS4e3WKA=; b=G2VBnu0gW5VQj3/bb5anz2Sf3VXr3H41vw8xI6U1E2e2lw2QhTPv6m9vRcdtVbM9/6 nmYrSYHMzlqUTdhKixnf/A8BUBY/UxG9QSYmc2ORo/MjuxyN26FNfZw/cuOnTikjnWTh bOJSm45IUe3DnTi0vZvWv/PKuo6hTyo30r7QA8GXuLrlAyOawgCHmVf2rCQj8jccm+h5 xZZdhm5t8j6I/OcEFAc2lQAc6v06HR/WNBL7wOzNj8euzDJ7Mtyz4+3fjCncU8Q0YFVu 8kcR5O6c2+27sn6n91ZpCTK4s8a4boopgQN8Uj6PBq0g258Ax7nHfUhqBiEmZZNttL+H sMzQ== Received: by 10.14.208.137 with SMTP id q9mr6019730eeo.28.1354802632599; Thu, 06 Dec 2012 06:03:52 -0800 (PST) Received: from nysan (sestofw01.enea.se. [192.36.1.252]) by mx.google.com with ESMTPS id k4sm9671809eep.15.2012.12.06.06.03.50 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Dec 2012 06:03:51 -0800 (PST) Received: by nysan (Postfix, from userid 1000) id 8C026400CD7; Thu, 6 Dec 2012 15:03:48 +0100 (CET) From: david.c.nystrom@gmail.com To: meta-virtualization@yoctoproject.org Date: Thu, 6 Dec 2012 15:03:08 +0100 Message-Id: <1354802601-10840-2-git-send-email-david.c.nystrom@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1354802601-10840-1-git-send-email-david.c.nystrom@gmail.com> References: <1354802601-10840-1-git-send-email-david.c.nystrom@gmail.com> MIME-Version: 1.0 Subject: [PATCHv3 01/14] Added protobuf-c criu dependency X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 14:03:53 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: David Nyström --- recipes-containers/criu/files/disable_tests.patch | 19 +++++++++++++++++++ recipes-containers/criu/protobuf-c_0.15.bb | 20 ++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 recipes-containers/criu/files/disable_tests.patch create mode 100644 recipes-containers/criu/protobuf-c_0.15.bb diff --git a/recipes-containers/criu/files/disable_tests.patch b/recipes-containers/criu/files/disable_tests.patch new file mode 100644 index 0000000..dac8942 --- /dev/null +++ b/recipes-containers/criu/files/disable_tests.patch @@ -0,0 +1,19 @@ +diff -Naur protobuf-c-0.15.old/src/Makefile.am protobuf-c-0.15/src/Makefile.am +--- protobuf-c-0.15.old/src/Makefile.am 2012-11-28 14:59:57.845251943 +0100 ++++ protobuf-c-0.15/src/Makefile.am 2012-11-28 15:00:23.549252632 +0100 +@@ -1,5 +1,5 @@ + if BUILD_PROTOC_C +-SUBDIRS = . test ++ + bin_PROGRAMS = protoc-c + protoc_c_SOURCES = \ + google/protobuf/compiler/c/c_service.cc \ +@@ -23,7 +23,7 @@ + lib_LTLIBRARIES = libprotobuf-c.la + protobufcincludedir = $(includedir)/google/protobuf-c + +-EXTRA_DIST = CMakeLists.txt test/CMakeLists.txt ++EXTRA_DIST = CMakeLists.txt + + libprotobuf_c_la_SOURCES = \ + google/protobuf-c/protobuf-c-dispatch.c \ diff --git a/recipes-containers/criu/protobuf-c_0.15.bb b/recipes-containers/criu/protobuf-c_0.15.bb new file mode 100644 index 0000000..d9d4fd9 --- /dev/null +++ b/recipes-containers/criu/protobuf-c_0.15.bb @@ -0,0 +1,20 @@ +SUMMARY = "protobuf-c" +DESCRIPTION = "This package provides a code generator and runtime libraries to use Protocol Buffers from pure C" +HOMEPAGE = "http://code.google.com/p/protobuf-c/" +SECTION = "console/tools" +LICENSE = "Apache-2.0" + +LIC_FILES_CHKSUM = "file://src/google/protobuf-c/protobuf-c.c;endline=33;md5=333140fae7cf8a38dc5f980ddb63704b" + +PR = "r0" + +DEPENDS = "protobuf" + +SRC_URI[md5sum] = "73ff0c8df50d2eee75269ad8f8c07dc8" +SRC_URI[sha256sum] = "8fcb538e13a5431c46168fc8f2e6ad2574e2db9b684c0c72b066e24f010a0036" +SRC_URI = "http://protobuf-c.googlecode.com/files/protobuf-c-${PV}.tar.gz \ + file://disable_tests.patch" + +inherit autotools + +BBCLASSEXTEND = "native nativesdk" \ No newline at end of file -- 1.7.9.5