GNU bug report logs - #71885
[PATCH 0/3] gnu: emacs-telega

Previous Next

Package: guix-patches;

Reported by: Sergey Trofimov <sarg <at> sarg.org.ru>

Date: Mon, 1 Jul 2024 20:48:01 UTC

Severity: normal

Tags: patch

Done: Andrew Tropin <andrew <at> trop.in>

Bug is archived. No further changes may be made.

Full log


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

From: Sergey Trofimov <sarg <at> sarg.org.ru>
To: 71885 <at> debbugs.gnu.org
Cc: Sergey Trofimov <sarg <at> sarg.org.ru>
Subject: [PATCH 1/3] gnu: Add tgs2png.
Date: Mon,  1 Jul 2024 22:53:13 +0200
* gnu/packages/animation.scm (tgs2png): New variable.
---
 gnu/packages/animation.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/animation.scm b/gnu/packages/animation.scm
index 3bcf1cc8f0..869f0d2c00 100644
--- a/gnu/packages/animation.scm
+++ b/gnu/packages/animation.scm
@@ -468,6 +468,37 @@ (define-public pencil2d
 and vector graphics.")
     (license license:gpl2)))
 
+(define-public tgs2png
+  (let ((commit "25c15b7c2ca3b1a580a383d9d3cb13bf8531d04a")
+        (revision "0"))
+    (package
+      (name "tgs2png")
+      (version (git-version "0.3.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/zevlg/tgs2png")
+               (commit commit)))
+         (sha256
+          (base32 "0camvzapkfvr9v0nkk96n26rdmw0g8wbpv41i5l03j6bzdgm4myl"))
+         (file-name (git-file-name "tgs2png" version))
+         (modules '((guix build utils)))
+         (snippet
+          '(begin
+             (delete-file-recursively "rlottie")
+             #t))))
+      (arguments '(#:tests? #f))
+      (build-system cmake-build-system)
+      (inputs
+       (list rlottie libpng))
+      (native-inputs
+       (list pkg-config))
+      (home-page "https://github.com/zevlg/tgs2png")
+      (synopsis "Convert Telegram's animated stickers to PNG")
+      (description "Convert Telegram's animated stickers in TGS format into series of PNG images.")
+      (license license:gpl3+))))
+
 (define-public swftools
   ;; Last release of swftools was 0.9.2 on 2012-04-21 - it is really old and
   ;; does not compile with what's available in guix, master on the other hand works.
-- 
2.45.2





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

Previous Next


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