From patchwork Wed Nov 29 05:40:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saku Laesvuori X-Patchwork-Id: 57035 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 2A3DA27BBE9; Wed, 29 Nov 2023 05:41:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 5961427BBE2 for ; Wed, 29 Nov 2023 05:41:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8DJm-0000o7-2b; Wed, 29 Nov 2023 00:41:02 -0500 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 1r8DJf-0000nL-LV for guix-patches@gnu.org; Wed, 29 Nov 2023 00:40:55 -0500 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 1r8DJf-0006Iq-8O for guix-patches@gnu.org; Wed, 29 Nov 2023 00:40:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8DJm-0002Q1-8Z; Wed, 29 Nov 2023 00:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67493] [PATCH gnome-team v2 2/4] gnu: Add cppgir Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, guix-patches@gnu.org Resent-Date: Wed, 29 Nov 2023 05:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67493 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67493@debbugs.gnu.org Cc: Saku Laesvuori , Liliana Marie Prikler , Maxim Cournoyer , Raghav Gururajan X-Debbugs-Original-Xcc: Liliana Marie Prikler , Maxim Cournoyer , Raghav Gururajan Received: via spool by 67493-submit@debbugs.gnu.org id=B67493.17012364489240 (code B ref 67493); Wed, 29 Nov 2023 05:41:02 +0000 Received: (at 67493) by debbugs.gnu.org; 29 Nov 2023 05:40:48 +0000 Received: from localhost ([127.0.0.1]:48571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8DJX-0002Oy-Jo for submit@debbugs.gnu.org; Wed, 29 Nov 2023 00:40:47 -0500 Received: from vmi571514.contaboserver.net ([75.119.130.101]:55508 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8DJV-0002Oq-VC for 67493@debbugs.gnu.org; Wed, 29 Nov 2023 00:40:46 -0500 Received: from X-kone.lan (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id D3B80342FEF; Wed, 29 Nov 2023 06:40:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1701236438; bh=jnMwQcUVL/SHEcNezwHyPL6kOH3FTSvguE4T9hToRYE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=gxeB6Spea/1YlPOzNSnwJYxKQrGCuOKdk1a55h6Ljcj4wl6huLJB7WTOLkK52gG40 78hLvGWCJ+cksUygghcZ8Dv/8n4z9zQp5s4IT7bUK2mdEwhVIb7+mqyPKdwW1eDVxZ YxucEfXIum5u2hQyqqkQGuM7443bD5gyiYnF+7Og= Date: Wed, 29 Nov 2023 07:40:09 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <5c5ee4632e7a6435f483337e4a4fbce31d49fc42.1701236254.git.saku@laesvuori.fi> References: <5c5ee4632e7a6435f483337e4a4fbce31d49fc42.1701236254.git.saku@laesvuori.fi> 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: , Reply-to: Saku Laesvuori X-ACL-Warn: , Saku Laesvuori via Guix-patches X-Patchwork-Original-From: Saku Laesvuori via Guix-patches via From: Saku Laesvuori 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: Import (gnu packages pretty-print). (cppgir): New variable. Change-Id: I7e2cdf2d77382bfe876173901127d358b64c0dfe --- gnu/packages/glib.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index b01b948fc6..8999e5bd45 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -70,6 +70,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) @@ -1555,3 +1556,28 @@ (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 "0.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://gitlab.com/mnauw/cppgir/-/archive/v" version + "/cppgir-v" version ".tar.gz")) + (sha256 + (base32 "13plz1xn25lyhfxwyhmlzjn8jliakvqa06a28g5czlav1zg1565g")))) + (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)))