GNU bug report logs -
#69778
[PATCH gnome-team] gnu: telegram: Build with glibmm@2.76.
Previous Next
Reported by: Vivien Kraus <vivien <at> planete-kraus.eu>
Date: Wed, 13 Mar 2024 16:52:02 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#69778: [PATCH gnome-team] gnu: telegram: Build with glibmm <at> 2.76.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 69778 <at> debbugs.gnu.org.
--
69778: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69778
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:
> Am Donnerstag, dem 14.03.2024 um 19:06 +0100 schrieb Vivien Kraus:
>> Dear Guix,
>>
>> Telegram-desktop wants to be built with glibmm <at> 2.76. I originally
>> added it to (gnu packages telegram), but in this revision, I add it
>> to (gnu packages glib). What do you think?
>
> I won't be able to build it on my machine, but assuming you tested it
> LGTM.
Thanks both, I've pushed this to gnome-team as
aa9aebce615f014070797e7068baca40b4f25c37.
Chris
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
* gnu/packages/telegram.scm (glibmm-for-telegram-desktop): New variable.
(telegram-desktop): Use glibmm-for-telegram-desktop instead of glibmm.
Change-Id: I0ec4ebc549dd867db22d68ee6317d1630cf1bfd8
---
Dear Guix,
While we are waiting for the telegram-desktop update in #67493, here is a
minimally intrusive way to keep it working on gnome-team, by using an older
version of glibmm.
Best regards,
Vivien
gnu/packages/telegram.scm | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 7d02824efa..16d36b2c7c 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -74,7 +74,9 @@ (define-module (gnu packages telegram)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix gexp)
+ #:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix utils)
#:use-module (guix build-system cmake)
#:use-module (guix build-system copy)
#:use-module (guix build-system glib-or-gtk)
@@ -267,6 +269,21 @@ (define tgcalls-for-telegram-desktop
(base32
"193m2gkvipijqbfd6a8mhg9nd63wlnshzgspk3pip57vk21l709z"))))
+(define-public glibmm-for-telegram-desktop
+ (hidden-package
+ (package
+ (inherit glibmm)
+ (name "glibmm-for-telegram-desktop")
+ (version "2.76.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/glibmm/"
+ (version-major+minor version)
+ "/glibmm-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1cia8vrpwzn8zwalws42mga5hi965840m5s8dvfzv55xx86dhdw6")))))))
+
(define-public webrtc-for-telegram-desktop
(let ((commit "0532942ac6176a66ef184fb728a4cbb02958fc0b")
(revision "389"))
@@ -500,7 +517,7 @@ (define-public telegram-desktop
fcitx5-qt
ffmpeg
glib
- glibmm
+ glibmm-for-telegram-desktop
gtk+
hime
hunspell
base-commit: 2ee54513196bad8e663e78ac695b6ffa0da49051
--
2.41.0
This bug report was last modified 1 year and 143 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.