[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[feeb99a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0d7900a] | 7 | <!ENTITY shared-mime-info-download-http
|
---|
[88ed85c] | 8 | "http://freedesktop.org/~hadess/shared-mime-info-&shared-mime-info-version;.tar.xz">
|
---|
[1087d94] | 9 | <!ENTITY shared-mime-info-download-ftp " ">
|
---|
[92ada82] | 10 | <!ENTITY shared-mime-info-md5sum "10abc5c4e6b22223ff05c3bd70ff9e8f">
|
---|
| 11 | <!ENTITY shared-mime-info-size "545 KB">
|
---|
[14ca05b] | 12 | <!ENTITY shared-mime-info-buildsize "20 MB (with tests)">
|
---|
[92ada82] | 13 | <!ENTITY shared-mime-info-time "0.2 SBU (on a minimal system, up to 0.5 SBU on a fully loaded desktop)">
|
---|
[feeb99a] | 14 | ]>
|
---|
| 15 |
|
---|
[c69cf51] | 16 | <sect1 id="shared-mime-info"
|
---|
[0ce8d61] | 17 | xreflabel="shared-mime-info-&shared-mime-info-version;">
|
---|
[c69cf51] | 18 | <?dbhtml filename="shared-mime-info.html" ?>
|
---|
[a1e93c53] | 19 |
|
---|
[c69cf51] | 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>shared-mime-info-&shared-mime-info-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="shared-mime-info">
|
---|
| 28 | <primary sortas="a-shared-mime-info">shared-mime-info</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
[5b38e37] | 32 | <title>Introduction to Shared Mime Info</title>
|
---|
[c69cf51] | 33 |
|
---|
[5b38e37] | 34 | <para>
|
---|
| 35 | The <application>Shared Mime Info</application> package contains a
|
---|
| 36 | MIME database. This allows central updates of MIME information for all
|
---|
| 37 | supporting applications.
|
---|
| 38 | </para>
|
---|
[c69cf51] | 39 |
|
---|
[4df7c20] | 40 | &lfs79_checked;&gcc6_checked;
|
---|
[af814c4] | 41 |
|
---|
[c69cf51] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[5b38e37] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&shared-mime-info-download-http;"/>
|
---|
| 47 | </para>
|
---|
[c69cf51] | 48 | </listitem>
|
---|
[af814c4] | 49 | <listitem>
|
---|
[5b38e37] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[af814c4] | 53 | </listitem>
|
---|
[c69cf51] | 54 | <listitem>
|
---|
[5b38e37] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &shared-mime-info-md5sum;
|
---|
| 57 | </para>
|
---|
[c69cf51] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[5b38e37] | 60 | <para>
|
---|
| 61 | Download size: &shared-mime-info-size;
|
---|
| 62 | </para>
|
---|
[c69cf51] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[5b38e37] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &shared-mime-info-buildsize;
|
---|
| 67 | </para>
|
---|
[c69cf51] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[5b38e37] | 70 | <para>
|
---|
| 71 | Estimated build time: &shared-mime-info-time;
|
---|
| 72 | </para>
|
---|
[c69cf51] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
[5b38e37] | 76 | <bridgehead renderas="sect3">Shared Mime Info Dependencies</bridgehead>
|
---|
[c69cf51] | 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[98d5a95] | 79 | <para role="required">
|
---|
[56605b9] | 80 | <xref linkend="glib2"/> and
|
---|
[35a403d4] | 81 | <xref linkend="libxml2"/>
|
---|
[98d5a95] | 82 | </para>
|
---|
[18971e0d] | 83 |
|
---|
[c5c2654] | 84 | <para condition="html" role="usernotes">User Notes:
|
---|
| 85 | <ulink url="&blfs-wiki;/shared-mime-info"/></para>
|
---|
| 86 |
|
---|
[c69cf51] | 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="installation">
|
---|
[5b38e37] | 90 | <title>Installation of Shared Mime Info</title>
|
---|
[c69cf51] | 91 |
|
---|
[92ada82] | 92 | <note>
|
---|
| 93 | <para>If your processor is <emphasis>not</emphasis> a very recent
|
---|
| 94 | Intel, you may need to use <literal>make -j1</literal> for this
|
---|
| 95 | package.</para>
|
---|
| 96 | </note>
|
---|
| 97 |
|
---|
[5b38e37] | 98 | <para>
|
---|
| 99 | Install <application>Shared Mime Info</application> by running the
|
---|
| 100 | following commands:
|
---|
| 101 | </para>
|
---|
[c69cf51] | 102 |
|
---|
| 103 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[14ca05b] | 104 |
|
---|
| 105 | make</userinput></screen>
|
---|
[c69cf51] | 106 |
|
---|
[5b38e37] | 107 | <para>
|
---|
| 108 | To test the results, issue: <command>make check</command>.
|
---|
| 109 | </para>
|
---|
[b053e55c] | 110 |
|
---|
[5b38e37] | 111 | <para>
|
---|
| 112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 113 | </para>
|
---|
[c69cf51] | 114 |
|
---|
| 115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
| 121 |
|
---|
| 122 | <segmentedlist>
|
---|
[14ca05b] | 123 | <segtitle>Installed Program</segtitle>
|
---|
| 124 | <segtitle>Installed Library</segtitle>
|
---|
| 125 | <segtitle>Installed Directory</segtitle>
|
---|
[c69cf51] | 126 |
|
---|
| 127 | <seglistitem>
|
---|
[88ed85c] | 128 | <seg>
|
---|
| 129 | update-mime-database
|
---|
| 130 | </seg>
|
---|
[f12b2cfa] | 131 | <seg>
|
---|
| 132 | None
|
---|
| 133 | </seg>
|
---|
[88ed85c] | 134 | <seg>
|
---|
| 135 | /usr/share/mime
|
---|
| 136 | </seg>
|
---|
[c69cf51] | 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="update-mime-database">
|
---|
| 146 | <term><command>update-mime-database</command></term>
|
---|
| 147 | <listitem>
|
---|
[5b38e37] | 148 | <para>
|
---|
| 149 | assists in adding MIME data to the database.
|
---|
| 150 | </para>
|
---|
[c69cf51] | 151 | <indexterm zone="shared-mime-info update-mime-database">
|
---|
| 152 | <primary sortas="b-update-mime-database">update-mime-database</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | </variablelist>
|
---|
| 158 |
|
---|
| 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | </sect1>
|
---|