unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#71409] [PATCH] gnu: pantheon-calculator: Update to 8.0.0.
@ 2024-06-07  9:01 altadil via Guix-patches via
  2024-06-11 11:45 ` bug#71409: " Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: altadil via Guix-patches via @ 2024-06-07  9:01 UTC (permalink / raw)
  To: 71409; +Cc: altadil

* gnu/packages/pantheon.scm (pantheon-calculator): Update to 8.0.0.
Also run guix style on the package definition.

Change-Id: I7d935b0eef3d14990fc4dbbd408febe8de977a29
---
guix build --no-grafts --check --rounds=2 was successfully run on a Zen4 CPU,
for the following --system= options:
- x86_64-linux
- i686-linux.
 gnu/packages/pantheon.scm | 37 +++++++++++++++----------------------
 1 file changed, 15 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm
index 5b83b96801..d6cbc588f9 100644
--- a/gnu/packages/pantheon.scm
+++ b/gnu/packages/pantheon.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
 ;;; Copyright © 2023 Wamm K. D. <jaft.r@outlook.com>
-;;; Copyright © 2023 altadil <Altadil@protonmail.com>
+;;; Copyright © 2023, 2024 altadil <Altadil@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -94,7 +94,7 @@ (define-public granite-6
 (define-public pantheon-calculator
   (package
     (name "pantheon-calculator")
-    (version "2.0.2")
+    (version "8.0.0")
     (source
      (origin
        (method git-fetch)
@@ -103,31 +103,24 @@ (define-public pantheon-calculator
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1w59sgznzybawhz411avqayws8jq0471n6hwhkplvcz7inxlzdrw"))))
+        (base32 "1as5rxd0b6z3lnh8my36szr056rxxqwkjzvaiylspx5g2kg3qjs0"))))
     (build-system meson-build-system)
     (arguments
      `(#:glib-or-gtk? #t
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'disable-schema-cache-generation
-           (lambda _
-             (setenv "DESTDIR" "/"))))))
-    (inputs
-      (list granite
-            glib
-            gtk
-            libgee
-            libhandy))
-    (native-inputs
-      (list cmake
-            `(,glib "bin") ; for glib-compile-schemas
-            gettext-minimal
-            pkg-config
-            vala))
+       #:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'disable-schema-cache-generation
+                    (lambda _
+                      (setenv "DESTDIR" "/"))))))
+    (inputs (list granite glib gtk libgee libhandy))
+    (native-inputs (list cmake
+                         `(,glib "bin") ;for glib-compile-schemas
+                         gettext-minimal
+                         pkg-config
+                         vala))
     (home-page "https://github.com/elementary/calculator")
     (synopsis "Desktop calculator")
-    (description "Calculator is an application for performing simple
+    (description
+     "Calculator is an application for performing simple
 arithmetic.  It is the default calculator application in the Pantheon
 desktop.")
     (license license:gpl3)))
-- 
2.45.1






^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#71409: [PATCH] gnu: pantheon-calculator: Update to 8.0.0.
  2024-06-07  9:01 [bug#71409] [PATCH] gnu: pantheon-calculator: Update to 8.0.0 altadil via Guix-patches via
@ 2024-06-11 11:45 ` Christopher Baines
  2024-06-11 11:45   ` [bug#71409] " Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2024-06-11 11:45 UTC (permalink / raw)
  To: altadil via Guix-patches via; +Cc: altadil, 71409-done

[-- Attachment #1: Type: text/plain, Size: 832 bytes --]

altadil via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/pantheon.scm (pantheon-calculator): Update to 8.0.0.
> Also run guix style on the package definition.
>
> Change-Id: I7d935b0eef3d14990fc4dbbd408febe8de977a29
> ---
> guix build --no-grafts --check --rounds=2 was successfully run on a Zen4 CPU,
> for the following --system= options:
> - x86_64-linux
> - i686-linux.
>  gnu/packages/pantheon.scm | 37 +++++++++++++++----------------------
>  1 file changed, 15 insertions(+), 22 deletions(-)

Thanks for the patch, I've removed the guix style changes from this
commit as mixing them in with the version change makes it quite hard to
review. I did change the arguments to use a gexp for the phases
though. If you want to use guix style for this package, feel free to
submit another patch.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#71409] [PATCH] gnu: pantheon-calculator: Update to 8.0.0.
  2024-06-11 11:45 ` bug#71409: " Christopher Baines
@ 2024-06-11 11:45   ` Christopher Baines
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2024-06-11 11:45 UTC (permalink / raw)
  To: 71409; +Cc: altadil, 71409-done

[-- Attachment #1: Type: text/plain, Size: 832 bytes --]

altadil via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/pantheon.scm (pantheon-calculator): Update to 8.0.0.
> Also run guix style on the package definition.
>
> Change-Id: I7d935b0eef3d14990fc4dbbd408febe8de977a29
> ---
> guix build --no-grafts --check --rounds=2 was successfully run on a Zen4 CPU,
> for the following --system= options:
> - x86_64-linux
> - i686-linux.
>  gnu/packages/pantheon.scm | 37 +++++++++++++++----------------------
>  1 file changed, 15 insertions(+), 22 deletions(-)

Thanks for the patch, I've removed the guix style changes from this
commit as mixing them in with the version change makes it quite hard to
review. I did change the arguments to use a gexp for the phases
though. If you want to use guix style for this package, feel free to
submit another patch.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-11 20:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-07  9:01 [bug#71409] [PATCH] gnu: pantheon-calculator: Update to 8.0.0 altadil via Guix-patches via
2024-06-11 11:45 ` bug#71409: " Christopher Baines
2024-06-11 11:45   ` [bug#71409] " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).