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

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 eede1a3 was 20f070d8, checked in by Xi Ruoyao <xry111@…>, 3 years ago

first batch of meson --buildtype=release

  • Property mode set to 100644
File size: 4.8 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
[7cd9d3e0]8 "https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/&shared-mime-info-version;/shared-mime-info-&shared-mime-info-version;.tar.gz">
[1087d94]9 <!ENTITY shared-mime-info-download-ftp " ">
[7cd9d3e0]10 <!ENTITY shared-mime-info-md5sum "8d059fb2d34062a67fd9ca63fab1fb91">
[9bd0c0e8]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 <date>$Date$</date>
22 </sect1info>
23
24 <title>shared-mime-info-&shared-mime-info-version;</title>
25
26 <indexterm zone="shared-mime-info">
27 <primary sortas="a-shared-mime-info">shared-mime-info</primary>
28 </indexterm>
29
30 <sect2 role="package">
[5b38e37]31 <title>Introduction to Shared Mime Info</title>
[c69cf51]32
[5b38e37]33 <para>
34 The <application>Shared Mime Info</application> package contains a
35 MIME database. This allows central updates of MIME information for all
36 supporting applications.
37 </para>
[c69cf51]38
[66d551c]39 &lfs101_checked;
[af814c4]40
[c69cf51]41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
[5b38e37]44 <para>
45 Download (HTTP): <ulink url="&shared-mime-info-download-http;"/>
46 </para>
[c69cf51]47 </listitem>
[af814c4]48 <listitem>
[5b38e37]49 <para>
50 Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/>
51 </para>
[af814c4]52 </listitem>
[c69cf51]53 <listitem>
[5b38e37]54 <para>
55 Download MD5 sum: &shared-mime-info-md5sum;
56 </para>
[c69cf51]57 </listitem>
58 <listitem>
[5b38e37]59 <para>
60 Download size: &shared-mime-info-size;
61 </para>
[c69cf51]62 </listitem>
63 <listitem>
[5b38e37]64 <para>
65 Estimated disk space required: &shared-mime-info-buildsize;
66 </para>
[c69cf51]67 </listitem>
68 <listitem>
[5b38e37]69 <para>
70 Estimated build time: &shared-mime-info-time;
71 </para>
[c69cf51]72 </listitem>
73 </itemizedlist>
74
[5b38e37]75 <bridgehead renderas="sect3">Shared Mime Info Dependencies</bridgehead>
[c69cf51]76
77 <bridgehead renderas="sect4">Required</bridgehead>
[98d5a95]78 <para role="required">
[7b29f96]79 <xref linkend="glib2"/>,
[0e69a62]80 <xref linkend="itstool"/>,
81 <xref linkend="libxml2"/>, and
82 <xref linkend="xmlto"/>
[98d5a95]83 </para>
[18971e0d]84
[c5c2654]85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/shared-mime-info"/></para>
87
[c69cf51]88 </sect2>
89
90 <sect2 role="installation">
[5b38e37]91 <title>Installation of Shared Mime Info</title>
[7b29f96]92
[5b38e37]93 <para>
94 Install <application>Shared Mime Info</application> by running the
95 following commands:
96 </para>
[c69cf51]97
[0e69a62]98<screen><userinput>mkdir build &amp;&amp;
99cd build &amp;&amp;
[c69cf51]100
[20f070d8]101meson --prefix=/usr --buildtype=release -Dupdate-mimedb=true .. &amp;&amp;
[0e69a62]102ninja</userinput></screen>
103
[5b38e37]104 <para>
[f3634b6]105 To test the result, issue <command>ninja test</command>.
[0e69a62]106 </para>
[b053e55c]107
[5b38e37]108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
[c69cf51]111
[0e69a62]112<screen role="root"><userinput>ninja install</userinput></screen>
[c69cf51]113
114 </sect2>
115
[1a75cc3]116 <sect2 role="commands">
117 <title>Command Explanations</title>
118
[20f070d8]119 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
120 href="../../xincludes/meson-buildtype-release.xml"/>
121
[1a75cc3]122 <para>
123 <parameter>-Dupdate-mimedb=true</parameter>: This parameter tells
124 the build system to run <command>update-mime-database</command> during
125 installation. Otherwise, this must be done manually in order to be
126 able to use the MIME database.
127 </para>
128 </sect2>
129
[c69cf51]130 <sect2 role="content">
131 <title>Contents</title>
132
133 <segmentedlist>
134 <segtitle>Installed Program</segtitle>
[f12b2cfa]135 <segtitle>Installed Library</segtitle>
[c69cf51]136 <segtitle>Installed Directory</segtitle>
137
138 <seglistitem>
[88ed85c]139 <seg>
140 update-mime-database
141 </seg>
[f12b2cfa]142 <seg>
143 None
144 </seg>
[88ed85c]145 <seg>
146 /usr/share/mime
147 </seg>
[c69cf51]148 </seglistitem>
149 </segmentedlist>
150
151 <variablelist>
152 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
153 <?dbfo list-presentation="list"?>
154 <?dbhtml list-presentation="table"?>
155
156 <varlistentry id="update-mime-database">
157 <term><command>update-mime-database</command></term>
158 <listitem>
[5b38e37]159 <para>
[4c24eb0a]160 assists in adding MIME data to the database
[5b38e37]161 </para>
[c69cf51]162 <indexterm zone="shared-mime-info update-mime-database">
163 <primary sortas="b-update-mime-database">update-mime-database</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 </variablelist>
169
170 </sect2>
171
172</sect1>
Note: See TracBrowser for help on using the repository browser.