GNU bug report logs - #63970
[PATCH] gnu: Add tgs2png

Previous Next

Package: guix-patches;

Reported by: 路辉 <luhux76 <at> gmail.com>

Date: Fri, 9 Jun 2023 13:30:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63970 in the body.
You can then email your comments to 63970 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63970; Package guix-patches. (Fri, 09 Jun 2023 13:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 路辉 <luhux76 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 09 Jun 2023 13:30:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 路辉 <luhux76 <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add tgs2png
Date: Fri, 9 Jun 2023 13:29:05 +0000
From 4a213b08352288f645f5f28ed9b76f432ebf79fd Mon Sep 17 00:00:00 2001
From: Lu Hui <luhux76 <at> gmail.com>
Date: Fri, 9 Jun 2023 20:39:17 +0800
Subject: [PATCH] gnu: Add tgs2png

* gnu/packages/telegram.scm (tgs2png): New variable.
---
 gnu/packages/telegram.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index aa01c2f692..3c3a51985a 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2021 Raghav Gururajan <rg <at> raghavgururajan.name>
 ;;; Copyright © 2022 Hilton Chain <hako <at> ultrarare.space>
 ;;; Copyright © 2023 Saku Laesvuori <saku <at> laesvuori.fi>
+;;; Copyright © 2023 Lu Hui <luhux76 <at> gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -792,3 +793,27 @@ (define-public tgcli
     (synopsis "Telegram Terminal Application")
     (description "TgCli is a telegram client to automate repetitive tasks.")
     (license license:asl2.0)))
+
+(define-public tgs2png
+  (let ((commit "25c15b7c2ca3b1a580a383d9d3cb13bf8531d04a")
+    (revision "0"))
+    (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"))))
+      (build-system cmake-build-system)
+      (native-inputs (list pkg-config))
+      (inputs (list libpng rlottie))
+      (arguments `(#:tests? #f))
+      (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))))
-- 
2.40.1




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 07 Aug 2023 14:04:04 GMT) Full text and rfc822 format available.

Notification sent to 路辉 <luhux76 <at> gmail.com>:
bug acknowledged by developer. (Mon, 07 Aug 2023 14:04:04 GMT) Full text and rfc822 format available.

Message #10 received at 63970-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 路辉 <luhux76 <at> gmail.com>
Cc: 63970-done <at> debbugs.gnu.org
Subject: Re: bug#63970: [PATCH] gnu: Add tgs2png
Date: Mon, 07 Aug 2023 16:02:54 +0200
[Message part 1 (text/plain, inline)]
Hi,

路辉 <luhux76 <at> gmail.com> skribis:

>>From 4a213b08352288f645f5f28ed9b76f432ebf79fd Mon Sep 17 00:00:00 2001
> From: Lu Hui <luhux76 <at> gmail.com>
> 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’.

[Message part 2 (text/x-patch, inline)]
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+))))

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 05 Sep 2023 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.