[PATCH 0/2] gnu: emacs-telega-server: Update to 0.8.2-2-5739794d.

  • Done
  • quality assurance status badge
Details
2 participants
  • Aleksandr Vityazev
  • Nicolas Goaziou
Owner
unassigned
Submitted by
Aleksandr Vityazev
Severity
normal

Debbugs page

Aleksandr Vityazev wrote 3 years ago
(address . guix-patches@gnu.org)
cover.1642591051.git.avityazev@posteo.org
Aleksandr Vityazev (2):
gnu: tdlib: Update to 1.8.0.
gnu: emacs-telega-server: Update to 0.8.2-2-5739794d.

gnu/packages/emacs-xyz.scm | 8 ++---
gnu/packages/messaging.scm | 72 +++++++++++++++++++-------------------
2 files changed, 40 insertions(+), 40 deletions(-)

--
2.34.0

--

Aleksandr Vityazev
Aleksandr Vityazev wrote 3 years ago
[PATCH 1/2] gnu: tdlib: Update to 1.8.0.
(address . 53359@debbugs.gnu.org)
af7226869b53c1f3448a24a757f0053f7f318c8a.1642591789.git.avityazev@posteo.org
* gnu/packages/emacs-xyz.scm (tdlib): Update to 1.8.0.
---
gnu/packages/messaging.scm | 72 +++++++++++++++++++-------------------
1 file changed, 36 insertions(+), 36 deletions(-)

Toggle diff (101 lines)
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 <GNUtoo@cyberdimension.org>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;;
;;; 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
--
2.34.0



--

Aleksandr Vityazev
Aleksandr Vityazev wrote 3 years ago
[PATCH 2/2] gnu: emacs-telega-server: Update to 0.8.2-2-5739794d.
(address . 53359@debbugs.gnu.org)
afc5e3f6d15c9bbca859f4c607ad518d2f4831d7.1642591789.git.avityazev@posteo.org
* gnu/packages/emacs-xyz.scm (emacs-telega-server): Update to 8.2-2-5739794d.
---
gnu/packages/emacs-xyz.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

Toggle diff (45 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f25481e2e6..f2572732c7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -90,7 +90,7 @@
;;; Copyright © 2020 Jonathan Rostran <rostranjj@gmail.com>
;;; Copyright © 2020, 2021 Noah Evans <noah@nevans.me>
;;; Copyright © 2020 Brit Butler <brit@kingcons.io>
-;;; Copyright © 2021 Alexandr Vityazev <avityazev@posteo.org>
+;;; Copyright © 2021, 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2021 Yurii Kholodkov <urist.mckorobochka@gmail.com>
;;; Copyright © 2021 Alexey Abramov <levenson@mmer.org>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
@@ -26808,11 +26808,11 @@ (define-public emacs-helm-switch-to-repl
(license license:gpl3+)))
(define-public emacs-telega-server
- (let ((commit "b4a5e206bd259f3d7f7633a725b2990704d6a1e8")
- (revision "1"))
+ (let ((commit "5739794d2d0c8a4e7b77c2e37a097e19f80ac9f0")
+ (revision "2"))
(package
(name "emacs-telega-server")
- (version (git-version "0.7.15" revision commit))
+ (version (git-version "0.8.2" revision commit))
(source
(origin
(method git-fetch)
@@ -26820,7 +26820,7 @@ (define-public emacs-telega-server
(url "https://github.com/zevlg/telega.el")
(commit commit)))
(sha256
- (base32 "0gr4nmpk175hxmj357bpzaqywbjc6dmmvfxnyzkh884vyzbwdxlc"))
+ (base32 "1am0b2bjjkw7zd0yq39v015a08dcbk43j4d4h8y2q8hj53ryfk5a"))
(file-name (git-file-name "emacs-telega" version))
(patches
(search-patches "emacs-telega-path-placeholder.patch"
--
2.34.0



--

Aleksandr Vityazev
Nicolas Goaziou wrote 3 years ago
Re: [bug#53359] [PATCH 1/2] gnu: tdlib: Update to 1.8.0.
(name . Aleksandr Vityazev)(address . avityazev@posteo.org)(address . 53359@debbugs.gnu.org)
878rvbg8zi.fsf@nicolasgoaziou.fr
Hello,

Aleksandr Vityazev <avityazev@posteo.org> writes:

Toggle quote (2 lines)
> * gnu/packages/emacs-xyz.scm (tdlib): Update to 1.8.0.

Applied. Thank you.

Toggle quote (10 lines)
> + (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)))))

I removed this trailing #T on your behalf.

Regards,
--
Nicolas Goaziou
Nicolas Goaziou wrote 3 years ago
Re: [bug#53359] [PATCH 2/2] gnu: emacs-telega-server: Update to 0.8.2-2-5739794d.
(name . Aleksandr Vityazev)(address . avityazev@posteo.org)(address . 53359-done@debbugs.gnu.org)
874k5zg8y9.fsf@nicolasgoaziou.fr
Hello,

Aleksandr Vityazev <avityazev@posteo.org> writes:

Toggle quote (3 lines)
> * gnu/packages/emacs-xyz.scm (emacs-telega-server): Update to
> 8.2-2-5739794d.

Applied, too. Thank you.

Toggle quote (10 lines)
> (define-public emacs-telega-server
> - (let ((commit "b4a5e206bd259f3d7f7633a725b2990704d6a1e8")
> - (revision "1"))
> + (let ((commit "5739794d2d0c8a4e7b77c2e37a097e19f80ac9f0")
> + (revision "2"))
> (package
> (name "emacs-telega-server")
> - (version (git-version "0.7.15" revision commit))
> + (version (git-version "0.8.2" revision commit))

Note that you don't need to bump revision since you're updating the base
version anyway. I reverted the revision to 0.

Regards,
--
Nicolas Goaziou
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 53359@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 53359
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help