Difference between revisions of "Gobject-introspection"
From CBLFS
Jump to navigationJump to search (Fixed an issue with python component) |
(fix multilib build) |
||
Line 41: | Line 41: | ||
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" | ||
export CC="gcc ${BUILD32}" | export CC="gcc ${BUILD32}" | ||
+ | sed -i "/GIR_SUFFIX/s/gir-1.0/&-32" configure.ac && | ||
+ | autoconf && | ||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
Line 47: | Line 49: | ||
make install | make install | ||
+ | mv -v /usr/bin/g-ir-compiler{,-32} | ||
+ | mv -v /usr/bin/g-ir-generate{,-32} | ||
mv -v /usr/bin/g-ir-scanner{,-32} | mv -v /usr/bin/g-ir-scanner{,-32} | ||
unset USE_ARCH | unset USE_ARCH | ||
Line 59: | Line 63: | ||
export PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" | export PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" | ||
export CC="gcc ${BUILDN32}" | export CC="gcc ${BUILDN32}" | ||
+ | sed -i "/GIR_SUFFIX/s/gir-1.0/&-n32" configure.ac && | ||
+ | autoconf && | ||
./configure --prefix=/usr \ | ./configure --prefix=/usr \ | ||
--libdir=/usr/lib32 && | --libdir=/usr/lib32 && | ||
Line 66: | Line 72: | ||
make install | make install | ||
+ | mv -v /usr/bin/g-ir-compiler{,-n32} | ||
+ | mv -v /usr/bin/g-ir-generate{,-n32} | ||
mv -v /usr/bin/g-ir-scanner{,-n32} | mv -v /usr/bin/g-ir-scanner{,-n32} | ||
unset USE_ARCH | unset USE_ARCH | ||
Line 78: | Line 86: | ||
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" | ||
export CC="gcc ${BUILD64}" | export CC="gcc ${BUILD64}" | ||
+ | sed -i "/GIR_SUFFIX/s/gir-1.0/&-64" configure.ac && | ||
+ | autoconf && | ||
./configure --prefix=/usr \ | ./configure --prefix=/usr \ | ||
--libdir=/usr/lib64 && | --libdir=/usr/lib64 && | ||
Line 85: | Line 95: | ||
make install | make install | ||
+ | mv -v /usr/bin/g-ir-compiler{,-64} | ||
+ | mv -v /usr/bin/g-ir-generate{,-64} | ||
mv -v /usr/bin/g-ir-scanner{,-64} | mv -v /usr/bin/g-ir-scanner{,-64} | ||
+ | ln -sv multiarch_wrapper /usr/bin/g-ir-compiler | ||
+ | ln -sv multiarch_wrapper /usr/bin/g-ir-generate | ||
ln -sv multiarch_wrapper /usr/bin/g-ir-scanner | ln -sv multiarch_wrapper /usr/bin/g-ir-scanner | ||
unset USE_ARCH | unset USE_ARCH |
Revision as of 21:41, 8 January 2010
Download Source: | http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/0.6/gobject-introspection-0.6.9.tar.bz2 |
---|
Contents
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}" sed -i "/GIR_SUFFIX/s/gir-1.0/&-32" configure.ac && autoconf && ./configure --prefix=/usr && make
Install the package:
make install mv -v /usr/bin/g-ir-compiler{,-32} mv -v /usr/bin/g-ir-generate{,-32} 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}" sed -i "/GIR_SUFFIX/s/gir-1.0/&-n32" configure.ac && autoconf && ./configure --prefix=/usr \ --libdir=/usr/lib32 && make
Install the package:
make install mv -v /usr/bin/g-ir-compiler{,-n32} mv -v /usr/bin/g-ir-generate{,-n32} 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}" sed -i "/GIR_SUFFIX/s/gir-1.0/&-64" configure.ac && autoconf && ./configure --prefix=/usr \ --libdir=/usr/lib64 && make
Install the package:
make install mv -v /usr/bin/g-ir-compiler{,-64} mv -v /usr/bin/g-ir-generate{,-64} mv -v /usr/bin/g-ir-scanner{,-64} ln -sv multiarch_wrapper /usr/bin/g-ir-compiler ln -sv multiarch_wrapper /usr/bin/g-ir-generate 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 |