From: vagrant@debian.org
To: 67052@debbugs.gnu.org
Cc: vagrant@debian.org
Subject: [bug#67052] [PATCH v2 2/2] gnu: lcsync: Update to 0.3.0.
Date: Fri, 10 Nov 2023 13:03:10 -0800 [thread overview]
Message-ID: <20231110210310.512492-2-vagrant@debian.org> (raw)
In-Reply-To: <20231110210310.512492-1-vagrant@debian.org>
From: Vagrant Cascadian <vagrant@debian.org>
Apply guix style.
* gnu/packages/networking.scm (lcsync): Update to 0.3.0.
[inputs]: Add libbsd.
[arguments]<phases>: Drop 'use-prefix-from-configure-in-doc-makefile and
'add-library-paths.
---
gnu/packages/networking.scm | 44 ++++++++++++-------------------------
1 file changed, 14 insertions(+), 30 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 103c3aa97f..0dfda60bf9 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -327,42 +327,26 @@ (define-public netperf
(define-public lcsync
(package
(name "lcsync")
- (version "0.2.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://codeberg.org/librecast/lcsync")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0bsd3dkir2i647nmrmyb7skbv16v0f6f3gfwkpxz8g42978dlms5"))))
+ (version "0.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://codeberg.org/librecast/lcsync")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1rhk80ybd2zranay76z1ysifnnm786lg9kiiijcwv76qy95in9ks"))))
(build-system gnu-build-system)
(arguments
`(#:parallel-tests? #f
- #:configure-flags
- (list
- (string-append "--prefix="
- (assoc-ref %outputs "out")))
+ #:configure-flags (list (string-append "--prefix="
+ (assoc-ref %outputs "out")))
#:make-flags (let ((target ,(%current-target-system)))
(list ,(string-append "CC="
(cc-for-target))))
- #:test-target "test"
- #:phases (modify-phases %standard-phases
- (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 _
- (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 lcrq librecast libsodium))
+ #:test-target "test"))
+ (inputs (list lcrq librecast libsodium libbsd))
(home-page "https://librecast.net/lcsync.html")
(synopsis "Librecast file and data syncing tool")
(description
--
2.39.2
next prev parent reply other threads:[~2023-11-10 21:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-10 20:10 [bug#67052] librecast 0.8.x and lcsync 0.3.x Vagrant Cascadian
2023-11-10 20:16 ` [bug#67052] [PATCH 1/2] gnu: librecast: Update to 0.8.0 vagrant
2023-11-10 20:16 ` [bug#67052] [PATCH 2/2] gnu: lcsync: Update to 0.3.0 vagrant
2023-11-10 21:03 ` [bug#67052] [PATCH v2 1/2] gnu: librecast: Update to 0.8.0 vagrant
2023-11-10 21:03 ` vagrant [this message]
2023-11-24 21:37 ` bug#67052: " Vagrant Cascadian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231110210310.512492-2-vagrant@debian.org \
--to=vagrant@debian.org \
--cc=67052@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.