[52d29f7] | 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" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[6c7866b4] | 7 | <!ENTITY libmng-download-http "&sourceforge-repo;/libmng/libmng-&libmng-version;.tar.xz">
|
---|
[a7e8a93b] | 8 | <!ENTITY libmng-download-ftp " ">
|
---|
[6c7866b4] | 9 | <!ENTITY libmng-md5sum "3804bf2523af9b4e0670b5982b3bf984">
|
---|
| 10 | <!ENTITY libmng-size "932 KB">
|
---|
| 11 | <!ENTITY libmng-buildsize "15 MB">
|
---|
| 12 | <!ENTITY libmng-time "0.2 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[f45b1953] | 15 | <sect1 id="libmng" xreflabel="libmng-&libmng-version;">
|
---|
[68ceed7] | 16 | <?dbhtml filename="libmng.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[a7e8a93b] | 23 | <title>libmng-&libmng-version;</title>
|
---|
[68ceed7] | 24 |
|
---|
| 25 | <indexterm zone="libmng">
|
---|
| 26 | <primary sortas="a-Libmng">Libmng</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[a7e8a93b] | 30 | <title>Introduction to libmng</title>
|
---|
[68ceed7] | 31 |
|
---|
[e9116cc] | 32 | <para>The <application>libmng</application> libraries are used by
|
---|
[919683dc] | 33 | programs wanting to read and write Multiple-image Network Graphics
|
---|
[68ceed7] | 34 | (MNG) files which are the animation equivalents to PNG files.</para>
|
---|
| 35 |
|
---|
[7bb72e0] | 36 | &lfs74_checked;
|
---|
[6a513a4] | 37 |
|
---|
[68ceed7] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&libmng-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&libmng-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &libmng-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &libmng-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &libmng-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &libmng-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
[a7e8a93b] | 60 | <bridgehead renderas="sect3">libmng Dependencies</bridgehead>
|
---|
[68ceed7] | 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[6c7866b4] | 63 | <para role="required">
|
---|
| 64 | <xref linkend="libjpeg"/> and
|
---|
| 65 | <xref linkend="lcms2"/>
|
---|
| 66 | </para>
|
---|
[68ceed7] | 67 |
|
---|
[1039de3] | 68 | <para condition="html" role="usernotes">User Notes:
|
---|
| 69 | <ulink url="&blfs-wiki;/libmng"/></para>
|
---|
| 70 |
|
---|
[68ceed7] | 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
[a7e8a93b] | 74 | <title>Installation of libmng</title>
|
---|
[68ceed7] | 75 |
|
---|
| 76 | <para>Install <application>libmng</application> by running the following
|
---|
| 77 | commands:</para>
|
---|
| 78 |
|
---|
[6c7866b4] | 79 | <screen><userinput>sed -i "s:#include <jpeg:#include <stdio.h>\n&:" libmng_types.h &&
|
---|
| 80 | ./configure --prefix=/usr --disable-static &&
|
---|
[68ceed7] | 81 | make</userinput></screen>
|
---|
| 82 |
|
---|
[a7e8a93b] | 83 | <para>This package does not come with a test suite.</para>
|
---|
| 84 |
|
---|
[68ceed7] | 85 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 86 |
|
---|
[6c7866b4] | 87 | <screen role="root"><userinput>make install &&
|
---|
[ba59340] | 88 | install -v -m755 -d /usr/share/doc/libmng-&libmng-version; &&
|
---|
[6c7866b4] | 89 | install -v -m644 doc/*.txt /usr/share/doc/libmng-&libmng-version;</userinput></screen>
|
---|
[2b76dc4] | 90 |
|
---|
[68ceed7] | 91 | </sect2>
|
---|
[52d29f7] | 92 |
|
---|
[68ceed7] | 93 | <sect2 role="commands">
|
---|
| 94 | <title>Command Explanations</title>
|
---|
[2b76dc4] | 95 |
|
---|
[6c7866b4] | 96 | <para>
|
---|
| 97 | <command>sed -i "..." libmng_types.h</command>: This command adds a
|
---|
| 98 | missing header which would cause other apps that link to this
|
---|
| 99 | package fail to compile.
|
---|
| 100 | </para>
|
---|
[2b76dc4] | 101 |
|
---|
[6c7866b4] | 102 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 103 | href="../../xincludes/static-libraries.xml"/>
|
---|
[2b76dc4] | 104 |
|
---|
[68ceed7] | 105 | </sect2>
|
---|
[52d29f7] | 106 |
|
---|
[68ceed7] | 107 | <sect2 role="content">
|
---|
| 108 | <title>Contents</title>
|
---|
[2b76dc4] | 109 |
|
---|
[68ceed7] | 110 | <segmentedlist>
|
---|
| 111 | <segtitle>Installed Programs</segtitle>
|
---|
| 112 | <segtitle>Installed Library</segtitle>
|
---|
| 113 | <segtitle>Installed Directory</segtitle>
|
---|
[ba59340] | 114 |
|
---|
[13d6079] | 115 | <seglistitem>
|
---|
[68ceed7] | 116 | <seg>None</seg>
|
---|
[ef7c71d] | 117 | <seg>libmng.so</seg>
|
---|
[68ceed7] | 118 | <seg>/usr/share/doc/libmng-&libmng-version;</seg>
|
---|
| 119 | </seglistitem>
|
---|
| 120 | </segmentedlist>
|
---|
[ba59340] | 121 |
|
---|
[68ceed7] | 122 | <variablelist>
|
---|
| 123 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 124 | <?dbfo list-presentation="list"?>
|
---|
| 125 | <?dbhtml list-presentation="table"?>
|
---|
[ba59340] | 126 |
|
---|
[68ceed7] | 127 | <varlistentry id="libmng-lib">
|
---|
[ef7c71d] | 128 | <term><filename class='libraryfile'>libmng.so</filename></term>
|
---|
[68ceed7] | 129 | <listitem>
|
---|
[e9116cc] | 130 | <para>provides functions for programs wishing to read and write
|
---|
| 131 | MNG files which are animation files without the patent problems associated
|
---|
[68ceed7] | 132 | with certain other formats.</para>
|
---|
| 133 | <indexterm zone="libmng libmng-lib">
|
---|
[ef7c71d] | 134 | <primary sortas="c-libmng">libmng.so</primary>
|
---|
[68ceed7] | 135 | </indexterm>
|
---|
| 136 | </listitem>
|
---|
| 137 | </varlistentry>
|
---|
[2b76dc4] | 138 |
|
---|
[68ceed7] | 139 | </variablelist>
|
---|
[f45b1953] | 140 |
|
---|
[68ceed7] | 141 | </sect2>
|
---|
[f45b1953] | 142 |
|
---|
[68ceed7] | 143 | </sect1>
|
---|