FS#67361 - [rgbds] 0.4.0-3 Version number format differs from when built from source

Attached to Project: Community Packages
Opened by Eldred Habert (ISSOtm) - Wednesday, 22 July 2020, 14:13 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 23 July 2020, 12:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The version number enforced by the PKGBUILD differs from release numbers in that it's missing a "v" in front of the version proper.

issotm@sheik-kitty ~/rgbds% pacman -Q rgbds
rgbds 0.4.0-3
issotm@sheik-kitty ~/rgbds% rgbasm -V
rgbasm 0.4.0
issotm@sheik-kitty ~/rgbds% ./rgbasm -V
rgbasm v0.4.0

It's worth noting that upstream has a fallback if the version string comes empty: https://github.com/rednex/rgbds/blob/fcd37b52b69fc652427cc8216a9a20c04143cc87/src/version.c#L19-L25
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Thursday, 23 July 2020, 12:08 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Switched to cmake which also strips the v by default, this bug is invalid.
Comment by Maxime Gauduin (Alucryd) - Wednesday, 22 July 2020, 15:07 GMT
What's your point? Why do we care about a missing v which is essentially useless?

Loading...