Patch Detail
Show a patch.
GET /api/1.1/patches/17708/?format=api
{ "id": 17708, "url": "https://patchwork.libcamera.org/api/1.1/patches/17708/?format=api", "web_url": "https://patchwork.libcamera.org/patch/17708/", "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": "<20221027224135.348115-8-nicholas@rothemail.net>", "date": "2022-10-27T22:41:32", "name": "[libcamera-devel,v4,07/10] libcamera: make libdl optional when provided", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "2824cd2c43efbe4028db7916dffbe688716e947d", "submitter": { "id": 97, "url": "https://patchwork.libcamera.org/api/1.1/people/97/?format=api", "name": "Nicolas Dufresne via libcamera-devel", "email": "libcamera-devel@lists.libcamera.org" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/17708/mbox/", "series": [ { "id": 3581, "url": "https://patchwork.libcamera.org/api/1.1/series/3581/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3581", "date": "2022-10-27T22:41:26", "name": "[libcamera-devel,v4,01/10] ipa: workaround libcxx duration limitation", "version": 4, "mbox": "https://patchwork.libcamera.org/series/3581/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/17708/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/17708/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 94B91C3285\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 27 Oct 2022 22:41:54 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4105962FC7;\n\tFri, 28 Oct 2022 00:41:54 +0200 (CEST)", "from mail-oa1-x32.google.com (mail-oa1-x32.google.com\n\t[IPv6:2001:4860:4864:20::32])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A6DE962FA3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 28 Oct 2022 00:41:46 +0200 (CEST)", "by mail-oa1-x32.google.com with SMTP id\n\t586e51a60fabf-13c569e5ff5so3924659fac.6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 27 Oct 2022 15:41:46 -0700 (PDT)", "from nroth-pc.attlocal.net\n\t([2600:1700:20:20c0:6a4b:7aa7:dda2:75cb])\n\tby smtp.gmail.com with ESMTPSA id\n\tr20-20020a056830419400b006619533d1ddsm976825otu.76.2022.10.27.15.41.44\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 27 Oct 2022 15:41:44 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1666910514;\n\tbh=DdOeO4Y73eQfxf8oqth1QoKEXEDG56YIYNMB+7UXQco=;\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:Cc:\n\tFrom;\n\tb=sxwqL9OL4tVILrBD5ev3B1bpLnpGuti20LInaPeCTerU5X3FVeqfdFqbU53oaRIEr\n\tmoLL8ki+ZMZoJDpaFPJ4DuEl+B/TcANJh6cz+4IWvoXFLojCfQMXgZpBfzUq9cv67W\n\tUmBwtk3D11rgsXyu3c/W7jg6k+FXxONVAS2Jb+Pea9QbVTQdU3iDwjtkofe9Nl5VNV\n\tgu8rnqbgotlHbor+82AQr8psswywqRDTdGSovdXRV6hgQTfhk6KOVDyOnrhklc/Hdp\n\tUmGjKKjWhY7BObwsxedQkYqH93ejj5wtgE7QyXG/3NH8USFJ1GLy2pV4t/7qaEu8B4\n\tlnTVTa6icdecQ==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=rothemail-net.20210112.gappssmtp.com; s=20210112;\n\th=content-transfer-encoding:mime-version:reply-to:references\n\t:in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject\n\t:date:message-id:reply-to;\n\tbh=53GjDLX02zSG1mRkq78FTX8/GBMkyCcDPMdpbL8fvGw=;\n\tb=moDM8UQooQl5RToLF+Kk+v6jlK4on+MCD28ZFa/OJ5CC2uSKgBzfSuAcPtHnZPESKF\n\t+crceF2AVQbedBgiFRWiqt6MAYJhtcYh+lbX/D1fD2sDnGdMffc8WNVR+9uDLStvDOGK\n\tWtKT5CXZu+aaj4shMvRWJCHbpXg+WokAFlgkxZIdYn09oUiTJ9jWC4TkDK5XTBP6C/wt\n\tTOvpRlOi2n/jEQTWwHBDsubUhHq+N6RVQvHoXjvTKguu5kgVek7nXyPNhqjisV6aLNN2\n\tRtZxQJUy9xf6pgWzDMqAvOsKA9jVL8+V4YCcUt8eI6pHo/a2qx1DDUd2NiSQw0cDAufZ\n\tPx1g==" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected)\n\theader.d=rothemail-net.20210112.gappssmtp.com\n\theader.i=@rothemail-net.20210112.gappssmtp.com header.b=\"moDM8UQo\"; \n\tdkim-atps=neutral", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=content-transfer-encoding:mime-version:reply-to:references\n\t:in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state\n\t:from:to:cc:subject:date:message-id:reply-to;\n\tbh=53GjDLX02zSG1mRkq78FTX8/GBMkyCcDPMdpbL8fvGw=;\n\tb=2kJm/9tYmT5Km+mzR9/XnqHHtOjPLxykdbFEZSdJT5Wei40p3CQhE+FTRvJXmlWvw+\n\tgE5mvYQ38ZdZYjrRwmEQ6HHL5oVhuL86IVVWA7H0zkw1cL0hOC93eIXfz79ljqNqRQ/x\n\tppmEjxb7ratJcYaJMB5+1C2qEJfrDNz7xmw2Wj5uEH/BOCxo4/y/8vfZ1Dso4Q1TAAu1\n\tjrGkYkI/kU2Q66Hs7F9/PUqVhnJInaiM0h42eAKzqUbGXrB6r8a0FEZHszBXckelca26\n\td89Nv2At7vj9OW20kfJUEqHod1yDZp4yAKKJVaSt2BWA0Ctpgg4KsUZmEbsKFI4T2G7U\n\t1yZw==", "X-Gm-Message-State": "ACrzQf2xzjUXEA4/zo1iAkWOrBN0384rXV9Wyna9q0tLWKx07u2mMxSE\n\tHNiAQU+nzg4GhlPXfkcjrmeCvKYdaQl6xkKC", "X-Google-Smtp-Source": "AMsMyM67RqVI+1tYEIQrW9p3xTW62YizYxx9blcCPc04vSHy4cKyotoursw1Rqp6+MR+ikk3aFynHw==", "X-Received": "by 2002:a05:6870:c105:b0:12c:8f0c:e23c with SMTP id\n\tf5-20020a056870c10500b0012c8f0ce23cmr6808412oad.42.1666910504871; \n\tThu, 27 Oct 2022 15:41:44 -0700 (PDT)", "To": "libcamera-devel@lists.libcamera.org", "Date": "Thu, 27 Oct 2022 17:41:32 -0500", "Message-Id": "<20221027224135.348115-8-nicholas@rothemail.net>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20221027224135.348115-1-nicholas@rothemail.net>", "References": "<20221027224135.348115-1-nicholas@rothemail.net>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v4 07/10] libcamera: make libdl optional\n\twhen provided", "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": "Nicholas Roth via libcamera-devel <libcamera-devel@lists.libcamera.org>", "Reply-To": "libcamera-devel@lists.libcamera.org", "Cc": "nicholas@rothemail.net", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "From: Nicholas Roth <nicholas@rothemail.net>\n\nCurrently, libdl is always required. Sometimes, the C++ runtime includes\na dynamic loader, which is the case for Android. Additionally, Android\n11 does not have libdl. This fix allows libcamera to build on Android.\n\nSigned-off-by: Nicholas Roth <nicholas@rothemail.net>\n---\n src/libcamera/meson.build | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)", "diff": "diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build\nindex 5f39d2e2..0494e808 100644\n--- a/src/libcamera/meson.build\n+++ b/src/libcamera/meson.build\n@@ -65,7 +65,12 @@ subdir('ipa')\n subdir('pipeline')\n subdir('proxy')\n \n-libdl = cc.find_library('dl')\n+null_dep = dependency('', required : false)\n+\n+libdl = null_dep\n+if not cc.has_function('dlopen')\n+ libdl = cc.find_library('dl')\n+endif\n libudev = dependency('libudev', required : false)\n libyaml = dependency('yaml-0.1', required : false)\n \n", "prefixes": [ "libcamera-devel", "v4", "07/10" ] }