From patchwork Sun Jun 17 07:54:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 138833 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2689808lji; Sun, 17 Jun 2018 00:54:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJufqkjxs8WAcD1D7g9gkQlk9oNjRO0mjl3V48uXhIezAUeYQB2TEhToElpjFo98ctwYBeX X-Received: by 2002:a17:902:e00a:: with SMTP id ca10-v6mr9166780plb.224.1529222098109; Sun, 17 Jun 2018 00:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529222098; cv=none; d=google.com; s=arc-20160816; b=NtfcGyFy+By69rgGubjidecMWjrbHwGe2ZTAZ+gXkqp6Jx9TNKC8Ktvl34ECl3NFuG sFxiDX4VIYJT+TLi6bkd+h+FQr2T6vk6a9SLopJ7gjMNQqh5h4BgFYUtG/yzx3VYpEpQ Myd/A/zzb1gx7TxoeetSHnkq2l5WqysI86TNFYkrtTEQAcjIsjag425Sqfx/Z2Qjtrce Ta0UWib2dNqF5owTzdB1BIpNYzC7qAR9QtASpLHpuKNC16UQ2PEBWG24mIOn+SvFeqfL ASFmhd1KtKgbdnS5/s8ysyl2lzsGhNj73AV9itnhQ/meZoPcq5YID78z+f8GXi1PxLkp Z8Wg== 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:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=Qut/wUbdvuftPcPdQ+rtzx3oeJ/PyYmEezpm6d3LpcA=; b=AUk1VXpAu/OJzO+bzc4rJpwH7E864Jt11hq5DphS1m90FPRNG9YCwtzQxdXY+sqaXl n/XwlWtNq7WvqpU4xT+knBhAp/8INvbllk4laSxkkDSmI+Bju36GDkfnfFusM4M9LKZ9 FQh938UC29eaJkgzH/7wRQiA/xdDgSNS+YwYb4PKBCijSxGcKl7U/rDL1+hvijhgpaZI YI/MVFPE18myxxR3de6+f/HOaMgzYUZBEeoS0eKK8t3SdbMy2DJkcs4NUPyGeMUH8swm oeh44qCuva+d0+YQWU1EzMS3sYHebeZxpiAjRh2eMTHdCskznhiYYIt5Sa1iWLeV2meK ceCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=VFu2wgl9; 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 b35-v6si12174630plh.36.2018.06.17.00.54.57; Sun, 17 Jun 2018 00:54:58 -0700 (PDT) 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=VFu2wgl9; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0F8E575288; Sun, 17 Jun 2018 07:54:54 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f44.google.com (mail-pl0-f44.google.com [209.85.160.44]) by mail.openembedded.org (Postfix) with ESMTP id BAF70745BC for ; Sun, 17 Jun 2018 07:54:52 +0000 (UTC) Received: by mail-pl0-f44.google.com with SMTP id f1-v6so7425479plt.6 for ; Sun, 17 Jun 2018 00:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=T1VMAzSrgsYHN11EA3EDQsLfDBq0rFMl8hlCI4FFECw=; b=VFu2wgl9kFISJ8PYX+xrcAdTfdq/p7nfr7oun0tqy019eIlUH9XV2Ck0gYeE1x2mnB 5kexOscOEkjxPBipREM77l5a4vBbtFUko+4jjAB9OCOW44PQhiUlfA8nyx7AtHJcQKHv l6yVjh3QNEsi1p0qDDBTDfCuOyhY8yqbwwydbVFEOxsV3eZGAu11gMeIvHcrFhg5jqz8 HSpJAsmFzq3yOgpGxuZVsYwRs5tfCGwjm2TL0Au8vQ+MOeTdulT8VxwLtYkldwCJ+Ksx hZ0fpQNYm/UNtPwkQo1cX4CHa8akrqJcMVsVoYZXCLr4sYGCzur2uABigDggHKOFVFs5 DYRQ== 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; bh=T1VMAzSrgsYHN11EA3EDQsLfDBq0rFMl8hlCI4FFECw=; b=U6h/ZmrwZNC59A+PknZJ3niQvobJCr3i9PJ0nPr8t6QOUkQMiwcZetjFtO7KdlHMKW lEGY4p6CJ3zjK7VrLzyuSxSvZn69Vc5Il1ribtmJgBc1XQILfxC/N+6tj+Z0y43hsUI7 aPtNA0YZJr+F9I8maX36XQfep10Mvpix72alCZFwKFrfMIFDV7Kf6s9n5TjbCZ70pXcu 1mv+eFsJ2aECoQFUj/y+3qYKm/v7sj9BqsQciyASxCk7sBoikzJXft4RkZvF8z0g/1dG KKdoPABCSbF1gn6wO2rWTS0PnzM9ibyZ0TOhlQOreO9RTIq47VyI3tvTmq2hpzxdsYkN pEKw== X-Gm-Message-State: APt69E2uL5KWCm7Jc7oVlkAdc/N5U86aGKQ8gq0kjvoZ74z4zYRUtg9d tkinssXfnIBwNGWpcyfFTON4Zg== X-Received: by 2002:a17:902:88:: with SMTP id a8-v6mr9061898pla.156.1529222093350; Sun, 17 Jun 2018 00:54:53 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::91a0]) by smtp.gmail.com with ESMTPSA id p3-v6sm14538587pga.72.2018.06.17.00.54.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jun 2018 00:54:52 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 17 Jun 2018 00:54:53 -0700 Message-Id: <20180617075454.17209-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [oe] [meta-networking][PATCH 1/2] move cpprest to meta-oe 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: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../cpprest-2.10.2/fix-cmake-install.patch | 59 ------------------- .../recipes-support/cpprest/cpprest_2.10.2.bb | 17 ------ 2 files changed, 76 deletions(-) delete mode 100644 meta-networking/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch delete mode 100644 meta-networking/recipes-support/cpprest/cpprest_2.10.2.bb -- 2.17.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch b/meta-networking/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch deleted file mode 100644 index 56fd704ad7..0000000000 --- a/meta-networking/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch +++ /dev/null @@ -1,59 +0,0 @@ -Description: install cmake files into /usr/lib/cmake/cpprestsdk -Author: Gianfranco Costamagna -Upstream-Status: https://github.com/Microsoft/cpprestsdk/pull/737 -Forwarded: https://github.com/Microsoft/cpprestsdk/pull/737 -Last-Update: 2018-04-19 - -Index: cpprest/CMakeLists.txt -=================================================================== ---- cpprest.orig/CMakeLists.txt -+++ cpprest/CMakeLists.txt -@@ -18,7 +18,6 @@ - set(WERROR ON CACHE BOOL "Treat Warnings as Errors.") - set(CPPREST_EXCLUDE_WEBSOCKETS OFF CACHE BOOL "Exclude websockets functionality.") - set(CPPREST_EXCLUDE_COMPRESSION OFF CACHE BOOL "Exclude compression functionality.") --set(CPPREST_EXPORT_DIR lib/cpprestsdk CACHE STRING "Directory to install CMake config files.") - set(CPPREST_INSTALL_HEADERS ON CACHE BOOL "Install header files.") - set(CPPREST_INSTALL ON CACHE BOOL "Add install commands.") - -@@ -63,6 +62,9 @@ - include(cmake/cpprest_find_openssl.cmake) - include(cmake/cpprest_find_websocketpp.cmake) - include(CheckIncludeFiles) -+if(UNIX) -+include(GNUInstallDirs) -+endif(UNIX) - - find_package(Threads REQUIRED) - if(THREADS_HAVE_PTHREAD_ARG) -Index: cpprest/src/CMakeLists.txt -=================================================================== ---- cpprest.orig/src/CMakeLists.txt -+++ cpprest/src/CMakeLists.txt -@@ -250,21 +250,21 @@ - install( - TARGETS ${CPPREST_TARGETS} - EXPORT cpprestsdk-targets -- RUNTIME DESTINATION bin -- LIBRARY DESTINATION lib -- ARCHIVE DESTINATION lib -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - ) - - configure_file(../cmake/cpprestsdk-config.in.cmake "${CMAKE_CURRENT_BINARY_DIR}/cpprestsdk-config.cmake" @ONLY) - - install( - FILES "${CMAKE_CURRENT_BINARY_DIR}/cpprestsdk-config.cmake" -- DESTINATION ${CPPREST_EXPORT_DIR} -+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake - ) - install( - EXPORT cpprestsdk-targets - FILE cpprestsdk-targets.cmake - NAMESPACE cpprestsdk:: -- DESTINATION ${CPPREST_EXPORT_DIR} -+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake - ) - endif() diff --git a/meta-networking/recipes-support/cpprest/cpprest_2.10.2.bb b/meta-networking/recipes-support/cpprest/cpprest_2.10.2.bb deleted file mode 100644 index 2ba6fc66cc..0000000000 --- a/meta-networking/recipes-support/cpprest/cpprest_2.10.2.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design." -SECTION = "libs/network" -HOMEPAGE = "https://github.com/Microsoft/cpprestsdk/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${S}/../license.txt;md5=a2e15b954769218ff912468eecd6a02f" -DEPENDS = "openssl websocketpp zlib boost" - -SRC_URI = "git://github.com/Microsoft/cpprestsdk.git;protocol=https;branch=master" - -SRC_URI += "file://fix-cmake-install.patch" - -# tag 2.10.2 -SRCREV= "fea848e2a77563cf2a6f28f8eab396fd6e787fbf" - -S = "${WORKDIR}/git/Release" - -inherit cmake