Difference between revisions of "Libmng"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
m
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
!Download Source:
+
! Download Source:
| http://prdownloads.sourceforge.net/libmng/libmng-1.0.9.tar.gz  
+
| http://prdownloads.sourceforge.net/libmng/libmng-{{Libmng-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
  
== Introduction to libmng ==
+
{{Package-Introduction|The Libmng library supports decoding, displaying, encoding, and various other manipulations of the Multiple-image Network Graphics (MNG) format image files.|http://www.libmng.com/}}
 
 
The libmng libraries are used by programs wanting to read and write Multiple-image Network Graphics (MNG) files which are the animation equivalents to PNG files.
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 21: Line 19:
 
Compile the package:
 
Compile the package:
  
  cp makefiles/makefile.linux Makefile &&
+
  ln -sf makefiles/configure.in . &&
 +
ln -sf makefiles/Makefile.am . &&
 +
autoreconf -f -i &&
 +
./configure --prefix=/usr &&
 
  make
 
  make
  
 
Install the package
 
Install the package
  
  make prefix=/usr install &&
+
  make install
install -v -m644 doc/man/*.3 /usr/share/man/man3 &&
+
  install -dv -m755 /usr/share/doc/libmng-{{Libmng-Version}} &&
install -v -m644 doc/man/*.5 /usr/share/man/man5 &&
+
  install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-{{Libmng-Version}}
  install -v -m755 -d /usr/share/doc/libmng-1.0.9 &&
 
  install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9
 
  
 
== Multilib ==
 
== Multilib ==
Line 38: Line 37:
 
Compile the package:
 
Compile the package:
  
  sed "/OBJSDLL/s/\.0/.o/" makefiles/makefile.linux > Makefile
+
  ln -sf makefiles/configure.in . &&
  make CC="gcc ${BUILD32}"
+
ln -sf makefiles/Makefile.am . &&
 +
autoreconf -f -i &&
 +
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 +
make
  
 
Install the package
 
Install the package
  
  make prefix=/usr install
+
  make install
  
 
=== N32 ===
 
=== N32 ===
Line 49: Line 51:
 
Compile the package
 
Compile the package
  
  sed "/OBJSDLL/s/\.0/.o/" makefiles/makefile.linux > Makefile
+
  ln -sf makefiles/configure.in . &&
  make CC="gcc ${BUILDN32}" prefix=/usr LIBPATH=/usr/lib32 ZLIBLIB=/usr/lib32 \
+
ln -sf makefiles/Makefile.am . &&
    JPEGLIB=/usr/lib32 LCMSLIB=/usr/lib32
+
autoreconf -f -i &&
 +
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 +
make
  
 
Install the package
 
Install the package
 
   
 
   
  make prefix=/usr LIBPATH=/usr/lib32 install
+
  make install
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 61: Line 65:
 
Compile the package
 
Compile the package
  
  sed "/OBJSDLL/s/\.0/.o/" makefiles/makefile.linux > Makefile
+
  ln -sf makefiles/configure.in . &&
  make CC="gcc ${BUILD64}" prefix=/usr LIBPATH=/usr/lib64 \
+
ln -sf makefiles/Makefile.am . &&
    ZLIBLIB=/usr/lib64 JPEGLIB=/usr/lib64 LCMSLIB=/usr/lib64
+
autoreconf -f -i &&
 +
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 +
make
  
 
Install the package
 
Install the package
 
   
 
   
  make prefix=/usr LIBPATH=/usr/lib64 install
+
  make install
  install -v -m644 doc/man/*.3 /usr/share/man/man3 &&
+
  install -dv -m755 /usr/share/doc/libmng-{{Libmng-Version}} &&
  install -v -m644 doc/man/*.5 /usr/share/man/man5 &&
+
  install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-{{Libmng-Version}}
install -v -m755 -d /usr/share/doc/libmng-1.0.9 &&
+
 
install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9
+
= Contents =
 +
 
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| None
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libmng.{so,a}
 +
|-valign="top"
 +
! Installed Directories:
 +
| /usr/share/doc/libmng-{{Libmng-Version}}
 +
|}
 +
 
 +
=== Short Descriptions ===
 +
 
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! libmng.{so,a}
 +
| provides functions for programs wishing to read and write MNG files which are animation files without the patent problems associated with certain other formats.
 +
|}
 +
 
 +
[[Category:Graphics Libraries]]

Latest revision as of 15:48, 5 February 2011

Download Source: http://prdownloads.sourceforge.net/libmng/libmng-1.0.10.tar.gz

Introduction to Libmng

The Libmng library supports decoding, displaying, encoding, and various other manipulations of the Multiple-image Network Graphics (MNG) format image files.

Project Homepage: http://www.libmng.com/

Dependencies

Required

Non-Multilib

Compile the package:

ln -sf makefiles/configure.in . &&
ln -sf makefiles/Makefile.am . &&
autoreconf -f -i &&
./configure --prefix=/usr &&
make

Install the package

make install
install -dv -m755 /usr/share/doc/libmng-1.0.10 &&
install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.10

Multilib

32Bit

Compile the package:

ln -sf makefiles/configure.in . &&
ln -sf makefiles/Makefile.am . &&
autoreconf -f -i &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package

ln -sf makefiles/configure.in . &&
ln -sf makefiles/Makefile.am . &&
autoreconf -f -i &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package

ln -sf makefiles/configure.in . &&
ln -sf makefiles/Makefile.am . &&
autoreconf -f -i &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install
install -dv -m755 /usr/share/doc/libmng-1.0.10 &&
install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.10

Contents

Installed Programs: None
Installed Libraries: libmng.{so,a}
Installed Directories: /usr/share/doc/libmng-1.0.10

Short Descriptions

libmng.{so,a} provides functions for programs wishing to read and write MNG files which are animation files without the patent problems associated with certain other formats.
Retrieved from "?title=Libmng&oldid=20964"