pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/32775: graphics/p5-Gdk-Pixbuf rotten dependencies & compilation errors



>Number:         32775
>Category:       pkg
>Synopsis:       graphics/p5-Gdk-Pixbuf rotten dependencies & compilation errors
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 08 13:00:00 +0000 2006
>Originator:     rosenfeld%grumpf.hope-2000.org@localhost
>Release:        pkgsrc-2005Q4
>Organization:
>Environment:
System: NetBSD executor 3.0_STABLE NetBSD 3.0_STABLE (EXECUTOR) #0: Wed Feb 1 
15:15:56 CET 2006 
woodstoc@executor:/usr/obj/sys/arch/i386/compile.i386/EXECUTOR i386

Architecture: i386
Machine: i386
>Description:
graphics/p5-Gdk-Pixbuf should depend on graphics/gdk-pixbuf, but instead
it "depends" on www/gtkhtml (which depends on graphics/gdk-pixbuf, so
that this did not break the build). This is very annoying since
www/gtkhtml seems to depend on dozens of Gnome packages. There is also
some compilation error about a not found gtk/gtktypeutils.h, but this
did not break the build of the package either.

>How-To-Repeat:
build graphics/p5-Gdk-Pixbuf and see that it depends on lots of unneeded
Gnome stuff and complains about missing gtk/gtktypeutils.h while
building.

>Fix:
replace the .sinclude line for www/gtkhtml with one for graphics/gdk-pixbuf
in graphics/p5-Gdk-Pixbuf/Makefile, to fix the missing include file this
patch should be added to x11/p5-gtk/patches:

--- ../GdkPixbuf/Makefile.PL.orig       2003-06-17 09:47:56.000000000 +0000
+++ ../GdkPixbuf/Makefile.PL    2004-05-17 17:58:10.674085437 +0000
@@ -9,8 +9,12 @@

 mkdir('build', 0777);

-$gpb->set_inc (`gdk-pixbuf-config --cflags`);
-$gpb->set_libs (`gdk-pixbuf-config --libs`);
+$libs = `gdk-pixbuf-config --libs`;
+$inc = `gdk-pixbuf-config --cflags`;
+$libs =~ s/\s+/ /g;
+$inc =~ s/\s+/ /g;
+$gpb->set_inc ($inc);
+$gpb->set_libs ($libs);

 $gpb->add_typemaps (cwd() . '/pkg.typemap', cwd().'/build/GdkPixbufTypemap');
 $gpb->add_headers (qw( <gdk-pixbuf/gdk-pixbuf-loader.h> ));




Home | Main Index | Thread Index | Old Index