Difference between revisions of "Libglade"

From CBLFS
Jump to navigationJump to search
(Introduction to libglade)
(Added description.)
Line 10: Line 10:
 
== Introduction to libglade ==
 
== Introduction to libglade ==
  
<Package Description Needed>
+
Libglade is a library that performs a similar job to the C source output routines in the GLADE user interface builder. Whereas GLADE's output routines create C source code that must be compiled, libglade builds the interface from an XML file (GLADE's save format) at runtime. This can allow modifying the user interface without recompiling.
 +
 
 +
<b>Homepage:</b> http://freshmeat.net/projects/libglade
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 07:31, 15 January 2007

Download Source: http://ftp.gnome.org/pub/gnome/sources/libglade/2.6.4/libglade-2.6.tar.bz2

Introduction to libglade

Libglade is a library that performs a similar job to the C source output routines in the GLADE user interface builder. Whereas GLADE's output routines create C source code that must be compiled, libglade builds the interface from an XML file (GLADE's save format) at runtime. This can allow modifying the user interface without recompiling.

Homepage: http://freshmeat.net/projects/libglade

Dependencies

Required

Optional

Non-Multilib

Configure and compile the package:

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

Install the package:

make install

Multilib

32Bit

Configure and compile the package:

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

Install the package:

make install

N32

Configure and compile the package:

sed -i '/default_dir = /s/"lib"/"lib32"/' glade/glade-init.c &&
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Configure and compile the package:

sed -i '/default_dir = /s/"lib"/"lib64"/' glade/glade-init.c &&
CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install

Contents

Installed Programs: libglade-convert (requires python)
Installed Libraries: libglade-2.0.{so,a}
Installed Directories: /usr/include/libglade-2.0, /usr/share/xml/libglade, and /usr/share/gtk-doc/html/libglade

Short Descriptions

libglade-convert is used to convert old Glade interface files to Glade-2.0 standards.
libglade-2.0.{so,a} contain the functions necessary to load Glade interface files.