From patchwork Tue Aug 8 13:52:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ykonai X-Patchwork-Id: 52672 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8794C27BBE9; Tue, 8 Aug 2023 14:54:41 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,TVD_SPACE_RATIO, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D635327BBE2 for ; Tue, 8 Aug 2023 14:54:39 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTNA4-0002yQ-Jt; Tue, 08 Aug 2023 09:54:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTN9x-0002x7-E1 for guix-patches@gnu.org; Tue, 08 Aug 2023 09:54:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTN9v-0000VU-8W for guix-patches@gnu.org; Tue, 08 Aug 2023 09:54:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTN9v-0003hv-4I for guix-patches@gnu.org; Tue, 08 Aug 2023 09:54:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65149] [PATCH 2/4] gnu: Add sbcl-cl-gobject-introspection-wrapper. Resent-From: ykonai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Aug 2023 13:54:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65149 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65149@debbugs.gnu.org Received: via spool by 65149-submit@debbugs.gnu.org id=B65149.169150278614151 (code B ref 65149); Tue, 08 Aug 2023 13:54:03 +0000 Received: (at 65149) by debbugs.gnu.org; 8 Aug 2023 13:53:06 +0000 Received: from localhost ([127.0.0.1]:35717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTN90-0003g4-Et for submit@debbugs.gnu.org; Tue, 08 Aug 2023 09:53:06 -0400 Received: from mail.ykonai.net ([23.183.83.77]:57030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTN8y-0003f4-Hu for 65149@debbugs.gnu.org; Tue, 08 Aug 2023 09:53:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ykonai.net; s=dkim; t=1691502778; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=swrvr2HbG1XCO9Y4Y9oMaGsXR1Zdxv0ERo6u6IzwUxI=; b=b0uhJ/JlYFMI8r8ZXQHN/vtu2bjKEPFj5Gz8U1s81yEM+Xo2Tt/BoVtnPCmGDcN476S52i rofzsLqHznYlNL4YtESjLQA/E2izECH2B63v4SHIpFrulKjVLB1pkPkpcp9wth2bTK1NI6 Nc3XaIH2IdHqv3lAJFkBGOlLnXrQtdixVUSVuk1eoxXW0+F2gKpbOPnq5xa6TUtvJnzh/a grxLUK8pARdauNgD3eRErGcDqSf5OTKn12Kcc3tYawngwh2rh3T5MTVbvoyzYairav0mZb kJwPUOSKb5VMqILHVct3x0/TAxhtF6utM1rVNLxkVbHQnDvh7P1xiRcWO7Y18Q== Received: by mail.ykonai.net (OpenSMTPD) with ESMTPSA id 494fd8d7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <65149@debbugs.gnu.org>; Tue, 8 Aug 2023 13:52:58 +0000 (UTC) Date: Tue, 8 Aug 2023 15:52:10 +0200 Message-ID: <20230808135212.1452175-2-mail@ykonai.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230808135212.1452175-1-mail@ykonai.net> References: <20230808135212.1452175-1-mail@ykonai.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: ykonai X-ACL-Warn: , ykonai via Guix-patches X-Patchwork-Original-From: ykonai via Guix-patches via From: ykonai Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp-xyz.scm (sbcl-cl-gobject-introspection-wrapper, cl-gobject-introspection-wrapper, ecl-cl-gobject-introspection-wrapper): New variables. --- gnu/packages/lisp-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 0f66ba961e..f35b363113 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -9604,6 +9604,43 @@ (define-public cl-gobject-introspection (define-public ecl-cl-gobject-introspection (sbcl-package->ecl-package sbcl-cl-gobject-introspection)) +(define-public sbcl-cl-gobject-introspection-wrapper + (let ((commit "2d197cba7e7d734ac8a2e181e5e709e5b218bada") + (revision "1")) + (package + (name "sbcl-cl-gobject-introspection-wrapper") + (version (git-version "1.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/bohonghuang/cl-gobject-introspection-wrapper") + (commit commit))) + (file-name (git-file-name "cl-gobject-introspection-wrapper" + version)) + (sha256 + (base32 + "05np2zs5806ib6qfz7d6knyaz6llxgwvjqavl1fsz5hcga40296s")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-cl-ppcre + sbcl-alexandria + sbcl-cl-gobject-introspection)) + (home-page + "https://github.com/bohonghuang/cl-gobject-introspection-wrapper") + (synopsis + "Wrap and call GObject Introspection FFI function in Common Lisp") + (description + "This library converts the elements from GObject Introspection into +Common Lisp-style definitions, based on cl-gobject-introspection.") + (license license:lgpl3)))) + +(define-public cl-gobject-introspection-wrapper + (sbcl-package->cl-source-package sbcl-cl-gobject-introspection-wrapper)) + +(define-public ecl-cl-gobject-introspection-wrapper + (sbcl-package->ecl-package sbcl-cl-gobject-introspection-wrapper)) + (define-public sbcl-cl-slug (let ((commit "ffb229d10f0d3f7f54e706791725225e200bf749") (revision "1"))