gnu: adwaita-icon-theme: Update to 42.0 and deprecate gnome-icon-theme.

* gnu/packages/gnome.scm (adwaita-icon-theme): Update to 42.0.  Remove
inheritance to gnome-icon-theme, re-adding...
[build-system, arguments, home-page, synopsis]
[description, license]: ... these fields.
(gnome-icon-theme): Define as a deprecated package.
[native-inputs]: Remove label.
[home-page]: Update URL.
[configure-flags]: Delete argument.
[make-flags]: New argument.  Set the GTK_UPDATE_ICON_CACHE variable to the
empty string.
This commit is contained in:
Maxim Cournoyer 2022-08-22 10:09:53 -04:00
parent 05c5807ea5
commit ffef7c01f0
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2781,38 +2781,10 @@ (define-public icon-naming-utils
GNOME and KDE desktops to the icon names proposed in the specification.")
(license license:lgpl2.1+)))
(define-public gnome-icon-theme
(package
(name "gnome-icon-theme")
(version "3.12.0")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags
;; Don't create 'icon-theme.cache'.
(let* ((coreutils (assoc-ref %build-inputs "coreutils"))
(true (string-append coreutils "/bin/true")))
(list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
(native-inputs
(list icon-naming-utils intltool pkg-config))
(home-page "https://wiki.gnome.org/Personalization")
(synopsis "GNOME icon theme")
(description "Icons for the GNOME desktop.")
(license license:lgpl3))) ; or Creative Commons BY-SA 3.0
;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
(define-public adwaita-icon-theme
(package/inherit gnome-icon-theme
(package
(name "adwaita-icon-theme")
(version "40.1.1")
(version "42.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@ -2820,13 +2792,25 @@ (define-public adwaita-icon-theme
name "-" version ".tar.xz"))
(sha256
(base32
"1xpqa1rgmixlp953938d08xvf7kv36h747ysial8g65dsrp46v0b"))))
"1q5i31zd5jzr12p6vn831afwnzbzf6x73wna1y86drnyr2nvb1ay"))))
(build-system gnu-build-system)
(arguments
(list #:make-flags
;; Don't create 'icon-theme.cache'.
#~(list "GTK_UPDATE_ICON_CACHE=")))
(native-inputs
;; The following requires the SVG pixbuf loader, provided by librsvg,
;; available on x86_64 only.
`(,@(if (target-64bit?)
`(("gtk-encode-symbolic-svg" ,gtk+ "bin"))
'())))))
`((,gtk+ "bin")) ;for gtk-encode-symbolic-svg
'())))
(home-page "https://gitlab.gnome.org/GNOME/adwaita-icon-theme")
(synopsis "GNOME icon theme")
(description "Icons for the GNOME desktop.")
(license license:lgpl3))) ; or Creative Commons BY-SA 3.0
(define-public gnome-icon-theme
(deprecated-package "gnome-icon-theme" adwaita-icon-theme))
(define-public tango-icon-theme
(package