From unknown Sun Jun 22 04:31:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50369] [PATCH] gnu: Add video-contact-sheet Resent-From: Pradana Adrinusa AUMARS Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Sep 2021 09:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50369 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50369@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163074919911900 (code B ref -1); Sat, 04 Sep 2021 09:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Sep 2021 09:53:19 +0000 Received: from localhost ([127.0.0.1]:46668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSMQ-00035s-MX for submit@debbugs.gnu.org; Sat, 04 Sep 2021 05:53:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:51758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSMP-00035l-KN for submit@debbugs.gnu.org; Sat, 04 Sep 2021 05:53:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMSMP-0000j4-CN for guix-patches@gnu.org; Sat, 04 Sep 2021 05:53:17 -0400 Received: from mail.42l.fr ([185.216.27.142]:37732) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMSMJ-00007H-OZ for guix-patches@gnu.org; Sat, 04 Sep 2021 05:53:16 -0400 Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=courrier.dev; s=mail; t=1630749177; bh=NkJZplHk82K4Er2euitOAIG/ecTLx+kQF2XY5R81cRU=; h=Subject:From:To; b=fLt2J5iPwpJWyc7k2w7IS91DAHpOGfuCCVsTEKW1oDhLlqtg8AkcIBMAbFanrkjpj c/wvfljKKxMuzmXcRT752Np8uqWsVkuPZ9ceJ2/OwshvIjaNfj8bhN3/sohuf6TUni DxqfCgTzdILE3G3dGqIjWaiTGyNcYXfTxthAuXtiqSbeKg1ZsM5+czl4Zn3OJv2mpX eTPzkv3hhS8XqXJPDAu54WwFRQH1Vjs0xjPhuByO8JRhrHQ8wH/rfsqsRp+fPNCOXZ yOOL/+jN/ru5VacFRXnBjqGSmvNO+V/3odxRUYS5p5YlWxkwHx3IMW7Cu+6tU0X/pL JTijVE0Rq8H/g== From: Pradana Adrinusa AUMARS Date: Sat, 04 Sep 2021 11:52:57 +0200 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.216.27.142; envelope-from=SRS0=toh/=N2=courrier.dev=paumars@42l.fr; helo=mail.42l.fr X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) >From 9851db2b3036ee3d5e8ef85ed8bae2f6398702e0 Mon Sep 17 00:00:00 2001 From: Pradana AUMARS Date: Fri, 18 Jun 2021 16:13:07 +0200 Subject: [PATCH] gnu: Add video-contact-sheet --- gnu/packages/video.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index e3f4f59b4c..ba3035cf45 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -51,6 +51,7 @@ ;;; Copyright © 2021 Andrew Tropin ;;; Copyright © 2021 David Wilson ;;; Copyright © 2021 Maxim Cournoyer +;;; Copyright © 2021 Pradana Aumars ;;; ;;; This file is part of GNU Guix. ;;; @@ -96,6 +97,7 @@ #:use-module (gnu packages avahi) #:use-module (gnu packages backup) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages cdrom) @@ -5180,3 +5182,32 @@ information) NALUs (Network Abstraction Layer Unit) for inclusion into an h.264 elementary stream are provided.") (home-page "https://github.com/szatmary/libcaption") (license license:expat))) + +(define-public video-contact-sheet + (package + (name "video-contact-sheet") + (version "1.13.4") + (source (origin + (method url-fetch) + (uri (string-append "http://p.outlyer.net/files/vcs/-" version + ".tar.gz")) + (sha256 + (base32 + "0jsl93r0rnybjcipqbww5hwsr9ln6kz1qnf32qfxdvhfw52n27fw")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (delete 'check)) + #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))))) + (inputs + `(("bash" ,bash) + ("ffmpeg" ,ffmpeg) + ("imagemagick" ,imagemagick))) + (synopsis "Bash script to create contact sheets (preview images) from videos") + (description "This is a bash script meant to create video contact sheets (previews) of videos. Any video supported by mplayer and ffmpeg can be used. A note of warning: Unlike most similar tools it, by default, makes screenshots the same size as the video, see the manual for details on how to change this.") + (home-page "http://p.outlyer.net/vcs/") + (license license:lgpl3))) -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 10:13:53 2021 Received: (at control) by debbugs.gnu.org; 17 Dec 2021 15:13:54 +0000 Received: from localhost ([127.0.0.1]:40402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myEvh-00076g-QP for submit@debbugs.gnu.org; Fri, 17 Dec 2021 10:13:53 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:58241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myEvg-00076R-EW for control@debbugs.gnu.org; Fri, 17 Dec 2021 10:13:52 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D05EF5C023F; Fri, 17 Dec 2021 10:13:46 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 17 Dec 2021 10:13:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:message-id:mime-version:content-type; s=mesmtp; bh=HLYKpgtzI49THq6WKUcphJJhxPOM5dHnCfQoeNZJoOs=; b=ObwU5QkWsVnV ANoLVhP3/AxxR4aCrb3P9q2kN2dj1vs7mmQ2ccCj9MEJZLIq9sZycCfdfYjbGGqJ +SckXDtSmMst2P6ce4BQkOIUk5zDXuJQTCkog9YE1R2o/sOGCnRRP8oKu71Etr0S DvO6hxkE+uhBiDjuDFnV1eFAjjbsNrA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=HLYKpgtzI49THq6WKUcphJJhxPOM5dHnCfQoeNZJo Os=; b=OQDNb31BakjUyARqJxHidd4oDaNV6t74hq9iTrek5k0YqIkQo80MicW14 GWhfrlPGd/dwI36dFebIS1gP28QEkLoLqZmbvc5yO8D1nAewnIu+Du+UWQrRZTci ORXbbJTrobnrYopTkxQq+qp1ccZEB5250QaH7JxbYcSFJ3bXXpxZvZzM+vQqwHbq Y/W4NPhkWtKP/LUs5NZ9aQ3Ayo3EbO69B3jGb7LpQxBK9N6kmRk/TvRftJsgTh5T q77O0Surdv7xY2kf7APUMNqlCAHGEh82So4SpMg+Ja1lYHwxfc24X0ts0zhDqOV3 R9qAT1KzcMdfrECqcflRSbO/4o80w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrleeigdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecugfhmphhthicushhusghjvggtthculddutddmnecujf gurhepfffhvffkgggtugesthdtrodttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgr rhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepve eiueegvdehuefgteevfeejgfdtgfevgeevhfeiteehteeufedtieefgefgieehnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmh hulhgrrhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 17 Dec 2021 10:13:46 -0500 (EST) Date: Fri, 17 Dec 2021 10:13:44 -0500 From: Leo Famulari To: control@debbugs.gnu.org Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 49094 50369 Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.27 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [66.111.4.27 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) merge 49094 50369 From unknown Sun Jun 22 04:31:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50369] [PATCH] gnu: Add video-contact-sheet Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 15:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50369 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50369@debbugs.gnu.org Cc: 50369-done@debbugs.gnu.org X-Debbugs-Original-To: Pradana Adrinusa AUMARS via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.16397546594500 (code B ref -1); Fri, 17 Dec 2021 15:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Dec 2021 15:24:19 +0000 Received: from localhost ([127.0.0.1]:40429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myF5j-0001AO-Bw for submit@debbugs.gnu.org; Fri, 17 Dec 2021 10:24:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:52824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myF5g-0001AA-UW for submit@debbugs.gnu.org; Fri, 17 Dec 2021 10:24:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myF5g-00077m-IN for guix-patches@gnu.org; Fri, 17 Dec 2021 10:24:12 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:40305) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myF5e-00039W-3z for guix-patches@gnu.org; Fri, 17 Dec 2021 10:24:12 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 42C0B5C01B2; Fri, 17 Dec 2021 10:24:09 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 17 Dec 2021 10:24:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=7VkxFFyiCDwMDpLuCFmUHtnt VCASXaJWvujC4LvJQ/0=; b=oU+CpD2nfSgdT83OyGBpNr1QYdba1b5uutHchvkR xNo+huYZI42gEQ0LbO0yqT9mquHA/sdZ9IZROt6dPjCkTVgf4qwPu4baXuYb4obo g/xqx4FMcZTvcP2tLZ6UNDlTpczQlASPCB0HTqa/bviuBTHYGyyqha/l4QGIeHu6 NIA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=7VkxFF yiCDwMDpLuCFmUHtntVCASXaJWvujC4LvJQ/0=; b=KLXLVUGjEt+XnS3VIqrm40 KYXuG2LXEzFZyWPGimYIBM0VAONBDAoNDT2hiE+mfhXJ8vTln4WoadI5w9VRKh7o EMg65AWrreygHUBW+zqQ0MDj8UCLeyHLZU/6eGPX/ZA1+Hh8VLF2LLy7O5+2jwio 7brDVDTqRG106YRfddLc2bt70b5e4QMnVZ6c9qiC+SkSYKuZWGduO2HxtV5/rFPN a90Ge1E4smtDpEb63wPlxcMcv6VcWOQaMMoVUFI1hUCoQ2abAapjpQwT2xR9QfmS epoq8By0mV/i42jLcpQZiBFdavBLu6FpHPR2gn560LO1FeJ1FKCQV4PnWlCUM37A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrleeigdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcuhfgr mhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvg hrnhepjeehueehheeitedtgfeukefffffhfeehgeelgfehffejhfelhfdvlefhtdelhefg necuffhomhgrihhnpehouhhtlhihvghrrdhnvghtpdhgnhhurdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgr rhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Dec 2021 10:24:08 -0500 (EST) Date: Fri, 17 Dec 2021 10:24:07 -0500 From: Leo Famulari Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=66.111.4.27; envelope-from=leo@famulari.name; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) On Sat, Sep 04, 2021 at 11:52:57AM +0200, Pradana Adrinusa AUMARS via Guix-patches via wrote: > From 9851db2b3036ee3d5e8ef85ed8bae2f6398702e0 Mon Sep 17 00:00:00 2001 > From: Pradana AUMARS > Date: Fri, 18 Jun 2021 16:13:07 +0200 > Subject: [PATCH] gnu: Add video-contact-sheet Thank you for packaging this very useful program! And sorry for the long delay in reviewing your contribution. I've pushed your patch as commit 61ae42e773526373f0dc3ca99c7251d20434d3d1 with the following changes: > + (uri (string-append "http://p.outlyer.net/files/vcs/-" version > + ".tar.gz")) This URL was incorrect. This can happen when you first download the source code with `guix download`. Since you will already have the tarball in /gnu/store, Guix will not try to download it again based on the package definition, and you won't notice that the URL is wrong. For that reason, when making new packages I suggest downloading the tarball in another way and then using `guix hash` to get the hash, or using `guix build --source video-contact-sheet --check`. > + (arguments > + `(#:phases (modify-phases %standard-phases > + (delete 'configure) > + (delete 'build) > + (delete 'check)) > + #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))))) > + (inputs > + `(("bash" ,bash) > + ("ffmpeg" ,ffmpeg) > + ("imagemagick" ,imagemagick))) I added a "wrap-program" phase to ensure that the built package will retain its dependencies on ffmpeg and imagemagick. Without this, it did not keep any "references" to those packages, and so they would not be made available when installing video-contact-sheet. You can check these references like this: $ guix gc --references $(guix build video-contact-sheet) /gnu/store/czv41lxhgrmmvbabrqhshxjaj1z3qgvq-ffmpeg-4.4.1 /gnu/store/frs0cv3f6r8frqan91wlm05hm6iwlyn1-bash-minimal-5.1.8 /gnu/store/ph6ikrlflwp240cw9r0sp9zwri9x44sz-imagemagick-6.9.12-4 /gnu/store/rjqgadyzrxdhpr00kwybwyyi7pw7sc1l-video-contact-sheet-1.13.4 I also changed the bash dependency to bash-minimal, which is more suitable for non-interactive use. I partially updated the package to the new style described here: https://guix.gnu.org/en/blog/2021/the-big-change/ > + (synopsis "Bash script to create contact sheets (preview images) from videos") > + (description "This is a bash script meant to create video contact sheets (previews) of videos. > Any video supported by mplayer and ffmpeg can be used. A note of warning: Unlike most similar tools it, > by default, makes screenshots the same size as the video, see the manual for details on how to change > this.") In a follow-up commit, I tweaked the synopsis and description a little bit. I meant to do this in the same commit but forgot to include these changes. > + (license license:lgpl3))) Finally, I changed the license to lgpl2.1+, since that is what is specified in the `vcs` shell script. Thanks again for this patch! From unknown Sun Jun 22 04:31:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Pradana Adrinusa AUMARS Subject: bug#50369: closed (Re: [bug#50369] [PATCH] gnu: Add video-contact-sheet) Message-ID: References: X-Gnu-PR-Message: they-closed 50369 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 50369@debbugs.gnu.org Date: Fri, 17 Dec 2021 15:25:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1639754702-4581-1" This is a multi-part message in MIME format... ------------=_1639754702-4581-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #50369: [PATCH] gnu: Add video-contact-sheet which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 50369@debbugs.gnu.org. --=20 50369: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50369 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1639754702-4581-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 50369-done) by debbugs.gnu.org; 17 Dec 2021 15:24:20 +0000 Received: from localhost ([127.0.0.1]:40431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myF5n-0001AX-Db for submit@debbugs.gnu.org; Fri, 17 Dec 2021 10:24:20 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:57063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myF5i-0001A4-Bb for 50369-done@debbugs.gnu.org; Fri, 17 Dec 2021 10:24:14 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 42C0B5C01B2; Fri, 17 Dec 2021 10:24:09 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 17 Dec 2021 10:24:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=7VkxFFyiCDwMDpLuCFmUHtnt VCASXaJWvujC4LvJQ/0=; b=oU+CpD2nfSgdT83OyGBpNr1QYdba1b5uutHchvkR xNo+huYZI42gEQ0LbO0yqT9mquHA/sdZ9IZROt6dPjCkTVgf4qwPu4baXuYb4obo g/xqx4FMcZTvcP2tLZ6UNDlTpczQlASPCB0HTqa/bviuBTHYGyyqha/l4QGIeHu6 NIA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=7VkxFF yiCDwMDpLuCFmUHtntVCASXaJWvujC4LvJQ/0=; b=KLXLVUGjEt+XnS3VIqrm40 KYXuG2LXEzFZyWPGimYIBM0VAONBDAoNDT2hiE+mfhXJ8vTln4WoadI5w9VRKh7o EMg65AWrreygHUBW+zqQ0MDj8UCLeyHLZU/6eGPX/ZA1+Hh8VLF2LLy7O5+2jwio 7brDVDTqRG106YRfddLc2bt70b5e4QMnVZ6c9qiC+SkSYKuZWGduO2HxtV5/rFPN a90Ge1E4smtDpEb63wPlxcMcv6VcWOQaMMoVUFI1hUCoQ2abAapjpQwT2xR9QfmS epoq8By0mV/i42jLcpQZiBFdavBLu6FpHPR2gn560LO1FeJ1FKCQV4PnWlCUM37A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrleeigdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcuhfgr mhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvg hrnhepjeehueehheeitedtgfeukefffffhfeehgeelgfehffejhfelhfdvlefhtdelhefg necuffhomhgrihhnpehouhhtlhihvghrrdhnvghtpdhgnhhurdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgr rhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Dec 2021 10:24:08 -0500 (EST) Date: Fri, 17 Dec 2021 10:24:07 -0500 From: Leo Famulari To: Pradana Adrinusa AUMARS via Guix-patches via Subject: Re: [bug#50369] [PATCH] gnu: Add video-contact-sheet Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50369-done Cc: 50369-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sat, Sep 04, 2021 at 11:52:57AM +0200, Pradana Adrinusa AUMARS via Guix-patches via wrote: > From 9851db2b3036ee3d5e8ef85ed8bae2f6398702e0 Mon Sep 17 00:00:00 2001 > From: Pradana AUMARS > Date: Fri, 18 Jun 2021 16:13:07 +0200 > Subject: [PATCH] gnu: Add video-contact-sheet Thank you for packaging this very useful program! And sorry for the long delay in reviewing your contribution. I've pushed your patch as commit 61ae42e773526373f0dc3ca99c7251d20434d3d1 with the following changes: > + (uri (string-append "http://p.outlyer.net/files/vcs/-" version > + ".tar.gz")) This URL was incorrect. This can happen when you first download the source code with `guix download`. Since you will already have the tarball in /gnu/store, Guix will not try to download it again based on the package definition, and you won't notice that the URL is wrong. For that reason, when making new packages I suggest downloading the tarball in another way and then using `guix hash` to get the hash, or using `guix build --source video-contact-sheet --check`. > + (arguments > + `(#:phases (modify-phases %standard-phases > + (delete 'configure) > + (delete 'build) > + (delete 'check)) > + #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))))) > + (inputs > + `(("bash" ,bash) > + ("ffmpeg" ,ffmpeg) > + ("imagemagick" ,imagemagick))) I added a "wrap-program" phase to ensure that the built package will retain its dependencies on ffmpeg and imagemagick. Without this, it did not keep any "references" to those packages, and so they would not be made available when installing video-contact-sheet. You can check these references like this: $ guix gc --references $(guix build video-contact-sheet) /gnu/store/czv41lxhgrmmvbabrqhshxjaj1z3qgvq-ffmpeg-4.4.1 /gnu/store/frs0cv3f6r8frqan91wlm05hm6iwlyn1-bash-minimal-5.1.8 /gnu/store/ph6ikrlflwp240cw9r0sp9zwri9x44sz-imagemagick-6.9.12-4 /gnu/store/rjqgadyzrxdhpr00kwybwyyi7pw7sc1l-video-contact-sheet-1.13.4 I also changed the bash dependency to bash-minimal, which is more suitable for non-interactive use. I partially updated the package to the new style described here: https://guix.gnu.org/en/blog/2021/the-big-change/ > + (synopsis "Bash script to create contact sheets (preview images) from videos") > + (description "This is a bash script meant to create video contact sheets (previews) of videos. > Any video supported by mplayer and ffmpeg can be used. A note of warning: Unlike most similar tools it, > by default, makes screenshots the same size as the video, see the manual for details on how to change > this.") In a follow-up commit, I tweaked the synopsis and description a little bit. I meant to do this in the same commit but forgot to include these changes. > + (license license:lgpl3))) Finally, I changed the license to lgpl2.1+, since that is what is specified in the `vcs` shell script. Thanks again for this patch! ------------=_1639754702-4581-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Sep 2021 09:53:19 +0000 Received: from localhost ([127.0.0.1]:46668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSMQ-00035s-MX for submit@debbugs.gnu.org; Sat, 04 Sep 2021 05:53:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:51758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSMP-00035l-KN for submit@debbugs.gnu.org; Sat, 04 Sep 2021 05:53:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMSMP-0000j4-CN for guix-patches@gnu.org; Sat, 04 Sep 2021 05:53:17 -0400 Received: from mail.42l.fr ([185.216.27.142]:37732) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMSMJ-00007H-OZ for guix-patches@gnu.org; Sat, 04 Sep 2021 05:53:16 -0400 Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=courrier.dev; s=mail; t=1630749177; bh=NkJZplHk82K4Er2euitOAIG/ecTLx+kQF2XY5R81cRU=; h=Subject:From:To; b=fLt2J5iPwpJWyc7k2w7IS91DAHpOGfuCCVsTEKW1oDhLlqtg8AkcIBMAbFanrkjpj c/wvfljKKxMuzmXcRT752Np8uqWsVkuPZ9ceJ2/OwshvIjaNfj8bhN3/sohuf6TUni DxqfCgTzdILE3G3dGqIjWaiTGyNcYXfTxthAuXtiqSbeKg1ZsM5+czl4Zn3OJv2mpX eTPzkv3hhS8XqXJPDAu54WwFRQH1Vjs0xjPhuByO8JRhrHQ8wH/rfsqsRp+fPNCOXZ yOOL/+jN/ru5VacFRXnBjqGSmvNO+V/3odxRUYS5p5YlWxkwHx3IMW7Cu+6tU0X/pL JTijVE0Rq8H/g== Subject: [PATCH] gnu: Add video-contact-sheet From: Pradana Adrinusa AUMARS To: guix-patches@gnu.org Date: Sat, 04 Sep 2021 11:52:57 +0200 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.216.27.142; envelope-from=SRS0=toh/=N2=courrier.dev=paumars@42l.fr; helo=mail.42l.fr X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) >From 9851db2b3036ee3d5e8ef85ed8bae2f6398702e0 Mon Sep 17 00:00:00 2001 From: Pradana AUMARS Date: Fri, 18 Jun 2021 16:13:07 +0200 Subject: [PATCH] gnu: Add video-contact-sheet --- gnu/packages/video.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index e3f4f59b4c..ba3035cf45 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -51,6 +51,7 @@ ;;; Copyright © 2021 Andrew Tropin ;;; Copyright © 2021 David Wilson ;;; Copyright © 2021 Maxim Cournoyer +;;; Copyright © 2021 Pradana Aumars ;;; ;;; This file is part of GNU Guix. ;;; @@ -96,6 +97,7 @@ #:use-module (gnu packages avahi) #:use-module (gnu packages backup) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages cdrom) @@ -5180,3 +5182,32 @@ information) NALUs (Network Abstraction Layer Unit) for inclusion into an h.264 elementary stream are provided.") (home-page "https://github.com/szatmary/libcaption") (license license:expat))) + +(define-public video-contact-sheet + (package + (name "video-contact-sheet") + (version "1.13.4") + (source (origin + (method url-fetch) + (uri (string-append "http://p.outlyer.net/files/vcs/-" version + ".tar.gz")) + (sha256 + (base32 + "0jsl93r0rnybjcipqbww5hwsr9ln6kz1qnf32qfxdvhfw52n27fw")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (delete 'check)) + #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))))) + (inputs + `(("bash" ,bash) + ("ffmpeg" ,ffmpeg) + ("imagemagick" ,imagemagick))) + (synopsis "Bash script to create contact sheets (preview images) from videos") + (description "This is a bash script meant to create video contact sheets (previews) of videos. Any video supported by mplayer and ffmpeg can be used. A note of warning: Unlike most similar tools it, by default, makes screenshots the same size as the video, see the manual for details on how to change this.") + (home-page "http://p.outlyer.net/vcs/") + (license license:lgpl3))) -- 2.32.0 ------------=_1639754702-4581-1-- From unknown Sun Jun 22 04:31:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Pradana Adrinusa AUMARS Subject: bug#49093: closed (Re: [bug#50369] [PATCH] gnu: Add video-contact-sheet) Message-ID: References: X-Gnu-PR-Message: they-closed 49093 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 49093@debbugs.gnu.org Date: Fri, 17 Dec 2021 15:25:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1639754702-4581-3" This is a multi-part message in MIME format... ------------=_1639754702-4581-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #50369: Add video-contact-sheet which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 49093@debbugs.gnu.org. --=20 50369: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50369 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1639754702-4581-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 50369-done) by debbugs.gnu.org; 17 Dec 2021 15:24:20 +0000 Received: from localhost ([127.0.0.1]:40431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myF5n-0001AX-Db for submit@debbugs.gnu.org; Fri, 17 Dec 2021 10:24:20 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:57063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myF5i-0001A4-Bb for 50369-done@debbugs.gnu.org; Fri, 17 Dec 2021 10:24:14 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 42C0B5C01B2; Fri, 17 Dec 2021 10:24:09 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 17 Dec 2021 10:24:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=7VkxFFyiCDwMDpLuCFmUHtnt VCASXaJWvujC4LvJQ/0=; b=oU+CpD2nfSgdT83OyGBpNr1QYdba1b5uutHchvkR xNo+huYZI42gEQ0LbO0yqT9mquHA/sdZ9IZROt6dPjCkTVgf4qwPu4baXuYb4obo g/xqx4FMcZTvcP2tLZ6UNDlTpczQlASPCB0HTqa/bviuBTHYGyyqha/l4QGIeHu6 NIA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=7VkxFF yiCDwMDpLuCFmUHtntVCASXaJWvujC4LvJQ/0=; b=KLXLVUGjEt+XnS3VIqrm40 KYXuG2LXEzFZyWPGimYIBM0VAONBDAoNDT2hiE+mfhXJ8vTln4WoadI5w9VRKh7o EMg65AWrreygHUBW+zqQ0MDj8UCLeyHLZU/6eGPX/ZA1+Hh8VLF2LLy7O5+2jwio 7brDVDTqRG106YRfddLc2bt70b5e4QMnVZ6c9qiC+SkSYKuZWGduO2HxtV5/rFPN a90Ge1E4smtDpEb63wPlxcMcv6VcWOQaMMoVUFI1hUCoQ2abAapjpQwT2xR9QfmS epoq8By0mV/i42jLcpQZiBFdavBLu6FpHPR2gn560LO1FeJ1FKCQV4PnWlCUM37A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrleeigdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcuhfgr mhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvg hrnhepjeehueehheeitedtgfeukefffffhfeehgeelgfehffejhfelhfdvlefhtdelhefg necuffhomhgrihhnpehouhhtlhihvghrrdhnvghtpdhgnhhurdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgr rhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Dec 2021 10:24:08 -0500 (EST) Date: Fri, 17 Dec 2021 10:24:07 -0500 From: Leo Famulari To: Pradana Adrinusa AUMARS via Guix-patches via Subject: Re: [bug#50369] [PATCH] gnu: Add video-contact-sheet Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50369-done Cc: 50369-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sat, Sep 04, 2021 at 11:52:57AM +0200, Pradana Adrinusa AUMARS via Guix-patches via wrote: > From 9851db2b3036ee3d5e8ef85ed8bae2f6398702e0 Mon Sep 17 00:00:00 2001 > From: Pradana AUMARS > Date: Fri, 18 Jun 2021 16:13:07 +0200 > Subject: [PATCH] gnu: Add video-contact-sheet Thank you for packaging this very useful program! And sorry for the long delay in reviewing your contribution. I've pushed your patch as commit 61ae42e773526373f0dc3ca99c7251d20434d3d1 with the following changes: > + (uri (string-append "http://p.outlyer.net/files/vcs/-" version > + ".tar.gz")) This URL was incorrect. This can happen when you first download the source code with `guix download`. Since you will already have the tarball in /gnu/store, Guix will not try to download it again based on the package definition, and you won't notice that the URL is wrong. For that reason, when making new packages I suggest downloading the tarball in another way and then using `guix hash` to get the hash, or using `guix build --source video-contact-sheet --check`. > + (arguments > + `(#:phases (modify-phases %standard-phases > + (delete 'configure) > + (delete 'build) > + (delete 'check)) > + #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))))) > + (inputs > + `(("bash" ,bash) > + ("ffmpeg" ,ffmpeg) > + ("imagemagick" ,imagemagick))) I added a "wrap-program" phase to ensure that the built package will retain its dependencies on ffmpeg and imagemagick. Without this, it did not keep any "references" to those packages, and so they would not be made available when installing video-contact-sheet. You can check these references like this: $ guix gc --references $(guix build video-contact-sheet) /gnu/store/czv41lxhgrmmvbabrqhshxjaj1z3qgvq-ffmpeg-4.4.1 /gnu/store/frs0cv3f6r8frqan91wlm05hm6iwlyn1-bash-minimal-5.1.8 /gnu/store/ph6ikrlflwp240cw9r0sp9zwri9x44sz-imagemagick-6.9.12-4 /gnu/store/rjqgadyzrxdhpr00kwybwyyi7pw7sc1l-video-contact-sheet-1.13.4 I also changed the bash dependency to bash-minimal, which is more suitable for non-interactive use. I partially updated the package to the new style described here: https://guix.gnu.org/en/blog/2021/the-big-change/ > + (synopsis "Bash script to create contact sheets (preview images) from videos") > + (description "This is a bash script meant to create video contact sheets (previews) of videos. > Any video supported by mplayer and ffmpeg can be used. A note of warning: Unlike most similar tools it, > by default, makes screenshots the same size as the video, see the manual for details on how to change > this.") In a follow-up commit, I tweaked the synopsis and description a little bit. I meant to do this in the same commit but forgot to include these changes. > + (license license:lgpl3))) Finally, I changed the license to lgpl2.1+, since that is what is specified in the `vcs` shell script. Thanks again for this patch! ------------=_1639754702-4581-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Jun 2021 15:17:33 +0000 Received: from localhost ([127.0.0.1]:57610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luGFP-0001T2-QX for submit@debbugs.gnu.org; Fri, 18 Jun 2021 11:17:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:54156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luFHg-0008LX-Na for submit@debbugs.gnu.org; Fri, 18 Jun 2021 10:15:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luFHf-0000J2-PE for guix-patches@gnu.org; Fri, 18 Jun 2021 10:15:48 -0400 Received: from mail.42l.fr ([185.216.27.142]:52414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luFHb-0004uK-Oc for guix-patches@gnu.org; Fri, 18 Jun 2021 10:15:47 -0400 Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=courrier.dev; s=mail; t=1624025727; bh=DJ5tmxpqyf0j3Ko4jSuaqc9HxbFfH6iQGYeUf8xfrdw=; h=Subject:From:To; b=dbmCwucprumZH1/AuoailjENP8nxC4gZ7oh4LsIXU9arCEX16y66JKfWF2a8qHuR/ ZfSu9M0L3RZaoMPj9mO0shNxszf3ssXLL4jnZaYVyhRSSm8f1ty9k8k9zWAkW/n4rr 3dmbChBtBUSOizax2RiSyaaGzIQx7GfUdz83ntIHKaR5dym8JiR5E2vbyzjvXDcI3c /C997Oy808WJL4oRPQF0jF/AAEwTSBAdHbs6+tug7esFpaG1f3UXX4EC82Qs3GY2SS Sh1DQoyxCoaHc+s/e6mQd5kJ8eYBhBrPuCdi4PmK7sVSV86oOAyjoJJWPaLvjpxR8F dPULJU3cgBc+w== Subject: Add video-contact-sheet From: Pradana Adrinusa AUMARS To: guix-patches@gnu.org Date: Fri, 18 Jun 2021 16:15:11 +0200 Content-Type: multipart/mixed; boundary="=-cpwVlH/ublshTibp1an0" Mime-Version: 1.0 Received-SPF: pass client-ip=185.216.27.142; envelope-from=SRS0=nKz1=LM=courrier.dev=paumars@42l.fr; helo=mail.42l.fr X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 18 Jun 2021 11:17:30 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --=-cpwVlH/ublshTibp1an0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Add package definition for video-contact-sheet --=-cpwVlH/ublshTibp1an0 Content-Disposition: attachment; filename="0001-gnu-Add-video-contact-sheet.patch" Content-Type: text/x-patch; name="0001-gnu-Add-video-contact-sheet.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSA5ODUxZGIyYjMwMzZlZTNkNWU4ZWY4NWVkOGJhZTJmNjM5ODcwMmUwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQcmFkYW5hIEFVTUFSUyA8cGF1bWFyc0Bjb3Vycmllci5kZXY+ CkRhdGU6IEZyaSwgMTggSnVuIDIwMjEgMTY6MTM6MDcgKzAyMDAKU3ViamVjdDogW1BBVENIXSBn bnU6IEFkZCB2aWRlby1jb250YWN0LXNoZWV0CgotLS0KIGdudS9wYWNrYWdlcy92aWRlby5zY20g fCAzMSArKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrCiAxIGZpbGUgY2hhbmdlZCwgMzEg aW5zZXJ0aW9ucygrKQoKZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy92aWRlby5zY20gYi9nbnUv cGFja2FnZXMvdmlkZW8uc2NtCmluZGV4IGUzZjRmNTliNGMuLmJhMzAzNWNmNDUgMTAwNjQ0Ci0t LSBhL2dudS9wYWNrYWdlcy92aWRlby5zY20KKysrIGIvZ251L3BhY2thZ2VzL3ZpZGVvLnNjbQpA QCAtNTEsNiArNTEsNyBAQAogOzs7IENvcHlyaWdodCDCqSAyMDIxIEFuZHJldyBUcm9waW4gPGFu ZHJld0B0cm9wLmluPgogOzs7IENvcHlyaWdodCDCqSAyMDIxIERhdmlkIFdpbHNvbiA8ZGF2aWRA ZGF2aXdpbC5jb20+CiA7OzsgQ29weXJpZ2h0IMKpIDIwMjEgTWF4aW0gQ291cm5veWVyIDxtYXhp bS5jb3Vybm95ZXJAZ21haWwuY29tPgorOzs7IENvcHlyaWdodCDCqSAyMDIxIFByYWRhbmEgQXVt YXJzIDxwYXVtYXJzQGNvdXJyaWVyLmRldj4KIDs7OwogOzs7IFRoaXMgZmlsZSBpcyBwYXJ0IG9m IEdOVSBHdWl4LgogOzs7CkBAIC05Niw2ICs5Nyw3IEBACiAgICM6dXNlLW1vZHVsZSAoZ251IHBh Y2thZ2VzIGF2YWhpKQogICAjOnVzZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBiYWNrdXApCiAgICM6 dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIGJhc2UpCisgICM6dXNlLW1vZHVsZSAoZ251IHBhY2th Z2VzIGJhc2gpCiAgICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIGJpc29uKQogICAjOnVzZS1t b2R1bGUgKGdudSBwYWNrYWdlcyBib29zdCkKICAgIzp1c2UtbW9kdWxlIChnbnUgcGFja2FnZXMg Y2Ryb20pCkBAIC01MTgwLDMgKzUxODIsMzIgQEAgaW5mb3JtYXRpb24pIE5BTFVzIChOZXR3b3Jr IEFic3RyYWN0aW9uIExheWVyIFVuaXQpIGZvciBpbmNsdXNpb24gaW50byBhbiBoLjI2NAogZWxl bWVudGFyeSBzdHJlYW0gYXJlIHByb3ZpZGVkLiIpCiAgICAgKGhvbWUtcGFnZSAiaHR0cHM6Ly9n aXRodWIuY29tL3N6YXRtYXJ5L2xpYmNhcHRpb24iKQogICAgIChsaWNlbnNlIGxpY2Vuc2U6ZXhw YXQpKSkKKworKGRlZmluZS1wdWJsaWMgdmlkZW8tY29udGFjdC1zaGVldAorICAocGFja2FnZQor ICAgKG5hbWUgInZpZGVvLWNvbnRhY3Qtc2hlZXQiKQorICAgKHZlcnNpb24gIjEuMTMuNCIpCisg ICAoc291cmNlIChvcmlnaW4KKyAgICAgICAgICAgIChtZXRob2QgdXJsLWZldGNoKQorICAgICAg ICAgICAgKHVyaSAoc3RyaW5nLWFwcGVuZCAiaHR0cDovL3Aub3V0bHllci5uZXQvdmNzL2ZpbGVz L3Zjcy0iIHZlcnNpb24KKwkJCQkiLnRhci5neiIpKQorICAgICAgICAgICAgKHNoYTI1NgorICAg ICAgICAgICAgIChiYXNlMzIKKyAgICAgICAgICAgICAgIjBqc2w5M3Iwcm55YmpjaXBxYnd3NWh3 c3I5bG42a3oxcW5mMzJxZnhkdmhmdzUybjI3ZnciKSkpKQorICAgKGJ1aWxkLXN5c3RlbSBnbnUt YnVpbGQtc3lzdGVtKQorICAgKGFyZ3VtZW50cworICAgIGAoIzpwaGFzZXMgKG1vZGlmeS1waGFz ZXMgJXN0YW5kYXJkLXBoYXNlcworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGRlbGV0 ZSAnY29uZmlndXJlKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGRlbGV0ZSAnYnVp bGQpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoZGVsZXRlICdjaGVjaykpCisgICAg ICAjOm1ha2UtZmxhZ3MgKGxpc3QgKHN0cmluZy1hcHBlbmQgInByZWZpeD0iIChhc3NvYy1yZWYg JW91dHB1dHMgIm91dCIpKSkpKQorICAgKGlucHV0cworICAgIGAoKCJiYXNoIiAsYmFzaCkKKyAg ICAgICgiZmZtcGVnIiAsZmZtcGVnKQorICAgICAgKCJpbWFnZW1hZ2ljayIgLGltYWdlbWFnaWNr KSkpCisgICAoc3lub3BzaXMgIkJhc2ggc2NyaXB0IHRvIGNyZWF0ZSBjb250YWN0IHNoZWV0cyAo cHJldmlldyBpbWFnZXMpIGZyb20gdmlkZW9zIikKKyAgIChkZXNjcmlwdGlvbiAiVGhpcyBpcyBh IGJhc2ggc2NyaXB0IG1lYW50IHRvIGNyZWF0ZSB2aWRlbyBjb250YWN0IHNoZWV0cyAocHJldmll d3MpIG9mIHZpZGVvcy4gQW55IHZpZGVvIHN1cHBvcnRlZCBieSBtcGxheWVyIGFuZCBmZm1wZWcg Y2FuIGJlIHVzZWQuIEEgbm90ZSBvZiB3YXJuaW5nOiBVbmxpa2UgbW9zdCBzaW1pbGFyIHRvb2xz IGl0LCBieSBkZWZhdWx0LCBtYWtlcyBzY3JlZW5zaG90cyB0aGUgc2FtZSBzaXplIGFzIHRoZSB2 aWRlbywgc2VlIGJlbG93IGZvciBkZXRhaWxzIG9uIGhvdyB0byBjaGFuZ2UgdGhpcy4KKworVGFr ZSBhIGxvb2sgYXQgdGhlIGRvY3VtZW50YXRpb24gYW5kL29yIHVzZSB0aGUg4oCTaGVscCBhbmQg 4oCTZnVsbGhlbHAgb3B0aW9ucyB0byBsZWFybiBob3cgdG8gdXNlIGl0LiIpCisgICAoaG9tZS1w YWdlICJodHRwOi8vcC5vdXRseWVyLm5ldC92Y3MvIikKKyAgIChsaWNlbnNlIGxpY2Vuc2U6bGdw bDMpKSkKLS0gCjIuMzIuMAoK --=-cpwVlH/ublshTibp1an0-- ------------=_1639754702-4581-3-- From unknown Sun Jun 22 04:31:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Pradana Adrinusa AUMARS Subject: bug#49094: closed (Re: [bug#50369] [PATCH] gnu: Add video-contact-sheet) Message-ID: References: <3627c385f0509614621b154cd26dc9ed4f503a51.camel@courrier.dev> X-Gnu-PR-Message: they-closed 49094 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 49094@debbugs.gnu.org Date: Fri, 17 Dec 2021 15:25:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1639754702-4581-5" This is a multi-part message in MIME format... ------------=_1639754702-4581-5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #50369: [PATCH] gnu: Add video-contact-sheet which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 49094@debbugs.gnu.org. --=20 50369: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50369 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1639754702-4581-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 50369-done) by debbugs.gnu.org; 17 Dec 2021 15:24:20 +0000 Received: from localhost ([127.0.0.1]:40431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myF5n-0001AX-Db for submit@debbugs.gnu.org; Fri, 17 Dec 2021 10:24:20 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:57063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myF5i-0001A4-Bb for 50369-done@debbugs.gnu.org; Fri, 17 Dec 2021 10:24:14 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 42C0B5C01B2; Fri, 17 Dec 2021 10:24:09 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 17 Dec 2021 10:24:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=7VkxFFyiCDwMDpLuCFmUHtnt VCASXaJWvujC4LvJQ/0=; b=oU+CpD2nfSgdT83OyGBpNr1QYdba1b5uutHchvkR xNo+huYZI42gEQ0LbO0yqT9mquHA/sdZ9IZROt6dPjCkTVgf4qwPu4baXuYb4obo g/xqx4FMcZTvcP2tLZ6UNDlTpczQlASPCB0HTqa/bviuBTHYGyyqha/l4QGIeHu6 NIA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=7VkxFF yiCDwMDpLuCFmUHtntVCASXaJWvujC4LvJQ/0=; b=KLXLVUGjEt+XnS3VIqrm40 KYXuG2LXEzFZyWPGimYIBM0VAONBDAoNDT2hiE+mfhXJ8vTln4WoadI5w9VRKh7o EMg65AWrreygHUBW+zqQ0MDj8UCLeyHLZU/6eGPX/ZA1+Hh8VLF2LLy7O5+2jwio 7brDVDTqRG106YRfddLc2bt70b5e4QMnVZ6c9qiC+SkSYKuZWGduO2HxtV5/rFPN a90Ge1E4smtDpEb63wPlxcMcv6VcWOQaMMoVUFI1hUCoQ2abAapjpQwT2xR9QfmS epoq8By0mV/i42jLcpQZiBFdavBLu6FpHPR2gn560LO1FeJ1FKCQV4PnWlCUM37A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrleeigdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcuhfgr mhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvg hrnhepjeehueehheeitedtgfeukefffffhfeehgeelgfehffejhfelhfdvlefhtdelhefg necuffhomhgrihhnpehouhhtlhihvghrrdhnvghtpdhgnhhurdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgr rhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Dec 2021 10:24:08 -0500 (EST) Date: Fri, 17 Dec 2021 10:24:07 -0500 From: Leo Famulari To: Pradana Adrinusa AUMARS via Guix-patches via Subject: Re: [bug#50369] [PATCH] gnu: Add video-contact-sheet Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50369-done Cc: 50369-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sat, Sep 04, 2021 at 11:52:57AM +0200, Pradana Adrinusa AUMARS via Guix-patches via wrote: > From 9851db2b3036ee3d5e8ef85ed8bae2f6398702e0 Mon Sep 17 00:00:00 2001 > From: Pradana AUMARS > Date: Fri, 18 Jun 2021 16:13:07 +0200 > Subject: [PATCH] gnu: Add video-contact-sheet Thank you for packaging this very useful program! And sorry for the long delay in reviewing your contribution. I've pushed your patch as commit 61ae42e773526373f0dc3ca99c7251d20434d3d1 with the following changes: > + (uri (string-append "http://p.outlyer.net/files/vcs/-" version > + ".tar.gz")) This URL was incorrect. This can happen when you first download the source code with `guix download`. Since you will already have the tarball in /gnu/store, Guix will not try to download it again based on the package definition, and you won't notice that the URL is wrong. For that reason, when making new packages I suggest downloading the tarball in another way and then using `guix hash` to get the hash, or using `guix build --source video-contact-sheet --check`. > + (arguments > + `(#:phases (modify-phases %standard-phases > + (delete 'configure) > + (delete 'build) > + (delete 'check)) > + #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))))) > + (inputs > + `(("bash" ,bash) > + ("ffmpeg" ,ffmpeg) > + ("imagemagick" ,imagemagick))) I added a "wrap-program" phase to ensure that the built package will retain its dependencies on ffmpeg and imagemagick. Without this, it did not keep any "references" to those packages, and so they would not be made available when installing video-contact-sheet. You can check these references like this: $ guix gc --references $(guix build video-contact-sheet) /gnu/store/czv41lxhgrmmvbabrqhshxjaj1z3qgvq-ffmpeg-4.4.1 /gnu/store/frs0cv3f6r8frqan91wlm05hm6iwlyn1-bash-minimal-5.1.8 /gnu/store/ph6ikrlflwp240cw9r0sp9zwri9x44sz-imagemagick-6.9.12-4 /gnu/store/rjqgadyzrxdhpr00kwybwyyi7pw7sc1l-video-contact-sheet-1.13.4 I also changed the bash dependency to bash-minimal, which is more suitable for non-interactive use. I partially updated the package to the new style described here: https://guix.gnu.org/en/blog/2021/the-big-change/ > + (synopsis "Bash script to create contact sheets (preview images) from videos") > + (description "This is a bash script meant to create video contact sheets (previews) of videos. > Any video supported by mplayer and ffmpeg can be used. A note of warning: Unlike most similar tools it, > by default, makes screenshots the same size as the video, see the manual for details on how to change > this.") In a follow-up commit, I tweaked the synopsis and description a little bit. I meant to do this in the same commit but forgot to include these changes. > + (license license:lgpl3))) Finally, I changed the license to lgpl2.1+, since that is what is specified in the `vcs` shell script. Thanks again for this patch! ------------=_1639754702-4581-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Jun 2021 15:17:40 +0000 Received: from localhost ([127.0.0.1]:57612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luGFX-0001TH-E1 for submit@debbugs.gnu.org; Fri, 18 Jun 2021 11:17:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:36830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luFSi-0000Ce-DR for submit@debbugs.gnu.org; Fri, 18 Jun 2021 10:27:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luFSi-00087o-6m for guix-patches@gnu.org; Fri, 18 Jun 2021 10:27:12 -0400 Received: from mail.42l.fr ([185.216.27.142]:36776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luFSf-0003iQ-KZ for guix-patches@gnu.org; Fri, 18 Jun 2021 10:27:11 -0400 Message-ID: <3627c385f0509614621b154cd26dc9ed4f503a51.camel@courrier.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=courrier.dev; s=mail; t=1624026422; bh=njBSI2SAgAtcy8VI+B6TOLzyVdEJKeGe+04lEEwrHdY=; h=Subject:From:To; b=DsBYjn7Hjn1IRotlOHyljh0OuVLJKr03YWdxnTHZYfAP3QuTLqxWqoEyXYH8slcPo 0kBVStn1jHfzqXfQvZ4OboJpSYZet+FO2e6GqtWN31Zwcpiyljpvx5dn77r5pN4Fqm FrOyTaImChorpdsTdcMzeeGZ7rz5XuEleM7OnuooJaCraVzNnEPW0hN5gAT0X72wZD yxrBE+OgD2POte5/Uh2BcToY+nA8QYiVlBU+MIJbNHdjjS9+iS7w9W+JZAJ3Uaf+DF zwJW0viUdMyQXJKsy54Eu74lQ/EGtctUMLeGPhgIRoSSDaKEFNj80pBz7bZmKW9hxi QZBxl1VnpgNXQ== Subject: [PATCH] gnu: Add video-contact-sheet From: Pradana Adrinusa AUMARS To: guix-patches@gnu.org Date: Fri, 18 Jun 2021 16:27:02 +0200 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.216.27.142; envelope-from=SRS0=nKz1=LM=courrier.dev=paumars@42l.fr; helo=mail.42l.fr X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 18 Jun 2021 11:17:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) >From 9851db2b3036ee3d5e8ef85ed8bae2f6398702e0 Mon Sep 17 00:00:00 2001 From: Pradana AUMARS Date: Fri, 18 Jun 2021 16:13:07 +0200 Subject: [PATCH] gnu: Add video-contact-sheet --- gnu/packages/video.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index e3f4f59b4c..ba3035cf45 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -51,6 +51,7 @@ ;;; Copyright © 2021 Andrew Tropin ;;; Copyright © 2021 David Wilson ;;; Copyright © 2021 Maxim Cournoyer +;;; Copyright © 2021 Pradana Aumars ;;; ;;; This file is part of GNU Guix. ;;; @@ -96,6 +97,7 @@ #:use-module (gnu packages avahi) #:use-module (gnu packages backup) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages cdrom) @@ -5180,3 +5182,32 @@ information) NALUs (Network Abstraction Layer Unit) for inclusion into an h.264 elementary stream are provided.") (home-page "https://github.com/szatmary/libcaption") (license license:expat))) + +(define-public video-contact-sheet + (package + (name "video-contact-sheet") + (version "1.13.4") + (source (origin + (method url-fetch) + (uri (string-append "http://p.outlyer.net/vcs/files/vcs-" version + ".tar.gz")) + (sha256 + (base32 + "0jsl93r0rnybjcipqbww5hwsr9ln6kz1qnf32qfxdvhfw52n27fw")) )) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (delete 'check)) + #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))))) + (inputs + `(("bash" ,bash) + ("ffmpeg" ,ffmpeg) + ("imagemagick" ,imagemagick))) + (synopsis "Bash script to create contact sheets (preview images) from videos") + (description "This is a bash script meant to create video contact sheets (previews) of videos. Any video supported by mplayer and ffmpeg can be used. A note of warning: Unlike most similar tools it, by default, makes screenshots the same size as the video, see below for details on how to change this. + +Take a look at the documentation and/or use the –help and –fullhelp options to learn how to use it.") + (home-page "http://p.outlyer.net/vcs/") + (license license:lgpl3))) -- 2.32.0 ------------=_1639754702-4581-5--