From patchwork Mon Jul 1 20:53:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Trofimov X-Patchwork-Id: 65825 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A85C227BBEA; Mon, 1 Jul 2024 21:56:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8F8B827BBE9 for ; Mon, 1 Jul 2024 21:56:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOO4D-0002Uc-5O; Mon, 01 Jul 2024 16:56:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOO4A-0002TE-Tq for guix-patches@gnu.org; Mon, 01 Jul 2024 16:56:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOO4A-0002Rw-Lw for guix-patches@gnu.org; Mon, 01 Jul 2024 16:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sOO4A-0002ax-BZ for guix-patches@gnu.org; Mon, 01 Jul 2024 16:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71885] [PATCH 1/3] gnu: Add tgs2png. Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Jul 2024 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71885 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71885@debbugs.gnu.org Cc: Sergey Trofimov Received: via spool by 71885-submit@debbugs.gnu.org id=B71885.17198673269891 (code B ref 71885); Mon, 01 Jul 2024 20:56:02 +0000 Received: (at 71885) by debbugs.gnu.org; 1 Jul 2024 20:55:26 +0000 Received: from localhost ([127.0.0.1]:34859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOO3Z-0002ZT-UB for submit@debbugs.gnu.org; Mon, 01 Jul 2024 16:55:26 -0400 Received: from mail-ej1-f47.google.com ([209.85.218.47]:58699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOO3X-0002ZC-Az for 71885@debbugs.gnu.org; Mon, 01 Jul 2024 16:55:24 -0400 Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a724598cfe3so424718866b.1 for <71885@debbugs.gnu.org>; Mon, 01 Jul 2024 13:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; t=1719867256; x=1720472056; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=96sPduz4NFmLWBL8CqQBc7OpdrbKeLYM8U8yZwgjl3c=; b=gxi0CifgeSiMPuIvwZbxuWKVcewkbGRxy7HiGNFWVpXSfZT6xIfqmiQ6i8w476VYNx 8HTz4Cvkr9zcAq8LMaVjt6b+W0oE2n3bNGc9mKpeCb2iW6zvnCywaeLfZ9S3sgov/Hc9 3K3D8ZgEa69OglLa+hca9ByFB7yj8BcpWqzlI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719867256; x=1720472056; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=96sPduz4NFmLWBL8CqQBc7OpdrbKeLYM8U8yZwgjl3c=; b=vpkWSY5JWKPW98p6A0S6Ll0k35RVPdKiUukPhEVIybKeXhYp/ju+GS0rw3w6FkZlLV Is+Ufu6+9gQBddKqvCPLPKOcuynpTIhO9sEweNwVIqw/XnxUqjE0vNuzmxWWF1iQ+xhb PoA3SOKiUNxEn7KDtZxDupwdzkaIGqkc13nLVurMEWYHvJIs+SWG1UKk+Epfu3Fpthdq 5dNjAXD8/cER0S0b8ofcNOlA4b1g2dA1MA6ctubT48YF4kfUixhT8zjonq75s/3moe9Y 6ozGH26YM+kZxoAVgivY1BLsiZfWb5y9/FtEUIBT3OzHG6Oz6gUfZ8MsIz3aY2vcdqgV 7Wkw== X-Gm-Message-State: AOJu0YyIqHIXJETQpi9GPXo6a84nDMRkZB6B5ReLD0UIYUqAOtvefOEH B57S7to0ttYazVjfR4o9m4ORtgPZG8skNFkXvn1s1GbCF2w4GY2chk6ojCFKtd1rlExbOg29sW5 Y/UE= X-Google-Smtp-Source: AGHT+IEfiDOoxuj+fdPQXys31RmWD+r5V4k/kp0cEo8axvPUhhEJVBqbQjn64RX6Vahn8QXFXoLUNQ== X-Received: by 2002:a17:907:6e87:b0:a72:5e6f:b28d with SMTP id a640c23a62f3a-a751455bbbamr642421066b.73.1719867256432; Mon, 01 Jul 2024 13:54:16 -0700 (PDT) Received: from localhost ([2a02:2454:a09d:d000:a64e:31ff:fe38:fd6c]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a751561bb1bsm227811766b.37.2024.07.01.13.54.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jul 2024 13:54:16 -0700 (PDT) From: Sergey Trofimov Date: Mon, 1 Jul 2024 22:53:13 +0200 Message-ID: <07470723cc983df6e90a238ef65b8aca8ada9b6b.1719866335.git.sarg@sarg.org.ru> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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.