Difference between revisions of "Libglade"

From CBLFS
Jump to navigationJump to search
(Introduction to libglade)
 
(5 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://ftp.gnome.org/pub/gnome/sources/libglade/{{Libglade-Version}}/libglade-{{Libglade-Version2}}.tar.bz2
+
| http://ftp.gnome.org/pub/gnome/sources/libglade/{{Libglade-Version2}}/libglade-{{Libglade-Version}}.tar.bz2
 
|-
 
|-
 
|}
 
|}
Line 8: Line 8:
 
----
 
----
  
== Introduction to libglade ==
+
{{Package-Introduction|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.|http://freshmeat.net/projects/libglade}}
 
 
<Package Description Needed>
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 96: Line 94:
 
| contain the functions necessary to load Glade interface files.
 
| contain the functions necessary to load Glade interface files.
 
|}
 
|}
 +
 +
[[Category:Programming]]

Latest revision as of 15:58, 19 March 2009

Download Source: http://ftp.gnome.org/pub/gnome/sources/libglade/2.6/libglade-2.6.4.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.

Project 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.
Retrieved from "?title=Libglade&oldid=17630"