From patchwork Sat Oct 24 23:54:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 24797 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 C321C27BBF1; Sat, 24 Oct 2020 21:56:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2CD3C27BBF0 for ; Sat, 24 Oct 2020 21:56:13 +0100 (BST) Received: from localhost ([::1]:34250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWQaB-0005NU-Pj for patchwork@mira.cbaines.net; Sat, 24 Oct 2020 16:56:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWQa2-0005NI-7b for guix-patches@gnu.org; Sat, 24 Oct 2020 16:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWQa1-0006so-UZ for guix-patches@gnu.org; Sat, 24 Oct 2020 16:56:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWQa1-0006LZ-T4 for guix-patches@gnu.org; Sat, 24 Oct 2020 16:56:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44181] [PATCH v2] gnu: Add atomicparsley. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Oct 2020 20:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44181 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44181@debbugs.gnu.org Cc: Alexandru-Sergiu Marton , Christopher Baines Received: via spool by 44181-submit@debbugs.gnu.org id=B44181.160357290124312 (code B ref 44181); Sat, 24 Oct 2020 20:56:01 +0000 Received: (at 44181) by debbugs.gnu.org; 24 Oct 2020 20:55:01 +0000 Received: from localhost ([127.0.0.1]:35283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWQZ3-0006K0-9x for submit@debbugs.gnu.org; Sat, 24 Oct 2020 16:55:01 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWQYz-0006Je-O8 for 44181@debbugs.gnu.org; Sat, 24 Oct 2020 16:54:59 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2C1C9160060 for <44181@debbugs.gnu.org>; Sat, 24 Oct 2020 22:54:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1603572891; bh=wO16reGUMWryCx9TTZwIyWTTcHpRXA4B/MgS5cciF9w=; h=From:To:Cc:Subject:Date:From; b=fTh6TduhkXF4kED9SJn7d9TBN3xxcJ0dJEERA+z6OCqbM35xzaYNyvlXbkWGXMOYG A+8g8oqqfXMtvOcqK2UDKizJ1jqwalRmA8geIrySgzcuRciNZd0PcQx4vjXBr39wiK 8+JKWDouEHa3zQlgORHAp294E9BW3CFiVSfwu3e7iPkSmGqboB1II7zTO9E+xw331n uZM1dJIEt9AxaD4VS+l9D8UZI0bXy50bx+5jp+F1XrA4edm7bac3XWHJq9oNT3Vk9Q OVER9ErC7apokIQlSBWeEEKgYg7c7nDd5f/2is3YYEEKv8+k959bbW+GM59lJ1tIk9 JGVUkSR70SHKw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CJYJ566yhz6tmW; Sat, 24 Oct 2020 22:54:45 +0200 (CEST) From: Alexandru-Sergiu Marton Date: Sun, 25 Oct 2020 02:54:47 +0300 Message-Id: <20201024235447.20487-1-brown121407@posteo.ro> X-Mailer: git-send-email 2.28.0 In-Reply-To: <87h7qjbc44.fsf@cbaines.net> References: <87h7qjbc44.fsf@cbaines.net> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/video.scm (atomicparsley): New variable. --- This patch doesn't place atomicparsley at the end of video.scm anymore, to prevent possible conflicts, explains why the tests are disabled and why the CMake required version is modified, and corrects the license field. gnu/packages/video.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index bdccb6fdb7..5908bc764b 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -44,6 +44,7 @@ ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Brett Gilio +;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; ;;; This file is part of GNU Guix. ;;; @@ -3722,6 +3723,47 @@ information and other metadata about audio or video files. It supports the many codecs and formats supported by libmediainfo.") (license license:bsd-2))) +(define-public atomicparsley + (package + (name "atomicparsley") + (version "20200701.154658.b0d6223") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wez/atomicparsley") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kym2l5y34nmbrrlkfmxsf1cwrvch64kb34jp0hpa0b89idbhwqh")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ;; no tests included + #:phases + (modify-phases %standard-phases + (add-before 'configure 'set-cmake-version + (lambda* _ + (substitute* "CMakeLists.txt" + ;; At the time of writing, Guix has CMake at 3.16, but + ;; AtomicParsley uses 3.17. This brings the required CMake + ;; version down to what Guix can afford. + (("VERSION 3.17") "VERSION 3.16")) + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "AtomicParsley" bin)) + #t))))) + (inputs + `(("zlib" ,zlib))) + (synopsis "Metadata editor for MPEG-4 files") + (description "AtomicParsley is a lightweight command line program for +reading, parsing and setting metadata into MPEG-4 files, in particular, +iTunes-style metadata.") + (home-page "https://github.com/wez/atomicparsley") + (license license:gpl2+))) + (define-public livemedia-utils (package (name "livemedia-utils")