Compare commits
272 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c43580f77 | ||
|
|
a485cde8d2 | ||
|
|
984c082a4a | ||
|
|
0b85490400 | ||
|
|
e96e01d89c | ||
|
|
9a02da726b | ||
|
|
b6316f0d61 | ||
|
|
b150c7f93f | ||
|
|
1ec7fe02ac | ||
|
|
cc74a292b6 | ||
|
|
8d7c63d472 | ||
|
|
a167a13c49 | ||
|
|
eac5f5381a | ||
|
|
b763edfc69 | ||
|
|
399118cf1a | ||
|
|
1b2dcdb774 | ||
|
|
2b76adb6fb | ||
|
|
142e8b59ce | ||
|
|
75da879e46 | ||
|
|
d148c78e2a | ||
|
|
c028e25e36 | ||
|
|
9743ead8f3 | ||
|
|
3dd073cda3 | ||
|
|
5343d971e1 | ||
|
|
d3e47d3088 | ||
|
|
2097a6e4ed | ||
|
|
94619c361f | ||
|
|
3fb2d0402b | ||
|
|
dac6de3858 | ||
|
|
66d7a4c6a2 | ||
|
|
920b04003d | ||
|
|
4b9b71db69 | ||
|
|
6aba648d1d | ||
|
|
5ab7ebe2d6 | ||
|
|
e6a9f7854c | ||
|
|
d66ffdba8c | ||
|
|
dba1a573f9 | ||
|
|
85ae6ddbcc | ||
|
|
96192b5ebe | ||
|
|
4a21eb4e73 | ||
|
|
f343b7d042 | ||
|
|
cbd7978593 | ||
|
|
35b1e39396 | ||
|
|
94b7d02ae6 | ||
|
|
62aa5fee9d | ||
|
|
f1d990a2a3 | ||
|
|
b2c19b10ca | ||
|
|
6118b98b2f | ||
|
|
833a21f7e0 | ||
|
|
a0a96af9e3 | ||
|
|
85f99bf210 | ||
|
|
2839058c81 | ||
|
|
465dc8b552 | ||
|
|
128b437b59 | ||
|
|
5f594361b0 | ||
|
|
03d14d0dde | ||
|
|
2142967252 | ||
|
|
99431c4c71 | ||
|
|
f8afc027ec | ||
|
|
f4bcb14fb9 | ||
|
|
f53283e4b6 | ||
|
|
d27f3a3618 | ||
|
|
067799c686 | ||
|
|
e71d9f2208 | ||
|
|
c7bbe3fb62 | ||
|
|
f0cc6e1d83 | ||
|
|
b0a176ba9c | ||
|
|
7b81ae4e19 | ||
|
|
8c5ea8c543 | ||
|
|
757aeece0e | ||
|
|
3ee812cbed | ||
|
|
ccacb1c349 | ||
|
|
028c80efcb | ||
|
|
a262612227 | ||
|
|
0747cea409 | ||
|
|
377014ebd4 | ||
|
|
8eb691149b | ||
|
|
3934420b3c | ||
|
|
e4a015cb0d | ||
|
|
2a08fd0fd6 | ||
|
|
e4d74fc368 | ||
|
|
8db144cf83 | ||
|
|
90276bd075 | ||
|
|
9d9cb45655 | ||
|
|
5872f97d17 | ||
|
|
a907cced91 | ||
|
|
b5a535891e | ||
|
|
483aa3bdd0 | ||
|
|
e2768c8955 | ||
|
|
041e2e033f | ||
|
|
694cc17198 | ||
|
|
309fa2b63e | ||
|
|
d2805d52d6 | ||
|
|
0ebf9eec51 | ||
|
|
dd6e5b22bb | ||
|
|
f03f5e6d5d | ||
|
|
2dbea5a9cc | ||
|
|
e191be3188 | ||
|
|
94dccfdf96 | ||
|
|
e6383f64f6 | ||
|
|
085d0a5ca3 | ||
|
|
40034cda8c | ||
|
|
82fc4dba16 |
||
|
|
d1a8e25c1b | ||
|
|
58837002c6 | ||
|
|
3b069f56c9 | ||
|
|
fa37715a0b | ||
|
|
08bdc4c973 | ||
|
|
a8e8708a2a |
||
|
|
97079f55ec | ||
|
|
3fef373d47 | ||
|
|
5c6c34c87f | ||
|
|
461c016e27 | ||
|
|
3a2a9ca9bd | ||
|
|
8fcf959670 | ||
|
|
7bc39e254a | ||
|
|
223d147c3f | ||
|
|
5f5764aa96 | ||
|
|
e7b0b89958 | ||
|
|
cded12c82f | ||
|
|
dc7980ff4e | ||
|
|
926fb3c7a9 | ||
|
|
75f7ac63ed | ||
|
|
51da7b6a76 | ||
|
|
c423ca6b67 | ||
|
|
3843f64fea | ||
|
|
fb4509bdb2 | ||
|
|
86d04b20fd | ||
|
|
e64c8a4fa4 | ||
|
|
c1397a8862 | ||
|
|
4af5097987 | ||
|
|
139076b8f0 | ||
|
|
260259b146 | ||
|
|
45e514ef04 | ||
|
|
ec2a2b0271 | ||
|
|
ce77a0418a | ||
|
|
e1ade46049 | ||
|
|
c9c5188faa | ||
|
|
8df5cd0f6d | ||
|
|
6c7b609936 | ||
|
|
685ae11132 | ||
|
|
4db00e385a | ||
|
|
2bbb579b04 | ||
|
|
2c62413444 | ||
|
|
f949fcdd6d | ||
|
|
910669d20d | ||
|
|
4593d93bd2 | ||
|
|
94696ff516 | ||
|
|
43b3efa37d | ||
|
|
5a0aeeb769 | ||
|
|
00125089c8 | ||
|
|
f5528af470 | ||
|
|
0b3ebe1869 | ||
|
|
5487933e14 | ||
|
|
bc4e04ddc2 |
||
|
|
d0d4ca7b18 | ||
|
|
c1874eab10 | ||
|
|
4d04bc5858 | ||
|
|
7180276e16 | ||
|
|
546e48c9aa | ||
|
|
bca21c79fb | ||
|
|
e3f54b98d3 | ||
|
|
35f1854fc3 | ||
|
|
2cbfa27cad | ||
|
|
4c0576c0e9 | ||
|
|
5a2e3fe03c | ||
|
|
3278e47c95 | ||
|
|
f57fa988d1 | ||
|
|
c58ae334a2 | ||
|
|
274681f206 | ||
|
|
07b198b7d7 | ||
|
|
5fe8ed1ba0 | ||
|
|
4db821e61f | ||
|
|
0826fc41c2 | ||
|
|
b35ae4759d | ||
|
|
08634aa4a7 | ||
|
|
ece73378e2 | ||
|
|
1371091dd1 | ||
|
|
4680cdd201 | ||
|
|
e59357c6c8 |
||
|
|
35158c0499 |
||
|
|
fe1f15fc48 | ||
|
|
6b13d190a6 | ||
|
|
1c5ae90ff1 | ||
|
|
16463de300 | ||
|
|
0e04492ff4 | ||
|
|
6fd4e3e138 | ||
|
|
c02662d6cd | ||
|
|
f92c864c73 | ||
|
|
a5fa200c8f | ||
|
|
1655c34839 | ||
|
|
98e2e3564b | ||
|
|
9a33dde60d | ||
|
|
4af3e1fb2f | ||
|
|
3a4128e0f9 | ||
|
|
944ed78ad4 | ||
|
|
c387b14adb | ||
|
|
d21c532c22 | ||
|
|
033eceb1c0 | ||
|
|
a84732fea9 | ||
|
|
82d3f7de2f | ||
|
|
6f4d594b8e | ||
|
|
54b54ba63c | ||
|
|
f38bf58183 | ||
|
|
62ef73354b | ||
|
|
3bc553e38e | ||
|
|
b3a2af25ad | ||
|
|
6d266770f0 | ||
|
|
ab9be396d8 | ||
|
|
5b3dd3995f | ||
|
|
31a70d8a26 | ||
|
|
15a4d36b18 | ||
|
|
b85365031d | ||
|
|
e90e472f8a | ||
|
|
0a0935f383 | ||
|
|
142ebb9bf7 | ||
|
|
832d895b17 | ||
|
|
e3627764f6 | ||
|
|
3dd8772098 | ||
|
|
c0dbee3bf3 | ||
|
|
949618baa0 | ||
|
|
5e6effdfd8 | ||
|
|
0b19259e8b | ||
|
|
cdc90255e8 | ||
|
|
3df91f31e5 | ||
|
|
358a64f5a6 | ||
|
|
1c2228543d | ||
|
|
89372a60e2 | ||
|
|
88dcc2bbb4 | ||
|
|
3a18b59c59 | ||
|
|
8bfeae5c3d | ||
|
|
90e3bb0fca | ||
|
|
db82a9b77a | ||
|
|
a027215d70 | ||
|
|
1dc083f748 | ||
|
|
3f0ea01c18 | ||
|
|
eeabfae1c9 | ||
|
|
5b771a4b32 | ||
|
|
2739683f6c | ||
|
|
84ba7a4d46 | ||
|
|
8e693f88f8 | ||
|
|
881f6ea4e6 | ||
|
|
1e1f170231 | ||
|
|
210618e56c | ||
|
|
3b05bca8ec | ||
|
|
1f9279186b | ||
|
|
46eb226a68 | ||
|
|
b41f7c2848 | ||
|
|
4c2158e83a | ||
|
|
c58e965045 | ||
|
|
2d5098ed6e | ||
|
|
edf024988d | ||
|
|
1802d2033d | ||
|
|
e97342f0b1 | ||
|
|
3c4af4773c | ||
|
|
1253206170 | ||
|
|
fe3e334b69 | ||
|
|
b6796b2079 | ||
|
|
63e0678ac4 | ||
|
|
a23db7ba17 | ||
|
|
9960903b24 | ||
|
|
7406d60b3b | ||
|
|
a94f71f8e7 | ||
|
|
c6898fce46 | ||
|
|
6c3e449024 | ||
|
|
5c781df2ff | ||
|
|
770f32eb1b | ||
|
|
27ed552d1c | ||
|
|
8bcd0c22b3 | ||
|
|
ae9de4ed5b | ||
|
|
dd0644fb87 | ||
|
|
2f435143e8 |
11 changed files with 328 additions and 3684 deletions
86
.gitignore
vendored
86
.gitignore
vendored
|
|
@ -1,85 +1 @@
|
|||
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-*.tar.xz
|
||||
|
|
|
|||
42
configurable-dbus-prefix.patch
Normal file
42
configurable-dbus-prefix.patch
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
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);
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
diff -up evolution-2.31.1/configure.ldaphack evolution-2.31.1/configure
|
||||
--- evolution-2.31.1/configure.ldaphack 2010-05-03 12:43:34.000000000 +0200
|
||||
+++ evolution-2.31.1/configure 2010-05-03 19:22:55.000000000 +0200
|
||||
@@ -15797,7 +15797,7 @@ if test "${ac_cv_lib_ldap_ldap_open+set}
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lldap $LDAP_LDFLAGS $LDAP_LIBS $LIBS"
|
||||
+LIBS="-lldap -lresolv $LDAP_LDFLAGS $LDAP_LIBS $LIBS"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
@@ -16129,7 +16129,7 @@ if test "${ac_cv_lib_ldap_ldap_open+set}
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lldap $LDAP_LDFLAGS $LDAP_LIBS $LIBS"
|
||||
+LIBS="-lldap -lresolv $LDAP_LDFLAGS $LDAP_LIBS $LIBS"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
|
|
@ -1,149 +0,0 @@
|
|||
diff -up evolution-3.13.6/addressbook/gui/contact-editor/e-contact-editor.c.help-contents evolution-3.13.6/addressbook/gui/contact-editor/e-contact-editor.c
|
||||
--- evolution-3.13.6/addressbook/gui/contact-editor/e-contact-editor.c.help-contents 2014-09-22 09:15:05.051468361 +0200
|
||||
+++ evolution-3.13.6/addressbook/gui/contact-editor/e-contact-editor.c 2014-09-22 09:17:01.509463747 +0200
|
||||
@@ -4143,6 +4143,10 @@ e_contact_editor_init (EContactEditor *e
|
||||
g_signal_connect (
|
||||
widget, "clicked",
|
||||
G_CALLBACK (show_help_cb), e_contact_editor);
|
||||
+ if (!e_misc_utils_is_help_package_installed ()) {
|
||||
+ gtk_widget_set_sensitive (widget, FALSE);
|
||||
+ gtk_widget_hide (widget);
|
||||
+ }
|
||||
|
||||
widget = e_builder_get_widget (
|
||||
e_contact_editor->priv->builder, "expander-contact-phone");
|
||||
diff -up evolution-3.13.6/calendar/gui/dialogs/comp-editor.c.help-contents evolution-3.13.6/calendar/gui/dialogs/comp-editor.c
|
||||
--- evolution-3.13.6/calendar/gui/dialogs/comp-editor.c.help-contents 2014-04-11 09:21:59.000000000 +0200
|
||||
+++ evolution-3.13.6/calendar/gui/dialogs/comp-editor.c 2014-09-22 09:15:05.052468361 +0200
|
||||
@@ -2168,6 +2168,12 @@ comp_editor_init (CompEditor *editor)
|
||||
G_BINDING_SYNC_CREATE);
|
||||
}
|
||||
|
||||
+ action = gtk_action_group_get_action (action_group, "help");
|
||||
+ if (action && !e_misc_utils_is_help_package_installed ()) {
|
||||
+ gtk_action_set_visible (action, FALSE);
|
||||
+ gtk_action_set_sensitive (action, FALSE);
|
||||
+ }
|
||||
+
|
||||
action_group = gtk_action_group_new ("individual");
|
||||
gtk_action_group_set_translation_domain (
|
||||
action_group, GETTEXT_PACKAGE);
|
||||
diff -up evolution-3.13.6/e-util/e-misc-utils.c.help-contents evolution-3.13.6/e-util/e-misc-utils.c
|
||||
--- evolution-3.13.6/e-util/e-misc-utils.c.help-contents 2014-07-11 08:47:35.000000000 +0200
|
||||
+++ evolution-3.13.6/e-util/e-misc-utils.c 2014-09-22 09:15:05.052468361 +0200
|
||||
@@ -2493,6 +2493,23 @@ e_binding_transform_uid_to_source (GBind
|
||||
return success;
|
||||
}
|
||||
|
||||
+gboolean
|
||||
+e_misc_utils_is_help_package_installed (void)
|
||||
+{
|
||||
+ gboolean is_installed;
|
||||
+ gchar *path;
|
||||
+
|
||||
+ /* Viewing user documentation requires the evolution-help
|
||||
+ * package. Look for one of the files it installs. */
|
||||
+ path = g_build_filename (EVOLUTION_DATADIR, "help", "C", PACKAGE, "index.page", NULL);
|
||||
+
|
||||
+ is_installed = g_file_test (path, G_FILE_TEST_IS_REGULAR);
|
||||
+
|
||||
+ g_free (path);
|
||||
+
|
||||
+ return is_installed;
|
||||
+}
|
||||
+
|
||||
/**
|
||||
* e_binding_transform_text_non_null:
|
||||
* @binding: a #GBinding
|
||||
diff -up evolution-3.13.6/e-util/e-misc-utils.h.help-contents evolution-3.13.6/e-util/e-misc-utils.h
|
||||
--- evolution-3.13.6/e-util/e-misc-utils.h.help-contents 2014-07-07 12:45:01.000000000 +0200
|
||||
+++ evolution-3.13.6/e-util/e-misc-utils.h 2014-09-22 09:15:05.052468361 +0200
|
||||
@@ -229,6 +229,8 @@ gboolean e_binding_transform_uid_to_sour
|
||||
GValue *target_value,
|
||||
ESourceRegistry *registry);
|
||||
|
||||
+gboolean e_misc_utils_is_help_package_installed (void);
|
||||
+
|
||||
gboolean e_binding_transform_text_non_null
|
||||
(GBinding *binding,
|
||||
const GValue *source_value,
|
||||
diff -up evolution-3.13.6/e-util/e-preferences-window.c.help-contents evolution-3.13.6/e-util/e-preferences-window.c
|
||||
--- evolution-3.13.6/e-util/e-preferences-window.c.help-contents 2014-02-12 20:47:07.000000000 +0100
|
||||
+++ evolution-3.13.6/e-util/e-preferences-window.c 2014-09-22 09:15:05.053468361 +0200
|
||||
@@ -385,6 +385,11 @@ e_preferences_window_init (EPreferencesW
|
||||
GTK_BUTTON_BOX (container), widget, TRUE);
|
||||
gtk_widget_show (widget);
|
||||
|
||||
+ if (!e_misc_utils_is_help_package_installed ()) {
|
||||
+ gtk_widget_set_sensitive (widget, FALSE);
|
||||
+ gtk_widget_hide (widget);
|
||||
+ }
|
||||
+
|
||||
widget = e_dialog_button_new_with_icon ("window-close", _("_Close"));
|
||||
g_signal_connect_swapped (
|
||||
widget, "clicked",
|
||||
diff -up evolution-3.13.6/e-util/e-send-options.c.help-contents evolution-3.13.6/e-util/e-send-options.c
|
||||
--- evolution-3.13.6/e-util/e-send-options.c.help-contents 2014-03-27 15:05:39.000000000 +0100
|
||||
+++ evolution-3.13.6/e-util/e-send-options.c 2014-09-22 09:15:05.053468361 +0200
|
||||
@@ -439,6 +439,7 @@ get_widgets (ESendOptionsDialog *sod)
|
||||
{
|
||||
ESendOptionsDialogPrivate *priv;
|
||||
GtkBuilder *builder;
|
||||
+ GtkWidget *helpbutton;
|
||||
|
||||
priv = sod->priv;
|
||||
builder = sod->priv->builder;
|
||||
@@ -478,6 +479,12 @@ get_widgets (ESendOptionsDialog *sod)
|
||||
priv->accepted_label = e_builder_get_widget (builder, "accepted-label");
|
||||
priv->completed_label = e_builder_get_widget (builder, "completed-label");
|
||||
|
||||
+ helpbutton = e_builder_get_widget (builder, "helpbutton1");
|
||||
+ if (helpbutton && !e_misc_utils_is_help_package_installed ()) {
|
||||
+ gtk_widget_set_sensitive (helpbutton, FALSE);
|
||||
+ gtk_widget_hide (helpbutton);
|
||||
+ }
|
||||
+
|
||||
return (priv->priority
|
||||
&& priv->security
|
||||
&& priv->status
|
||||
diff -up evolution-3.13.6/plugins/email-custom-header/email-custom-header.c.help-contents evolution-3.13.6/plugins/email-custom-header/email-custom-header.c
|
||||
--- evolution-3.13.6/plugins/email-custom-header/email-custom-header.c.help-contents 2014-06-09 16:39:38.000000000 +0200
|
||||
+++ evolution-3.13.6/plugins/email-custom-header/email-custom-header.c 2014-09-22 09:15:05.053468361 +0200
|
||||
@@ -118,6 +118,8 @@ static gboolean
|
||||
epech_get_widgets (CustomHeaderOptionsDialog *mch)
|
||||
{
|
||||
CustomHeaderOptionsDialogPrivate *priv;
|
||||
+ GtkWidget *helpbutton;
|
||||
+
|
||||
priv = mch->priv;
|
||||
|
||||
#define EMAIL_CUSTOM_HEADER(name) e_builder_get_widget (priv->builder, name)
|
||||
@@ -128,6 +130,13 @@ epech_get_widgets (CustomHeaderOptionsDi
|
||||
|
||||
priv->page = EMAIL_CUSTOM_HEADER ("email-custom-header-vbox");
|
||||
priv->header_table = EMAIL_CUSTOM_HEADER ("email-custom-header-options");
|
||||
+
|
||||
+ helpbutton = EMAIL_CUSTOM_HEADER ("helpbutton1");
|
||||
+ if (helpbutton && !e_misc_utils_is_help_package_installed ()) {
|
||||
+ gtk_widget_set_sensitive (helpbutton, FALSE);
|
||||
+ gtk_widget_hide (helpbutton);
|
||||
+ }
|
||||
+
|
||||
#undef EMAIL_CUSTOM_HEADER
|
||||
|
||||
return (priv->page
|
||||
diff -up evolution-3.13.6/shell/e-shell-window-actions.c.help-contents evolution-3.13.6/shell/e-shell-window-actions.c
|
||||
--- evolution-3.13.6/shell/e-shell-window-actions.c.help-contents 2014-03-07 14:49:13.000000000 +0100
|
||||
+++ evolution-3.13.6/shell/e-shell-window-actions.c 2014-09-22 09:15:05.053468361 +0200
|
||||
@@ -1458,6 +1458,11 @@ e_shell_window_actions_init (EShellWindo
|
||||
if (path == NULL)
|
||||
gtk_action_set_visible (ACTION (SUBMIT_BUG), FALSE);
|
||||
g_free (path);
|
||||
+
|
||||
+ if (!e_misc_utils_is_help_package_installed ()) {
|
||||
+ gtk_action_set_visible (ACTION (CONTENTS), FALSE);
|
||||
+ gtk_action_set_sensitive (ACTION (CONTENTS), FALSE);
|
||||
+ }
|
||||
}
|
||||
|
||||
GtkWidget *
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
diff -up evolution-3.12.3/configure.ac.drop-gnome-icon-theme-dep evolution-3.12.3/configure.ac
|
||||
--- evolution-3.12.3/configure.ac.drop-gnome-icon-theme-dep 2014-06-09 11:33:17.814864320 +0200
|
||||
+++ evolution-3.12.3/configure.ac 2014-06-09 11:33:44.925863171 +0200
|
||||
@@ -49,7 +49,6 @@ m4_define([gtkhtml_minimum_version], [4.
|
||||
m4_define([gdk_pixbuf_minimum_version], [2.24.0])
|
||||
m4_define([gcr_minimum_version], [3.4])
|
||||
m4_define([gnome_desktop_minimum_version], [2.91.3])
|
||||
-m4_define([gnome_icon_theme_minimum_version], [2.30.2.1])
|
||||
m4_define([gsettings_desktop_schemas_minimum_version], [2.91.92])
|
||||
m4_define([webkitgtk_minimum_version], [2.0.1])
|
||||
m4_define([libgdata_minimum_version], [0.10])
|
||||
@@ -486,11 +485,6 @@ fi
|
||||
AC_CHECK_FUNCS(mkdtemp)
|
||||
|
||||
dnl **************************************************
|
||||
-dnl Gnome Icon Theme
|
||||
-dnl **************************************************
|
||||
-PKG_CHECK_MODULES([GIT], [gnome-icon-theme >= gnome_icon_theme_minimum_version])
|
||||
-
|
||||
-dnl **************************************************
|
||||
dnl Accessibility support
|
||||
dnl **************************************************
|
||||
PKG_CHECK_MODULES([A11Y], [atk])
|
||||
|
|
@ -1,742 +0,0 @@
|
|||
diff --git a/e-util/e-html-editor-selection.c b/e-util/e-html-editor-selection.c
|
||||
index 254f820..baa5b38 100644
|
||||
--- a/e-util/e-html-editor-selection.c
|
||||
+++ b/e-util/e-html-editor-selection.c
|
||||
@@ -1347,22 +1347,22 @@ set_block_alignment (WebKitDOMElement *element,
|
||||
static WebKitDOMNode *
|
||||
get_parent_block_node_from_child (WebKitDOMNode *node)
|
||||
{
|
||||
- WebKitDOMElement *parent = WEBKIT_DOM_ELEMENT (
|
||||
- webkit_dom_node_get_parent_node (node));
|
||||
+ WebKitDOMNode *parent = webkit_dom_node_get_parent_node (node);
|
||||
|
||||
- if (WEBKIT_DOM_IS_HTML_ANCHOR_ELEMENT (parent) ||
|
||||
- element_has_tag (parent, "b") ||
|
||||
- element_has_tag (parent, "i") ||
|
||||
- element_has_tag (parent, "u"))
|
||||
- parent = WEBKIT_DOM_ELEMENT (
|
||||
- webkit_dom_node_get_parent_node (WEBKIT_DOM_NODE (parent)));
|
||||
+ if (element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-temp-text-wrapper") ||
|
||||
+ element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-quoted") ||
|
||||
+ element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-quote-character") ||
|
||||
+ element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-signature") ||
|
||||
+ WEBKIT_DOM_IS_HTML_ANCHOR_ELEMENT (parent) ||
|
||||
+ element_has_tag (WEBKIT_DOM_ELEMENT (parent), "b") ||
|
||||
+ element_has_tag (WEBKIT_DOM_ELEMENT (parent), "i") ||
|
||||
+ element_has_tag (WEBKIT_DOM_ELEMENT (parent), "u"))
|
||||
+ parent = webkit_dom_node_get_parent_node (parent);
|
||||
|
||||
- if (element_has_class (parent, "-x-evo-temp-text-wrapper") ||
|
||||
- element_has_class (parent, "-x-evo-signature"))
|
||||
- parent = WEBKIT_DOM_ELEMENT (
|
||||
- webkit_dom_node_get_parent_node (WEBKIT_DOM_NODE (parent)));
|
||||
+ if (element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-quoted"))
|
||||
+ parent = webkit_dom_node_get_parent_node (parent);
|
||||
|
||||
- return WEBKIT_DOM_NODE (parent);
|
||||
+ return parent;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -3771,7 +3771,7 @@ e_html_editor_selection_set_monospaced (EHTMLEditorSelection *selection,
|
||||
range, WEBKIT_DOM_NODE (monospace), NULL);
|
||||
|
||||
e_html_editor_selection_move_caret_into_element (
|
||||
- document, monospace);
|
||||
+ document, monospace, FALSE);
|
||||
}
|
||||
} else {
|
||||
gboolean is_bold, is_italic, is_underline, is_strikethrough;
|
||||
@@ -4857,7 +4857,8 @@ e_html_editor_selection_replace_image_src (EHTMLEditorSelection *selection,
|
||||
|
||||
void
|
||||
e_html_editor_selection_move_caret_into_element (WebKitDOMDocument *document,
|
||||
- WebKitDOMElement *element)
|
||||
+ WebKitDOMElement *element,
|
||||
+ gboolean to_start)
|
||||
{
|
||||
WebKitDOMDOMWindow *window;
|
||||
WebKitDOMDOMSelection *window_selection;
|
||||
@@ -4871,8 +4872,8 @@ e_html_editor_selection_move_caret_into_element (WebKitDOMDocument *document,
|
||||
new_range = webkit_dom_document_create_range (document);
|
||||
|
||||
webkit_dom_range_select_node_contents (
|
||||
- new_range, WEBKIT_DOM_NODE (element), NULL);
|
||||
- webkit_dom_range_collapse (new_range, FALSE, NULL);
|
||||
+ new_range, WEBKIT_DOM_NODE (element), NULL);
|
||||
+ webkit_dom_range_collapse (new_range, to_start, NULL);
|
||||
webkit_dom_dom_selection_remove_all_ranges (window_selection);
|
||||
webkit_dom_dom_selection_add_range (window_selection, new_range);
|
||||
}
|
||||
@@ -5071,13 +5072,13 @@ e_html_editor_selection_restore_caret_position (EHTMLEditorSelection *selection)
|
||||
remove_node (WEBKIT_DOM_NODE (element));
|
||||
|
||||
e_html_editor_selection_move_caret_into_element (
|
||||
- document, WEBKIT_DOM_ELEMENT (next_sibling));
|
||||
+ document, WEBKIT_DOM_ELEMENT (next_sibling), FALSE);
|
||||
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
||||
- e_html_editor_selection_move_caret_into_element (document, element);
|
||||
+ e_html_editor_selection_move_caret_into_element (document, element, FALSE);
|
||||
|
||||
if (fix_after_quoting) {
|
||||
prev_sibling = webkit_dom_node_get_previous_sibling (
|
||||
@@ -6054,6 +6055,8 @@ e_html_editor_selection_save (EHTMLEditorSelection *selection)
|
||||
parent_node, marker_node, split_node, NULL);
|
||||
}
|
||||
|
||||
+ webkit_dom_node_normalize (parent_node);
|
||||
+
|
||||
end_marker:
|
||||
marker = webkit_dom_document_create_element (document, "SPAN", NULL);
|
||||
webkit_dom_element_set_id (marker, "-x-evo-selection-end-marker");
|
||||
@@ -6084,8 +6087,15 @@ e_html_editor_selection_save (EHTMLEditorSelection *selection)
|
||||
WEBKIT_DOM_NODE (marker),
|
||||
next_sibling,
|
||||
NULL);
|
||||
- return;
|
||||
+ } else {
|
||||
+ webkit_dom_node_insert_before (
|
||||
+ node,
|
||||
+ WEBKIT_DOM_NODE (marker),
|
||||
+ webkit_dom_node_get_next_sibling (
|
||||
+ webkit_dom_node_get_parent_node (parent_node)),
|
||||
+ NULL);
|
||||
}
|
||||
+ return;
|
||||
}
|
||||
|
||||
if (WEBKIT_DOM_IS_TEXT (container)) {
|
||||
@@ -6138,11 +6148,27 @@ e_html_editor_selection_save (EHTMLEditorSelection *selection)
|
||||
if (split_node) {
|
||||
parent_node = webkit_dom_node_get_parent_node (split_node);
|
||||
|
||||
- webkit_dom_node_insert_before (
|
||||
- parent_node, marker_node, split_node, NULL);
|
||||
- } else
|
||||
- webkit_dom_node_append_child (
|
||||
- WEBKIT_DOM_NODE (container), marker_node, NULL);
|
||||
+ if (WEBKIT_DOM_IS_HTML_BODY_ELEMENT (parent_node)) {
|
||||
+ webkit_dom_node_append_child (
|
||||
+ webkit_dom_node_get_previous_sibling (split_node),
|
||||
+ marker_node,
|
||||
+ NULL);
|
||||
+ } else
|
||||
+ webkit_dom_node_insert_before (
|
||||
+ parent_node, marker_node, split_node, NULL);
|
||||
+ } else {
|
||||
+ WebKitDOMNode *first_child;
|
||||
+
|
||||
+ first_child = webkit_dom_node_get_first_child (container);
|
||||
+ if (offset == 0 && WEBKIT_DOM_IS_TEXT (first_child))
|
||||
+ webkit_dom_node_insert_before (
|
||||
+ WEBKIT_DOM_NODE (container), marker_node, webkit_dom_node_get_first_child (container), NULL);
|
||||
+ else
|
||||
+ webkit_dom_node_append_child (
|
||||
+ WEBKIT_DOM_NODE (container), marker_node, NULL);
|
||||
+ }
|
||||
+
|
||||
+ webkit_dom_node_normalize (parent_node);
|
||||
|
||||
check:
|
||||
if ((next_sibling = webkit_dom_node_get_next_sibling (marker_node))) {
|
||||
diff --git a/e-util/e-html-editor-selection.h b/e-util/e-html-editor-selection.h
|
||||
index 3290dfe..5ae9492 100644
|
||||
--- a/e-util/e-html-editor-selection.h
|
||||
+++ b/e-util/e-html-editor-selection.h
|
||||
@@ -185,7 +185,8 @@ void e_html_editor_selection_insert_image
|
||||
const gchar *image_uri);
|
||||
void e_html_editor_selection_move_caret_into_element
|
||||
(WebKitDOMDocument *document,
|
||||
- WebKitDOMElement *element);
|
||||
+ WebKitDOMElement *element,
|
||||
+ gboolean to_start);
|
||||
void e_html_editor_selection_clear_caret_position_marker
|
||||
(EHTMLEditorSelection *selection);
|
||||
WebKitDOMNode *
|
||||
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
|
||||
index cb97da3..aeea625 100644
|
||||
--- a/e-util/e-html-editor-view.c
|
||||
+++ b/e-util/e-html-editor-view.c
|
||||
@@ -699,12 +699,18 @@ get_parent_block_node_from_child (WebKitDOMNode *node)
|
||||
WebKitDOMNode *parent = webkit_dom_node_get_parent_node (node);
|
||||
|
||||
if (element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-temp-text-wrapper") ||
|
||||
+ element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-quoted") ||
|
||||
+ element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-quote-character") ||
|
||||
+ element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-signature") ||
|
||||
WEBKIT_DOM_IS_HTML_ANCHOR_ELEMENT (parent) ||
|
||||
element_has_tag (WEBKIT_DOM_ELEMENT (parent), "b") ||
|
||||
element_has_tag (WEBKIT_DOM_ELEMENT (parent), "i") ||
|
||||
element_has_tag (WEBKIT_DOM_ELEMENT (parent), "u"))
|
||||
parent = webkit_dom_node_get_parent_node (parent);
|
||||
|
||||
+ if (element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-quoted"))
|
||||
+ parent = webkit_dom_node_get_parent_node (parent);
|
||||
+
|
||||
return parent;
|
||||
}
|
||||
|
||||
@@ -1044,17 +1050,21 @@ move_elements_to_body (WebKitDOMDocument *document)
|
||||
list = webkit_dom_document_query_selector_all (
|
||||
document, "span.-x-evo-to-body[data-credits]", NULL);
|
||||
for (ii = webkit_dom_node_list_get_length (list) - 1; ii >= 0; ii--) {
|
||||
- WebKitDOMNode *child;
|
||||
+ char *credits;
|
||||
+ WebKitDOMElement *pre_element;
|
||||
WebKitDOMNode *node = webkit_dom_node_list_item (list, ii);
|
||||
|
||||
- while ((child = webkit_dom_node_get_first_child (node))) {
|
||||
- webkit_dom_node_insert_before (
|
||||
- WEBKIT_DOM_NODE (body),
|
||||
- child,
|
||||
- webkit_dom_node_get_first_child (
|
||||
- WEBKIT_DOM_NODE (body)),
|
||||
- NULL);
|
||||
- }
|
||||
+ pre_element = webkit_dom_document_create_element (document, "pre", NULL);
|
||||
+ credits = webkit_dom_element_get_attribute (WEBKIT_DOM_ELEMENT (node), "data-credits");
|
||||
+ webkit_dom_html_element_set_inner_text (WEBKIT_DOM_HTML_ELEMENT (pre_element), credits, NULL);
|
||||
+ g_free (credits);
|
||||
+
|
||||
+ webkit_dom_node_insert_before (
|
||||
+ WEBKIT_DOM_NODE (body),
|
||||
+ WEBKIT_DOM_NODE (pre_element),
|
||||
+ webkit_dom_node_get_first_child (
|
||||
+ WEBKIT_DOM_NODE (body)),
|
||||
+ NULL);
|
||||
|
||||
remove_node (node);
|
||||
}
|
||||
@@ -2131,6 +2141,57 @@ register_input_event_listener_on_body (EHTMLEditorView *view)
|
||||
}
|
||||
|
||||
static void
|
||||
+remove_empty_blocks (WebKitDOMDocument *document)
|
||||
+{
|
||||
+ gint ii, length;
|
||||
+ WebKitDOMNodeList *list;
|
||||
+
|
||||
+ list = webkit_dom_document_query_selector_all (
|
||||
+ document, "blockquote[type=cite] > :empty", NULL);
|
||||
+
|
||||
+ length = webkit_dom_node_list_get_length (list);
|
||||
+ for (ii = 0; ii < length; ii++)
|
||||
+ remove_node (webkit_dom_node_list_item (list, ii));
|
||||
+
|
||||
+ g_object_unref (list);
|
||||
+}
|
||||
+
|
||||
+/* Following two functions are used when deleting the selection inside
|
||||
+ * the quoted content. The thing is that normally the quote marks are not
|
||||
+ * selectable by user. But this caused a lof of problems for WebKit when removing
|
||||
+ * the selection. This will avoid it as when the delete or backspace key is pressed
|
||||
+ * we will make the quote marks user selectable so they will act as any other text.
|
||||
+ * On HTML keyup event callback we will make them again non-selectable. */
|
||||
+static void
|
||||
+disable_quote_marks_select (WebKitDOMDocument *document)
|
||||
+{
|
||||
+ WebKitDOMHTMLHeadElement *head;
|
||||
+ WebKitDOMElement *style_element;
|
||||
+
|
||||
+ head = webkit_dom_document_get_head (document);
|
||||
+
|
||||
+ if (!webkit_dom_document_get_element_by_id (document, "-x-evo-quote-style")) {
|
||||
+ style_element = webkit_dom_document_create_element (document, "style", NULL);
|
||||
+ webkit_dom_element_set_id (style_element, "-x-evo-quote-style");
|
||||
+ webkit_dom_html_element_set_inner_html (
|
||||
+ WEBKIT_DOM_HTML_ELEMENT (style_element),
|
||||
+ ".-x-evo-quoted { -webkit-user-select: none; }",
|
||||
+ NULL);
|
||||
+ webkit_dom_node_append_child (
|
||||
+ WEBKIT_DOM_NODE (head), WEBKIT_DOM_NODE (style_element), NULL);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+enable_quote_marks_select (WebKitDOMDocument *document)
|
||||
+{
|
||||
+ WebKitDOMElement *style_element;
|
||||
+
|
||||
+ if ((style_element = webkit_dom_document_get_element_by_id (document, "-x-evo-quote-style")))
|
||||
+ remove_node (WEBKIT_DOM_NODE (style_element));
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
body_keyup_event_cb (WebKitDOMElement *element,
|
||||
WebKitDOMUIEvent *event,
|
||||
EHTMLEditorView *view)
|
||||
@@ -2150,99 +2211,100 @@ body_keyup_event_cb (WebKitDOMElement *element,
|
||||
* BackSpace or Delete. */
|
||||
gint level;
|
||||
WebKitDOMElement *selection_start_marker, *selection_end_marker;
|
||||
- WebKitDOMElement *br_element;
|
||||
+ WebKitDOMElement *tmp_element;
|
||||
WebKitDOMDocument *document;
|
||||
- WebKitDOMNode *node, *parent;
|
||||
+ WebKitDOMNode *parent;
|
||||
+
|
||||
+ if (e_html_editor_view_get_html_mode (view))
|
||||
+ return;
|
||||
|
||||
document = webkit_dom_node_get_owner_document (WEBKIT_DOM_NODE (element));
|
||||
|
||||
+ disable_quote_marks_select (document);
|
||||
+ /* Remove empty blocks if presented. */
|
||||
+ remove_empty_blocks (document);
|
||||
+
|
||||
e_html_editor_selection_save (selection);
|
||||
selection_start_marker = webkit_dom_document_get_element_by_id (
|
||||
document, "-x-evo-selection-start-marker");
|
||||
selection_end_marker = webkit_dom_document_get_element_by_id (
|
||||
document, "-x-evo-selection-end-marker");
|
||||
|
||||
- level = get_citation_level (
|
||||
- WEBKIT_DOM_NODE (selection_start_marker), FALSE);
|
||||
- if (level == 0)
|
||||
- goto restore;
|
||||
-
|
||||
- node = webkit_dom_node_get_previous_sibling (
|
||||
- WEBKIT_DOM_NODE (selection_start_marker));
|
||||
-
|
||||
- if (WEBKIT_DOM_IS_HTMLBR_ELEMENT (node))
|
||||
- node = webkit_dom_node_get_previous_sibling (node);
|
||||
-
|
||||
- if (node)
|
||||
- goto restore;
|
||||
-
|
||||
- parent = get_parent_block_node_from_child (
|
||||
- WEBKIT_DOM_NODE (selection_start_marker));
|
||||
-
|
||||
- node = webkit_dom_node_get_previous_sibling (parent);
|
||||
- if (!node) {
|
||||
- /* Situation where the start of the selection was in the
|
||||
- * multiple quoted content and that start on the beginning
|
||||
- * of the citation.
|
||||
- *
|
||||
- * >
|
||||
- * >> |
|
||||
- * >> xx|x
|
||||
- * */
|
||||
- node = webkit_dom_node_get_parent_node (parent);
|
||||
- if (!WEBKIT_DOM_IS_HTML_QUOTE_ELEMENT (node))
|
||||
- goto restore;
|
||||
- node = webkit_dom_node_get_previous_sibling (node);
|
||||
- if (!node)
|
||||
- goto restore;
|
||||
- if (!WEBKIT_DOM_IS_HTML_QUOTE_ELEMENT (webkit_dom_node_get_parent_node (node)))
|
||||
- goto restore;
|
||||
+ /* If we deleted a selection the caret will be inside the quote marks, fix it. */
|
||||
+ parent = webkit_dom_node_get_parent_node (WEBKIT_DOM_NODE (selection_start_marker));
|
||||
+ if (element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-quote-character")) {
|
||||
+ webkit_dom_node_insert_before (
|
||||
+ webkit_dom_node_get_parent_node (
|
||||
+ webkit_dom_node_get_parent_node (parent)),
|
||||
+ WEBKIT_DOM_NODE (selection_end_marker),
|
||||
+ webkit_dom_node_get_next_sibling (
|
||||
+ webkit_dom_node_get_parent_node (parent)),
|
||||
+ NULL);
|
||||
+ webkit_dom_node_insert_before (
|
||||
+ webkit_dom_node_get_parent_node (
|
||||
+ webkit_dom_node_get_parent_node (parent)),
|
||||
+ WEBKIT_DOM_NODE (selection_start_marker),
|
||||
+ webkit_dom_node_get_next_sibling (
|
||||
+ webkit_dom_node_get_parent_node (parent)),
|
||||
+ NULL);
|
||||
}
|
||||
|
||||
- br_element = webkit_dom_element_query_selector (
|
||||
- WEBKIT_DOM_ELEMENT (node), "span.-x-evo-quote-character > br", NULL);
|
||||
- if (br_element) {
|
||||
- WebKitDOMNode *tmp;
|
||||
-
|
||||
- if (WEBKIT_DOM_IS_HTML_QUOTE_ELEMENT (node)) {
|
||||
- /* We have to select the right block when the selection
|
||||
- * started on the end of the citation that is
|
||||
- * inside another citation.
|
||||
- *
|
||||
- * >>|
|
||||
- * > xx|x
|
||||
- */
|
||||
- /* <span class="-x-evo-quote-character"> */
|
||||
- node = webkit_dom_node_get_parent_node (
|
||||
- WEBKIT_DOM_NODE (br_element));
|
||||
- /* <span class="-x-evo-quoted"> */
|
||||
- node = webkit_dom_node_get_parent_node (node);
|
||||
- /* right block */
|
||||
- node = webkit_dom_node_get_parent_node (node);
|
||||
- }
|
||||
+ /* Under some circumstances we will end with block inside the citation
|
||||
+ * that has the quote marks removed and we have to reinsert them back. */
|
||||
+ level = get_citation_level (WEBKIT_DOM_NODE (selection_start_marker), FALSE);
|
||||
+ if (level > 0) {
|
||||
+ WebKitDOMNode *prev_sibling;
|
||||
|
||||
- webkit_dom_node_append_child (
|
||||
- node, WEBKIT_DOM_NODE (selection_start_marker), NULL);
|
||||
+ prev_sibling = webkit_dom_node_get_previous_sibling (
|
||||
+ WEBKIT_DOM_NODE (selection_start_marker));
|
||||
+ if (!prev_sibling ||
|
||||
+ (WEBKIT_DOM_IS_HTMLBR_ELEMENT (prev_sibling) &&
|
||||
+ !webkit_dom_node_get_previous_sibling (prev_sibling))) {
|
||||
+ WebKitDOMElement *block;
|
||||
+
|
||||
+ block = WEBKIT_DOM_ELEMENT (get_parent_block_node_from_child (
|
||||
+ WEBKIT_DOM_NODE (selection_start_marker)));
|
||||
+ if (element_has_class (block, "-x-evo-paragraph")) {
|
||||
+ gint length, word_wrap_length;
|
||||
+
|
||||
+ word_wrap_length = e_html_editor_selection_get_word_wrap_length (selection);
|
||||
+ length = word_wrap_length - 2 * (level - 1);
|
||||
+ block = e_html_editor_selection_wrap_paragraph_length (
|
||||
+ selection, block, length);
|
||||
+ webkit_dom_node_normalize (WEBKIT_DOM_NODE (block));
|
||||
+ }
|
||||
+ quote_plain_text_element_after_wrapping (
|
||||
+ document, block, level);
|
||||
+ }
|
||||
+ }
|
||||
|
||||
- while ((tmp = webkit_dom_node_get_next_sibling (WEBKIT_DOM_NODE (selection_end_marker))))
|
||||
- webkit_dom_node_append_child (node, tmp, NULL);
|
||||
+ /* Situation where the start of the selection was in the beginning
|
||||
+ * of the block in quoted content and the end in the beginning of
|
||||
+ * content that is after the citation or the selection end was in
|
||||
+ * the end of the quoted content (showed by ^). The correct structure
|
||||
+ * in these cases is to have empty block after the citation.
|
||||
+ *
|
||||
+ * > |xxx
|
||||
+ * > xxx^
|
||||
+ * |xxx
|
||||
+ * */
|
||||
+ tmp_element = webkit_dom_document_get_element_by_id (document, "-x-evo-tmp-block");
|
||||
+ if (tmp_element) {
|
||||
+ remove_wrapping_from_element (tmp_element);
|
||||
+ remove_quoting_from_element (tmp_element);
|
||||
+ webkit_dom_element_remove_attribute (tmp_element, "id");
|
||||
+
|
||||
+ parent = webkit_dom_node_get_parent_node (WEBKIT_DOM_NODE (tmp_element));
|
||||
+ while (parent && !WEBKIT_DOM_IS_HTML_BODY_ELEMENT (webkit_dom_node_get_parent_node (parent)))
|
||||
+ parent = webkit_dom_node_get_parent_node (parent);
|
||||
|
||||
webkit_dom_node_insert_before (
|
||||
- node,
|
||||
- WEBKIT_DOM_NODE (selection_end_marker),
|
||||
- webkit_dom_node_get_next_sibling (
|
||||
- WEBKIT_DOM_NODE (selection_start_marker)),
|
||||
+ webkit_dom_node_get_parent_node (parent),
|
||||
+ WEBKIT_DOM_NODE (tmp_element),
|
||||
+ webkit_dom_node_get_next_sibling (parent),
|
||||
NULL);
|
||||
-
|
||||
- if (!WEBKIT_DOM_IS_HTMLBR_ELEMENT (webkit_dom_node_get_last_child (node)))
|
||||
- webkit_dom_node_append_child (
|
||||
- node, WEBKIT_DOM_NODE (br_element), NULL);
|
||||
- else
|
||||
- remove_node (WEBKIT_DOM_NODE (br_element));
|
||||
-
|
||||
- remove_node (parent);
|
||||
}
|
||||
- restore:
|
||||
+
|
||||
e_html_editor_selection_restore (selection);
|
||||
} else if (key_code == HTML_KEY_CODE_CONTROL)
|
||||
html_editor_view_set_links_active (view, FALSE);
|
||||
@@ -2825,6 +2887,127 @@ change_quoted_block_to_normal (EHTMLEditorView *view)
|
||||
}
|
||||
|
||||
static gboolean
|
||||
+fix_structure_after_delete_before_quoted_content (EHTMLEditorView *view)
|
||||
+{
|
||||
+ EHTMLEditorSelection *selection;
|
||||
+ gboolean collapsed = FALSE;
|
||||
+ WebKitDOMDocument *document;
|
||||
+ WebKitDOMElement *selection_start_marker, *selection_end_marker;
|
||||
+ WebKitDOMNode *block, *node;
|
||||
+
|
||||
+ selection = e_html_editor_view_get_selection (view);
|
||||
+
|
||||
+ collapsed = e_html_editor_selection_is_collapsed (selection);
|
||||
+
|
||||
+ e_html_editor_selection_save (selection);
|
||||
+
|
||||
+ document = webkit_web_view_get_dom_document (WEBKIT_WEB_VIEW (view));
|
||||
+ selection_start_marker = webkit_dom_document_query_selector (
|
||||
+ document, "span#-x-evo-selection-start-marker", NULL);
|
||||
+ selection_end_marker = webkit_dom_document_query_selector (
|
||||
+ document, "span#-x-evo-selection-end-marker", NULL);
|
||||
+
|
||||
+ if (!selection_start_marker || !selection_end_marker)
|
||||
+ return FALSE;
|
||||
+
|
||||
+ if (collapsed) {
|
||||
+ WebKitDOMNode *next_sibling;
|
||||
+
|
||||
+ block = get_parent_block_node_from_child (
|
||||
+ WEBKIT_DOM_NODE (selection_start_marker));
|
||||
+
|
||||
+ next_sibling = webkit_dom_node_get_next_sibling (block);
|
||||
+
|
||||
+ /* Next block is quoted content */
|
||||
+ if (!WEBKIT_DOM_IS_HTML_QUOTE_ELEMENT (next_sibling))
|
||||
+ goto restore;
|
||||
+
|
||||
+ /* Delete was pressed in block without any content */
|
||||
+ if (webkit_dom_node_get_previous_sibling (WEBKIT_DOM_NODE (selection_start_marker)))
|
||||
+ goto restore;
|
||||
+
|
||||
+ /* If there is just BR element go ahead */
|
||||
+ node = webkit_dom_node_get_next_sibling (WEBKIT_DOM_NODE (selection_end_marker));
|
||||
+ if (node && !WEBKIT_DOM_IS_HTMLBR_ELEMENT (node))
|
||||
+ goto restore;
|
||||
+ else {
|
||||
+ /* Remove the empty block and move caret into the beginning of the citation */
|
||||
+ remove_node (block);
|
||||
+
|
||||
+ e_html_editor_selection_move_caret_into_element (
|
||||
+ document, WEBKIT_DOM_ELEMENT (next_sibling), TRUE);
|
||||
+
|
||||
+ return TRUE;
|
||||
+ }
|
||||
+ } else {
|
||||
+ WebKitDOMNode *end_block;
|
||||
+
|
||||
+ /* Let the quote marks be selectable to nearly correctly remove the
|
||||
+ * selection. Corrections after are done in body_keyup_event_cb. */
|
||||
+ enable_quote_marks_select (document);
|
||||
+
|
||||
+ node = webkit_dom_node_get_previous_sibling (
|
||||
+ WEBKIT_DOM_NODE (selection_start_marker));
|
||||
+
|
||||
+ if (!node || !WEBKIT_DOM_IS_ELEMENT (node))
|
||||
+ goto restore;
|
||||
+
|
||||
+ if (!element_has_class (WEBKIT_DOM_ELEMENT (node), "-x-evo-quoted"))
|
||||
+ goto restore;
|
||||
+
|
||||
+ webkit_dom_node_insert_before (
|
||||
+ webkit_dom_node_get_parent_node (WEBKIT_DOM_NODE (node)),
|
||||
+ WEBKIT_DOM_NODE (selection_start_marker),
|
||||
+ WEBKIT_DOM_NODE (node),
|
||||
+ NULL);
|
||||
+
|
||||
+ block = get_parent_block_node_from_child (
|
||||
+ WEBKIT_DOM_NODE (selection_start_marker));
|
||||
+ end_block = get_parent_block_node_from_child (
|
||||
+ WEBKIT_DOM_NODE (selection_end_marker));
|
||||
+
|
||||
+ /* Situation where the start of the selection is in the beginning
|
||||
+ * of the block in quoted content and the end in the beginning of
|
||||
+ * content that is after the citation or the selection end is in
|
||||
+ * the end of the quoted content (showed by ^). We have to
|
||||
+ * mark the start block to correctly restore the structure
|
||||
+ * afterwards.
|
||||
+ *
|
||||
+ * > |xxx
|
||||
+ * > xxx^
|
||||
+ * |xxx
|
||||
+ * */
|
||||
+ if (get_citation_level (end_block, FALSE) > 0) {
|
||||
+ WebKitDOMNode *parent;
|
||||
+
|
||||
+ if (webkit_dom_node_get_next_sibling (end_block))
|
||||
+ goto restore;
|
||||
+
|
||||
+ parent = webkit_dom_node_get_parent_node (end_block);
|
||||
+ while (parent && WEBKIT_DOM_IS_HTML_QUOTE_ELEMENT (parent)) {
|
||||
+ WebKitDOMNode *next_parent = webkit_dom_node_get_parent_node (parent);
|
||||
+
|
||||
+ if (webkit_dom_node_get_next_sibling (parent) &&
|
||||
+ !WEBKIT_DOM_IS_HTML_BODY_ELEMENT (next_parent))
|
||||
+ goto restore;
|
||||
+
|
||||
+ parent = next_parent;
|
||||
+ }
|
||||
+ }
|
||||
+ node = webkit_dom_node_get_next_sibling (
|
||||
+ WEBKIT_DOM_NODE (selection_end_marker));
|
||||
+ if (!node || WEBKIT_DOM_IS_HTMLBR_ELEMENT (node)) {
|
||||
+ webkit_dom_element_set_id (
|
||||
+ WEBKIT_DOM_ELEMENT (block), "-x-evo-tmp-block");
|
||||
+ }
|
||||
+ }
|
||||
+ restore:
|
||||
+ e_html_editor_selection_restore (selection);
|
||||
+
|
||||
+ return FALSE;
|
||||
+}
|
||||
+
|
||||
+static gboolean
|
||||
html_editor_view_key_press_event (GtkWidget *widget,
|
||||
GdkEventKey *event)
|
||||
{
|
||||
@@ -2916,6 +3099,10 @@ html_editor_view_key_press_event (GtkWidget *widget,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
+ if (event->keyval == GDK_KEY_Delete || event->keyval == GDK_KEY_BackSpace)
|
||||
+ if (fix_structure_after_delete_before_quoted_content (view))
|
||||
+ return TRUE;
|
||||
+
|
||||
/* Chain up to parent's key_press_event() method. */
|
||||
return GTK_WIDGET_CLASS (e_html_editor_view_parent_class)->
|
||||
key_press_event (widget, event);
|
||||
@@ -4570,6 +4757,9 @@ clear_attributes (WebKitDOMDocument *document)
|
||||
while (webkit_dom_node_get_first_child (WEBKIT_DOM_NODE (head)))
|
||||
remove_node (webkit_dom_node_get_first_child (WEBKIT_DOM_NODE (head)));
|
||||
|
||||
+ /* Make the quote marks non-selectable. */
|
||||
+ disable_quote_marks_select (document);
|
||||
+
|
||||
/* Remove non Evolution attributes from BODY element */
|
||||
attributes = webkit_dom_element_get_attributes (WEBKIT_DOM_ELEMENT (body));
|
||||
length = webkit_dom_named_node_map_get_length (attributes);
|
||||
@@ -4718,16 +4908,20 @@ html_editor_convert_view_content (EHTMLEditorView *view,
|
||||
document, "span.-x-evo-to-body[data-credits]", NULL);
|
||||
length = webkit_dom_node_list_get_length (list);
|
||||
for (ii = 0; ii < length; ii++) {
|
||||
- WebKitDOMNode *node, *child;
|
||||
+ char *credits;
|
||||
+ WebKitDOMElement *pre_element;
|
||||
+ WebKitDOMNode *node = webkit_dom_node_list_item (list, ii);
|
||||
|
||||
- node = webkit_dom_node_list_item (list, ii);
|
||||
- while ((child = webkit_dom_node_get_first_child (node))) {
|
||||
- webkit_dom_node_insert_before (
|
||||
- WEBKIT_DOM_NODE (wrapper),
|
||||
- child,
|
||||
- WEBKIT_DOM_NODE (content_wrapper),
|
||||
- NULL);
|
||||
- }
|
||||
+ pre_element = webkit_dom_document_create_element (document, "pre", NULL);
|
||||
+ credits = webkit_dom_element_get_attribute (WEBKIT_DOM_ELEMENT (node), "data-credits");
|
||||
+ webkit_dom_html_element_set_inner_text (WEBKIT_DOM_HTML_ELEMENT (pre_element), credits, NULL);
|
||||
+ g_free (credits);
|
||||
+
|
||||
+ webkit_dom_node_insert_before (
|
||||
+ WEBKIT_DOM_NODE (wrapper),
|
||||
+ WEBKIT_DOM_NODE (pre_element),
|
||||
+ WEBKIT_DOM_NODE (content_wrapper),
|
||||
+ NULL);
|
||||
|
||||
remove_node (node);
|
||||
}
|
||||
@@ -4927,6 +5121,8 @@ html_editor_view_insert_converted_html_into_selection (EHTMLEditorView *view,
|
||||
document, "-x-evo-selection-end-marker");
|
||||
current_block = get_parent_block_node_from_child (
|
||||
WEBKIT_DOM_NODE (selection_start_marker));
|
||||
+ if (WEBKIT_DOM_IS_HTML_BODY_ELEMENT (current_block))
|
||||
+ current_block = NULL;
|
||||
|
||||
element = webkit_dom_document_create_element (document, "div", NULL);
|
||||
if (is_html) {
|
||||
@@ -6230,9 +6426,6 @@ process_elements (EHTMLEditorView *view,
|
||||
remove_base_attributes (WEBKIT_DOM_ELEMENT (child));
|
||||
remove_evolution_attributes (WEBKIT_DOM_ELEMENT (child));
|
||||
}
|
||||
- if (!changing_mode && to_plain_text)
|
||||
- if (!webkit_dom_node_has_child_nodes (child))
|
||||
- g_string_append (buffer, "\n");
|
||||
}
|
||||
|
||||
/* Signature */
|
||||
@@ -6261,7 +6454,6 @@ process_elements (EHTMLEditorView *view,
|
||||
WEBKIT_DOM_HTML_ELEMENT (child));
|
||||
g_string_append (buffer, content);
|
||||
g_free (content);
|
||||
- skip_node = TRUE;
|
||||
}
|
||||
skip_node = TRUE;
|
||||
goto next;
|
||||
@@ -7043,6 +7235,9 @@ html_editor_view_load_status_changed (EHTMLEditorView *view)
|
||||
webkit_dom_element_set_attribute (
|
||||
WEBKIT_DOM_ELEMENT (body), "data-message", "", NULL);
|
||||
|
||||
+ /* Make the quote marks non-selectable. */
|
||||
+ disable_quote_marks_select (document);
|
||||
+
|
||||
if (view->priv->convert_in_situ) {
|
||||
html_editor_convert_view_content (view, NULL);
|
||||
view->priv->convert_in_situ = FALSE;
|
||||
@@ -7057,7 +7252,7 @@ html_editor_view_load_status_changed (EHTMLEditorView *view)
|
||||
if (webkit_dom_element_get_attribute (WEBKIT_DOM_ELEMENT (body), "data-evo-draft")) {
|
||||
/* Restore the selection how it was when the draft was saved */
|
||||
e_html_editor_selection_move_caret_into_element (
|
||||
- document, WEBKIT_DOM_ELEMENT (body));
|
||||
+ document, WEBKIT_DOM_ELEMENT (body), FALSE);
|
||||
e_html_editor_selection_restore (
|
||||
e_html_editor_view_get_selection (view));
|
||||
}
|
||||
@@ -7812,7 +8007,8 @@ e_html_editor_view_update_fonts (EHTMLEditorView *view)
|
||||
" font-family: '%s';\n"
|
||||
" font-size: %dpt;\n"
|
||||
" font-weight: %d;\n"
|
||||
- " font-style: %s;\n",
|
||||
+ " font-style: %s;\n"
|
||||
+ " -webkit-line-break: after-white-space;\n",
|
||||
pango_font_description_get_family (vw),
|
||||
pango_font_description_get_size (vw) / PANGO_SCALE,
|
||||
pango_font_description_get_weight (vw),
|
||||
@@ -8007,13 +8203,6 @@ e_html_editor_view_update_fonts (EHTMLEditorView *view)
|
||||
|
||||
g_string_append (stylesheet, "}\n");
|
||||
|
||||
- g_string_append (
|
||||
- stylesheet,
|
||||
- ".-x-evo-quoted "
|
||||
- "{\n"
|
||||
- " -webkit-user-select: none;\n"
|
||||
- "}\n");
|
||||
-
|
||||
g_string_append_printf (
|
||||
stylesheet,
|
||||
".-x-evo-quote-character "
|
||||
diff --git a/em-format/e-mail-formatter-quote.c b/em-format/e-mail-formatter-quote.c
|
||||
index 4df8be6..1916bba 100644
|
||||
--- a/em-format/e-mail-formatter-quote.c
|
||||
+++ b/em-format/e-mail-formatter-quote.c
|
||||
@@ -122,7 +122,7 @@ mail_formatter_quote_run (EMailFormatter *formatter,
|
||||
* the special span element and it will be moved to body in EHTMLEditorView */
|
||||
if (qf->priv->credits && *qf->priv->credits) {
|
||||
gchar *credits = g_strdup_printf (
|
||||
- "<span class=\"-x-evo-to-body\" data-credits><pre>%s</pre></span>",
|
||||
+ "<span class=\"-x-evo-to-body\" data-credits=\"%s\"></span>",
|
||||
qf->priv->credits);
|
||||
g_output_stream_write_all (
|
||||
stream, credits, strlen (credits), NULL, cancellable, NULL);
|
||||
@@ -133,7 +133,7 @@ mail_formatter_quote_run (EMailFormatter *formatter,
|
||||
* after the message and cite it in EHTMLEditorView because of reasons
|
||||
* mentioned above */
|
||||
if (qf->priv->flags & E_MAIL_FORMATTER_QUOTE_FLAG_CITE) {
|
||||
- string = "<span class=\"-x-evo-cite-body\"><span>";
|
||||
+ string = "<span class=\"-x-evo-cite-body\"></span>";
|
||||
g_output_stream_write_all (
|
||||
stream, string, strlen (string), NULL, cancellable, NULL);
|
||||
}
|
||||
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
|
||||
index 795ac9e..fcba621 100644
|
||||
--- a/mail/em-composer-utils.c
|
||||
+++ b/mail/em-composer-utils.c
|
||||
@@ -2871,8 +2871,7 @@ composer_set_body (EMsgComposer *composer,
|
||||
original = quoting_text (QUOTING_ORIGINAL);
|
||||
text = em_utils_message_to_html (
|
||||
session, message, original, E_MAIL_FORMATTER_QUOTE_FLAG_HEADERS,
|
||||
- parts_list, "<span id=\"-x-evolution-reply-citation\">",
|
||||
- "</span>", &validity_found);
|
||||
+ parts_list, NULL, NULL, &validity_found);
|
||||
e_msg_composer_set_body_text (composer, text, TRUE);
|
||||
g_free (text);
|
||||
g_free (original);
|
||||
@@ -2885,8 +2884,7 @@ composer_set_body (EMsgComposer *composer,
|
||||
credits = attribution_format (message);
|
||||
text = em_utils_message_to_html (
|
||||
session, message, credits, E_MAIL_FORMATTER_QUOTE_FLAG_CITE,
|
||||
- parts_list, "<span id=\"-x-evolution-reply-citation\">",
|
||||
- "</span>", &validity_found);
|
||||
+ parts_list, NULL, NULL, &validity_found);
|
||||
g_free (credits);
|
||||
e_msg_composer_set_body_text (composer, text, TRUE);
|
||||
g_free (text);
|
||||
2903
evolution.spec
2903
evolution.spec
File diff suppressed because it is too large
Load diff
10
flatpak-evolution-fix-service-names.sh
Executable file
10
flatpak-evolution-fix-service-names.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/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}|"
|
||||
29
flatpak-evolution-wrapper.sh.in
Normal file
29
flatpak-evolution-wrapper.sh.in
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#!/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
|
||||
5
rpminspect.yaml
Normal file
5
rpminspect.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
runpath:
|
||||
allowed_paths:
|
||||
- /usr/lib/evolution
|
||||
- /usr/lib64/evolution
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
b19376206d98624a5f232a7826872e3f evolution-3.13.10.tar.xz
|
||||
SHA512 (evolution-3.59.1.tar.xz) = 26d6d4dfcdbc3d89f88d9e24096c7ff910d221119def75d7f80a397f682be96860726832c7c62b46769ce9cfcc15e5844cbcc016facc9b21b4eb9bbb2c17360d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue