From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Matthias Fend <matthias.fend@emfend.at>
Subject: Re: [ptxdist] [APPLIED] libcamera: version bump 2022-08-30-g68683d3811a8 -> 0.0.1
Date: Fri, 11 Nov 2022 19:04:30 +0100 [thread overview]
Message-ID: <20221111180430.1648155-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20221107162755.321807-1-matthias.fend@emfend.at>
Thanks, applied as 94023de2a1e127d8c2d8fb215eb92232da003ec9.
Michael
[sent from post-receive hook]
On Fri, 11 Nov 2022 19:04:30 +0100, Matthias Fend <matthias.fend@emfend.at> wrote:
> Apart from the other advances in libcamera, some version handling
> improvements have been implemented that make the previously required
> patches superfluous.
>
> Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
> Message-Id: <20221107162755.321807-1-matthias.fend@emfend.at>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/patches/libcamera-2022-08-30-g68683d3811a8/0001-do-not-use-git-information-for-version-generation.patch b/patches/libcamera-2022-08-30-g68683d3811a8/0001-do-not-use-git-information-for-version-generation.patch
> deleted file mode 100644
> index 3e5c5ce68768..000000000000
> --- a/patches/libcamera-2022-08-30-g68683d3811a8/0001-do-not-use-git-information-for-version-generation.patch
> +++ /dev/null
> @@ -1,29 +0,0 @@
> -From: Matthias Fend <matthias.fend@emfend.at>
> -Date: Wed, 31 Aug 2022 16:54:20 +0200
> -Subject: [PATCH] do not use git information for version generation
> -
> -Since libcamera is checked out without a git repo, git version reports the
> -version of the BSP. Since this is obviously wrong, just use the project
> -version.
> -
> -Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
> ----
> - meson.build | 5 ++---
> - 1 file changed, 2 insertions(+), 3 deletions(-)
> -
> -diff --git a/meson.build b/meson.build
> -index 72919102ad55..e333df59388d 100644
> ---- a/meson.build
> -+++ b/meson.build
> -@@ -20,9 +20,8 @@ libcamera_git_version = run_command('utils/gen-version.sh',
> - meson.project_build_root(),
> - meson.project_source_root(),
> - check: false).stdout().strip()
> --if libcamera_git_version == ''
> -- libcamera_git_version = meson.project_version()
> --endif
> -+
> -+libcamera_git_version = meson.project_version()
> -
> - libcamera_version = libcamera_git_version.split('+')[0]
> -
> diff --git a/patches/libcamera-2022-08-30-g68683d3811a8/series b/patches/libcamera-2022-08-30-g68683d3811a8/series
> deleted file mode 100644
> index 6ca42eafc0ac..000000000000
> --- a/patches/libcamera-2022-08-30-g68683d3811a8/series
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -# generated by git-ptx-patches
> -#tag:base --start-number 1
> -0001-do-not-use-git-information-for-version-generation.patch
> -# c3a57143ea9764ab95b84a7fb79896f4 - git-ptx-patches magic
> diff --git a/rules/libcamera.make b/rules/libcamera.make
> index a6560fb4835e..24b71ea7db73 100644
> --- a/rules/libcamera.make
> +++ b/rules/libcamera.make
> @@ -14,11 +14,11 @@ PACKAGES-$(PTXCONF_LIBCAMERA) += libcamera
> #
> # Paths and names
> #
> -LIBCAMERA_VERSION := 2022-08-30-g68683d3811a8
> -LIBCAMERA_MD5 := 2f5a985257a0797e0bd0b4182ef9bc9c
> +LIBCAMERA_VERSION := 0.0.1
> +LIBCAMERA_MD5 := d428d7e7455e9cca763d313323043e7b
> LIBCAMERA := libcamera-$(LIBCAMERA_VERSION)
> LIBCAMERA_SUFFIX := tar.gz
> -LIBCAMERA_URL := https://git.libcamera.org/libcamera/libcamera.git;tag=$(LIBCAMERA_VERSION)
> +LIBCAMERA_URL := https://git.libcamera.org/libcamera/libcamera.git;tag=v$(LIBCAMERA_VERSION)
> LIBCAMERA_SOURCE := $(SRCDIR)/$(LIBCAMERA).$(LIBCAMERA_SUFFIX)
> LIBCAMERA_DIR := $(BUILDDIR)/$(LIBCAMERA)
> LIBCAMERA_LICENSE := Apache-2.0 AND \
prev parent reply other threads:[~2022-11-11 18:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-07 16:27 [ptxdist] [PATCH] " Matthias Fend
2022-11-11 18:04 ` Michael Olbrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221111180430.1648155-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=matthias.fend@emfend.at \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox