Difference between revisions of "Libglade"
From CBLFS
Jump to navigationJump to search (→Dependencies) |
|||
(14 intermediate revisions by 8 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://ftp.gnome.org/pub/gnome/sources/libglade/ | + | | http://ftp.gnome.org/pub/gnome/sources/libglade/{{Libglade-Version2}}/libglade-{{Libglade-Version}}.tar.bz2 |
|- | |- | ||
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{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}} | ||
== Dependencies == | == Dependencies == | ||
− | Required | + | === Required === |
− | + | * [[LibXML2]] | |
− | *[[LibXML2]] | + | * [[Gtk2]] |
− | *[[Gtk2]] | + | === Optional === |
− | + | * [[Python]] | |
− | Optional | + | * [[Gtk-Doc]] |
− | |||
− | *[[Python]] | ||
− | *[[Gtk-Doc]] | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 37: | Line 36: | ||
Configure and compile the package: | Configure and compile the package: | ||
− | CC="gcc ${BUILD32}" ./configure --prefix=/usr && | + | CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ |
+ | ./configure --prefix=/usr && | ||
make | make | ||
Line 48: | Line 48: | ||
Configure and compile the package: | Configure and compile the package: | ||
− | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && | + | 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 | make | ||
Line 59: | Line 61: | ||
Configure and compile the package: | Configure and compile the package: | ||
− | CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && | + | 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 | make | ||
Line 66: | Line 70: | ||
make install | make install | ||
− | + | == Contents == | |
− | + | ||
+ | {| style="text-align: left;" | ||
+ | |-valign="top" | ||
+ | ! Installed Programs: | ||
+ | | libglade-convert (requires '''python''') | ||
+ | |-valign="top" | ||
+ | ! Installed Libraries: | ||
+ | | libglade-2.0.{so,a} | ||
+ | |-valign="top" | ||
+ | ! Installed Directories: | ||
+ | | /usr/include/libglade-2.0, /usr/share/xml/libglade, and /usr/share/gtk-doc/html/libglade | ||
+ | |} | ||
+ | |||
+ | === Short Descriptions === | ||
+ | |||
+ | {| style="text-align: left;" | ||
+ | |-valign="top" | ||
+ | ! libglade-convert | ||
+ | | is used to convert old Glade interface files to Glade-2.0 standards. | ||
+ | |-valign="top" | ||
+ | ! libglade-2.0.{so,a} | ||
+ | | 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 |
---|
Contents
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. |