diff options
author | Peter Volkov <pva@gentoo.org> | 2007-08-31 08:55:19 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2007-08-31 08:55:19 +0000 |
commit | 8dbc162d572917d76c3214c603acc8a19569f07b (patch) | |
tree | da3db73a0673fa5094fbdc72ff2ed8aeee4c65b2 /gnome-extra/evolution-data-server/files | |
parent | Use gtk+-2 library (#189350). Add support for /etc/ppp/ip-{up,down}.d directo... (diff) | |
download | historical-8dbc162d572917d76c3214c603acc8a19569f07b.tar.gz historical-8dbc162d572917d76c3214c603acc8a19569f07b.tar.bz2 historical-8dbc162d572917d76c3214c603acc8a19569f07b.zip |
Fixed bug #133504 (maildir account file-chooser descended into directories), reported by Lindsay Haisley <fmouse-gentoo AT fmp.com>, and bug #175516 (contacts displays \n) reported by roger <roger AT eskimo.com>.
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'gnome-extra/evolution-data-server/files')
3 files changed, 145 insertions, 0 deletions
diff --git a/gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.10.2-r1 b/gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.10.2-r1 new file mode 100644 index 000000000000..aad1499927d0 --- /dev/null +++ b/gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.10.2-r1 @@ -0,0 +1,3 @@ +MD5 790dfc97a917dff8384dcb7cad42f87f evolution-data-server-1.10.2.tar.bz2 7122238 +RMD160 1fc5915338427a306e46a1c37bfc913fa05936a3 evolution-data-server-1.10.2.tar.bz2 7122238 +SHA256 dc9772f92818c1846127df32524caaa4c266460af5bbd0e2254d0dba4fa36432 evolution-data-server-1.10.2.tar.bz2 7122238 diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-1.10-fix-maildir-account.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-1.10-fix-maildir-account.patch new file mode 100644 index 000000000000..6fe9ef9cdc01 --- /dev/null +++ b/gnome-extra/evolution-data-server/files/evolution-data-server-1.10-fix-maildir-account.patch @@ -0,0 +1,116 @@ + http://bugs.gentoo.org/show_bug.cgi?id=133504 + + 2007-08-13 Milan Crha <mcrha@redhat.com> + + ** Fix for bug http://bugzilla.gnome.org/show_bug.cgi?id=352346 + + * camel-provider.h: Added new constants CAMEL_URL_PART_PATH_DIR and + CAMEL_URL_NEED_PATH_DIR; when CAMEL_URL_NEED_PATH_DIR is set, then + in editor dialog is choosing file, without it directory. + +diff -Naur evolution-data-server-1.10.2.orig/camel/camel-provider.h evolution-data-server-1.10.2/camel/camel-provider.h +--- evolution-data-server-1.10.2.orig/camel/camel-provider.h 2007-04-09 16:42:48.000000000 +0400 ++++ evolution-data-server-1.10.2/camel/camel-provider.h 2007-08-13 13:00:24.000000000 +0400 +@@ -85,6 +85,7 @@ + #define CAMEL_URL_PART_HOST (1 << 3) + #define CAMEL_URL_PART_PORT (1 << 4) + #define CAMEL_URL_PART_PATH (1 << 5) ++#define CAMEL_URL_PART_PATH_DIR (1 << 6) + + #define CAMEL_URL_PART_NEED 8 + #define CAMEL_URL_PART_HIDDEN (CAMEL_URL_PART_NEED + 8) +@@ -108,6 +109,7 @@ + #define CAMEL_URL_NEED_HOST (CAMEL_URL_PART_HOST << CAMEL_URL_PART_NEED) + #define CAMEL_URL_NEED_PORT (CAMEL_URL_PART_PORT << CAMEL_URL_PART_NEED) + #define CAMEL_URL_NEED_PATH (CAMEL_URL_PART_PATH << CAMEL_URL_PART_NEED) ++#define CAMEL_URL_NEED_PATH_DIR (CAMEL_URL_PART_PATH_DIR << CAMEL_URL_PART_NEED) + + #define CAMEL_URL_HIDDEN_USER (CAMEL_URL_PART_USER << CAMEL_URL_PART_HIDDEN) + #define CAMEL_URL_HIDDEN_AUTH (CAMEL_URL_PART_AUTH << CAMEL_URL_PART_HIDDEN) +diff -Naur evolution-data-server-1.10.2.orig/camel/providers/local/camel-local-provider.c evolution-data-server-1.10.2/camel/providers/local/camel-local-provider.c +--- evolution-data-server-1.10.2.orig/camel/providers/local/camel-local-provider.c 2007-04-09 16:42:41.000000000 +0400 ++++ evolution-data-server-1.10.2/camel/providers/local/camel-local-provider.c 2007-08-13 13:01:06.000000000 +0400 +@@ -55,7 +55,7 @@ + N_("For storing local mail in MH-like mail directories."), + "mail", + CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE | CAMEL_PROVIDER_IS_LOCAL, +- CAMEL_URL_NEED_PATH | CAMEL_URL_PATH_IS_ABSOLUTE | CAMEL_URL_FRAGMENT_IS_PATH, ++ CAMEL_URL_NEED_PATH | CAMEL_URL_NEED_PATH_DIR | CAMEL_URL_PATH_IS_ABSOLUTE | CAMEL_URL_FRAGMENT_IS_PATH, + mh_conf_entries, + /* ... */ + }; +@@ -73,7 +73,7 @@ + N_("For retrieving (moving) local mail from standard mbox-formatted spools into folders managed by Evolution."), + "mail", + CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE | CAMEL_PROVIDER_IS_LOCAL, +- CAMEL_URL_NEED_PATH | CAMEL_URL_PATH_IS_ABSOLUTE | CAMEL_URL_FRAGMENT_IS_PATH, ++ CAMEL_URL_NEED_PATH | CAMEL_URL_NEED_PATH_DIR |CAMEL_URL_PATH_IS_ABSOLUTE | CAMEL_URL_FRAGMENT_IS_PATH, + mbox_conf_entries, + /* ... */ + }; +@@ -95,7 +95,7 @@ + N_("For storing local mail in maildir directories."), + "mail", + CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE | CAMEL_PROVIDER_IS_LOCAL, +- CAMEL_URL_NEED_PATH | CAMEL_URL_PATH_IS_ABSOLUTE | CAMEL_URL_FRAGMENT_IS_PATH, ++ CAMEL_URL_NEED_PATH | CAMEL_URL_NEED_PATH_DIR | CAMEL_URL_PATH_IS_ABSOLUTE | CAMEL_URL_FRAGMENT_IS_PATH, + maildir_conf_entries, + /* ... */ + }; +@@ -109,9 +109,9 @@ + { CAMEL_PROVIDER_CONF_END } + }; + +-static CamelProvider spool_provider = { ++static CamelProvider spool_file_provider = { + "spool", +- N_("Standard Unix mbox spool or directory"), ++ N_("Standard Unix mbox spool file"), + N_("For reading and storing local mail in external standard mbox spool files.\nMay also be used to read a tree of Elm, Pine, or Mutt style folders."), + "mail", + CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE, +@@ -120,6 +120,17 @@ + /* ... */ + }; + ++static CamelProvider spool_directory_provider = { ++ "spooldir", ++ N_("Standard Unix mbox spool directory"), ++ N_("For reading and storing local mail in external standard mbox spool files.\nMay also be used to read a tree of Elm, Pine, or Mutt style folders."), ++ "mail", ++ CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE, ++ CAMEL_URL_NEED_PATH | CAMEL_URL_NEED_PATH_DIR | CAMEL_URL_PATH_IS_ABSOLUTE | CAMEL_URL_FRAGMENT_IS_PATH, ++ spool_conf_entries, ++ /* ... */ ++}; ++ + #endif + + /* build a canonical 'path' */ +@@ -233,13 +244,19 @@ + camel_provider_register(&mbox_provider); + + #ifndef G_OS_WIN32 +- spool_conf_entries[0].value = path; /* default path - same as mbox */ +- spool_provider.object_types[CAMEL_PROVIDER_STORE] = camel_spool_store_get_type (); +- spool_provider.url_hash = local_url_hash; +- spool_provider.url_equal = local_url_equal; +- spool_provider.translation_domain = GETTEXT_PACKAGE; +- camel_provider_register(&spool_provider); +- ++ spool_conf_entries[0].value = path; /* default path - same as mbox; it's for both file and directory */ ++ spool_file_provider.object_types[CAMEL_PROVIDER_STORE] = camel_spool_store_get_type (); ++ spool_file_provider.url_hash = local_url_hash; ++ spool_file_provider.url_equal = local_url_equal; ++ spool_file_provider.translation_domain = GETTEXT_PACKAGE; ++ camel_provider_register(&spool_file_provider); ++ ++ spool_directory_provider.object_types[CAMEL_PROVIDER_STORE] = camel_spool_store_get_type (); ++ spool_directory_provider.url_hash = local_url_hash; ++ spool_directory_provider.url_equal = local_url_equal; ++ spool_directory_provider.translation_domain = GETTEXT_PACKAGE; ++ camel_provider_register(&spool_directory_provider); ++ + path = getenv("MAILDIR"); + maildir_conf_entries[0].value = path ? path : ""; /* default path */ + maildir_provider.object_types[CAMEL_PROVIDER_STORE] = camel_maildir_store_get_type (); diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-1.10-newline-in-contacts.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-1.10-newline-in-contacts.patch new file mode 100644 index 000000000000..6e3709f068e8 --- /dev/null +++ b/gnome-extra/evolution-data-server/files/evolution-data-server-1.10-newline-in-contacts.patch @@ -0,0 +1,26 @@ +2007-08-14 Milan Crha <mcrha@redhat.com> + +** Fix for bug #356176 by Patrick Ohly + + * libebook/e-vcard.c: (read_attribute_value): + Skip over folding by calling skip_newline() to find + the next real character after a backslash. + +http://bugzilla.gnome.org/show_bug.cgi?id=356176 +https://bugs.gentoo.org/show_bug.cgi?id=175516 + +--- trunk/addressbook/libebook/e-vcard.c 2007/08/14 13:53:49 7954 ++++ trunk/addressbook/libebook/e-vcard.c 2007/08/14 14:17:12 7955 +@@ -273,6 +273,12 @@ + g_string_append_c (str, '\\'); + break; + } ++ ++ /* beware, there might be a line break due to folding, ++ * need next real character ++ */ ++ lp = skip_newline (lp, quoted_printable); ++ + switch (*lp) { + case 'n': g_string_append_c (str, '\n'); break; + case 'N': g_string_append_c (str, '\n'); break; |