Bug 3429 - Excessive dependencies of libgpod-devel
Summary: Excessive dependencies of libgpod-devel
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Tomas Kindl
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 17:57 CET by Zoltan Balaton
Modified: 2012-04-28 14:21 CEST (History)
1 user (show)

See Also:
Source RPM: libgpod
CVE:
Status comment:


Attachments
libgpod.spec.patch (1.83 KB, patch)
2011-11-23 17:58 CET, Zoltan Balaton
Details | Diff

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.

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