Bug 3429

Summary: Excessive dependencies of libgpod-devel
Product: Mageia Reporter: Zoltan Balaton <balaton>
Component: RPM PackagesAssignee: Tomas Kindl <supp>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: remco
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: libgpod CVE:
Status comment:
Attachments: libgpod.spec.patch

Description Zoltan Balaton 2011-11-23 17:57:35 CET
The libgpod-devel package "Requires" the libgpod-sharp package but it is not necessary for normal usage. This results pulling in all sorts of mono stuff when someone only needs the C devel libraries. The attached patch changes this to a "Suggests" to preserve current behaviour but allowing installation of C libraires only. However, this dependency could be removed as someone who needs the sharp binding can install libgpod-sharp directly. Additionally the patch also makes building the packages of python and sharp bindings optional.
Comment 1 Zoltan Balaton 2011-11-23 17:58:37 CET
Created attachment 1104 [details]
libgpod.spec.patch
Zoltan Balaton 2011-11-23 18:00:33 CET

Attachment 1104 is patch: 0 => 1
Attachment 1104 mime type: application/octet-stream => text/plain

Comment 2 Remco Rijnders 2011-11-23 18:29:31 CET
Hi Tomas,

Assigning this one to you for follow up and resolution.

Thanks!

Assignee: bugsquad => supp
Source RPM: libgpod-0.8.2-1.mga2.src.rpm => libgpod

Tomas Kindl 2011-11-24 22:54:12 CET

Status: NEW => ASSIGNED

Comment 3 Remco Rijnders 2012-03-20 06:15:38 CET
Tomas: ping?

CC: (none) => remco

Comment 4 Remco Rijnders 2012-04-21 14:11:32 CEST
Hi Zoltan,

Thank you for the patch you supplied. I've taken the liberty to apply your patch against Cauldron.

I'm closing this report, but feel free to reopen it if you believe the revised package still shows this issue.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 5 Zoltan Balaton 2012-04-28 14:21:01 CEST
Unfortunately it still seems to be the same even with the patch applied:

$ cat /etc/mageia-release 
Mageia release 2 (Cauldron) for x86_64
$ head -4 /etc/urpmi/urpmi.cfg 
{
  no-suggests
  strict-arch: 1
}
$ urpmi libgpod-devel
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  glib-sharp2                    2.12.11      2.mga2        x86_64  
  gtk-sharp2                     2.12.11      2.mga2        x86_64  
  lib64gdiplus0                  2.10         3.mga2        x86_64  
  lib64gpod-devel                0.8.2        2.mga2        x86_64  
  lib64mono0                     2.10.9       1.mga2        x86_64  
  lib64mono2.0_1                 2.10.9       1.mga2        x86_64  
  mono                           2.10.9       1.mga2        x86_64
$ urpmq --requires lib64gpod-devel
--requires behaviour changed, use --requires-recursive to get the old behaviour
lib64gpod4[== 0.8.2-2.mga2]
pkgconfig(gdk-pixbuf-2.0)
pkgconfig(glib-2.0)[>= 2.8.0]
pkgconfig(glib-sharp-2.0)
pkgconfig(gobject-2.0)
pkgconfig(gtk-sharp-2.0)
pkgconfig(libimobiledevice-1.0)
devel(libgdk_pixbuf-2.0(64bit))
devel(libglib-2.0(64bit))
devel(libgmodule-2.0(64bit))
devel(libgobject-2.0(64bit))
devel(libimobiledevice(64bit))
devel(libm(64bit))
devel(libplist(64bit))
devel(libsqlite3(64bit))
devel(libxml2(64bit))
devel(libz(64bit))
pkgconfig

Maybe because automatic dependency checking picks up the pkgconfig(glib-sharp-2.0) and pkgconfig(gtk-sharp-2.0) lines somehow?

I'm not reopening the bug, just letting you know and let you decide what to do with it.