Difference between revisions of "Pango"
Weibullguy (talk | contribs) m |
(multilib fix for gobject-introspection and cxx) |
||
(One intermediate revision by one other user not shown) | |||
Line 21: | Line 21: | ||
=== Optional === | === Optional === | ||
+ | * [[Gobject-introspection]] | ||
* [[Gtk-Doc]] | * [[Gtk-Doc]] | ||
Line 47: | Line 48: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD32}" USE_ARCH=32 | + | export CC="gcc ${BUILD32}" |
− | PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" | + | export CXX="g++ ${BUILD32}" |
+ | export USE_ARCH=32 | ||
+ | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" | ||
./configure --prefix=/usr --sysconfdir=/etc && | ./configure --prefix=/usr --sysconfdir=/etc && | ||
make | make | ||
Line 56: | Line 59: | ||
make install && | make install && | ||
mv -v /usr/bin/pango-querymodules{,-32} | mv -v /usr/bin/pango-querymodules{,-32} | ||
+ | unset CC | ||
+ | unset CXX | ||
+ | unset USE_ARCH | ||
+ | unset PKG_CONFIG_PATH | ||
=== N32 === | === N32 === | ||
Line 68: | Line 75: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILDN32}" USE_ARCH=n32 | + | export CC="gcc ${BUILDN32}" |
− | PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" | + | export CXX="g++ ${BUILDN32}" |
+ | export USE_ARCH=n32 | ||
+ | export PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" | ||
./configure --prefix=/usr --sysconfdir=/etc \ | ./configure --prefix=/usr --sysconfdir=/etc \ | ||
--libdir=/usr/lib32 && | --libdir=/usr/lib32 && | ||
Line 78: | Line 87: | ||
make install && | make install && | ||
mv -v /usr/bin/pango-querymodules{,-n32} | mv -v /usr/bin/pango-querymodules{,-n32} | ||
+ | unset CC | ||
+ | unset CXX | ||
+ | unset USE_ARCH | ||
+ | unset PKG_CONFIG_PATH | ||
=== 64Bit === | === 64Bit === | ||
Line 90: | Line 103: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD64}" USE_ARCH=64 | + | export CC="gcc ${BUILD64}" |
− | PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" | + | export CXX="g++ ${BUILD64}" |
+ | export USE_ARCH=64 | ||
+ | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" | ||
./configure --prefix=/usr --sysconfdir=/etc \ | ./configure --prefix=/usr --sysconfdir=/etc \ | ||
--libdir=/usr/lib64 && | --libdir=/usr/lib64 && | ||
Line 101: | Line 116: | ||
mv -v /usr/bin/pango-querymodules{,-64} && | mv -v /usr/bin/pango-querymodules{,-64} && | ||
ln -sfv multiarch_wrapper /usr/bin/pango-querymodules | ln -sfv multiarch_wrapper /usr/bin/pango-querymodules | ||
+ | unset CC | ||
+ | unset CXX | ||
+ | unset USE_ARCH | ||
+ | unset PKG_CONFIG_PATH | ||
= Contents = | = Contents = |
Latest revision as of 19:24, 7 January 2010
Download Source: | http://ftp.gnome.org/pub/gnome/sources/pango/1.26/pango-1.26.2.tar.bz2 |
---|---|
Required Patch (For Multilib): | http://svn.cross-lfs.org/svn/repos/patches/pango/pango-1.26.2-multilib-1.patch |
Contents
Introduction to Pango
Pango is a library for laying out and rendering of text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+ widget toolkit. Pango forms the core of text and font handling for Gtk2.
Project Homepage: http://www.pango.org/
Dependencies
Required
Optional
Non-Multilib
Compile the package:
./configure --prefix=/usr --sysconfdir=/etc && make
Install the package
make install
Multilib
32Bit
The following commands make pango put it's configuration information in /etc/pango-32:
patch -Np1 -i ../pango-1.26.2-multilib-1.patch sed -i "s/BUILDENV/32/" pango/pango-utils.c \ modules/Makefile.am modules/Makefile.in \ pango/Makefile.am pango/Makefile.in
Compile the package:
export CC="gcc ${BUILD32}" export CXX="g++ ${BUILD32}" export USE_ARCH=32 export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" ./configure --prefix=/usr --sysconfdir=/etc && make
Install the package
make install && mv -v /usr/bin/pango-querymodules{,-32} unset CC unset CXX unset USE_ARCH unset PKG_CONFIG_PATH
N32
The following commands make pango put it's configuration information in /etc/pango-n32:
patch -Np1 -i ../pango-1.26.2-multilib-1.patch sed -i "s/BUILDENV/n32/" pango/pango-utils.c \ modules/Makefile.am modules/Makefile.in \ pango/Makefile.am pango/Makefile.in
Compile the package:
export CC="gcc ${BUILDN32}" export CXX="g++ ${BUILDN32}" export USE_ARCH=n32 export PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" ./configure --prefix=/usr --sysconfdir=/etc \ --libdir=/usr/lib32 && make
Install the package
make install && mv -v /usr/bin/pango-querymodules{,-n32} unset CC unset CXX unset USE_ARCH unset PKG_CONFIG_PATH
64Bit
The following commands make pango put it's configuration information in /etc/pango-64:
patch -Np1 -i ../pango-1.26.2-multilib-1.patch sed -i "s/BUILDENV/64/" pango/pango-utils.c \ modules/Makefile.am modules/Makefile.in \ pango/Makefile.am pango/Makefile.in
Compile the package:
export CC="gcc ${BUILD64}" export CXX="g++ ${BUILD64}" export USE_ARCH=64 export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" ./configure --prefix=/usr --sysconfdir=/etc \ --libdir=/usr/lib64 && make
Install the package
make install && mv -v /usr/bin/pango-querymodules{,-64} && ln -sfv multiarch_wrapper /usr/bin/pango-querymodules unset CC unset CXX unset USE_ARCH unset PKG_CONFIG_PATH
Contents
Installed Programs: | pango-view, pango-querymodules |
---|---|
Installed Libraries: | libpango-1.0.{so,la}, libpangox-1.0.{so,la}, libpangoft2-1.0.{so,la}, libpangoxft-1.0.{so,la} libpangocairo-1.0.{so,la} pango-basic-x.{so,la}, pango-basic-fc.{so,la} |
Installed Directory: | /usr/include/pango-1.0, /usr/include/pango-1.0/pango, /etc/pango-64, /usr/lib/pango/1.6.0/modules, /usr/lib64/pango/1.6.0/modules |