Difference between revisions of "Imlib2"

From CBLFS
Jump to navigationJump to search
(I added the "Contents" section from BLFS.)
 
(13 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/enlightenment/imlib2-1.3.0.tar.gz
+
| http://prdownloads.sourceforge.net/enlightenment/imlib2-{{Imlib2-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
  
== Introduction to Imlib 2 ==
+
{{Package-Introduction|Imlib 2 is the successor to Imlib. It is NOT a newer version -- it is a completely new library. Imlib 2 can be installed alongside Imlib 1.x without any problems since they are effectively different libraries which have very similar functionality. Please see the homepage for the long description of the differences.|http://docs.enlightenment.org/api/imlib2/html/}}
 
 
Imlib is a graphics library for fast file loading, saving, rendering and manipulation.
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 17: Line 15:
 
* [[libpng]]
 
* [[libpng]]
 
* [[libjpeg]]
 
* [[libjpeg]]
=== Reccomended ===
+
=== Recommended ===
 
* [[X Window System]]
 
* [[X Window System]]
 
=== Optional ===
 
=== Optional ===
Line 28: Line 26:
 
Compile the package:
 
Compile the package:
  
 +
CPPFLAGS="-I${XORG_PREFIX}/include" \
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 34: Line 33:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/imlib2-1.3.0 &&
+
  install -v -m755 -d /usr/share/doc/imlib2-{{Imlib2-Version}} &&
 
  install -v -m644 doc/{*.gif,index.html} \
 
  install -v -m644 doc/{*.gif,index.html} \
     /usr/share/doc/imlib2-1.3.0
+
     /usr/share/doc/imlib2-{{Imlib2-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 44: Line 43:
 
Compile the package:
 
Compile the package:
  
 +
CPPFLAGS="-I${XORG_PREFIX}/include" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  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 57: Line 57:
 
Compile the package:
 
Compile the package:
  
 +
CPPFLAGS="-I${XORG_PREFIX}/include" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  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 70: Line 71:
 
Compile the package:
 
Compile the package:
  
 +
CPPFLAGS="-I${XORG_PREFIX}/include" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  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 &&
Line 79: Line 81:
 
  mv -v /usr/bin/imlib2-config{,-64} &&
 
  mv -v /usr/bin/imlib2-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/imlib2-config &&
 
  ln -sfv multiarch_wrapper /usr/bin/imlib2-config &&
  install -v -m755 -d /usr/share/doc/imlib2-1.3.0 &&
+
  install -v -m755 -d /usr/share/doc/imlib2-{{Imlib2-Version}} &&
 
  install -v -m644 doc/{*.gif,index.html} \
 
  install -v -m644 doc/{*.gif,index.html} \
     /usr/share/doc/imlib2-1.3.0
+
     /usr/share/doc/imlib2-{{Imlib2-Version}}
  
 
= Contents =
 
= Contents =
Line 94: Line 96:
 
|-valign="top"
 
|-valign="top"
 
! Installed Directories:
 
! Installed Directories:
| /usr/lib/imlib2, /usr/share/doc/imlib2-1.2.2, and /usr/share/imlib2
+
| /usr/lib/imlib2, /usr/share/doc/imlib2-{{Imlib2-Version}}, and /usr/share/imlib2
 
|}
 
|}
  
Line 104: Line 106:
 
| provides the functions for programs to deal with various image data formats.
 
| provides the functions for programs to deal with various image data formats.
 
|}
 
|}
 +
 +
[[Category:Graphics Libraries]]

Latest revision as of 17:52, 20 September 2009

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

Introduction to Imlib2

Imlib 2 is the successor to Imlib. It is NOT a newer version -- it is a completely new library. Imlib 2 can be installed alongside Imlib 1.x without any problems since they are effectively different libraries which have very similar functionality. Please see the homepage for the long description of the differences.

Project Homepage: http://docs.enlightenment.org/api/imlib2/html/

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" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
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" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
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" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
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.