Bug 430559 - Requires: libglade-2.0 (in libgnomeui-2.0.pc)
Summary: Requires: libglade-2.0 (in libgnomeui-2.0.pc)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libgnomeui
Version: 8
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 428566
TreeView+ depends on / blocked
 
Reported: 2008-01-28 19:39 UTC by Debarshi Ray
Modified: 2008-02-01 20:07 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-02-01 14:37:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to fix this bug. (543 bytes, patch)
2008-01-28 19:39 UTC, Debarshi Ray
no flags Details | Diff

Description Debarshi Ray 2008-01-28 19:39:18 UTC
Description of problem:

$ rpm --requires -q libgnomeui-devel | grep libglade2
libglade2-devel >= 2.0.0

However libgnomeui-2.0.pc does not contain libglade-2.0 in the Requires field.
This forces libgdl to add libglade-2.0 in the Requires field of gdl-1.0.pc to
avoid build failure.


Version-Release number of selected component (if applicable):

libgnomeui-devel-2.20.1.1-1.fc8
(possibly present in F-7 and Rawhide too)

Comment 1 Debarshi Ray 2008-01-28 19:39:18 UTC
Created attachment 293185 [details]
Patch to fix this bug.

Comment 2 Debarshi Ray 2008-01-28 20:11:13 UTC
Packages like gnome-build (BuildRequires: libgdl-devel libgnomeui-devel) suffer
build failure due to this.

Comment 3 Ray Strode [halfline] 2008-02-01 14:37:09 UTC
Hi rishi,

Sorry for the delayed response.

I don't think this fix is right.  libgnomeui-devel requires glade so that it can
add libgnomeui widgets to glade's toolbox.  I don't think libgnomeui depends on
libglade.

Projects that use libglade should explicitly require it in their .pc files.

Comment 4 Debarshi Ray 2008-02-01 20:07:46 UTC
Ah, alright. I jumped to conclusions seeing libgnomeui-devel require
libglade2-devel and not having it in libgnomeui-2.0.pc.

It turns out that gnome-build's configure.in needed to be patched:

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

Sorry for the noise.


Note You need to log in before you can comment on or make changes to this bug.