Subject: ERROR: libglade is not installed; can't buildlink files.
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 10/30/2007 09:08:12
This email covers two topics:

1) Should python binding files include files 
for non-python headers/libraries?

2) Should packages that depend on renamed packages have their versions 

Building databases/gramps2 is failing for me:

===> Creating toolchain wrappers for gramps-2.2.9
ERROR: libglade is not installed; can't buildlink files.
*** Error code 1

I have installed:

py24-gtk2-2.8.6 (August 2006)
libglade2-2.5.1nb4	(April 2006)

(Yes, I know these are very old but pkgsrc should be able to handle this.)

x11/py-gtk2/ has:

BUILDLINK_ABI_DEPENDS.pygtk2+=  ${PYPKGPREFIX}-gtk2>=2.8.5nb1
.include "../../devel/libglade/"

devel/libglade/ has:

BUILDLINK_API_DEPENDS.libglade+=        libglade>=2.3.6
BUILDLINK_ABI_DEPENDS.libglade+=        libglade>=2.5.1nb4

Now I see the problem:

libglade2 does not exist anymore since 2007/09/21 (I think).

gramps doesn't depend on libglade directly. It uses py24-gtk2
which is good enough.

I think that a python script that uses py24-gtk2 would not use the
libglade headers or libraries directly.

So why does a file for Python bindings for GTK+2 also include
libglade's file?

Is this okay?

--- x11/py-gtk2/	21 Sep 2007 13:04:44 -0000	1.21
+++ x11/py-gtk2/	30 Oct 2007 14:03:29 -0000
@@ -20,8 +20,6 @@
 .include "../../devel/py-gobject/"
-.include "../../devel/libglade/"
 .include "../../math/py-Numeric/"
-.include "../../x11/gtk2/"

As for the issue with the renaming. I think that all packages
depending on the original name should be bumped. What do you think?

  Jeremy C. Reed

p.s. Also see same python problem in my "ERROR: db4 is not installed; 
can't buildlink files." thread.