unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69778] [PATCH gnome-team] gnu: telegram: Build with glibmm@2.76.
@ 2024-03-13 16:45 Vivien Kraus via Guix-patches via
  2024-03-13 21:59 ` Liliana Marie Prikler
  2024-03-14 18:06 ` [bug#69778] [PATCH gnome-team v2 0/2] Make the glibmm-2.76 variable public in (gnu packages glib) Vivien Kraus via Guix-patches via
  0 siblings, 2 replies; 14+ messages in thread
From: Vivien Kraus via Guix-patches via @ 2024-03-13 16:45 UTC (permalink / raw)
  To: 69778; +Cc: liliana.prikler, maxim.cournoyer, rg, vivien

* 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




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

end of thread, other threads:[~2024-03-21 19:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-13 16:45 [bug#69778] [PATCH gnome-team] gnu: telegram: Build with glibmm@2.76 Vivien Kraus via Guix-patches via
2024-03-13 21:59 ` Liliana Marie Prikler
2024-03-17  1:30   ` Maxim Cournoyer
2024-03-14 18:06 ` [bug#69778] [PATCH gnome-team v2 0/2] Make the glibmm-2.76 variable public in (gnu packages glib) Vivien Kraus via Guix-patches via
2024-03-13 16:45   ` [bug#69778] [PATCH gnome-team v2 2/2] gnu: telegram: Build with glibmm@2.76 Vivien Kraus via Guix-patches via
2024-03-14 17:29   ` [bug#69778] [PATCH gnome-team v2 1/2] gnu: Add glibmm-2.76 Vivien Kraus via Guix-patches via
2024-03-14 19:17   ` [bug#69778] [PATCH gnome-team v2 0/2] Make the glibmm-2.76 variable public in (gnu packages glib) Liliana Marie Prikler
2024-03-16 11:04     ` Christopher Baines
2024-03-17  1:31   ` Maxim Cournoyer
2024-03-17  7:29     ` Vivien Kraus via Guix-patches via
2024-03-17  8:30       ` Liliana Marie Prikler
2024-03-21 18:25         ` Vivien Kraus via Guix-patches via
2024-03-21 18:49           ` Liliana Marie Prikler
2024-03-21 19:51             ` Vivien Kraus via Guix-patches via

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).