diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-21 10:20:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-21 10:20:03 +0100 |
commit | 6f8038813c460b4f0572d5ef595cdfa94af3a94d (patch) | |
tree | 3509e94070265053394b7f2e30a779d7e60c2064 /gnome-extra/evolution-data-server | |
parent | eccb70a7f91b2d22582587f26d1a28bb31408b45 (diff) |
gentoo resync : 21.05.2019
Diffstat (limited to 'gnome-extra/evolution-data-server')
7 files changed, 1 insertions, 530 deletions
diff --git a/gnome-extra/evolution-data-server/Manifest b/gnome-extra/evolution-data-server/Manifest index 194bb0338819..ec34399e9bce 100644 --- a/gnome-extra/evolution-data-server/Manifest +++ b/gnome-extra/evolution-data-server/Manifest @@ -1,12 +1,5 @@ -AUX 3.24.7-DESTDIR-honoring.patch 1122 BLAKE2B 73d95683bd162f0e93de3b005787b2aa722b0a0f4ba58e3313fa3e66f90c159d5766ac03ee81c2fa3cb33ff2dedfcd4ffb59fb32ac88b17f04447d38c4a7605e SHA512 311e0163ef783430f4eea638e2ece92ab6d1c52d79f399190607eead5359f28eec647c626bb1c435eba427f7844456b4fd2dd60e75ca40331f1d249d1549eb0c -AUX 3.24.7-libical3-compat.patch 5323 BLAKE2B 5a2392751b009d6726490cbd11227d1d4c5ed5e61c8d0b6acdf282182dffcdeb31a2ed6395626231dc729dd9ee7b1ca26a3ce9148b3cca1fbdc83376e58baca7 SHA512 0b29c1d86eedf778d489a4a4c78bfc292898ceba2d90ac4c81aae2a0c65ac132e71de767f7a74ef839977c2fbdcc38da50579735e1775cfb5b2414fa304d19b5 AUX 3.30.5-collection-auth.patch 1519 BLAKE2B a0196ede2680939d8b1d945cb18c0446247bc9183d7c5f6d924601a95a8d296e4168693537c53945c12f88da02ae41f8b641d3a78f417d999dc0cc7dec435633 SHA512 7499b7ca85137da41232f597bfe25f022b05993aebb91d026016b5e23939880593ed11680be2a78eb9b7af78edc1bc3a50bde9275036ee72b532c3b5eb233a81 AUX calentry.schema 3661 BLAKE2B 0235e8d98d1367f209a31cc74da9563d53dfc12ca34e020f63a18fcb73c13345e58a9e4a9f5bb3e14a7774bdcd279118d84d971a4b164c8ce41cd26798efabdd SHA512 56606848319539b8c9af732a5d572db44e2d7da433b1689ef7f14a283880951e10d5fc39f27245a7ddc8f0cb2e7563a757060020c17e5411f875cae10b119834 -AUX icu61-compat.patch 1218 BLAKE2B 931b8894d8a6bd29e7dae1dc88b00ce50e59c745c44d4f771793dd26c50ded3f1be4b34ded9c0b9a3de3adecb6247fefd3128a25f47b74267d0fd05f48000a7b SHA512 f694a6b9ba0f5e6b881f932897a2df9dbedb0bdeaf53a75c432738b934a6e956e0fcaf78e6a00d8f28022a69e854c81d6e31d0f903ecf08b267ddb9eaf0e835c -DIST evolution-data-server-3.24.7.tar.xz 4253252 BLAKE2B ca435a4e6c3a003c5166bd06f0308766686cc9e02f1eb6a15a521c58805bafdfd39cbc7ee058339ba383329ab34a11ed2b0eeebd9b545219c4b3d8f51de8df60 SHA512 3e83cb0e87ec822ebf6c81963693e7c701d20266e0811bd261a78073c75724e2c24ac5d5561e997ed8567e9e519c175b3104fa6e2e28158854c8c3ec39a8e9df -DIST evolution-data-server-3.26.6.tar.xz 4406676 BLAKE2B d12fcc412736b505a30254a55763ffec68c1d8cd810fe62c82d7dd5947047caf7c296ccf8103b4a06496dbae38aa55ba9d071dc02442872274e2955d662be4cf SHA512 17522a19d9b4d19f89ccb67c76a89d599377eba36cf6dbe9fbc88fb162947b0208eaf1b4b6b5c4e9850dadf7e6ffea5161ba149b308415e94afc745bc1a448a7 DIST evolution-data-server-3.30.5.tar.xz 4582264 BLAKE2B 96303da0fcd285dffc2a56bab0828b2011238a0970dc50df005f690a76c432abad27afd74569b1cc6ff2ddc56f1dbde003241d53609b0222a474941724e46910 SHA512 b841b23343745afdc59f42ee384911ae24be6b1518095d52099ce5b657def17e5b4e1fe1e61fc1e03e4856b0d26c6a1abac3d9ee5530da84c645d07c69b8d859 -EBUILD evolution-data-server-3.24.7.ebuild 4177 BLAKE2B bfbf35a4746cd74ad7b473da253dd2970aa240ce6baa6667ad38e9e9f80d2bcd6220222a7eda1247324757932f9fc16e508e0744f43dd17292ed6f407ad37efc SHA512 08f14788b86e1319139cccbb29e3f099925816873361c4157a8302d4fdfcced40935ced2370bddd9da9635b8052597037813ab520b5e63252c195a2b62e3117d -EBUILD evolution-data-server-3.26.6.ebuild 4223 BLAKE2B c5caed5888987581c5d7c58567bf03b9dc5745bf6c2b6f18f4fc36996a38289109f6acaf4fc243650452281f0978d90a8838e81aef9c565fe906f61b4f3186af SHA512 8d815f157764a09987230011e75bd9a3973e6372827cf7a7d63eec8cb57ad82716683ba7faf60eb53b8270c041dd98ea127db3f2f324ac96a789115f8ee16973 EBUILD evolution-data-server-3.30.5-r1.ebuild 4385 BLAKE2B 610d2c44be8516e9fc04cc02e2af61fb01f04322a00ee686c5db8cc2309835b0f0af372a877632ca59911aba3ef368c271eb620f5b85c6b8983451695cee5699 SHA512 4f206a3d9ba9e8c2acca10c4b4bda1a7e5fee8b1beb977d2894998d2a0d3a7620c45ed7c2df219e734ee0e8edba22a6f26432d9b7a91aad39b00b09db726e1a5 -MISC metadata.xml 1146 BLAKE2B e40a9c9473a90caad62d2e2e0855e3365828a991171bbc56ed5aeba2c7c467af49a975048d7ef7f0665c1825a2f46708a85889b018e544f10a994bfca7c4eb8e SHA512 c152f4577ccbb14e3ea87fa05328303ef6bd4d5b4e4de554a6a77308a0687fe2ae13658b4e62efd1ec133b8a92e79f64a1babc2d9f9932c0bbc9c511855e9643 +MISC metadata.xml 849 BLAKE2B a02a770ca4498189e14588af9aa58d82a7e28fbbfd99d891dfaa7e4148c71a0d7c89ae33a6b41899a174fd6dfa8ba012a2c0a3e342b58c8d84369010859f4b8c SHA512 da5fba1f5313c6bb027d870279ead3f9cf6da27a3fed183dced79abaaf3de4bbbc49076a01968e3af5dbe004f1641c7f0773801a040ba824924955894bcbbb1a diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.24.7.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.24.7.ebuild deleted file mode 100644 index bfb034cf6c52..000000000000 --- a/gnome-extra/evolution-data-server/evolution-data-server-3.24.7.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -GNOME2_LA_PUNT="yes" -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy ) -VALA_USE_DEPEND="vapigen" - -inherit cmake-utils db-use flag-o-matic gnome2 python-any-r1 systemd vala virtualx - -DESCRIPTION="Evolution groupware backend" -HOMEPAGE="https://wiki.gnome.org/Apps/Evolution" - -# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+". -LICENSE="|| ( LGPL-2 LGPL-3 ) BSD Sleepycat" -SLOT="0/60" # subslot = libcamel-1.2 soname version - -IUSE="api-doc-extras berkdb +gnome-online-accounts +gtk google +introspection ipv6 ldap kerberos vala +weather" -REQUIRED_USE="vala? ( introspection )" - -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" - -# sys-libs/db is only required for migrating from <3.13 versions -# gdata-0.17.7 soft required for new gdata_feed_get_next_page_token API to handle more than 100 google tasks -# berkdb needed only for migrating old calendar data, bug #519512 -gdata_depend=">=dev-libs/libgdata-0.17.7:=" -RDEPEND=" - >=app-crypt/gcr-3.4 - >=app-crypt/libsecret-0.5[crypt] - >=dev-db/sqlite-3.7.17:= - >=dev-libs/glib-2.46:2 - >=dev-libs/libical-0.43:= - >=dev-libs/libxml2-2 - >=dev-libs/nspr-4.4:= - >=dev-libs/nss-3.9:= - >=net-libs/libsoup-2.42:2.4 - - dev-libs/icu:= - sys-libs/zlib:= - virtual/libiconv - - berkdb? ( >=sys-libs/db-4:= ) - gtk? ( - >=app-crypt/gcr-3.4[gtk] - >=x11-libs/gtk+-3.10:3 - ) - google? ( - >=dev-libs/json-glib-1.0.4 - >=net-libs/webkit-gtk-2.11.91:4 - ${gdata_depend} - ) - gnome-online-accounts? ( - >=net-libs/gnome-online-accounts-3.8:= - ${gdata_depend} ) - introspection? ( >=dev-libs/gobject-introspection-0.9.12:= ) - kerberos? ( virtual/krb5:= ) - ldap? ( >=net-nds/openldap-2:= ) - weather? ( >=dev-libs/libgweather-3.10:2= ) -" -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - dev-util/gdbus-codegen - dev-util/gperf - >=dev-util/gtk-doc-am-1.14 - >=dev-util/intltool-0.35.5 - >=sys-devel/gettext-0.18.3 - virtual/pkgconfig - vala? ( $(vala_depend) ) -" - -# Some tests fail due to missings locales. -# Also, dbus tests are flacky, bugs #397975 #501834 -# It looks like a nightmare to disable those for now. -RESTRICT="test" - -PATCHES=( - "${FILESDIR}"/${PV}-DESTDIR-honoring.patch - "${FILESDIR}"/${PV}-libical3-compat.patch - "${FILESDIR}"/icu61-compat.patch -) - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - use vala && vala_src_prepare - gnome2_src_prepare - - # Make CMakeLists versioned vala enabled - sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \ - -e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \ - -i "${S}"/CMakeLists.txt || die -} - -src_configure() { - # /usr/include/db.h is always db-1 on FreeBSD - # so include the right dir in CPPFLAGS - use berkdb && append-cppflags "-I$(db_includedir)" - - local google_auth_enable - if use google || use gnome-online-accounts; then - google_auth_enable="ON" - else - google_auth_enable="OFF" - fi - - # phonenumber does not exist in tree - local mycmakeargs=( - -DENABLE_GTK_DOC=$(usex api-doc-extras) - -DWITH_PRIVATE_DOCS=$(usex api-doc-extras) - -DENABLE_SCHEMAS_COMPILE=OFF - -DENABLE_INTROSPECTION=$(usex introspection) - -DWITH_KRB5=$(usex kerberos) - -DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "") - -DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "") - -DWITH_OPENLDAP=$(usex ldap) - -DWITH_PHONENUMBER=OFF - -DENABLE_SMIME=ON - -DENABLE_GTK=$(usex gtk) - -DENABLE_GOOGLE_AUTH=${google_auth_enable} - -DENABLE_EXAMPLES=OFF - -DENABLE_GOA=$(usex gnome-online-accounts) - -DENABLE_UOA=OFF - -DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF) - # ENABLE_BACKTRACES requires libdwarf ? - -DENABLE_IPV6=$(usex ipv6) - -DENABLE_WEATHER=$(usex weather) - -DENABLE_GOOGLE=$(usex google) - -DENABLE_LARGEFILE=ON - -DENABLE_VALA_BINDINGS=$(usex vala) - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_test() { - virtx cmake-utils_src_test -} - -src_install() { - cmake-utils_src_install - - if use ldap; then - insinto /etc/openldap/schema - doins "${FILESDIR}"/calentry.schema - dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema - fi -} diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.26.6.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.26.6.ebuild deleted file mode 100644 index 9ddece888ac1..000000000000 --- a/gnome-extra/evolution-data-server/evolution-data-server-3.26.6.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -GNOME2_LA_PUNT="yes" -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy ) -VALA_USE_DEPEND="vapigen" - -inherit cmake-utils db-use flag-o-matic gnome2 python-any-r1 systemd vala virtualx - -DESCRIPTION="Evolution groupware backend" -HOMEPAGE="https://wiki.gnome.org/Apps/Evolution" - -# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+". -LICENSE="|| ( LGPL-2 LGPL-3 ) BSD Sleepycat" -SLOT="0/60" # subslot = libcamel-1.2 soname version - -IUSE="berkdb +gnome-online-accounts +gtk gtk-doc google +introspection ipv6 ldap kerberos vala +weather" -REQUIRED_USE="vala? ( introspection )" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" - -# sys-libs/db is only required for migrating from <3.13 versions -# gdata-0.17.7 soft required for new gdata_feed_get_next_page_token API to handle more than 100 google tasks -# berkdb needed only for migrating old calendar data, bug #519512 -gdata_depend=">=dev-libs/libgdata-0.17.7:=" -RDEPEND=" - >=app-crypt/gcr-3.4 - >=app-crypt/libsecret-0.5[crypt] - >=dev-db/sqlite-3.7.17:= - >=dev-libs/glib-2.46:2 - >=dev-libs/libical-2.0:= - >=dev-libs/libxml2-2 - >=dev-libs/nspr-4.4:= - >=dev-libs/nss-3.9:= - >=net-libs/libsoup-2.42:2.4 - - dev-libs/icu:= - sys-libs/zlib:= - virtual/libiconv - - berkdb? ( >=sys-libs/db-4:= ) - gtk? ( - >=app-crypt/gcr-3.4[gtk] - >=x11-libs/gtk+-3.10:3 - ) - google? ( - >=dev-libs/json-glib-1.0.4 - >=net-libs/webkit-gtk-2.11.91:4 - ${gdata_depend} - ) - gnome-online-accounts? ( - >=net-libs/gnome-online-accounts-3.8:= - ${gdata_depend} ) - introspection? ( >=dev-libs/gobject-introspection-0.9.12:= ) - kerberos? ( virtual/krb5:= ) - ldap? ( >=net-nds/openldap-2:= ) - weather? ( >=dev-libs/libgweather-3.10:2= ) -" -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - dev-util/gdbus-codegen - dev-util/glib-utils - dev-util/gperf - gtk-doc? ( >=dev-util/gtk-doc-1.14 ) - >=dev-util/intltool-0.35.5 - >=sys-devel/gettext-0.18.3 - virtual/pkgconfig - vala? ( $(vala_depend) ) -" - -# Some tests fail due to missing locales. -# Also, dbus tests are flaky, bugs #397975 #501834 -# It looks like a nightmare to disable those for now. -RESTRICT="test !test? ( test )" - -pkg_setup() { - python-any-r1_pkg_setup -} - -# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call -src_prepare() { - eapply "${FILESDIR}"/icu61-compat.patch - use vala && vala_src_prepare - cmake-utils_src_prepare - gnome2_src_prepare - - # Make CMakeLists versioned vala enabled - sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \ - -e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \ - -i "${S}"/CMakeLists.txt || die -} - -src_configure() { - # /usr/include/db.h is always db-1 on FreeBSD - # so include the right dir in CPPFLAGS - use berkdb && append-cppflags "-I$(db_includedir)" - - local google_auth_enable - if use google || use gnome-online-accounts; then - google_auth_enable="ON" - else - google_auth_enable="OFF" - fi - - # phonenumber does not exist in tree - local mycmakeargs=( - -DENABLE_GTK_DOC=$(usex gtk-doc) - -DWITH_PRIVATE_DOCS=$(usex gtk-doc) - -DENABLE_SCHEMAS_COMPILE=OFF - -DENABLE_INTROSPECTION=$(usex introspection) - -DWITH_KRB5=$(usex kerberos) - -DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "") - -DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "") - -DWITH_OPENLDAP=$(usex ldap) - -DWITH_PHONENUMBER=OFF - -DENABLE_SMIME=ON - -DENABLE_GTK=$(usex gtk) - -DENABLE_GOOGLE_AUTH=${google_auth_enable} - -DENABLE_EXAMPLES=OFF - -DENABLE_GOA=$(usex gnome-online-accounts) - -DENABLE_UOA=OFF - -DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF) - # ENABLE_BACKTRACES requires libdwarf ? - -DENABLE_IPV6=$(usex ipv6) - -DENABLE_WEATHER=$(usex weather) - -DENABLE_GOOGLE=$(usex google) - -DENABLE_LARGEFILE=ON - -DENABLE_VALA_BINDINGS=$(usex vala) - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_test() { - virtx cmake-utils_src_test -} - -src_install() { - cmake-utils_src_install - - if use ldap; then - insinto /etc/openldap/schema - doins "${FILESDIR}"/calentry.schema - dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema - fi -} diff --git a/gnome-extra/evolution-data-server/files/3.24.7-DESTDIR-honoring.patch b/gnome-extra/evolution-data-server/files/3.24.7-DESTDIR-honoring.patch deleted file mode 100644 index a3a3d470b984..000000000000 --- a/gnome-extra/evolution-data-server/files/3.24.7-DESTDIR-honoring.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 5406fcda088be73f462e7d02d4a2ae56cc7329cc Mon Sep 17 00:00:00 2001 -From: Milan Crha <mcrha@redhat.com> -Date: Mon, 2 Oct 2017 19:20:36 +0200 -Subject: Bug 781645 - Skip GSettings schema compile when DESTDIR is set - ---- - cmake/modules/GLibTools.cmake | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/cmake/modules/GLibTools.cmake b/cmake/modules/GLibTools.cmake -index fc8eb82..f0be558 100644 ---- a/cmake/modules/GLibTools.cmake -+++ b/cmake/modules/GLibTools.cmake -@@ -238,9 +238,11 @@ macro(add_gsettings_schemas _target _schema0) - if(_install_code) - # Compile gsettings schemas and ensure that all of them are in the place. - install(CODE -- "execute_process(${_install_code} -- COMMAND ${CMAKE_COMMAND} -E chdir . \"${GLIB_COMPILE_SCHEMAS}\" \"${GSETTINGS_SCHEMAS_DIR}\" -- )") -+ "if(\"\$ENV{DESTDIR}\" STREQUAL \"\") -+ execute_process(${_install_code} -+ COMMAND ${CMAKE_COMMAND} -E chdir . \"${GLIB_COMPILE_SCHEMAS}\" \"${GSETTINGS_SCHEMAS_DIR}\" -+ ) -+ endif(\"\$ENV{DESTDIR}\" STREQUAL \"\")") - endif(_install_code) - endmacro(add_gsettings_schemas) - --- -cgit v0.12 - diff --git a/gnome-extra/evolution-data-server/files/3.24.7-libical3-compat.patch b/gnome-extra/evolution-data-server/files/3.24.7-libical3-compat.patch deleted file mode 100644 index 8f574b0f8d9c..000000000000 --- a/gnome-extra/evolution-data-server/files/3.24.7-libical3-compat.patch +++ /dev/null @@ -1,146 +0,0 @@ -From dc5fc0e163421f5a01c3cdaab23ca2ea1eb3fae2 Mon Sep 17 00:00:00 2001 -From: Milan Crha <mcrha@redhat.com> -Date: Wed, 4 Oct 2017 11:48:48 +0200 -Subject: [PATCH 1/2] Use icaltime_is_utc() instead of icaltimetype::is_utc - -The structure member is going to be removed from libical in the next release -and the function is available for a long time, thus it's safe to replace -the usage in the code. - -(cherry picked from commit f607f8628a28440374579531bc78848dfe0c782e) ---- - src/calendar/backends/contacts/e-cal-backend-contacts.c | 1 - - src/calendar/libecal/e-cal-component.c | 8 ++++---- - src/calendar/libecal/e-cal-recur.c | 8 ++++---- - src/calendar/libecal/e-cal-time-util.c | 3 +-- - 4 files changed, 9 insertions(+), 11 deletions(-) - -diff --git a/src/calendar/backends/contacts/e-cal-backend-contacts.c b/src/calendar/backends/contacts/e-cal-backend-contacts.c -index d2b570885..cf2c62062 100644 ---- a/src/calendar/backends/contacts/e-cal-backend-contacts.c -+++ b/src/calendar/backends/contacts/e-cal-backend-contacts.c -@@ -699,7 +699,6 @@ cdate_to_icaltime (EContactDate *cdate) - ret.month = cdate->month; - ret.day = cdate->day; - ret.is_date = TRUE; -- ret.is_utc = FALSE; - ret.zone = NULL; - ret.is_daylight = FALSE; - -diff --git a/src/calendar/libecal/e-cal-component.c b/src/calendar/libecal/e-cal-component.c -index 65b530d1e..6d8a9814d 100644 ---- a/src/calendar/libecal/e-cal-component.c -+++ b/src/calendar/libecal/e-cal-component.c -@@ -2522,7 +2522,7 @@ get_datetime (struct datetime *datetime, - * This makes the timezone code simpler. */ - if (datetime->tzid_param) - dt->tzid = g_strdup (icalparameter_get_tzid (datetime->tzid_param)); -- else if (dt->value && dt->value->is_utc) -+ else if (dt->value && icaltime_is_utc (*dt->value)) - dt->tzid = g_strdup ("UTC"); - else - dt->tzid = NULL; -@@ -2559,9 +2559,9 @@ set_datetime (ECalComponent *comp, - - /* If the TZID is set to "UTC", we set the is_utc flag. */ - if (dt->tzid && !strcmp (dt->tzid, "UTC")) -- dt->value->is_utc = 1; -- else -- dt->value->is_utc = 0; -+ dt->value->zone = icaltimezone_get_utc_timezone (); -+ else if (dt->value->zone == icaltimezone_get_utc_timezone ()) -+ dt->value->zone = NULL; - - if (datetime->prop) { - /* make sure no VALUE property is left if not needed */ -diff --git a/src/calendar/libecal/e-cal-recur.c b/src/calendar/libecal/e-cal-recur.c -index 535d56c14..cad588c4d 100644 ---- a/src/calendar/libecal/e-cal-recur.c -+++ b/src/calendar/libecal/e-cal-recur.c -@@ -195,7 +195,7 @@ ensure_timezone (icalcomponent *comp, - a different icalcomponent and cause use-after-free. */ - tt->zone = NULL; - -- if (tt->is_utc) -+ if (icaltime_is_utc (*tt)) - return TRUE; - - tt->zone = default_timezone; -@@ -435,7 +435,7 @@ e_cal_recur_generate_instances_sync (icalcomponent *comp, - rrule.until.minute = 0; - rrule.until.second = 0; - -- if (!rrule.until.zone && !rrule.until.is_utc) -+ if (!rrule.until.zone && !icaltime_is_utc (rrule.until)) - rrule.until.zone = dtstart.zone; - } - -@@ -542,7 +542,7 @@ e_cal_recur_generate_instances_sync (icalcomponent *comp, - exrule.until.minute = 0; - exrule.until.second = 0; - -- if (!exrule.until.zone && !exrule.until.is_utc) -+ if (!exrule.until.zone && !icaltime_is_utc (exrule.until)) - exrule.until.zone = dtstart.zone; - } - -@@ -586,7 +586,7 @@ e_cal_recur_generate_instances_sync (icalcomponent *comp, - if (!success) - break; - -- if (!exdate.zone && !exdate.is_utc) -+ if (!exdate.zone && !icaltime_is_utc (exdate)) - exdate.zone = dtstart.zone; - - if (intersects_interval (&exdate, NULL, duration_days, duration_seconds, &interval_start, &interval_end)) { -diff --git a/src/calendar/libecal/e-cal-time-util.c b/src/calendar/libecal/e-cal-time-util.c -index 7bcbc8ba1..914761cb0 100644 ---- a/src/calendar/libecal/e-cal-time-util.c -+++ b/src/calendar/libecal/e-cal-time-util.c -@@ -763,9 +763,8 @@ tm_to_icaltimetype (struct tm *tm, - - itt.day = tm->tm_mday; - itt.month = tm->tm_mon + 1; -- itt.year = tm->tm_year+ 1900; -+ itt.year = tm->tm_year + 1900; - -- itt.is_utc = 0; - itt.is_date = is_date; - - return itt; --- -2.15.1 - - -From fccd77cf4620ca76c4fd2bf7721e3fb7eaf55ec6 Mon Sep 17 00:00:00 2001 -From: Milan Crha <mcrha@redhat.com> -Date: Thu, 5 Oct 2017 13:50:08 +0200 -Subject: [PATCH 2/2] e-cal-recur.c:ensure_timezone(): Unset icaltimetype::zone - only if not UTC - -With a removal of icaltimetype::is_utc the icaltimetype::zone is used -to determine whether it's UTC or not. That means that the icaltimetype::zone -can be unset only if it's not the built-in UTC time zone. - -(cherry picked from commit 1f39ade8db00091d6fa4c752ccb70361ef0e8abc) ---- - src/calendar/libecal/e-cal-recur.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/calendar/libecal/e-cal-recur.c b/src/calendar/libecal/e-cal-recur.c -index cad588c4d..fc14fb15c 100644 ---- a/src/calendar/libecal/e-cal-recur.c -+++ b/src/calendar/libecal/e-cal-recur.c -@@ -193,7 +193,8 @@ ensure_timezone (icalcomponent *comp, - - /* Do not trust the 'zone' set on the structure, as it can come from - a different icalcomponent and cause use-after-free. */ -- tt->zone = NULL; -+ if (tt->zone != icaltimezone_get_utc_timezone ()) -+ tt->zone = NULL; - - if (icaltime_is_utc (*tt)) - return TRUE; --- -2.15.1 - diff --git a/gnome-extra/evolution-data-server/files/icu61-compat.patch b/gnome-extra/evolution-data-server/files/icu61-compat.patch deleted file mode 100644 index 2b5b76afd737..000000000000 --- a/gnome-extra/evolution-data-server/files/icu61-compat.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 2cd08a03bc637fa6fefb6fbe13ae2c78abe6bf9f Mon Sep 17 00:00:00 2001 -From: Hussam Al-Tayeb <me@hussam.eu.org> -Date: Mon, 16 Apr 2018 13:38:33 +0200 -Subject: [PATCH] Bug 795295 - Fails to compile after icu 61.1 upgrade - (icu::UnicodeString) - ---- - src/libedataserver/e-alphabet-index-private.cpp | 1 + - src/libedataserver/e-transliterator-private.cpp | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/src/libedataserver/e-alphabet-index-private.cpp b/src/libedataserver/e-alphabet-index-private.cpp -index d3e44f488..a789f4409 100644 ---- a/src/libedataserver/e-alphabet-index-private.cpp -+++ b/src/libedataserver/e-alphabet-index-private.cpp -@@ -36,6 +36,7 @@ - - using icu::AlphabeticIndex; - using icu::Locale; -+using icu::UnicodeString; - - struct _EAlphabetIndex { - AlphabeticIndex *priv; -diff --git a/src/libedataserver/e-transliterator-private.cpp b/src/libedataserver/e-transliterator-private.cpp -index bb15593d5..6f1d89c8d 100644 ---- a/src/libedataserver/e-transliterator-private.cpp -+++ b/src/libedataserver/e-transliterator-private.cpp -@@ -35,6 +35,7 @@ - #include <unicode/translit.h> - - using icu::Transliterator; -+using icu::UnicodeString; - - struct _ETransliterator { - Transliterator *priv; --- -2.18.0 - diff --git a/gnome-extra/evolution-data-server/metadata.xml b/gnome-extra/evolution-data-server/metadata.xml index 73fefb95827c..b2c06af5a423 100644 --- a/gnome-extra/evolution-data-server/metadata.xml +++ b/gnome-extra/evolution-data-server/metadata.xml @@ -6,11 +6,8 @@ <name>Gentoo GNOME Desktop</name> </maintainer> <use> - <flag name="api-doc-extras">Build documentation for private APIs</flag> <flag name="berkdb"><pkg>sys-libs/db</pkg> support needed to migrate old (pre-3.13 evolution versions) addressbook data</flag> <flag name="gnome-online-accounts">Enable <pkg>net-libs/gnome-online-accounts</pkg> based Google authentication support</flag> - <flag name="google">Enable internal Google authentication support. If gnome-online-accounts is enabled and used, this is not necessary, - but both can be supported at the same time with different setup at runtime</flag> <flag name="oauth">Enable internal OAuth2 authentication support for Google and Outlook.com. If gnome-online-accounts is enabled and used, this is not necessary, but both can be supported at the same time with different setup at runtime</flag> |