From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eDA8Alb+g2b8CwEAe85BDQ:P1 (envelope-from ) for ; Tue, 02 Jul 2024 13:19:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eDA8Alb+g2b8CwEAe85BDQ (envelope-from ) for ; Tue, 02 Jul 2024 15:19:18 +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=KKP4N693; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=dTlV9RHG; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719926357; 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=UHQktq6t5xgJQV8H3tw3WpQchIcDBfM/fZ61W9RaGCQ=; b=iTnsA2jlIVux+5VEaoRV+nDRDmDmOXApzwOjI04gkEzkm7k/fMOYrS7vq6d6oRq2nyh3tI Cbr5eLsCkkfhmD6Z+Aw1x5ZwAEgGVEeE6aoF7vnIvHuAGR+a9nY1Qv+MarT7lqdOWdH1XE vdcqy7WV98bvpmvR1PTMcKREtwCmA/qaG4vKlpt9+h4RyICWD83Y2kgoB18LEonR1vYL1D 7Gydhnx/wQNO32mVuJuD8m70FZVxpXeYIHAlzETgb8Za7cLfVMCRCZDyz6sKp00etXUSTA CNX/agSH4DQw/PbrHhPjssqC468OoKadcx1uTGo4Wkh1Sqmtwvl4B0GYwDW/ng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b=KKP4N693; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=dTlV9RHG; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719926357; a=rsa-sha256; cv=none; b=kBv8J1FhJyyJlMxFcXzlNa7OrMrMB2LEFSXhT2UUuhGHefGotMbWAnNUuy327RlP6vfGUt P15HifkhexfIk7J0DywJXLd6LEZ2Mkgh0ZmpP+uasCf2WmRBz/XKtGZM9DhNR8vqKRwj6T V6h3n7p95tFKKaCd4p48ZMbKdvJ1nStnSqFLZgbhfSVIaxumY8PO1O6ntKb9v3Kn9nYu7h Iu91QGgXX89QwKjZfpAmkRy7JNZYg99oHdsBFa13qr0q5ZfcSdUf+R7r81tDfdx6miiDJg SNpKj027Sy4focVaxSa+ckHnKn0wG1syCKkfXAtI7tPrmwi4n47xdXQ6aLIU4g== 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 C546411C93 for ; Tue, 2 Jul 2024 15:19:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOdPE-0001TK-2o; Tue, 02 Jul 2024 09:18: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 1sOdOV-0000z8-L4 for guix-patches@gnu.org; Tue, 02 Jul 2024 09:18:06 -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 1sOdOT-0006uQ-AK for guix-patches@gnu.org; Tue, 02 Jul 2024 09:18:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sOdOT-0000H3-T3; Tue, 02 Jul 2024 09:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71897] [PATCH 1/3] gnu: Add cppgir. References: <2d3ccba28b9d4ff2168394bd7b3bff552e4d2183.1719897489.git.i@dan.games> In-Reply-To: <2d3ccba28b9d4ff2168394bd7b3bff552e4d2183.1719897489.git.i@dan.games> 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: Tue, 02 Jul 2024 13:18:01 +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.17199262711012 (code B ref 71897); Tue, 02 Jul 2024 13:18:01 +0000 Received: (at 71897) by debbugs.gnu.org; 2 Jul 2024 13:17:51 +0000 Received: from localhost ([127.0.0.1]:36264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOdOI-0000GE-Tw for submit@debbugs.gnu.org; Tue, 02 Jul 2024 09:17:51 -0400 Received: from fout1-smtp.messagingengine.com ([103.168.172.144]:47425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOdOE-0000Fo-PF for 71897@debbugs.gnu.org; Tue, 02 Jul 2024 09:17:49 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id 7EBA81380242 for <71897@debbugs.gnu.org>; Tue, 2 Jul 2024 09:17:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 02 Jul 2024 09:17:39 -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=1719926259; x=1720012659; bh=UHQktq6t5x gJQV8H3tw3WpQchIcDBfM/fZ61W9RaGCQ=; b=KKP4N693zli1cGX9LSkxK1Iy35 f6iAGd+VNgYL9dxhhvf2H6EQU3+JxZTRVPyuu7k7d/Lp4PFG8WkpQoGXE5o9Rc+w dFW8kG0aIbAJFyQFVdZb2wQWifHC1n0JcuRHUuMwYs8tD+dzBu7uxYroh6+aIe6C JDXoSfBnl1xMRUYp/+2CD8WNqXCMGBh0ANPIbVTfgCOojtzsAHixiyJJiSGNJg8x PWbiriEPyKo+OqfUqbu8WuUwQ6v6zVkl2fzqtTe1LF/BTXdmOIhNctMBIMUs5/Um xnOP0G/UWBJMk/zYce/r3i2/kAm41NW0Zt59nzdSwIlWVSWaGyzTEjkbL96Q== 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=1719926259; x=1720012659; bh=UHQktq6t5xgJQV8H3tw3WpQchIcD BfM/fZ61W9RaGCQ=; b=dTlV9RHGGwX+KakZrEkx78SoQA0kKmKf/BwysmrnlRPo +KRlqlf5mpF0cJfzzb8DbiiZNLXxiWqn+Tm65XnkmcjoJWLl+c/2EYu+p0E/aq1G lUibLP8v/8EJYp3zfzoR8R0Dw8sR2ceRQqFdLkpEgMWnMj9y7+WGXov4YypTH3E9 lbINDWmaMxmSRQlg/6II2iG1+dUDCQwcrdgF6SLon2FC5HKFUl1lUmOplJVmqHtK XmAcqF66feAx1c+GXd3iWBTeODKMI8gSweuHG4kA+PZ++2vlDHsXnIDFViTtXI9i wXh3QigFcyamC2a8wAMOY8/u5LdZRhcfcPWyRNhV6Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudehgdeitdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffogggtgfesthekredtre dtjeenucfhrhhomhepuggrnhcuoehisegurghnrdhgrghmvghsqeenucggtffrrghtthgv rhhnpeelveelhfetheeuiedthfdvteelledvhffflefhkeffheekvdehffeigeektefgje enucffohhmrghinhepghhithhlrggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepihesuggrnhdrghgrmhgvsh X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <71897@debbugs.gnu.org>; Tue, 2 Jul 2024 09:17:38 -0400 (EDT) From: dan Date: Tue, 2 Jul 2024 21:17:14 +0800 Message-ID: X-Mailer: git-send-email 2.45.2 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: C546411C93 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.98 X-Spam-Score: -2.98 X-TUID: WGFBzRnAMlPq * gnu/packages/glib.scm: (cppgir): New variable. Change-Id: Ifaf3af1642bb8cb4750ee4f679967fb57c9cc7e2 --- gnu/packages/glib.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index b11046f05d..77279e6ad0 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,35 @@ (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+))) + +;; This package is added as a dependency of telegram-desktop. The 2.0 version +;; failed to compile, so we use the commit specified in telegram-desktop. +(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))) + (file-name (git-file-name name version)) + (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 "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. In this +way, the plain C libraries and objects become available as native objects +along with @acronym{RAII, Resource Acquisition Is Initialization} managed +resource handling.") + (license license:expat)))) base-commit: 4b3a553ca5ba5ac190739309eb5f7aa8170cf2a8 -- 2.41.0