Show a patch.

GET /api/1.1/patches/17001/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 17001,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/17001/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/17001/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20220807021456.9578-4-laurent.pinchart@ideasonboard.com>",
    "date": "2022-08-07T02:14:54",
    "name": "[libcamera-devel,3/5] libcamera: meson: Use dependency() to find gnutls",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "98a4c6ec7c5ac6891e907f87e1d2b1adb0c838df",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/17001/mbox/",
    "series": [
        {
            "id": 3380,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3380/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3380",
            "date": "2022-08-07T02:14:51",
            "name": "libcamera: Support openssl as an alternative to gnutls",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/3380/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/17001/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/17001/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 145F1BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun,  7 Aug 2022 02:15:13 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BF8FE6332E;\n\tSun,  7 Aug 2022 04:15:12 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EE6AE61FAA\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  7 Aug 2022 04:15:09 +0200 (CEST)",
            "from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi\n\t[62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 63904749\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  7 Aug 2022 04:15:09 +0200 (CEST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1659838512;\n\tbh=YdDrRki1KgPmCcZK8nxcmSBOu9X86AgIXvUzcqi/uSI=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=bOt5EM6cVKePlca0nppIKDxZCHHIbDsRYJs/uzLYI1XeihpHev8fN9bNao0naegKA\n\tI4zlqn/HmHMl6g21qqmrJIVySuca/NrHxSj6nO0NREk4bQLMyJ41LoEF4k5vN3uMZf\n\tOr1nGsd9/bi2o1j+8cRCqg2E7wNlhSSD5htzzvs0cpp6lXJ8Pd39b5SI79NHZl469K\n\tRXHHPfPUIjKsv/5Wcdf4oUI2xS4nFsd1lke4+KGpy3w9jrEH9hcu97m5RUPDZh0Uu0\n\tBqdpcMj30UgJPFIfA4gQgRl6LTHMW3HlnKXfgl5ESl42IO074eF0yT9hm8f1zCjQJp\n\tbrkUhA2JDLzQg==",
            "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1659838509;\n\tbh=YdDrRki1KgPmCcZK8nxcmSBOu9X86AgIXvUzcqi/uSI=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=kB+KMUP52lOhcY2iy9AfejHOZHlHX3pzy1fOJnHAwKS3w34knoX18nGhOAcVvfgut\n\t04R2t6RzesjxlrRre0bzwdNgTm77QyYxMd9C1ksxLNN+OdBU/gYYZICyaBUbOu890Q\n\tnF9wcZsloyrM3c733uP3tZrjLilquufabyO8UxqQ="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"kB+KMUP5\"; dkim-atps=neutral",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Sun,  7 Aug 2022 05:14:54 +0300",
        "Message-Id": "<20220807021456.9578-4-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.35.1",
        "In-Reply-To": "<20220807021456.9578-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20220807021456.9578-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 3/5] libcamera: meson: Use dependency() to\n\tfind gnutls",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "From": "Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "The gnutls library ships a pkgconfig .pc file. Use the standard\ndependency() method to locate it, instead of cc.find_library().\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/libcamera/meson.build | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build\nindex 8580feed3846..e144d4f9ae70 100644\n--- a/src/libcamera/meson.build\n+++ b/src/libcamera/meson.build\n@@ -65,7 +65,7 @@ subdir('pipeline')\n subdir('proxy')\n \n libdl = cc.find_library('dl')\n-libgnutls = cc.find_library('gnutls', required : false)\n+libgnutls = dependency('gnutls', required : false)\n libudev = dependency('libudev', required : false)\n libyaml = dependency('yaml-0.1', required : false)\n \n",
    "prefixes": [
        "libcamera-devel",
        "3/5"
    ]
}