Your message dated Sat, 19 Sep 2009 00:47:09 +0000
with message-id <[email protected]>
and subject line Bug#545803: fixed in modest 1.0+svn1091.debian-3
has caused the Debian Bug report #545803,
regarding modest: FTBFS with libtinymail 0.0.9+svn3897-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
545803: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545803
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: modest
Version: 1.0+svn1091.debian-2
Severity: important
Tags: patch
Justification: fails to build from source
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch

In Ubuntu, we've applied the attached patch to achieve the following:

  * Fix FTBFS with libtinymail 0.0.9+svn3897-2 (LP: #426175):
    + 0007-Migrated-to-the-new-tinymail-API.patch: new patch, adapted
      from upstream.

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 
'jaunty-proposed'), (500, 'jaunty-backports'), (500, 'jaunty')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-15-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u modest-1.0+svn1091.debian/debian/patches/series modest-1.0+svn1091.debian/debian/patches/series
--- modest-1.0+svn1091.debian/debian/patches/series
+++ modest-1.0+svn1091.debian/debian/patches/series
@@ -6,0 +7 @@
+0007-Migrated-to-the-new-tinymail-API.patch
only in patch2:
unchanged:
--- modest-1.0+svn1091.debian.orig/debian/patches/0007-Migrated-to-the-new-tinymail-API.patch
+++ modest-1.0+svn1091.debian/debian/patches/0007-Migrated-to-the-new-tinymail-API.patch
@@ -0,0 +1,162 @@
+This patch is adapted from upstream git repository 
+https://git.maemo.org/projects/modest,
+commits 6f7aa1b5e15f3024db75ccfe3138f520c607dc5d 
+and f0fb7bbb8a0f9760741a88daacb3363b3e5b4551.
+
+Index: modest-1.0+svn1091.debian/src/dbus_api/modest-dbus-callbacks.c
+===================================================================
+--- modest-1.0+svn1091.debian.orig/src/dbus_api/modest-dbus-callbacks.c	2009-09-08 12:40:44.000000000 +0400
++++ modest-1.0+svn1091.debian/src/dbus_api/modest-dbus-callbacks.c	2009-09-08 12:58:44.000000000 +0400
+@@ -1569,6 +1569,7 @@
+ 	tny_folder_store_get_folders (folder_store,
+ 				      all_folders,
+ 				      NULL /* query */,
++				      FALSE,
+ 				      NULL /* error */);
+ 
+ 	TnyIterator *iter = tny_list_create_iterator (all_folders);
+Index: modest-1.0+svn1091.debian/src/modest-mail-operation.c
+===================================================================
+--- modest-1.0+svn1091.debian.orig/src/modest-mail-operation.c	2009-09-08 12:40:44.000000000 +0400
++++ modest-1.0+svn1091.debian/src/modest-mail-operation.c	2009-09-08 12:58:44.000000000 +0400
+@@ -1483,7 +1483,7 @@
+ 				/* Add pending call */
+ 				info->pending_calls++;
+ 				
+-				tny_folder_store_get_folders_async (folder, folders, NULL,
++				tny_folder_store_get_folders_async (folder, folders, NULL, FALSE,
+ 								    recurse_folders_async_cb, 
+ 								    NULL, info);
+ 				g_object_unref (folders);
+@@ -1634,7 +1634,7 @@
+ 	/* Get all folders and continue in the callback */ 
+ 	folders = tny_simple_list_new ();
+ 	tny_folder_store_get_folders_async (TNY_FOLDER_STORE (priv->account),
+-					    folders, NULL,
++					    folders, NULL, FALSE,
+ 					    recurse_folders_async_cb, 
+ 					    NULL, info);
+ 	g_object_unref (folders);
+Index: modest-1.0+svn1091.debian/src/modest-search.c
+===================================================================
+--- modest-1.0+svn1091.debian.orig/src/modest-search.c	2009-09-08 12:40:44.000000000 +0400
++++ modest-1.0+svn1091.debian/src/modest-search.c	2009-09-08 12:58:44.000000000 +0400
+@@ -612,7 +612,7 @@
+ 			TnyList *children = tny_simple_list_new ();
+ 			helper->pending_calls++;
+ 			tny_folder_store_get_folders_async (TNY_FOLDER_STORE (folder), children, NULL, 
+-							    modest_search_account_get_folders_cb, 
++							    FALSE, modest_search_account_get_folders_cb, 
+ 							    NULL, helper);
+ 		}
+ 
+@@ -654,7 +654,7 @@
+ 
+ 	/* Get folders */
+ 	tny_folder_store_get_folders_async (TNY_FOLDER_STORE (account), folders, NULL, 
+-					    modest_search_account_get_folders_cb, 
++					    FALSE, modest_search_account_get_folders_cb, 
+ 					    NULL, helper);
+ }
+ 
+Index: modest-1.0+svn1091.debian/src/modest-tny-account-store.c
+===================================================================
+--- modest-1.0+svn1091.debian.orig/src/modest-tny-account-store.c	2009-09-08 12:40:44.000000000 +0400
++++ modest-1.0+svn1091.debian/src/modest-tny-account-store.c	2009-09-08 12:58:44.000000000 +0400
+@@ -1619,7 +1619,7 @@
+ 
+ 	/* Get the outbox folder */
+ 	folders = tny_simple_list_new ();
+-	tny_folder_store_get_folders (TNY_FOLDER_STORE (account_outbox), folders, NULL, NULL);
++	tny_folder_store_get_folders (TNY_FOLDER_STORE (account_outbox), folders, NULL, FALSE, NULL);
+ 	if (tny_list_get_length (folders) != 1) {
+ 		g_warning ("%s: > 1 outbox found (%d)?!", __FUNCTION__,
+ 			   tny_list_get_length (folders));
+@@ -1948,7 +1948,7 @@
+ 		TnyAccount *account = TNY_ACCOUNT (tny_iterator_get_current (acc_iter));
+ 		TnyIterator *folders_iter = NULL;
+ 
+-		tny_folder_store_get_folders (TNY_FOLDER_STORE (account), folders, NULL, NULL);
++		tny_folder_store_get_folders (TNY_FOLDER_STORE (account), folders, NULL, FALSE, NULL);
+ 		folders_iter = tny_list_create_iterator (folders);
+ 
+ 		while (msg == NULL && !tny_iterator_is_done (folders_iter)) {
+Index: modest-1.0+svn1091.debian/src/modest-tny-account.c
+===================================================================
+--- modest-1.0+svn1091.debian.orig/src/modest-tny-account.c	2009-09-08 12:58:44.000000000 +0400
++++ modest-1.0+svn1091.debian/src/modest-tny-account.c	2009-09-08 12:58:44.000000000 +0400
+@@ -115,7 +115,7 @@
+ 	/* There is no need to do this _async, as these are local folders. */
+ 	/* TODO: However, this seems to fail sometimes when the network is busy, 
+ 	 * returning an empty list. murrayc. */	
+-	tny_folder_store_get_folders (TNY_FOLDER_STORE (local_account), folders, NULL, &error);
++	tny_folder_store_get_folders (TNY_FOLDER_STORE (local_account), folders, NULL, FALSE, &error);
+ 	if (error) {
+ 		g_warning ("%s: tny_folder_store_get_folders() failed:%s\n", __FUNCTION__, error->message);
+ 		g_error_free (error);
+@@ -924,7 +924,7 @@
+ 	TnyIterator *iter;
+ 	TnyList *folders = tny_simple_list_new ();
+ 
+-	tny_folder_store_get_folders (store, folders, query, NULL);
++	tny_folder_store_get_folders (store, folders, query, FALSE, NULL);
+ 	iter = tny_list_create_iterator (folders);
+ 
+ 	helper->folders += tny_list_get_length (folders);
+Index: modest-1.0+svn1091.debian/src/modest-tny-folder.c
+===================================================================
+--- modest-1.0+svn1091.debian.orig/src/modest-tny-folder.c	2009-09-08 12:40:44.000000000 +0400
++++ modest-1.0+svn1091.debian/src/modest-tny-folder.c	2009-09-08 12:58:44.000000000 +0400
+@@ -395,7 +395,7 @@
+ 	
+ 	/* Get direct subfolders */
+ 	subfolders = tny_simple_list_new ();
+-	tny_folder_store_get_folders (parent, subfolders, NULL, &err);
++	tny_folder_store_get_folders (parent, subfolders, NULL, FALSE, &err);
+ 
+ 	/* Check names */
+ 	iter = tny_list_create_iterator (subfolders);
+Index: modest-1.0+svn1091.debian/src/modest-tny-local-folders-account.c
+===================================================================
+--- modest-1.0+svn1091.debian.orig/src/modest-tny-local-folders-account.c	2009-09-08 12:40:44.000000000 +0400
++++ modest-1.0+svn1091.debian/src/modest-tny-local-folders-account.c	2009-09-08 12:59:57.000000000 +0400
+@@ -57,7 +57,8 @@
+ 
+ static void         get_folders    (TnyFolderStore *self, 
+ 				    TnyList *list, 
+-				    TnyFolderStoreQuery *query, 
++				    TnyFolderStoreQuery *query,
++				    gboolean refresh, 
+ 				    GError **err);
+ 
+ static TnyFolder*   create_folder  (TnyFolderStore *self, 
+@@ -147,14 +148,18 @@
+ }
+ 
+ static void
+-get_folders (TnyFolderStore *self, TnyList *list, TnyFolderStoreQuery *query, GError **err)
++get_folders (TnyFolderStore *self, 
++	     TnyList *list, 
++	     TnyFolderStoreQuery *query, 
++	     gboolean refresh, 
++	     GError **err)
+ {
+ 	TnyCamelStoreAccountClass *parent_class;
+ 	ModestTnyLocalFoldersAccountPrivate *priv;
+ 
+ 	/* Call the base class implementation: */
+ 	parent_class = g_type_class_peek_parent (MODEST_TNY_LOCAL_FOLDERS_ACCOUNT_GET_CLASS (self));
+-	parent_class->get_folders (self, list, query, err);
++	parent_class->get_folders (self, list, query, refresh, err);
+ 	
+ 	/* Add our extra folder only if it passes the query */
+ 	priv = TNY_LOCAL_FOLDERS_ACCOUNT_GET_PRIVATE (self);
+@@ -175,7 +180,7 @@
+ 
+ 	/* If the folder name is been used by our extra folders */
+ 	if (modest_tny_local_folders_account_folder_name_in_use (MODEST_TNY_LOCAL_FOLDERS_ACCOUNT (self), name)) {
+-		g_set_error (err, TNY_SERVICE_ERROR, 
++		g_set_error (err, TNY_ERROR_DOMAIN, 
+ 			     TNY_SERVICE_ERROR_FOLDER_CREATE,
+ 			     "Folder name already in use");
+ 		return NULL;

--- End Message ---
--- Begin Message ---
Source: modest
Source-Version: 1.0+svn1091.debian-3

We believe that the bug you reported is fixed in the latest version of
modest, which is due to be installed in the Debian FTP archive:

libmodest-dbus-client-1.0-0_1.0+svn1091.debian-3_i386.deb
  to 
pool/main/m/modest/libmodest-dbus-client-1.0-0_1.0+svn1091.debian-3_i386.deb
libmodest-dbus-client-dev_1.0+svn1091.debian-3_i386.deb
  to pool/main/m/modest/libmodest-dbus-client-dev_1.0+svn1091.debian-3_i386.deb
modest-dbg_1.0+svn1091.debian-3_i386.deb
  to pool/main/m/modest/modest-dbg_1.0+svn1091.debian-3_i386.deb
modest_1.0+svn1091.debian-3.diff.gz
  to pool/main/m/modest/modest_1.0+svn1091.debian-3.diff.gz
modest_1.0+svn1091.debian-3.dsc
  to pool/main/m/modest/modest_1.0+svn1091.debian-3.dsc
modest_1.0+svn1091.debian-3_i386.deb
  to pool/main/m/modest/modest_1.0+svn1091.debian-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonny Lamb <[email protected]> (supplier of updated modest package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 19 Sep 2009 01:30:38 +0100
Source: modest
Binary: modest modest-dbg libmodest-dbus-client-1.0-0 libmodest-dbus-client-dev
Architecture: source i386
Version: 1.0+svn1091.debian-3
Distribution: unstable
Urgency: low
Maintainer: Debian Maemo Maintainers 
<[email protected]>
Changed-By: Jonny Lamb <[email protected]>
Description: 
 libmodest-dbus-client-1.0-0 - modest D-Bus client library runtime files
 libmodest-dbus-client-dev - modest D-Bus client library development files
 modest     - small e-mail program targetting hardware with modest resources
 modest-dbg - small e-mail program targetting hardware with modest resources --
Closes: 545803
Changes: 
 modest (1.0+svn1091.debian-3) unstable; urgency=low
 .
   * debian/patches/:
     + 0007-Migrate-to-new-libtinymail-API.patch: Added. Thanks to Ilya
       Barygin <[email protected]> for relaying the patch from
       Ubuntu. (Closes: #545803)
Checksums-Sha1: 
 f5b287cb822faabab688f366694b803fb9cbbfc4 1997 modest_1.0+svn1091.debian-3.dsc
 83190389b60faf531af7235923e805e873cb3a69 14704 
modest_1.0+svn1091.debian-3.diff.gz
 bd99b5c75491d757484a881ee9c809e1164b7c89 347818 
modest_1.0+svn1091.debian-3_i386.deb
 6287dd64984c544f7a5f3dfd269264731f86e519 1020766 
modest-dbg_1.0+svn1091.debian-3_i386.deb
 6afad6d5a50d1d97b4632b2fde8cca3cdc23052d 5914 
libmodest-dbus-client-1.0-0_1.0+svn1091.debian-3_i386.deb
 96e65bc0647c946418f94d49201e574473175f45 7736 
libmodest-dbus-client-dev_1.0+svn1091.debian-3_i386.deb
Checksums-Sha256: 
 18ee1ce7e988dc96171519a24b5de6e5bb047f998f77d84b28f5448e2c53fb42 1997 
modest_1.0+svn1091.debian-3.dsc
 ad14d238051cbd0a15bf010abd7049979423c9d97087ffcac993cefe352d9741 14704 
modest_1.0+svn1091.debian-3.diff.gz
 427d2b6b5f0a9c8c31b17c76b64a04756189917d5e306cb4eb7565d9b926d0a7 347818 
modest_1.0+svn1091.debian-3_i386.deb
 0c3799711883e90a973e466bf4008b2ccfd74698624168ff29b1bac8abd3f2dc 1020766 
modest-dbg_1.0+svn1091.debian-3_i386.deb
 691ebd17c40a17d762febbf714fd660659c46c517ece82cdf843721e84e6344a 5914 
libmodest-dbus-client-1.0-0_1.0+svn1091.debian-3_i386.deb
 4557b078abbe4cf79d53619b8b1c13378443ae062aa4be7ea1ce5cba45f6b6ed 7736 
libmodest-dbus-client-dev_1.0+svn1091.debian-3_i386.deb
Files: 
 2a53f840468efee4d78bbfb58fd76b09 1997 mail optional 
modest_1.0+svn1091.debian-3.dsc
 757f7504689994bb68df69ea7b59f505 14704 mail optional 
modest_1.0+svn1091.debian-3.diff.gz
 37c886247234b9ef2554792e4a0e3e48 347818 mail optional 
modest_1.0+svn1091.debian-3_i386.deb
 e8bc91f43a71b596498d5d1b8ffde5c0 1020766 debug extra 
modest-dbg_1.0+svn1091.debian-3_i386.deb
 e80759e3642eefea0281fdb65642ccdc 5914 libs optional 
libmodest-dbus-client-1.0-0_1.0+svn1091.debian-3_i386.deb
 12c2283a88a625e49e8d3989d77b5408 7736 libdevel optional 
libmodest-dbus-client-dev_1.0+svn1091.debian-3_i386.deb
Original-Maintainer: Dirk-Jan C. Binnema <[email protected]>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkq0KHgACgkQwYr7ny4DlALo5ACdF5JcdwniCzmI0abMX8cTx47V
7r8AoLFVGmLbsgKw50Agmcd3TGAJ5Egk
=cHgQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to