unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68144] [PATCH 0/2] gnu: grim: Update to 1.4.1 and fix cross-compiling
@ 2023-12-30 11:04 Zheng Junjie
  2023-12-30 11:07 ` [bug#68144] [PATCH 1/2] gnu: grim: Update to 1.4.1 Zheng Junjie
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zheng Junjie @ 2023-12-30 11:04 UTC (permalink / raw)
  To: 68144

Zheng Junjie (2):
  gnu: grim: Update to 1.4.1.
  gnu: grim: Fix cross-compiling.

 gnu/packages/image.scm | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)


base-commit: f76ca2b0e894c244d5011a32b30dee8fd874e322
-- 
2.41.0





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

* [bug#68144] [PATCH 1/2] gnu: grim: Update to 1.4.1.
  2023-12-30 11:04 [bug#68144] [PATCH 0/2] gnu: grim: Update to 1.4.1 and fix cross-compiling Zheng Junjie
@ 2023-12-30 11:07 ` Zheng Junjie
  2023-12-30 11:07 ` [bug#68144] [PATCH 2/2] gnu: grim: Fix cross-compiling Zheng Junjie
  2024-01-03 14:29 ` bug#68144: [PATCH 0/2] gnu: grim: Update to 1.4.1 and fix cross-compiling Mathieu Othacehe
  2 siblings, 0 replies; 4+ messages in thread
From: Zheng Junjie @ 2023-12-30 11:07 UTC (permalink / raw)
  To: 68144

* gnu/packages/image.scm (grim): Update to 1.4.1.
[home-page]: update to new home-page
[source]: update url.

Change-Id: I8c2e4ebbf198df7cedda7c1c946ecb33a6e92fb1
---
 gnu/packages/image.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 79f1a293ec..843181a941 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -2225,20 +2225,20 @@ (define-public jp2a
 (define-public grim
   (package
    (name "grim")
-   (version "1.4.0")
+   (version "1.4.1")
    (source
     (origin
      (method git-fetch)
      (uri (git-reference
-           (url "https://github.com/emersion/grim")
+           (url "https://git.sr.ht/~emersion/grim")
            (commit (string-append "v" version))))
      (file-name (git-file-name name version))
      (sha256
-      (base32 "1b1k5cmmk7gzis0rncyl98lnhdwpjkdsv9pada5mmgxcpka6f0lp"))))
+      (base32 "1snp4qlj05d0nx4f0qr8kywv0i1xcw5i278ybng1rand2alhkjz5"))))
    (build-system meson-build-system)
    (native-inputs (list pkg-config scdoc))
    (inputs (list pixman libpng libjpeg-turbo wayland wayland-protocols))
-   (home-page "https://github.com/emersion/grim")
+   (home-page "https://sr.ht/~emersion/grim/")
    (synopsis "Create screenshots from a Wayland compositor")
    (description "grim can create screenshots from a Wayland compositor.")
    ;; MIT license.
-- 
2.41.0





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

* [bug#68144] [PATCH 2/2] gnu: grim: Fix cross-compiling.
  2023-12-30 11:04 [bug#68144] [PATCH 0/2] gnu: grim: Update to 1.4.1 and fix cross-compiling Zheng Junjie
  2023-12-30 11:07 ` [bug#68144] [PATCH 1/2] gnu: grim: Update to 1.4.1 Zheng Junjie
@ 2023-12-30 11:07 ` Zheng Junjie
  2024-01-03 14:29 ` bug#68144: [PATCH 0/2] gnu: grim: Update to 1.4.1 and fix cross-compiling Mathieu Othacehe
  2 siblings, 0 replies; 4+ messages in thread
From: Zheng Junjie @ 2023-12-30 11:07 UTC (permalink / raw)
  To: 68144

gnu/packages/image.scm(grim):
[native-inputs]: When cross compiling, add wayland, pkg-config-for-build.

Change-Id: I9dbf99d0bc92a62b17ded36937827dfbc6b29bb2
---
 gnu/packages/image.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 843181a941..8cf6207c57 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -2236,7 +2236,11 @@ (define-public grim
      (sha256
       (base32 "1snp4qlj05d0nx4f0qr8kywv0i1xcw5i278ybng1rand2alhkjz5"))))
    (build-system meson-build-system)
-   (native-inputs (list pkg-config scdoc))
+   (native-inputs (append (if (%current-target-system)
+                              ;; for wayland-scanner
+                              (list pkg-config-for-build wayland)
+                              '())
+                          (list pkg-config scdoc)))
    (inputs (list pixman libpng libjpeg-turbo wayland wayland-protocols))
    (home-page "https://sr.ht/~emersion/grim/")
    (synopsis "Create screenshots from a Wayland compositor")
-- 
2.41.0





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

* bug#68144: [PATCH 0/2] gnu: grim: Update to 1.4.1 and fix cross-compiling
  2023-12-30 11:04 [bug#68144] [PATCH 0/2] gnu: grim: Update to 1.4.1 and fix cross-compiling Zheng Junjie
  2023-12-30 11:07 ` [bug#68144] [PATCH 1/2] gnu: grim: Update to 1.4.1 Zheng Junjie
  2023-12-30 11:07 ` [bug#68144] [PATCH 2/2] gnu: grim: Fix cross-compiling Zheng Junjie
@ 2024-01-03 14:29 ` Mathieu Othacehe
  2 siblings, 0 replies; 4+ messages in thread
From: Mathieu Othacehe @ 2024-01-03 14:29 UTC (permalink / raw)
  To: Zheng Junjie; +Cc: 68144-done


> Zheng Junjie (2):
>   gnu: grim: Update to 1.4.1.
>   gnu: grim: Fix cross-compiling.

Applied, thanks,

Mathieu




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

end of thread, other threads:[~2024-01-03 14:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-30 11:04 [bug#68144] [PATCH 0/2] gnu: grim: Update to 1.4.1 and fix cross-compiling Zheng Junjie
2023-12-30 11:07 ` [bug#68144] [PATCH 1/2] gnu: grim: Update to 1.4.1 Zheng Junjie
2023-12-30 11:07 ` [bug#68144] [PATCH 2/2] gnu: grim: Fix cross-compiling Zheng Junjie
2024-01-03 14:29 ` bug#68144: [PATCH 0/2] gnu: grim: Update to 1.4.1 and fix cross-compiling Mathieu Othacehe

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).