Difference between revisions of "Imlib"

From CBLFS
Jump to navigationJump to search
(I added the "Contents" section from BLFS.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://ftp.gnome.org/pub/gnome/sources/imlib/1.9/imlib-1.9.15.tar.bz2
+
| http://ftp.gnome.org/pub/gnome/sources/imlib/{{Imlib-Version2}}/imlib-{{Imlib-Version}}.tar.bz2
 
|}
 
|}
  
Line 31: Line 31:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/imlib-1.9.15 &&
+
  install -v -m755 -d /usr/share/doc/imlib-{{Imlib-Version}} &&
  install -v -m644 doc/{index.html,*.gif} /usr/share/doc/imlib-1.9.15
+
  install -v -m644 doc/{index.html,*.gif} /usr/share/doc/imlib-{{Imlib-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 75: Line 75:
 
  mv -v /usr/bin/imlib-config{,-64} &&
 
  mv -v /usr/bin/imlib-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/imlib-config &&
 
  ln -sfv multiarch_wrapper /usr/bin/imlib-config &&
  install -v -m755 -d /usr/share/doc/imlib-1.9.15 &&
+
  install -v -m755 -d /usr/share/doc/imlib-{{Imlib-Version}} &&
  install -v -m644 doc/{index.html,*.gif} /usr/share/doc/imlib-1.9.15
+
  install -v -m644 doc/{index.html,*.gif} /usr/share/doc/imlib-{{Imlib-Version}}
  
 
= Contents =
 
= Contents =
Line 89: Line 89:
 
|-valign="top"
 
|-valign="top"
 
! Installed Directories:
 
! Installed Directories:
| /etc/imlib and /usr/share/doc/imlib-1.9.15
+
| /etc/imlib and /usr/share/doc/imlib-{{Imlib-Version}}
 
|}
 
|}
  

Revision as of 13:02, 17 December 2006

Download Source: http://ftp.gnome.org/pub/gnome/sources/imlib/1.9/imlib-1.9.15.tar.bz2

Introduction to Imlib 1

The Imlib package contains image libraries. These are useful for loading, rendering and dithering a wide variety of image data formats.

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc/imlib &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/imlib-1.9.15 &&
install -v -m644 doc/{index.html,*.gif} /usr/share/doc/imlib-1.9.15

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr \
    --sysconfdir=/etc/imlib &&
make

Install the package

make install &&
mv -v /usr/bin/imlib-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr \
    --sysconfdir=/etc/imlib --libdir=/usr/lib32 &&
make

Install the package

make install &&
mv -v /usr/bin/imlib-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr \
    --sysconfdir=/etc/imlib --libdir=/usr/lib64 &&
make

Install the package

make install &&
mv -v /usr/bin/imlib-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/imlib-config &&
install -v -m755 -d /usr/share/doc/imlib-1.9.15 &&
install -v -m644 doc/{index.html,*.gif} /usr/share/doc/imlib-1.9.15

Contents

Installed Programs: imlib-config and imlib_config
Installed Libraries: libgdk_imlib.{so,a}, libimlib-*.{so,a}, and libImlib.{so,a}
Installed Directories: /etc/imlib and /usr/share/doc/imlib-1.9.15

Short Descriptions

libimlib-*.{so,a} provide the functions for programs to display and edit a wide variety of image data formats.