After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 721128 - Make Evolution-Data-Server build under Win32
Make Evolution-Data-Server build under Win32
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: general
3.6.x (obsolete)
Other Windows
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks: 722068
 
 
Reported: 2013-12-27 14:58 UTC by tarnyko
Modified: 2014-06-01 19:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
eds364-win32.patch (32.93 KB, patch)
2013-12-27 14:58 UTC, tarnyko
needs-work Details | Review
configureac.patch (2.18 KB, patch)
2013-12-27 14:58 UTC, tarnyko
needs-work Details | Review
eds364-win32.patch (8.56 KB, patch)
2014-01-29 18:41 UTC, tarnyko
reviewed Details | Review
eds364-win32-iface.patch (24.26 KB, patch)
2014-01-29 18:42 UTC, tarnyko
committed Details | Review

Description tarnyko 2013-12-27 14:58:03 UTC
Created attachment 264932 [details] [review]
eds364-win32.patch

Please consider attached patch, which permits Evolution-Data-Server to build and work under Win32.

It basically adds configure checks, makes gnome-keyring optional, reimplements platform-specific functions, and avoids use of win32-reserved type names.
Comment 1 tarnyko 2013-12-27 14:58:55 UTC
Created attachment 264933 [details] [review]
configureac.patch
Comment 2 Matthew Barnes 2014-01-19 19:48:15 UTC
Thanks for the patches, but these are for an obsolete version (3.6).  Patches need to apply cleanly to the latest code in git.
Comment 3 Milan Crha 2014-01-27 13:13:53 UTC
Tarnyko, are you still willing to update the patches, please? (having bug #722068 on mind as well). It's OK to split it in two pieces, like the replacement of win32-reserved type names being done separately from the rest of the patch.
Comment 4 tarnyko 2014-01-29 18:41:38 UTC
Created attachment 267550 [details] [review]
eds364-win32.patch

Right, here's the patch splitted into two parts.

By the way, I double-checked, and there're many references to "gcr_" functions in the code ; so this other patch (https://bugzilla.gnome.org/show_bug.cgi?id=710755) needs to be applied before building.
Comment 5 tarnyko 2014-01-29 18:42:21 UTC
Created attachment 267551 [details] [review]
eds364-win32-iface.patch

Only "interface -> iface" conversions.
Comment 6 Milan Crha 2014-01-29 19:48:39 UTC
Thanks for the update. I see you still have it for 3.6.4, not for git master (thus none of the patches apply cleanly). Would you mind to provide the patches for git master? It'll be the place where it'll be committed, after all. (Some source files were dropped completely, some were moved to evolution (libedataserverui), and some are just too different for 'patch' that they fail).
Comment 7 Milan Crha 2014-02-26 14:50:00 UTC
Review of attachment 267551 [details] [review]:

I just committed this to master, as commit c0f7b47. The other one is still waiting an update to master from 3.6.x.
Comment 8 Milan Crha 2014-06-01 19:20:14 UTC
I made couple win32 related commits into master and stable (3.12), ending with adapted commit for this bug report:

Created commit 9a10ad8 in eds master (3.13.3+) [1]
Created commit 9e08013 is eds evolution-data-server-3-12 (3.12.3+)

[1] https://git.gnome.org/browse/evolution-data-server/commit/?id=9a10ad8