root@n8-laptop:/usr/src# rm evolution-3.2.1 -rf
root@n8-laptop:/usr/src# apt-get source evolution
Reading package lists... Done
Building dependency tree       
Reading state information... Done
NOTICE: 'evolution' packaging is maintained in the 'Bzr' version control system at:
https://code.launchpad.net/~ubuntu-desktop/evolution/ubuntu
Please use:
bzr branch https://code.launchpad.net/~ubuntu-desktop/evolution/ubuntu
to retrieve the latest (possibly unreleased) updates to the package.
Skipping already downloaded file 'evolution_3.2.1-0ubuntu1.dsc'
Skipping already downloaded file 'evolution_3.2.1.orig.tar.bz2'
Skipping already downloaded file 'evolution_3.2.1-0ubuntu1.debian.tar.gz'
Need to get 0 B of source archives.
gpgv: Signature made Tue 18 Oct 2011 10:13:07 AM EDT using RSA key ID EE018C93
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./evolution_3.2.1-0ubuntu1.dsc
dpkg-source: info: extracting evolution in evolution-3.2.1
dpkg-source: info: unpacking evolution_3.2.1.orig.tar.bz2
dpkg-source: info: unpacking evolution_3.2.1-0ubuntu1.debian.tar.gz
dpkg-source: info: applying 01_ubuntu_signature.patch
dpkg-source: info: applying 02_fix_missing_include_for_composer.patch
dpkg-source: info: applying 03_lpi.patch
dpkg-source: info: applying 04_delay_alarm_notifier.patch
dpkg-source: info: applying 09_add_ubuntuone_email.patch
dpkg-source: info: applying 10_desktop_shortcuts.patch
dpkg-source: info: applying 11_remove_upstream_submit_bugreport.patch
dpkg-source: info: applying 61_translate_menu_entry.patch
dpkg-source: info: applying 62_no_upstream_email_notification_by_default.patch
dpkg-source: info: applying 89_remove_component_id_registration.patch
dpkg-source: info: applying 89_remove_quit_button.patch
dpkg-source: info: applying 91_add_u1_email_translations.patch
dpkg-source: info: applying 93_no_tray_icon_by_default.patch
dpkg-source: info: applying 99-remove-gettext-macros.patch
dpkg-source: info: applying onlyshowin-add-unity.patch
dpkg-source: info: applying spamd_sbin_path.patch
root@n8-laptop:/usr/src# cd evolution-3.2.1/
root@n8-laptop:/usr/src/evolution-3.2.1# mv /home/imac/Downloads/evo.patch.duplicate3 /usr/src/
root@n8-laptop:/usr/src/evolution-3.2.1# mv ./addressbook/gui/merging/eab-contact-
eab-contact-commit-duplicate-detected.ui
eab-contact-compare.c
eab-contact-compare.h
eab-contact-duplicate-detected.ui
eab-contact-merging.c
eab-contact-merging.h
root@n8-laptop:/usr/src/evolution-3.2.1# mv ./addressbook/gui/merging/eab-contact-* ./addressbook/gui/widgets/
root@n8-laptop:/usr/src/evolution-3.2.1# rm addressbook/gui/merging/ -rf
root@n8-laptop:/usr/src/evolution-3.2.1# cat ../evo.patch.duplicate3 | patch -p1patching file addressbook/gui/Makefile.am
patching file addressbook/gui/contact-editor/Makefile.am
Hunk #2 succeeded at 31 with fuzz 1.
patching file addressbook/gui/contact-list-editor/Makefile.am
patching file addressbook/gui/widgets/Makefile.am
Hunk #3 succeeded at 31 (offset -1 lines).
Hunk #4 FAILED at 76.
Hunk #5 succeeded at 83 (offset -3 lines).
1 out of 5 hunks FAILED -- saving rejects to file addressbook/gui/widgets/Makefile.am.rej
patching file configure.ac
Hunk #1 succeeded at 1662 (offset 77 lines).
patching file modules/addressbook/Makefile.am
Hunk #1 succeeded at 61 (offset -1 lines).
patching file plugins/vcard-inline/Makefile.am
Hunk #1 FAILED at 27.
1 out of 1 hunk FAILED -- saving rejects to file plugins/vcard-inline/Makefile.am.rej
patching file plugins/vcard-inline/vcard-inline.c
root@n8-laptop:/usr/src/evolution-3.2.1# cat ./addressbook/gui/widgets/Makefile.am.rej
--- addressbook/gui/widgets/Makefile.am
+++ addressbook/gui/widgets/Makefile.am
@@ -76,6 +80,8 @@
 	$(top_builddir)/widgets/menus/libmenus.la		\
 	$(top_builddir)/a11y/libevolution-a11y.la		\
 	$(top_builddir)/e-util/libeutil.la			\
+	$(top_builddir)/addressbook/printing/libecontactprint.la \
+	$(top_builddir)/addressbook/util/libeabutil.la		\
 	$(EVOLUTION_DATA_SERVER_LIBS)				\
 	$(GNOME_PLATFORM_LIBS)					\
 	$(CHAMPLAIN_LIBS)					\
root@n8-laptop:/usr/src/evolution-3.2.1# vi ./addressbook/gui/widgets/Makefile.am
root@n8-laptop:/usr/src/evolution-3.2.1# rm ./addressbook/gui/widgets/Makefile.am.rej 
root@n8-laptop:/usr/src/evolution-3.2.1# cat ./plugins/vcard-inline/Makefile.am.rej 
--- plugins/vcard-inline/Makefile.am
+++ plugins/vcard-inline/Makefile.am
@@ -27,7 +27,6 @@
 	$(top_builddir)/mail/libevolution-mail.la			\
 	$(top_builddir)/addressbook/util/libeabutil.la			\
 	$(top_builddir)/addressbook/gui/widgets/libeabwidgets.la	\
-	$(top_builddir)/addressbook/gui/merging/libeabbookmerging.la	\
 	$(top_builddir)/addressbook/printing/libecontactprint.la	\
 	$(EVOLUTION_DATA_SERVER_LIBS)					\
 	$(GNOME_PLATFORM_LIBS)						\
root@n8-laptop:/usr/src/evolution-3.2.1# vi ./plugins/vcard-inline/Makefile.am
root@n8-laptop:/usr/src/evolution-3.2.1# rm ./plugins/vcard-inline/Makefile.am.rej 
root@n8-laptop:/usr/src/evolution-3.2.1# au
audiofile-config    automake            autoreconf
auth-client-config  automake-1.11       autoscan
autoconf            automake-1.9        autoupdate
autoheader          automount           
autom4te            autopoint           
root@n8-laptop:/usr/src/evolution-3.2.1# ls
a11y               COPYING-DOCS               filter                marshal.mk
ABOUT-NLS          COPYING.LGPL2              glib-gen.mak          missing
aclocal.m4         COPYING.LGPL3              gnome-doc-utils.make  modules
addressbook        COPYING.OPENLDAP           gtk-doc.make          NEWS
art                data                       HACKING               NEWS-1.0
AUTHORS            debian                     help                  plugin.mk
calendar           depcomp                    iconv-detect.c        plugins
capplet            doc                        install-sh            po
ChangeLog          em-format                  intltool-extract.in   README
compile            e-util                     intltool-merge.in     shell
composer           evolution-calendar-3.0.pc  intltool-update.in    smclient
config.guess       evolution-calendar.pc.in   libgnomecanvas        smime
config.h.in        evolution-mail-3.0.pc      ltmain.sh             sounds
config.rpath       evolution-mail.pc.in       m4                    ui
config.sub         evolution-plugin-3.0.pc    mail                  views
configure          evolution-plugin.pc.in     maint                 widgets
configure.ac       evolution-shell-3.0.pc     MAINTAINERS
configure.ac.orig  evolution-shell.pc.in      Makefile.am
COPYING            evolution-zip.in           Makefile.in
root@n8-laptop:/usr/src/evolution-3.2.1# dpkg-buildpackage -uc -b -nc
