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

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

    <bug>
          <bug_id>51327</bug_id>
          
          <creation_ts>2024-08-29 18:19:58 +0300</creation_ts>
          <short_desc>Не удаляется категория Education из .desktop</short_desc>
          <delta_ts>2026-09-07 08:16:08 +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>libreoffice</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>george</cc>
    
    <cc>grenka</cc>
    
    <cc>kotopesutility</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>250869</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2024-08-29 18:19:58 +0300</bug_when>
    <thetext>https://git.altlinux.org/srpms/L/LibreOffice.git?p=LibreOffice.git;a=blob;f=libreoffice.spec;h=256b2e429fd52350cbe83881cab68d673cdce1b6;hb=24.8.0.3-alt1#l554

&gt; # Hack out &quot;Education&quot; category from Math
&gt; sed -i &apos;s/Education;//&apos; %buildroot%lodir/share/xdg/math.desktop

Но:

&gt; # cat /usr/share/applications/LibreOffice-math.desktop | grep Education
&gt; Categories=Office;Education;Science;Math;X-Red-Hat-Base;

LibreOffice-24.8.0.3-alt1.x86_64
ALT Workstation, обновленный до sisyphus

В -still удаляется.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296434</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-09-07 08:16:08 +0300</bug_when>
    <thetext>Пакет LibreOffice слит в libreoffice (https://packages.altlinux.org/tasks/398440/). Причина сохранилась: в libreoffice.spec:799 хак `subst &apos;s/Education;//&apos; %buildroot%lodir/share/xdg/math.desktop` правит копию в share/xdg, а /usr/share/applications/libreoffice-math.desktop создаётся скриптом bin/distro-install-desktop-integration (add_wrapper lomath …) отдельно, поэтому в установленном файле Education остаётся. Править нужно %buildroot%_desktopdir/libreoffice-math.desktop (либо оба файла). Перевешиваю на libreoffice.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>