[packages/dpdk] - added patch to disable mandb regeneration
qboosh
qboosh at pld-linux.org
Fri Dec 29 20:49:23 CET 2023
commit 27c151f960dcb369594c30797e39f4aa32c9a8d2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Dec 29 20:50:06 2023 +0100
- added patch to disable mandb regeneration
dpdk-no-mandb.patch | 13 +++++++++++++
dpdk.spec | 2 ++
2 files changed, 15 insertions(+)
---
diff --git a/dpdk.spec b/dpdk.spec
index c2041e5..a7e93f5 100644
--- a/dpdk.spec
+++ b/dpdk.spec
@@ -36,6 +36,7 @@ Group: Libraries
Source0: https://fast.dpdk.org/rel/%{name}-%{version}.tar.xz
# Source0-md5: 896c09f5b45b452bd77287994650b916
Patch0: %{name}-time.patch
+Patch1: %{name}-no-mandb.patch
URL: https://www.dpdk.org/
# pkgconfig(libelf)
BuildRequires: elfutils-devel
@@ -142,6 +143,7 @@ Dokumentacja API bibliotek DPDK.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' \
buildtools/dpdk-cmdline-gen.py \
diff --git a/dpdk-no-mandb.patch b/dpdk-no-mandb.patch
new file mode 100644
index 0000000..f974ead
--- /dev/null
+++ b/dpdk-no-mandb.patch
@@ -0,0 +1,13 @@
+--- dpdk-23.11/doc/api/meson.build.orig 2023-11-28 15:35:41.000000000 +0100
++++ dpdk-23.11/doc/api/meson.build 2023-12-29 20:49:20.435845567 +0100
+@@ -93,10 +93,3 @@ doxy_man_build = custom_target('doxygen-
+
+ doc_targets += doxy_man_build
+ doc_target_names += 'Doxygen_API(Manpage)'
+-
+-# refresh the manpage database on install
+-# if DPDK manpages are installed to a staging directory, not in MANPATH, this has no effect
+-mandb = find_program('mandb', required: false)
+-if mandb.found() and get_option('enable_docs') and meson.version().version_compare('>=0.55.0')
+- meson.add_install_script(mandb)
+-endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dpdk.git/commitdiff/27c151f960dcb369594c30797e39f4aa32c9a8d2
More information about the pld-cvs-commit
mailing list