Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Milan Crha
b8d9b1c1e5 Update to 3.32.5 2019-11-11 11:12:28 +01:00
Milan Crha
c5e7e455a4 Add changes related to Flatpak build 2019-08-06 15:59:49 +02:00
Milan Crha
03aab26fcb Update to 3.32.4 2019-07-15 11:48:29 +02:00
Milan Crha
ae24b9cf25 Update to 3.32.3 2019-06-17 17:30:22 +02:00
Milan Crha
750c74c168 Update to 3.32.2 2019-05-06 13:46:13 +02:00
Milan Crha
bc8bbf155b Update to 3.32.1 2019-04-08 15:43:59 +02:00
Milan Crha
c805e0f94a Update to 3.32.0 2019-03-11 10:51:17 +01:00
Milan Crha
7d5b25b283 Update to 3.31.92 2019-03-04 12:54:46 +01:00
4 changed files with 110 additions and 6 deletions

View file

@ -26,17 +26,23 @@
# Coverity scan can override this to 0, to skip checking in gtk-doc generated code # Coverity scan can override this to 0, to skip checking in gtk-doc generated code
%{!?with_docs: %global with_docs 1} %{!?with_docs: %global with_docs 1}
%if 0%{?flatpak}
%global with_docs 0
%endif
%define evo_plugin_dir %{_libdir}/evolution/plugins %define evo_plugin_dir %{_libdir}/evolution/plugins
### Abstract ### ### Abstract ###
Name: evolution Name: evolution
Version: 3.31.91 Version: 3.32.5
Release: 1%{?dist} Release: 1%{?dist}
Summary: Mail and calendar client for GNOME Summary: Mail and calendar client for GNOME
License: GPLv2+ and GFDL License: GPLv2+ and GFDL
URL: https://wiki.gnome.org/Apps/Evolution URL: https://wiki.gnome.org/Apps/Evolution
Source: http://download.gnome.org/sources/%{name}/3.31/%{name}-%{version}.tar.xz Source: http://download.gnome.org/sources/%{name}/3.32/%{name}-%{version}.tar.xz
Source1: flatpak-evolution-fix-service-names.sh
Source2: flatpak-evolution-wrapper.sh.in
### Patches ### ### Patches ###
@ -53,20 +59,26 @@ Obsoletes: evolution-tests <= 3.31.1
## Dependencies ### ## Dependencies ###
%if ! 0%{?flatpak}
Requires: %{_bindir}/killall Requires: %{_bindir}/killall
Requires: evolution-data-server >= %{eds_version}
Requires: gvfs Requires: gvfs
%endif
Requires: evolution-data-server >= %{eds_version}
Requires: gtkspell3 Requires: gtkspell3
Requires: highlight Requires: highlight
Requires: %{name}-langpacks = %{version}-%{release} Requires: %{name}-langpacks = %{version}-%{release}
### Build Dependencies ### ### Build Dependencies ###
%if ! 0%{?flatpak}
BuildRequires: %{_bindir}/killall BuildRequires: %{_bindir}/killall
%endif
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gettext BuildRequires: gettext
%if %{with_docs}
BuildRequires: gtk-doc BuildRequires: gtk-doc
%endif
BuildRequires: highlight BuildRequires: highlight
BuildRequires: intltool >= %{intltool_version} BuildRequires: intltool >= %{intltool_version}
BuildRequires: itstool BuildRequires: itstool
@ -76,7 +88,11 @@ BuildRequires: yelp-tools
BuildRequires: pkgconfig(atk) BuildRequires: pkgconfig(atk)
BuildRequires: pkgconfig(cairo-gobject) BuildRequires: pkgconfig(cairo-gobject)
BuildRequires: pkgconfig(camel-1.2) >= %{eds_version} BuildRequires: pkgconfig(camel-1.2) >= %{eds_version}
%if 0%{?flatpak}
BuildRequires: pkgconfig(enchant-2)
%else
BuildRequires: pkgconfig(enchant) BuildRequires: pkgconfig(enchant)
%endif
BuildRequires: pkgconfig(gail-3.0) >= %{gtk3_version} BuildRequires: pkgconfig(gail-3.0) >= %{gtk3_version}
BuildRequires: pkgconfig(gcr-3) BuildRequires: pkgconfig(gcr-3)
BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gdk-pixbuf-2.0)
@ -143,6 +159,8 @@ Obsoletes: libgal2-devel <= %{last_libgal2_version}
%description devel %description devel
Development files needed for building things which link against %{name}. Development files needed for building things which link against %{name}.
%if %{with_docs}
%package devel-docs %package devel-docs
Summary: Developer documentation for Evolution Summary: Developer documentation for Evolution
Requires: devhelp Requires: devhelp
@ -152,6 +170,8 @@ BuildArch: noarch
%description devel-docs %description devel-docs
This package contains developer documentation for Evolution. This package contains developer documentation for Evolution.
%endif
%package langpacks %package langpacks
Summary: Translations for %{name} Summary: Translations for %{name}
BuildArch: noarch BuildArch: noarch
@ -217,6 +237,11 @@ for inbox in src/mail/default/*/Inbox; do
echo -n "" > $inbox echo -n "" > $inbox
done done
%if 0%{?flatpak}
mv data/org.gnome.Evolution.desktop.in.in data/org.gnome.Evolution.desktop.in.i
cat data/org.gnome.Evolution.desktop.in.i | sed -e "s/Icon=evolution/Icon=org.gnome.Evolution/" >data/org.gnome.Evolution.desktop.in.in
%endif
%build %build
mkdir -p _build mkdir -p _build
@ -289,11 +314,18 @@ rm -rf $RPM_BUILD_ROOT
cd _build cd _build
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
%if 0%{?flatpak}
%{S:1} <%{S:2} >flatpak-evolution-wrapper.sh
chmod a+x flatpak-evolution-wrapper.sh
mv $RPM_BUILD_ROOT%{_bindir}/evolution $RPM_BUILD_ROOT%{_bindir}/evolution.bin
cp flatpak-evolution-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/evolution
%endif
%find_lang evolution --all-name --with-gnome %find_lang evolution --all-name --with-gnome
grep "/usr/share/locale" evolution.lang > translations.lang grep "%{_datadir}/locale" evolution.lang > translations.lang
%if %{with_docs} %if %{with_docs}
grep -v "/usr/share/locale" evolution.lang > help.lang grep -v "%{_datadir}/locale" evolution.lang > help.lang
%endif %endif
%ldconfig_scriptlets %ldconfig_scriptlets
@ -329,6 +361,10 @@ grep -v "/usr/share/locale" evolution.lang > help.lang
# The main executable # The main executable
%{_bindir}/evolution %{_bindir}/evolution
%if 0%{?flatpak}
%{_bindir}/evolution.bin
%endif
%{_datadir}/metainfo/org.gnome.Evolution.appdata.xml %{_datadir}/metainfo/org.gnome.Evolution.appdata.xml
# Desktop files: # Desktop files:
@ -474,6 +510,8 @@ grep -v "/usr/share/locale" evolution.lang > help.lang
%{_libdir}/pkgconfig/evolution-shell-3.0.pc %{_libdir}/pkgconfig/evolution-shell-3.0.pc
%{_libdir}/pkgconfig/libemail-engine.pc %{_libdir}/pkgconfig/libemail-engine.pc
%if %{with_docs}
%files devel-docs %files devel-docs
%doc %{_datadir}/gtk-doc/html/evolution-mail-composer %doc %{_datadir}/gtk-doc/html/evolution-mail-composer
%doc %{_datadir}/gtk-doc/html/evolution-mail-engine %doc %{_datadir}/gtk-doc/html/evolution-mail-engine
@ -481,6 +519,8 @@ grep -v "/usr/share/locale" evolution.lang > help.lang
%doc %{_datadir}/gtk-doc/html/evolution-shell %doc %{_datadir}/gtk-doc/html/evolution-shell
%doc %{_datadir}/gtk-doc/html/evolution-util %doc %{_datadir}/gtk-doc/html/evolution-util
%endif
%files langpacks -f _build/translations.lang %files langpacks -f _build/translations.lang
%if %{with_docs} %if %{with_docs}
@ -509,6 +549,27 @@ grep -v "/usr/share/locale" evolution.lang > help.lang
%endif %endif
%changelog %changelog
* Mon Nov 11 2019 Milan Crha <mcrha@redhat.com> - 3.32.5-1
- Update to 3.32.5
* Mon Jul 15 2019 Milan Crha <mcrha@redhat.com> - 3.32.4-1
- Update to 3.32.4
* Mon Jun 17 2019 Milan Crha <mcrha@redhat.com> - 3.32.3-1
- Update to 3.32.3
* Mon May 06 2019 Milan Crha <mcrha@redhat.com> - 3.32.2-1
- Update to 3.32.2
* Mon Apr 08 2019 Milan Crha <mcrha@redhat.com> - 3.32.1-1
- Update to 3.32.1
* Mon Mar 11 2019 Milan Crha <mcrha@redhat.com> - 3.32.0-1
- Update to 3.32.0
* Mon Mar 04 2019 Milan Crha <mcrha@redhat.com> - 3.31.92-1
- Update to 3.31.92
* Mon Feb 18 2019 Milan Crha <mcrha@redhat.com> - 3.31.91-1 * Mon Feb 18 2019 Milan Crha <mcrha@redhat.com> - 3.31.91-1
- Update to 3.31.91 - Update to 3.31.91

View 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}|"

View 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

View file

@ -1 +1 @@
SHA512 (evolution-3.31.91.tar.xz) = 35de5ce3b314aa22c33a72faad20612a6bd300a8ab4f17c37e79d67bcc3e69a0cb2021fbe005024471411e12f6e9bd7fb24b19daf1bc490526cf2aa79dd7d568 SHA512 (evolution-3.32.5.tar.xz) = b77715d290ad3727a68416d425a19a0d10b5ebab69538d702008bc158fa70ea8bdb43f8cc55ebdf913f88ccf408df31ff5919ae5ccd3e94eeecd0f9f97592f96