Difference between revisions of "Libglade"

From CBLFS
Jump to navigationJump to search
(I filled out the "Contents" section more fully and put it in table format.)
 
(9 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://ftp.gnome.org/pub/gnome/sources/libglade/2.6/libglade-2.6.0.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}}
 
 
The libglade package contains libglade libraries. These are useful for loading Glade interface files in a program at runtime.
 
  
 
== Dependencies ==
 
== Dependencies ==
  
Required
+
=== Required ===
 
+
* [[LibXML2]]
*[[LibXML2]]
+
* [[Gtk2]]  
*[[Gtk2]]  
+
=== Optional ===
 
+
* [[Python]]
Optional  
+
* [[Gtk-Doc]]
 
 
*[[Python]]
 
*[[Gtk-Doc]]
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 78: Line 73:
  
 
{| style="text-align: left;"
 
{| style="text-align: left;"
|-
+
|-valign="top"
 
! Installed Programs:
 
! Installed Programs:
 
| libglade-convert (requires '''python''')
 
| libglade-convert (requires '''python''')
|-
+
|-valign="top"
 
! Installed Libraries:
 
! Installed Libraries:
 
| libglade-2.0.{so,a}
 
| libglade-2.0.{so,a}
|-
+
|-valign="top"
 
! Installed Directories:
 
! Installed Directories:
 
| /usr/include/libglade-2.0, /usr/share/xml/libglade, and /usr/share/gtk-doc/html/libglade
 
| /usr/include/libglade-2.0, /usr/share/xml/libglade, and /usr/share/gtk-doc/html/libglade
Line 92: Line 87:
  
 
{| style="text-align: left;"
 
{| style="text-align: left;"
|-
+
|-valign="top"
 
! libglade-convert
 
! libglade-convert
 
| is used to convert old Glade interface files to Glade-2.0 standards.
 
| is used to convert old Glade interface files to Glade-2.0 standards.
|-
+
|-valign="top"
 
! libglade-2.0.{so,a}
 
! libglade-2.0.{so,a}
 
| 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"