From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6514905122814820352 X-Received: by 10.25.34.81 with SMTP id i78mr776832lfi.24.1516870893031; Thu, 25 Jan 2018 01:01:33 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.151.15 with SMTP id z15ls1326483lfd.14.gmail; Thu, 25 Jan 2018 01:01:32 -0800 (PST) X-Google-Smtp-Source: AH8x227fKAOMWR8BeLr51i5dECcLdnnGmGNFyLB9jw53ESObEzuFJfZ/bvx0T1hBa3grNZYBPvR4 X-Received: by 10.25.163.211 with SMTP id m202mr847225lfe.23.1516870892310; Thu, 25 Jan 2018 01:01:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516870892; cv=none; d=google.com; s=arc-20160816; b=fk5qL2ZvnvK5eTa4aKx1ozqKobeaa9h+Hs2U4AlmBDI2sviDLM4X70CVz3S7QAxZJL 9AZycWcC13/dzaf52fbAbvctnvt7LfhcZnFr0QQ9qPWrZkh1pV4tcWGcvTgebVDlfs8g VS9fBFAthl4vbMFvP9AoSJZeqezAB1vomwaGPH69f1r+Px8DCONQpbUilygwXyHCdjhC kxbdR6ZckrSVEwvPl58POWde63FLemRWd3K8b3iB0+TcsjPF7pAUPZGH+2UWY75nDebr F/QrdkTN6TpQZjV6jhZwYCL2StWG/1lZz1PND1+EhowfBAQUZUIwOmZJGdz6UHKjVZUD SIIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=oKAuTs9riMMoFeITfIBvcEmEXrTV4Rk0GUfR+5UrI7M=; b=fFsY6ZrCeN6VbD40FE7+qSxlCCmksnomVxEagGI6VC8CynKy1+1KAAcinXrjUCEM1r XRwnxsWm9nw+xmAlYmtkDYzb51btjzbDFt8Ejd4G4XuXbUP/+P2bmyOXveGYP90x0bTM Fqdl4tfxUjHdTs8ndglO6RJanCvzlVjkhuU9/NZn+4BapjHspCwVCmWnmsZLBP0LKq02 /rZ0/YrYaG9lmj5IZx6NZiE8tJEO8H9nVenxkvf9xSFOLCi1bbMbRZaAxnlIJRdXDtA+ 9jBTe5+bPpQV38dv42eXaVyhFaAEBXmz3U7ayCf4cJvSLuwU9BvD+t99UFiXBNjA4fMi h+Ng== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id y16si205958lje.2.2018.01.25.01.01.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jan 2018 01:01:31 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w0P91RLK022499 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Jan 2018 10:01:27 +0100 Received: from md1f2u6c.ww002.siemens.net ([167.87.0.202]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w0P91OoF020419; Thu, 25 Jan 2018 10:01:25 +0100 Subject: Re: [PATCH 3/3] libhello: Add libhello To: Alexander Smirnov , isar-users@googlegroups.com References: <20180125083851.5887-1-asmirnov@ilbers.de> <20180125083851.5887-4-asmirnov@ilbers.de> From: Jan Kiszka Message-ID: <04dedcd3-4920-f829-0148-e519ebd24eb5@siemens.com> Date: Thu, 25 Jan 2018 10:01:23 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <20180125083851.5887-4-asmirnov@ilbers.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: Et/LIl7CX+Hq On 2018-01-25 09:38, Alexander Smirnov wrote: > 'libhello' package intended to demonstrate Isar build dependencies between > recipes. > > Signed-off-by: Alexander Smirnov > --- > meta-isar/recipes-app/example-hello/example-hello.bb | 7 +++++-- > meta-isar/recipes-app/libhello/libhello.bb | 18 ++++++++++++++++++ > 2 files changed, 23 insertions(+), 2 deletions(-) > create mode 100644 meta-isar/recipes-app/libhello/libhello.bb > > diff --git a/meta-isar/recipes-app/example-hello/example-hello.bb b/meta-isar/recipes-app/example-hello/example-hello.bb > index 114ee85..19f9d69 100644 > --- a/meta-isar/recipes-app/example-hello/example-hello.bb > +++ b/meta-isar/recipes-app/example-hello/example-hello.bb > @@ -8,10 +8,13 @@ DESCRIPTION = "Sample application for ISAR" > LICENSE = "gpl-2.0" > LIC_FILES_CHKSUM = "file://${LAYERDIR_isar}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe" > > -PV = "0.1+g7f35942-1" > +PV = "0.2" > + > +DEPENDS += "libhello" Should be marked as workaround. How hard would it be do extend dpkg[-base?].class with some "DEPENDS += "${@ get_deps_from_debian_control()}"? We probably also need some translation from the debian package name / aliases into bitbake PROVIDES variables. Jan > > SRC_URI = "git://github.com/ilbers/hello.git;branch=devel;protocol=https" > -SRCREV = "5c0ae73fdc97d80b6726e602a1fa0ef00c2c012a" > +SRCREV = "ffca497b3f8157efe3eb6fab97a88045142591ae" > + > > SRC_DIR = "git" > > diff --git a/meta-isar/recipes-app/libhello/libhello.bb b/meta-isar/recipes-app/libhello/libhello.bb > new file mode 100644 > index 0000000..4caaf2d > --- /dev/null > +++ b/meta-isar/recipes-app/libhello/libhello.bb > @@ -0,0 +1,18 @@ > +# Sample shared library > +# > +# This software is a part of ISAR. > +# Copyright (C) 2017-2018 ilbers GmbH > + > +DESCRIPTION = "Sample shared library for ISAR" > + > +LICENSE = "gpl-2.0" > +LIC_FILES_CHKSUM = "file://${LAYERDIR_isar}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe" > + > +PV = "0.1" > + > +SRC_URI = "git://github.com/alexbluesman/libhello.git;protocol=https" > +SRCREV = "1671f0287fe0bca8937f687f53a3bd05c9e2d9c2" > + > +SRC_DIR = "git" > + > +inherit dpkg >