GNU bug report logs - #66826
[PATCH] gnu: Add pantheon-iconbrowser.

Previous Next

Package: guix-patches;

Reported by: altadil <Altadil <at> protonmail.com>

Date: Sun, 29 Oct 2023 19:23:01 UTC

Severity: normal

Tags: patch

Done: Altadil <Altadil <at> protonmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: altadil <Altadil <at> protonmail.com>
To: guix-patches <at> gnu.org
Cc: altadil <altadil <at> protonmail.com>
Subject: [PATCH] gnu: Add pantheon-iconbrowser.
Date: Sun, 29 Oct 2023 19:21:26 +0000
* gnu/packages/pantheon.scm (pantheon-iconbrowser): New variable.

Change-Id: I4c1b0aa8a5593e384214e4b1fbad4fef8eaedf4d
---
guix build --no-grafts --check --rounds=2 was successfully run on a Zen4 CPU,
for the following --system= options:
- x86_64-linux
- i686-linux.
The build is currently failing for aarch64 because of a dependency’s build
failure.
 gnu/packages/pantheon.scm | 40 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm
index 3465e5cb37..eb7044c5a9 100644
--- a/gnu/packages/pantheon.scm
+++ b/gnu/packages/pantheon.scm
@@ -136,6 +136,46 @@ (define-public pantheon-calculator
 desktop.")
     (license license:gpl3)))
 
+(define-public pantheon-iconbrowser
+  (package
+    (name "pantheon-iconbrowser")
+    (version "2.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/elementary/iconbrowser")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0b1afyizq3c94qkf4cqy5jnb4v3nib5vc88k34r08c604p1z2h8p"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:glib-or-gtk? #t
+       #:phases (modify-phases %standard-phases
+                  (add-after 'install 'install-symlinks
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((out (assoc-ref outputs "out"))
+                             (bin (string-append out
+                                   "/bin/io.elementary.iconbrowser"))
+                             (link (string-append out
+                                                  "/bin/pantheon-iconbrowser")))
+                        (symlink bin link)))))))
+    (native-inputs (list gettext-minimal ;for msgfmt
+                         `(,glib "bin")
+                         `(,gtk "bin")
+                         pkg-config
+                         vala))
+    (inputs (list granite gtk gtksourceview))
+    (synopsis "Browse and search system icons")
+    (description
+     "Icon Browser is an application for browsing system icons by
+category or searching them by name.  It displays icons at different sizes, as
+well as code snippets (to use the icons in your own apps).  It is designed for
+the Pantheon desktop environment (originally from elementary OS).")
+    (home-page "https://elementary.io/open-source")
+    (license license:gpl3+)))
+
 (define-public pantheon-photos
   (package
     (name "pantheon-photos")

base-commit: 26565f1bc8548011bc0e1b821a9a957db1bc2d8f
prerequisite-patch-id: b3506da85d629b0f39af22c99c099838a4720442
prerequisite-patch-id: 62b04b32dc257f4d4b62c8618b72931143d46627
-- 
2.41.0






This bug report was last modified 1 year and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.