Changeset 00d040d


Ignore:
Timestamp:
09/17/2019 07:37:50 PM (5 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
6479ff5
Parents:
baaf6020
Message:

Make gtk-update-... and update-desktop-... "nodump": The needed programs are
not mentioned in the dependency paragraphs, so that very often, they are not
installed. Furthermore, our policy respective to this is not clear to me:
a lot more packages install icons or .desktop files, and we do not run
updates for them. Actually, the updates should be run at the end of all
installations, not for individual pacakges...

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22159 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • postlfs/editors/emacs.xml

    rbaaf6020 r00d040d  
    125125rm -vf /usr/lib/systemd/user/emacs.service</userinput></screen>
    126126
    127     <para>
    128 
    129       This package installs icon files into the <filename
    130       class="directory">/usr/share/icons/hicolor</filename> hierarchy and
    131       desktop files into the <filename
    132       class="directory">/usr/share/applications</filename> hierarchy. You
    133       can improve system performance and memory usage by updating
    134       <filename>/usr/share/icons/hicolor/icon-theme.cache</filename> and
    135       <filename>/usr/share/applications/mimeinfo.cache</filename>. To
    136       perform the update you must have <xref linkend="gtk2"/> or <xref
    137       linkend="gtk3"/> installed (for the icon cache) and <xref
    138       linkend="desktop-file-utils"/> (for the desktop cache) and issue
    139       the following commands as the <systemitem
    140       class="username">root</systemitem> user:
    141 
    142     </para>
    143 
    144 <screen role="root"><userinput>gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &amp;&amp;
    145 update-desktop-database</userinput></screen>
     127    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     128      href="../../xincludes/gtk-update-icon-cache.xml"/>
    146129
    147130  </sect2>
  • x/icons/lxde-icon-theme.xml

    rbaaf6020 r00d040d  
    110110    </para>
    111111
    112 <screen role="root"><userinput>gtk-update-icon-cache -qf /usr/share/icons/nuoveXT2</userinput></screen>
     112<screen role="nodump"><userinput>gtk-update-icon-cache -qf /usr/share/icons/nuoveXT2</userinput></screen>
    113113
    114114  </sect2>
  • xincludes/gtk-update-icon-cache.xml

    rbaaf6020 r00d040d  
    1717      </para>
    1818
    19 <screen role="root"><userinput>gtk-update-icon-cache -qtf /usr/share/icons/hicolor</userinput></screen>
     19<screen role="nodump"><userinput>gtk-update-icon-cache -qtf /usr/share/icons/hicolor</userinput></screen>
    2020    </note>
  • xincludes/update-icons-and-desktop.xml

    rbaaf6020 r00d040d  
    2222      </para>
    2323
    24 <screen role="root"><userinput>gtk-update-icon-cache -qtf /usr/share/icons/hicolor &amp;&amp;
     24<screen role="nodump"><userinput>gtk-update-icon-cache -qtf /usr/share/icons/hicolor &amp;&amp;
    2525update-desktop-database -q</userinput></screen>
    2626    </note>
  • xsoft/other/xarchiver.xml

    rbaaf6020 r00d040d  
    140140<screen role="root"><userinput>make DOCDIR=/usr/share/doc/xarchiver-&xarchiver-version; install</userinput></screen>
    141141
    142     <para>
    143       If <xref linkend="desktop-file-utils"/> and <xref
    144       linkend="hicolor-icon-theme"/> are installed, issue, as <systemitem
    145       class="username">root</systemitem> user:
    146     </para>
    147 
    148 <screen role="root"><userinput>update-desktop-database &amp;&amp;
    149 gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor</userinput></screen>
     142    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     143      href="../../xincludes/update-icons-and-desktop.xml"/>
     144
    150145  </sect2>
    151146
Note: See TracChangeset for help on using the changeset viewer.