unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68928] [PATCH] gnu: guile-ics: Update to 0.6.0 and fix cross-compilation.
@ 2024-02-04 19:24 Artyom V. Poptsov
  2024-02-05  7:43 ` bug#68928: " Hilton Chain via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Artyom V. Poptsov @ 2024-02-04 19:24 UTC (permalink / raw)
  To: 68928


[-- Attachment #1.1: Type: text/plain, Size: 94 bytes --]

Hello,

this patch set updates Guile-ICS to 0.6.0 and fixes cross-compilation of
the package.

[-- Attachment #1.2: 0001-gnu-guile-ics-Update-to-0.6.0.patch --]
[-- Type: text/x-diff, Size: 2747 bytes --]

From 51bdaa4af22b98de6d0dc3d79860868809d78df8 Mon Sep 17 00:00:00 2001
Message-ID: <51bdaa4af22b98de6d0dc3d79860868809d78df8.1707074547.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sun, 4 Feb 2024 22:12:28 +0300
Subject: [PATCH 1/2] gnu: guile-ics: Update to 0.6.0.

* gnu/packages/guile-xyz.scm (guile-ics): Update to 0.6.0.
  [inputs]: Remove "which".
  (guile2.2-ics) [inputs]: Remove "which".

Change-Id: I969b2dfe7f3007001930ba132821f6427a367e9e
---
 gnu/packages/guile-xyz.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index d773313636..57a4b84efe 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -38,7 +38,7 @@
 ;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
 ;;; Copyright © 2021 Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
 ;;; Copyright © 2021 Oleg Pykhalov <go.wigust@gmail.com>
-;;; Copyright © 2021, 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2021, 2022, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 ;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
 ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
@@ -2175,7 +2175,7 @@ (define-public guile-hall
 (define-public guile-ics
   (package
     (name "guile-ics")
-    (version "0.5.0")
+    (version "0.6.0")
     (source
      (origin
        (method git-fetch)
@@ -2185,7 +2185,7 @@ (define-public guile-ics
        (file-name (string-append name "-" version "-checkout"))
        (sha256
         (base32
-         "1ipryn69ad4viqai9pnwhkqqpf9wgw0m2qxrwkfrpm1bfdyilw9w"))))
+         "1gkz19iz3ncf9ddr731lsaw12ca7ygj3dxziz54s9xpp5cw19r0v"))))
     (build-system gnu-build-system)
     (arguments
      (list #:phases #~(modify-phases %standard-phases
@@ -2197,7 +2197,7 @@ (define-public guile-ics
            gettext-minimal ;Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'.
            help2man
            pkg-config))
-    (inputs (list guile-3.0 which))
+    (inputs (list guile-3.0))
     (propagated-inputs (list guile-lib guile-smc guile-dsv))
     (home-page "https://github.com/artyom-poptsov/guile-ics")
     (synopsis "Guile parser library for the iCalendar format")
@@ -2213,7 +2213,7 @@ (define-public guile2.2-ics
   (package
     (inherit guile-ics)
     (name "guile2.2-ics")
-    (inputs (list guile-2.2 which))
+    (inputs (list guile-2.2))
     (propagated-inputs (list guile2.2-lib guile2.2-dsv guile2.2-smc))))
 
 (define-public guile-imanifest

base-commit: abeffc82379c4f9bd2e6226ea27453b22cb4e0c8
-- 
2.41.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: 0002-gnu-guile-ics-Fix-cross-compilation.patch --]
[-- Type: text/x-diff, Size: 2045 bytes --]

From d9c6763db49ba99c69d866d556a1dbabd53f2264 Mon Sep 17 00:00:00 2001
Message-ID: <d9c6763db49ba99c69d866d556a1dbabd53f2264.1707074547.git.poptsov.artyom@gmail.com>
In-Reply-To: <51bdaa4af22b98de6d0dc3d79860868809d78df8.1707074547.git.poptsov.artyom@gmail.com>
References: <51bdaa4af22b98de6d0dc3d79860868809d78df8.1707074547.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sun, 4 Feb 2024 22:22:10 +0300
Subject: [PATCH 2/2] gnu: guile-ics: Fix cross-compilation.

* gnu/packages/guile-xyz.scm (guile-ics): Fix cross-compilation.
  [native-inputs]: Add "guile-3.0", "guile-lib" and "guile-smc".
  (guile2.2-ics) [native-inputs]: Replace the inputs needed for
  cross-compilation with the same ones but for Guile 2.2.

Change-Id: Ie35f8087b1db30992f63edac8d303f854139ecbf
---
 gnu/packages/guile-xyz.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 57a4b84efe..ce0affdaea 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2196,7 +2196,11 @@ (define-public guile-ics
            texinfo
            gettext-minimal ;Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'.
            help2man
-           pkg-config))
+           pkg-config
+           ;; needed when cross-compiling.
+           guile-3.0
+           guile-lib
+           guile-smc))
     (inputs (list guile-3.0))
     (propagated-inputs (list guile-lib guile-smc guile-dsv))
     (home-page "https://github.com/artyom-poptsov/guile-ics")
@@ -2213,6 +2217,11 @@ (define-public guile2.2-ics
   (package
     (inherit guile-ics)
     (name "guile2.2-ics")
+    (native-inputs
+     (modify-inputs (package-native-inputs guile-ics)
+       (replace "guile" guile-2.2)
+       (replace "guile-lib" guile2.2-lib)
+       (replace "guile-smc" guile2.2-smc)))
     (inputs (list guile-2.2))
     (propagated-inputs (list guile2.2-lib guile2.2-dsv guile2.2-smc))))
 
-- 
2.41.0


[-- Attachment #1.4: Type: text/plain, Size: 225 bytes --]


Thanks,
- avp

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

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

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

* bug#68928: [PATCH] gnu: guile-ics: Update to 0.6.0 and fix cross-compilation.
  2024-02-04 19:24 [bug#68928] [PATCH] gnu: guile-ics: Update to 0.6.0 and fix cross-compilation Artyom V. Poptsov
@ 2024-02-05  7:43 ` Hilton Chain via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: Hilton Chain via Guix-patches via @ 2024-02-05  7:43 UTC (permalink / raw)
  To: Artyom V. Poptsov; +Cc: 68928-done

Hi Artyom,

On Mon, 05 Feb 2024 03:24:47 +0800,
Artyom V. Poptsov wrote:
>
> [1  <multipart/mixed (7bit)>]
> [1.1  <text/plain (7bit)>]
> Hello,
>
> this patch set updates Guile-ICS to 0.6.0 and fixes cross-compilation of
> the package.

Applied as 81660f9a10f0...bab883b981c4, thank you!




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

end of thread, other threads:[~2024-02-05  7:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-04 19:24 [bug#68928] [PATCH] gnu: guile-ics: Update to 0.6.0 and fix cross-compilation Artyom V. Poptsov
2024-02-05  7:43 ` bug#68928: " Hilton Chain via Guix-patches via

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