From patchwork Sun Jan 15 01:45:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruno Victal X-Patchwork-Id: 46124 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 6974227BBED; Sun, 15 Jan 2023 01:46:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 7C56027BBEB for ; Sun, 15 Jan 2023 01:46:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGs61-00035U-UN; Sat, 14 Jan 2023 20:46:05 -0500 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 1pGs5z-00033x-0v for guix-patches@gnu.org; Sat, 14 Jan 2023 20:46:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGs5y-0005ih-PY for guix-patches@gnu.org; Sat, 14 Jan 2023 20:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGs5y-0008DR-I9 for guix-patches@gnu.org; Sat, 14 Jan 2023 20:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60825] [PATCH 1/2] gnu: libavif: Update to 0.11.1. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Jan 2023 01:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60825 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60825@debbugs.gnu.org Cc: Bruno Victal X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167374715931553 (code B ref -1); Sun, 15 Jan 2023 01:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jan 2023 01:45:59 +0000 Received: from localhost ([127.0.0.1]:55849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGs5u-0008Cq-Sg for submit@debbugs.gnu.org; Sat, 14 Jan 2023 20:45:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:53514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGs5s-0008Cj-Rm for submit@debbugs.gnu.org; Sat, 14 Jan 2023 20:45:58 -0500 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 1pGs5s-000334-L7 for guix-patches@gnu.org; Sat, 14 Jan 2023 20:45:56 -0500 Received: from smtpmciv1.myservices.hosting ([185.26.107.237]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGs5q-0005gE-FU for guix-patches@gnu.org; Sat, 14 Jan 2023 20:45:56 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv1.myservices.hosting (Postfix) with ESMTP id EAED020A1C for ; Sun, 15 Jan 2023 02:45:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 9CF5580096; Sun, 15 Jan 2023 02:45:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id iqWvZSfV8bEB; Sun, 15 Jan 2023 02:45:50 +0100 (CET) Received: from guix-nuc.home.arpa (bl9-118-236.dsl.telepac.pt [85.242.118.236]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 5275380093; Sun, 15 Jan 2023 02:45:50 +0100 (CET) From: Bruno Victal Date: Sun, 15 Jan 2023 01:45:43 +0000 Message-Id: <23872b75712660593afaa19c0498c7782e0a2b79.1673747078.git.mirai@makinata.eu> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=185.26.107.237; envelope-from=mirai@makinata.eu; helo=smtpmciv1.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 libavif commit 97306bf64266cf9571dd141f3d04492534a9deea removes JSON-based tests along with cJSON. Aditionally, googletest is now required to build libavif. The test target has since changed and can be called directly from cmake, no longer being necessary to replace 'check target. * gnu/packages/image.scm (libavif): Update to 0.11.1. [arguments]: Adjust configure-flags, remove 'check phase replacement. [native-inputs]: Add googletest. [license]: Remove expat. --- gnu/packages/image.scm | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) base-commit: c94708a5b4820c9253ef5774a1022fc106e7ae9a diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 195d127b31..0618c13460 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -2157,7 +2157,7 @@ (define-public icoutils (define-public libavif (package (name "libavif") - (version "0.9.2") + (version "0.11.1") (source (origin (method git-fetch) (uri (git-reference @@ -2166,7 +2166,7 @@ (define-public libavif (file-name (git-file-name name version)) (sha256 (base32 - "1yxmgjlxm1srm98zyj79bj8r8vmg67daqnq0ggcvxknq54plkznk")))) + "02zmb62g0yx6rfz4w1isyzfrckv5i7dzyz26rp2mspbx9w6v8j4r")))) (build-system cmake-build-system) (arguments (list @@ -2175,13 +2175,10 @@ (define-public libavif #$@(if (this-package-input "rav1e") '("-DAVIF_CODEC_RAV1E=ON") '()) - "-DAVIF_BUILD_TESTS=ON" "-DAVIF_BUILD_APPS=ON") + "-DAVIF_BUILD_TESTS=ON" "-DAVIF_ENABLE_GTEST=ON" + "-DAVIF_BUILD_APPS=ON") #:phases #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "./aviftest" "../source/tests/data")))) (add-after 'install 'install-readme (lambda _ (let ((doc (string-append #$output "/share/doc/libavif-" #$version))) @@ -2200,6 +2197,7 @@ (define-public libavif (chmod new #o555)) (list avifenc avifdec) (list avifenc* avifdec*)))))))) + (native-inputs (list googletest)) (inputs (append (if (member (%current-system) (package-transitive-supported-systems rav1e)) @@ -2212,8 +2210,7 @@ (define-public libavif File Format}. It can encode and decode all YUV formats and bit depths supported by AOM, including with alpha.") (home-page "https://github.com/AOMediaCodec/libavif") - (license (list license:bsd-2 ; libavif itself - license:expat)))) ; cJSON in the test suite + (license (list license:bsd-2)))) (define-public libheif (package