From patchwork Sat Sep 21 14:53:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: dan X-Patchwork-Id: 68274 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 125F927BBEA; Sat, 21 Sep 2024 15:55:45 +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=ham 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 8521727BBE2 for ; Sat, 21 Sep 2024 15:55:44 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ss1VW-0001KG-RE; Sat, 21 Sep 2024 10:54:46 -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 1ss1VV-0001Jj-Mo for guix-patches@gnu.org; Sat, 21 Sep 2024 10:54:45 -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 1ss1VV-0006Ve-Bh for guix-patches@gnu.org; Sat, 21 Sep 2024 10:54:45 -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=E3vBdmd4NNiyPGZwq+rt33Ii907fOXVEULqddZJmwhE=; b=AbPnycYSAfZl/6SmtYt1QEtphHfLGaazW/sRHw1dMpuQc30C0lXW3oPUWhbm/VTyoTBpXDW+zyM4ZdAcQk+20Aj0Hzk5XKxTVNyXA2h4qD8NZbtmei0zF7ib7nMPcAJDXvTqd5PFrNLWs+gpdr1bdgyomG8D4xzJSLI4OP5aAvmuQBlVyECG/EF6bQeKE5nUWcAjC1IA5/CnuNtE7CT0x8rsxkmluLuhQI4VoAl5KmbX93jYYifujNTG2ksfXTDhnWSBvZR/W/ObEg8YZ9AHOL205wbDkI6QKVznwifW41Ihph9OPoYMl6/2fCM5S7rdWzej3m/WW+ueqJkE/EUwyQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ss1Vn-0004dQ-H1; Sat, 21 Sep 2024 10:55:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71897] [PATCH v8 3/8] gnu: Add cppgir. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: i@dan.games, maxim.cournoyer@gmail.com, liliana.prikler@gmail.com, sharlatanus@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org Resent-Date: Sat, 21 Sep 2024 14:55:03 +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 , Sharlatan Hellseher , Vivien Kraus X-Debbugs-Original-Xcc: dan , Maxim Cournoyer , Liliana Marie Prikler , Sharlatan Hellseher , Vivien Kraus Received: via spool by 71897-submit@debbugs.gnu.org id=B71897.172693045517657 (code B ref 71897); Sat, 21 Sep 2024 14:55:03 +0000 Received: (at 71897) by debbugs.gnu.org; 21 Sep 2024 14:54:15 +0000 Received: from localhost ([127.0.0.1]:40148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ss1V0-0004ai-It for submit@debbugs.gnu.org; Sat, 21 Sep 2024 10:54:15 -0400 Received: from fout1-smtp.messagingengine.com ([103.168.172.144]:53051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ss1Uv-0004Zm-I5 for 71897@debbugs.gnu.org; Sat, 21 Sep 2024 10:54:10 -0400 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id 077B4138013A for <71897@debbugs.gnu.org>; Sat, 21 Sep 2024 10:53:44 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Sat, 21 Sep 2024 10:53:44 -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=1726930424; x=1727016824; bh=E3vBdmd4NNiyPGZwq+rt33Ii907fOXVEULqddZJmwhE=; b= ng4ElA+k98ILmc4GHXbHdzLotqlfFZ/mLNXObvq0X7jjrYkmS9KuPJoTWxN9z2KV Yl9FJEF580sN/97igdqwERvY1A2G61fC7c3A+F2rzzWmmDnmY+YkeA6BjyUaxalW RWn0AXVDDfTjHncUBZ1RFgqE4Ao5Lwdv2pLzvqL/o9/FI1z6MGE9G0kSa9Jpg3PP /VuWbOIrGJtVyAxQbgpo8vy/X7awDqKPVOE60Da9ScdzdLqaG5WSJYFM0I0VYlTJ 7BqNj+fL8lgnkkrK56lOfXv2m5vV6jN8KRSdyizXBA4UtZNJDkH0Pw6xQfzs/Zr5 Gct69RbNB2hg5iRbkdy4Fg== 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=1726930424; x= 1727016824; bh=E3vBdmd4NNiyPGZwq+rt33Ii907fOXVEULqddZJmwhE=; b=E 0GP+2CWhWwysBDE0dhK5u/YN3AzuuaWhbtRpMceoli7+5rK1Xw1iFb5oIrf4F/w+ k+QpxTye63GWzaTD/IVaZq9Izx028yw7m09zhzD0RWKfQ/x7UugU7FVMzlSX2p0T Cq76V/vlXzYQ24O+UW6loQZ1CCNfEk73Q0L0FId5pkzcKx7x30ieaY4QK1QGN4pA PF8A8nWvrkHPqrpD8dFHRgjqGYf5BMBkC3ShzlASovZpc7CAR3BYUrC9QG5PANJo aNvXELPcYvCsNDQAdnuL0bhX3CCcrZFaS6eZEDSYG5npHqqwEPjcUE+igLqkhxN1 bg6Zs7znmkaQaPE7QCqug== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudelhedgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuff fkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpegurghnuceoihesuggrnhdrghgr mhgvsheqnecuggftrfgrthhtvghrnhepgfettddtgfdttdeiffdufeefleegtddutddvve ehkedtieefvdeifeeiffeijeeunecuffhomhgrihhnpehgihhtlhgrsgdrtghomhenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehisegurghnrd hgrghmvghspdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphht thhopeejudekleejseguvggssghughhsrdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <71897@debbugs.gnu.org>; Sat, 21 Sep 2024 10:53:42 -0400 (EDT) From: dan Date: Sat, 21 Sep 2024 22:53:09 +0800 Message-ID: <63bc539416af351630e1008c30c311a62b3c1201.1726930328.git.i@dan.games> X-Mailer: git-send-email 2.46.0 In-Reply-To: <5fddf9f718d95467cd90d9d2625d749af580205c.1726930328.git.i@dan.games> References: <5fddf9f718d95467cd90d9d2625d749af580205c.1726930328.git.i@dan.games> 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 | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index d6275ea63e..f695d065b3 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015, 2016, 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2016, 2019, 2020, 2021, 2024 Ludovic Courtès ;;; Copyright © 2013, 2015 Andreas Enge ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2021 Mark H Weaver @@ -21,6 +21,7 @@ ;;; Copyright © 2023 Saku Laesvuori ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 Remco van 't Veer +;;; Copyright © 2024 dan ;;; ;;; This file is part of GNU Guix. ;;; @@ -72,6 +73,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) @@ -1592,3 +1594,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)))