Subject: pkg/26586: print/gnomeprintui can't find headers
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ccatrian@eml.cc>
List: pkgsrc-bugs
Date: 08/07/2004 16:33:10
>Number:         26586
>Category:       pkg
>Synopsis:       print/gnomeprintui can't find headers
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 07 18:58:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     César Catrián Carreño
>Release:        2.0Beta
>Organization:
none
>Environment:
NetBSD core.cjc.cl 2.0_BETA NetBSD 2.0_BETA (SAT) #0: Mon Jul  5 09:46:12 CLT 2004  cetrox@core.cjc.cl:/home/cetrox/src/src/sys/arch/i386/compile/obj/SAT i386
>Description:
This is the output:

widget.o
In file included from gpa-widget.c:27:
gpa-widget.h:35:46: libgnomeprint/gnome-print-config.h: No such file or directory
gpa-widget.h:36:44: libgnomeprint/private/gpa-node.h: No such file or directory
--- undefined functions ahead.


>How-To-Repeat:
make at print/gnomeprintui
The build process got wrong paths. Some bug at bsd.pkg.mk?
Anyways, it builds with the patch.
>Fix:
--- libgnomeprintui/gpaui/gpa-widget.h.orig     2004-08-07 14:27:37.000000000 -0400
+++ libgnomeprintui/gpaui/gpa-widget.h  2004-08-07 14:28:47.000000000 -0400
@@ -32,8 +32,8 @@
 G_BEGIN_DECLS
 
 #include <gtk/gtkbin.h>
-#include <libgnomeprint/gnome-print-config.h>
-#include <libgnomeprint/private/gpa-node.h>
+#include <libgnomeprint-2.2/libgnomeprint/gnome-print-config.h>
+#include <libgnomeprint-2.2/libgnomeprint/private/gpa-node.h>
 
 #define GPA_TYPE_WIDGET         (gpa_widget_get_type ())
 #define GPA_WIDGET(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), GPA_TYPE_WIDGET, GPAWidget))

>Release-Note:
>Audit-Trail:
>Unformatted: