#### Beyond Linux® From Scratch (systemd Edition) - Version 11.1

### Chapter 25. Graphical Environment Libraries

- Prev

  libepoxy-1.5.9

- Next

  libnotify-0.7.9

- Up
- Home

# libglade-2.6.4

## Introduction to libglade

The libglade package contains `libglade` libraries. These are useful for loading Glade interface files in a program at runtime.

This package is known to build and work properly using an LFS-11.1 platform.

### Package Information

- Download (HTTP): https://download.gnome.org/sources/libglade/2.6/libglade-2.6.4.tar.bz2

- Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/libglade/2.6/libglade-2.6.4.tar.bz2

- Download MD5 sum: d1776b40f4e166b5e9c107f1c8fe4139

- Download size: 348 KB

- Estimated disk space required: 5 MB

- Estimated build time: 0.1 SBU

### libglade Dependencies

#### Required

libxml2-2.9.13 and GTK+-2.24.33

#### Optional

Python-2.7.18 and GTK-Doc-1.33.2

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libglade

## Installation of libglade

Install libglade by running the following commands:

    sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in &&
    ./configure --prefix=/usr --disable-static &&
    make

To test the results, issue: make check. One of the tests, test-convert, is known to fail.

Now, as the `root` user:

    make install

## Command Explanations

sed -i '/DG_DISABLE_DEPRECATED/d': Some of the glib functions that libglade uses were declared deprecated in glib-2.30. This sed removes the G_DISABLE_DEPRECATED CFLAG.

`--disable-static`: This switch prevents installation of static versions of the libraries.

`--enable-gtk-doc`: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

## Contents

Installed Program: libglade-convert (requires python)
Installed Library: libglade-2.0.so
Installed Directories: /usr/{include/libglade-2.0/glade,share/{gtk-doc/html/libglade, xml/libglade}}

### Short Descriptions

libglade-convert | is used to convert old Glade interface files to Glade-2.0 standards
`libglade-2.0.so` | contains the functions necessary to load Glade interface files

Last updated on

- Prev

  libepoxy-1.5.9

- Next

  libnotify-0.7.9

- Up
- Home