From patchwork Thu Oct 19 07:30:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 55024 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 4DEF727BBE9; Thu, 19 Oct 2023 08:33:56 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable 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 1131F27BBE2 for ; Thu, 19 Oct 2023 08:33:54 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtNXH-0002hN-9G; Thu, 19 Oct 2023 03:33:39 -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 1qtNXE-0002aK-AB for guix-patches@gnu.org; Thu, 19 Oct 2023 03:33:37 -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 1qtNXD-0001sd-Hk for guix-patches@gnu.org; Thu, 19 Oct 2023 03:33:35 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtNXd-0006yr-Tw for guix-patches@gnu.org; Thu, 19 Oct 2023 03:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66629] [PATCH] gnu: Add popf. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 Oct 2023 07:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66629 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66629@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169770079726758 (code B ref -1); Thu, 19 Oct 2023 07:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2023 07:33:17 +0000 Received: from localhost ([127.0.0.1]:35741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtNWv-0006xU-EP for submit@debbugs.gnu.org; Thu, 19 Oct 2023 03:33:17 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtNWt-0006x7-1D for submit@debbugs.gnu.org; Thu, 19 Oct 2023 03:33:16 -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 1qtNWK-0001a7-KD for guix-patches@gnu.org; Thu, 19 Oct 2023 03:32:40 -0400 Received: from mail-ej1-x642.google.com ([2a00:1450:4864:20::642]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtNWI-0000tO-GK for guix-patches@gnu.org; Thu, 19 Oct 2023 03:32:40 -0400 Received: by mail-ej1-x642.google.com with SMTP id a640c23a62f3a-99c3c8adb27so1200355466b.1 for ; Thu, 19 Oct 2023 00:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697700757; x=1698305557; darn=gnu.org; h=mime-version:to:subject:date:from:message-id:from:to:cc:subject :date:message-id:reply-to; bh=hbsfCXykXAVK04FoaIYbvpad1Mlv1jQozm/9nGbXbLw=; b=ZrbTmxfDx5a6TkBONq/Ps2VCI0gK5rnE1PBvPth4FrIQZpAKr9VdClPLPWXmGf5FSx rsh1v3EKEqE/KzgutfFFZ6MavWnb1XjW26QIAhFgLHknz73odMgd48C4ZsVo01vERQxx Cvstjid1WrYlFrngSYVZTh+9dI3uxu8A9932Ki5MHD20o3cDDfItoPBcKZ3ds6+S6VYB 3xeOOMmfNwH+soMWeKto0Q5OgGQLoNewCaEJi8v2D8Kf5wu43Tjx9D24c81ubhMP5S50 aV1SALTOE1/reZ8IlOwNRanyQBg0TTEJRlc4sgyzG6FoPi2nnhXZz+qColmg5OboW/f3 0N8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697700757; x=1698305557; h=mime-version:to:subject:date:from:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hbsfCXykXAVK04FoaIYbvpad1Mlv1jQozm/9nGbXbLw=; b=GpzwzkfOvr5pUkdGfAz/S355u8OiMggTjGgZ6iYYEEs7NgHIefsmjfUHd6lmE+/Oj8 wky7xOWFOofVeUpCbmnDaT7P+cCz1BgdmOYuTk9Ff5CgUs94u4TKViNTRc2+vFMprmiG Lzmxqco3P5uJfw8BtCievBI9dRvsJaTS9Ido5UNAm4PjTLwBZg1TfAOJv5OpjDS3pSM/ 08PPN79D73+rRWtO9vCEUoX53FoqQN8iSUCPPfN3Bsieqg+xfkK6xsVrCm7b9uGZ9/ta WtC60HB+juejTvQnoygN48Bct0V78k+G5EDSL3lTyub6d6jvc28neYmwhhIjnT77+0rW RTaw== X-Gm-Message-State: AOJu0Yx9uKaKXcxfL0WCeg1ort5RfaxhefUkJTPv0iOVmGauDZ3hnGYS j5WAhwKBRiW2B8gAT72uUUSpo1upyO3JVw== X-Google-Smtp-Source: AGHT+IHM6ok+HkAGD171NAJw3v3VbuhStSeVDyZv5IkwO4CFBlBuvExuXW2UQZLknAbibzKMk8AGfQ== X-Received: by 2002:a17:907:a4b:b0:9bd:cab6:a34d with SMTP id be11-20020a1709070a4b00b009bdcab6a34dmr985281ejc.31.1697700756637; Thu, 19 Oct 2023 00:32:36 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id j14-20020a170906104e00b009c5c5c2c5a4sm2966192ejj.219.2023.10.19.00.32.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 00:32:35 -0700 (PDT) Message-ID: <18e8d05647e142478274eb122ad017bb46475e97.1697700674.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler Date: Thu, 19 Oct 2023 09:30:19 +0200 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::642; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x642.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 * gnu/packages/maths.scm (popf): New variable. --- gnu/packages/maths.scm | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) base-commit: 8d6b3dd0b863ccada887da8cd347727dd04cb456 prerequisite-patch-id: 2c53125d93acdbe9e68218b2015414f5435e7c92 diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 683acd96e1..c1e6b06a26 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -3179,6 +3179,54 @@ (define-public fast-downward supports the propositional fragment of PDDL2.2.") (license license:gpl3+))) +(define popf + (package + (name "popf") + (version "0.0.15") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fmrico/popf") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1i1am3h6japn8fgapi5s5mnyrm31a05jkjhzgk48cd2n42c5060v")))) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f ; no tests + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-cmake + (lambda* (#:key inputs #:allow-other-keys) + (substitute* (find-files "." "CMakeLists\\.txt") + (("/usr/local/opt/flex/include") + (dirname (search-input-file inputs "include/FlexLexer.h")))) + (substitute* "CMakeLists.txt" + (("find_package\\(ament_cmake REQUIRED\\)") "") + (("ament_.*") "") + (("(RUNTIME DESTINATION) .*" all dst) + (string-append dst " libexec/${PROJECT_NAME}"))))) + (add-after 'install 'symlink + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out "/bin")) + (for-each (lambda (link) + (symlink + (string-append out "/libexec/popf/" (cdr link)) + (string-append out "/bin/" (car link)))) + '(("popf" . "popf") ("VAL" . "validate"))))))))) + (inputs (list cbc flex)) + (native-inputs (list flex bison perl)) + (home-page "https://github.com/fmrico/popf") + (synopsis "Forward-chaining temporal planner") + (description "This package contains an implementation of the @acronym{POPF, +Partial Order Planning Forwards} planner described in @cite{Forward-Chaining +Partial Order Planning}, that has been updated to compile with newer C++ +compilers.") + (license license:gpl2+))) + (define-public gmsh (package (name "gmsh")