mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 22:07:15 +08:00
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
This commit is contained in:
parent
baaf6020b9
commit
00d040d741
@ -124,25 +124,8 @@ chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
|
|||||||
chown -v -R root:root /usr/share/emacs/&emacs-version; &&
|
chown -v -R root:root /usr/share/emacs/&emacs-version; &&
|
||||||
rm -vf /usr/lib/systemd/user/emacs.service</userinput></screen>
|
rm -vf /usr/lib/systemd/user/emacs.service</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
|
href="../../xincludes/gtk-update-icon-cache.xml"/>
|
||||||
This package installs icon files into the <filename
|
|
||||||
class="directory">/usr/share/icons/hicolor</filename> hierarchy and
|
|
||||||
desktop files into the <filename
|
|
||||||
class="directory">/usr/share/applications</filename> hierarchy. You
|
|
||||||
can improve system performance and memory usage by updating
|
|
||||||
<filename>/usr/share/icons/hicolor/icon-theme.cache</filename> and
|
|
||||||
<filename>/usr/share/applications/mimeinfo.cache</filename>. To
|
|
||||||
perform the update you must have <xref linkend="gtk2"/> or <xref
|
|
||||||
linkend="gtk3"/> installed (for the icon cache) and <xref
|
|
||||||
linkend="desktop-file-utils"/> (for the desktop cache) and issue
|
|
||||||
the following commands as the <systemitem
|
|
||||||
class="username">root</systemitem> user:
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<screen role="root"><userinput>gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &&
|
|
||||||
update-desktop-database</userinput></screen>
|
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@
|
|||||||
command as the <systemitem class="username">root</systemitem> user:
|
command as the <systemitem class="username">root</systemitem> user:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>gtk-update-icon-cache -qf /usr/share/icons/nuoveXT2</userinput></screen>
|
<screen role="nodump"><userinput>gtk-update-icon-cache -qf /usr/share/icons/nuoveXT2</userinput></screen>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -16,5 +16,5 @@
|
|||||||
<systemitem class="username">root</systemitem> user:
|
<systemitem class="username">root</systemitem> user:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>gtk-update-icon-cache -qtf /usr/share/icons/hicolor</userinput></screen>
|
<screen role="nodump"><userinput>gtk-update-icon-cache -qtf /usr/share/icons/hicolor</userinput></screen>
|
||||||
</note>
|
</note>
|
||||||
|
@ -21,6 +21,6 @@
|
|||||||
<systemitem class="username">root</systemitem> user:
|
<systemitem class="username">root</systemitem> user:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>gtk-update-icon-cache -qtf /usr/share/icons/hicolor &&
|
<screen role="nodump"><userinput>gtk-update-icon-cache -qtf /usr/share/icons/hicolor &&
|
||||||
update-desktop-database -q</userinput></screen>
|
update-desktop-database -q</userinput></screen>
|
||||||
</note>
|
</note>
|
||||||
|
@ -139,14 +139,9 @@ make</userinput></screen>
|
|||||||
|
|
||||||
<screen role="root"><userinput>make DOCDIR=/usr/share/doc/xarchiver-&xarchiver-version; install</userinput></screen>
|
<screen role="root"><userinput>make DOCDIR=/usr/share/doc/xarchiver-&xarchiver-version; install</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
If <xref linkend="desktop-file-utils"/> and <xref
|
href="../../xincludes/update-icons-and-desktop.xml"/>
|
||||||
linkend="hicolor-icon-theme"/> are installed, issue, as <systemitem
|
|
||||||
class="username">root</systemitem> user:
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<screen role="root"><userinput>update-desktop-database &&
|
|
||||||
gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor</userinput></screen>
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="commands">
|
<sect2 role="commands">
|
||||||
|
Loading…
Reference in New Issue
Block a user