From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 04 05:53:19 2021 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 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 debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 10:24:19 2021 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 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: 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-Debbugs-Envelope-To: submit 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: -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 07:58:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 15 Jan 2022 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator