From 58b053edfabd89b5c9da034b295791ceb1cf1281 Mon Sep 17 00:00:00 2001
From: Guy Grant <ggrant@riseup.net>
Date: Thu, 27 Feb 2014 17:46:06 -0600
Subject: [PATCH] gnu: Add libglade

---
 gnu/packages/gtk.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 2a01f89..353c7ef 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2014 Guy Grant <ggrant@riseup.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -308,6 +309,34 @@ is part of the GNOME accessibility project.")
    (license license:lgpl2.0+)
    (home-page "https://projects.gnome.org/accessibility/")))
 
+(define-public libglade
+  (package
+    (name "libglade")
+    (version "2.6.4")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append
+                   "http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/libglade-"
+                   version
+                   ".tar.gz"))
+             (sha256
+              (base32
+               "1lxdjx87r2zvdp5pg00xidfhg0y12in8vr3kj037cya5d2dih7f4"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("gtk+-2" ,gtk+-2)
+       ("libxml2" ,libxml2)
+       ("python" ,python-2)))
+    (native-inputs
+      `(("pkg-config" ,pkg-config)))
+    (home-page "https://developer.gnome.org/libglade/")
+    (synopsis "Allows you to load glade interface files in a program at runtime")
+    (description
+     "Libglade is a library that provides interfaces for loading graphical interfaces 
+described in glade xml files and for accessing the widgets built in the loading process, 
+.glade files are generated by the Glade application.")
+    (license license:lgpl2.0)))
+
 (define-public gtk+-2
   (package
    (name "gtk+")
-- 
1.8.5.3

