File: 0002-Do-not-use-git-describe-to-generate-version.patch

package info (click to toggle)
kmscon 9.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,248 kB
  • sloc: ansic: 29,577; python: 120; sh: 50; makefile: 22
file content (24 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Victor Westerhuis <victor@westerhu.is>
Date: Thu, 4 Feb 2021 12:36:54 +0100
Subject: Do not use git describe to generate version

Use the version specified by upstream in meson.build instead.

Forwarded: not-needed
---
 src/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/meson.build b/src/meson.build
index c18759f..3355fc0 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -8,7 +8,7 @@
 githead = vcs_tag(
   input: 'shl_githead.c.in',
   output: 'shl_githead.c',
-  command: ['git', 'describe'],
+  command: ['false'],
   fallback: 'v' + meson.project_version(),
 )