Difference between revisions of "Libart lgpl"

From CBLFS
Jump to navigationJump to search
(fixed typo)
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/{{Libart lgpl-Version2}}/libart_lgpl-{{Libart lgpl-Version}}.tar.bz2
 
| http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/{{Libart lgpl-Version2}}/libart_lgpl-{{Libart lgpl-Version}}.tar.bz2
 +
|-
 +
!Dowload Patch:
 +
| ftp://ftp.lfs-matrix.net/pub/blfs/conglomeration/libart_lgpl/libart_lgpl-2.3.19-upstream_fix-1.patch
 
|}
 
|}
  
Line 12: Line 15:
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
Apply some upstream fixes.
 +
 +
patch -Np1 -i ../libart_lgpl-2.3.19-upstream_fix-1.patch
  
 
Compile the package:
 
Compile the package:
Line 25: Line 32:
  
 
=== 32Bit ===
 
=== 32Bit ===
 +
 +
Apply some upstream fixes.
 +
 +
patch -Np1 -i ../libart_lgpl-2.3.19-upstream_fix-1.patc
  
 
Compile the package:
 
Compile the package:
Line 37: Line 48:
  
 
=== N32 ===
 
=== N32 ===
 +
 +
Apply some upstream fixes.
 +
 +
patch -Np1 -i ../libart_lgpl-2.3.19-upstream_fix-1.patc
  
 
Compile the package:
 
Compile the package:
Line 49: Line 64:
  
 
=== 64Bit ===
 
=== 64Bit ===
 +
 +
Apply some upstream fixes.
 +
 +
patch -Np1 -i ../libart_lgpl-2.3.19-upstream_fix-1.patc
  
 
Compile the package:
 
Compile the package:
Line 60: Line 79:
 
  mv -v /usr/bin/libart2-config{,-64} &&
 
  mv -v /usr/bin/libart2-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/libart2-config
 
  ln -sfv multiarch_wrapper /usr/bin/libart2-config
 
== Needed alteration ==
 
 
There is a patch that needs to be applied to one of the installed headers to allow C++ programs/libraries (e.g. [[KdeLibs]]) to link correctly. You can find the patch referenced in the KDE mailing list [http://lists.kde.org/?l=kde-core-devel&m=117277196223668&w=2 Re: libart_lgpl 2.3.18+ breaks kdelibs3]. Perform the following commands to fix the header:
 
 
sed -i -e '/^void \*art_alloc/i #ifdef __cplusplus\nextern "C" {\n#endif' \
 
        -e '/^void \*art_realloc/a #ifdef __cplusplus\n}\n#endif' \
 
        /usr/include/libart-2.0/libart_lgpl/art_misc.h
 
 
 
= Contents =
 
= Contents =
  

Revision as of 22:31, 4 August 2007

Download Source: http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/libart_lgpl-2.3.21.tar.bz2
Dowload Patch: ftp://ftp.lfs-matrix.net/pub/blfs/conglomeration/libart_lgpl/libart_lgpl-2.3.19-upstream_fix-1.patch

Introduction to Libart lgpl

Project Homepage: Unknown

Dependencies

Non-Multilib

Apply some upstream fixes.

patch -Np1 -i ../libart_lgpl-2.3.19-upstream_fix-1.patch

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Apply some upstream fixes.

patch -Np1 -i ../libart_lgpl-2.3.19-upstream_fix-1.patc

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

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

N32

Apply some upstream fixes.

patch -Np1 -i ../libart_lgpl-2.3.19-upstream_fix-1.patc

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

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

64Bit

Apply some upstream fixes.

patch -Np1 -i ../libart_lgpl-2.3.19-upstream_fix-1.patc

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
mv -v /usr/bin/libart2-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/libart2-config

Contents

Installed Programs: libart2-config
Installed Libraries: libart_lgpl_2.{so,a}
Installed Directories: /usr/include/libart-2.0

Short Descriptions

libart_lgpl_2.{so,a} is used as the anti-aliased render engine for libgnomecanvas and as a graphics support library for many other packages.