Version field is missing in both about dialog and command-line output
| Task Info (Flyspray) | |
|---|---|
| Opened By | Archie Meng (ArchieMeng) |
| Task ID | 78178 |
| Type | Bug Report |
| Project | Community Packages |
| Category | Packages |
| Version | None |
| OS | x86_64 |
| Opened | 2023-04-12 13:37:51 UTC |
| Status | Assigned |
| Assignee | Felix Yan (felixonmars) |
| Assignee | Filipe Laíns (FFY00) |
Details
Description: When using deepin-terminal, both version field in application's about dialog and command-line output are missing. According to the upstream repo's build script, a "VERSION" flag is required to provide the version name that the application needs. After I added "-DVERSION=$pkgver" parameter to the cmake build line in PKGBUILD and rebuild the package, deepin-terminal shows its version name in both ways as normal.
Additional info: deepin-terminal: 5.9.40-1 Upstream buildscript location: https://github.com/linuxdeepin/deepin-terminal/blob/5.9.40/debian/rules
Steps to reproduce:
- launch deepin-terminal and click the About item in the title menu.
- run command "deepin-terminal -v"