mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
fe59aef666
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3755 af4574ff-66df-0310-9fd7-8a98e5e911e0
124 lines
4.0 KiB
XML
124 lines
4.0 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY shared-mime-info-download-http "http://freedesktop.org/~jrb/shared-mime-info-&shared-mime-info-version;.tar.gz">
|
|
<!ENTITY shared-mime-info-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/shared-mime-info-&shared-mime-info-version;.tar.gz">
|
|
<!ENTITY shared-mime-info-md5sum "255a20bae753ebd41e2286b01e7b86d0">
|
|
<!ENTITY shared-mime-info-size "753 KB">
|
|
<!ENTITY shared-mime-info-buildsize "7.5 MB">
|
|
<!ENTITY shared-mime-info-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="shared-mime-info"
|
|
xreflabel="shared-mime-info-&shared-mime-info-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="shared-mime-info.html" ?>
|
|
<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>
|
|
<title>Introduction to <application>shared-mime-info</application></title>
|
|
|
|
<para>The <application>shared-mime-info</application> package contains a
|
|
<acronym>MIME</acronym> database. This allows central updates of
|
|
<acronym>MIME</acronym> information for all supporting applications.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<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>
|
|
</sect3>
|
|
|
|
<sect3><title><application>shared-mime-info</application> dependencies</title>
|
|
<sect4><title>Required</title>
|
|
<para><xref linkend="glib2"/>,
|
|
<xref linkend="libxml2"/> and
|
|
<xref linkend="perl-modules"/>: XML-Parser</para>
|
|
</sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>shared-mime-info</application></title>
|
|
|
|
<para>Install <application>shared-mime-info</application> by running the
|
|
following commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr &&
|
|
make</command></userinput></screen>
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Configuring <application>shared-mime-info</application></title>
|
|
|
|
<sect3><title>Configuration information</title>
|
|
|
|
<para>Some applications
|
|
(including <application><acronym>GNOME</acronym></application>-2) require
|
|
a properly set enviroment variable to locate the <acronym>MIME</acronym>
|
|
database. Satisfy this requirement by setting the following variable in your
|
|
local shell profile, or the system-wide profile:</para>
|
|
|
|
<screen><userinput>XDG_DATA_DIRS=/usr/share
|
|
export XDG_DATA_DIRS</userinput></screen>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<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</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<varlistentry id="update-mime-database">
|
|
<term><command>update-mime-database</command></term>
|
|
<listitem><para>assists in adding <acronym>MIME</acronym> 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>
|
|
|