From patchwork Sat Dec 21 00:06:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182333 Delivered-To: patch@linaro.org Received: by 2002:a92:1f98:0:0:0:0:0 with SMTP id f24csp1203001ilf; Fri, 20 Dec 2019 16:08:53 -0800 (PST) X-Google-Smtp-Source: APXvYqwdLZ3OfKfK+khigljdFRy1zi9ZwZhcG473s7f3UX8y+rpvGsxuLsuuYmk3IaZZ0IqDCreq X-Received: by 2002:a62:18f:: with SMTP id 137mr19060909pfb.84.1576886933763; Fri, 20 Dec 2019 16:08:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576886933; cv=none; d=google.com; s=arc-20160816; b=AyA/tLo4AWkDV7nHhsrvbkcTJn5qcuBb4LbFLUf9Ws9pvDc/Ojj4z5ewcNvtZbwcON Czb8UglxxcNzfpm5y7/vsrV2mMKhz9Ubfe5Vt5FUrYcS5FKQCAAfnZ/2fPbE3b9bQaed xVu0x0VTkFyeQc1C4FYIO9D0ochBpUmS1RhKJVNjJ/4QpwsujtJEGenqmlMJuuqcta1B Sy5SNeWFe55yo63QH91N0E/cbeXyBdOZhZS7cLnBcJ7shwo7POVwzW635nLzyBadbjMn v23six+8L3Y3/yNnLU7pW0hyJpY/mVZj4gr9c39D4SdrBnMY9Fw2xYFQOQQ3AcbrBIUl IF2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=qF6UYd9Kuz9llm+s19hiar6r1jFkz/k4GcLzmRkD0+c=; b=tPbf8ee3ZO2OlkNvAuR3J3GA9EF7f5Nc1mKE+/a4IZhLqlnK+yHgQ7z8PygXcmLkP4 4x2IAytaiIvDsOrSZG5wolXkLPTsY7AKNBGj+AKFYFD1UIqDKt64+2kVvgMwuv6Gp7Y0 yK7WJyV6AqFTKKLoENjCsRZVuO31D74Ctd5/AQvtICPAS/z+T3/UYwSuFj/iR4fK4c7d Ri3VUL8rNXMm7KtDT3Jae7r+slPT/nDOE7rKgrKSyRfXKLxcM3PL9y1QQfYI77jwRYvZ 1hT0Pwmlo2AKdqx9qdAxJaBDXUJ7fFAN/7qJU3wgWG1+2TEctIeqllOi1Bn3B64O/1au gIiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=CvhorsGi; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id c3si10259432pfn.119.2019.12.20.16.08.53; Fri, 20 Dec 2019 16:08:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=@gmail.com header.s=20161025 header.b=CvhorsGi; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C03727FD61; Sat, 21 Dec 2019 00:07:50 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mail.openembedded.org (Postfix) with ESMTP id 39B8660291 for ; Sat, 21 Dec 2019 00:06:54 +0000 (UTC) Received: by mail-pf1-f173.google.com with SMTP id q10so6085118pfs.6 for ; Fri, 20 Dec 2019 16:06:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WyndIC6jNPS/ejACvDc+WbJoSO81LH2FnlxhLSHMw5Y=; b=CvhorsGiJWwKSLObYsa5Ph3eOaxN9cwGKlcz/8NStF69HvChw2SIQV9gBpwDhNlFOz 3MjS07WnbVcKnq/yWJI5QwMHzmCwLydOSwtbQFgk3hmiGyh+1j8K8iZP5+QxgmA6/UG+ FWf3ZMXwq4iwaDSMCv3dyYWo9nVLkmb594KqTpSWwf2bJVtZ8vH+aXyYs+83r+XPMbph hP9baiNcIrkvyUUzyV+ePZIfh2CgQMDPqrQZsITF5UyIdDPq1Ajj6HDMof/T/aTEwXlu mfANY7dtSfBRxM+PzuzX/7lNat7o5FgX4EoJgqsucnya3vssUQrFkwJsceFb7bcuerPq 6t1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WyndIC6jNPS/ejACvDc+WbJoSO81LH2FnlxhLSHMw5Y=; b=uH6cmukcPVwstnsrWpmH7MaI+SuVOZXyRXrMpZKkLRR/De/x0+VgKhhxGfgXkdBqMg oDTNNHSpTq3SxdhMkE+WYN25Cwq4gsw+GjgIJPJ469CU72Ns8GMTh6ixl62DKUZMqaET bSaiYHqekjfoRiAo+VE0JhafUshjRZUqysppCpAb6/aMf9eAiAzm4lo/c4EO7i29CIQL Gb8rGLeTSNdjh1Ko3bJy7sxraf6eE1PXK654D449swqe9FO67f7INOfnADjB119p0W71 6Ab7TKReqJlnj4li2aaRCEceFWB1Sra5yWwYgX0ruzOVmTWK28hdGBeE8ShIrsHEYkiD miTg== X-Gm-Message-State: APjAAAV5c/3mzCpDpfe6iE1gk6dmCReJWYf8jnDvn/m9K7bKGgKvK1ln G1sPN5tWMimB3goXcmY+Q4w3YeKWZqs= X-Received: by 2002:a65:640e:: with SMTP id a14mr16360740pgv.402.1576886814905; Fri, 20 Dec 2019 16:06:54 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::36e9]) by smtp.gmail.com with ESMTPSA id d4sm11701624pjz.12.2019.12.20.16.06.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2019 16:06:54 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 20 Dec 2019 16:06:23 -0800 Message-Id: <20191221000635.1573390-11-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191221000635.1573390-1-raj.khem@gmail.com> References: <20191221000635.1573390-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 11/23] websocketapp: Fix multilib build X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Fixes ERROR: websocketpp-0.8.1-r0 do_package: QA Issue: websocketpp: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/cmake /usr/lib/cmake/websocketpp /usr/lib/cmake/websocketpp/websocketpp-configVersion.cmake /usr/lib/cmake/websocketpp/websocketpp-config.cmake Signed-off-by: Khem Raj --- .../0001-cmake-Use-GNUInstallDirs.patch | 35 +++++++++++++++++++ .../websocketpp/websocketpp_0.8.1.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644 meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0001-cmake-Use-GNUInstallDirs.patch -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0001-cmake-Use-GNUInstallDirs.patch b/meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0001-cmake-Use-GNUInstallDirs.patch new file mode 100644 index 0000000000..0ef2e12375 --- /dev/null +++ b/meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0001-cmake-Use-GNUInstallDirs.patch @@ -0,0 +1,35 @@ +From 771d79eeb0ac5079482a4b3a131bbda744793e7d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 19 Dec 2019 20:07:11 -0800 +Subject: [PATCH] cmake: Use GNUInstallDirs + +Helps install cmakefiles in right libdir + +Upstream-Status: Submitted [https://github.com/zaphoyd/websocketpp/pull/854] +Signed-off-by: Khem Raj +--- + CMakeLists.txt | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2786aba..080be3e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -39,11 +39,13 @@ endif() + + set_property(GLOBAL PROPERTY USE_FOLDERS ON) + ++include(GNUInstallDirs) ++ + set(INSTALL_INCLUDE_DIR include CACHE PATH "Installation directory for header files") + if (WIN32 AND NOT CYGWIN) + set (DEF_INSTALL_CMAKE_DIR cmake) + else () +- set (DEF_INSTALL_CMAKE_DIR lib/cmake/websocketpp) ++ set (DEF_INSTALL_CMAKE_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/websocketpp) + endif () + set (INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation directory for CMake files") + +-- +2.24.1 + diff --git a/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb b/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb index 551621708c..05f14d2f42 100644 --- a/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb +++ b/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb @@ -8,6 +8,7 @@ DEPENDS = "openssl boost zlib" SRC_URI = "git://github.com/zaphoyd/websocketpp.git;protocol=https \ file://0001-Replace-make_shared-with-new-in-some-cases.patch \ file://0002-Fix-missed-entries-fix-testing.patch \ + file://0001-cmake-Use-GNUInstallDirs.patch \ " # tag 0.8.1