The Precise release is coming close to EOL, so I'm sure some people (like me) are panicking and trying to migrate their email to new systems before April. Therefore, I'd like to report how I worked around this issue in case anyone finds it useful. It's based on a modified version of the directions in comment #3.
However, if you happen to need a 32-bit version of the fixed libevolution package, then just install the one I've attached. If you need a 64-bit version, then AntoineM has built one in comment #4 (although I haven't tested it.) The rest of this is just in case you need to build your own fixed package.
First of all, here's a direct link to the upstream patch to fix the issue: [1] the link in AntoineM's post doesn't work anymore; I think due to a hash collision in Evolution's git history, it goes to the wrong commit. But this link seems to work for me, for anyone who needs the patch. However, if it still doesn't work for you, look through their commit logs for commits during Febuary 2, 2012. The one you want is called "Bug 667576 - Junk between messages after saving an mbox file."
Second of all, between when Evolution 3.2.3 was released and when the bugfix was written, the Evolution team appear to have moved their files around. In the older version, the e-mail-folder-utils.c file is in the "mail" directory instead of in "libemail-engine." So to patch it I did
cd evolution-3.2.3/mail
patch -p2 <patch_file.diff
Third of all, in order to make the source package build, I had to add the following lines to evolution-3.2.3/configure.ac:
AM_PROG_AR
AM_INIT_AUTOMAKE([-Wno-portability])
But without the indentation of course. I added them right before line 137.
Fourth of all, I had better luck building the package with the following commands (instead of apt-get -b):
cd evolution-3.2.3
dpkg-buildpackage -b
Finally, it's not necessary to uninstall anything. All you have to do is call dpkg -i on your new libevolution package (which should be in the parent directory to evolution-3.2.3.) It should replace the existing libevolution package. No other evolution-related packages need to be uninstalled or reinstalled.
The Precise release is coming close to EOL, so I'm sure some people (like me) are panicking and trying to migrate their email to new systems before April. Therefore, I'd like to report how I worked around this issue in case anyone finds it useful. It's based on a modified version of the directions in comment #3.
However, if you happen to need a 32-bit version of the fixed libevolution package, then just install the one I've attached. If you need a 64-bit version, then AntoineM has built one in comment #4 (although I haven't tested it.) The rest of this is just in case you need to build your own fixed package.
First of all, here's a direct link to the upstream patch to fix the issue: [1] the link in AntoineM's post doesn't work anymore; I think due to a hash collision in Evolution's git history, it goes to the wrong commit. But this link seems to work for me, for anyone who needs the patch. However, if it still doesn't work for you, look through their commit logs for commits during Febuary 2, 2012. The one you want is called "Bug 667576 - Junk between messages after saving an mbox file."
Second of all, between when Evolution 3.2.3 was released and when the bugfix was written, the Evolution team appear to have moved their files around. In the older version, the e-mail- folder- utils.c file is in the "mail" directory instead of in "libemail-engine." So to patch it I did 3.2.3/mail
cd evolution-
patch -p2 <patch_file.diff
Third of all, in order to make the source package build, I had to add the following lines to evolution- 3.2.3/configure .ac: INIT_AUTOMAKE( [-Wno-portabili ty])
AM_PROG_AR
AM_
But without the indentation of course. I added them right before line 137.
Fourth of all, I had better luck building the package with the following commands (instead of apt-get -b): buildpackage -b
cd evolution-3.2.3
dpkg-
Finally, it's not necessary to uninstall anything. All you have to do is call dpkg -i on your new libevolution package (which should be in the parent directory to evolution-3.2.3.) It should replace the existing libevolution package. No other evolution-related packages need to be uninstalled or reinstalled.
I hope that helps someone!
[1] https:/ /git.gnome. org/browse/ evolution/ patch/? id=df3495a6ec99 d53beeaac6b9a2f de8dfd356c439