[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 |
|
---|
[7fc5081] | 7 | <!ENTITY libmng-download-http "&sourceforge-repo;/libmng/libmng-&libmng-version;.tar.bz2">
|
---|
[a7e8a93b] | 8 | <!ENTITY libmng-download-ftp " ">
|
---|
[7fc5081] | 9 | <!ENTITY libmng-md5sum "eaf1476a3bb29f6190bca660e6abef16">
|
---|
| 10 | <!ENTITY libmng-size "840 KB">
|
---|
| 11 | <!ENTITY libmng-buildsize "7.9 MB">
|
---|
[a7e8a93b] | 12 | <!ENTITY libmng-time "0.1 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 |
|
---|
[5811f7e] | 36 | &lfs72_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>
|
---|
[a7e8a93b] | 63 | <para role="required"><xref linkend="libjpeg"/> and
|
---|
| 64 | <xref linkend="lcms"/></para>
|
---|
[68ceed7] | 65 |
|
---|
[1039de3] | 66 | <para condition="html" role="usernotes">User Notes:
|
---|
| 67 | <ulink url="&blfs-wiki;/libmng"/></para>
|
---|
| 68 |
|
---|
[68ceed7] | 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <sect2 role="installation">
|
---|
[a7e8a93b] | 72 | <title>Installation of libmng</title>
|
---|
[68ceed7] | 73 |
|
---|
| 74 | <para>Install <application>libmng</application> by running the following
|
---|
| 75 | commands:</para>
|
---|
| 76 |
|
---|
[6a513a4] | 77 | <screen><userinput>cp makefiles/makefile.linux Makefile &&
|
---|
| 78 | sed -i -e 's/unroll-loops/& -fPIC/' Makefile &&
|
---|
[68ceed7] | 79 | make</userinput></screen>
|
---|
| 80 |
|
---|
[a7e8a93b] | 81 | <para>This package does not come with a test suite.</para>
|
---|
| 82 |
|
---|
[68ceed7] | 83 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 84 |
|
---|
[ef7c71d] | 85 | <screen role="root"><userinput>sed -i '/^install\|cp.*libmng.a/ s/libmng.a//' Makefile &&
|
---|
| 86 | make prefix=/usr install &&
|
---|
[ba59340] | 87 | install -v -m644 doc/man/*.3 /usr/share/man/man3 &&
|
---|
| 88 | install -v -m644 doc/man/*.5 /usr/share/man/man5 &&
|
---|
| 89 | install -v -m755 -d /usr/share/doc/libmng-&libmng-version; &&
|
---|
[68ceed7] | 90 | install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-&libmng-version;</userinput></screen>
|
---|
[2b76dc4] | 91 |
|
---|
[68ceed7] | 92 | </sect2>
|
---|
[52d29f7] | 93 |
|
---|
[68ceed7] | 94 | <sect2 role="commands">
|
---|
| 95 | <title>Command Explanations</title>
|
---|
[2b76dc4] | 96 |
|
---|
[e9116cc] | 97 | <para><command>cp makefiles/makefile.linux Makefile</command>: There are no
|
---|
[823b1a3] | 98 | autotools shipped with this package. The Linux <filename>Makefile</filename>
|
---|
[68ceed7] | 99 | is copied to the root of the source tree, facilitating the installation.</para>
|
---|
[2b76dc4] | 100 |
|
---|
[0d7900a] | 101 | <para><command>sed -i -e 's/unroll-loops/& -fPIC/' Makefile</command>:
|
---|
[6a513a4] | 102 | Add a gcc option to make the build compatible with x86_64 systems.</para>
|
---|
| 103 |
|
---|
[ef7c71d] | 104 | <para><command>sed -i '/^install\|cp.*libmng.a/ s/libmng.a//' Makefile</command>
|
---|
| 105 | This command disables installing the static library.</para>
|
---|
| 106 |
|
---|
[e9116cc] | 107 | <para><command>install ...</command>: The documentation files are not
|
---|
[68ceed7] | 108 | installed by the installation procedure, so they are copied manually.</para>
|
---|
[2b76dc4] | 109 |
|
---|
[68ceed7] | 110 | </sect2>
|
---|
[52d29f7] | 111 |
|
---|
[68ceed7] | 112 | <sect2 role="content">
|
---|
| 113 | <title>Contents</title>
|
---|
[2b76dc4] | 114 |
|
---|
[68ceed7] | 115 | <segmentedlist>
|
---|
| 116 | <segtitle>Installed Programs</segtitle>
|
---|
| 117 | <segtitle>Installed Library</segtitle>
|
---|
| 118 | <segtitle>Installed Directory</segtitle>
|
---|
[ba59340] | 119 |
|
---|
[13d6079] | 120 | <seglistitem>
|
---|
[68ceed7] | 121 | <seg>None</seg>
|
---|
[ef7c71d] | 122 | <seg>libmng.so</seg>
|
---|
[68ceed7] | 123 | <seg>/usr/share/doc/libmng-&libmng-version;</seg>
|
---|
| 124 | </seglistitem>
|
---|
| 125 | </segmentedlist>
|
---|
[ba59340] | 126 |
|
---|
[68ceed7] | 127 | <variablelist>
|
---|
| 128 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 129 | <?dbfo list-presentation="list"?>
|
---|
| 130 | <?dbhtml list-presentation="table"?>
|
---|
[ba59340] | 131 |
|
---|
[68ceed7] | 132 | <varlistentry id="libmng-lib">
|
---|
[ef7c71d] | 133 | <term><filename class='libraryfile'>libmng.so</filename></term>
|
---|
[68ceed7] | 134 | <listitem>
|
---|
[e9116cc] | 135 | <para>provides functions for programs wishing to read and write
|
---|
| 136 | MNG files which are animation files without the patent problems associated
|
---|
[68ceed7] | 137 | with certain other formats.</para>
|
---|
| 138 | <indexterm zone="libmng libmng-lib">
|
---|
[ef7c71d] | 139 | <primary sortas="c-libmng">libmng.so</primary>
|
---|
[68ceed7] | 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
[2b76dc4] | 143 |
|
---|
[68ceed7] | 144 | </variablelist>
|
---|
[f45b1953] | 145 |
|
---|
[68ceed7] | 146 | </sect2>
|
---|
[f45b1953] | 147 |
|
---|
[68ceed7] | 148 | </sect1>
|
---|