guix_mirror_bot pushed a commit to branch master
in repository guix.

commit cad85ff9f2c970b9cb6bf8290d1728cff39608c4
Author: Alvin Hsu <[email protected]>
AuthorDate: Sun Oct 26 16:48:32 2025 -0400

    gnu: Add adwaita-icon-theme-legacy.
    
    * gnu/packages/gnome.scm (adwaita-icon-theme-legacy): New variable.
    
    Change-Id: I44c93d5046e79a5d8e0bcb1342ee89506d606d4e
    Signed-off-by: Maxim Cournoyer <[email protected]>
---
 gnu/packages/gnome.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 089ddca531..32571c6e63 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2954,6 +2954,37 @@ Specification, the icon naming utility maps the icon 
names used by the
 GNOME and KDE desktops to the icon names proposed in the specification.")
     (license license:lgpl2.1+)))
 
+(define-public adwaita-icon-theme-legacy
+  ;; Copied from [email protected].  The adwaita-icon-theme package
+  ;; ships (introduced in 46.2) an index.theme that inherits from
+  ;; AdwaitaLegacy, with the expectation that distributions may choose to make
+  ;; it a dependency of Adwaita for compatibility purposes.
+  (package
+    (name "adwaita-icon-theme-legacy")
+    (version "46.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32 
"1d1gyacqy7rf9vbljwhqwdkxbyszn5avfcw8s5r4p9c9hpsq112l"))))
+    (build-system meson-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'patch-meson
+                 ;; Don't create 'icon-theme.cache'.
+                 (lambda _ (substitute* "meson.build"
+                             (("gtk4?-update-icon-cache") "true")))))))
+    (home-page "https://gitlab.gnome.org/GNOME/adwaita-icon-theme";)
+    (synopsis "Legacy GNOME icon theme")
+    (description
+     "Legacy Adwaita icon theme.  This provides GNOME's \"old-style\" fullcolor
+icons, for compatibility with applications that request icons following the
+Freedesktop Icon Naming Specification.")
+    (license (list license:lgpl3 license:cc-by-sa3.0))))
+
 (define-public adwaita-icon-theme
   (package
     (name "adwaita-icon-theme")

Reply via email to