all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#63970] [PATCH] gnu: Add tgs2png
@ 2023-06-09 13:29 路辉
  2023-08-07 14:02 ` bug#63970: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: 路辉 @ 2023-06-09 13:29 UTC (permalink / raw)
  To: 63970

From 4a213b08352288f645f5f28ed9b76f432ebf79fd Mon Sep 17 00:00:00 2001
From: Lu Hui <luhux76@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@raghavgururajan.name>
 ;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
 ;;; Copyright © 2023 Saku Laesvuori <saku@laesvuori.fi>
+;;; Copyright © 2023 Lu Hui <luhux76@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




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

* bug#63970: [PATCH] gnu: Add tgs2png
  2023-06-09 13:29 [bug#63970] [PATCH] gnu: Add tgs2png 路辉
@ 2023-08-07 14:02 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-08-07 14:02 UTC (permalink / raw)
  To: 路辉; +Cc: 63970-done

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

Hi,

路辉 <luhux76@gmail.com> skribis:

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1684 bytes --]

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

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

end of thread, other threads:[~2023-08-07 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-09 13:29 [bug#63970] [PATCH] gnu: Add tgs2png 路辉
2023-08-07 14:02 ` bug#63970: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.