Subject: bug#71897: closed (Re: [bug#71897] [PATCH v5 6/6] gnu: telegram-desktop: Update to 5.2.3.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 26 Sep 2024 05:27:02 +0000

Your bug report

#71897: [PATCH 0/9] gnu: telegram-desktop: Update to 5.5.5.

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 [email-masked].

-- 
71897: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71897
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#71897] [PATCH v5 6/6] gnu: telegram-desktop: Update to 5.2.3.
From: Maxim Cournoyer <[email-masked]>
To: Liliana Marie Prikler <[email-masked]>
Cc: [email-masked], dan <[email-masked]>
Date: Thu, 26 Sep 2024 14:24:29 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Liliana Marie Prikler <[email-masked]> writes:

> Am Sonntag, dem 14.07.2024 um 23:49 +0800 schrieb dan:
>> * gnu/packages/patches/telegram-desktop-unbundle-cppgir.patch: New
>> file.
>> * gnu/packages/patches/telegram-desktop-unbundle-gsl.patch: New file.
>> * gnu/local.mk (dist_patch_DATA): register them.
>> * gnu/packages/telegram.scm:
>> (libyuv-for-telegram-desktop, cmake-helpers-for-telegram-desktop,
>> codegen-for-telegram-desktop, lib-base-for-telegram-desktop,
>> lib-crl-for-telegram-desktop, lib-lottie-for-telegram-desktop,
>> lib-qr-for-telegram-desktop, lib-storage-for-telegram-desktop,
>> lib-tl-for-telegram-desktop, lib-webrtc-for-telegram-desktop,
>> tgcalls-for-telegram-desktop, webrtc-for-telegram-desktop): Bump to
>> submodule
>> checkout.
> This is minor, but the ChangeLog format uses closing parentheses before
> continuation lines.
>> (cmake-helpers-for-telegram-desktop)[origin]: Add patches to unbundle
>> gsl and
>> cppgir.
>> (libprisma-for-telegram-desktop): Use %telegram-version.
>> (telegram-desktop): Update to 5.2.3.
>> [#:phases]<unpack-additional-sources>: Add libprisma-for-telegram-
>> desktop.
>> <patch-gir-ignore-paths>: New phase.
>> <use-system-xdg-desktop-portal>: New phase.
>> [native-inputs]: Add gobject-introspection and xdg-desktop-portal.
>> [inputs]: Add boost, cppgir-for-telegram-desktop, expected-lite.
>> 
>> Change-Id: I78df3434a2cd04afc54107b7fecd5e5a8df85564
> Can anyone confirm, that this patch builds?  CI didn't build it and ld
> died to OOM on my machine.

Confirmed. I've now pushed the series and added commit 404dbd894c ("gnu:
telegraph-desktop: Fix exhuberant build memory requirements.") on top,
which should help guarding against OOMing in the future.

-- 
Thanks,
Maxim

Subject: [PATCH 1/2] gnu: Add cppgir.
From: dan <[email-masked]>
To: [email-masked]
Date: Tue, 2 Jul 2024 13:18:27 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/glib.scm: Import (gnu packages pretty-print).
  (cppgir): New variable.

Change-Id: Ifaf3af1642bb8cb4750ee4f679967fb57c9cc7e2
---
 gnu/packages/glib.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index b11046f05d..10d39e4fe2 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2022 Petr Hodina <[email-masked]>
 ;;; Copyright © 2023 Saku Laesvuori <[email-masked]>
 ;;; Copyright © 2024 Zheng Junjie <[email-masked]>
+;;; Copyright © 2024 dan <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -71,6 +72,7 @@ (define-module (gnu packages glib)
   #:use-module (gnu packages perl-check)
   #:use-module (gnu packages popt)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages pretty-print)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages sqlite)
@@ -1594,3 +1596,31 @@ (define-public libdex
 Dex also provides Fibers which allow writing synchronous looking code in C
 that uses asynchronous and future-based APIs.")
     (license license:lgpl2.1+)))
+
+(define-public cppgir
+  (let ((commit "9c4f5820d94d62ab451501f016bfea97156518f4")
+        (revision "0"))
+    (package
+      (name "cppgir")
+      (version (git-version "2.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri
+                 (git-reference
+                  (url "https://gitlab.com/mnauw/cppgir")
+                  (commit commit)))
+                (sha256
+                 (base32 "1fa9nf4yljfarihaqj5kd98yysrky7q316mh6l5b1rq39ga15k9b"))))
+      (build-system cmake-build-system)
+      (arguments
+       (list
+        #:configure-flags #~(list "-DINTERNAL_EXPECTED=OFF")))
+      (inputs (list boost fmt expected-lite))
+      (home-page "https://gitlab.com/mnauw/cppgir")
+      (synopsis "A GObject-Introspection C++ binding wrapper generator")
+      (description "it processes .gir files derived from GObject-Introspection
+annotations into a set of C++ files defining suitable namespaces, classes and
+other types that together from a C++ binding. In this way, the plain C
+libraries and objects become available as native objects along with (RAII)
+managed resource handling.")
+      (license license:expat))))

base-commit: 0f51ddd8dba6b69115d07f4a77ba70abb6521293
-- 
2.41.0