Bug 114260

Summary: evolution-sharp uses a 1.2 API, which breaks when built against e-d-s 1.3.x
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Joe Shaw <joeshaw>
Component: GNOMEAssignee: Gary Ekker <gekker>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: aj
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Joe Shaw 2005-08-30 21:50:55 UTC
ABI was broken in evolution-data-server 1.3.5 by adding an enum value to the
middle of the enum, causing an off-by-one error for all contact data when extracted.

The bug is documented in more detail here:
http://bugzilla.gnome.org/show_bug.cgi?id=312142

I've fixed this in evolution-sharp CVS, to check for specific versions and
select the right API description to generate the binding from.  It also updates
the .so versions that are also different.

I'm going to release an evo-sharp 0.10 tarball.  We need to ship this for the
next beta.  It'll be on ftp.gnome.org as soon as it syncs.
Comment 1 Gary Ekker 2005-09-02 20:23:59 UTC
Not sure this will go in Joe. I've already fixed the API problem in a patch in
the current version, and the tarball isn't building in autobuild. I may not get
time to figure out the issue.
Comment 2 Joe Shaw 2005-09-07 15:20:57 UTC
Ok, that's fine.  Just to make sure, the ABI breakage (the adding of a value in
an enum) is fixed by your patch?  Or just the library names and so numbers?
Comment 3 Gary Ekker 2005-09-07 15:29:45 UTC
just the library names and so numbers.

I'll have to look to see if I can get the thing to build.
Comment 4 Joe Shaw 2005-09-07 15:35:46 UTC
If it's easier to patch in, the only thing that must be fixed is adding this line:

      <member cname="E_CONTACT_BOOK_URI" name="BookUri" />

after the

      <member cname="E_CONTACT_FILE_AS" name="FileAs" />

line in evolution/evolution-api.xml.
Comment 5 Joe Shaw 2005-09-07 15:41:11 UTC
Whoops.  I meant evolution/evolution-api.raw.
Comment 6 Gary Ekker 2005-09-07 16:43:47 UTC
I think I see the problem, there is no evolution-api.raw. When you made the
tarball, it only includes evolution-api-1.2.raw. I guess you need to fix it to
dist both .raw files and then re-dist a tarball for me.
Comment 7 Joe Shaw 2005-09-08 19:38:38 UTC
right you are.  0.10.1 tarball fixes this. 
http://primates.ximian.com/~joe/evolution-sharp-0.10.1.tar.gz and sync'ing to
ftp.gnome.org now.
Comment 8 Gary Ekker 2005-09-08 20:25:43 UTC
Fix submitted for RC2