guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.

commit d71ddffc4f46ee4e97d9c814a7e74a82844665fb
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Wed Aug 26 22:59:59 2026 +0900

    gnu: evolution-data-server: Update to 3.62.0 and split gtk3 variant.
    
    * gnu/packages/gnome.scm (evolution-data-server): Update to 3.62.0.
    [#:configure-flags]: Add "-DENABLE_GTK=OFF" and "-DENABLE_GTK4=ON".
    [#:phases] {prepare-for-tests}: New.
    [inputs]: Remove gcr-3, gtk+ and webkitgtk-for-gtk3.
    [home-page]: Update URL.
    (evolution-data-server-gtk3): New variable.
    (evolution) [inputs]: Replace evolution-data-server with
    evolution-data-server-gtk3.
    
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/gnome.scm | 36 +++++++++++++++++++++++++++---------
 1 file changed, 27 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 0ba248badd4..07db288d0d1 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8358,7 +8358,7 @@ Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and 
Kerberos.")
 (define-public evolution-data-server
   (package
     (name "evolution-data-server")
-    (version "3.60.0")
+    (version "3.62.0")
     (source
      (origin
        (method url-fetch)
@@ -8366,10 +8366,11 @@ Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and 
Kerberos.")
                            (version-major+minor version) "/"
                            name "-" version ".tar.xz"))
        (sha256
-        (base32 "063cvwx83irc86f9kis572x4cpbsp3zzcwyknf8lvci81qz3hkp0"))))
+        (base32 "1ficjvr4ybfvdrbzqir65382sqjbx2nkwdifzzkszx8ilplqigkq"))))
     (build-system cmake-build-system)
     (arguments
      (list
+      #:disallowed-references (list gtk+ webkitgtk-for-gtk3)
       #:parallel-tests? #f
       #:configure-flags
       #~(let* ((lib (string-append #$output "/lib"))
@@ -8379,6 +8380,8 @@ Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and 
Kerberos.")
                                 "camel-providers" "credential-modules"
                                 "registry-modules"))))
           (list "-DENABLE_GOOGLE=OFF"   ;disable Google Contacts support
+                "-DENABLE_GTK=OFF"
+                "-DENABLE_GTK4=ON"
                 "-DENABLE_VALA_BINDINGS=ON"
                 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
                                (string-append lib "/evolution-data-server;")
@@ -8418,7 +8421,10 @@ Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and 
Kerberos.")
               (substitute* "CMakeLists.txt"
                 ;; CMakeLists.txt hard-codes runpath to just the libdir.
                 ;; Remove it so the configure flag is respected.
-                (("SET\\(CMAKE_INSTALL_RPATH .*") "")))))))
+                (("SET\\(CMAKE_INSTALL_RPATH .*") ""))))
+          (add-before 'check 'prepare-for-tests
+            (lambda _
+              (setenv "HOME" (getcwd)))))))
     (native-inputs
      (list `(,glib "bin")               ; for glib-mkenums, etc.
            gobject-introspection
@@ -8433,7 +8439,6 @@ Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and 
Kerberos.")
      ;; These are all in the Requires field of .pc files.
      (list glib
            gtk
-           gtk+
            json-glib
            libical
            libsecret
@@ -8443,7 +8448,6 @@ Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and 
Kerberos.")
     (inputs
      (list bdb
            boost
-           gcr-3
            gnome-online-accounts
            json-glib
            libcanberra
@@ -8451,16 +8455,30 @@ Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and 
Kerberos.")
            libphonenumber
            mit-krb5
            openldap
-           webkitgtk
-           webkitgtk-for-gtk3))
+           webkitgtk))
     (synopsis "Store address books and calendars")
-    (home-page "https://wiki.gnome.org/Apps/Evolution";)
+    (home-page "https://gitlab.gnome.org/GNOME/evolution-data-server/";)
     (description
      "This package provides a unified backend for programs that work with
 contacts, tasks, and calendar information.  It was originally developed for
 Evolution (hence the name), but is now used by other packages as well.")
     (license license:lgpl2.0)))
 
+(define-public evolution-data-server-gtk3
+  (package/inherit evolution-data-server
+    (name "evolution-data-server-gtk3")
+    (arguments (substitute-keyword-arguments arguments
+                 ((#:disallowed-references _ #f)
+                  (list gtk webkitgtk))
+                 ((#:configure-flags flags ''())
+                  #~(cons* "-DENABLE_GTK=ON"
+                           "-DENABLE_GTK4=OFF"
+                           (delete "-DENABLE_GTK4=ON"
+                                   (delete "-DENABLE_GTK=OFF" #$flags))))))
+    (inputs (modify-inputs inputs
+              (replace "webkitgtk" webkitgtk-for-gtk3)
+              (replace "gtk" gtk+)))))
+
 (define-public network-manager
   (package
     (name "network-manager")
@@ -12168,8 +12186,8 @@ generic enough to work for everyone.")
     (inputs
      (list cmark
            enchant
-           evolution-data-server        ;must be the same version
            gcr-3
+           evolution-data-server-gtk3   ;must be the same version
            gsettings-desktop-schemas
            gnome-autoar
            gnome-desktop

Reply via email to