source: x/lib/shared-mime-info.xml@ 7c461b3

10.0 10.1 11.0 6.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 7c461b3 was 7c461b3, checked in by Igor Živković <igor@…>, 17 years ago

Updated to GLib-2.6.0.

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

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY shared-mime-info-download-http "http://freedesktop.org/software/shared-mime-info/shared-mime-info-&shared-mime-info-version;.tar.gz">
8 <!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">
9 <!ENTITY shared-mime-info-buildsize "4.4 MB">
10 <!ENTITY shared-mime-info-size "422 KB">
11 <!ENTITY shared-mime-info-time "0.03 SBU">
12]>
13
14<sect1 id="shared-mime-info"
15xreflabel="shared-mime-info-&shared-mime-info-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="shared-mime-info.html" ?>
21<title>shared-mime-info-&shared-mime-info-version;</title>
22
23<sect2>
24<title>Introduction to <application>shared-mime-info</application></title>
25
26<para>The <application>shared-mime-info</application> package contains a
27<acronym>MIME</acronym> database. This allows central updates of
28<acronym>MIME</acronym> information for all supporting applications.</para>
29
30<sect3><title>Package information</title>
31<itemizedlist spacing='compact'>
32<listitem><para>Download (HTTP):
33<ulink url="&shared-mime-info-download-http;"/></para></listitem>
34<listitem><para>Download (FTP):
35<ulink url="&shared-mime-info-download-ftp;"/></para></listitem>
36<listitem><para>Download size:
37&shared-mime-info-size;</para></listitem>
38<listitem><para>Estimated Disk space required:
39&shared-mime-info-buildsize;</para></listitem>
40<listitem><para>Estimated build time:
41&shared-mime-info-time;</para></listitem></itemizedlist>
42</sect3>
43
44<sect3><title><application>shared-mime-info</application> dependencies</title>
45<sect4><title>Required</title>
46<para><xref linkend="glib2"/>,
47<xref linkend="libxml2"/> and
48<xref linkend="perl-modules"/>: XML-Parser</para>
49</sect4>
50</sect3>
51
52</sect2>
53
54<sect2>
55<title>Installation of <application>shared-mime-info</application></title>
56
57<para>Install <application>shared-mime-info</application> by running the
58following commands:</para>
59
60<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
61make &amp;&amp;
62make install</command></userinput></screen>
63
64</sect2>
65
66<sect2>
67<title>Configuring <application>shared-mime-info</application></title>
68
69<sect3><title>Configuration information</title>
70
71<para>Some applications
72(including <application><acronym>GNOME</acronym></application>-2) require
73a properly set enviroment variable to locate the <acronym>MIME</acronym>
74database. Satisfy this requirement by setting the following variable in your
75local shell profile, or the system-wide profile:</para>
76
77<screen><userinput>XDG_DATA_DIRS=/usr/share
78export XDG_DATA_DIRS</userinput></screen>
79</sect3>
80
81</sect2>
82
83<sect2>
84<title>Contents</title>
85
86<para>The <application>shared-mime-info</application> package contains
87<command>update-mime-database</command> and
88<filename>/usr/share/mime/*</filename>.</para>
89
90</sect2>
91
92<sect2><title>Description</title>
93
94<sect3><title>update-mime-database</title>
95<para><command>update-mime-database</command> assists in adding
96<acronym>MIME</acronym> data to the database.</para></sect3>
97
98<sect3><title>MIME Database</title>
99<para><filename>/usr/share/mime/*</filename> contains the centralized
100<acronym>MIME</acronym> database.</para></sect3>
101
102</sect2>
103
104</sect1>
105
Note: See TracBrowser for help on using the repository browser.