source: general/genutils/desktop-file-utils.xml@ d72b599

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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
Last change on this file since d72b599 was d72b599, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to evince-3.36.6
Update to haveged-1.9.12
Update to libmbim-1.24.0
Update to desktop-file-utils-0.26
Update to sqlite-3.32.3
Update to libinput-1.15.6 (and add proper svnprops)
Update to libgweather-3.36.1

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

  • Property mode set to 100644
File size: 8.4 KB
RevLine 
[c87e4dd]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[c87e4dd]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[bfa83aee]7 <!ENTITY desktop-file-utils-download-http
[8dfc5c3]8 "https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-&desktop-file-utils-version;.tar.xz">
[c87e4dd]9 <!ENTITY desktop-file-utils-download-ftp " ">
[d72b599]10 <!ENTITY desktop-file-utils-md5sum "29739e005f5887cf41639b8450f3c23f">
11 <!ENTITY desktop-file-utils-size "84 KB">
[166d300]12 <!ENTITY desktop-file-utils-buildsize "1.8 MB">
[962d208]13 <!ENTITY desktop-file-utils-time "less than 0.1 SBU">
[c87e4dd]14]>
15
[bfa83aee]16<sect1 id="desktop-file-utils" xreflabel="desktop-file-utils-&desktop-file-utils-version;">
[a149f6fe]17 <?dbhtml filename="desktop-file-utils.html"?>
[fc7afd0c]18
[a149f6fe]19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
[fc7afd0c]23
[832dcb80]24 <title>desktop-file-utils-&desktop-file-utils-version;</title>
[fc7afd0c]25
[a149f6fe]26 <indexterm zone="desktop-file-utils">
[bfa83aee]27 <primary sortas="a-desktop-file-utils">desktop-file-utils</primary>
[a149f6fe]28 </indexterm>
29
30 <sect2 role="package">
[bfa83aee]31 <title>Introduction to Desktop File Utils</title>
32
33 <para>
34 The <application>Desktop File Utils</application> package contains
35 command line utilities for working with <ulink
[3438a47a]36 url="http://standards.freedesktop.org/desktop-entry-spec/latest/">
[bfa83aee]37 Desktop entries</ulink>. These utilities are used by Desktop
38 Environments and other applications to manipulate the MIME-types
39 application databases and help adhere to the Desktop Entry
40 Specification.
41 </para>
[fc7afd0c]42
[7ffeb4bd]43 &lfs91_checked;
[c7b3f77]44
[a149f6fe]45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
[bfa83aee]48 <para>
49 Download (HTTP): <ulink url="&desktop-file-utils-download-http;"/>
50 </para>
[a149f6fe]51 </listitem>
52 <listitem>
[bfa83aee]53 <para>
54 Download (FTP): <ulink url="&desktop-file-utils-download-ftp;"/>
55 </para>
[a149f6fe]56 </listitem>
57 <listitem>
[bfa83aee]58 <para>
59 Download MD5 sum: &desktop-file-utils-md5sum;
60 </para>
[a149f6fe]61 </listitem>
62 <listitem>
[bfa83aee]63 <para>
64 Download size: &desktop-file-utils-size;
65 </para>
[a149f6fe]66 </listitem>
67 <listitem>
[bfa83aee]68 <para>
69 Estimated disk space required: &desktop-file-utils-buildsize;
70 </para>
[a149f6fe]71 </listitem>
72 <listitem>
[bfa83aee]73 <para>
74 Estimated build time: &desktop-file-utils-time;
75 </para>
[a149f6fe]76 </listitem>
77 </itemizedlist>
[fc7afd0c]78
[bfa83aee]79 <bridgehead renderas="sect3">Desktop File Utils Dependencies</bridgehead>
[832dcb80]80
81 <bridgehead renderas="sect4">Required</bridgehead>
[bfa83aee]82 <para role="required">
83 <xref linkend="glib2"/>
84 </para>
[fc7afd0c]85
[a149f6fe]86 <bridgehead renderas="sect4">Optional</bridgehead>
[bfa83aee]87 <para role="optional">
88 <xref linkend="emacs"/>
89 </para>
[fc7afd0c]90
[1039de3]91 <para condition="html" role="usernotes">User Notes:
[bfa83aee]92 <ulink url="&blfs-wiki;/desktop-file-utils"/>
93 </para>
[a149f6fe]94 </sect2>
[fc7afd0c]95
[a149f6fe]96 <sect2 role="installation">
[bfa83aee]97 <title>Installation of Desktop File Utils</title>
[a149f6fe]98
[d72b599]99 <warning>
100 <para>
101 If you are upgrading from a previous version of desktop-file-utils that
102 used the Autotools method of installing and configuring the package,
103 you must remove the desktop-file-edit symlink by using the following
104 commands.
105 </para>
106 </warning>
107 <!-- Works around a bug in meson's symlink creation exposed by this package -->
108
109<screen><userinput remap="pre" role="nodump">rm -fv /usr/bin/desktop-file-edit</userinput></screen>
110
[bfa83aee]111 <para>
112 Install <application>Desktop File Utils</application> by
113 running the following commands:
114 </para>
[a149f6fe]115
[d72b599]116<screen><userinput>mkdir build &amp;&amp;
117cd build &amp;&amp;
118
119meson --prefix=/usr .. &amp;&amp;
120ninja</userinput></screen>
[fc7afd0c]121
[bfa83aee]122 <para>
123 This package does not come with a test suite.
124 </para>
[e639150]125
[bfa83aee]126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
[fc7afd0c]129
[d72b599]130<screen role="root"><userinput>ninja install</userinput></screen>
[fc7afd0c]131
[a149f6fe]132 </sect2>
[fc7afd0c]133
[a149f6fe]134 <sect2 role="configuration">
[bfa83aee]135 <title>Configuring Desktop File Utils</title>
[fc7afd0c]136
[a149f6fe]137 <sect3>
138 <title>Configuration Information</title>
[fc7afd0c]139
[bfa83aee]140 <para>
141 The <ulink
[3438a47a]142 url="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG
143 Base Directory</ulink> specification defines the standard locations for
144 applications to place data and configuration files. These files can be
145 used, for instance, to define the menu structure and menu items in a
146 desktop environment.
[bfa83aee]147 </para>
148
149 <para>
150 The default location for configuration files to be installed
151 is <filename class="directory">/etc/xdg</filename>, and the default
152 locations for data files are <filename
153 class="directory">/usr/local/share</filename> and <filename
154 class="directory">/usr/share</filename>. These locations can be
155 extended with the environment variables <envar>XDG_CONFIG_DIRS</envar>
156 and <envar>XDG_DATA_DIRS</envar>, respectively. The
157 <application>GNOME</application>, <application>KDE</application> and
158 <application>XFCE</application> environments respect these
159 settings.
160 </para>
161
162 <para>
163 When a package installs a <filename>.desktop</filename> file
164 to a location in one of the base data directories, the database
165 that maps MIME-types to available applications can be updated. For
166 instance, the cache file at
167 <filename>/usr/share/applications/mimeinfo.cache</filename> can
168 be rebuilt by executing the following command as the <systemitem
169 class="username">root</systemitem> user:
170 </para>
[99c190b]171
[515cc58]172<screen role="root"><userinput>install -vdm755 /usr/share/applications &amp;&amp;
173update-desktop-database /usr/share/applications</userinput></screen>
[99c190b]174
[a149f6fe]175 </sect3>
[fc7afd0c]176
[a149f6fe]177 </sect2>
[fc7afd0c]178
[a149f6fe]179 <sect2 role="content">
180 <title>Contents</title>
181
182 <segmentedlist>
183 <segtitle>Installed Programs</segtitle>
[c3c56b2]184 <segtitle>Installed Libraries</segtitle>
185 <segtitle>Installed Directories</segtitle>
[fc7afd0c]186
[a149f6fe]187 <seglistitem>
[bfa83aee]188 <seg>
[0d7900a]189 desktop-file-edit, desktop-file-install,
[bfa83aee]190 desktop-file-validate and
191 update-desktop-database
[2a05c87]192 </seg>
[c3c56b2]193 <seg>
194 None
195 </seg>
196 <seg>
197 None
198 </seg>
[a149f6fe]199 </seglistitem>
200 </segmentedlist>
[fc7afd0c]201
[a149f6fe]202 <variablelist>
203 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
204 <?dbfo list-presentation="list"?>
205 <?dbhtml list-presentation="table"?>
[fc7afd0c]206
[2a05c87]207 <varlistentry id="desktop-file-edit">
208 <term><command>desktop-file-edit</command></term>
209 <listitem>
[bfa83aee]210 <para>
211 is used to modify an existing desktop file entry.
212 </para>
[2a05c87]213 <indexterm zone="desktop-file-utils desktop-file-edit">
214 <primary sortas="b-desktop-file-edit">desktop-file-edit</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
[a149f6fe]219 <varlistentry id="desktop-file-install">
220 <term><command>desktop-file-install</command></term>
221 <listitem>
[bfa83aee]222 <para>
[0d7900a]223 is used to install a new desktop file entry. It is
224 also used to rebuild or modify the MIME-types application
[bfa83aee]225 database.
226 </para>
[a149f6fe]227 <indexterm zone="desktop-file-utils desktop-file-install">
228 <primary sortas="b-desktop-file-install">desktop-file-install</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
[fc7afd0c]232
[a149f6fe]233 <varlistentry id="desktop-file-validate">
234 <term><command>desktop-file-validate</command></term>
235 <listitem>
[bfa83aee]236 <para>
237 is used to verify the integrity of a desktop file.
238 </para>
[a149f6fe]239 <indexterm zone="desktop-file-utils desktop-file-validate">
240 <primary sortas="b-desktop-file-validate">desktop-file-validate</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
[fc7afd0c]244
[a149f6fe]245 <varlistentry id="update-desktop-database">
246 <term><command>update-desktop-database</command></term>
247 <listitem>
[bfa83aee]248 <para>
249 is used to update the MIME-types application database.
250 </para>
[a149f6fe]251 <indexterm zone="desktop-file-utils update-desktop-database">
252 <primary sortas="b-update-desktop-database">update-desktop-database</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256 </variablelist>
257
258 </sect2>
[c87e4dd]259
260</sect1>
Note: See TracBrowser for help on using the repository browser.