From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 oByPDpyJ72Z7MAAAqHPOHw:P1 (envelope-from ) for ; Sun, 22 Sep 2024 03:06:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oByPDpyJ72Z7MAAAqHPOHw (envelope-from ) for ; Sun, 22 Sep 2024 05:06:04 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=vV2a1+tY; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="LA/Wy213"; dmarc=fail reason="SPF not aligned (relaxed), DKIM 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=1726974363; 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=2Ij+8B/AGY9UMnnyS+esSoH5lxBHZjxi04+Z4hLRXh8=; b=P2qr8qBNMSsIezccCF83Vq2Ge77IiLSstEHrnYjud0wxnnIARDmse7P5g5cIiOzLrGM/P1 54gEIK5/J7v8kKDciBfioHG91V2+3lWbKNcBSa8s9A2+Pkp0OJ2M27xwGUFoBgxbBvEWRS t4NNSRk7YmRW9WOSuOfj4doLcAoABcxkbPKqyXMIdb3QxtNRfYMlYyan3PKcExb3ftJ+e0 e+BgNCTGZmV0HR0TmYcgGXQbFWyRkO7BBBYDpKlB6gRFZwHqPRds0JG8ZmFrrH/e2z3lQn U+LAgAgZZ/O6lN/qOQer2EKRC6qR4EpI6oKy0YBC3aieIWHJ+U7dvSFXegL62Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726974363; a=rsa-sha256; cv=none; b=fXN/QFnWz/i20fkGBv+GdYaMseyYUKV4/5+uxoOs8FnzhEetUXljyjxlvde147gveXzkhA wpeqJ4i96vmFndyOglSdB4MDl62feOzJKXM+xA3gOuXNprTf/RyMnTmQWe0mxrFSiyQOTJ msCig5Nvi0vx7ZUpN51MJCMYgYkqXOkIkC5nLHnVl38SusmChZVAl4YOZWBfH7TkaH1p1Q +P6XB8uSP4RBjOevdHCcQtRAVj6Zh0PFcNMoP92GVjEpW/XD8fC/LEjnAKMIAaaH6j6Y/Q woTSlYJIMOgj4XSdSp2tnPAc9pwJewd2fsfCdyJTM2SiXSdBioOwmQUQr+NvMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=vV2a1+tY; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="LA/Wy213"; dmarc=fail reason="SPF not aligned (relaxed), DKIM 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 10C40D8DA for ; Sun, 22 Sep 2024 05:06:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssCut-00036P-JL; Sat, 21 Sep 2024 23:05:43 -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 1ssCur-00036F-Se for guix-patches@gnu.org; Sat, 21 Sep 2024 23:05:41 -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 1ssCur-0007Ck-JW for guix-patches@gnu.org; Sat, 21 Sep 2024 23:05:41 -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:Date:References:In-Reply-To:From:To:Subject; bh=2Ij+8B/AGY9UMnnyS+esSoH5lxBHZjxi04+Z4hLRXh8=; b=vV2a1+tYnvLBQmIj1yStIzsFRBCQthVHC1RKd+qiWa4eZqeKQsMNsiIrqaROBVmOnIPd1SbS8VbXhrGxa5dJNfF77XSxLuNOXCuQrDB2qvckyrDbePTdth0sNBXzuvHZcccvXf5nQGAtCinTnmBc283ktywS0iYFaH0eFqRn9v0h14VdVbQuEPSkYvDdE6KyIJt2JygX2T/mRGqyBYXQJR6h8vKeuuNgTLLssll/8T2vtB525wz7SEn2szXKouoNOFzL9CsFuQO+ilJiZwQnMTNwinnSz64UeEQw1NcVeCmFF49Fkj9vCz5cBWVJ2UWC7GyMjEC07i2zRNynz8zDIQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ssCvC-0001z2-IF for guix-patches@gnu.org; Sat, 21 Sep 2024 23:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71897] [PATCH v8 3/8] gnu: Add cppgir. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Sep 2024 03:06: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 , Sharlatan Hellseher , Liliana Marie Prikler , 71897@debbugs.gnu.org Received: via spool by 71897-submit@debbugs.gnu.org id=B71897.17269743427590 (code B ref 71897); Sun, 22 Sep 2024 03:06:02 +0000 Received: (at 71897) by debbugs.gnu.org; 22 Sep 2024 03:05:42 +0000 Received: from localhost ([127.0.0.1]:40557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssCur-0001yM-FK for submit@debbugs.gnu.org; Sat, 21 Sep 2024 23:05:42 -0400 Received: from mail-pf1-f170.google.com ([209.85.210.170]:59625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssCuo-0001tA-SW for 71897@debbugs.gnu.org; Sat, 21 Sep 2024 23:05:40 -0400 Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-7191fb54147so2462248b3a.2 for <71897@debbugs.gnu.org>; Sat, 21 Sep 2024 20:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726974252; x=1727579052; 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=2Ij+8B/AGY9UMnnyS+esSoH5lxBHZjxi04+Z4hLRXh8=; b=LA/Wy21354AE1pkE9KI2H5Teh5BhxmH4Tt24DwccoQzR69Bq7p9LQCiqLswybi6Am5 +IpJvTVOiqSXzqxhAur5ACPb2N2jZ2GHFxienTgxku8UJXvCEr0rQUeRY04j9DoqJSdA iCgv5mTsuEGxqj0zxnv1cYDt67o/pRrH4mZLn1R2kDvT4nJq31Qh1rFSuM4gqoZt68Je YvQsfq+IfyV6Q8qY0SXmqcFQgexB5YvIsriYZ1AUCjoBAKa9YW+dCvfbswVOM19EJXxE tyJUrt+M8vCFn7IU/qCtT184zP/0roGUvrBIssjRq1YHEq9Le2nFVFeiAXzll8FiPl7j GGXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726974252; x=1727579052; 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=2Ij+8B/AGY9UMnnyS+esSoH5lxBHZjxi04+Z4hLRXh8=; b=V5138Sv1ewAWDbdf3+6LKm8cEZ8B1j9cox50nukmP9tCWBXaA2On/XX6H9DXvfdeg7 QkwplaXIWRUecm33/+ybeij5OAp2iVnRUxz/QjWSuqWaPlvUeQil6g3XNdMLzVYRW/3S Gd42oYagB/IzkhJOSjSVLOqIIcoW8y2oZ7fYy5RJw9CAtkujXdIzimcmEYpsXvB51AzT j5wn5Wk5XxOqnXWeE9EyGgZHF1Yi3uhAk7Tfd8q5/utFBI+7WfVbsl9IWv8HH5O7NAxJ UkOpoz/lgplO5Q52Ff7+DXKJpp7ju1t/6R9ci/vIuC330NFMJX+ObGuv3ZWNusBbiYjG y6rg== X-Gm-Message-State: AOJu0YwCIKvFRcjx/D4XpBKtSNggtXxrqroBNxk9kU0eksLhKUx98QGb WzXmruIIxjtLFILbKZWs/v6L6yG7F/epYIDkquzvMLJNbMV++1En X-Google-Smtp-Source: AGHT+IHbuQe9oGa++6Nix6KJ3I+1GEw20OhkmFk5f2fmYbMjWKCWcSgEMZTLJFzwchFOdcezQd0MtQ== X-Received: by 2002:a05:6a20:21c8:b0:1d3:eb7:2c35 with SMTP id adf61e73a8af0-1d30eb72d46mr9380720637.16.1726974251618; Sat, 21 Sep 2024 20:04:11 -0700 (PDT) Received: from hurd ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71944b9ac28sm12272146b3a.172.2024.09.21.20.04.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Sep 2024 20:04:11 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <63bc539416af351630e1008c30c311a62b3c1201.1726930328.git.i@dan.games> (dan's message of "Sat, 21 Sep 2024 22:53:09 +0800") References: <5fddf9f718d95467cd90d9d2625d749af580205c.1726930328.git.i@dan.games> <63bc539416af351630e1008c30c311a62b3c1201.1726930328.git.i@dan.games> Date: Sun, 22 Sep 2024 12:04:08 +0900 Message-ID: <871q1cmlsn.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.51 X-Spam-Score: -4.51 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: 10C40D8DA X-TUID: /a8QD6htIGAb Hi, dan writes: > * 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 =C2=A9 2013, 2014, 2015, 2016, 2019, 2020, 2021 Ludovic Co= urt=C3=A8s > +;;; Copyright =C2=A9 2013, 2014, 2015, 2016, 2019, 2020, 2021, 2024 Ludo= vic Court=C3=A8s Is this a mistake? Else I'd expect to see the 'Co-authored-by:' git trailer at the bottom of the commit message. > ;;; Copyright =C2=A9 2013, 2015 Andreas Enge > ;;; Copyright =C2=A9 2013 Nikita Karetnikov > ;;; Copyright =C2=A9 2014, 2015, 2016, 2017, 2018, 2021 Mark H Weaver > @@ -21,6 +21,7 @@ > ;;; Copyright =C2=A9 2023 Saku Laesvuori > ;;; Copyright =C2=A9 2024 Zheng Junjie <873216071@qq.com> > ;;; Copyright =C2=A9 2024 Remco van 't Veer > +;;; Copyright =C2=A9 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=3DOFF"))) > + (inputs (list boost fmt expected-lite)) > + (home-page "https://gitlab.com/mnauw/cppgir") > + (synopsis "GObject introspection C++ binding wrapper generator") Perhaps 'bindings' plural? Perhaps drop 'wrapper', as it doesn't bring much. It generates C++ bindings to use GOboject introspection, right? I think I'd word it like: "C++ bindings generator for GObject introspection" > + (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))) Is 'guix lint' happy with the above? I remember it used to complained when the first character of the description wasn't capitalized. You could use @file{.gir} for extra decoration. Otherwise, LGTM. --=20 Thanks, Maxim