[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 |
|
---|
[60d8f77] | 36 | &lfs76_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 |
|
---|
[60d8f77] | 79 | <screen><userinput>sed -i "/jpeglib.h/i #include <stdio.h>" libmng_types.h &&
|
---|
[665f62a] | 80 |
|
---|
[6c7866b4] | 81 | ./configure --prefix=/usr --disable-static &&
|
---|
[68ceed7] | 82 | make</userinput></screen>
|
---|
| 83 |
|
---|
[a7e8a93b] | 84 | <para>This package does not come with a test suite.</para>
|
---|
| 85 |
|
---|
[68ceed7] | 86 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 87 |
|
---|
[6c7866b4] | 88 | <screen role="root"><userinput>make install &&
|
---|
[665f62a] | 89 |
|
---|
| 90 | install -v -m755 -d /usr/share/doc/libmng-&libmng-version; &&
|
---|
[6c7866b4] | 91 | install -v -m644 doc/*.txt /usr/share/doc/libmng-&libmng-version;</userinput></screen>
|
---|
[2b76dc4] | 92 |
|
---|
[68ceed7] | 93 | </sect2>
|
---|
[52d29f7] | 94 |
|
---|
[68ceed7] | 95 | <sect2 role="commands">
|
---|
| 96 | <title>Command Explanations</title>
|
---|
[2b76dc4] | 97 |
|
---|
[6c7866b4] | 98 | <para>
|
---|
| 99 | <command>sed -i "..." libmng_types.h</command>: This command adds a
|
---|
| 100 | missing header which would cause other apps that link to this
|
---|
| 101 | package fail to compile.
|
---|
| 102 | </para>
|
---|
[2b76dc4] | 103 |
|
---|
[6c7866b4] | 104 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 105 | href="../../xincludes/static-libraries.xml"/>
|
---|
[2b76dc4] | 106 |
|
---|
[68ceed7] | 107 | </sect2>
|
---|
[52d29f7] | 108 |
|
---|
[68ceed7] | 109 | <sect2 role="content">
|
---|
| 110 | <title>Contents</title>
|
---|
[2b76dc4] | 111 |
|
---|
[68ceed7] | 112 | <segmentedlist>
|
---|
| 113 | <segtitle>Installed Programs</segtitle>
|
---|
| 114 | <segtitle>Installed Library</segtitle>
|
---|
| 115 | <segtitle>Installed Directory</segtitle>
|
---|
[ba59340] | 116 |
|
---|
[13d6079] | 117 | <seglistitem>
|
---|
[68ceed7] | 118 | <seg>None</seg>
|
---|
[ef7c71d] | 119 | <seg>libmng.so</seg>
|
---|
[68ceed7] | 120 | <seg>/usr/share/doc/libmng-&libmng-version;</seg>
|
---|
| 121 | </seglistitem>
|
---|
| 122 | </segmentedlist>
|
---|
[ba59340] | 123 |
|
---|
[68ceed7] | 124 | <variablelist>
|
---|
| 125 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 126 | <?dbfo list-presentation="list"?>
|
---|
| 127 | <?dbhtml list-presentation="table"?>
|
---|
[ba59340] | 128 |
|
---|
[68ceed7] | 129 | <varlistentry id="libmng-lib">
|
---|
[ef7c71d] | 130 | <term><filename class='libraryfile'>libmng.so</filename></term>
|
---|
[68ceed7] | 131 | <listitem>
|
---|
[e9116cc] | 132 | <para>provides functions for programs wishing to read and write
|
---|
| 133 | MNG files which are animation files without the patent problems associated
|
---|
[68ceed7] | 134 | with certain other formats.</para>
|
---|
| 135 | <indexterm zone="libmng libmng-lib">
|
---|
[ef7c71d] | 136 | <primary sortas="c-libmng">libmng.so</primary>
|
---|
[68ceed7] | 137 | </indexterm>
|
---|
| 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
[2b76dc4] | 140 |
|
---|
[68ceed7] | 141 | </variablelist>
|
---|
[f45b1953] | 142 |
|
---|
[68ceed7] | 143 | </sect2>
|
---|
[f45b1953] | 144 |
|
---|
[68ceed7] | 145 | </sect1>
|
---|