mono-winforms requires libgdiplus-devel
Michael Schwendt
mschwendt at gmail.com
Tue Dec 2 22:32:56 UTC 2008
On Tue, 2 Dec 2008 21:16:58 +0100, Michael wrote:
> $ rpm -qR mono-winforms | grep ^lib
> libgdiplus-devel
>
> Sorry, this is inacceptable. -devel packages ought to stay optional.
> Not only does this break rpmdev-rmdevelrpms,
>
> $ sudo rpmdev-rmdevelrpms -y
> [...]
> ...whose removal would cause unresolved dependencies:
> mono-winforms-2.0.1-12.fc10 requires libgdiplus-devel
> Not removed due to dependencies.
>
> and it also pulls in pkg-config and leads to broken pkg-config deps:
>
> $ cat /usr/lib/pkgconfig/libgdiplus.pc | grep Req
> Requires: glib-2.0 gmodule-2.0 gthread-2.0
>
> Looking at mono.spec, the file doesn't explain this. With luck I found
> this F8 ticket:
>
> missing link ln -s libgdiplus.so.0.0.0 libgdiplus.so
> https://bugzilla.redhat.com/426519
>
> Is that the reason for the unusual "Requires" of a -devel pkg?
> Do you only need the libgdiplus.so link?
>
> Can't mono-winforms be patched to accept libgdiplus.so.0 instead?
Old story it seems. Bugzilla 380131 and several others, which complain
about this too, have been closed as duplicate. Bz 426519 now contains
a demo patch. There are probably other ways to do it.
More information about the fedora-devel-list
mailing list