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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 832dcb80 was 832dcb80, checked in by Randy McMurchy <randy@…>, 19 years ago

Fixed required dependencies section in desktop-file-utils instructions

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

  • Property mode set to 100644
File size: 6.5 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 <!ENTITY desktop-file-utils-download-http "http://freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-&desktop-file-utils-version;.tar.gz">
8 <!ENTITY desktop-file-utils-download-ftp " ">
9 <!ENTITY desktop-file-utils-md5sum "8b930e9ad08ac6b8205dd00a1d694b0c">
10 <!ENTITY desktop-file-utils-size "341 KB">
11 <!ENTITY desktop-file-utils-buildsize "2.7 MB">
12 <!ENTITY desktop-file-utils-time "less than 0.1 SBU">
13]>
14
15<sect1 id="desktop-file-utils"
16xreflabel="desktop-file-utils-&desktop-file-utils-version;">
17 <?dbhtml filename="desktop-file-utils.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>desktop-file-utils-&desktop-file-utils-version;</title>
25
26 <indexterm zone="desktop-file-utils">
27 <primary sortas="a-Desktop-file-utils">Desktop-file-utils</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to desktop-file-utils</title>
32
33 <para>The <application>desktop-file-utils</application> package contains
34 command line utilities for working with <ulink
35 url="http://www.freedesktop.org/Standards/desktop-entry-spec">desktop
36 entries</ulink>. These utilities are used by
37 <application>GNOME</application>-2 and other applications
38 to manipulate the MIME-types application databases and help
39 adhere to the desktop entries standards specification.</para>
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&desktop-file-utils-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&desktop-file-utils-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &desktop-file-utils-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &desktop-file-utils-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &desktop-file-utils-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &desktop-file-utils-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">desktop-file-utils Dependencies</bridgehead>
64
65 <bridgehead renderas="sect4">Required</bridgehead>
66 <para><xref linkend="glib2"/> and <xref linkend="popt"/></para>
67
68 <bridgehead renderas="sect4">Optional</bridgehead>
69 <para><xref linkend="emacs"/></para>
70
71 </sect2>
72
73 <sect2 role="installation">
74 <title>Installation of desktop-file-utils</title>
75
76 <para>Install <application>desktop-file-utils</application> by running the
77 following commands:</para>
78
79<screen><userinput>./configure --prefix=/usr &amp;&amp;
80make</userinput></screen>
81
82 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
83
84<screen role="root"><userinput>make install</userinput></screen>
85
86 </sect2>
87
88 <sect2 role="configuration">
89 <title>Configuring desktop-file-utils</title>
90
91 <sect3>
92 <title>Configuration Information</title>
93
94 <para>The default location for the MIME-types application
95 database is <filename>/usr/share/applications/mimeinfo.cache</filename>. If
96 you are going to install, or have already installed, a desktop environment
97 such as <application>GNOME</application> or
98 <application>KDE</application> in a prefix other than
99 <filename class='directory'>/usr</filename>, you'll need to update the
100 <envar>XDG_DATA_DIRS</envar> environment variable so that additional
101 MIME-types application databases are properly maintained.
102 Add the following to the system-wide or personal profile:</para>
103
104 <para>For <application>GNOME</application>:</para>
105
106<screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share
107export XDG_DATA_DIRS</literal></screen>
108
109 <para>For <application>KDE</application>:</para>
110
111<screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDE_PREFIX/share
112export XDG_DATA_DIRS</literal></screen>
113
114 <para>If you're installing both <application>GNOME</application> and
115 <application>KDE</application>:</para>
116
117<screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share:$KDE_PREFIX/share
118export XDG_DATA_DIRS</literal></screen>
119
120 </sect3>
121
122 </sect2>
123
124 <sect2 role="content">
125 <title>Contents</title>
126
127 <segmentedlist>
128 <segtitle>Installed Programs</segtitle>
129 <segtitle>Installed Libraries</segtitle>
130 <segtitle>Installed Directories</segtitle>
131
132 <seglistitem>
133 <seg>desktop-file-install, desktop-file-validate, and
134 update-desktop-database</seg>
135 <seg>None</seg>
136 <seg>None</seg>
137 </seglistitem>
138 </segmentedlist>
139
140 <variablelist>
141 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
142 <?dbfo list-presentation="list"?>
143 <?dbhtml list-presentation="table"?>
144
145 <varlistentry id="desktop-file-install">
146 <term><command>desktop-file-install</command></term>
147 <listitem>
148 <para>is used to install a new, or modify an existing desktop file
149 entry. It is also used to rebuild or modify the MIME-types
150 application database.</para>
151 <indexterm zone="desktop-file-utils desktop-file-install">
152 <primary sortas="b-desktop-file-install">desktop-file-install</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="desktop-file-validate">
158 <term><command>desktop-file-validate</command></term>
159 <listitem>
160 <para>is used to verify the integrity of a desktop file.</para>
161 <indexterm zone="desktop-file-utils desktop-file-validate">
162 <primary sortas="b-desktop-file-validate">desktop-file-validate</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="update-desktop-database">
168 <term><command>update-desktop-database</command></term>
169 <listitem>
170 <para>is used to update the MIME-types
171 application database.</para>
172 <indexterm zone="desktop-file-utils update-desktop-database">
173 <primary sortas="b-update-desktop-database">update-desktop-database</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177 </variablelist>
178
179 </sect2>
180
181</sect1>
Note: See TracBrowser for help on using the repository browser.