<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>55085</bug_id>
          
          <creation_ts>2025-07-06 20:31:59 +0300</creation_ts>
          <short_desc>gamescope --version не выводит версию</short_desc>
          <delta_ts>2026-02-13 17:51:25 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>gamescope</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Boris Yumankulov">boriabloger</reporter>
          <assigned_to name="fidel@altlinux.org">fidel</assigned_to>
          <cc>fidel</cc>
    
    <cc>k0tran</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>268454</commentid>
    <comment_count>0</comment_count>
    <who name="Boris Yumankulov">boriabloger</who>
    <bug_when>2025-07-06 20:31:59 +0300</bug_when>
    <thetext>gamescope --version
[gamescope] [Info]  console: gamescope version  (gcc 14.2.1)

Должно быть примерно так

[gamescope] [Info]  console: gamescope version 3.16.1-35-g19dc18e (gcc 14.2.1)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>268492</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Yumankulov">boriabloger</who>
    <bug_when>2025-07-07 16:26:13 +0300</bug_when>
    <thetext>Нашёл где проблема

https://github.com/ValveSoftware/gamescope/blob/master/src/GamescopeVersion.h.in


namespace gamescope
{
    static constexpr const char k_szGamescopeVersion[] = &quot;@VCS_TAG@&quot;;
}


https://github.com/ValveSoftware/gamescope/blob/master/src/meson.build


vcs_tag_cmd = [&apos;git&apos;, &apos;describe&apos;, &apos;--always&apos;, &apos;--tags&apos;, &apos;--dirty=+&apos;]
vcs_tag = run_command(vcs_tag_cmd, check: false).stdout().strip()
version_tag = vcs_tag + &apos; (&apos; + compiler_name + &apos; &apos; + compiler_version + &apos;)&apos;

gamescope_version_conf = configuration_data()
gamescope_version_conf.set(&apos;VCS_TAG&apos;, version_tag)

gamescope_version = configure_file(
  input : &apos;GamescopeVersion.h.in&apos;,
  output : &apos;GamescopeVersion.h&apos;,
  configuration : gamescope_version_conf
)

По идее обычной BR на гит должно быть достаточно и он сам подставит 3.16.4-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>281969</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-02-13 17:51:25 +0300</bug_when>
    <thetext>gamescope-3.16.20-alt1 -&gt; sisyphus:

Fri Feb 13 2026 Ilya Sorochan &lt;k0tran@altlinux&gt; 3.16.20-alt1
- 3.16.20
- Update Url and add Vcs tag.
- Use %version in the build process (ALT bug: 55085).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>