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 4B0WOvmfjGbsLwAAqHPOHw:P1 (envelope-from ) for ; Tue, 09 Jul 2024 02:27:06 +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 4B0WOvmfjGbsLwAAqHPOHw (envelope-from ) for ; Tue, 09 Jul 2024 04:27:06 +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=I8L7LBf7; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720492025; 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: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=s5nRABuWTAGGyL6LpRg3Dqu3cc2fTKJvCLlKUPtK9dw=; b=CJpAjRn/91wSG8602vEPcepFFEGHN3Yb6n6Ne0UemJbiCD7Zy6qKKIsN62ZfbPTnzJ5Aay VpTyZcWCEHb0+c8LZKtNWdz6zobX674XI0hrH+SupDSqKf8aG28IsSTPizoAP+lXwuYPtm rAqh+PheB2ULuVVaZbd7kuxNtsczbpKdYqAYzgqlYaySy9+NTYbP60sgdNZE7qbdICCycC KYbvBMPagNPO5e+8+je6UxbYiVNUSCcfJfmfOmubtVmvNG+Qr/QW2CI0GzRzOQz3FOt7rE rn8IpELJkShHBAdMBxhgQ6cq2XUAbMhVqeJiiRj6lRrM5wQEbpMnrQZ2QrcOOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=I8L7LBf7; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720492025; a=rsa-sha256; cv=none; b=t7iQ1gzMRqZAoWPMSMMQ0oU74fWkgXyubncZf1xO47gdhpw+3AWhFgOq88Wtyzo4OKTday +4cN+JrBga8nZp7jmwvED9/zQc/C/jQ/q/VVXWVp5vtnOTjby4AEyVnoi0CdaYMtmYxWCb cPVdzuzUj0i4TAxxA2gNQvEEp/E7i5eZz7BL0kRyS+KYPkzez4i+FMI+0OmmFA8QGK3osj jIl/55EDzka2jOg6gB8xvbcUclWq5AQkeQZfHFhxuMPWMIrjNs4UerXgVDoGnzGZ60vns2 akfzgyeZIiV9uGxtlng6H2fQkHM6yPJ1qEQAXUmz5KeuMe+0xZlBhztQ1XK8Gw== 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 B8348628D7 for ; Tue, 9 Jul 2024 04:27:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sR0ZG-00029u-Jj; Mon, 08 Jul 2024 22:26:58 -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 1sR0ZF-00029S-8x for guix-patches@gnu.org; Mon, 08 Jul 2024 22:26:57 -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 1sR0ZF-0000LC-0u for guix-patches@gnu.org; Mon, 08 Jul 2024 22:26:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sR0ZK-0002YB-02 for guix-patches@gnu.org; Mon, 08 Jul 2024 22:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71897] [PATCH 3/5] gnu: Add cppgir-for-telegram-desktop. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Jul 2024 02:27: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: dan Cc: Liliana Marie Prikler , 71897@debbugs.gnu.org Received: via spool by 71897-submit@debbugs.gnu.org id=B71897.17204919849748 (code B ref 71897); Tue, 09 Jul 2024 02:27:01 +0000 Received: (at 71897) by debbugs.gnu.org; 9 Jul 2024 02:26:24 +0000 Received: from localhost ([127.0.0.1]:51746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sR0Yi-0002X9-5O for submit@debbugs.gnu.org; Mon, 08 Jul 2024 22:26:24 -0400 Received: from mail-qv1-f44.google.com ([209.85.219.44]:42346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sR0Yf-0002Wv-2f for 71897@debbugs.gnu.org; Mon, 08 Jul 2024 22:26:22 -0400 Received: by mail-qv1-f44.google.com with SMTP id 6a1803df08f44-6b5dc36b896so33178676d6.1 for <71897@debbugs.gnu.org>; Mon, 08 Jul 2024 19:26:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720491910; x=1721096710; darn=debbugs.gnu.org; h=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=s5nRABuWTAGGyL6LpRg3Dqu3cc2fTKJvCLlKUPtK9dw=; b=I8L7LBf7i1KoVRIyVJuzRw1EWgORGBA4FmfVY3Gp0oLA78Dur+oqRiwtSG8CD9QoHt EFX7eQnBVu+HRxCKSujhbGcG83F/GRRFt2BpZ7ULyw7nP4udmkwFTg+WdHia1PDlz2br Rmdbxkk42HqDKcAt8fBBkXNA7Px6928LPd5RB2y44Id/iZfEa5TVphPrNcDmwCqLZGPZ wDCuXCyMvz8YdUx1QVQiPJ8oR/k47V//kbtWn1A9p4fCgdC56Gwi7mtHk37UCNB0D2/k 6nVXO9yzHrZwLScPdO65l7wkcJ4WsfpsyYp0wOunkRfVQUV3JZzFt6Pvlh4otniZtREP QNzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720491910; x=1721096710; h=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=s5nRABuWTAGGyL6LpRg3Dqu3cc2fTKJvCLlKUPtK9dw=; b=UlYjJ7wJjnPAjaTOL1RN5yZHPTJyhzOUXJfS5/an5DbITk2pQ1JVS67k5+6zzI7zzg Ql58s3+fXyf3U9Q1fpV8snKEnEOmAABKbxOxKlW6q+l0PlMEndThom8u31hJ5xowy1hn GXD8VGI++Lbd2X9qvS/tWcxpdQyXqd2nbInV9W8CWtPCglM4HftYjNTim7mlVKgXlXj2 4uqSD25JJAhBAL0IlOOCYf9f2GtjN25BdPi4trOS9CpWNsCrC1tdrDPi7rLQy9EdUTt2 rWwvCMkFORpdnPsk2737lei68Rn6NliowguAkyFqktNmRQnFA/8iiYGW5KUK9+SpUBca pglg== X-Gm-Message-State: AOJu0YxIfayNjQcVlv32KIvYXmXX0xbikdaNMT7f2g8X2BGe23OlTKrC Mx0hB8yoNvGq8yHmdOrXO5s58jDBoRGyhAExaieFAU1S7nEp1gvXp+sdsQ== X-Google-Smtp-Source: AGHT+IEXupVpxpN0joTJ0qBN84CKusvk1rnVEiilLDHX+y+nVIjz9npYEA1cogmdcYaZxLcTja1qSg== X-Received: by 2002:a0c:e606:0:b0:6b5:1cea:649d with SMTP id 6a1803df08f44-6b61d7b9bc0mr19000206d6.11.1720491910122; Mon, 08 Jul 2024 19:25:10 -0700 (PDT) Received: from hurd (dsl-205-236-230-124.b2b2c.ca. [205.236.230.124]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b61b9c8312sm4927636d6.1.2024.07.08.19.25.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jul 2024 19:25:09 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <17a452e63821067a5a3b27a6e4114404e242f290.1720364199.git.i@dan.games> (dan's message of "Sun, 7 Jul 2024 23:00:22 +0800") References: <3743fa793bf867b8112b2883815b573f955c12ce.1720364199.git.i@dan.games> <17a452e63821067a5a3b27a6e4114404e242f290.1720364199.git.i@dan.games> Date: Mon, 08 Jul 2024 22:25:08 -0400 Message-ID: <87h6czxpx7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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: B8348628D7 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.29 X-Spam-Score: -5.29 X-TUID: 5+96pwFAU8MJ Hi Dan, dan writes: > * gnu/packages/telegram.scm (cppgir-for-telegram-desktop): New variable. > > Change-Id: I4bb37f9ebc6cfd711ad83f29cd95bc72c0d3bf45 > --- > gnu/packages/telegram.scm | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm > index 358374a5bb..26ab27293f 100644 > --- a/gnu/packages/telegram.scm > +++ b/gnu/packages/telegram.scm > @@ -400,6 +400,35 @@ (define cld3-for-telegram-desktop > (base32 > "0ayrrhfdwrf4260h9fsirkhhfrcvc3qqnh6h9wj3ixij2lq0wwqb")))) > > +(define cppgir-for-telegram-desktop > + (let ((commit "9c4f5820d94d62ab451501f016bfea97156518f4") > + (revision "0")) > + (package > + (name "cppgir-for-telegram-desktop") > + (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.") > + (license license:expat)))) That'd be reasonable as a new package if it was very tightly developed with telegram, but it doesn't seem to be the case. I'd prefer having it in (gnu packages glib). What is the "compilation error" you had mentioned when using version 2.0? Does the cppgir release fails to compile itself, or is it telegram that then doesn't build using that one? If the later, I'd define, in (gnu packages glib) --8<---------------cut here---------------start------------->8--- (define-public cppgir [...] "original package at version 2.0") (define-public cppgir-for-telegram-desktop (package (inherit cppgir) (source ... (using latest or telegram-specific (?) commit)))) --8<---------------cut here---------------end--------------->8--- Sorry for the back and forth, we're narrowing down on the perfect submission; keep it up. Don't forget to use -v5 for your next patches submission :-), and ensure 'guix lint' is happy with all the packages. Thank you for your efforts! Keep it up. -- Maxim