From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oAuZM9yNg2ZdGQEA62LTzQ:P1 (envelope-from ) for ; Tue, 02 Jul 2024 05:19:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oAuZM9yNg2ZdGQEA62LTzQ (envelope-from ) for ; Tue, 02 Jul 2024 07:19:24 +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=F+iCiyMx; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=dBWJqT1w; 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=1719897564; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=oTtBvLPqU0/eIjzWIHwxTjtsZfsx/v1ZqLle00PRuvM=; b=AYXO+yUle5i7Fo+INdkReMC/BG9WL6czju8OPUXMnMg6EFlTrsnKTrxlTiXq7pWCu8puCc 6PsNfqLVxMArhc4ICt7ajTHftOf/tMkXzPehLd8z+jW9BTnvD6W8iHN+iznaKB1FmVUvv0 sAJkyScTV8neVtH/OYwiTxMXcWuUHn/f1NKBFuE4SQUH4uKPh3mkj06ObZi16+9yc+UHQ7 mONUz90PEB37r618bO2mwP/7xYfxl0+GdJd/PlU38dXfkLu8mIY3DCWe+jsuCXhb33wyPU czyoiWXhmot4PUWqAIcrkZY4psC7Cc6clDC31zByDf2yo5dSxMYuPyKY2TREqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719897564; a=rsa-sha256; cv=none; b=o/4tqf6cF5sidlLMLTiUew4RIUvv9mk8F1IUJ+28XSmOOHx7e/zKrQAYGhUOn21iJze48R yoCTHSQvwFvb3eOsCU7Mbhn8TedEY/YG/UfWu0o83xIplCi6AT6S46kMwr3tIpFYVvMf/z QbejqTn/AP1Sn45qTnEb/C1qA2912yIouQPtN83xeXUmZdfvFJggX6um6wP4RXSetoLABi bMW96SHRP6INmZk8hlB2AFX2CAqB6t9pEmZuDIRedyYpFqHnYIUxXKPWQcLuXZX/oNb0Ip Zw0l7c59i0+QcS9RA2l4dXgPbD8jmHc2aplk2g1tS0pLkrYiOJ1IGg1v7SvPuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b=F+iCiyMx; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=dBWJqT1w; 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 D4EA03127D for ; Tue, 2 Jul 2024 07:19:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOVuy-0007sm-LT; Tue, 02 Jul 2024 01:19:04 -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 1sOVux-0007sV-G0 for guix-patches@gnu.org; Tue, 02 Jul 2024 01:19:03 -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 1sOVux-0003g0-76 for guix-patches@gnu.org; Tue, 02 Jul 2024 01:19:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sOVuw-0004Lt-2C; Tue, 02 Jul 2024 01:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71897] [PATCH 1/2] gnu: Add cppgir. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org Resent-Date: Tue, 02 Jul 2024 05:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71897 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71897@debbugs.gnu.org Cc: Liliana Marie Prikler , Maxim Cournoyer , Vivien Kraus X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Liliana Marie Prikler , Maxim Cournoyer , Vivien Kraus Received: via spool by submit@debbugs.gnu.org id=B.171989753516713 (code B ref -1); Tue, 02 Jul 2024 05:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jul 2024 05:18:55 +0000 Received: from localhost ([127.0.0.1]:35533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOVup-0004LV-75 for submit@debbugs.gnu.org; Tue, 02 Jul 2024 01:18:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:52984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOVum-0004LN-Ly for submit@debbugs.gnu.org; Tue, 02 Jul 2024 01:18:54 -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 1sOVul-0007rQ-E0 for guix-patches@gnu.org; Tue, 02 Jul 2024 01:18:51 -0400 Received: from fout4-smtp.messagingengine.com ([103.168.172.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOVuj-0003fG-Mt for guix-patches@gnu.org; Tue, 02 Jul 2024 01:18:51 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.nyi.internal (Postfix) with ESMTP id 6472B1380232 for ; Tue, 2 Jul 2024 01:18:47 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 02 Jul 2024 01:18:47 -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:message-id:mime-version:reply-to:subject :subject:to:to; s=fm3; t=1719897527; x=1719983927; bh=oTtBvLPqU0 /eIjzWIHwxTjtsZfsx/v1ZqLle00PRuvM=; b=F+iCiyMxaTk1I4bTgnMXotsFj6 7APCl5qKwndmtt41Ts0LO9QHFr4PFKD9emmkyFTnVlOz14RKSBVwiEES2huKXASX Bg5JtfAWwdcLe/phgVS/IToyAyhlcC/Z1X/YbkPQ3EDBzz9K+SVfBu7CJO8JJk9s 0vqxMpviGGI6uWkJwazA3ZqVY4VfCQKw5Kxf9KTuXdK6ITEDYnM6eU6TpBO1z84s PMT/mJwEdGM8kDSRJR9hdniE4wlIPOrDk9VYPVpE2Bg81gjETv0404qOhcAbWNHU HUpCASf9HMFiONBY8c0UiMrlJE7l+3PMKgFvopDisX/e7kF0h35NOAH+qTxQ== 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:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1719897527; x=1719983927; bh=oTtBvLPqU0/eIjzWIHwxTjtsZfsx /v1ZqLle00PRuvM=; b=dBWJqT1wDh4Y3kzN0GTXpNARWdFGE5lLH99jq8Sy567c zD17RwWbF8c3gktrhvLdn+0oHbKDFsH83FgMsuIAya1e5hcMjJ9r5NcHbEEwlrOd DDOgpCIQtmcFT1e/8tZwIjjhnBMTtBZ9mp1aJjcKBc/EHUO3JupN/vtAMde85TLJ FdvL1iP70+8+O9W4qrc8jlhxkRLfg4ISAAv73mV+D3fKpVwxh3HC9Z6X5dk9EKWH bKeUUvpffLB8Pe2llY6vGYMygmD3jU20vbG3f2azpdjPfxpCeMBp9HHjEqsNuvsk cz5o3pomDCTlUpiSnjqc0mSEi8m1obA3PuCTyt+0KQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeggdeludcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffogggtgfesthekredtre dtjeenucfhrhhomhepuggrnhcuoehisegurghnrdhgrghmvghsqeenucggtffrrghtthgv rhhnpeelveelhfetheeuiedthfdvteelledvhffflefhkeffheekvdehffeigeektefgje enucffohhmrghinhepghhithhlrggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepihesuggrnhdrghgrmhgvsh X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 2 Jul 2024 01:18:45 -0400 (EDT) From: dan Date: Tue, 2 Jul 2024 13:18:27 +0800 Message-ID: <2d3ccba28b9d4ff2168394bd7b3bff552e4d2183.1719897489.git.i@dan.games> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=103.168.172.147; envelope-from=i@dan.games; helo=fout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Queue-Id: D4EA03127D X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.18 X-Spam-Score: -3.18 X-TUID: DWkFKaj9vOjl * gnu/packages/glib.scm: Import (gnu packages pretty-print). (cppgir): New variable. Change-Id: Ifaf3af1642bb8cb4750ee4f679967fb57c9cc7e2 --- gnu/packages/glib.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index b11046f05d..10d39e4fe2 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,31 @@ (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 + (let ((commit "9c4f5820d94d62ab451501f016bfea97156518f4") + (revision "0")) + (package + (name "cppgir") + (version (git-version "2.0" revision commit)) + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.com/mnauw/cppgir") + (commit commit))) + (sha256 + (base32 "1fa9nf4yljfarihaqj5kd98yysrky7q316mh6l5b1rq39ga15k9b")))) + (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 "A GObject-Introspection C++ binding wrapper generator") + (description "it processes .gir files derived from GObject-Introspection +annotations into a set of C++ files defining suitable namespaces, classes and +other types that together from a C++ binding. In this way, the plain C +libraries and objects become available as native objects along with (RAII) +managed resource handling.") + (license license:expat)))) base-commit: 0f51ddd8dba6b69115d07f4a77ba70abb6521293 -- 2.41.0