From: Ashish SHUKLA via Guix-patches via <guix-patches@gnu.org>
To: 73461@debbugs.gnu.org
Cc: Ashish SHUKLA <ashish.is@lostca.se>
Subject: [bug#73461] [PATCH v3] gnu: knot: Update to 3.4.1.
Date: Sun, 20 Oct 2024 11:15:26 +0200 [thread overview]
Message-ID: <7785e56d220a5ae16e6b20496484846ffdb54367.1729415726.git.ashish.is@lostca.se> (raw)
In-Reply-To: <c016d64071ca814e8a628a099f805f2d6111d745.1727255336.git.ashish.is@lostca.se>
* gnu/packages/dns.scm (knot): Update to 3.4.1.
[source](patches) Add a patch.
* gnu/packages/patches/knot-remove-runtime-deps.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
Change-Id: I2fcb61a161631954137eaf058bc7c6095fceef47
---
gnu/local.mk | 1 +
gnu/packages/dns.scm | 6 ++++--
.../patches/knot-remove-runtime-deps.patch | 19 +++++++++++++++++++
3 files changed, 24 insertions(+), 2 deletions(-)
create mode 100644 gnu/packages/patches/knot-remove-runtime-deps.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index 89a795bfbd..3cec17b52b 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1633,6 +1633,7 @@ dist_patch_DATA = \
%D%/packages/patches/kiwix-desktop-newer-libkiwix.patch \
%D%/packages/patches/kmod-module-directory.patch \
%D%/packages/patches/kmscon-runtime-keymap-switch.patch \
+ %D%/packages/patches/knot-remove-runtime-deps.patch \
%D%/packages/patches/kobodeluxe-paths.patch \
%D%/packages/patches/kobodeluxe-enemies-pipe-decl.patch \
%D%/packages/patches/kobodeluxe-const-charp-conversion.patch \
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 1e9d1bc904..7f902965d8 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -845,7 +845,7 @@ (define-public yadifa
(define-public knot
(package
(name "knot")
- (version "3.3.8")
+ (version "3.4.1")
(source
(origin
(method git-fetch)
@@ -854,7 +854,9 @@ (define-public knot
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0iaardlmvcp6f0vccs81f202bb53y7fkcw5n12ahgqymqzhafpmq"))
+ (base32 "0iqzqfjk60lxzbjgkjsf1l8vqnv6rgz1z0p1zyhdqnp037123d4j"))
+ (patches
+ (search-patches "knot-remove-runtime-deps.patch"))
(modules '((guix build utils)))
(snippet
'(begin
diff --git a/gnu/packages/patches/knot-remove-runtime-deps.patch b/gnu/packages/patches/knot-remove-runtime-deps.patch
new file mode 100644
index 0000000000..8c5cf21d46
--- /dev/null
+++ b/gnu/packages/patches/knot-remove-runtime-deps.patch
@@ -0,0 +1,19 @@
+Following patch is imported from nixpkgs:
+
+source: https://github.com/NixOS/nixpkgs/pull/338995
+
+Remove unnecessary runtime dependencies.
+
+`knotc status configure` shows summary from the configure script,
+but that contains also references like include paths.
+Filter these at least in a crude way (whole lines).
+--- a/configure.ac
++++ b/configure.ac
+@@ -788,5 +788,5 @@ result_msg_base="
+-result_msg_esc=$(echo -n " Configure:$filtered_config_params\n$result_msg_base" | sed '$!s/$/\\n/' | tr -d '\n')
++result_msg_esc=$(echo -n " Configure:$filtered_config_params\n$result_msg_base" | grep -Fv "$NIX_STORE" | sed '$!s/$/\\n/' | tr -d '\n')
+
+ AC_DEFINE_UNQUOTED([CONFIGURE_SUMMARY],["$result_msg_esc"],[Configure summary])
+
+
+
base-commit: 551a2b293ee34855f9395b9032e5a8837a64e08e
--
2.47.0
next prev parent reply other threads:[~2024-10-20 9:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-24 21:33 [bug#73461] [PATCH] gnu: knot: Update to 3.4.0 Ashish SHUKLA via Guix-patches via
2024-09-25 9:08 ` [bug#73461] [PATCH v2] " ashish.is--- via Guix-patches via
2024-10-20 9:15 ` Ashish SHUKLA via Guix-patches via [this message]
2024-10-25 10:31 ` bug#73461: [PATCH v3] gnu: knot: Update to 3.4.1 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=7785e56d220a5ae16e6b20496484846ffdb54367.1729415726.git.ashish.is@lostca.se \
--to=guix-patches@gnu.org \
--cc=73461@debbugs.gnu.org \
--cc=ashish.is@lostca.se \
/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).