[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/18: gnu: lcsync: Update to 0.2.1.
From: |
guix-commits |
Subject: |
04/18: gnu: lcsync: Update to 0.2.1. |
Date: |
Tue, 29 Aug 2023 08:54:34 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 5f672aaa0ca7e2c5775c8950fa1627ac419e557e
Author: Vagrant Cascadian <vagrant@debian.org>
AuthorDate: Fri Aug 11 14:12:00 2023 -0700
gnu: lcsync: Update to 0.2.1.
* gnu/packages/networking.scm (lcsync): Update to 0.2.1.
[arguments]: #:configure-flags Pass --prefix.
Drop 'remove-network-tests and 'remove-immintrin.h phase.
Add 'use-prefix-from-configure-in-doc-makefile phase.
[inputs]: Add lcrq.
[native-inputs]: Remove simde.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/networking.scm | 40 ++++++++++++++--------------------------
1 file changed, 14 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index dd5cc2a170..02ac607eb6 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -289,7 +289,7 @@ the RFC.")
(define-public lcsync
(package
(name "lcsync")
- (version "0.0.1")
+ (version "0.2.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -298,45 +298,33 @@ the RFC.")
(file-name (git-file-name name version))
(sha256
(base32
- "0s038b4xg9nlzhrganzjyfvc6n6cgd6kilnpik4axp62j2n5q11q"))))
+ "0bsd3dkir2i647nmrmyb7skbv16v0f6f3gfwkpxz8g42978dlms5"))))
(build-system gnu-build-system)
(arguments
`(#:parallel-tests? #f
+ #:configure-flags
+ (list
+ (string-append "--prefix="
+ (assoc-ref %outputs "out")))
#:make-flags (let ((target ,(%current-target-system)))
(list ,(string-append "CC="
- (cc-for-target))
- ;; avoid running setcap in the install process
- "SETCAP_PROGRAM=true"
- (string-append "prefix="
- (assoc-ref %outputs "out"))))
+ (cc-for-target))))
#:test-target "test"
#:phases (modify-phases %standard-phases
- (delete 'configure) ;no configure script
- (add-before 'check 'remove-network-tests
+ (add-after 'unpack 'use-prefix-from-configure-in-doc-makefile
+ ;; Use prefix from configure. Fixed upstream:
+ ;; https://codeberg.org/librecast/lcsync/commit/4ba00f6
+ ;; XXX: Remove for 0.2.2+
(lambda _
- ;; these tests require networking
- (delete-file "./test/0000-0027.c")
- (delete-file "./test/0000-0049.c")
- (delete-file "./test/0000-0074.c")))
- (add-after 'unpack 'remove-immintrin.h
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "Makefile"
- (("CFLAGS :=")
- (string-append "CFLAGS := -I" (search-input-directory
- inputs
"include/simde"))))
- (substitute* (find-files "src")
- ((".*immintrin\\.h.*")
- (string-append "#include <simde-features.h>\n"
- "#include <x86/ssse3.h>\n"))
- (("__m128i") "simde__m128i"))))
+ (substitute* "doc/Makefile.in"
+ (("PREFIX .= /usr/local") "PREFIX ?= @prefix@"))))
(add-before 'build 'add-library-paths
(lambda* (#:key inputs #:allow-other-keys)
(let* ((librecast (assoc-ref inputs "librecast")))
(substitute* (list "./src/Makefile" "./test/Makefile")
(("-llibrecast")
(string-append "-L" librecast "/lib
-llibrecast")))))))))
- (inputs (list librecast libsodium))
- (native-inputs (list simde))
+ (inputs (list lcrq librecast libsodium))
(home-page "https://librecast.net/lcsync.html")
(synopsis "Librecast file and data syncing tool")
(description
- 02/18: gnu: bundler: Update to 2.4.18., (continued)
- 02/18: gnu: bundler: Update to 2.4.18., guix-commits, 2023/08/29
- 07/18: gnu: ccid: Update to 1.5.2., guix-commits, 2023/08/29
- 06/18: gnu: smartdns: Update to 43., guix-commits, 2023/08/29
- 10/18: gnu: waybar: Update to 0.9.20., guix-commits, 2023/08/29
- 15/18: gnu: opencv: Update to 4.8.0, guix-commits, 2023/08/29
- 01/18: gnu: guix-build-coordinator: Update to 0-88.cbded42., guix-commits, 2023/08/29
- 17/18: gnu: font-sarasa-gothic: Update to 0.41.7., guix-commits, 2023/08/29
- 05/18: gnu: dino: Update to 0.4.3., guix-commits, 2023/08/29
- 13/18: gnu: looking-glass-client: Update to B6., guix-commits, 2023/08/29
- 03/18: gnu: librecast: Update to 0.7-RC3., guix-commits, 2023/08/29
- 04/18: gnu: lcsync: Update to 0.2.1.,
guix-commits <=
- 08/18: gnu: emacs-flim-lb: Update to 1.14.9-137.80b8121., guix-commits, 2023/08/29
- 16/18: gnu: tuxedo-keyboard: Update to 3.2.10., guix-commits, 2023/08/29
- 12/18: gnu: profanity: Update to 0.14.0., guix-commits, 2023/08/29
- 09/18: gnu: emacs-semi-epg: Update to 1.14.6-246.9370961., guix-commits, 2023/08/29
- 11/18: gnu: emacs-php-mode: Update to 1.25.0., guix-commits, 2023/08/29
- 14/18: gnu: looking-glass-client: Update package style., guix-commits, 2023/08/29
- 18/18: gnu: hyfetch: Update to 1.4.10., guix-commits, 2023/08/29