From patchwork Sat Sep 21 11:34:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: dan X-Patchwork-Id: 68228 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 B305527BBE2; Sat, 21 Sep 2024 12:36:01 +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 779EF27BBE9 for ; Sat, 21 Sep 2024 12:36:00 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sryOz-00025P-A9; Sat, 21 Sep 2024 07:35:49 -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 1sryOu-00023z-BJ for guix-patches@gnu.org; Sat, 21 Sep 2024 07:35:44 -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 1sryOt-0004FG-VJ for guix-patches@gnu.org; Sat, 21 Sep 2024 07:35:44 -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=J+M+fGlUiKr2RLH9OXUwzkJvc/iMNsrU58I8qtPv5nTo8Vo5j6Izc7xdRkgsE0cm6l5SPkFNFrA27IryJEiJjWIdeDS7roBAyzhaHir2NRbWx+Pic5asY7TIJPgqN/YhmHs50YxWcqF9sX2Td1A4K6o/XxdhgfSRfJvN3wbgF3X87dxC0BVozxCu+6VxpCRG798jbhR6323Kl7sw0nFFW2d3rYbyOeRnE3wkWtqThx8tETmS1C77PMwa/Xi0IiM9ame1R/IR2lEhmngN/aufnLFImg8crV6ShVYGB/ywG+EnbuJ/UgHnFpeqxDZahIP5W0/p7y29Cr7E9Acg8FDPYQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sryPD-0001Px-7b; Sat, 21 Sep 2024 07:36:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71897] [PATCH v7 3/9] 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 11:36: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.17269185435333 (code B ref 71897); Sat, 21 Sep 2024 11:36:03 +0000 Received: (at 71897) by debbugs.gnu.org; 21 Sep 2024 11:35:43 +0000 Received: from localhost ([127.0.0.1]:37461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sryOs-0001Np-5J for submit@debbugs.gnu.org; Sat, 21 Sep 2024 07:35:43 -0400 Received: from fout7-smtp.messagingengine.com ([103.168.172.150]:50803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sryOm-0001Mz-55 for 71897@debbugs.gnu.org; Sat, 21 Sep 2024 07:35:39 -0400 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id DCCAF13802F8 for <71897@debbugs.gnu.org>; Sat, 21 Sep 2024 07:35:10 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Sat, 21 Sep 2024 07:35:10 -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=1726918510; x=1727004910; bh=E3vBdmd4NNiyPGZwq+rt33Ii907fOXVEULqddZJmwhE=; b= e/cLqomJjd8uwYGd+FwtbRORWepZmPq4gytTcN7t/yU4sV85d+12Aci14nPi8KOJ rViDd6qTw8O8+jSXB3UbRINl7Fc6DXhhvF4vqbLwl6MRJUeCn86kYriPuo7axdh3 5vtXP1YBJdEyXBMCaEUlOV32qK9IY4lVqGjPXqqWkjrGm1ZjqSqOH22j2aWsmE7o KgeV/3+lt/p/V9vEYk6z+WMCioCsT4MlEr83sGXY1jp54R9IYqW9zqNPY8vprAjp A9dqEiw27vCRIWT/XCQfctlVfnDyXklXiodimVdDyxpkyE4n+bvZGVgH7R58n+Da RaIhSoWmudKNzaXrHA94sA== 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=1726918510; x= 1727004910; bh=E3vBdmd4NNiyPGZwq+rt33Ii907fOXVEULqddZJmwhE=; b=K IU8TH96rPy80ZSejkr8cPLKpDmhu8PQKjA24bx7yBZIOLnuNvykECyUVj/8e+9Nc SMoaNFfK6egFzwpv6Y3djWpI21gj0jeaZ5r8PU75QXlldVBTmPfygobwmVlGDlB2 ZxYJOsDDpcuhaJ83zvJu8Yu4GAQByJ00CIecLxyBYYpPrGku8Pp08nTew+deVUqg 9TSJbtoV/G/N60CpxWCDvNNelOgutfe0kfxnNUDnBwmm2DrfOanhy8pHO852cGRQ mGryJWo217mJjb64SMYZ6gfomWipLeWR6Di+R0ulRyI/3PkmBYHnYTyqgwOy+Qcj 83oj4oJrC5tpw7/cY9g8A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudelhedggeefucetufdoteggodetrfdotf 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 07:35:09 -0400 (EDT) From: dan Date: Sat, 21 Sep 2024 19:34:37 +0800 Message-ID: <3b31fc145f1afc287f95c57249a3dd16d87ac779.1726918430.git.i@dan.games> X-Mailer: git-send-email 2.46.0 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 | 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)))