{"id":9746,"url":"https://patchwork.libcamera.org/api/1.1/covers/9746/?format=json","web_url":"https://patchwork.libcamera.org/cover/9746/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20200923143949.310439-1-kieran.bingham@ideasonboard.com>","date":"2020-09-23T14:39:45","name":"[libcamera-devel,v2,0/4] Unify utils locations","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/1.1/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/9746/mbox/","series":[{"id":1312,"url":"https://patchwork.libcamera.org/api/1.1/series/1312/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1312","date":"2020-09-23T14:39:45","name":"Unify utils locations","version":2,"mbox":"https://patchwork.libcamera.org/series/1312/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/9746/comments/","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 10A8DC3B5B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 23 Sep 2020 14:39:56 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 871F962FEC;\n\tWed, 23 Sep 2020 16:39:55 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E72AE60576\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 23 Sep 2020 16:39:53 +0200 (CEST)","from Q.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net\n\t[86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id EDA52555;\n\tWed, 23 Sep 2020 16:39:52 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"dPNpOjrZ\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1600871993;\n\tbh=6tyY/v5CJ62aqlFYgT00A2PzINcv/l1uQvqi+ZAsMhA=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=dPNpOjrZtvI9wHtUto93eoYM+UulfVP70LW5sYyshoMoqqN2KzoDsvXvfpNmTHXp1\n\tyyHAd1EPkPAqQvW2iaAXu98Kxfb1892iuslqWlXVsWsaqw2O6NjjvxHAD0yZrsTMiJ\n\tvAMz8YoAbEI20m9jukQAuax2pow95gttTuaYn/zU=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Wed, 23 Sep 2020 15:39:45 +0100","Message-Id":"<20200923143949.310439-1-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v2 0/4] Unify utils locations","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>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Various utilities are scattered across the source trees, and are\ndeclared as GPLv2.\n\nUpdate the meson build to process the utils subdirectory first, giving\nus a location where we can define our utilities in a common location.\n\nThen move key generator scripts to the utils directory.\nThe ipa_gen_priv_key custom target command is renamed to be in keeping\nwith the other generator commands.\n\nThe scripts which handle module signing upon installation are not\nhandled in this series, as they currently expect to be run from their\ncurrent location, and external build systems may be currently\nreferencing from their current location too.\n\nLater work will aim to tackle the module-signing scripts, moving those\nwill affect external users.\n\nAlso of interest is the definition of the gen-version command used by\nthe vcs_tag ... but the vcs tag function does not accept a 'files()'\nlist as it's command parameter, so it's not (yet) suitable to move that\nvariable declaration to utils/meson.build which had aimed to do.\n\nKieran Bingham (4):\n  meson: Process utils first\n  libcamera: Move Header generation utilities to utils\n  src: meson: Rename ipa_gen_priv_key to gen_ipa_priv_key\n  libcamera: ipa: Move key generation to utils\n\n include/libcamera/meson.build               | 6 ------\n meson.build                                 | 4 +++-\n src/libcamera/meson.build                   | 3 ---\n src/meson.build                             | 3 +--\n {src/libcamera => utils}/gen-controls.py    | 0\n {include/libcamera => utils}/gen-formats.py | 0\n {include/libcamera => utils}/gen-header.sh  | 0\n {src/ipa => utils}/gen-ipa-priv-key.sh      | 0\n {src/libcamera => utils}/gen-ipa-pub-key.py | 0\n utils/meson.build                           | 9 +++++++++\n 10 files changed, 13 insertions(+), 12 deletions(-)\n rename {src/libcamera => utils}/gen-controls.py (100%)\n rename {include/libcamera => utils}/gen-formats.py (100%)\n rename {include/libcamera => utils}/gen-header.sh (100%)\n rename {src/ipa => utils}/gen-ipa-priv-key.sh (100%)\n rename {src/libcamera => utils}/gen-ipa-pub-key.py (100%)"}