{"id":14115,"url":"https://patchwork.libcamera.org/api/1.1/covers/14115/?format=json","web_url":"https://patchwork.libcamera.org/cover/14115/","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":"<20211013122312.1943362-1-naush@raspberrypi.com>","date":"2021-10-13T12:23:11","name":"[libcamera-devel,v2,0/1] Save version string with meson dist","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/1.1/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/14115/mbox/","series":[{"id":2622,"url":"https://patchwork.libcamera.org/api/1.1/series/2622/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2622","date":"2021-10-13T12:23:11","name":"Save version string with meson dist","version":2,"mbox":"https://patchwork.libcamera.org/series/2622/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/14115/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 845E1BDC71\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 13 Oct 2021 12:23:18 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id F2B7268F4D;\n\tWed, 13 Oct 2021 14:23:17 +0200 (CEST)","from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com\n\t[IPv6:2a00:1450:4864:20::42f])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CE88460501\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 13 Oct 2021 14:23:16 +0200 (CEST)","by mail-wr1-x42f.google.com with SMTP id u18so7793924wrg.5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 13 Oct 2021 05:23:16 -0700 (PDT)","from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:a13d:95a9:c25e:7597])\n\tby smtp.gmail.com with ESMTPSA id\n\tv3sm13412961wrg.23.2021.10.13.05.23.14\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 13 Oct 2021 05:23:15 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"jEGB6ktT\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=EYalUq2fhVv7WHb/EcyJjgTAjfHm3zrt4eMFg02G2l4=;\n\tb=jEGB6ktTzn2Yc+RLKk9HDCzaoTBD/AQeszFk1yX3bYFNrFoLCgIPVeApwJmB76gxtU\n\tzstKGwF1zRIKXmaQaaqeZWBS2akEVI4/4Q6szK6cd4ArSE+SxEQYd4ZhaeIowtnMpAy/\n\tBDdxRB9RIf1zz1ANWW+drLKkkFnBZ2SGi3N5nxUJPrq7zUGHj4JRXynGxvSvvKDSa0EG\n\t9y1n3g22i8ofHD+N2XjbZz7IZeWUF8fmOzRBRe8k/IG7jhGlREtHC06NTfORH+TCbnox\n\tjF6psz/VvQlLXyFBgkjCdjghOuuGl9a4YVTfCZgtix8ETyTIwFjLzuoeQy3Bzsg1nvIF\n\tIpsA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=EYalUq2fhVv7WHb/EcyJjgTAjfHm3zrt4eMFg02G2l4=;\n\tb=njxNvx+YiR1sd0bZIBVuP/fZmrg15aLc5xcse2jG2foZ1SU5yv0jB6LK/n77xXgKHt\n\t1tkyN0ppZZklmqeS5YDrhNE9bs2XODDB8uT1uKRMg9U9vmSZL+WkTvMnnHmEmIUh5VAi\n\tlS/cQxdgHFjET1HqPsvf9gw7HJZiz+vfY1veR0ECepMagwiL4kZLptzuLwyYP8LJ8HuM\n\tk8h4AOu8LHgpX4plJnavLqLAJRbzoIPloiteIeLuyNYviPgm6vialCjt1zIkz9yfgQTc\n\tJZo6Ro8ZYnVjapmYEJxhIp8MHuF/b4NycPng2YzbVRCWi5WQCIwqIi+q+ohZgRFxaX2+\n\tK3FQ==","X-Gm-Message-State":"AOAM5320xSi1AmexxDLPws37/ZtYLjxbcGsnxfCaym9ZjGqK3d+OvCw7\n\tFLRsCMCUCuDq25VbhtZ35xITTI5nzqY=","X-Google-Smtp-Source":"ABdhPJxjdIIl9HisHIVcLEn/IalSE9UzRaK2M//LAcp52RGTEq/XsqvbJnLFWDx95IKiM6Ftuo6O9w==","X-Received":"by 2002:a7b:cf03:: with SMTP id l3mr12516456wmg.25.1634127795822;\n\tWed, 13 Oct 2021 05:23:15 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 13 Oct 2021 13:23:11 +0100","Message-Id":"<20211013122312.1943362-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 0/1] Save version string with meson dist","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":"Hi,\n\nVersion 2 of this patch has the following changes:\n\n- Removed the RFC tag from this patch.\n- Moves the logic of reading version.gen for the version string into gen-version.sh.\n- Explicitly cd into $MESON_SOURCE_ROOT in the run-dist.sh script.\n\nThanks,\nNaush\n\nNaushir Patuck (1):\n  build: Preserve upstream git versioning using meson dist\n\n meson.build               |  3 +++\n src/libcamera/meson.build | 11 +++++------\n utils/gen-version.sh      |  9 +++++++++\n utils/run-dist.sh         | 11 +++++++++++\n 4 files changed, 28 insertions(+), 6 deletions(-)\n create mode 100644 utils/run-dist.sh"}