Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105212 - libgnomeprintui-2.10.2 should depend on >=x11-libs/gtk+-2.6
Summary: libgnomeprintui-2.10.2 should depend on >=x11-libs/gtk+-2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-07 21:26 UTC by Hugues Fournier
Modified: 2005-09-18 01:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch correcting the dependency (libgnomeprintui.patch,490 bytes, patch)
2005-09-07 21:29 UTC, Hugues Fournier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.