Bug 664279

Summary: API breakage in gtkhtml3-3.91.3-1.fc15
Product: [Fedora] Fedora Reporter: Christian Krause <chkr>
Component: gtkhtml3Assignee: Matthew Barnes <mbarnes>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: mbarnes, mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: gtkhtml3-3.91.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-21 10:16:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Christian Krause 2010-12-19 16:20:17 UTC
Description of problem:
The RAWHIDE version of gtkhtml3 has a changed API with respect to older releases:

--- /tmp/gtkhtml-embedded.h     2010-12-19 17:11:11.000000000 +0100
+++ libgtkhtml-3.14/gtkhtml/gtkhtml-embedded.h  2010-11-08 10:14:45.000000000 +0100
@@ -54,7 +54,7 @@
         GtkBinClass parent_class;
         void (*changed)(GtkHTMLEmbedded *);
-        void (*draw_gdk)(GtkHTMLEmbedded *, GdkPixmap *, GdkGC *,
+        void (*draw_gdk)(GtkHTMLEmbedded *, cairo_t *,
                          gint, gint);
         void (*draw_print)(GtkHTMLEmbedded *, GtkPrintContext *);

However, gtkhtml3-3.91.3-1.fc15 still announces itself using the same pkgconfig file gtkhtml-editor-3.14.pc and it uses also the same SONAME in the library.

That's causing problems with projects compiling against gtkhtml3 and leads to  FTBFS issues ([1]) and is considered by upstream as bug in gtkhtml3 ([2]).

Version-Release number of selected component (if applicable):

How reproducible:

If a library breaks its API it should at least bump the SONAME and probably announce itself using a different API version via pkgconfig.

Additional info:
[1] https://bugzilla.redhat.com/show_bug.cgi?id=660867
[2] https://bugzilla.novell.com/show_bug.cgi?id=660440

Comment 1 Milan Crha 2010-12-21 10:16:58 UTC
This will be fixed with an update to 3.91.4, which will happen some time today. Thus I'm closing this.