glfs/x/lib/shared-mime-info.xml
Wayne Blaszczyk a7f105391b Added a patch to fix a compatibility issue between
+          gnome-control-center-2.26.0 and libxklavier-4.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8004 af4574ff-66df-0310-9fd7-8a98e5e911e0
2009-09-02 13:47:01 +00:00

147 lines
4.8 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY shared-mime-info-download-http "http://freedesktop.org/~hadess/shared-mime-info-&shared-mime-info-version;.tar.bz2">
<!ENTITY shared-mime-info-download-ftp "&gentoo-ftp-repo;/shared-mime-info-&shared-mime-info-version;.tar.bz2">
<!ENTITY shared-mime-info-md5sum "339b8c284a3b7c153adea985b419030e">
<!ENTITY shared-mime-info-size "447 KB">
<!ENTITY shared-mime-info-buildsize "11 MB">
<!ENTITY shared-mime-info-time "0.1 SBU">
]>
<sect1 id="shared-mime-info"
xreflabel="shared-mime-info-&shared-mime-info-version;">
<?dbhtml filename="shared-mime-info.html" ?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>shared-mime-info-&shared-mime-info-version;</title>
<indexterm zone="shared-mime-info">
<primary sortas="a-shared-mime-info">shared-mime-info</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to shared-mime-info</title>
<para>The <application>shared-mime-info</application> package contains a
MIME database. This allows central updates of MIME information for all
supporting applications.</para>
&lfs65_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&shared-mime-info-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &shared-mime-info-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &shared-mime-info-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &shared-mime-info-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &shared-mime-info-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">shared-mime-info Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="glib2"/>,
<xref linkend="libxml2"/>, and
<xref linkend="perl-xml-parser"/></para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="intltool"/></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/shared-mime-info"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of shared-mime-info</title>
<para>Install <application>shared-mime-info</application> by running the
following commands:</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="configuration">
<title>Configuring shared-mime-info</title>
<sect3>
<title>Configuration Information</title>
<para>Some applications (including <application>GNOME</application>-2)
require a properly set environment variable to locate the MIME database.
Satisfy this requirement by setting the following variable in your
local shell profile, or the system-wide profile:</para>
<screen><literal>XDG_DATA_DIRS=/usr/share
export XDG_DATA_DIRS</literal></screen>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>update-mime-database</seg>
<seg>None</seg>
<seg>/usr/share/mime/{application,audio,image,inode,message,model,
multipart,packages,text,video,x-content,x-epoc}</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="update-mime-database">
<term><command>update-mime-database</command></term>
<listitem>
<para>assists in adding MIME data to the database.</para>
<indexterm zone="shared-mime-info update-mime-database">
<primary sortas="b-update-mime-database">update-mime-database</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>