From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 OO2mBlXgg2aKhAAAqHPOHw:P1 (envelope-from ) for ; Tue, 02 Jul 2024 11:11:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OO2mBlXgg2aKhAAAqHPOHw (envelope-from ) for ; Tue, 02 Jul 2024 13:11:17 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=UQgR+6SA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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=1719918676; 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=weOtVvTLlGE170cNNG56hGpyKCvq1JYq00evX7kwb50=; b=O54+CpBlqMy/PZB2rho8E5nd+ruTKRFDw/aD47QghGDlQQfY/uy9a1rEbt2euaBuB7mqti g6bEr1j4ucIdXhYM4Asjg030n2g5FacZcrgwuKkUXvNI3Mm+KN3/rap7aAbjMY+Snb17an x2qobNN1Acs0RpsXgJYlaYKHKfqsn2m8aE1ljTQtmXzrbUmUxjbWSkhiLb9VnPBad65sAf tSl257GeUKJsPC5ieMc7rOS1ps5Qkz8U8zKH3t86WKLmKWqZLsv7cfCodRmzxkE1KJL7XB xZ1GJfqONVGs2XdMxldPk0gWtsKI8zwVXDRm9L/mr89CzDR1NJw6eIwMErzsKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719918676; a=rsa-sha256; cv=none; b=rlz+fSLQgNGGTAqzs5GMud2Ovy2rT1+aAFXX0pn24wROB0hD0trAdLJI6GXFM0+3fow7Ll cfyxiq/96+s9Qh9QUwCfhyxsX3XnOk/u7wrOOkKfoikyvTs3Yt3x3RQ7TfE/vstodFpKXm 8S8RVpee1I5Si0hAt8D3M7cAYW/zR2o3Pf+zMtaQasbu+8Pdb6XAIAPGocmPG0v9M9wNAf RR8tV4iyTlyAv/EzSFMvJgH5gmkkOO/0IzdJTREwKwPC8sijM1PLxSNhfphcgdk9bOK/Vb ZiuiCyvZoD6HARY/ZeWNK8a4Z0q6c3+KqpxqwqMLcno+0GRLfFgqS6VXm9Mb8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=UQgR+6SA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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 8F704C713 for ; Tue, 02 Jul 2024 13:11:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sObPe-0008KS-2V; Tue, 02 Jul 2024 07:11: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 1sObPa-0008Jz-6x for guix-patches@gnu.org; Tue, 02 Jul 2024 07:11: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 1sObPZ-0006WI-Kh for guix-patches@gnu.org; Tue, 02 Jul 2024 07:11:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sObPa-0002bA-He for guix-patches@gnu.org; Tue, 02 Jul 2024 07:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71897] [PATCH 1/2] gnu: Add cppgir. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jul 2024 11:11: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: dan Cc: Vivien Kraus , Liliana Marie Prikler , 71897@debbugs.gnu.org Received: via spool by 71897-submit@debbugs.gnu.org id=B71897.17199186309947 (code B ref 71897); Tue, 02 Jul 2024 11:11:02 +0000 Received: (at 71897) by debbugs.gnu.org; 2 Jul 2024 11:10:30 +0000 Received: from localhost ([127.0.0.1]:36087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sObP3-0002aN-Qt for submit@debbugs.gnu.org; Tue, 02 Jul 2024 07:10:30 -0400 Received: from mail-qt1-f169.google.com ([209.85.160.169]:59783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sObP0-0002a5-RI for 71897@debbugs.gnu.org; Tue, 02 Jul 2024 07:10:28 -0400 Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-4466327f401so12998501cf.3 for <71897@debbugs.gnu.org>; Tue, 02 Jul 2024 04:10:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719918560; x=1720523360; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=weOtVvTLlGE170cNNG56hGpyKCvq1JYq00evX7kwb50=; b=UQgR+6SAgugX8F8BWbns7D+OYP6A8jte2DKwLRqQsS8hRsYCO3SNl25xLiejtSwGP9 CekpzU9A5KzMX4FKxZbSv39PFU5W+a4LIvDWqD3o4wB/kp1Xkm0KHDBBph8j3/+AhFPV qx/cyDduo6rJCjWVErt+/Rl20ppMYtT2vvInBknaqGshwfktjqbGftkiHuHAkDZD+lkr JKpj/QWD1bSTY9mvqTHW31T0BG3D7p3fAW/E7mhuZzKqbY9n/AL9TyB5DVNa6jMftTdg bl2RUHnD+HfUoCs0rutbCe+sXl52f9t7pNoRmCiTsInR/hOtu7DCiq0bJ99yZ/QA4iO5 kcQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719918560; x=1720523360; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=weOtVvTLlGE170cNNG56hGpyKCvq1JYq00evX7kwb50=; b=xFA+gsnjbbtUHeJYgUCkuuNg7bxZGcfwKu0jPtp4Ash9aV2o/Ndf527acuafEa4Xcs d8JaZ/iwqa8N3sH35aAjV+vDRQfyzr4X8hM4zE0OYEsq+Xc5QooIaxYPkSuuESVFERpW iLUCXFEI6ayjleJNBLmAubB+BQgbPYfgJZqhiglkyNhsQELprGrb3hENrE3cYfia4Jrn cZA29S37hwpGAGDAd20NeTIR67CI9h/5xbvgbocVqcooJaso3JcGx4CZYx0kZ+THMK4E 8ZYWeAcLDHUqgwxmorCzVqwu6+qMEqwuFahEVtYIE4NMn9Ov+WcLojDaCjhkcFu5KFc8 nhXw== X-Gm-Message-State: AOJu0YwRJI94IiMrj2SL/OSHFPoPy89q6VwhlMKGMjvnHCaneg77ehYy 0oS0whyUznU4oifjn8oSRyD09tUct0Mg6f0uiNvC47ld86eW+VSF X-Google-Smtp-Source: AGHT+IEUjfbWabmlIhA+e82UqgAu5+mqlxVfrDUc9c6NhlIjtpjSajystRoYEht0/8lG7ZyiKoWMFw== X-Received: by 2002:a05:622a:1343:b0:444:fe2a:da5 with SMTP id d75a77b69052e-44662e58daamr95332121cf.59.1719918559811; Tue, 02 Jul 2024 04:09:19 -0700 (PDT) Received: from hurd (dsl-159-108.b2b2c.ca. [66.158.159.108]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-446513d4450sm39565721cf.12.2024.07.02.04.09.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jul 2024 04:09:19 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <2d3ccba28b9d4ff2168394bd7b3bff552e4d2183.1719897489.git.i@dan.games> (dan's message of "Tue, 2 Jul 2024 13:18:27 +0800") References: <2d3ccba28b9d4ff2168394bd7b3bff552e4d2183.1719897489.git.i@dan.games> Date: Tue, 02 Jul 2024 07:09:17 -0400 Message-ID: <87cynw59uq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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.78 X-Spam-Score: -0.78 X-Migadu-Queue-Id: 8F704C713 X-Migadu-Scanner: mx11.migadu.com X-TUID: 1PAY92HdeP7A Hi Dan, dan writes: > * 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 =C2=A9 2022 Petr Hodina > ;;; Copyright =C2=A9 2023 Saku Laesvuori > ;;; Copyright =C2=A9 2024 Zheng Junjie <873216071@qq.com> > +;;; Copyright =C2=A9 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")) When not using a release (tag or archive), a comment is nice to have, e.g. "No proper release; use the latest available tag." > + (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 "1fa9nf4yljfarihaqj5kd98yysrky7q316mh6l5b1rq39g= a15k9b")))) > + (build-system cmake-build-system) > + (arguments > + (list > + #:configure-flags #~(list "-DINTERNAL_EXPECTED=3DOFF"))) > + (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-Introsp= ection > +annotations into a set of C++ files defining suitable namespaces, classe= s and > +other types that together from a C++ binding. In this way, the plain C ^ form ? =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 > +libraries and objects become available as native objects along with (RAI= I) use @acronym for RAII, defining what it means. > +managed resource handling.") > + (license license:expat)))) The description that should start with proper punctuation (a capital letter), and the use of two spaces for separating sentences (a Texinfo/Guile convention). I believe 'guix lint' should warn about the later at least. Could you send a v2 including these mostly cosmetic changes? --=20 Thanks, Maxim