From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IFKqKRTDHWPksAAAbAwnHQ (envelope-from ) for ; Sun, 11 Sep 2022 13:14:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uO/eKBTDHWOwkAAAG6o9tA (envelope-from ) for ; Sun, 11 Sep 2022 13:14:28 +0200 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 5FB92ACEA for ; Sun, 11 Sep 2022 13:14:28 +0200 (CEST) Received: from localhost ([::1]:57552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXKux-0008Ob-Ko for larch@yhetil.org; Sun, 11 Sep 2022 07:14:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXKuY-0008Mm-Ud for guix-patches@gnu.org; Sun, 11 Sep 2022 07:14:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXKuY-0008Tm-JW for guix-patches@gnu.org; Sun, 11 Sep 2022 07:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXKuY-0002zD-EY for guix-patches@gnu.org; Sun, 11 Sep 2022 07:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57675] [PATCH v3 3/7] gnu: Add abseil-cpp-cxxstd17. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Sep 2022 11:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hilton Chain , 57675@debbugs.gnu.org Received: via spool by 57675-submit@debbugs.gnu.org id=B57675.166289483911454 (code B ref 57675); Sun, 11 Sep 2022 11:14:02 +0000 Received: (at 57675) by debbugs.gnu.org; 11 Sep 2022 11:13:59 +0000 Received: from localhost ([127.0.0.1]:40896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXKuU-0002yf-Q1 for submit@debbugs.gnu.org; Sun, 11 Sep 2022 07:13:59 -0400 Received: from mail-ej1-f68.google.com ([209.85.218.68]:44974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXKuR-0002yH-UW for 57675@debbugs.gnu.org; Sun, 11 Sep 2022 07:13:56 -0400 Received: by mail-ej1-f68.google.com with SMTP id r18so14028127eja.11 for <57675@debbugs.gnu.org>; Sun, 11 Sep 2022 04:13:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date; bh=8SIi0qP0v8BOt6f4+1ohUS5oESsF4MO/58ch3tliXQ4=; b=JjMVpT92tmVsaJwAlgv9cNWyy6TFcekR2/HvlVFXuzngL26Ovso2RJOc3ISTUnJHwn WCcXl1nIpDuAIW4h3ByCHNbvKoOk7h/z1CPnqd6veXXugRx4ulP42ICtNw4Ds4qRuFQQ NvkCTMFSJb6MJeAXFi4QbrN7LrdpPnekb/jgMmJWmID0db1AC+Vw/y0SyC7NtC9Ve8iQ sHUYjWpHUs0Zpk4P5LzMGxESrAzanZrTrKjyCPiJgkLqOeD3/tL2w1Bk6NLpYBUyaIID 6DyjTUqj27XmGKln7qMvhVqEOgOaa1vyhacQiroIK6eZDLuveRbpQiVDhwCzCzzY/4i6 qXzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date; bh=8SIi0qP0v8BOt6f4+1ohUS5oESsF4MO/58ch3tliXQ4=; b=2Uw/1KgMlH6NUHqQ0YMV8mXQmJLLlAL8dWbtemze+wHFUliL8xNL7U6TDBpscqnJdM LuTrObdO7VVmTwPJGhGE4V2u30BmbtuaV8iQeLYAYVlsxsLGTHmEpTTbUMImuqZS/kbv 0cFKcl6t0hWZm0Zd4I7IWFtObvKY7exBZeZ8F5gfUfLOj60GF2GNRTns871eWA7lqiM7 zLu68yi8C+88uU5pR3Yjf/fe6aXvPfurn8W4ealNo5+p79PtoSpVyB/UWKV1lV/OzFiW uifnsEbfkhLjMWw9qMf6jrqsay/h/WTAbac8wYr3t4KMU3XD4jPjgIO1ywBTm0Vf1H6F 6pPg== X-Gm-Message-State: ACgBeo0qzJrp81QpOV6t+ShW+35CdoVeBYAbDWS1WpUcd1caFK35az0E yxj52Opy4oHMrbBNKGiwafwrmR8LFaE= X-Google-Smtp-Source: AA6agR6bOZQiKTkPfX7dKNtQhKoNPPuv7EbhPBsaHbcp/NMF/gpJVKDPZmOCPQP0ylFCCT8rrbv9uA== X-Received: by 2002:a17:907:a426:b0:763:318c:c0c6 with SMTP id sg38-20020a170907a42600b00763318cc0c6mr15568288ejc.671.1662894830342; Sun, 11 Sep 2022 04:13:50 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id g17-20020a170906c19100b0073dbc35a0desm2828801ejz.100.2022.09.11.04.13.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 04:13:49 -0700 (PDT) Message-ID: <7c230e2aaa6493ab4b1445b83f6387bb01a156b8.camel@gmail.com> From: Liliana Marie Prikler Date: Sun, 11 Sep 2022 13:13:48 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662894868; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=8SIi0qP0v8BOt6f4+1ohUS5oESsF4MO/58ch3tliXQ4=; b=IuukKJQ7MlD4ATE2x4DYtete/k37sVhLruD4kSAHNK+rkqoa2h+L3+GZ0lzgrAXa8Uzt7m gp5Tr2RzVDqnPzW9Zuc3a9ON2WsDD9Bxgaq72LjDiIHRhdS7xQ+SGUmqP2w6xplv+qI2cl wbjYAcYQDT3b+E2iQjRIlU+kQRCjf9JJT0scKIk2krmLmGgSo/i9CYrVEWArnYI0PL9hdc Du0Oiqu7rnztUfkUkTT9BPvTSKYsoTtNKT3spxy2LnYIRfiHbcxdmhJQL+SezaD3Ie3D0Q qRksTqOGuNGGuLJfyHqQ/9y2KuaFh91z/f2c6m2pmiyWKTKpKdrnlvwQudcG7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662894868; a=rsa-sha256; cv=none; b=kGpWEMu8kIzh81iXt8rv9emMLmuoVP1uKjrzurzvHUmznsa+1MZAVp9438/hyIkcvTI2vF muFWl8ZFdQYO14cVji1CbNYN+CZjUQMmzRUHHMXx18tk2N0Vjt+Pc6dIYytQAIHqYTddve ZIsjkwOdrFLdfHenPDnuTptAxYPEaenAvpLnaX8wrNApskWytuj1hCPhzi7qMP5kUJvbLP C9qenxc/Sz8omCvX0XVy9AJ46hwULqtyHhDQPDjjWeWzLw+i0uWfFscbnBAGaWzyNwlld4 kJMK75/h+ziQF1eoJAm8AtL9WRuSJ/8+/A52p8dLnmGH8Fe4GQ8rY97/qq+YEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=JjMVpT92; 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" X-Migadu-Spam-Score: 6.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=JjMVpT92; 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" X-Migadu-Queue-Id: 5FB92ACEA X-Spam-Score: 6.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: qHQEMpYi0UVT Am Sonntag, dem 11.09.2022 um 18:11 +0800 schrieb Hilton Chain: > > * gnu/packages/telegram.scm (abseil-cpp-cxxstd17): New variable. > --- >  gnu/packages/telegram.scm | 13 +++++++++++++ >  1 file changed, 13 insertions(+) > > diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm > index 6e7fa4a2ec..3b0444025c 100644 > --- a/gnu/packages/telegram.scm > +++ b/gnu/packages/telegram.scm > @@ -62,6 +62,7 @@ (define-module (gnu packages telegram) >    #:use-module (gnu packages xorg) >    #:use-module ((guix licenses) #:prefix license:) >    #:use-module (guix packages) > +  #:use-module (guix utils) >    #:use-module (guix git-download) >    #:use-module (guix build-system cmake) >    #:use-module (guix build-system copy) > @@ -71,6 +72,18 @@ (define-module (gnu packages telegram) >    #:use-module (guix build-system python) >    #:use-module (guix build-system qt)) > > +(define-public abseil-cpp-cxxstd17 > +  (let ((base abseil-cpp)) > +    ;; Abseil built with pre C++17 standards enforcing would cause a > linking > +    ;; issue when building Telegram Destop. (Currently it's by > default 11, and > +    ;; has changed to 14 upstream.) > +    (hidden-package > +     (package/inherit base > +       (arguments > +        (substitute-keyword-arguments (package-arguments base) > +          ((#:configure-flags flags) > +           `(cons* "-DCMAKE_CXX_STANDARD=17" ,flags)))))))) > + For the record, this ought to be placed near abseil-cpp, because the semantics of inheritance can screw you over cross-module. Cheers