Show a patch.

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

{
    "id": 22368,
    "url": "https://patchwork.libcamera.org/api/patches/22368/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/22368/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/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": "<20241216172827.1055088-2-barnabas.pocze@ideasonboard.com>",
    "date": "2024-12-16T17:28:25",
    "name": "[libcamera-ci,RFC,v2,2/4] Add `libevent` runtime libraries to the container",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "203ded40736fdb07681dbfdef86af2052db94136",
    "submitter": {
        "id": 216,
        "url": "https://patchwork.libcamera.org/api/people/216/?format=api",
        "name": "Barnabás Pőcze",
        "email": "barnabas.pocze@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/22368/mbox/",
    "series": [
        {
            "id": 4897,
            "url": "https://patchwork.libcamera.org/api/series/4897/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4897",
            "date": "2024-12-16T17:28:24",
            "name": "[libcamera-ci,RFC,v2,1/4] Enable `UDMABUF` in the kernel",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/4897/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/22368/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/22368/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 93C70C32F6\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 16 Dec 2024 17:28:35 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4391C67F95;\n\tMon, 16 Dec 2024 18:28:35 +0100 (CET)",
            "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 7310D67F7F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 16 Dec 2024 18:28:31 +0100 (CET)",
            "from pb-laptop.local (185.221.140.157.nat.pool.zt.hu\n\t[185.221.140.157])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id BDF4F82A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 16 Dec 2024 18:27:54 +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=\"NIu74Zmh\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1734370074;\n\tbh=K5jzOiQ0mOX27CPVBBwEqYSAJTJ9U9L6SiGcjNk13/Y=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=NIu74ZmhTtLAWkBVTyDUMTqDGGrMFAJWm7x42m+A+m0+QDPuRBSlnBIrU0RceoG+/\n\tmFl+5H31Dm7kCJPfnUK0Runm1399yJuyanfa7hiavqCzbEmfgpmY2ohtOxX0Lw4Tmr\n\tsMC3kdo8tC5/MfvF51+jkAH1UDqYQUrRJ9YgJ2lA=",
        "From": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[libcamera-ci] [RFC PATCH v2 2/4] Add `libevent` runtime libraries\n\tto the container",
        "Date": "Mon, 16 Dec 2024 18:28:25 +0100",
        "Message-ID": "<20241216172827.1055088-2-barnabas.pocze@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.47.1",
        "In-Reply-To": "<20241216172827.1055088-1-barnabas.pocze@ideasonboard.com>",
        "References": "<20241216172827.1055088-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": "`libevent` is needed for some components, specifically `cam`\nand `lc-compliance`. Installing `libevent-dev` would be more\nconvenient, but it is not doable at the moment because that\npackage is not multiarch compatible. So only install the\nnecessary runtime libraries.\n\nBuild jobs already install `libevent-dev` when necessary before\nbuilding libcamera, but this change enables the aforementioned\ncomponents to be usable in different jobs as well.\n\nSigned-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n---\n .gitlab-ci/setup-container.sh | 3 +++\n gitlab-ci.yml                 | 2 +-\n 2 files changed, 4 insertions(+), 1 deletion(-)\n\n--\n2.47.1",
    "diff": "diff --git a/.gitlab-ci/setup-container.sh b/.gitlab-ci/setup-container.sh\nindex d2909c7..0658368 100755\n--- a/.gitlab-ci/setup-container.sh\n+++ b/.gitlab-ci/setup-container.sh\n@@ -103,6 +103,9 @@ case $FDO_DISTRIBUTION_VERSION in\n 'bookworm')\n \t# libclang-rt-dev for the clang ASan runtime.\n \tPKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libclang-rt-dev )\n+\t# For cam and lc-compliance\n+\t# libevent-dev cannot be used here, see build-libcamera-common.sh\n+\tPKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libevent-2.1-7 libevent-pthreads-2.1-7 )\n \t;;\n 'trixie')\n \t# gcc 13 to expand compilation testing coverage.\ndiff --git a/gitlab-ci.yml b/gitlab-ci.yml\nindex 6d26680..f679d6e 100644\n--- a/gitlab-ci.yml\n+++ b/gitlab-ci.yml\n@@ -65,7 +65,7 @@ include:\n .libcamera-ci.debian:12:\n   variables:\n     FDO_DISTRIBUTION_VERSION: 'bookworm'\n-    FDO_DISTRIBUTION_TAG: '2024-12-12.1'\n+    FDO_DISTRIBUTION_TAG: '2024-12-16.1'\n\n .libcamera-ci.debian:13:\n   variables:\n",
    "prefixes": [
        "libcamera-ci",
        "RFC",
        "v2",
        "2/4"
    ]
}