From mcrha at redhat.com Fri Apr 5 10:57:47 2019 From: mcrha at redhat.com (Milan Crha) Date: Fri, 5 Apr 2019 12:57:47 +0200 Subject: [SyncEvolution] Use python3 (was: Re: Detect python binary name in build time) In-Reply-To: <588d574feb2a7b272a0329161037406b9797b5a4.camel@redhat.com> References: <588d574feb2a7b272a0329161037406b9797b5a4.camel@redhat.com> Message-ID: <0ffd37ceaec899a17eb5c7fbcf4b768aeb5fecd7.camel@redhat.com> On Tue, 2018-07-24 at 18:18 +0200, Milan Crha wrote: > On Tue, 2018-07-24 at 17:38 +0200, Patrick Ohly wrote: > > I'm definitely interested. > > I asked, but failed. It seems python folks are covered with more > priority work, at least there where I tried. Thus I'm sorry, I do not > have anyone able to port the files at the moment. Hi again, I've been told that there are some scripts, which can convert python2 code into python3 code, which led me to the 2to3 [1], provided by python itself. The attached is a result of the files being processes through it, including slightly modified patch proposed earlier (it looks for python3 now, instead of python2). The resulting patch has more than 96KB, thus I packed it. Patrick, I believe you've a better test environment, which would verify the functionality of those helper scripts heavily, definitely better than me, thus I'd like to ask you to give it a try. Maybe if it'll work, and the scripts would provide the same (or close to the same) results, then you can do a python3-only release with whatever changes you might have piled since the 1.5.3 release. Thanks and bye, Milan [1] https://docs.python.org/2/library/2to3.html -------------- next part -------------- A non-text attachment was scrubbed... Name: use-python3.zip Type: application/zip Size: 15808 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ SyncEvolution mailing list SyncEvolution at syncevolution.org https://lists.syncevolution.org/mailman/listinfo/syncevolution From mcrha at redhat.com Wed Apr 24 15:49:31 2019 From: mcrha at redhat.com (Milan Crha) Date: Wed, 24 Apr 2019 17:49:31 +0200 Subject: [SyncEvolution] Port to libecal-2.0 and libebook API changes Message-ID: <918113471738d7160151838ae6dba2a19cd0a6da.camel@redhat.com> Hello, I thought I'll file a bug with a proposed patch at bugs.freedesktop.org, where the https://syncevolution.org/support#issues pointed me to, but it ends with "Sorry, entering a bug into the product SyncEvolution has been disabled.", thus I'm sending it here instead. There are going to be made huge libecal API changes, as huge as it deserved a version bump from 1.2 to 2.0, and together with it a small libebook API changes, most likely being part of the evolution-data- server 3.33.2 release, which is planned for May 20. More about this can be found here: https://mail.gnome.org/archives/desktop-devel-list/2019-April/msg00016.html The attached is a patch which makes syncevolution build against 3.33.1 and the libical-glib branch without any new compiler warnings. I'm not able to test the change though, and the `make check` doesn't run any test here, thus the changes would need some real testing. I'm sorry about that. On the other hand, this patch gives at least an overview of the upcoming changes and what to do in the syncevolution code. One note, the check for HAVE_E_BOOK_OPERATION_FLAGS is quite lame, it only decides based on the expected version (the libical-glib branch still references 3.33.1). Maybe you'd like to extend the test in some better way. I hope you'll find this useful. Bye, Milan -------------- next part -------------- A non-text attachment was scrubbed... Name: syncevolution.patch Type: text/x-patch Size: 34684 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ SyncEvolution mailing list SyncEvolution at syncevolution.org https://lists.syncevolution.org/mailman/listinfo/syncevolution