commit
7f85dbeff8
@ -0,0 +1 @@
|
|||||||
|
67e94ffe2360fd71e60c996ea83b57ed2a97ead5 SOURCES/evolution-3.54.2.tar.xz
|
@ -0,0 +1 @@
|
|||||||
|
SOURCES/evolution-3.54.2.tar.xz
|
@ -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);
|
@ -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}|"
|
@ -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
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue