Compare commits

..

15 commits

Author SHA1 Message Date
Milan Crha
2784217132 Add pkgconfig(iso-codes) into BuildRequires 2015-09-08 07:50:12 +02:00
Milan Crha
0b571c5be2 Add patch for RH bug #1231591 (Crash when viewing message digest) 2015-08-19 17:25:43 +02:00
Milan Crha
6d655c864e Update to 3.16.5 2015-08-10 07:40:45 +02:00
Milan Crha
2c3026b37a Add patch for RH bug #1243680 (Replacement of misspelled word doesn't work in composer) 2015-07-16 15:10:09 +02:00
Milan Crha
93fcd52a73 Update to 3.16.4 2015-07-13 08:56:35 +02:00
Milan Crha
d614a320e3 Add patch for RH bug #1229230 (Broken save of filter rules) 2015-06-08 16:52:36 +02:00
Milan Crha
5bb7dc83bf Update to 3.16.3 2015-06-08 09:47:13 +02:00
Debarshi Ray
06dd7b4aad Rebuild for libgdata soname bump 2015-05-28 16:37:13 +02:00
Milan Crha
a73061e962 Update to 3.16.2.1 2015-05-11 09:18:13 +02:00
Milan Crha
224b751e29 Add forgotten new symbolic icon 2015-04-13 13:30:37 +02:00
Milan Crha
d276554038 Update to 3.16.1 2015-04-13 11:34:44 +02:00
Milan Crha
1296fae43b Update to 3.16.0 2015-03-23 11:53:22 +01:00
Milan Crha
8c1a26d4f4 Update to 3.15.92; Remove obsolete patches (one unused and one fixed upstream) 2015-03-16 14:16:15 +01:00
Milan Crha
80701e2011 Update to 3.15.91 2015-03-02 13:45:27 +01:00
Milan Crha
0bb8664bd3 Update to 3.13.90 2015-02-16 11:48:45 +01:00
8 changed files with 2971 additions and 322 deletions

95
.gitignore vendored
View file

@ -1 +1,94 @@
/evolution-*.tar.xz
evolution-2.31.5.tar.bz2
/evolution-2.31.91.tar.bz2
/evolution-2.31.92.tar.bz2
/evolution-2.91.0.tar.bz2
/evolution-2.91.1.tar.bz2
/evolution-2.91.2.tar.bz2
/evolution-2.91.3.tar.bz2
/evolution-2.91.4.tar.bz2
/evolution-2.91.5.tar.bz2
/evolution-2.91.6.tar.bz2
/evolution-2.91.6.1.tar.bz2
/evolution-2.91.6.2.tar.bz2
/evolution-2.91.90.tar.bz2
/evolution-2.91.91.tar.bz2
/evolution-2.91.92.tar.bz2
/evolution-3.0.0.tar.bz2
/evolution-3.1.1.tar.bz2
/evolution-3.1.2.tar.bz2
/evolution-3.1.3.tar.bz2
/evolution-3.1.4.tar.bz2
/evolution-3.1.5.tar.bz2
/evolution-3.1.90.tar.xz
/evolution-3.1.91.tar.xz
/evolution-3.1.92.tar.xz
/evolution-3.2.0.tar.xz
/evolution-3.3.1.tar.xz
/evolution-3.3.2.tar.xz
/evolution-3.3.3.tar.xz
/evolution-3.3.4.tar.xz
/evolution-3.3.5.tar.xz
/evolution-3.3.90.tar.xz
/evolution-3.3.91.tar.xz
/evolution-3.3.92.tar.xz
/evolution-3.4.0.tar.xz
/evolution-3.4.0.1.tar.xz
/evolution-3.4.1.tar.xz
/evolution-3.5.1.tar.xz
/evolution-3.5.2.tar.xz
/evolution-3.5.3.tar.xz
/evolution-3.5.3.1.tar.xz
/evolution-3.5.4.tar.xz
/evolution-3.5.5.tar.xz
/evolution-3.5.90.tar.xz
/evolution-3.5.91.tar.xz
/evolution-3.5.92.tar.xz
/evolution-3.6.0.tar.xz
/evolution-3.7.1.tar.xz
/evolution-3.7.2.tar.xz
/evolution-3.7.3.1.tar.xz
/evolution-3.7.3.2.tar.xz
/evolution-3.7.4.tar.xz
/evolution-3.7.5.tar.xz
/evolution-3.7.90.tar.xz
/evolution-3.7.91.tar.xz
/evolution-3.7.92.tar.xz
/evolution-3.8.0.tar.xz
/evolution-3.9.1.tar.xz
/evolution-3.9.2.tar.xz
/evolution-3.9.3.tar.xz
/evolution-3.9.4.tar.xz
/evolution-3.9.5.tar.xz
/evolution-3.9.90.tar.xz
/evolution-3.9.91.tar.xz
/evolution-3.9.92.tar.xz
/evolution-3.10.0.tar.xz
/evolution-3.10.1.tar.xz
/evolution-3.11.1.tar.xz
/evolution-3.11.2.tar.xz
/evolution-3.11.4.tar.xz
/evolution-3.11.5.tar.xz
/evolution-3.11.90.tar.xz
/evolution-3.11.91.tar.xz
/evolution-3.11.92.tar.xz
/evolution-3.12.0.tar.xz
/evolution-3.12.1.tar.xz
/evolution-3.12.2.tar.xz
/evolution-3.12.3.tar.xz
/evolution-3.12.4.tar.xz
/evolution-3.13.4.tar.xz
/evolution-3.13.5.tar.xz
/evolution-3.13.6.tar.xz
/evolution-3.13.7.tar.xz
/evolution-3.13.8.tar.xz
/evolution-3.13.9.tar.xz
/evolution-3.13.10.tar.xz
/evolution-3.13.90.tar.xz
/evolution-3.15.91.tar.xz
/evolution-3.15.92.tar.xz
/evolution-3.16.0.tar.xz
/evolution-3.16.1.tar.xz
/evolution-3.16.2.1.tar.xz
/evolution-3.16.3.tar.xz
/evolution-3.16.4.tar.xz
/evolution-3.16.5.tar.xz

View file

@ -1,42 +0,0 @@
diff -up evolution-3.48.1 evolution-3.48
diff -up evolution-3.48.1/docs/evolution.1 evolution-3.48.1/docs/evolution
diff -up evolution-3.48.1/src/modules/backup-restore/evolution-backup-tool.c.1 evolution-3.48.1/src/modules/backup-restore/evolution-backup-tool.c
--- evolution-3.48.1/src/modules/backup-restore/evolution-backup-tool.c.1 2023-11-27 13:12:25.099463743 -0500
+++ evolution-3.48.1/src/modules/backup-restore/evolution-backup-tool.c 2023-11-27 13:14:38.640243434 -0500
@@ -674,7 +674,7 @@ get_source_manager_reload_command (void)
g_string_free (tmp, TRUE);
tmp = NULL;
- base_filename = g_strdup (EDS_SOURCES_DBUS_SERVICE_NAME);
+ base_filename = g_ascii_strdown (EDS_SOURCES_DBUS_SERVICE_NAME, -1);
if (!base_filename || !*base_filename) {
g_free (base_filename);
@@ -690,14 +690,16 @@ get_source_manager_reload_command (void)
while (!tmp) {
const gchar *name;
+ gchar *name_down;
name = g_dir_read_name (dir);
+ name_down = g_ascii_strdown (name, -1);
if (!name)
break;
- if (g_ascii_strncasecmp (name, base_filename, base_filename_len) == 0 &&
- g_ascii_strncasecmp (name + strlen (name) - 8, ".service", 8) == 0) {
+ if (strstr (name_down, base_filename) != NULL &&
+ strncmp (name_down + strlen (name) - 8, ".service", 8) == 0) {
gchar *filename;
filename = g_strconcat ("$DBUSDATADIR", G_DIR_SEPARATOR_S, name, NULL);
@@ -724,6 +726,8 @@ get_source_manager_reload_command (void)
g_free (str);
}
}
+
+ g_free (name_down);
}
g_free (base_filename);

View file

@ -0,0 +1,182 @@
diff -up evolution-3.16.5/em-format/e-mail-formatter-attachment.c.crash-message-digest evolution-3.16.5/em-format/e-mail-formatter-attachment.c
--- evolution-3.16.5/em-format/e-mail-formatter-attachment.c.crash-message-digest 2015-05-29 12:40:05.000000000 +0200
+++ evolution-3.16.5/em-format/e-mail-formatter-attachment.c 2015-08-19 17:22:36.616380858 +0200
@@ -320,7 +320,7 @@ emfe_attachment_format (EMailFormatterEx
}
if (success) {
- gchar *wrapper_element_id, *inner_html_data;
+ gchar *wrapper_element_id;
gconstpointer data;
gsize size;
@@ -332,20 +332,33 @@ emfe_attachment_format (EMailFormatterEx
size = g_memory_output_stream_get_data_size (
G_MEMORY_OUTPUT_STREAM (content_stream));
- inner_html_data = g_markup_escape_text (data, size);
-
g_string_append_printf (
buffer,
"<tr><td colspan=\"2\">"
- "<div class=\"attachment-wrapper\" id=\"%s\" inner-html-data=\"%s\">",
- wrapper_element_id, inner_html_data);
+ "<div class=\"attachment-wrapper\" id=\"%s\"",
+ wrapper_element_id);
+
+ if (e_mail_part_should_show_inline (part)) {
+ g_string_append (buffer, ">");
+ g_string_append_len (buffer, data, size);
+ } else {
+ gchar *inner_html_data;
+
+ inner_html_data = g_markup_escape_text (data, size);
+
+ g_string_append_printf (
+ buffer,
+ " inner-html-data=\"%s\">",
+ inner_html_data);
+
+ g_free (inner_html_data);
+ }
g_string_append (buffer, "</div></td></tr>");
- e_mail_part_attachment_set_expandable (E_MAIL_PART_ATTACHMENT (part), TRUE);
+ e_mail_part_attachment_set_expandable (empa, TRUE);
g_free (wrapper_element_id);
- g_free (inner_html_data);
}
g_object_unref (content_stream);
diff -up evolution-3.16.5/em-format/e-mail-part.c.crash-message-digest evolution-3.16.5/em-format/e-mail-part.c
--- evolution-3.16.5/em-format/e-mail-part.c.crash-message-digest 2014-03-24 10:25:23.000000000 +0100
+++ evolution-3.16.5/em-format/e-mail-part.c 2015-08-19 17:22:36.616380858 +0200
@@ -26,10 +26,15 @@
* message.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-mail-part.h"
#include <string.h>
+#include "e-mail-part-attachment.h"
#include "e-mail-part-list.h"
#define E_MAIL_PART_GET_PRIVATE(obj) \
@@ -441,6 +446,46 @@ e_mail_part_set_mime_type (EMailPart *pa
g_object_notify (G_OBJECT (part), "mime-type");
}
+gboolean
+e_mail_part_should_show_inline (EMailPart *part)
+{
+ CamelMimePart *mime_part;
+ const CamelContentDisposition *disposition;
+ gboolean res = FALSE;
+
+ g_return_val_if_fail (E_IS_MAIL_PART (part), FALSE);
+
+ /* Automatically expand attachments that have inline
+ * disposition or the EMailParts have specific
+ * force_inline flag set. */
+
+ if (part->force_collapse)
+ return FALSE;
+
+ if (part->force_inline)
+ return TRUE;
+
+ if (E_IS_MAIL_PART_ATTACHMENT (part)) {
+ EMailPartAttachment *empa = E_MAIL_PART_ATTACHMENT (part);
+
+ if (g_strcmp0 (empa->snoop_mime_type, "message/rfc822") == 0)
+ return TRUE;
+ }
+
+ mime_part = e_mail_part_ref_mime_part (part);
+ if (!mime_part)
+ return FALSE;
+
+ disposition = camel_mime_part_get_content_disposition (mime_part);
+ if (disposition && disposition->disposition &&
+ g_ascii_strncasecmp (disposition->disposition, "inline", 6) == 0)
+ res = TRUE;
+
+ g_object_unref (mime_part);
+
+ return res;
+}
+
EMailPartList *
e_mail_part_ref_part_list (EMailPart *part)
{
diff -up evolution-3.16.5/em-format/e-mail-part.h.crash-message-digest evolution-3.16.5/em-format/e-mail-part.h
--- evolution-3.16.5/em-format/e-mail-part.h.crash-message-digest 2014-03-24 10:25:23.000000000 +0100
+++ evolution-3.16.5/em-format/e-mail-part.h 2015-08-19 17:22:36.616380858 +0200
@@ -107,6 +107,7 @@ CamelMimePart * e_mail_part_ref_mime_par
const gchar * e_mail_part_get_mime_type (EMailPart *part);
void e_mail_part_set_mime_type (EMailPart *part,
const gchar *mime_type);
+gboolean e_mail_part_should_show_inline (EMailPart *part);
struct _EMailPartList *
e_mail_part_ref_part_list (EMailPart *part);
void e_mail_part_set_part_list (EMailPart *part,
diff -up evolution-3.16.5/mail/e-mail-display.c.crash-message-digest evolution-3.16.5/mail/e-mail-display.c
--- evolution-3.16.5/mail/e-mail-display.c.crash-message-digest 2015-05-29 12:40:05.000000000 +0200
+++ evolution-3.16.5/mail/e-mail-display.c 2015-08-19 17:23:52.369377648 +0200
@@ -471,6 +471,8 @@ attachment_button_expanded (GObject *obj
html_element = WEBKIT_DOM_HTML_ELEMENT (element);
webkit_dom_html_element_set_inner_html (html_element, inner_html_data, NULL);
+
+ webkit_dom_element_remove_attribute (element, "inner-html-data");
}
g_free (inner_html_data);
@@ -668,9 +670,6 @@ mail_display_plugin_widget_requested (We
e_mail_part_attachment_get_expandable (empa));
if (e_mail_part_attachment_get_expandable (empa)) {
- CamelMimePart *mime_part;
- const CamelContentDisposition *disposition;
-
/* Show/hide the attachment when the EAttachmentButton
* is expanded/collapsed or shown/hidden. */
g_signal_connect (
@@ -682,20 +681,7 @@ mail_display_plugin_widget_requested (We
G_CALLBACK (attachment_button_expanded),
display);
- mime_part = e_mail_part_ref_mime_part (part);
-
- /* Automatically expand attachments that have inline
- * disposition or the EMailParts have specific
- * force_inline flag set. */
- disposition =
- camel_mime_part_get_content_disposition (mime_part);
- if (!part->force_collapse &&
- (part->force_inline ||
- (g_strcmp0 (empa->snoop_mime_type, "message/rfc822") == 0) ||
- (disposition && disposition->disposition &&
- g_ascii_strncasecmp (
- disposition->disposition, "inline", 6) == 0))) {
-
+ if (e_mail_part_should_show_inline (part)) {
e_attachment_button_set_expanded (
E_ATTACHMENT_BUTTON (widget), TRUE);
} else {
@@ -704,8 +690,6 @@ mail_display_plugin_widget_requested (We
attachment_button_expanded (
G_OBJECT (widget), NULL, display);
}
-
- g_object_unref (mime_part);
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,10 +0,0 @@
#!/bin/bash
# see https://gitlab.gnome.org/GNOME/glib/issues/1737
# previous versions used milliseconds instead of seconds as the timeout argument",
(`pkg-config --atleast-version 2.60.1 gio-2.0` || `pkg-config --atleast-version 2.61.0 gio-2.0`) && TIMEOUTMULT= || TIMEOUTMULT=000
sed -e "s|\@SOURCES_SERVICE\@|$(pkg-config --variable=sourcesdbusservicename evolution-data-server-1.2)|" \
-e "s|\@ADDRESSBOOK_SERVICE\@|$(pkg-config --variable=addressbookdbusservicename evolution-data-server-1.2)|" \
-e "s|\@CALENDAR_SERVICE\@|$(pkg-config --variable=calendardbusservicename evolution-data-server-1.2)|" \
-e "s|\@TIMEOUTMULT\@|${TIMEOUTMULT}|"

View file

@ -1,29 +0,0 @@
#!/bin/bash
if [ "$1" = "--quit" -o "$1" = "--force-shutdown" ]; then
/app/bin/evolution.bin "$@"
else
export BOGOFILTER_DIR="${XDG_DATA_HOME}/bogofilter/"
export GIO_USE_NETWORK_MONITOR=base
gsettings reset org.gnome.evolution-data-server network-monitor-gio-name
LINES=$(gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.ListNames | grep @SOURCES_SERVICE@ | wc -l)
if [ "${LINES}" = "0" ]; then
/app/libexec/evolution-source-registry &
gdbus wait --session --timeout=1@TIMEOUTMULT@ @SOURCES_SERVICE@
fi
LINES=$(gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.ListNames | grep @ADDRESSBOOK_SERVICE@ | wc -l)
if [ "${LINES}" = "0" ]; then
/app/libexec/evolution-addressbook-factory -r &
gdbus wait --session --timeout=1@TIMEOUTMULT@ @ADDRESSBOOK_SERVICE@
fi
LINES=$(gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.ListNames | grep @CALENDAR_SERVICE@ | wc -l)
if [ "${LINES}" = "0" ]; then
/app/libexec/evolution-calendar-factory -r &
gdbus wait --session --timeout=1@TIMEOUTMULT@ @CALENDAR_SERVICE@
fi
/app/bin/evolution.bin "$@"
fi

View file

@ -1,5 +0,0 @@
---
runpath:
allowed_paths:
- /usr/lib/evolution
- /usr/lib64/evolution

View file

@ -1 +1 @@
SHA512 (evolution-3.59.1.tar.xz) = 26d6d4dfcdbc3d89f88d9e24096c7ff910d221119def75d7f80a397f682be96860726832c7c62b46769ce9cfcc15e5844cbcc016facc9b21b4eb9bbb2c17360d
f9182138883391727e78a6ac7f7b80d7 evolution-3.16.5.tar.xz