Gobject-introspection

From CBLFS
Revision as of 10:19, 4 January 2010 by Lunaryn (talk | contribs) (Fixed an issue with python component)
Jump to navigationJump to search
Download Source: http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/0.6/gobject-introspection-0.6.9.tar.bz2

Introduction to Gobject-introspection

Provides a bridge between C and managed languages.

Project Homepage: http://live.gnome.org/GObjectIntrospection


Dependencies

Required

Optional

Non-Multilib

Compile the package:

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

Install the package:

make install

Multilib

32Bit

Compile the package:

export USE_ARCH=32
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}"
export CC="gcc ${BUILD32}"
./configure --prefix=/usr &&
make

Install the package:

make install
mv -v /usr/bin/g-ir-scanner{,-32}
unset USE_ARCH
unset PKG_CONFIG_PATH
unset CC

N32

Compile the package:

export USE_ARCH=n32
export PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}"
export CC="gcc ${BUILDN32}"
./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package:

make install
mv -v /usr/bin/g-ir-scanner{,-n32}
unset USE_ARCH
unset PKG_CONFIG_PATH
unset CC

64Bit

Compile the package:

export USE_ARCH=64
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}"
export CC="gcc ${BUILD64}"
./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

make install
mv -v /usr/bin/g-ir-scanner{,-64}
ln -sv multiarch_wrapper /usr/bin/g-ir-scanner
unset USE_ARCH
unset PKG_CONFIG_PATH
unset CC

Contents

Installed Directories: /usr/{include,share}/gobject-introspection-1.0, /usr/share/gir-1.0, /usr/lib{,32,64}/{girepository-1.0,gobject-introspection}
Installed Programs: g-ir-compiler, g-ir-generate, g-ir-scanner
Installed Libraries: libgirepository-1.0.{a,so}, libgirepository-everything-1.0.{a,so}

Short Descriptions

g-ir-compiler compiles typelib from gir and vice versa
g-ir-generate ???
g-ir-scanner generates gir from C sources
libgirepository-1.0.{so,a}, libgirepository-everything-1.0.{so,a} C library for reading typelib