From patchwork Mon Mar 22 04:29:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 28014 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 4A4C827BC59; Mon, 22 Mar 2021 04:33:10 +0000 (GMT) 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,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham 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 AACE727BC58 for ; Mon, 22 Mar 2021 04:33:09 +0000 (GMT) Received: from localhost ([::1]:51940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOCFY-0007JA-TS for patchwork@mira.cbaines.net; Mon, 22 Mar 2021 00:33:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOCFS-0007Iu-N0 for guix-patches@gnu.org; Mon, 22 Mar 2021 00:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44305) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOCFS-0007Y6-Fv for guix-patches@gnu.org; Mon, 22 Mar 2021 00:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOCFS-0006D8-DX for guix-patches@gnu.org; Mon, 22 Mar 2021 00:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47311] [PATCH] gnu: Add libheif. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Mar 2021 04:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47311 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47311@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161638754123823 (code B ref -1); Mon, 22 Mar 2021 04:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Mar 2021 04:32:21 +0000 Received: from localhost ([127.0.0.1]:55851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOCEm-0006CA-0o for submit@debbugs.gnu.org; Mon, 22 Mar 2021 00:32:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:53518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOCEj-0006C1-Ro for submit@debbugs.gnu.org; Mon, 22 Mar 2021 00:32:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOCEj-0007En-LE for guix-patches@gnu.org; Mon, 22 Mar 2021 00:32:17 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOCEh-000777-4y for guix-patches@gnu.org; Mon, 22 Mar 2021 00:32:17 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id AD4622400FC for ; Mon, 22 Mar 2021 05:32:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1616387532; bh=A6W8RgXqrJ6Rf9CBGdsdukPPTYACasig/NTFQ/hm8O4=; h=From:To:Cc:Subject:Date:From; b=Q1pys6G+sEbXvJY66KGulJcDckgp61WbHHFNMWGsWHT8r/Lug+l4ZvDR1d+oQBLHf v5oG/Mt4WqgMqzEx4e3Mi+8Ve1C+pz+IQ4KsMwJ/V4CpuB/w88vBr+KNJcrMRA2Yzj KniU5V9RUy6QplMrATysJW7LkTrs2Fea8Mg4fAQkMwiQJN4jNTpznDgVkcWcaltdjW ///Mfw1BSqNfQeBUMo9UN7KO3LeSmg1/0jtiFPmvx8eJ2cotzh77LpOZCi7XUEOOp+ f9IeYl2mKSBxrBXKDwT01Se8ZdwPOW92q4od/n4t3jaG4RZOiVD985fwf4yuo4A5GO RHjvNisTcy27A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4F3hRZ2rm5z9rxT; Mon, 22 Mar 2021 05:32:10 +0100 (CET) From: Vinicius Monego Date: Mon, 22 Mar 2021 01:29:40 -0300 Message-Id: <20210322042940.439266-1-monego@posteo.net> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/image.scm (libheif): New variable. --- gnu/packages/image.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index de6872b9b2..7a751c1eba 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -2164,6 +2164,43 @@ by AOM, including with alpha.") (license (list license:bsd-2 ; libavif itself license:expat)))) ; cJSON in the test suite +(define-public libheif + (package + (name "libheif") + (version "1.11.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/strukturag/libheif") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "036n63vlk4sk7y25q2kzyvvw4r5vv323ysbmbrcaprg9hdyjqgf5")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ;no test target although there is a tests folder + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("dav1d" ,dav1d) + ("gdk-pixbuf" ,gdk-pixbuf) ;optional + ("libaom" ,libaom) + ("libde265" ,libde265) + ("libjpeg" ,libjpeg-turbo) + ("libpng" ,libpng) + ("rav1e" ,rav1e) + ("x265" ,x265))) + (home-page "https://github.com/strukturag/libheif") + (synopsis "HEIF and AVIF file format decoder and encoder") + (description + "@code{libheif} is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File +Format) file format decoder and encoder.") + (license license:gpl3+))) + (define-public mtpaint (package (name "mtpaint")