me
/
guix
Archived
1
0
Fork 0

gnu: evolution: Update to 3.45.3.

* gnu/packages/gnome.scm (evolution): Update to 3.45.3.
[arguments]: Use gexps.
[configure-flags]: Remove -DENABLE_LIBCRYPTUI=OFF, obsolete.
[phases]{patch-ui-module-dir}: Update phase.
[inputs]: Replace libgweather with libgweather4.  Replace
webkitgtk-with-libsoup2 with webkitgtk.  Remove libnotify.
master
Maxim Cournoyer 2022-09-11 20:48:29 -04:00
parent 629172258d
commit e4bf10ab0b
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 46 additions and 41 deletions

View File

@ -11433,7 +11433,7 @@ generic enough to work for everyone.")
(define-public evolution (define-public evolution
(package (package
(name "evolution") (name "evolution")
(version "3.42.1") (version "3.45.3")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/evolution/" (uri (string-append "mirror://gnome/sources/evolution/"
@ -11441,53 +11441,58 @@ generic enough to work for everyone.")
"evolution-" version ".tar.xz")) "evolution-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0igfzapdvgfx2gnpwfkjfkn7l5j186wk88ni39vqas1sl7ijlls6")))) "1q4fa5l7k0rax39iwn2spmzxcr2l73mj3644lf8j9mnp5w774c96"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:imported-modules (,@%cmake-build-system-modules (list
#:imported-modules `(,@%cmake-build-system-modules
(guix build glib-or-gtk-build-system)) (guix build glib-or-gtk-build-system))
#:modules ((guix build cmake-build-system) #:modules '((guix build cmake-build-system)
((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:) ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
(guix build utils)) (guix build utils))
#:configure-flags #:configure-flags
(list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged #~(list "-DENABLE_PST_IMPORT=OFF") ;libpst is not packaged
"-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release #:phases
; in four years and cannot be built. #~(modify-phases %standard-phases
#:phases ;; The build system attempts to install user interface modules to
(modify-phases %standard-phases ;; the output directory of the "evolution-data-server" package;
;; The build system attempts to install user interface modules to the ;; patch it to install to the same location under #$output prefix.
;; output directory of the "evolution-data-server" package. This (add-after 'unpack 'patch-ui-module-dir
;; change redirects that change. (lambda* (#:key outputs #:allow-other-keys)
(add-after 'unpack 'patch-ui-module-dir (substitute* "src/modules/alarm-notify/CMakeLists.txt"
(lambda* (#:key outputs #:allow-other-keys) (("\\$\\{edsuimoduledir\\}")
(substitute* "src/modules/alarm-notify/CMakeLists.txt" (string-append
(("\\$\\{edsuimoduledir\\}") #$output "/lib/evolution-data-server/ui-modules")))
(string-append (assoc-ref outputs "out") (substitute* "src/modules/rss/camel/CMakeLists.txt"
"/lib/evolution-data-server/ui-modules"))))) (("\\$\\{camel_providerdir}")
(add-after 'install 'glib-or-gtk-compile-schemas (string-append
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas)) #$output "/lib/evolution-data-server/camel-providers")))))
(add-after 'install 'glib-or-gtk-wrap (add-after 'install 'glib-or-gtk-compile-schemas
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
(add-after 'install 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
(native-inputs (native-inputs
(list `(,glib "bin") ; glib-mkenums (list `(,glib "bin") ;glib-mkenums
pkg-config intltool itstool)) intltool
itstool
pkg-config))
(inputs (inputs
`(("enchant" ,enchant) (list cmark
("evolution-data-server" ,evolution-data-server) ; must be the same version enchant
("gcr" ,gcr) evolution-data-server ;must be the same version
("gsettings-desktop-schemas" ,gsettings-desktop-schemas) gcr
("gnome-autoar" ,gnome-autoar) gsettings-desktop-schemas
("gnome-desktop" ,gnome-desktop) gnome-autoar
("gspell" ,gspell) gnome-desktop
("highlight" ,highlight) gspell
("libcanberra" ,libcanberra) highlight
("libgweather" ,libgweather) libcanberra
("libnotify" ,libnotify) libgweather4
("libsoup" ,libsoup) libsoup
("nss" ,nss) nss
("openldap" ,openldap) openldap
("webkitgtk" ,webkitgtk-with-libsoup2) ; because of evolution-data-server webkitgtk
("ytnef" ,ytnef))) ytnef))
(home-page "https://gitlab.gnome.org/GNOME/evolution") (home-page "https://gitlab.gnome.org/GNOME/evolution")
(synopsis "Manage your email, contacts and schedule") (synopsis "Manage your email, contacts and schedule")
(description "Evolution is a personal information management application (description "Evolution is a personal information management application