Bug 430559

Summary: Requires: libglade-2.0 (in libgnomeui-2.0.pc)
Product: [Fedora] Fedora Reporter: Debarshi Ray <debarshir>
Component: libgnomeuiAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-01 14:37:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 428566    
Attachments:
Description Flags
Patch to fix this bug. none

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.