Re: Announce: gdl 0.7.8 released



After the recent developments in
https://bugzilla.redhat.com/show_bug.cgi?id=430559 I figured that the
problem of gnome-build failing to build after removing the extra
'Requires: libxml-2.0 libglade-2.0' from gdl-1.0.pc and
gdl-gnome-1.0.pc was not related to a bug in libgnomeui-devel, but due
to a missing entry in gnome-build's configure.in.

diff -urNp gnome-build-0.2.1.orig/configure.in gnome-build-0.2.1/configure.in
--- gnome-build-0.2.1.orig/configure.in 2008-01-29 01:58:06.000000000 +0530
+++ gnome-build-0.2.1/configure.in      2008-02-02 01:27:00.000000000 +0530
@@ -62,6 +62,7 @@ PKG_CHECK_MODULES(GBF,
        gtk+-2.0 >= $GTK_REQUIRED
        libgnome-2.0 >= $GNOME_REQUIRED
        libgnomeui-2.0 >= $GNOME_REQUIRED
+       libglade-2.0 >= $LIBGLADE_REQUIRED
        libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED
        libxml-2.0 >= $XML_REQUIRED
        gnome-vfs-2.0 >= $VFS_REQUIRED

This is required because ./src/gbf/gbf-project-util.c includes
'glade/glade-xml.h' and its Makefile.am uses GBF_CFLAGS/GBF_LIBS,
which do not have the necessary flags to build against libglade2.

At the same time, just like gdl-1.0.pc.in and gdl-gnome-1.0.pc.in, I
have removed the extra entries from Requires as they do not affect the
build-time of packages building against gnome-build-devel:

diff -urNp gnome-build-0.2.1.orig/gnome-build-1.0.pc.in
gnome-build-0.2.1/gnome-build-1.0.pc.in
--- gnome-build-0.2.1.orig/gnome-build-1.0.pc.in        2007-01-10
00:54:13.000000000 +0530
+++ gnome-build-0.2.1/gnome-build-1.0.pc.in     2008-02-02
01:18:27.000000000 +0530
@@ -7,6 +7,6 @@ idldir= datadir@/idl/gnome-build-1.0
 Name: gnome-build
 Description: Gnome Build Framework
 Version: @VERSION@
-Requires:  libgnome-2.0 gtk+-2.0 libxml-2.0 gdl-1.0 gdl-gnome-1.0
+Requires: gtk+-2.0
 Libs: -L${libdir} -lgbf-1 -lgbf-widgets-1
 Cflags: -I${includedir}

To be really pedantic, we should have added glib-2.0 in Requires since
some of the public header files include the glib2-devel headers.
However since gtk+-2.0's chain of Requires pulls in glib-2.0 (through
pango.pc), it is really not needed.

(The fact that gnome-build built fine after the extra entries were
removed from gdl-1.0.pc and gdl-gnome-1.0.pc is an indication that
they do not affect the build-time of packages building against
libgdl-devel.)

Happy hacking,
Debarshi
-- 
Free software for the Indian community:
* ftp://fedora.glug-nith.org/ (Fedora)
* http://gnu.glug-nith.org/ (GNU)
* http://mirror.wbut.ac.in/ (CRAN, Fedora, Mozilla, TLDP)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]