mail-client/mailnotification-2.0 does not compile with the ebuild for 1.0 renamed to 2.0. 1 file src/nm-mailboxes.c need to include errno.h Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 65665 [details] mail-notification-2.0.ebuild
Created attachment 65667 [details, diff] errno-mail-notification-2.0.patch There was some problems creating a gmail-mailbox (mail-notification died), but after editing .gnome/mailnotification/mailboxes.xml in an editor it seems to work.
I modified the ebuild to also include evolution support which is a new feature of mail-notification 2.0. I checked it and it works for the most part. Also includes both patches released for mail-notification 2.0 as posted on their website. Regards,
Created attachment 65991 [details] mail-notification-2.0.ebuild modified to include evolution support (new feature in 2.0). Also added additional gmail patch from upstream.
Great news, I completely missed the patches on the website. Gmail configuration works now :). Some notes. libsoup and libicu is no longer needed. dependencies should be >=gtk+-2.6 and >=gnome-*-2.6 All configure options seems to be enabled by default, which I think is reasonable so perhaps the use-enable of evolution can be skipped. How to get the version of evolution?, configure really should do that.
We still need to use flags in case anyone needs to compile without a certain feature. As far as evolution goes, we'll need to right something in the ebuild to figure out what version of evolution is installed, because the configure scripts don't when looking for the evolution source directory. I'll research this a later today, but if anyone knows how to do it, feel free to update here.
Created attachment 66531 [details] mail-notification-2.0.ebuild Updated dependencies, added sylpheed support (untested). Use the patches from http://www.nongnu.org/mailnotify/
I have compiled the latest ebuild posted here, but I'm getting this error with gmail: dadodrake@gmail.com: unable to retrieve feed: Timeout reached
Created attachment 72578 [details] mail-notification-2.0.ebuild With this ebuild it does find evolution and tries to build the plugin. But I'm getting this error with this ebuild: test -z "/usr/lib64/evolution/2.4/plugins" || mkdir -p -- "/usr/lib64/evolution/2.4/plugins" /bin/install -c -m 644 'org-gnome-mail-notification.eplug' '/usr/lib64/evolution/2.4/plugins/org-gnome-mail-notification.eplug' ACCESS DENIED open_wr: /usr/lib64/evolution/2.4/plugins/org-gnome-mail-notification.eplug
I'll get this in the tree as soon as I can, but some pointers on the ebuild: - I'd rather have gmime as an unconditional dependency because practically every type of retrieval requires it, and that if/then clause isn't cache-safe. - The evolution sandbox error (Comment #9) should be fixed by using the gnome2_src_install line from Attachment #65991 [details]. If I forget to put this in the tree this weekend, feel free to send me a shouty email ;)
In CVS, thanks all.