<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/generate-version.sh, branch 1.8.1</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.8.1</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.8.1'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-06-25T06:35:41Z</updated>
<entry>
<title>generate-version: fix regression where a tagged version was parsed wrong</title>
<updated>2021-06-25T06:35:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-25T06:33:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bc6b4d7b8ab8bee7a5c50c2eeba8fd939487042b'/>
<id>urn:sha1:bc6b4d7b8ab8bee7a5c50c2eeba8fd939487042b</id>
<content type='text'>
The regexps didn’t work when the “extra” portion of “git describe” was
missing.
</content>
</entry>
<entry>
<title>generate-version: add a define for “extra” version information</title>
<updated>2021-06-13T15:19:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-13T07:46:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=efd023ad327c51bafa5c7df6d6f35796babce4f8'/>
<id>urn:sha1:efd023ad327c51bafa5c7df6d6f35796babce4f8</id>
<content type='text'>
This will be set to “rrr-gNNNNNNN” when building from git, and the
empty string otherwise.
</content>
</entry>
<entry>
<title>csi: secondary DA: do not pretend we're xterm</title>
<updated>2020-07-24T15:47:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-24T15:47:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=60984e7a2476e81ffe9d356d6e4cb11e218d812e'/>
<id>urn:sha1:60984e7a2476e81ffe9d356d6e4cb11e218d812e</id>
<content type='text'>
Previously, our secondary DA response indicated a) VT420, b) an XTerm
version number.

Now, we indicate VT220 (which corresponds to the primary DA response),
and we report foot's version number as MMmmpp. I.e major, minor and
patch versions, using two digits.

E.g. 1.4.2 is encoded as 010402
</content>
</entry>
<entry>
<title>generate-version: check for .git directory in *src* dir</title>
<updated>2020-03-06T20:18:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-06T20:18:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f5ceb958cd51418998100bcd6f69964d95807246'/>
<id>urn:sha1:f5ceb958cd51418998100bcd6f69964d95807246</id>
<content type='text'>
Instead of trying to run `git --rev-parse --is-inside-work-tree`,
check if there's a .git directory under the source directory.

This should fix an issue where we incorrectly decided we where in a
foot git clone when we're just a subdirectory under another
repository.
</content>
</entry>
<entry>
<title>generate-version: redirect *both* stdout and stderr to /dev/null</title>
<updated>2019-11-27T20:19:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-27T20:19:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5b6c941b0a40a425f24909c389a4e34ee57feb83'/>
<id>urn:sha1:5b6c941b0a40a425f24909c389a4e34ee57feb83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>generate-version: handle builds that aren't git clones</title>
<updated>2019-11-24T12:59:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-24T12:59:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=34f699657a8456165e2456c3e014dd93c5d5813d'/>
<id>urn:sha1:34f699657a8456165e2456c3e014dd93c5d5813d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>meson: fix version generation from git</title>
<updated>2019-10-19T20:09:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-19T20:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=286db002f8c85fee0d65d05c845fb1878fcd11a6'/>
<id>urn:sha1:286db002f8c85fee0d65d05c845fb1878fcd11a6</id>
<content type='text'>
run_command() was only run at configure time, meaning the generated
version (that was passed on to the sources via -DFUZZEL_VERSION)
became stale.

Fix by implementing a shell script that generates a header file, and
wrap this in a custom target that is run every time (but the generated
file is only updated when the version changes)
</content>
</entry>
</feed>
