From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ELSiKgf0k2YNEQAAe85BDQ:P1 (envelope-from ) for ; Sun, 14 Jul 2024 15:51:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ELSiKgf0k2YNEQAAe85BDQ (envelope-from ) for ; Sun, 14 Jul 2024 17:51:35 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b="NQNpK/wJ"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="a GZNAgV"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720972295; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=A0tcpwjdwvTe0AC8pV/Q+t+FXDxdKrr8QRbVovQZxY8=; b=t/DLLIDehoqPkfQR7uMVxn1LjQ3tBjN1mgYVHe8shJ2sYkVA4iFvRhPMVnnU3x3XzqsT1t 7zjC0RcL/pHA43t2VTNHTMrRIQ0MnxC+knqGYu+Z1DkeWh84sFIuZDnglHHpiaaWPwF/kq nogs9ePiWl4GNZAh+UeCEESuNyA5AGOE3iKlF+36NBdhDB5brtU2qqlyQQUeoAcpqVhpzX ZVrJ1U2eB1nZoCkGHPNL2jjRT4RWGPz653kpaqra3P2XIGB5ynNAySVTnbyQThCVtj2rs5 rXa/suP7eAg/8VpOhGsSxXuhQZ9zJcXz/KWolOdsNKO5nhq4tzep3TEypvOqoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720972295; a=rsa-sha256; cv=none; b=F7PD7Inxh0NkipJ1gOy8qYbMFESSG+hp3aTa4ow3di6cZxhQl1kmC64ZkfKQhmnVNu3cNr 6v5ZOvdSzE4pguzU5cdrR96I6dyd2GElYwSVOE6veUHcp/KtM3CyLIk1YRUcIoYzYfAXFl UAkDJZ39VpErsLgRpUZuT0dtyaiBQenvKRr2k/nvGfjAKtrUdxfFiRdE/7hl2/LERni5/V cOjsOur4sefmPWlENLI2VkZvmoVELDmNkyv37CoOxMqCzhX/ugzFza7dVBNKQAnajZGGP0 xiOTVDVuj4D67pfSmjxTyxgRw1UIOFd3doic6X+cqA+fTT2ESi0kyYebbmma4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b="NQNpK/wJ"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="a GZNAgV"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CD75738A79 for ; Sun, 14 Jul 2024 17:51:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sT1VC-0006CB-AW; Sun, 14 Jul 2024 11:51:06 -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 1sT1V8-00068v-Fq for guix-patches@gnu.org; Sun, 14 Jul 2024 11:51:02 -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 1sT1V8-0004hR-3Z for guix-patches@gnu.org; Sun, 14 Jul 2024 11:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sT1V8-00023M-Vn; Sun, 14 Jul 2024 11:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71897] [PATCH v5 3/6] 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, 14 Jul 2024 15:51:02 +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.17209722247791 (code B ref 71897); Sun, 14 Jul 2024 15:51:02 +0000 Received: (at 71897) by debbugs.gnu.org; 14 Jul 2024 15:50:24 +0000 Received: from localhost ([127.0.0.1]:58438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sT1UV-00021b-Fr for submit@debbugs.gnu.org; Sun, 14 Jul 2024 11:50:23 -0400 Received: from fhigh1-smtp.messagingengine.com ([103.168.172.152]:35899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sT1UT-000215-0d for 71897@debbugs.gnu.org; Sun, 14 Jul 2024 11:50:22 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 627461140482 for <71897@debbugs.gnu.org>; Sun, 14 Jul 2024 11:50:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sun, 14 Jul 2024 11:50:14 -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=fm3; t=1720972214; x=1721058614; bh=A0tcpwjdwvTe0AC8pV/Q+t+FXDxdKrr8QRbVovQZxY8=; b= NQNpK/wJIB3A630BKz1Gn4SRKAuk7f49+rJ+h6OMvZ3l3seVrh9CWk6TXxNaLhZV 0AXLdEgiqQyBAubqfSeDPBIHcZ2mT2GOn0488KXSDeQeIpo+QM17BpYPI3ZNHi3d 32XG1VTDkDGqXWHJVLp+9ycimSgaf3ByTlR7lfRuyR0II5aiVwoYnNlmfeKRUWDA 3Av5ZozsFYEkVq6O5X6jwOdv3KvnG9H4aTwilR/xFmqVjoN5mtK7o470+KIbVl4e +ABL3V5CFoIwsEx4HwK8ssh0njuAzE8d3VzRQDjjJ0OYK1hvl2/QfPlxMky60buU 5Q9LfdShKrUUHwyc7wz77Q== 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=fm2; t=1720972214; x= 1721058614; bh=A0tcpwjdwvTe0AC8pV/Q+t+FXDxdKrr8QRbVovQZxY8=; b=a GZNAgVhit6IVmdiyeKnHkSwkDZ+xH4LCCkHrlOVC1tqhg2zjhsFXdbL9nIC0fQGc 0TjTNM7nrtsxxEqrYAp+h2EDB92/oA7MbILH+18HcaL8g1dWNQUD1HSY13I4qKjU 4AzEj/WV4kcyGaYEVWvRSFSBohpQy+MzVSxLkOIyabRCdV8OQqFRlZ8od1MaEArJ ecfaY3wIQizFS+JrgtD0Ka9yTFd3/kM94UDCjDWRChU8KlF+FCVgJQBDTxJAFgUq O5oHF/zV1YUP2Z4DNFOeGw5Ptu25HttGNuOOkuK64pNdeZs0rT58smBSsITpapOE hajGQ9YJAeX4fGtfjeOyA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrgedtgdelgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfgggtgfesthekre dtredtjeenucfhrhhomhepuggrnhcuoehisegurghnrdhgrghmvghsqeenucggtffrrght thgvrhhnpefgtedttdfgtddtieffudeffeelgedtuddtvdevheektdeifedvieefieffie ejueenucffohhmrghinhepghhithhlrggsrdgtohhmnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepihesuggrnhdrghgrmhgvsh X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <71897@debbugs.gnu.org>; Sun, 14 Jul 2024 11:50:12 -0400 (EDT) From: dan Date: Sun, 14 Jul 2024 23:49:00 +0800 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <86d68b5e47edc7d9be9cceff7941087131340ffa.1720972086.git.i@dan.games> References: <86d68b5e47edc7d9be9cceff7941087131340ffa.1720972086.git.i@dan.games> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.00 X-Spam-Score: -0.00 X-Migadu-Queue-Id: CD75738A79 X-Migadu-Scanner: mx11.migadu.com X-TUID: B1PoDVY9X+xs * 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))) -- 2.41.0