From patchwork Wed Jan 19 11:30:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Aleksandr Vityazev X-Patchwork-Id: 36602 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 62AAF27BBEA; Wed, 19 Jan 2022 11:36:54 +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,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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 BCB8127BBE9 for ; Wed, 19 Jan 2022 11:36:50 +0000 (GMT) Received: from localhost ([::1]:53770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nA9Gj-0007or-RH for patchwork@mira.cbaines.net; Wed, 19 Jan 2022 06:36:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nA9B9-0001oz-1R for guix-patches@gnu.org; Wed, 19 Jan 2022 06:31:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59599) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nA9B8-0004U6-7M for guix-patches@gnu.org; Wed, 19 Jan 2022 06:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nA9B8-0001xu-51 for guix-patches@gnu.org; Wed, 19 Jan 2022 06:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53359] [PATCH 1/2] gnu: tdlib: Update to 1.8.0. Resent-From: Aleksandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Jan 2022 11:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53359 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53359@debbugs.gnu.org Received: via spool by 53359-submit@debbugs.gnu.org id=B53359.16425918427517 (code B ref 53359); Wed, 19 Jan 2022 11:31:02 +0000 Received: (at 53359) by debbugs.gnu.org; 19 Jan 2022 11:30:42 +0000 Received: from localhost ([127.0.0.1]:52502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nA9Ak-0001x1-U3 for submit@debbugs.gnu.org; Wed, 19 Jan 2022 06:30:42 -0500 Received: from mout02.posteo.de ([185.67.36.66]:34597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nA9Ah-0001wj-Bs for 53359@debbugs.gnu.org; Wed, 19 Jan 2022 06:30:36 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 38FCE240106 for <53359@debbugs.gnu.org>; Wed, 19 Jan 2022 12:30:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1642591829; bh=jARUoOQwU07ZW9hyAmsjD7g+W9mfj4Oesldj37VNNqE=; h=From:To:Subject:Date:From; b=MYqQNxZFQAya+DHiQNVAU+QrN9MPDhwHBMD5f1d0YVpoBM3y2EBoR0TRcrquBJPAr GeY52dpjUR9XcuMVUotrRKLwQUNejl81h8+9UJmlSJOUWFVscwrb0l7mUK7jpnb6/G 5fitEE1kqZO/kOm6EmT/OFQIj68mB5D+LrKh485BqmPY24T9odj6r8LzVkQYuIV6nW PKfgZySO8KI7EHqJmW990w6+SEPRFz2EYkHpRrarw5Dj6dG1seEa0KSENZE2xu3iFZ F96EG6wjRZTsKoC0ohMefCXRGkhI+IlGbYNNeV+5qf4l65Eue9rxtfOcy927Fdf2KZ CXjYfBrO31X0w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Jf3NM4bK5z9rxN for <53359@debbugs.gnu.org.>; Wed, 19 Jan 2022 12:30:27 +0100 (CET) From: Aleksandr Vityazev In-Reply-To: References: Message-Id: Date: Wed, 19 Jan 2022 11:30:24 +0000 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (tdlib): Update to 1.8.0. --- gnu/packages/messaging.scm | 72 +++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 2fe0d35a10..2feba7ac62 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2021 Denis 'GNUtoo' Carikli ;;; Copyright © 2021 Vinicius Monego ;;; Copyright © 2021 jgart +;;; Copyright © 2022 Aleksandr Vityazev ;;; ;;; This file is part of GNU Guix. ;;; @@ -2593,45 +2594,44 @@ (define-public telegram-purple (license license:gpl2+))) (define-public tdlib - (let ((commit "34ba9b21f365b8d3bdc36808c2d665ca5cd128f6")) - (package - (name "tdlib") - (version "1.7.10") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/tdlib/td") - (commit commit))) - (sha256 - (base32 "06fbdh1jypz0p1rf6xbpias4kx7xplq9xjd9vz177vwj9icq3wki")) - (file-name (git-file-name name version)))) - (build-system cmake-build-system) - (arguments - `(#:tests? #t - #:configure-flags - (list "-DCMAKE_BUILD_TYPE=Release" - "-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work. - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'remove-failing-tests - (lambda _ - (substitute* "test/CMakeLists.txt" - ;; The test cases are compiled into a distinct binary - ;; which uses mtproto.cpp to attempt to connect to - ;; a remote server. Removing this file from the sources - ;; list disables those specific test cases. - (("\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/mtproto.cpp") "")) - #t))))) - (native-inputs - (list gperf openssl zlib php doxygen)) - (synopsis "Cross-platform library for building Telegram clients") - (description "Tdlib is a cross-platform library for creating custom + (package + (name "tdlib") + (version "1.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tdlib/td") + (commit (string-append "v" version)))) + (sha256 + (base32 "19psqpyh9a2kzfdhgqkirpif4x8pzy89phvi59dq155y30a3661q")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments + `(#:tests? #t + #:configure-flags + (list "-DCMAKE_BUILD_TYPE=Release" + "-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work. + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-failing-tests + (lambda _ + (substitute* "test/CMakeLists.txt" + ;; The test cases are compiled into a distinct binary + ;; which uses mtproto.cpp to attempt to connect to + ;; a remote server. Removing this file from the sources + ;; list disables those specific test cases. + (("\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/mtproto.cpp") "")) + #t))))) + (native-inputs + (list gperf openssl zlib php doxygen)) + (synopsis "Cross-platform library for building Telegram clients") + (description "Tdlib is a cross-platform library for creating custom Telegram clients following the official Telegram API. It can be easily used from almost any programming language with a C-FFI and features first-class support for high performance Telegram Bot creation.") - (home-page "https://core.telegram.org/tdlib") - (license license:boost1.0)))) + (home-page "https://core.telegram.org/tdlib") + (license license:boost1.0))) (define-public purple-mm-sms (package