Merge pull request #278939 from amaxine/evolution_3.50.3

evolution{,-data-server}: 3.50.2 -> 3.50.3
This commit is contained in:
Bobby Rong 2024-01-07 15:05:20 +08:00 committed by GitHub
commit 0269b2a485
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 8 deletions

View File

@ -44,11 +44,11 @@
stdenv.mkDerivation rec {
pname = "evolution";
version = "3.50.2";
version = "3.50.3";
src = fetchurl {
url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "D4M1214mmFRHi01tlHLu2s0Kiev3+0+DdWJDMMqqcSA=";
sha256 = "sha256-s1SjsFzRmWSjya2k7m4RsCzI25JtiB7ww30FmzAd/KQ=";
};
nativeBuildInputs = [

View File

@ -33,7 +33,6 @@
, enableOAuth2 ? stdenv.isLinux
, webkitgtk_4_1
, webkitgtk_6_0
, libaccounts-glib
, json-glib
, glib
, gtk3
@ -51,13 +50,13 @@
stdenv.mkDerivation rec {
pname = "evolution-data-server";
version = "3.50.2";
version = "3.50.3";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "XmYnA4jVDBTzsa4/oNISe5/tznUqzTk7VUUoGwH8SXA=";
sha256 = "sha256-Il1wtqQCaPIlwqxCjuXrUtWm/aJgKVXVCiSXBSb+JFI=";
};
patches = [
@ -107,8 +106,6 @@ stdenv.mkDerivation rec {
libphonenumber
boost
protobuf
] ++ lib.optionals stdenv.isLinux [
libaccounts-glib
] ++ lib.optionals stdenv.isDarwin [
libiconv
] ++ lib.optionals withGtk3 [
@ -150,6 +147,10 @@ stdenv.mkDerivation rec {
--replace "-Wl,--no-undefined" ""
substituteInPlace src/services/evolution-alarm-notify/e-alarm-notify.c \
--replace "G_OS_WIN32" "__APPLE__"
'' + lib.optionalString stdenv.cc.isClang ''
# https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/513
substituteInPlace src/addressbook/libebook-contacts/e-phone-number-private.cpp \
--replace "std::auto_ptr" "std::unique_ptr"
'';
postInstall = lib.optionalString stdenv.isDarwin ''

View File

@ -361,7 +361,7 @@ index e61160c..b6553a4 100644
G_CALLBACK (mi_user_headers_settings_changed_cb), NULL);
G_UNLOCK (mi_user_headers);
diff --git a/src/camel/providers/imapx/camel-imapx-server.c b/src/camel/providers/imapx/camel-imapx-server.c
index ef34665..59f294b 100644
index 8518c90..6a655a9 100644
--- a/src/camel/providers/imapx/camel-imapx-server.c
+++ b/src/camel/providers/imapx/camel-imapx-server.c
@@ -5627,7 +5627,18 @@ camel_imapx_server_do_old_flags_update (CamelFolder *folder)

View File

@ -65,6 +65,8 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Dzoneinfo_dir=${tzdata}/share/zoneinfo"
(lib.mesonBool "introspection" withIntrospection)
] ++ lib.optionals stdenv.isDarwin [
"-Dc_args=-D_DARWIN_C_SOURCE"
];
postPatch = ''