[mythtv-users] mythtv version numbering
James Abernathy
jfabernathy at gmail.com
Fri Feb 7 00:25:56 UTC 2025
On Thu, Feb 6, 2025 at 5:24 PM Bill Meek <keemllib at gmail.com> wrote:
>
>
> On Thursday 06 February 2025 04:08:23 PM (-06:00), James Abernathy wrote:
>
>
>
> On Thu, Feb 6, 2025 at 4:57 PM David Hampton via mythtv-users <
> mythtv-users at mythtv.org> wrote:
>
>> On Thu, 2025-02-06 at 16:22 -0500, James Abernathy wrote:
>> > I'm trying to sort out the mythtv version numbering.
>> > 1, If you install from the Ubuntu ppa it is consistent based on when
>> > the build system created it.
>>
>> > 2. If I build on Debian using mythtv-light packaging you get
>> > something like v35-Pre-783-g5762763d2a
>>
>> Let's see if I remember this properly. v35 pre-release, 783 commits
>> since the v35-Pre tag was created, build at commit hash 5762763d2a.
>> This is what you would expect from a source build.
>>
>> > 3. If I build on Debian using the cmake process you get a similar
>> > number, v35-Pre-783-g5762763d2a
>>
>> Same
>>
>> > 4. When I build following the wiki
>> > (https://www.mythtv.org/wiki/Installing_MythTV_on_Debian) I get a
>> > version that is based on the date 35.0~master.20250205.4c4ec5e0-
>> > 0ubuntu0_amd64.deb and I can't relate that to anything.
>>
>> Version 35.0 (not true, its a pre-release), master branch, build date
>> 20250205, git commit 4c4ec5e0, followed by ubuntu stuff.
>>
>> > The weird thing I can't figure out is, today, I took a backend that
>> > was built using the Debian 12 wiki method and removed that packaged
>> > and built using the cmake method. It worked but now instead of the
>> > v35-Pre-784 type version I'm seeing v35.0~master.20250205.4c4ec5e0-
>> > 0ubuntu0.
>>
>> That's odd. Maybe you need to fetch tags? Try "git fetch -t".
>>
>> > So my question is how is the version numbering setup? I like the
>> > v35-Pre-784 type because I can relate it to other versions on other
>> > systems. But something is remaining after I removed the .deb package
>> > that is messing with the cmake numbering.
>>
>> No idea why the deb packaging numbers things like that. The name is
>> typically built from what data can be found from git and from the
>> filesystem. You can look at mythtv/version.sh or the
>> mythtv_find_source_version function in cmake/SourceVersion.cmake to see
>> how the sausage is made.
>>
>> David
>>
>
> 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
>
> So now I just need to restore the database etc. All the recordings are on
> a separate drive.
>
> JIm A
>
>
> I wonder if you had the backend installed in two places, like /usr/bin and
> /usr/local/bin.
>
> Not sure how you git the versions (mythbackend.log, git describe, dpkg -l
> |grep mythbackend
> or mythbackend --version).
>
> This would have shown multiples: sudo updatedb && locate --regex
> "bin/mythbackend$"
>
> --
> Bill
>
I decided there were too many unknowns about the mythtv installations, so
the snapshot restore to just after the original debian 12 install was the
best choice.
I followed the new cmake method to build mythtv.
The mythtv version now reads:
MythTV Version : v35-Pre-784-g665b315a3b
MythTV Branch : master
Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250206/ba816b0e/attachment-0001.htm>
More information about the mythtv-users
mailing list