all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#64651] [PATCH] gnu: pantalaimon: Fix media downloads.
@ 2023-07-15 14:22 Wojtek Kosior via Guix-patches via
  2023-12-22 15:13 ` Wojtek Kosior via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Wojtek Kosior via Guix-patches via @ 2023-07-15 14:22 UTC (permalink / raw)
  To: 64651; +Cc: Wojtek Kosior

* gnu/packages/matrix.scm (pantalaimon)[arguments]: Patch incorrect function
invokation that made downloads of attachments impossible
---
 gnu/packages/matrix.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index 6107dfc979..60c5543e5f 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -259,6 +259,14 @@ (define-public pantalaimon
                 ;; Upgrading python-appdirs requires rebuilting 3000+ packages,
                 ;; when 1.4.4 is a simple maintenance fix from 1.4.3.
                 (("appdirs >= 1.4.4") "appdirs >= 1.4.3"))))
+          (add-after 'downgrade-appdirs-requirement 'bugfixes
+            (lambda _
+              (substitute* "pantalaimon/daemon.py"
+                ;; FIXME: Remove this once a pantalaimon version with this fix
+                ;; is officially released.
+                ;; https://github.com/matrix-org/pantalaimon/pull/152/commits/d71770ca94981afde8c9be6aaaca951f0685b64e
+                (("client.download\\(server_name, media_id, file_name\\)")
+                 "client.download(server_name=server_name, media_id=media_id, filename=file_name)"))))
           (add-after 'install 'install-doc
             (lambda _
               (with-directory-excursion "docs/man"

base-commit: 00ed2901f5171e4f9435641a91678217cae38030
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#64651] [PATCH] gnu: pantalaimon: Fix media downloads.
  2023-07-15 14:22 [bug#64651] [PATCH] gnu: pantalaimon: Fix media downloads Wojtek Kosior via Guix-patches via
@ 2023-12-22 15:13 ` Wojtek Kosior via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: Wojtek Kosior via Guix-patches via @ 2023-12-22 15:13 UTC (permalink / raw)
  To: 64651

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

Hello,

a gentle ping here :)  It's been over 6 months since I sent this patch.
Does it need any improvements?

Wojtek


-- (sig_start)
website: https://koszko.org/koszko.html
fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
follow me on Fediverse: https://friendica.me/profile/koszko/profile

♥ R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ== | ÷ c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ==
✝ YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ== | ? U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8=
-- (sig_end)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-22 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-15 14:22 [bug#64651] [PATCH] gnu: pantalaimon: Fix media downloads Wojtek Kosior via Guix-patches via
2023-12-22 15:13 ` Wojtek Kosior via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.