From patchwork Sun Aug 4 14:30:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: dan X-Patchwork-Id: 66668 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 3361727BBE9; Sun, 4 Aug 2024 15:32:20 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, 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 6A49327BBE2 for ; Sun, 4 Aug 2024 15:32:17 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sacH5-0004lT-UG; Sun, 04 Aug 2024 10:31:55 -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 1sacH3-0004k2-Sk for guix-patches@gnu.org; Sun, 04 Aug 2024 10:31:53 -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 1sacH3-00077q-Ho for guix-patches@gnu.org; Sun, 04 Aug 2024 10:31:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=A0tcpwjdwvTe0AC8pV/Q+t+FXDxdKrr8QRbVovQZxY8=; b=bIhuTMPltAhpEy/nVcv1k+LXlsqrtXAHahad8VmfEgdZ6Q3dqNjUFJZOxbCNYBqGRslTW/xBcOtWgZwewFoGROBSNWzXoG6mPhJ74Eu9PWvyTB81dlTdOxCAe3Fz8RM/XqsZRXr7BZ0CeGOnDx3IQv/bpOg0EPTswggzimp3LfCVHZ89GJVMJf540o8AE+H9DmwBUR/Tz38f5XEeiWtxKvx8U0ZL/rkT614R9bRvx5sZN7Pad0SiYtz+X3WxEXvMRY8aiSV+UuhwmpgkbHXbBGku7WdQodI4sIVk8u1m3Mec1ViOy0Lo7Y8bRRBDiMA/Wnuwr5Ii21s6h42Bxhwcpw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sacHK-000169-Ae; Sun, 04 Aug 2024 10:32:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71897] [PATCH v6 3/7] gnu: Add cppgir. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: i@dan.games, maxim.cournoyer@gmail.com, liliana.prikler@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org Resent-Date: Sun, 04 Aug 2024 14:32:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71897 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71897@debbugs.gnu.org Cc: dan , Maxim Cournoyer , Liliana Marie Prikler , Vivien Kraus X-Debbugs-Original-Xcc: dan , Maxim Cournoyer , Liliana Marie Prikler , Vivien Kraus Received: via spool by 71897-submit@debbugs.gnu.org id=B71897.17227819144107 (code B ref 71897); Sun, 04 Aug 2024 14:32:10 +0000 Received: (at 71897) by debbugs.gnu.org; 4 Aug 2024 14:31:54 +0000 Received: from localhost ([127.0.0.1]:56874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sacH3-000147-DY for submit@debbugs.gnu.org; Sun, 04 Aug 2024 10:31:54 -0400 Received: from fout4-smtp.messagingengine.com ([103.168.172.147]:43211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sacGy-00012z-T3 for 71897@debbugs.gnu.org; Sun, 04 Aug 2024 10:31:50 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfout.nyi.internal (Postfix) with ESMTP id 97F4A1387AFB for <71897@debbugs.gnu.org>; Sun, 4 Aug 2024 10:31:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 04 Aug 2024 10:31:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1722781882; x=1722868282; bh=A0tcpwjdwvTe0AC8pV/Q+t+FXDxdKrr8QRbVovQZxY8=; b= TucCmUDjz8VS1RsQYnSgMwmZiS46uKyH2NrTB4BrGJ3i4TsT2tC8/j4pKNryjMfD OZKnjQiHgDpdCNY1ECknRr6XMlvkQpdLtMbZLE9qxSf/NYlYerMmlySvDts/Rfk6 PVnkPHh/V37IWT2ngDK6OpWqbMRtRjIMLLiHmc36YqPCAISEf9kR7NVkaMY9LXIF nvShIj4u6Lo1jSUihvAwUtVS8InT2RsGCcP7sWef63LlkKdQiNMVlK3e6o56KZEO avy+a/Hp6FO5sk5hhxCBFIyIFXCOEm1jm7rgnadk48unnGP2hnflG+KABWQl+Lge n4ib0Lldjwe6HpVV8HnT3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1722781882; x= 1722868282; bh=A0tcpwjdwvTe0AC8pV/Q+t+FXDxdKrr8QRbVovQZxY8=; b=U 1dAiCES6S+YrSEZ5bsqDsKn4v8HjahVCd5lFB2XNxQntto4bgz1eyBJ1OvnexhfK yJgmDUMANLlb79I2eQzm89+5VIIeH1S0LhnNyMfYTks1AWAh/ckApTtLIjJzlu6G L8hcjBEFWfSNyv36xt2Eh/IymsZqfwhcKNQliUUVqVbQcR0VMMUk6JS/r38JasAZ Nihm0XUamFY2131kz5sI5Ro9m/7It/dOCaz3fTTNFFxZudwt1ZaoVu3lDyzX1KQG cJAreuEbqfv62IUWQ7KRStsHaK29nWXsU7njg9dYJFK11dSrOh2xoDedZBp65PsG GneawKaVRtpsS/URetSgA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrkeeggdejkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfgggtgfesthekre dtredtjeenucfhrhhomhepuggrnhcuoehisegurghnrdhgrghmvghsqeenucggtffrrght thgvrhhnpefgtedttdfgtddtieffudeffeelgedtuddtvdevheektdeifedvieefieffie ejueenucffohhmrghinhepghhithhlrggsrdgtohhmnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepihesuggrnhdrghgrmhgvshdpnhgspghrtg hpthhtoheptd X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <71897@debbugs.gnu.org>; Sun, 4 Aug 2024 10:31:21 -0400 (EDT) From: dan Date: Sun, 4 Aug 2024 22:30:46 +0800 Message-ID: <080c4a79813c969bc7de849993632a23e2a20e5c.1722781401.git.i@dan.games> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: 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: , 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/glib.scm (cppgir): New variable. Change-Id: Ic4510be6d05b7b3977aa457c6a7fec382c1d3a88 --- gnu/packages/glib.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index b11046f05d..3a44207afe 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2022 Petr Hodina ;;; Copyright © 2023 Saku Laesvuori ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 dan ;;; ;;; This file is part of GNU Guix. ;;; @@ -71,6 +72,7 @@ (define-module (gnu packages glib) #:use-module (gnu packages perl-check) #:use-module (gnu packages popt) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages pretty-print) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages sqlite) @@ -1594,3 +1596,30 @@ (define-public libdex Dex also provides Fibers which allow writing synchronous looking code in C that uses asynchronous and future-based APIs.") (license license:lgpl2.1+))) + +(define-public cppgir + (package + (name "cppgir") + (version "2.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.com/mnauw/cppgir") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0cj4myqzb28hgb7zlxlba9y8n4ysxkvv2y9wy6f7ps58mr18h7bl")))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + #~(list "-DINTERNAL_EXPECTED=OFF"))) + (inputs (list boost fmt expected-lite)) + (home-page "https://gitlab.com/mnauw/cppgir") + (synopsis "GObject introspection C++ binding wrapper generator") + (description "cppgir processes .gir files derived from GObject +introspection annotations into a set of C++ files defining suitable +namespaces, classes and other types that together form a C++ binding.") + (license license:expat)))