[blfs-book] r12516 - in trunk/BOOK: general/genlib general/genutils x/lib

bdubbs at higgs.linuxfromscratch.org bdubbs at higgs.linuxfromscratch.org
Fri Jan 3 12:23:28 PST 2014


Author: bdubbs
Date: Fri Jan  3 12:23:28 2014
New Revision: 12516

Log:
Finish ticket #4511

Added:
   trunk/BOOK/general/genutils/shared-mime-info.xml
      - copied unchanged from r12512, trunk/BOOK/x/lib/shared-mime-info.xml
Deleted:
   trunk/BOOK/x/lib/shared-mime-info.xml
Modified:
   trunk/BOOK/general/genlib/grantlee.xml
   trunk/BOOK/general/genutils/genutils.xml
   trunk/BOOK/x/lib/lib.xml

Modified: trunk/BOOK/general/genlib/grantlee.xml
==============================================================================
--- trunk/BOOK/general/genlib/grantlee.xml	Fri Jan  3 11:56:53 2014	(r12515)
+++ trunk/BOOK/general/genlib/grantlee.xml	Fri Jan  3 12:23:28 2014	(r12516)
@@ -82,8 +82,8 @@
 
 <screen><userinput>mkdir build &&
 cd build &&
-cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
-      -DCMAKE_BUILD_TYPE=Release \
+cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; \
+      -DCMAKE_BUILD_TYPE=Release  \
       .. &&
 make</userinput></screen>
 

Modified: trunk/BOOK/general/genutils/genutils.xml
==============================================================================
--- trunk/BOOK/general/genutils/genutils.xml	Fri Jan  3 11:56:53 2014	(r12515)
+++ trunk/BOOK/general/genutils/genutils.xml	Fri Jan  3 12:23:28 2014	(r12516)
@@ -37,6 +37,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rep-gtk.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rxvt-unicode.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="screen.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shared-mime-info.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sharutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tidy.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="unixodbc.xml"/>

Copied: trunk/BOOK/general/genutils/shared-mime-info.xml (from r12512, trunk/BOOK/x/lib/shared-mime-info.xml)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/BOOK/general/genutils/shared-mime-info.xml	Fri Jan  3 12:23:28 2014	(r12516, copy of r12512, trunk/BOOK/x/lib/shared-mime-info.xml)
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY shared-mime-info-download-http
+           "http://freedesktop.org/~hadess/shared-mime-info-&shared-mime-info-version;.tar.xz">
+  <!ENTITY shared-mime-info-download-ftp  " ">
+  <!ENTITY shared-mime-info-md5sum        "8f90f3f2b8478fa47e70678d34013f99">
+  <!ENTITY shared-mime-info-size          "508 KB">
+  <!ENTITY shared-mime-info-buildsize     "10 MB">
+  <!ENTITY shared-mime-info-time          "0.2 SBU">
+]>
+
+<sect1 id="shared-mime-info"
+xreflabel="shared-mime-info-&shared-mime-info-version;">
+  <?dbhtml filename="shared-mime-info.html" ?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <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">
+    <title>Introduction to Shared Mime Info</title>
+
+    <para>
+      The <application>Shared Mime Info</application> package contains a
+      MIME database. This allows central updates of MIME information for all
+      supporting applications.
+    </para>
+
+    &lfs74_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&shared-mime-info-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &shared-mime-info-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &shared-mime-info-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &shared-mime-info-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &shared-mime-info-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">Shared Mime Info Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="glib2"/>,
+      <xref linkend="intltool"/>, and
+      <xref linkend="libxml2"/>
+    </para>
+
+    <para condition="html" role="usernotes">User Notes:
+    <ulink url="&blfs-wiki;/shared-mime-info"/></para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Shared Mime Info</title>
+
+    <para>
+      Install <application>Shared Mime Info</application> by running the
+      following commands:
+    </para>
+
+<screen><userinput>./configure --prefix=/usr &&
+make</userinput></screen>
+
+    <para>
+      To test the results, issue: <command>make check</command>.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Program</segtitle>
+      <segtitle>Installed Directory</segtitle>
+
+      <seglistitem>
+        <seg>
+          update-mime-database
+        </seg>
+        <seg>
+          /usr/share/mime
+        </seg>
+      </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>
+          <para>
+            assists in adding MIME data to the database.
+          </para>
+          <indexterm zone="shared-mime-info update-mime-database">
+            <primary sortas="b-update-mime-database">update-mime-database</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/x/lib/lib.xml
==============================================================================
--- trunk/BOOK/x/lib/lib.xml	Fri Jan  3 11:56:53 2014	(r12515)
+++ trunk/BOOK/x/lib/lib.xml	Fri Jan  3 12:23:28 2014	(r12516)
@@ -50,7 +50,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pangomm.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qt4.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qt5.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shared-mime-info.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="startup-notification.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="webkitgtk.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="webkitgtk2.xml"/>



More information about the blfs-book mailing list