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

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 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3f4dc82 was ca783379, checked in by Douglas R. Reno <renodr@…>, 2 years ago

Package Updates and Tags:

Update to tree-2.0.2
Update to scons-4.3.0

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