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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7a05cc54 was 0aeb696, checked in by Randy McMurchy <randy@…>, 18 years ago

Added a comment to each file that may need a mention of a test suite added to it, this allows closing of bug #1697

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

  • Property mode set to 100644
File size: 7.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!-- Inserted as a reminder to do this. The mention of a test suite
8 is usually right before the root user installation commands. Please
9 delete these 12 (including one blank) lines after you are done.-->
10
11 <!-- Use one of the two mentions below about a test suite,
12 delete the line that is not applicable. Of course, if the
13 test suite uses syntax other than "make check", revise the
14 line to reflect the actual syntax to run the test suite -->
15
16 <!-- <para>This package does not come with a test suite.</para> -->
17 <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
18
19 <!ENTITY desktop-file-utils-download-http "http://freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-&desktop-file-utils-version;.tar.gz">
20 <!ENTITY desktop-file-utils-download-ftp " ">
21 <!ENTITY desktop-file-utils-md5sum "8b930e9ad08ac6b8205dd00a1d694b0c">
22 <!ENTITY desktop-file-utils-size "341 KB">
23 <!ENTITY desktop-file-utils-buildsize "2.7 MB">
24 <!ENTITY desktop-file-utils-time "less than 0.1 SBU">
25]>
26
27<sect1 id="desktop-file-utils"
28xreflabel="desktop-file-utils-&desktop-file-utils-version;">
29 <?dbhtml filename="desktop-file-utils.html"?>
30
31 <sect1info>
32 <othername>$LastChangedBy$</othername>
33 <date>$Date$</date>
34 <keywordset>
35 <keyword role="package">desktop-file-utils-&desktop-file-utils-version;.tar</keyword>
36 <keyword role="ftpdir">desktop-file-utils</keyword>
37 </keywordset>
38 </sect1info>
39
40 <title>desktop-file-utils-&desktop-file-utils-version;</title>
41
42 <indexterm zone="desktop-file-utils">
43 <primary sortas="a-Desktop-file-utils">Desktop-file-utils</primary>
44 </indexterm>
45
46 <sect2 role="package">
47 <title>Introduction to desktop-file-utils</title>
48
49 <para>The <application>desktop-file-utils</application> package contains
50 command line utilities for working with <ulink
51 url="http://www.freedesktop.org/Standards/desktop-entry-spec">desktop
52 entries</ulink>. These utilities are used by
53 <application>GNOME</application>-2 and other applications
54 to manipulate the MIME-types application databases and help
55 adhere to the desktop entries standards specification.</para>
56
57 <bridgehead renderas="sect3">Package Information</bridgehead>
58 <itemizedlist spacing="compact">
59 <listitem>
60 <para>Download (HTTP): <ulink url="&desktop-file-utils-download-http;"/></para>
61 </listitem>
62 <listitem>
63 <para>Download (FTP): <ulink url="&desktop-file-utils-download-ftp;"/></para>
64 </listitem>
65 <listitem>
66 <para>Download MD5 sum: &desktop-file-utils-md5sum;</para>
67 </listitem>
68 <listitem>
69 <para>Download size: &desktop-file-utils-size;</para>
70 </listitem>
71 <listitem>
72 <para>Estimated disk space required: &desktop-file-utils-buildsize;</para>
73 </listitem>
74 <listitem>
75 <para>Estimated build time: &desktop-file-utils-time;</para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">desktop-file-utils Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required"><xref linkend="glib2"/> and
83 <xref linkend="popt"/></para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional"><xref linkend="emacs"/></para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/desktop-file-utils"/></para>
90
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of desktop-file-utils</title>
95
96 <para>Install <application>desktop-file-utils</application> by running the
97 following commands:</para>
98
99<screen><userinput>./configure --prefix=/usr &amp;&amp;
100make</userinput></screen>
101
102 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
103
104<screen role="root"><userinput>make install</userinput></screen>
105
106 </sect2>
107
108 <sect2 role="configuration">
109 <title>Configuring desktop-file-utils</title>
110
111 <sect3>
112 <title>Configuration Information</title>
113
114 <para>The default location for the MIME-types application database is
115 <filename>/usr/share/applications/mimeinfo.cache</filename>. If you are
116 going to install, or have already installed, a desktop environment such
117 as <application>GNOME</application> or <application>KDE</application> in
118 a prefix other than <filename class='directory'>/usr</filename>, you'll
119 need to update the <envar>XDG_DATA_DIRS</envar> variable with your prefix
120 setting. Update the <envar>XDG_DATA_DIRS</envar> (if necessary) and
121 <envar>XDG_CONFIG_DIRS</envar> environment variables so that the
122 additional MIME-types application databases and desktop menu files are
123 properly maintained and discovered by adding the following to the
124 system-wide or personal profile:</para>
125
126 <para>For <application>GNOME</application>:</para>
127
128<screen><literal>XDG_DATA_DIRS=/usr/share:$GNOME_PREFIX/share
129XDG_CONFIG_DIRS=/usr/share:&gnome-etc-dir;/xdg
130export XDG_DATA_DIRS XDG_CONFIG_DIRS</literal></screen>
131
132 <para>For <application>KDE</application>:</para>
133
134<screen><literal>XDG_DATA_DIRS=/usr/share:$KDE_PREFIX/share
135XDG_CONFIG_DIRS=/usr/share:/etc/kde/xdg
136export XDG_DATA_DIRS XDG_CONFIG_DIRS</literal></screen>
137
138
139<!-- This ends up messing up the menus and the GNOME and KDE stuff is simply
140 not yet interchangeable
141
142 <para>If you're installing both <application>GNOME</application> and
143 <application>KDE</application>:</para>
144
145<screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share:$KDE_PREFIX/share
146export XDG_DATA_DIRS</literal></screen>
147
148-->
149
150 </sect3>
151
152 </sect2>
153
154 <sect2 role="content">
155 <title>Contents</title>
156
157 <segmentedlist>
158 <segtitle>Installed Programs</segtitle>
159 <segtitle>Installed Libraries</segtitle>
160 <segtitle>Installed Directories</segtitle>
161
162 <seglistitem>
163 <seg>desktop-file-install, desktop-file-validate, and
164 update-desktop-database</seg>
165 <seg>None</seg>
166 <seg>None</seg>
167 </seglistitem>
168 </segmentedlist>
169
170 <variablelist>
171 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
174
175 <varlistentry id="desktop-file-install">
176 <term><command>desktop-file-install</command></term>
177 <listitem>
178 <para>is used to install a new, or modify an existing desktop file
179 entry. It is also used to rebuild or modify the MIME-types
180 application database.</para>
181 <indexterm zone="desktop-file-utils desktop-file-install">
182 <primary sortas="b-desktop-file-install">desktop-file-install</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="desktop-file-validate">
188 <term><command>desktop-file-validate</command></term>
189 <listitem>
190 <para>is used to verify the integrity of a desktop file.</para>
191 <indexterm zone="desktop-file-utils desktop-file-validate">
192 <primary sortas="b-desktop-file-validate">desktop-file-validate</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="update-desktop-database">
198 <term><command>update-desktop-database</command></term>
199 <listitem>
200 <para>is used to update the MIME-types
201 application database.</para>
202 <indexterm zone="desktop-file-utils update-desktop-database">
203 <primary sortas="b-update-desktop-database">update-desktop-database</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207 </variablelist>
208
209 </sect2>
210
211</sect1>
Note: See TracBrowser for help on using the repository browser.