From patchwork Sat Aug 6 15:30:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhu Zihao X-Patchwork-Id: 41313 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 EA27A27BBEA; Sat, 6 Aug 2022 16:34:15 +0100 (BST) 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,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS 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 6B03427BBE9 for ; Sat, 6 Aug 2022 16:34:15 +0100 (BST) Received: from localhost ([::1]:47276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKLoc-0005qW-Fy for patchwork@mira.cbaines.net; Sat, 06 Aug 2022 11:34:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKLoR-0005kA-IB for guix-patches@gnu.org; Sat, 06 Aug 2022 11:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKLoR-00038Z-7J for guix-patches@gnu.org; Sat, 06 Aug 2022 11:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKLoP-0005n5-Sc for guix-patches@gnu.org; Sat, 06 Aug 2022 11:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57017] [PATCH]: gnu: tdlib: Update to 1.8.4. Resent-From: Zhu Zihao Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 Aug 2022 15:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57017 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57017@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.165979999622202 (code B ref -1); Sat, 06 Aug 2022 15:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Aug 2022 15:33:16 +0000 Received: from localhost ([127.0.0.1]:35283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKLnf-0005m2-Ry for submit@debbugs.gnu.org; Sat, 06 Aug 2022 11:33:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:60036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKLnd-0005ls-1K for submit@debbugs.gnu.org; Sat, 06 Aug 2022 11:33:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKLnb-0003vn-SF for guix-patches@gnu.org; Sat, 06 Aug 2022 11:33:12 -0400 Received: from mail-m971.mail.163.com ([123.126.97.1]:61319) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKLnV-00033j-8b for guix-patches@gnu.org; Sat, 06 Aug 2022 11:33:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=tvaYd TzzvNJz6BX4s+ldRUVqpV7bOc43LjImFguCUsA=; b=aIv7kiGnYG8FLVpoSRvOf tRmqPsiOgApNURSFDN68QTqxVJXYmepU715vbGhXDbMzD/HSpKvxS42vAycc8yMd RE4BHJLk6Gy88XXVuCAGW9FYqHm/BJs4Y2m1v7DhMkiRZIZVebClchCuggsXk/bc PDNyeEjZP8dW+KSBk52RRs= Received: from asus-laptop (unknown [163.125.249.234]) by smtp1 (Coremail) with SMTP id GdxpCgC3R7mrie5iZnl5TA--.4083S2; Sat, 06 Aug 2022 23:32:59 +0800 (CST) User-agent: mu4e 1.6.11; emacs 29.0.50 From: Zhu Zihao Date: Sat, 06 Aug 2022 23:30:19 +0800 Message-ID: <86a68hgzfb.fsf@163.com> MIME-Version: 1.0 X-CM-TRANSID: GdxpCgC3R7mrie5iZnl5TA--.4083S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvj4RplkaUUUUU X-Originating-IP: [163.125.249.234] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBLwxVr2Hmn5d6LQAAsB Received-SPF: pass client-ip=123.126.97.1; envelope-from=all_but_last@163.com; helo=mail-m971.mail.163.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 45ff40bc27f6cacba976814841c90e8572118302 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Sat, 6 Aug 2022 23:12:17 +0800 Subject: [PATCH 2/2] gnu: tdlib: Update to 1.8.4. * gnu/packages/messaging.scm (tdlib): Update to 1.8.4. <#:configure-flags>: Enable LTO. Move build type settings to #:build-type arguments. <#:build-type>: Use "Release build". --- gnu/packages/messaging.scm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index aa15bf5b53..89ba419f18 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -2653,22 +2653,20 @@ (define-public telegram-purple (define-public tdlib (package (name "tdlib") - (version "1.8.0") + (version "1.8.4") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/tdlib/td") - (commit (string-append "v" version)))) + (commit "7eabd8ca60de025e45e99d4e5edd39f4ebd9467e"))) (sha256 - (base32 "19psqpyh9a2kzfdhgqkirpif4x8pzy89phvi59dq155y30a3661q")) + (base32 "1chs0ibghjj275v9arsn3k68ppblpm7ysqk0za9kya5vdnldlld5")) (file-name (git-file-name name version)))) (build-system cmake-build-system) (arguments (list - #:configure-flags - #~(list "-DCMAKE_BUILD_TYPE=Release" - "-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work. + #:build-type "Release" #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-failing-tests -- 2.37.1