<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Feb 6, 2025 at 4:57 PM David Hampton via mythtv-users <<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 2025-02-06 at 16:22 -0500, James Abernathy wrote:<br>
> I'm trying to sort out the mythtv version numbering. <br>
> 1, If you install from the Ubuntu ppa it is consistent based on when<br>
> the build system created it.<br>
<br>
> 2. If I build on Debian using mythtv-light packaging you get<br>
> something like v35-Pre-783-g5762763d2a<br>
<br>
Let's see if I remember this properly. v35 pre-release, 783 commits<br>
since the v35-Pre tag was created, build at commit hash 5762763d2a. <br>
This is what you would expect from a source build.<br>
<br>
> 3. If I build on Debian using the cmake process you get a similar<br>
> number, v35-Pre-783-g5762763d2a<br>
<br>
Same<br>
<br>
> 4. When I build following the wiki<br>
> (<a href="https://www.mythtv.org/wiki/Installing_MythTV_on_Debian" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/Installing_MythTV_on_Debian</a>) I get a<br>
> version that is based on the date 35.0~master.20250205.4c4ec5e0-<br>
> 0ubuntu0_amd64.deb and I can't relate that to anything.<br>
<br>
Version 35.0 (not true, its a pre-release), master branch, build date<br>
20250205, git commit 4c4ec5e0, followed by ubuntu stuff.<br>
<br>
> The weird thing I can't figure out is, today, I took a backend that<br>
> was built using the Debian 12 wiki method and removed that packaged<br>
> and built using the cmake method. It worked but now instead of the<br>
> v35-Pre-784 type version I'm seeing v35.0~master.20250205.4c4ec5e0-<br>
> 0ubuntu0.<br>
<br>
That's odd. Maybe you need to fetch tags? Try "git fetch -t".<br>
<br>
> So my question is how is the version numbering setup? I like the<br>
> v35-Pre-784 type because I can relate it to other versions on other<br>
> systems. But something is remaining after I removed the .deb package<br>
> that is messing with the cmake numbering.<br>
<br>
No idea why the deb packaging numbers things like that. The name is<br>
typically built from what data can be found from git and from the<br>
filesystem. You can look at mythtv/version.sh or the<br>
mythtv_find_source_version function in cmake/SourceVersion.cmake to see<br>
how the sausage is made.<br>
<br>
David<br></blockquote><div><br></div><div>Thanks, I thought it might be hard to straighten the number out on what I had, so I used timeshift to restore back to just before I built mythtv the first time and this time I built using cmake and got the right numbering MythTV Version : v35-Pre-784-g665b315a3b</div><div><br></div><div>So now I just need to restore the database etc. All the recordings are on a separate drive.</div><div><br></div><div>JIm A</div><div><br> </div></div></div>