Subject: Re: bug#63970: [PATCH] gnu: Add tgs2png

From: Ludovic Courtès <[email-masked]>
Date: Mon, 07 Aug 2023 16:02:54 +0200

Hi,

路辉 <[email-masked]> skribis:

>>>From 4a213b08352288f645f5f28ed9b76f432ebf79fd Mon Sep 17 00:00:00 2001
> From: Lu Hui <[email-masked]>
> Date: Fri, 9 Jun 2023 20:39:17 +0800
> Subject: [PATCH] gnu: Add tgs2png
>
> * gnu/packages/telegram.scm (tgs2png): New variable.

Applied with these changes.

Thanks,
Ludo’.

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 41d1be8b6f..aa5c303603 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -800,20 +800,23 @@ (define-public tgs2png
     (package
       (name "tgs2png")
       (version (git-version "0" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/zevlg/tgs2png")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32 "0camvzapkfvr9v0nkk96n26rdmw0g8wbpv41i5l03j6bzdgm4myl"))))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/zevlg/tgs2png")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0camvzapkfvr9v0nkk96n26rdmw0g8wbpv41i5l03j6bzdgm4myl"))))
       (build-system cmake-build-system)
       (native-inputs (list pkg-config))
       (inputs (list libpng rlottie))
-      (arguments `(#:tests? #f))
+      (arguments
+       `(#:tests? #f))                            ;no tests
       (home-page "https://github.com/zevlg/tgs2png")
-      (synopsis "Convert tgs to png")
-      (description "C program use for convert telegram's sticker format to png")
-      (license license:gpl3))))
+      (synopsis "Convert Telegram's TGS format into PNG images")
+      (description
+       "This program converts Telegram's animated stickers in TGS format into
+a series of PNG images.")
+      (license license:gpl3+))))