guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

47/52: gnu: restinio: Update to 0.7.2.


From: guix-commits
Subject: 47/52: gnu: restinio: Update to 0.7.2.
Date: Sat, 30 Mar 2024 20:41:46 -0400 (EDT)

apteryx pushed a commit to branch qt-team
in repository guix.

commit 7b12801792f6b63353a18b42d299867ab1ac12f7
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Mar 30 00:38:48 2024 -0400

    gnu: restinio: Update to 0.7.2.
    
    * gnu/packages/networking.scm (restinio): Update to 0.7.2.
    [arguments]
    <configure-flags>: Set RESTINIO_DEP_CATCH2 to 'find'.
    Replace -DRESTINIO_WITH_SOBJECTIZER=OFF with 
-DRESTINIO_DEP_SOBJECTIZER=find.
    <phases>: Delete use-system-catch2 phase.
    
    Change-Id: I1533f2d08ba778a65ad76904e66163e841328e6f
---
 gnu/packages/networking.scm | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 300cd194a6..02da732271 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3757,7 +3757,7 @@ communication over HTTP.")
 (define-public restinio
   (package
     (name "restinio")
-    (version "0.7.1")
+    (version "0.7.2")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -3766,7 +3766,7 @@ communication over HTTP.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "06p9gcnzgynsgfxxa1lk58pq5755px7sn00x2xh21qjnspwld1sy"))))
+                "03ajv1d034z6sjf2xapy8zq1mq2xkz5dqvn51vz2p26ws5axbzrn"))))
     (build-system cmake-build-system)
     (arguments
      (list
@@ -3776,24 +3776,13 @@ communication over HTTP.")
               "-DRESTINIO_DEP_LLHTTP=system"
               "-DRESTINIO_DEP_FMT=system"
               "-DRESTINIO_DEP_EXPECTED_LITE=system"
-              "-DRESTINIO_DEP_CATCH2=system"
-              ;; No support to use a system provided so_5
-              ;; (see:
-              ;; https://github.com/Stiffstream/restinio/issues/207).
-              "-DRESTINIO_WITH_SOBJECTIZER=OFF")
+              "-DRESTINIO_DEP_CATCH2=find"
+              "-DRESTINIO_DEP_SOBJECTIZER=find")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'change-directory
             (lambda _
-              (chdir "dev")))
-          (add-after 'change-directory 'use-system-catch2
-            ;; It's not currently possible to select a system-provided catch2,
-            ;; so patch the build system (see:
-            ;; https://github.com/Stiffstream/restinio/issues/208).
-            (lambda _
-              (substitute* "CMakeLists.txt"
-                (("add_subdirectory\\(catch2\\)")
-                 "find_package(Catch2 REQUIRED)")))))))
+              (chdir "dev"))))))
     (native-inputs
      (list catch2-3
            expected-lite



reply via email to

[Prev in Thread] Current Thread [Next in Thread]