RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/evolution#40034cda8ceae573f1d30caf7a342b35e8f7d39c
This commit is contained in:
parent
55a1a394df
commit
75094a0014
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/evolution-*.tar.xz
|
3459
evolution.spec
Normal file
3459
evolution.spec
Normal file
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}|"
|
33
flatpak-evolution-wrapper.sh.in
Normal file
33
flatpak-evolution-wrapper.sh.in
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
|
gpg-agent --homedir ~/.gnupg --daemon --pinentry-program=/app/bin/pinentry
|
||||||
|
|
||||||
|
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 "$@"
|
||||||
|
|
||||||
|
pkill -TERM gpg-agent
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user