Show a patch.

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

{
    "id": 26045,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/26045/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/26045/",
    "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": "<20260129164032.1380169-5-barnabas.pocze@ideasonboard.com>",
    "date": "2026-01-29T16:40:30",
    "name": "[v1,5/7] meson: Use dependency object when checking for headers",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "4fca0faceb99cb086c639b2a284ecff55b40ff8c",
    "submitter": {
        "id": 216,
        "url": "https://patchwork.libcamera.org/api/1.1/people/216/?format=api",
        "name": "Barnabás Pőcze",
        "email": "barnabas.pocze@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/26045/mbox/",
    "series": [
        {
            "id": 5757,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5757/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5757",
            "date": "2026-01-29T16:40:27",
            "name": "[v1,1/7] meson: Drop unnecessary egl, gles feature defines",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5757/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/26045/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/26045/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 89412C328F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 29 Jan 2026 16:40:44 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 23AE861FD4;\n\tThu, 29 Jan 2026 17:40:44 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6842A61FCE\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 29 Jan 2026 17:40:36 +0100 (CET)",
            "from pb-laptop.local (185.221.142.123.nat.pool.zt.hu\n\t[185.221.142.123])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id ABEAB1661\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 29 Jan 2026 17:39:58 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"VK/4kzHU\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1769704798;\n\tbh=Z/kkyL1gHKcVRs/ud3DzycaQpEIv1EhhckeZ+mSXzXY=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=VK/4kzHU2Tzt/I9Z2RFUnqtkZO04xIMJQTy5kSbUUzEOvur+s7QrXZn+YlT4GwL8R\n\tM1VDUKHQ5rwm4gPBNc0sYPTZdpIzZsEjMbVErTFSNMohBIrCi25MIbvp4fS7vNQ9jE\n\tMid9cDzlB1fUKjNVutTKCN/DWUfucn9zSc9nworw=",
        "From": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH v1 5/7] meson: Use dependency object when checking for\n\theaders",
        "Date": "Thu, 29 Jan 2026 17:40:30 +0100",
        "Message-ID": "<20260129164032.1380169-5-barnabas.pocze@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260129164032.1380169-1-barnabas.pocze@ideasonboard.com>",
        "References": "<20260129164032.1380169-1-barnabas.pocze@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "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>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "A dependency might very well have custom include directories,\nso use it when checking for the header file.\n\nSigned-off-by: Barnabás Pőcze <barnabas.pocze@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 06ed34101..72b7bf02d 100644\n--- a/src/libcamera/meson.build\n+++ b/src/libcamera/meson.build\n@@ -70,9 +70,9 @@ libcamera_deps = []\n libatomic = cc.find_library('atomic', required : false)\n libthreads = dependency('threads')\n \n-mesa_works = cc.check_header('EGL/egl.h', required: false)\n libegl = dependency('egl', required : false)\n libglesv2 = dependency('glesv2', required : false)\n+mesa_works = cc.check_header('EGL/egl.h', required : false, dependencies : libegl)\n \n subdir('base')\n subdir('converter')\n",
    "prefixes": [
        "v1",
        "5/7"
    ]
}