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

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 84da85a 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
RevLine 
[c87e4dd]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[c87e4dd]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[0aeb696]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
[77566073]19 <!ENTITY desktop-file-utils-download-http "http://freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-&desktop-file-utils-version;.tar.gz">
[c87e4dd]20 <!ENTITY desktop-file-utils-download-ftp " ">
[93d2c72]21 <!ENTITY desktop-file-utils-md5sum "8b930e9ad08ac6b8205dd00a1d694b0c">
[f0ba6ba3]22 <!ENTITY desktop-file-utils-size "341 KB">
23 <!ENTITY desktop-file-utils-buildsize "2.7 MB">
[962d208]24 <!ENTITY desktop-file-utils-time "less than 0.1 SBU">
[c87e4dd]25]>
26
[8d77de6]27<sect1 id="desktop-file-utils"
[a70a184]28xreflabel="desktop-file-utils-&desktop-file-utils-version;">
[a149f6fe]29 <?dbhtml filename="desktop-file-utils.html"?>
[fc7afd0c]30
[a149f6fe]31 <sect1info>
32 <othername>$LastChangedBy$</othername>
33 <date>$Date$</date>
[52d50d5]34 <keywordset>
35 <keyword role="package">desktop-file-utils-&desktop-file-utils-version;.tar</keyword>
[22ac237]36 <keyword role="ftpdir">desktop-file-utils</keyword>
[52d50d5]37 </keywordset>
[a149f6fe]38 </sect1info>
[fc7afd0c]39
[832dcb80]40 <title>desktop-file-utils-&desktop-file-utils-version;</title>
[fc7afd0c]41
[a149f6fe]42 <indexterm zone="desktop-file-utils">
43 <primary sortas="a-Desktop-file-utils">Desktop-file-utils</primary>
44 </indexterm>
45
46 <sect2 role="package">
[832dcb80]47 <title>Introduction to desktop-file-utils</title>
[fc7afd0c]48
[8d77de6]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
[a149f6fe]55 adhere to the desktop entries standards specification.</para>
[fc7afd0c]56
[a149f6fe]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>
[fc7afd0c]78
[832dcb80]79 <bridgehead renderas="sect3">desktop-file-utils Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
[da4d54c]82 <para role="required"><xref linkend="glib2"/> and
83 <xref linkend="popt"/></para>
[fc7afd0c]84
[a149f6fe]85 <bridgehead renderas="sect4">Optional</bridgehead>
[52d50d5]86 <para role="optional"><xref linkend="emacs"/></para>
[fc7afd0c]87
[1039de3]88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/desktop-file-utils"/></para>
90
[a149f6fe]91 </sect2>
[fc7afd0c]92
[a149f6fe]93 <sect2 role="installation">
[832dcb80]94 <title>Installation of desktop-file-utils</title>
[a149f6fe]95
[8d77de6]96 <para>Install <application>desktop-file-utils</application> by running the
[a149f6fe]97 following commands:</para>
98
99<screen><userinput>./configure --prefix=/usr &amp;&amp;
100make</userinput></screen>
[fc7afd0c]101
[a149f6fe]102 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[fc7afd0c]103
[a149f6fe]104<screen role="root"><userinput>make install</userinput></screen>
[fc7afd0c]105
[a149f6fe]106 </sect2>
[fc7afd0c]107
[a149f6fe]108 <sect2 role="configuration">
[832dcb80]109 <title>Configuring desktop-file-utils</title>
[fc7afd0c]110
[a149f6fe]111 <sect3>
112 <title>Configuration Information</title>
[fc7afd0c]113
[807b609]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
[da4d54c]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
[807b609]121 <envar>XDG_CONFIG_DIRS</envar> environment variables so that the
122 additional MIME-types application databases and desktop menu files are
[da4d54c]123 properly maintained and discovered by adding the following to the
124 system-wide or personal profile:</para>
[a149f6fe]125
126 <para>For <application>GNOME</application>:</para>
127
[807b609]128<screen><literal>XDG_DATA_DIRS=/usr/share:$GNOME_PREFIX/share
[d777a3a]129XDG_CONFIG_DIRS=/usr/share:&gnome-etc-dir;/xdg
[807b609]130export XDG_DATA_DIRS XDG_CONFIG_DIRS</literal></screen>
[a149f6fe]131
132 <para>For <application>KDE</application>:</para>
133
[807b609]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
[a149f6fe]141
[8d77de6]142 <para>If you're installing both <application>GNOME</application> and
[a149f6fe]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>
[fc7afd0c]147
[807b609]148-->
149
[a149f6fe]150 </sect3>
[fc7afd0c]151
[a149f6fe]152 </sect2>
[fc7afd0c]153
[a149f6fe]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>
[fc7afd0c]161
[a149f6fe]162 <seglistitem>
[8d77de6]163 <seg>desktop-file-install, desktop-file-validate, and
[a149f6fe]164 update-desktop-database</seg>
165 <seg>None</seg>
166 <seg>None</seg>
167 </seglistitem>
168 </segmentedlist>
[fc7afd0c]169
[a149f6fe]170 <variablelist>
171 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
[fc7afd0c]174
[a149f6fe]175 <varlistentry id="desktop-file-install">
176 <term><command>desktop-file-install</command></term>
177 <listitem>
[8d77de6]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
[a149f6fe]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>
[fc7afd0c]186
[a149f6fe]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>
[fc7afd0c]196
[a149f6fe]197 <varlistentry id="update-desktop-database">
198 <term><command>update-desktop-database</command></term>
199 <listitem>
[8d77de6]200 <para>is used to update the MIME-types
[a149f6fe]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>
[c87e4dd]210
211</sect1>
Note: See TracBrowser for help on using the repository browser.