From: Adam Maleszka via Guix-patches via <guix-patches@gnu.org>
To: 53850@debbugs.gnu.org
Subject: [bug#53850] [PATCH] gnu: bitlbee-discord: Update to 0.4.3-1.607f988
Date: Mon, 07 Feb 2022 16:51:37 +0100 [thread overview]
Message-ID: <87bkzik6sd.fsf@aol.com> (raw)
In-Reply-To: 87bkzik6sd.fsf.ref@aol.com
[-- Attachment #1.1: Type: text/plain, Size: 66 bytes --]
For more information, refer to:
https://issues.guix.gnu.org/53840
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-bitlbee-discord-Update-to-0.4.3-1.607f988.patch --]
[-- Type: text/x-patch, Size: 4481 bytes --]
From b307d3e8bccbef9436502b10192960441f684687 Mon Sep 17 00:00:00 2001
From: Adam Maleszka <adam_maleszka@aol.com>
Date: Mon, 7 Feb 2022 16:47:56 +0100
Subject: [PATCH] gnu: bitlbee-discord: Update to 0.4.3-1.607f988
---
gnu/packages/messaging.scm | 85 +++++++++++++++++++++-----------------
1 file changed, 48 insertions(+), 37 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 768642f119..67b1a91598 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -713,44 +713,55 @@ (define-public bitlbee-purple
#f)))))
(define-public bitlbee-discord
- (package
- (name "bitlbee-discord")
- (version "0.4.3")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/sm00th/bitlbee-discord")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "00qgdvrp7hv02n0ns685igp810zxmv3adsama8601122al6x041n"))))
- (build-system gnu-build-system)
- (arguments
- `(#:configure-flags
- (let ((out (assoc-ref %outputs "out")))
- (list (string-append "--with-bdatadir=" out "/share/bitlbee/")
- (string-append "--with-plugindir=" out "/lib/bitlbee/")))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-autogen
- (lambda _
- (let ((sh (which "sh")))
- (substitute* "autogen.sh" (("/bin/sh") sh))
- (setenv "CONFIG_SHELL" sh)))))))
- (inputs (list glib))
- (native-inputs (list pkg-config
- autoconf
- automake
- texinfo
- libtool
- bitlbee ; needs bitlbee headers
- bash))
- (synopsis "Discord plugin for Bitlbee")
- (description "Bitlbee-discord is a plugin for Bitlbee which provides
+ ;; Version 0.4.3 of bitlbee-discord was prepared to work for
+ ;; glib@2.68. However, version 2.69 of glib introduced a breaking change
+ ;; causing bitlbee-discord to throw:
+ ;;
+ ;; discord - Login error: Failed to switch to websocket mode
+ ;;
+ ;; This makes the plugin unable to connect and therefore unusable:
+ ;; https://github.com/sm00th/bitlbee-discord/issues/226
+ ;; The specified commit fixes incompatibility with glib@2.69 and newer.
+ (let ((commit "607f9887ca85f246e970778e3d40aa5c346365a7")
+ (revision "1"))
+ (package
+ (name "bitlbee-discord")
+ (version (git-version "0.4.3" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sm00th/bitlbee-discord")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jkwhx2walx2ay0vc9x13q0j1qq4r5x30ss03a3j7ks28xvsnxc7"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ (let ((out (assoc-ref %outputs "out")))
+ (list (string-append "--with-bdatadir=" out "/share/bitlbee/")
+ (string-append "--with-plugindir=" out "/lib/bitlbee/")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-autogen
+ (lambda _
+ (let ((sh (which "sh")))
+ (substitute* "autogen.sh" (("/bin/sh") sh))
+ (setenv "CONFIG_SHELL" sh)))))))
+ (inputs (list glib))
+ (native-inputs (list pkg-config
+ autoconf
+ automake
+ texinfo
+ libtool
+ bitlbee ; needs bitlbee headers
+ bash))
+ (synopsis "Discord plugin for Bitlbee")
+ (description "Bitlbee-discord is a plugin for Bitlbee which provides
access to servers running the Discord protocol.")
- (home-page "https://github.com/sm00th/bitlbee-discord/")
- (license license:gpl2+)))
+ (home-page "https://github.com/sm00th/bitlbee-discord/")
+ (license license:gpl2+))))
(define-public purple-mattermost
;; The latest release (1.2) only supports Mattermost's /api/v3. Choose a
base-commit: 699e79e0fbe4b4dd8c041ea3c08c76abf7bf9156
--
2.34.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
parent reply other threads:[~2022-02-07 16:22 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <87bkzik6sd.fsf.ref@aol.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bkzik6sd.fsf@aol.com \
--to=guix-patches@gnu.org \
--cc=53850@debbugs.gnu.org \
--cc=adam_maleszka@aol.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).