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

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

    <bug>
          <bug_id>46615</bug_id>
          
          <creation_ts>2023-06-21 18:12:21 +0300</creation_ts>
          <short_desc>update-desktop-database.filetrigger не учитывает $XDG_DATA_DIRS</short_desc>
          <delta_ts>2023-07-04 14:34:49 +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>desktop-file-utils</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="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Sergey V Turchin">zerg</assigned_to>
          <cc>aris</cc>
    
    <cc>viy</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>228166</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2023-06-21 18:12:21 +0300</bug_when>
    <thetext>Правильнее не реагировать на /usr/share/applications, а проверять все каталоги из $XDG_DATA_DIRS (lj, добавляя к ним applications. В этом случае удаление в не-KDEшних средах приложений KDE при установленном пакете kde5-profile правильно обновит меню.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228667</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2023-06-30 16:22:52 +0300</bug_when>
    <thetext>(Ответ для Andrey Cherepanov на комментарий #0)
&gt; проверять все
&gt; каталоги из $XDG_DATA_DIRS (lj, добавляя к ним applications
Так и есть. https://git.altlinux.org/gears/d/desktop-file-utils.git?p=desktop-file-utils.git;a=blob;f=src/update-desktop-database.c;h=b1bca9c32293bda8638b96bff333dcd3c86788ed;hb=c6fe9feb65063081e3eb03832e57e4d73181b42a#l396

Вопросы к g_get_system_data_dirs() или ещё к кому.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228668</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2023-06-30 16:25:42 +0300</bug_when>
    <thetext>Ааа, filetrigger же.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228929</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-07-04 14:34:49 +0300</bug_when>
    <thetext>desktop-file-utils-0.26-alt4 -&gt; sisyphus:

 Tue Jul 04 2023 Sergey V Turchin &lt;zerg@altlinux&gt; 0.26-alt4
 - don&apos;t force custom XDG_DATA_DIRS in filetrigger (closes: 46615)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>