From: Jack Hill <jackhill@jackhill.us>
To: 55465@debbugs.gnu.org
Subject: [bug#55465] [PATCH 2/5] gnu: libstrophe: Improve package definition.
Date: Mon, 16 May 2022 17:47:21 -0400 [thread overview]
Message-ID: <20220516214724.6136-2-jackhill@jackhill.us> (raw)
In-Reply-To: <20220516214724.6136-1-jackhill@jackhill.us>
* gnu/packages/messaging.scm (libstrophe)[phases]: Use gexps.
{install-extra-license-files}: New phase.
[home-page]: Use https and add trailing /.
---
gnu/packages/messaging.scm | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index fb5169f062..283b0e9f0e 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -34,6 +34,7 @@
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
+;;; Copyright © 2022 Jack Hill <jackhill@jackhill.us>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2113,14 +2114,20 @@ (define-public libstrophe
(base32 "1apply301lxyjax2677bd5mc0a3233nm5qb7fiqpawq2n7vh17v0"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags (list "--disable-static")
+ (list #:configure-flags '(list "--disable-static")
#:phases
- (modify-phases %standard-phases
+ #~(modify-phases %standard-phases
(add-after 'unpack 'patch-make
(lambda _
(substitute* "Makefile.am"
(("'\\^xmpp_'") "'.'"))
- #t)))))
+ #t))
+ (add-after 'install-licence-files 'install-extra-licence-files
+ (lambda _
+ (let ((license-directory (string-append #$output
+ "/share/doc/"
+ #$name "-" #$version "/")))
+ (install-file "MIT-LICENSE.txt" license-directory)))))))
(inputs
(list expat openssl))
(native-inputs
@@ -2129,7 +2136,7 @@ (define-public libstrophe
(description "Libstrophe is a minimal XMPP library written in C. It has
almost no external dependencies, only an XML parsing library (expat or libxml
are both supported).")
- (home-page "http://strophe.im/libstrophe")
+ (home-page "https://strophe.im/libstrophe/")
;; Dual-licensed.
(license (list license:gpl3+ license:x11))))
--
2.36.0
next prev parent reply other threads:[~2022-05-16 21:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-16 21:43 [bug#55465] [PATCH 0/5] Update profanity and libstrophe Jack Hill
2022-05-16 21:47 ` [bug#55465] [PATCH 1/5] gnu: libstrophe: Update to 0.12.0 Jack Hill
2022-05-16 21:47 ` Jack Hill [this message]
2022-05-16 21:47 ` [bug#55465] [PATCH 3/5] gnu: profanity: Update to 0.12.1 Jack Hill
2022-05-16 21:47 ` [bug#55465] [PATCH 4/5] gnu: libmesode: Remove package Jack Hill
2022-05-16 21:47 ` [bug#55465] [PATCH 5/5] gnu: profanity: Remove input labels Jack Hill
2022-06-01 21:02 ` bug#55465: [PATCH 0/5] Update profanity and libstrophe Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220516214724.6136-2-jackhill@jackhill.us \
--to=jackhill@jackhill.us \
--cc=55465@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 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).