Hi everyone,
I used the patch provided by the evolution team 
(http://git.gnome.org/browse/evolution/commit/id=df3495a6ec99d53beeaac6b9a2fde8dfd356c439)
 to fix the problem and backported it to the evolution version of ubuntu 12.04 
"evolution_3.2.3-0ubuntu6". It turns out that only the package 
"libevolution_3.2.3-0ubuntu6" needs to be updated.

Here is how i proceded.

1. Uninstall libevolution and all related packages
   sudo apt-get remove libevolution

1.1 For me other packages were removed : evolution evolution-plugins
libevolution

2. Get the evolution package source
   mkdir patch_evolution; cd patch_evolution
   sudo apt-get source evolution

3. Apply patch (be sure to download it first)
    patch -p0 < patch_libevolution

4. Build evolution's debian packages (some other packages may need to be 
installed first)
    sudo apt-get -b source evolution

4.1 Here is what I obtained 
ls -1sh
total 40M
4,0K evolution-3.2.3
4,0K evolution_3.2.3-0ubuntu6_amd64.changes
704K evolution_3.2.3-0ubuntu6_amd64.deb
 96K evolution_3.2.3-0ubuntu6.debian.tar.gz
4,0K evolution_3.2.3-0ubuntu6.dsc
 12M evolution_3.2.3.orig.tar.xz
 15M evolution-common_3.2.3-0ubuntu6_all.deb
7,9M evolution-dbg_3.2.3-0ubuntu6_amd64.deb
864K evolution-dev_3.2.3-0ubuntu6_amd64.deb
748K evolution-plugins_3.2.3-0ubuntu6_amd64.deb
556K evolution-plugins-experimental_3.2.3-0ubuntu6_amd64.deb
2,8M libevolution_3.2.3-0ubuntu6_amd64.deb
4,0K patch_libevolution

5. install the new libevolution package (be sure to use the file you builded)
    sudo dpkg -i libevolution_3.2.3-0ubuntu6_amd64.deb

6. re-install previously removed packages 
    sudo apt-get install evolution evolution-plugins

I tested this on some of my emails ...
708M test_1.mbox
 21M test_3_libev.mbox
... with success

Hope this helps,
Antoine

PS : This should definitely be included in an updated version of the
package in the repository.

** Attachment added: "Patch for the file 
evolution-3.2.3/mail/e-mail-folder-utils.c"
   
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/996646/+attachment/3392109/+files/patch_libevolution

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evolution in Ubuntu.
https://bugs.launchpad.net/bugs/996646

Title:
  Evolution mbox export broken

Status in “evolution” package in Ubuntu:
  Confirmed

Bug description:
  Following Ubuntu suggestions and getting rid of Evolution which is
  painfully slow on my computer, I am trying to migrate to Thunderbird,
  using the "mbox export" feature available in Evolution.

  Unfortunately, the feature seems to be broken in Evolution 3.2, as
  reported here: https://bugzilla.gnome.org/show_bug.cgi?id=667576.
  Short version is: each mail in the exported mailbox encapsulates the
  whole mail bundle plus their attachments, which make a few hundred
  mails take 1 GiB.

  The bug is marked fixed as of Evolution 3.3.5, which has not been
  bundled in last Ubuntu update. Evolution team send pack to
  distribution provider to include the corresponding patch
  
(http://git.gnome.org/browse/evolution/commit/?id=df3495a6ec99d53beeaac6b9a2fde8dfd356c439)
  in prior versions of Evolution.

  I tried a number of workarounds, including installing a beta
  distribution in a VM with a current version of Evolution to use its
  export feature but, in addition to being a painfully long process, it
  simply does not work as Evolution 3.3.9 does not seem to correctly
  handle my 1.4 GiB archive file and miss half the mails bundled. For
  the few ones which made it through the archive/restore/export/import
  process, the result is perfectly OK though.

  Manually exporting thousands of mails (yes, 10+ years ;)) does not
  seem reasonnable to me either.

  Is there a plan to include this patch to help me and other people migrating 
to LTS 12.04 to use this feature?
  Thanks by advance!

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: evolution 3.2.3-0ubuntu6
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: i386
  Date: Tue May  8 18:50:32 2012
  ProcEnviron:
   LANGUAGE=fr_FR:fr:en_GB:en
   TERM=xterm
   PATH=(custom, user)
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: evolution
  UpgradeStatus: Upgraded to precise on 2012-04-27 (11 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/996646/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to