From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id qGXCJcy/Q2ZVqgAAqHPOHw:P1 (envelope-from ) for ; Tue, 14 May 2024 21:47:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id qGXCJcy/Q2ZVqgAAqHPOHw (envelope-from ) for ; Tue, 14 May 2024 21:47:24 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715716044; a=rsa-sha256; cv=none; b=k6FKNk9V/kOoLSAJJs4Ny+O9s4cbcT+51sv8ELt8DeJwEjCotbw76s4+PSXM8Q+5Y3RLMb dcJRGRreps0sf5m/sQ7TF/TJW85ZkdTHzoyCbrJ6oCz4j7q6i7Src2dCP8HnZXMW7RGJPi T94AyaAiTmnNZd68GsvWoUzlhn1l1lyvvIWD95DGJ3wAU4NGblYdaYEvYYjKCQE3r809Yj fDS3eKHPGRTj5EYKLZjlB9AslU5nTEopn/Kewb8w99EMuTT1wuplP3+kJk4gpEIYved7fs upXKr75gzpyxcvXrC+XhHTw5F0tLYmZP3X76fHzDO11sJsL9igFxScsnSinmuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715716044; h=from:from:sender:sender:reply-to: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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=uXtTo/jYuOg78wjt/fkUaf2l9I78TE10NOWZbxorHx8=; b=SnUuMeBlDXhXTXCKJVJxtrHTFdMlRnXCeE8CDxFgBW6bEEeuBGJJQkwAD71HTX8iUWNumC qNCntc2zNFFj/8DVOt5s+NLIBvHM1Gj5W8nqOWg+uhgWzXKwoMTX8d4uU5cWO1l2g9C3zf 6xx8VoNlXPjrVn1DijPBoeYfalNSttCvYJtMwkzR9kC/3Z3QodxRWrZ21xS8AJRS6DChYM Kop/bfVlLwHjTq835UfcAzRnSxdH4afGe7Luml0zUA/lOMJQdGr0QWGWgGKNnOAhQwuovy SU9k64lG33ML5S1bxJ/fiAK9wlIHCQ1VjDKuMJi0lCww8bWRKpkPxNrqGBoM/A== 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 3E00126D83 for ; Tue, 14 May 2024 21:47:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6y77-0005g1-7D; Tue, 14 May 2024 15:47:05 -0400 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 1s6y73-0005fa-CX for guix-patches@gnu.org; Tue, 14 May 2024 15:47:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6y73-0004lg-3x for guix-patches@gnu.org; Tue, 14 May 2024 15:47:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6y74-0004HK-AF for guix-patches@gnu.org; Tue, 14 May 2024 15:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70319] [PATCH v2 2/2] gnu: Add draco. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 May 2024 19:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70319 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70319@debbugs.gnu.org Cc: Vinicius Monego , ngraves@ngraves.fr Received: via spool by 70319-submit@debbugs.gnu.org id=B70319.171571596716410 (code B ref 70319); Tue, 14 May 2024 19:47:02 +0000 Received: (at 70319) by debbugs.gnu.org; 14 May 2024 19:46:07 +0000 Received: from localhost ([127.0.0.1]:41104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6y68-0004Gc-UC for submit@debbugs.gnu.org; Tue, 14 May 2024 15:46:06 -0400 Received: from 18.mo550.mail-out.ovh.net ([46.105.35.72]:46111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6y63-0004Fn-S5 for 70319@debbugs.gnu.org; Tue, 14 May 2024 15:46:01 -0400 Received: from director9.ghost.mail-out.ovh.net (unknown [10.109.148.116]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4Vf6Kd0Jjvz1RpC for <70319@debbugs.gnu.org>; Tue, 14 May 2024 19:45:57 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-p7ckt (unknown [10.110.168.37]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id B8D9C1FD52; Tue, 14 May 2024 19:45:56 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-6684bf9d7b-p7ckt with ESMTPSA id b6IdLHS/Q2Yk7AEAIsjhUQ (envelope-from ); Tue, 14 May 2024 19:45:56 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Tue, 14 May 2024 21:45:28 +0200 Message-ID: <20240514194545.17491-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240514194545.17491-1-ngraves@ngraves.fr> References: <20240514194545.17491-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 13795651559834903059 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -51 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdegiedgudeflecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepudetheeutdejjeetleefudfhfedvheeltdejfeegfeejieeludffgfevvedvgfdunecuffhomhgrihhnpehgihhthhhusgdrtghomhdpghhithhhuhgsrdhiohenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedtfeduleesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via 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 X-Migadu-Queue-Id: 3E00126D83 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.37 X-Spam-Score: -6.37 X-TUID: oMQToKxKjbVb From: Vinicius Monego * gnu/packages/compression.scm (draco): New variable. Change-Id: Ibba9180ac2ee176aa445684472fa7d34327f8ce5 --- gnu/packages/compression.scm | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 55784a70deb..dd88fce9ca3 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -71,6 +71,7 @@ (define-module (gnu packages compression) #:use-module (guix build-system python) #:use-module (guix build-system trivial) #:use-module (gnu packages) + #:use-module (gnu packages algebra) #:use-module (gnu packages assembly) #:use-module (gnu packages autotools) #:use-module (gnu packages backup) @@ -79,6 +80,7 @@ (define-module (gnu packages compression) #:use-module (gnu packages benchmark) #:use-module (gnu packages boost) #:use-module (gnu packages check) + #:use-module (gnu packages cpp) #:use-module (gnu packages curl) #:use-module (gnu packages documentation) #:use-module (gnu packages file) @@ -86,6 +88,7 @@ (define-module (gnu packages compression) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) + #:use-module (gnu packages graphics) #:use-module (gnu packages gtk) #:use-module (gnu packages java) #:use-module (gnu packages llvm) @@ -861,6 +864,47 @@ (define-public sfarkxtc sfArk file format to the uncompressed sf2 format.") (license license:gpl3+)))) +(define-public draco + (package + (name "draco") + (version "1.5.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/draco") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1v1idvqr9mww9wi36yzb10lq66ls78dlrgnxchjjjv5paw2g0mk3")))) + (build-system cmake-build-system) + (arguments + ;; There is a testdata directory but apparently no actual tests. + ;; src/draco/tools/install_test contains a sanity check, but this + ;; check is useless here. + (list #:tests? #f + #:configure-flags + #~(list "-DBUILD_SHARED_LIBS=true" + (string-append "-DDRACO_EIGEN_PATH=" + #$(this-package-input "eigen")) + (string-append "-DDRACO_FILESYSTEM_PATH=" + #$(this-package-input "gulrak-filesystem")) + (string-append "-DDRACO_TINYGLTF_PATH=" + #$(this-package-input "tinygltf"))) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'delete-static-lib + (lambda _ + (delete-file (string-append #$output + "/lib/libdraco.a"))))))) + (inputs (list eigen gulrak-filesystem tinygltf)) + (home-page "https://google.github.io/draco/") + (synopsis "Compress and decompress 3D geometric meshes and point clouds") + (description "Draco is a library for compressing and decompressing 3D +geometric meshes and point clouds. It is intended to improve the storage and +transmission of 3D graphics.") + (license license:asl2.0))) + (define-public libmspack (package (name "libmspack") -- 2.41.0