unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70224] [PATCH 0/2] Update c-toxcore and toxic.
@ 2024-04-06  0:45 Vinicius Monego
  2024-04-06  0:47 ` [bug#70224] [PATCH 1/2] gnu: c-toxcore: Update to 0.2.19 Vinicius Monego
  2024-04-06  0:47 ` [bug#70224] [PATCH 2/2] gnu: toxic: Update to 0.15.1 Vinicius Monego
  0 siblings, 2 replies; 3+ messages in thread
From: Vinicius Monego @ 2024-04-06  0:45 UTC (permalink / raw)
  To: 70224; +Cc: Vinicius Monego

Vinicius Monego (2):
  gnu: c-toxcore: Update to 0.2.19.
  gnu: toxic: Update to 0.15.1.

 gnu/packages/messaging.scm | 54 +++++++++++++++++++-------------------
 1 file changed, 27 insertions(+), 27 deletions(-)


base-commit: 188d18fc47f0d38edfe06e3e5834fa8587bd300b
-- 
2.39.2





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#70224] [PATCH 1/2] gnu: c-toxcore: Update to 0.2.19.
  2024-04-06  0:45 [bug#70224] [PATCH 0/2] Update c-toxcore and toxic Vinicius Monego
@ 2024-04-06  0:47 ` Vinicius Monego
  2024-04-06  0:47 ` [bug#70224] [PATCH 2/2] gnu: toxic: Update to 0.15.1 Vinicius Monego
  1 sibling, 0 replies; 3+ messages in thread
From: Vinicius Monego @ 2024-04-06  0:47 UTC (permalink / raw)
  To: 70224; +Cc: Vinicius Monego

* gnu/packages/messaging.scm (c-toxcore): Update to 0.2.19.
[source]: Fetch sources recursively.
[arguments]<#:configure-flags>: Use G-Expressions. Pass "-DENABLE_STATIC=false".

Change-Id: I42fc47b45e1afdbb2c60c80bc56e1b839923ec34
---
 gnu/packages/messaging.scm | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 03b7368ae0..0cd02ae348 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -29,7 +29,7 @@
 ;;; Copyright © 2020, 2021 Robert Karszniewicz <avoidr@posteo.de>
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2021, 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2021, 2024 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
 ;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net>
@@ -1666,20 +1666,24 @@ (define-public libtoxcore
 (define-public c-toxcore
   (package
     (name "c-toxcore")
-    (version "0.2.12")
+    (version "0.2.19")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/TokTok/c-toxcore")
-             (commit (string-append "v" version))))
+             (commit (string-append "v" version))
+             ;; XXX: c-toxcore now depends on a package called 'cmp', an
+             ;; implementation of MessagePack in C.  Fetch the submodule
+             ;; for now, maybe package it later.
+             (recursive? #t)))
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0a6sqpm00d2rn0nviqfz4gh9ck1wzci6rxgmqmcyryl5ca19ffvp"))))
+         "0wq6grc5lfjip39gm0ji1cw6b1sdv1zvimg1g40haqzhj51755za"))))
     (arguments
-     `(#:tests? #f)) ; FIXME: Testsuite seems to stay stuck on test 3. Disable
-                     ; for now.
+     (list #:tests? #f ; figure out how to run the tests
+           #:configure-flags #~(list "-DENABLE_STATIC=false")))
     (build-system cmake-build-system)
     (native-inputs
      (list pkg-config))
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#70224] [PATCH 2/2] gnu: toxic: Update to 0.15.1.
  2024-04-06  0:45 [bug#70224] [PATCH 0/2] Update c-toxcore and toxic Vinicius Monego
  2024-04-06  0:47 ` [bug#70224] [PATCH 1/2] gnu: c-toxcore: Update to 0.2.19 Vinicius Monego
@ 2024-04-06  0:47 ` Vinicius Monego
  1 sibling, 0 replies; 3+ messages in thread
From: Vinicius Monego @ 2024-04-06  0:47 UTC (permalink / raw)
  To: 70224; +Cc: Vinicius Monego

* gnu/packages/messaging.scm (toxic): Update to 0.15.1.
[arguments]: Use G-Expressions.
<#:make-flags>: Use gexp variables and cc-for-target.
<#:phases>: Remove trailing #t.

Change-Id: If1d46888e26b16ffcbbca48dc2c88b921e30c433
---
 gnu/packages/messaging.scm | 38 +++++++++++++++++---------------------
 1 file changed, 17 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 0cd02ae348..6278bec2ef 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2234,7 +2234,7 @@ (define-public libircclient
 (define-public toxic
   (package
     (name "toxic")
-    (version "0.8.4")
+    (version "0.15.1")
     (source
      (origin
        (method git-fetch)
@@ -2242,29 +2242,25 @@ (define-public toxic
              (url "https://github.com/JFreegman/toxic")
              (commit (string-append "v" version))))
        (sha256
-        (base32 "0p1cmj1kyp506y5xm04mhlznhf5wcylvgsn6b307ms91vjqs3fg2"))
+        (base32 "1cbgw9my7nd8b215a3db2jc74nibi9kj0yk5q3c9dnh306as6wzs"))
        (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f                      ; no tests
-       #:make-flags
-       (list
-        "CC=gcc"
-        (string-append "PREFIX="
-                       (assoc-ref %outputs "out")))
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure)
-         (add-before 'build 'enable-python-scripting
-           (lambda _
-             ;; XXX: For compatibility with Python 3.8, adjust python3-config
-             ;; invokation to include --embed; see
-             ;; <https://github.com/JFreegman/toxic/issues/533>.
-             (substitute* "cfg/checks/python.mk"
-               (("python3-config --ldflags")
-                "python3-config --ldflags --embed"))
-             (setenv "ENABLE_PYTHON" "1")
-             #t)))))
+     (list #:tests? #f                      ; no tests
+           #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
+                                (string-append "PREFIX=" #$output))
+           #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure)
+               (add-before 'build 'enable-python-scripting
+                 (lambda _
+                   ;; XXX: For compatibility with Python 3.8, adjust
+                   ;; python3-config invocation to include --embed; see
+                   ;; <https://github.com/JFreegman/toxic/issues/533>.
+                   (substitute* "cfg/checks/python.mk"
+                     (("python3-config --ldflags")
+                      "python3-config --ldflags --embed"))
+                   (setenv "ENABLE_PYTHON" "1"))))))
     (inputs
      (list c-toxcore
            curl
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-06  0:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-06  0:45 [bug#70224] [PATCH 0/2] Update c-toxcore and toxic Vinicius Monego
2024-04-06  0:47 ` [bug#70224] [PATCH 1/2] gnu: c-toxcore: Update to 0.2.19 Vinicius Monego
2024-04-06  0:47 ` [bug#70224] [PATCH 2/2] gnu: toxic: Update to 0.15.1 Vinicius Monego

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).