gnu: claws-mail: Update to v4.0.0 and adjust arguments+inputs accordingly.

* gnu/packages/mail.scm (claws-mail)[version]: Update to 4.0.0.
[arguments](configure-flags): Add flag disable-static. Remove flags
enable-gnutls,enable-pgpmime-plugin, enable-enchant and enable-ldap.
[native-inputs]: Add bison, flex, gettext-minimal, gobject-introspection
and intltool.
[inputs]: Add cairo, compface, dbus, fontconfig, gdk-pixbuf+svg,
glib, gsettings-desktop-schemas, gumbo-parser, libgdata, libindicator,
librsvg, libsoup, nettle, network-manager, openldap, poppler,
python-pygobject and ytnef. Remove hicolor-icon-theme. Replace gtk+-2
and python-2 with gtk+ and python, respectively.
[propagated-inputs]: Add dconf.
This commit is contained in:
Raghav Gururajan 2021-07-14 23:55:15 -04:00
parent d7917fc9f7
commit 36c23bd06d
No known key found for this signature in database
GPG key ID: 5F5816647F8BE551

View file

@ -85,6 +85,8 @@ (define-module (gnu packages mail)
#:use-module (gnu packages emacs) #:use-module (gnu packages emacs)
#:use-module (gnu packages enchant) #:use-module (gnu packages enchant)
#:use-module (gnu packages file) #:use-module (gnu packages file)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gdb) #:use-module (gnu packages gdb)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (gnu packages ghostscript) #:use-module (gnu packages ghostscript)
@ -113,11 +115,13 @@ (define-module (gnu packages mail)
#:use-module (gnu packages m4) #:use-module (gnu packages m4)
#:use-module (gnu packages man) #:use-module (gnu packages man)
#:use-module (gnu packages ncurses) #:use-module (gnu packages ncurses)
#:use-module (gnu packages nettle)
#:use-module (gnu packages networking) #:use-module (gnu packages networking)
#:use-module (gnu packages ninja) #:use-module (gnu packages ninja)
#:use-module (gnu packages openldap) #:use-module (gnu packages openldap)
#:use-module (gnu packages onc-rpc) #:use-module (gnu packages onc-rpc)
#:use-module (gnu packages pcre) #:use-module (gnu packages pcre)
#:use-module (gnu packages pdf)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module (gnu packages perl-check) #:use-module (gnu packages perl-check)
#:use-module (gnu packages perl-web) #:use-module (gnu packages perl-web)
@ -1602,7 +1606,7 @@ (define-public compface
(define-public claws-mail (define-public claws-mail
(package (package
(name "claws-mail") (name "claws-mail")
(version "3.18.0") (version "4.0.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -1610,15 +1614,12 @@ (define-public claws-mail
(string-append "https://www.claws-mail.org/releases/claws-mail-" (string-append "https://www.claws-mail.org/releases/claws-mail-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 "1fz6xh4va90w69a0b457cy9khcm92vsmi75p9vabpcsbdgk1jn6b")))) (base32 "0xg41rxxq2q5vhjzbh8p12s248kcljk6g7y0m6raq7nrllkbvwja"))))
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list (list
"--enable-gnutls" "--disable-static")
"--enable-pgpmime-plugin"
"--enable-enchant"
"--enable-ldap")
#:make-flags #:make-flags
;; Disable updating icon cache since it's done by the profile hook. ;; Disable updating icon cache since it's done by the profile hook.
;; Conflict with other packages in the profile would be inevitable ;; Conflict with other packages in the profile would be inevitable
@ -1634,30 +1635,54 @@ (define-public claws-mail
(string-append (assoc-ref inputs "mime-info") (string-append (assoc-ref inputs "mime-info")
"/share/mime/globs")))))))) "/share/mime/globs"))))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) `(("bison" ,bison)
("flex" ,flex)
("gettext-minimal" ,gettext-minimal)
("gobject-introspection" ,gobject-introspection)
("intltool" ,intltool)
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("bogofilter" ,bogofilter) `(("bogofilter" ,bogofilter)
("cairo" ,cairo)
("compface" ,compface)
("curl" ,curl) ("curl" ,curl)
("dbus" ,dbus)
("dbus-glib" ,dbus-glib) ("dbus-glib" ,dbus-glib)
("enchant" ,enchant) ("enchant" ,enchant)
("expat" ,expat) ("expat" ,expat)
("fontconfig" ,fontconfig)
("gdk-pixbuf+svg" ,gdk-pixbuf+svg)
("ghostscript" ,ghostscript) ("ghostscript" ,ghostscript)
("glib" ,glib)
("gnupg" ,gnupg) ("gnupg" ,gnupg)
("gnutls" ,gnutls) ("gnutls" ,gnutls)
("gpgme" ,gpgme) ("gpgme" ,gpgme)
("gtk" ,gtk+-2) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("hicolor-icon-theme" ,hicolor-icon-theme) ("gtk+" ,gtk+)
("gumbo-parser" ,gumbo-parser)
("libarchive" ,libarchive) ("libarchive" ,libarchive)
("libcanberra" ,libcanberra) ("libcanberra" ,libcanberra)
("libetpan" ,libetpan) ("libetpan" ,libetpan)
("libgdata" ,libgdata)
("libical" ,libical) ("libical" ,libical)
("libindicator" ,libindicator)
("libnotify" ,libnotify) ("libnotify" ,libnotify)
("librsvg" ,librsvg)
("libsm" ,libsm) ("libsm" ,libsm)
("libsoup" ,libsoup)
("libxml2" ,libxml2) ("libxml2" ,libxml2)
("mime-info" ,shared-mime-info) ("mime-info" ,shared-mime-info)
("nettle" ,nettle)
("network-manager" ,network-manager)
("openldap" ,openldap)
("perl" ,perl) ("perl" ,perl)
("python-2" ,python-2) ("poppler" ,poppler)
("startup-notification" ,startup-notification))) ("python" ,python)
("python-pygobject" ,python-pygobject)
("startup-notification" ,startup-notification)
("ytnef" ,ytnef)))
(propagated-inputs
`(("dconf" ,dconf)))
(synopsis "GTK-based Email client") (synopsis "GTK-based Email client")
(description "Claws-Mail is an email client (and news reader) based on GTK+. (description "Claws-Mail is an email client (and news reader) based on GTK+.
The appearance and interface are designed to be familiar to new users coming The appearance and interface are designed to be familiar to new users coming