From patchwork Thu Jul 26 23:00:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 143000 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp132902ljj; Thu, 26 Jul 2018 16:01:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpei34nMHh2mckeGqBMwigE5VZBiUEe4St4PJNa6hu0vayY7ltXO3YFZMY5siGQhqe6UB29/ X-Received: by 2002:a65:4587:: with SMTP id o7-v6mr3699212pgq.317.1532646086924; Thu, 26 Jul 2018 16:01:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532646086; cv=none; d=google.com; s=arc-20160816; b=upfmQmtGLUXAHVLFLezmKkVOqWR68UO3mOfXw6SL3i7oRWH9QqLVA4GJik9ePGS5ij 56pu7y/HuoSYmxWUMJiZCHz8L+s1C5vqPzpwhxwuFjNvhRu1imqEwS5cdnWzfD6wCx7a D6NEsdBZ2ybvtxZFtjLoFoljxWxIzHs9HqaTcqGvStJDk5sm5Vk3hey+Blk/ACXKY87c F5Urlm1UBBsZSBRiMSeGJFsI31yxek7y6uw78kC+snpxIlWjIimZrLeuGK8qIidUXxfH dMWQRMpfugWfwl0zmyx4YVvknMURhUoRE55TRh+FBSR7X+65vTb+9ztAzTeOfqhGmxkz RX3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=YnZDx1Q79oj92N4Wq5nylWuHChqLRcuA2CdTNj/ybMw=; b=J0y6fvPolbJnkwAiw4puiU00pLG6Iji5idjQ/yZRgEI1c20LJZlj69OWpSx08i7S5p 1qBqP/E8+XRL8+T7nYIpZeZIdWcEviYtAynMZnnN2b9v5krYUnUypOlQezelboiWCVY2 YcNvdfDmsfg1RklcacHML97CqD5f45dkT1EyAyfXkv7NTGtHqoQRGqby2Bw26qXeImnh OofVoeOYNZKSO1RjY4FJskGmuK6QILcVYrvVOUl2zvA1gi0M36gMHQUSwcIPFGy0GpLt G5ZV3L0LnPxMU/278Vn+UY4tCRoHp2ent7IscIVPes5BSIcs7v6iDWwj2Z52qZSX4MGb NwvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b="sR/CZ3sM"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id r69-v6si2487575pfl.260.2018.07.26.16.01.26; Thu, 26 Jul 2018 16:01:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b="sR/CZ3sM"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 09CA578C8A; Thu, 26 Jul 2018 23:01:20 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mail.openembedded.org (Postfix) with ESMTP id 7F6BA78C59 for ; Thu, 26 Jul 2018 23:01:08 +0000 (UTC) Received: by mail-wr1-f43.google.com with SMTP id t13-v6so3227748wrv.12 for ; Thu, 26 Jul 2018 16:01:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=s7ks5XYQ7YszFmygcEhckksWvk7UvligqFoJ3Bpgeig=; b=sR/CZ3sM0jPYA70MuA/V0Kc9Ps0m7JT7dRU8QxRDJkaWV1tD4XO6vm00H3Sa5FYS/3 CNFdNyJ47z10pIWj7OQe7VAGLk56lzrLSwLtDAX55xo6bquUSUgIAyY9p+Gvkc6AOGV8 e+O1marn6CfjppWnHiu7QeedlaVivjQga+XMSexVRS5rdRLxL0iqtdRnatNdAFP4KgUl 1CdYIUZt9WBQjlr6lMYAPyl6p4N/VbTXXJBSRqi/o+eQWRP/1J5rDqc9pFYOM+1cGi5o fZ4merZjiWBzCmuvgl+qr+O/MviXcgB7Bh8MbHD5KA1eGshqepXjSOqfSMlnhV/tchGu naKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=s7ks5XYQ7YszFmygcEhckksWvk7UvligqFoJ3Bpgeig=; b=JkabmqER1eY/JjUbbqbZMIAHgYM/3UnllbCpqkuhLvVkUWE9Lpa2u2aSoVmRQG6tT1 e4VrN+dNsPElh+CJRB/2N1jAUASWkLmXlXrCXIcNz5nzZaI59Da3fki/YJxZoiyOxRYp /f4EzHjeFgugHh3tleMsE0ZUOla1fZxxJxz9k04KHBiINyFsW8zjasFStYC/fjvTvO2o mbr4gXZdjOcHWbzKQW/HpFxbCr7/4Z7v+pKsTPmfn/6oKP/S9V2TCXYV04BB8hejHa9C J7Dw6zi2u4M7SekhGperdDqv4y6W/TGi4HHD7u5wGfYjyKkNWE9tJ+2QbUT1YFyMKpMU nPww== X-Gm-Message-State: AOUpUlE/UGw8CQe1kBrMZKR54J+9O6yAbu5zFjaZGMPB+i4p7W12oOMR dDUHHYvyvtkWIC9CbJSdPRApbAVpwcQ= X-Received: by 2002:a5d:494c:: with SMTP id r12-v6mr2948582wrs.66.1532646068925; Thu, 26 Jul 2018 16:01:08 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id h7-v6sm1948532wmb.48.2018.07.26.16.01.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 16:01:08 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 27 Jul 2018 00:00:58 +0100 Message-Id: <20180726230100.6629-3-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180726230100.6629-1-ross.burton@intel.com> References: <20180726230100.6629-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 3/5] dbus-glib: merge bb and inc X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- meta/recipes-core/dbus/dbus-glib.inc | 37 ------------------------------- meta/recipes-core/dbus/dbus-glib_0.110.bb | 37 ++++++++++++++++++++++++++++++- 2 files changed, 36 insertions(+), 38 deletions(-) delete mode 100644 meta/recipes-core/dbus/dbus-glib.inc -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/dbus/dbus-glib.inc b/meta/recipes-core/dbus/dbus-glib.inc deleted file mode 100644 index 16dbf4f08a1..00000000000 --- a/meta/recipes-core/dbus/dbus-glib.inc +++ /dev/null @@ -1,37 +0,0 @@ -SUMMARY = "High level language (GLib) binding for D-Bus" -DESCRIPTION = "GLib bindings for the D-Bus message bus that integrate \ -the D-Bus library with the GLib thread abstraction and main loop." -HOMEPAGE = "http://www.freedesktop.org/Software/dbus" -LICENSE = "AFL-2 | GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=cf5b3a2f7083750d504333114e738656 \ - file://dbus/dbus-glib.h;beginline=7;endline=21;md5=7755c9d7abccd5dbd25a6a974538bb3c" -SECTION = "base" - -DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" -DEPENDS_class-native = "glib-2.0-native dbus-native" - -SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \ - file://no-examples.patch \ - file://test-install-makefile.patch \ -" - -inherit autotools pkgconfig gettext bash-completion gtk-doc - -#default disable regression tests, some unit test code in non testing code -#PACKAGECONFIG_pn-${PN} = "tests" enable regression tests local.conf -PACKAGECONFIG ??= "" -PACKAGECONFIG[tests] = "--enable-tests,,," - -EXTRA_OECONF_class-target = "--with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" - -PACKAGES += "${PN}-tests" - -FILES_${PN} = "${libdir}/lib*${SOLIBS}" -FILES_${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" -FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" -FILES_${PN}-dev += "${bindir}/dbus-binding-tool" - -RDEPENDS_${PN}-tests += "dbus-x11" -FILES_${PN}-tests = "${datadir}/${BPN}/tests" - -BBCLASSEXTEND = "native" diff --git a/meta/recipes-core/dbus/dbus-glib_0.110.bb b/meta/recipes-core/dbus/dbus-glib_0.110.bb index 81205050105..b7383bd2a6b 100644 --- a/meta/recipes-core/dbus/dbus-glib_0.110.bb +++ b/meta/recipes-core/dbus/dbus-glib_0.110.bb @@ -1,4 +1,39 @@ -require dbus-glib.inc +SUMMARY = "High level language (GLib) binding for D-Bus" +DESCRIPTION = "GLib bindings for the D-Bus message bus that integrate \ +the D-Bus library with the GLib thread abstraction and main loop." +HOMEPAGE = "http://www.freedesktop.org/Software/dbus" +LICENSE = "AFL-2 | GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=cf5b3a2f7083750d504333114e738656 \ + file://dbus/dbus-glib.h;beginline=7;endline=21;md5=7755c9d7abccd5dbd25a6a974538bb3c" +SECTION = "base" +DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" +DEPENDS_class-native = "glib-2.0-native dbus-native" + +SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \ + file://no-examples.patch \ + file://test-install-makefile.patch \ +" SRC_URI[md5sum] = "d7cebf1d69445cbd28b4983392145192" SRC_URI[sha256sum] = "7ce4760cf66c69148f6bd6c92feaabb8812dee30846b24cd0f7395c436d7e825" + +inherit autotools pkgconfig gettext bash-completion gtk-doc + +#default disable regression tests, some unit test code in non testing code +#PACKAGECONFIG_pn-${PN} = "tests" enable regression tests local.conf +PACKAGECONFIG ??= "" +PACKAGECONFIG[tests] = "--enable-tests,,," + +EXTRA_OECONF_class-target = "--with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" + +PACKAGES += "${PN}-tests" + +FILES_${PN} = "${libdir}/lib*${SOLIBS}" +FILES_${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" +FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" +FILES_${PN}-dev += "${bindir}/dbus-binding-tool" + +RDEPENDS_${PN}-tests += "dbus-x11" +FILES_${PN}-tests = "${datadir}/${BPN}/tests" + +BBCLASSEXTEND = "native"