source: general/genutils/shared-mime-info.xml@ 1daf906e

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1daf906e was 66d551c, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tag a lot of utilities and libraries

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

  • Property mode set to 100644
File size: 4.9 KB
RevLine 
[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
[acef9ff]8 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/0ee50652091363ab0d17e335e5e74fbe/shared-mime-info-&shared-mime-info-version;.tar.xz">
[1087d94]9 <!ENTITY shared-mime-info-download-ftp " ">
[9bd0c0e8]10 <!ENTITY shared-mime-info-md5sum "410725367f52ddbc06ef9eda883b8f73">
11 <!ENTITY shared-mime-info-size "5.0 MB">
12 <!ENTITY shared-mime-info-buildsize "26 MB">
13 <!ENTITY shared-mime-info-time "less than 0.1 SBU">
[feeb99a]14]>
15
[c69cf51]16<sect1 id="shared-mime-info"
[0ce8d61]17xreflabel="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
[66d551c]40 &lfs101_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">
[7b29f96]80 <xref linkend="glib2"/>,
[0e69a62]81 <xref linkend="itstool"/>,
82 <xref linkend="libxml2"/>, and
83 <xref linkend="xmlto"/>
[98d5a95]84 </para>
[18971e0d]85
[c5c2654]86 <para condition="html" role="usernotes">User Notes:
87 <ulink url="&blfs-wiki;/shared-mime-info"/></para>
88
[c69cf51]89 </sect2>
90
91 <sect2 role="installation">
[5b38e37]92 <title>Installation of Shared Mime Info</title>
[7b29f96]93
[5b38e37]94 <para>
95 Install <application>Shared Mime Info</application> by running the
96 following commands:
97 </para>
[c69cf51]98
[0e69a62]99<screen><userinput>mkdir build &amp;&amp;
100cd build &amp;&amp;
[c69cf51]101
[1a75cc3]102meson --prefix=/usr -Dupdate-mimedb=true .. &amp;&amp;
[0e69a62]103ninja</userinput></screen>
104
105<!--
[5b38e37]106 <para>
107 To test the results, issue: <command>make check</command>.
108 </para>
[0e69a62]109-->
110
111 <!-- The files for the tests are not shipped in the tarball, and needs
112 an external checkout. -->
113 <para>
114 This package does not come with a working test suite.
115 </para>
[b053e55c]116
[5b38e37]117 <para>
118 Now, as the <systemitem class="username">root</systemitem> user:
119 </para>
[c69cf51]120
[0e69a62]121<screen role="root"><userinput>ninja install</userinput></screen>
[c69cf51]122
123 </sect2>
124
[1a75cc3]125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
128 <para>
129 <parameter>-Dupdate-mimedb=true</parameter>: This parameter tells
130 the build system to run <command>update-mime-database</command> during
131 installation. Otherwise, this must be done manually in order to be
132 able to use the MIME database.
133 </para>
134 </sect2>
135
[c69cf51]136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Program</segtitle>
[f12b2cfa]141 <segtitle>Installed Library</segtitle>
[c69cf51]142 <segtitle>Installed Directory</segtitle>
143
144 <seglistitem>
[88ed85c]145 <seg>
146 update-mime-database
147 </seg>
[f12b2cfa]148 <seg>
149 None
150 </seg>
[88ed85c]151 <seg>
152 /usr/share/mime
153 </seg>
[c69cf51]154 </seglistitem>
155 </segmentedlist>
156
157 <variablelist>
158 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
159 <?dbfo list-presentation="list"?>
160 <?dbhtml list-presentation="table"?>
161
162 <varlistentry id="update-mime-database">
163 <term><command>update-mime-database</command></term>
164 <listitem>
[5b38e37]165 <para>
[4c24eb0a]166 assists in adding MIME data to the database
[5b38e37]167 </para>
[c69cf51]168 <indexterm zone="shared-mime-info update-mime-database">
169 <primary sortas="b-update-mime-database">update-mime-database</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 </variablelist>
175
176 </sect2>
177
178</sect1>
Note: See TracBrowser for help on using the repository browser.