Difference between revisions of "Imlib2"

From CBLFS
Jump to navigationJump to search
Line 25: Line 25:
  
 
Compile the package:
 
Compile the package:
 +
 +
CPPFLAGS="-I${XORG_PREFIX}/include" \
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 41: Line 43:
 
Compile the package:
 
Compile the package:
  
 +
CPPFLAGS="-I${XORG_PREFIX}/include" \
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=$CLFS_TARGET32 \
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=$CLFS_TARGET32 \
 
     --x-libraries=$XORG_PREFIX/lib &&
 
     --x-libraries=$XORG_PREFIX/lib &&
Line 54: Line 57:
 
Compile the package:
 
Compile the package:
  
 +
CPPFLAGS="-I${XORG_PREFIX}/include" \
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
 
     --x-libraries=$XORG_PREFIX/lib32 &&
 
     --x-libraries=$XORG_PREFIX/lib32 &&
Line 67: Line 71:
 
Compile the package:
 
Compile the package:
  
 +
CPPFLAGS="-I${XORG_PREFIX}/include" \
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
 
     --x-libraries=$XORG_PREFIX/lib64 &&
 
     --x-libraries=$XORG_PREFIX/lib64 &&

Revision as of 05:35, 13 October 2007

Download Source: http://prdownloads.sourceforge.net/enlightenment/imlib2-1.4.2.tar.gz

Introduction to Imlib2

Project Homepage: Unknown

Dependencies

Required

Recommended

Optional

Non-Multilib

Compile the package:

CPPFLAGS="-I${XORG_PREFIX}/include" \
./configure --prefix=/usr &&
make

Install the package

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

Multilib

32Bit

Compile the package:

CPPFLAGS="-I${XORG_PREFIX}/include" \
CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=$CLFS_TARGET32 \
    --x-libraries=$XORG_PREFIX/lib &&
make

Install the package

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

N32

Compile the package:

CPPFLAGS="-I${XORG_PREFIX}/include" \
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
    --x-libraries=$XORG_PREFIX/lib32 &&
make

Install the package

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

64Bit

Compile the package:

CPPFLAGS="-I${XORG_PREFIX}/include" \
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
    --x-libraries=$XORG_PREFIX/lib64 &&
make

Install the package

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

Contents

Installed Programs: imlib2_bumpmap, imlib2_colorspace, imlib2-config, imlib2_conv, imlib2_grab, imlib2_poly, imlib2_show, imlib2_test, and imlib2_view
Installed Libraries: libImlib2.{so,a} and various filters and image loader modules.
Installed Directories: /usr/lib/imlib2, /usr/share/doc/imlib2-1.4.2, and /usr/share/imlib2

Short Descriptions

libImlib2.{so,a} provides the functions for programs to deal with various image data formats.
Retrieved from "?title=Imlib2&oldid=11495"