Hello all.
Here is "my way".
===
1. Initial state
~$ aptitude search evolution-mapi
p evolution-mapi - Exchange support for the Evolution groupwa
p evolution-mapi-dbg - debugging symbols for the Evolution MAPI p
~$ aptitude search libexchangemapi
p libexchangemapi-1.0-0 - client library for accessing Exchange serv
p libexchangemapi-1.0-dev - client library for accessing Exchange serv
p libexchangemapi1.0-0 - transitional dummy package for exchangemap
p libexchangemapi1.0-dev - transitional dummy package for exchangemap
2. Getting the source
~$ mkdir mapi-fix
~$ cd mapi-fix/
~/mapi-fix$ sudo apt-src install evolution-mapi
~/mapi-fix$ ls -1sh
total 720K
4.0K evolution-mapi-0.32.2
8.0K evolution-mapi_0.32.2-0ubuntu1.debian.tar.gz
4.0K evolution-mapi_0.32.2-0ubuntu1.dsc
704K evolution-mapi_0.32.2.orig.tar.gz
3. Correction using the vim.
4. Making the patch (see the the attached file )
4.1 I've check this patch on the original file and you can apply it something like
~/mapi-fix$ sudo patch evolution-mapi-0.32.2/src/libexchangemapi/exchange-mapi-connection.c exchange-mapi-connection.c.patch
patching file evolution-mapi-0.32.2/src/libexchangemapi/exchange-mapi-connection.c
5. Building
sudo apt-get -b source evolution-mapi
5.1 Here are some deb's
~/mapi-fix$ ls -1sh
total 1.9M
4.0K evolution-mapi-0.32.2
8.0K evolution-mapi_0.32.2-0ubuntu1.debian.tar.gz
4.0K evolution-mapi_0.32.2-0ubuntu1.dsc
4.0K evolution-mapi_0.32.2-0ubuntu1_i386.changes
244K evolution-mapi_0.32.2-0ubuntu1_i386.deb
704K evolution-mapi_0.32.2.orig.tar.gz
768K evolution-mapi-dbg_0.32.2-0ubuntu1_i386.deb
4.0K exchange-mapi-connection.c.patch
16K libexchangemapi1.0-0_0.32.2-0ubuntu1_all.deb
88K libexchangemapi-1.0-0_0.32.2-0ubuntu1_i386.deb
16K libexchangemapi1.0-dev_0.32.2-0ubuntu1_all.deb
12K libexchangemapi-1.0-dev_0.32.2-0ubuntu1_i386.deb
6. Installing
6.1 libexchangemapi must be installed the FIRST
~/mapi-fix$ sudo dpkg -i libexchangemapi-1.0-0_0.32.2-0ubuntu1_i386.deb
Selecting previously deselected package libexchangemapi-1.0-0.
(Reading database ... 178271 files and directories currently installed.)
Unpacking libexchangemapi-1.0-0 (from libexchangemapi-1.0-0_0.32.2-0ubuntu1_i386.deb) ...
Setting up libexchangemapi-1.0-0 (0.32.2-0ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
6.2 evolution-mapi must be the SECOND
~/mapi-fix$ sudo dpkg -i evolution-mapi_0.32.2-0ubuntu1_i386.deb
Selecting previously deselected package evolution-mapi.
(Reading database ... 178279 files and directories currently installed.)
Unpacking evolution-mapi (from evolution-mapi_0.32.2-0ubuntu1_i386.deb) ...
Setting up evolution-mapi (0.32.2-0ubuntu1) ...
7. Check the state
~/mapi-fix$ aptitude search evolution-mapi
i evolution-mapi - Exchange support for the Evolution
p evolution-mapi-dbg - debugging symbols for the Evolution
~/mapi-fix$ aptitude search libexchangemapi
i libexchangemapi-1.0-0 - client library for accessing Exchan
p libexchangemapi-1.0-dev - client library for accessing Exchan
p libexchangemapi1.0-0 - transitional dummy package for exch
p libexchangemapi1.0-dev - transitional dummy package for exch
Hello all. -1.0-0 - client library for accessing Exchange serv -1.0-dev - client library for accessing Exchange serv 1.0-0 - transitional dummy package for exchangemap 1.0-dev - transitional dummy package for exchangemap
Here is "my way".
===
1. Initial state
~$ aptitude search evolution-mapi
p evolution-mapi - Exchange support for the Evolution groupwa
p evolution-mapi-dbg - debugging symbols for the Evolution MAPI p
~$ aptitude search libexchangemapi
p libexchangemapi
p libexchangemapi
p libexchangemapi
p libexchangemapi
2. Getting the source mapi-0. 32.2 mapi_0. 32.2-0ubuntu1. debian. tar.gz mapi_0. 32.2-0ubuntu1. dsc mapi_0. 32.2.orig. tar.gz
~$ mkdir mapi-fix
~$ cd mapi-fix/
~/mapi-fix$ sudo apt-src install evolution-mapi
~/mapi-fix$ ls -1sh
total 720K
4.0K evolution-
8.0K evolution-
4.0K evolution-
704K evolution-
3. Correction using the vim. mapi-0. 32.2/src/ libexchangemapi /exchange- mapi-connection .c exchange- mapi-connection .c.patch mapi-0. 32.2/src/ libexchangemapi /exchange- mapi-connection .c mapi-0. 32.2 mapi_0. 32.2-0ubuntu1. debian. tar.gz mapi_0. 32.2-0ubuntu1. dsc mapi_0. 32.2-0ubuntu1_ i386.changes mapi_0. 32.2-0ubuntu1_ i386.deb mapi_0. 32.2.orig. tar.gz mapi-dbg_ 0.32.2- 0ubuntu1_ i386.deb mapi-connection .c.patch 1.0-0_0. 32.2-0ubuntu1_ all.deb -1.0-0_ 0.32.2- 0ubuntu1_ i386.deb 1.0-dev_ 0.32.2- 0ubuntu1_ all.deb -1.0-dev_ 0.32.2- 0ubuntu1_ i386.deb
4. Making the patch (see the the attached file )
4.1 I've check this patch on the original file and you can apply it something like
~/mapi-fix$ sudo patch evolution-
patching file evolution-
5. Building
sudo apt-get -b source evolution-mapi
5.1 Here are some deb's
~/mapi-fix$ ls -1sh
total 1.9M
4.0K evolution-
8.0K evolution-
4.0K evolution-
4.0K evolution-
244K evolution-
704K evolution-
768K evolution-
4.0K exchange-
16K libexchangemapi
88K libexchangemapi
16K libexchangemapi
12K libexchangemapi
6. Installing -1.0-0_ 0.32.2- 0ubuntu1_ i386.deb -1.0-0. -1.0-0 (from libexchangemapi -1.0-0_ 0.32.2- 0ubuntu1_ i386.deb) ... -1.0-0 (0.32.2-0ubuntu1) ... mapi_0. 32.2-0ubuntu1_ i386.deb mapi_0. 32.2-0ubuntu1_ i386.deb) ...
6.1 libexchangemapi must be installed the FIRST
~/mapi-fix$ sudo dpkg -i libexchangemapi
Selecting previously deselected package libexchangemapi
(Reading database ... 178271 files and directories currently installed.)
Unpacking libexchangemapi
Setting up libexchangemapi
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
6.2 evolution-mapi must be the SECOND
~/mapi-fix$ sudo dpkg -i evolution-
Selecting previously deselected package evolution-mapi.
(Reading database ... 178279 files and directories currently installed.)
Unpacking evolution-mapi (from evolution-
Setting up evolution-mapi (0.32.2-0ubuntu1) ...
7. Check the state -1.0-0 - client library for accessing Exchan -1.0-dev - client library for accessing Exchan 1.0-0 - transitional dummy package for exch 1.0-dev - transitional dummy package for exch
~/mapi-fix$ aptitude search evolution-mapi
i evolution-mapi - Exchange support for the Evolution
p evolution-mapi-dbg - debugging symbols for the Evolution
~/mapi-fix$ aptitude search libexchangemapi
i libexchangemapi
p libexchangemapi
p libexchangemapi
p libexchangemapi
That is all.