From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0CbHGehaw2MT3QAAbAwnHQ (envelope-from ) for ; Sun, 15 Jan 2023 02:46:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uFPbGOhaw2MlYAAAG6o9tA (envelope-from ) for ; Sun, 15 Jan 2023 02:46:16 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1067A36B3 for ; Sun, 15 Jan 2023 02:46:16 +0100 (CET) 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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673747176; a=rsa-sha256; cv=none; b=hTY03zfVFrN2Lkq5sytTDf0eaXoG7PRVHfEm2Rpw5NP/oWwTiVI5a9FMp0nR9Nl1LfBkid Nn+REhAJPJAs9p0HQ4+AlZ+gYIexPhhl51dxsAUHsjEEE6VltmkaX+kGMDF5Hk+JhTzITq HMZfixKKo4v4IO4L6PFe16Wum9cwwl24ljUSJdpESHXEE5A5DGYwasfFNS783zYMmcd710 Xs3lJa69NJnXuNE7lzr9P7DemuZQwRa3AIZhzT3iQMoUmHxxCel3jCxd7DcCNGaO2wGRYo g8a6O8zdsVScT14FLGSgaOr4iBhHdEE9i1vpXWG65MXsGbQ9Pelr/MoHKhOB1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673747176; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=qF4pAcr4kJiz/p/yGRndczC4EzXv0egNICrrJJHiGzk=; b=P4oyuW+CmyU/T1WRhPHcz64hxPI6xIIDplACL/1Y/O4F6gBBrdNpP8tVi4QiiNcLHcobKt oX715gp5sZVyGL4A7Yf/TtEhN4U1sgOaFUlE1KX4hZfIpKxwXaK03GdpN8bGcX5PMqT3OJ zG/5aARobhUR6kCHX2pMPLgSjdjgYUjhfKBizmDZ/AkoMq7HIqZB2pS1BipPLzXNLucLmX Xtni6pQXvBwbJuLACVHrkJLo+Vsyg6aKHBmt1LGvZb60fWoc9lG49v7X9q2vuciNLcvE18 dLGg7NzmvAz3vr3lKQn61rq7S+6tIFyRpyBL4JDF8T27piY4V8YEmwsfEVmUvQ== X-Migadu-Spam-Score: -1.82 X-Spam-Score: -1.82 X-Migadu-Queue-Id: 1067A36B3 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: ztcRcEZlCs16 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(-) 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 base-commit: c94708a5b4820c9253ef5774a1022fc106e7ae9a -- 2.38.1