{"id":1543,"url":"https://patchwork.libcamera.org/api/patches/1543/?format=json","web_url":"https://patchwork.libcamera.org/patch/1543/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20190630233817.10130-2-laurent.pinchart@ideasonboard.com>","date":"2019-06-30T23:38:04","name":"[libcamera-devel,v3,01/14] libcamera: Use 'files()' function to specify gen-header.sh","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"c12fe167be426599b974e157a303168a081fa144","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/1543/mbox/","series":[{"id":384,"url":"https://patchwork.libcamera.org/api/series/384/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=384","date":"2019-06-30T23:38:03","name":"libcamera Controls","version":3,"mbox":"https://patchwork.libcamera.org/series/384/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/1543/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/1543/checks/","tags":{},"headers":{"Return-Path":"<laurent.pinchart@ideasonboard.com>","Received":["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 0124960BC0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  1 Jul 2019 01:38:43 +0200 (CEST)","from pendragon.bb.dnainternet.fi\n\t(dfj612yhrgyx302h3jwwy-3.rev.dnainternet.fi\n\t[IPv6:2001:14ba:21f5:5b00:ce28:277f:58d7:3ca4])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 8DD8B2F0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  1 Jul 2019 01:38:42 +0200 (CEST)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1561937922;\n\tbh=7+6nGXwxH/jnowHcoM6rpKbfJywr9N141Ol4FkU0CGs=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=cMmr9kWI3jy6EMNLkchpb7WXkaec4+rTRCNpOmOtTE1A0CTxzNFfN0OUagqi0mkFJ\n\toqf3/tvvkPWbiBZ0HG5RG4w1+bBJRVz/hj8UdEhr6iNdHOFj0vt6GdNWZpQDxLrJVf\n\tmJD48q6/uYzo1Z7VNNweXJpY/9nieQyTNQIYzSwU=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon,  1 Jul 2019 02:38:04 +0300","Message-Id":"<20190630233817.10130-2-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.21.0","In-Reply-To":"<20190630233817.10130-1-laurent.pinchart@ideasonboard.com>","References":"<20190630233817.10130-1-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 01/14] libcamera: Use 'files()'\n\tfunction to specify gen-header.sh","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","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>","X-List-Received-Date":"Sun, 30 Jun 2019 23:38:43 -0000"},"content":"From: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\nThe files() function generates a variable with the location of the\nreferenced files.\n\nThis is shorter than joining the current_source_dir() of which use is\nsomewhat frowned upon.\n\nFixes: 90de3690c456 (\"libcamera: Auto-generate libcamera.h\")\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n include/libcamera/meson.build | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/include/libcamera/meson.build b/include/libcamera/meson.build\nindex 1b86fdc7fca4..15484724df01 100644\n--- a/include/libcamera/meson.build\n+++ b/include/libcamera/meson.build\n@@ -14,7 +14,7 @@ libcamera_api = files([\n     'timer.h',\n ])\n \n-gen_header = join_paths(meson.current_source_dir(), 'gen-header.sh')\n+gen_header = files('gen-header.sh')\n \n libcamera_h = custom_target('gen-header',\n                             input : 'meson.build',\n","prefixes":["libcamera-devel","v3","01/14"]}