From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wNpjLjZeYGC32QAAgWs5BA (envelope-from ) for ; Sun, 28 Mar 2021 12:45:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cF0iKTZeYGDQUwAAbx9fmQ (envelope-from ) for ; Sun, 28 Mar 2021 10:45:10 +0000 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 5EA0DBC55 for ; Sun, 28 Mar 2021 12:45:10 +0200 (CEST) Received: from localhost ([::1]:39742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQSur-00009Z-Ie for larch@yhetil.org; Sun, 28 Mar 2021 06:45:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQSuk-00009L-2x for guix-patches@gnu.org; Sun, 28 Mar 2021 06:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQSuj-0002IE-Qd for guix-patches@gnu.org; Sun, 28 Mar 2021 06:45:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQSuj-0004vj-Oj for guix-patches@gnu.org; Sun, 28 Mar 2021 06:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47447] [PATCH] gnu: Add entt. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Mar 2021 10:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47447 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Alexandru-Sergiu Marton , 47447@debbugs.gnu.org Received: via spool by 47447-submit@debbugs.gnu.org id=B47447.161692828818916 (code B ref 47447); Sun, 28 Mar 2021 10:45:01 +0000 Received: (at 47447) by debbugs.gnu.org; 28 Mar 2021 10:44:48 +0000 Received: from localhost ([127.0.0.1]:45469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQSuS-0004uy-Fm for submit@debbugs.gnu.org; Sun, 28 Mar 2021 06:44:48 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:22507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQSuP-0004uo-Hl for 47447@debbugs.gnu.org; Sun, 28 Mar 2021 06:44:43 -0400 Received: from nijino.local (194-96-13-79.adsl.highway.telekom.at [194.96.13.79]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4F7XQX744Jz1LLyL; Sun, 28 Mar 2021 12:44:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4F7XQX744Jz1LLyL DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1616928277; bh=el645LBMLb4/wYJfhinwNuC8xL8G9o+d279fLwS+zqo=; h=Subject:From:To:Date:In-Reply-To:References:From; b=qWUuLzHDp4B36YRRsEAefS9uhTQX1eASROQ2u2ChKzig/ga/WaZsNO/PLoKZ5fTGG dED6UBsGQLHuL4+rr8C67BEI0X5xtaJ7pUDEVFrWugCqAfa8arc5SFQLVcA77uopps aX48jmPhx7uS2u1dIM4TK2yXKgz2RmLNUhPqsfoE= Message-ID: <37142ad6f109e441c543540408997a2353812565.camel@student.tugraz.at> From: Leo Prikler Date: Sun, 28 Mar 2021 12:44:35 +0200 In-Reply-To: <20210328100322.31991-1-brown121407@posteo.ro> References: <20210328100322.31991-1-brown121407@posteo.ro> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616928310; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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:dkim-signature; bh=el645LBMLb4/wYJfhinwNuC8xL8G9o+d279fLwS+zqo=; b=ea+ybbYLCz4gZYEw1HwjxqXuvsAF603ju7I8OfPBc9IY2+6lglgnyPMhyA/Ak+LzMLZgiZ pYcrNjLWRs/GcixjrH/mko/7g1J03EiASQdufxiHm1I9VjI4UEx++kbotXc+dWjMBNi377 RI9XVkKWS/UVfTXxgUidtZxnxB/OpIT+MnOY8CyVDhPLN8HOLKgozvV5SAKgotxaOoi9Df tNO81CE4dKBGgyKezv1ZE1EjXHY9lHiy/5h3wbg3hFTODuIl7cf0YUN0T9pAUEIKJb7R3Y hgBGfKeVPo+vKluFatGIXvwiNynxsgcmyPydj3t3N8jY5sm8Z//T1rFlI4foqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616928310; a=rsa-sha256; cv=none; b=eFeodzdYLkwZu9BVDkdsR0EOmQOUooTDgpL4GlkE/q+al8JTZyN7q/kURcA6qWg8m9sj2K HkPR8wKKYY1HhiuD4xNws2ET5IscvRhAGLrpxeMakj6YS9V00yX9rJGGGD6Ry6G1ovu/Mb slFbVsAGgKtVNOJguI9WUEn7SkbLxhm1OnfGd0pq19+k74xv+sv0HRhKUup9QVZvJf5oc8 Xb4c0fZkD9ktJdWgwJkfx+qFH2bGQGuESnt/n0kAhCYdfk0k9zr7pjGpHKZAhAoSeTxWOw AFioVCFEcbQrakj8yn/VTjX22ErN26mZSlUqATgQi57jGQxqCPPTzzGnaUj/lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=qWUuLzHD; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=qWUuLzHD; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5EA0DBC55 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: N/cbiGo9hiTu Am Sonntag, den 28.03.2021, 13:03 +0300 schrieb Alexandru-Sergiu Marton: > * gnu/packages/cpp.scm (entt): New variable. > (entt-fixed-tests): New variable. > --- > gnu/packages/cpp.scm | 51 > +++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 50 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm > index 2a00d3838a..449b4c1c06 100644 > --- a/gnu/packages/cpp.scm > +++ b/gnu/packages/cpp.scm > @@ -18,7 +18,7 @@ > ;;; Copyright © 2020 Brett Gilio > ;;; Copyright © 2020 Milkey Mouse > ;;; Copyright © 2021 Raghav Gururajan > - > +;;; Copyright © 2021 Alexandru-Sergiu Marton > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -57,6 +57,7 @@ > #:use-module (gnu packages curl) > #:use-module (gnu packages documentation) > #:use-module (gnu packages gcc) > + #:use-module (gnu packages graphviz) > #:use-module (gnu packages libevent) > #:use-module (gnu packages libunwind) > #:use-module (gnu packages linux) > @@ -1211,3 +1212,51 @@ of reading and writing XML.") > ;; incompatible with the GPL v2. Refer to the file named FLOSSE > for the > ;; details. > (license license:gpl2+))) > + > +;; TODO: Make public and remove the fix below when the next release > comes and > +;; fixes the failing tests. > +(define entt > + (package > + (name "entt") > + (version "3.6.0") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/skypjack/entt") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "17w0gx6xah8j2d1kc6ly7a8jvkp4jspmn505w724hynlvlx1192 > x")))) > + (build-system cmake-build-system) > + (arguments > + `(#:configure-flags (list "-DENTT_BUILD_TESTING=ON" > + "-DENTT_FIND_GTEST_PACKAGE=ON" > + "-DENTT_BUILD_DOCS=ON"))) > + (native-inputs > + `(("googletest" ,googletest) > + ("doxygen" ,doxygen) ; These two packages are needed for > + ("graphviz" ,graphviz))) ; generating the documentation. > + (synopsis "Fast and reliable entity component system (ECS)") > + (description "EnTT is a header-only, tiny and easy to use > library for game > +programming and much more written in modern C++.") Please cut down on the marketing buzzwords :) > + (home-page "https://github.com/skypjack/entt") > + (license (list license:expat ; for the code > + license:cc-by4.0)))) ; for the docs > + > +(define-public entt-fixed-tests > + ;; This commit fixes two tests that are failing on the 3.6.0 > version. > + (let ((commit "14915368c7d4fa87e944cb55ffae1bb88cc6ef4c") > + (revision "1")) > + (package > + (inherit entt) > + (name "entt") > + (version (git-version "v3.6.0" revision commit)) > + (source (origin > + (inherit (package-source entt)) > + (uri (git-reference > + (url "https://github.com/skypjack/entt") > + (commit commit))) > + (sha256 > + (base32 > + "1amlr4amj94xnmbdz94292vfkxbl92azsr5s41vcqqjmarwkk > hfh"))))))) Would it be possible to cherry-pick this commit and add it to the patches field of entt's origin? Regards, Leo