Difference between revisions of "Imlib2"

From CBLFS
Jump to navigationJump to search
 
(18 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/enlightenment/imlib2-1.2.2.tar.gz
+
| http://prdownloads.sourceforge.net/enlightenment/imlib2-{{Imlib2-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
 +
 +
{{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/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 13: Line 15:
 
* [[libpng]]
 
* [[libpng]]
 
* [[libjpeg]]
 
* [[libjpeg]]
=== Reccomended ===
+
=== Recommended ===
 
* [[X Window System]]
 
* [[X Window System]]
 
=== Optional ===
 
=== Optional ===
Line 24: Line 26:
 
Compile the package:
 
Compile the package:
  
 +
CPPFLAGS="-I${XORG_PREFIX}/include" \
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 30: Line 33:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/imlib2-1.2.2 &&
+
  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.2.2
+
     /usr/share/doc/imlib2-{{Imlib2-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 40: 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 46: Line 50:
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
mv -v /usr/bin/imlib2-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 52: 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 58: Line 64:
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
mv -v /usr/bin/imlib2-config{,-n32}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 64: 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 71: Line 79:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/imlib2-1.2.2 &&
+
mv -v /usr/bin/imlib2-config{,-64} &&
 +
ln -sfv multiarch_wrapper /usr/bin/imlib2-config &&
 +
  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.2.2
+
     /usr/share/doc/imlib2-{{Imlib2-Version}}
 +
 
 +
= Contents =
 +
 
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
|  imlib2_bumpmap, imlib2_colorspace, imlib2-config, imlib2_conv, imlib2_grab, imlib2_poly, imlib2_show, imlib2_test, and imlib2_view
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libImlib2.{so,a} and various filters and image loader modules.
 +
|-valign="top"
 +
! Installed Directories:
 +
| /usr/lib/imlib2, /usr/share/doc/imlib2-{{Imlib2-Version}}, and /usr/share/imlib2
 +
|}
 +
 
 +
=== Short Descriptions ===
 +
 
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! libImlib2.{so,a}
 +
| provides the functions for programs to deal with various image data formats.
 +
|}
 +
 
 +
[[Category:Graphics Libraries]]

Latest revision as of 16: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.
Retrieved from "?title=Imlib2&oldid=19313"