Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 105212

Summary: libgnomeprintui-2.10.2 should depend on >=x11-libs/gtk+-2.6
Product: Gentoo Linux Reporter: Hugues Fournier <hugues.fournier>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-p-2708520.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch correcting the dependency

Description Hugues Fournier 2005-09-07 21:26:03 UTC
libgnomeprintui-2.10.2 is using the structure GdkEventOwnerChange that has been
introduced in GTK+-2.6.
However the ebuild currently depends on >=x11-libs/gtk+-2.4, so with the  2.4.x
branch, compilation is failing with the following error:

gnome-print-job-preview.c:2493: warning: type defaults to `int' in declaration
of `GdkEventOwnerChange'
gnome-print-job-preview.c:2493: error: syntax error before '*' token
gnome-print-job-preview.c: In function `cb_clipboard_owner_changed':
gnome-print-job-preview.c:2496: error: `jp' undeclared (first use in this function)
gnome-print-job-preview.c:2496: error: (Each undeclared identifier is reported
only once
gnome-print-job-preview.c:2496: error: for each function it appears in.)
gnome-print-job-preview.c:2497: error: `clipboard' undeclared (first use in this
function)


Reproducible: Always
Steps to Reproduce:
Comment 1 Hugues Fournier 2005-09-07 21:29:12 UTC
Created attachment 67892 [details, diff]
Patch correcting the dependency
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2005-09-18 01:54:19 UTC
Correct, as shown here http://www.gtk.org/api/2.6/gdk/ix05.html.

Fixed in CVS, thanks for the report.