2004-06-14 03:03:42 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-14 03:03:42 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2013-02-12 02:51:17 +08:00
|
|
|
<!ENTITY shared-mime-info-download-http
|
2021-04-08 00:59:42 +08:00
|
|
|
"https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/&shared-mime-info-version;/shared-mime-info-&shared-mime-info-version;.tar.gz">
|
2010-08-09 20:34:04 +08:00
|
|
|
<!ENTITY shared-mime-info-download-ftp " ">
|
2023-12-04 08:49:04 +08:00
|
|
|
<!ENTITY shared-mime-info-md5sum "aac56db912b7b12a04fb0018e28f2f36">
|
|
|
|
<!ENTITY shared-mime-info-size "7.5 MB">
|
|
|
|
<!ENTITY shared-mime-info-buildsize "26 MB (with tests)">
|
2022-03-29 06:10:10 +08:00
|
|
|
<!ENTITY shared-mime-info-time "less than 0.1 SBU (with tests)">
|
2021-11-15 08:22:02 +08:00
|
|
|
|
|
|
|
<!ENTITY xdgmime-download-http "&sources-anduin-http;/xdgmime/xdgmime.tar.xz">
|
|
|
|
<!ENTITY xdgmime-md5sum "7dfb4446705d345d3acd672024049e86">
|
|
|
|
|
2004-06-14 03:03:42 +08:00
|
|
|
]>
|
|
|
|
|
2005-05-21 02:19:45 +08:00
|
|
|
<sect1 id="shared-mime-info"
|
2004-12-08 00:43:26 +08:00
|
|
|
xreflabel="shared-mime-info-&shared-mime-info-version;">
|
2005-05-21 02:19:45 +08:00
|
|
|
<?dbhtml filename="shared-mime-info.html" ?>
|
2004-04-07 00:59:28 +08:00
|
|
|
|
2005-05-21 02:19:45 +08:00
|
|
|
|
|
|
|
<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">
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<title>Introduction to Shared Mime Info</title>
|
2005-05-21 02:19:45 +08:00
|
|
|
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<para>
|
|
|
|
The <application>Shared Mime Info</application> package contains a
|
|
|
|
MIME database. This allows central updates of MIME information for all
|
|
|
|
supporting applications.
|
|
|
|
</para>
|
2005-05-21 02:19:45 +08:00
|
|
|
|
2023-08-16 21:36:01 +08:00
|
|
|
&lfs120_checked;
|
2009-08-29 13:49:37 +08:00
|
|
|
|
2005-05-21 02:19:45 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&shared-mime-info-download-http;"/>
|
|
|
|
</para>
|
2005-05-21 02:19:45 +08:00
|
|
|
</listitem>
|
2009-08-29 13:49:37 +08:00
|
|
|
<listitem>
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/>
|
|
|
|
</para>
|
2009-08-29 13:49:37 +08:00
|
|
|
</listitem>
|
2005-05-21 02:19:45 +08:00
|
|
|
<listitem>
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &shared-mime-info-md5sum;
|
|
|
|
</para>
|
2005-05-21 02:19:45 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<para>
|
|
|
|
Download size: &shared-mime-info-size;
|
|
|
|
</para>
|
2005-05-21 02:19:45 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &shared-mime-info-buildsize;
|
|
|
|
</para>
|
2005-05-21 02:19:45 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &shared-mime-info-time;
|
|
|
|
</para>
|
2005-05-21 02:19:45 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2021-11-15 08:22:02 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
2021-11-20 21:13:40 +08:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2022-12-14 02:19:29 +08:00
|
|
|
Optional download, required to run the test suite:
|
2021-11-20 21:13:40 +08:00
|
|
|
<ulink url="&xdgmime-download-http;"/>
|
2021-11-15 08:22:02 +08:00
|
|
|
</para>
|
2021-11-20 21:13:40 +08:00
|
|
|
<para>
|
2021-11-15 08:22:02 +08:00
|
|
|
xdgmime md5sum: &xdgmime-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<bridgehead renderas="sect3">Shared Mime Info Dependencies</bridgehead>
|
2005-05-21 02:19:45 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2011-12-29 13:13:05 +08:00
|
|
|
<para role="required">
|
2022-05-07 20:24:29 +08:00
|
|
|
<xref linkend="glib2"/> and
|
2022-03-29 06:10:10 +08:00
|
|
|
<xref linkend="libxml2"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2020-05-08 03:46:32 +08:00
|
|
|
<xref linkend="xmlto"/>
|
2011-12-29 13:13:05 +08:00
|
|
|
</para>
|
2007-04-16 11:09:33 +08:00
|
|
|
|
2006-04-11 02:39:30 +08:00
|
|
|
|
2005-05-21 02:19:45 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<title>Installation of Shared Mime Info</title>
|
2019-09-22 01:57:09 +08:00
|
|
|
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Shared Mime Info</application> by running the
|
|
|
|
following commands:
|
|
|
|
</para>
|
2005-05-21 02:19:45 +08:00
|
|
|
|
2021-11-20 21:13:40 +08:00
|
|
|
<para>
|
2021-11-15 08:22:02 +08:00
|
|
|
If you wish to run the test suite, you must first extract the
|
|
|
|
<filename>xdgmime</filename> tarball into the current directory,
|
|
|
|
and compile it so that <command>meson</command> can find it:
|
|
|
|
</para>
|
|
|
|
|
2021-11-20 21:13:40 +08:00
|
|
|
<screen remap="test"><userinput>tar -xf ../xdgmime.tar.xz &&
|
2021-11-15 08:22:02 +08:00
|
|
|
make -C xdgmime</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now build the package:
|
|
|
|
</para>
|
|
|
|
|
2020-05-08 03:46:32 +08:00
|
|
|
<screen><userinput>mkdir build &&
|
|
|
|
cd build &&
|
2005-05-21 02:19:45 +08:00
|
|
|
|
2023-03-14 00:48:55 +08:00
|
|
|
meson setup --prefix=/usr --buildtype=release -Dupdate-mimedb=true .. &&
|
2020-05-08 03:46:32 +08:00
|
|
|
ninja</userinput></screen>
|
|
|
|
|
2021-11-15 08:22:02 +08:00
|
|
|
<para role="optional">
|
|
|
|
If you have followed the instructions above to build
|
|
|
|
<application>xdgmime</application>, to test the result issue
|
|
|
|
<command>ninja test</command>.
|
2020-05-08 03:46:32 +08:00
|
|
|
</para>
|
2006-04-08 03:37:49 +08:00
|
|
|
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-05-21 02:19:45 +08:00
|
|
|
|
2020-05-08 03:46:32 +08:00
|
|
|
<screen role="root"><userinput>ninja install</userinput></screen>
|
2005-05-21 02:19:45 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2020-05-08 19:51:16 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2021-06-04 20:06:48 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/meson-buildtype-release.xml"/>
|
|
|
|
|
2020-05-08 19:51:16 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-Dupdate-mimedb=true</parameter>: This parameter tells
|
|
|
|
the build system to run <command>update-mime-database</command> during
|
|
|
|
installation. Otherwise, this must be done manually in order to be
|
|
|
|
able to use the MIME database.
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
2005-05-21 02:19:45 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
2014-04-10 04:22:29 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
2005-05-21 02:19:45 +08:00
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2012-04-22 18:39:20 +08:00
|
|
|
<seg>
|
|
|
|
update-mime-database
|
|
|
|
</seg>
|
2014-04-10 04:22:29 +08:00
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
2012-04-22 18:39:20 +08:00
|
|
|
<seg>
|
|
|
|
/usr/share/mime
|
|
|
|
</seg>
|
2005-05-21 02:19:45 +08:00
|
|
|
</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>
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
assists in adding MIME data to the database
|
libpwquality 1.2.1, GMime 2.6.15, libffi 3.0.12, libgpg-error 1.11, Graphviz 2.30.1, libarchive 3.1.2, Raptor 2.0.9, sg3_utils 1.35, pkg-config 0.28, Clutter Gst 2.0.2, Gtk VNC 0.5.2, Shared Mime Info 1.1, AudioFile 0.3.5, libdiscid 0.3.2 and mpg123 1.15.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11045 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-03 22:53:30 +08:00
|
|
|
</para>
|
2005-05-21 02:19:45 +08:00
|
|
|
<indexterm zone="shared-mime-info update-mime-database">
|
|
|
|
<primary sortas="b-update-mime-database">update-mime-database</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|