Skip to contentSkip to conversation

ifenslave: remove manpages class

PATCH New Ross Burton 1 participant 4 messages Feb 26, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 ifenslave: remove manpages class

This recipe doesn't ship any manpages since 2.10, so remove the manpage support.

---
 meta-networking/recipes-support/ifenslave/ifenslave_2.14.bb | 5 -----
 1 file changed, 5 deletions(-)
meta-networking/recipes-support/ifenslave/ifenslave_2.14.bb +0 -5
index 02a5520a97..b41eb78374 100644
@@ -5,9 +5,6 @@ SECTION = "net"
 LICENSE = "GPL-3.0-only"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=acc89812938cf9ad6b1debc37cea0253"
 
-inherit manpages
-MAN_PKG = "${PN}"
-
 SRCREV = "62e60904afbe58fda0c7104fdad1c4f618266ba6"
 SRC_URI = "git://salsa.debian.org/debian/ifenslave.git;protocol=https;branch=main"
 
@@ -18,5 +15,3 @@ do_install() {
     install -m 0755 -D ${S}/debian/ifenslave.if-post-down ${D}${sysconfdir}/network/if-post-down.d/ifenslave
     install -m 0755 -D ${S}/debian/ifenslave.if-up ${D}${sysconfdir}/network/if-up.d/ifenslave
 }
-
-FILES:${PN}-doc:remove = "${mandir}"
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/4 udpcast: add missing manpages PACKAGECONFIG

The manpages.bbclass adds the 'manpages' PACKAGECONFIG but this isn't defined:

ERROR: QA Issue: udpcast: invalid PACKAGECONFIG: manpages [invalid-packageconfig]

There is not an option to disable the manpages, so add a stub PACKAGECONFIG to silence this error.

---
 meta-networking/recipes-support/udpcast/udpcast_20230924.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/udpcast/udpcast_20230924.bb +2 -0
index f93f9850a8..3dea7e2ef6 100644
@@ -18,5 +18,7 @@ SRC_URI[sha256sum] = "17b5cd8b1e54f7e2e53357ac02ee86e4198bf704096987a03a3b5c402a
 # Installation of rateGovernor.h fails without brokensep
 inherit autotools-brokensep manpages
 
+PACKAGECONFIG[manpages] = ""
+
 # pod2man required to build manpages
 DEPENDS += "perl-native"
Signature · 1 line
2.43.0
#2 lore raw

PATCH 3/4 pureftp: fix autoreconf

In reply to Ross Burton

autoreconf needs to be told where to find macros as the Makefile.am does not do this.

---
 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.52.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.52.bb +2 -0
index 1ce3c468b7..8a56ad5078 100644
@@ -15,5 +15,7 @@ SRC_URI[sha256sum] = "1126f3a95856d08889ff89703cb1aa9ec9924d939d154e96904c920f05
 
 inherit autotools
 
+EXTRA_AUTORECONF += "-I m4"
+
 PACKAGECONFIG[libsodium] ="ac_cv_lib_sodium_crypto_pwhash_scryptsalsa208sha256_str=yes, \
                            ac_cv_lib_sodium_crypto_pwhash_scryptsalsa208sha256_str=no, libsodium"
Signature · 1 line
2.43.0
#3 lore raw

PATCH 4/4 gstd: disable gtk-doc

In reply to Ross Burton

The API documentation should be buildable with gtk-doc, but it fails for some reason:

gtkdoc-mkhtml: error: unrecognized arguments: ../gstd-docs.xml

Leave the gtk-doc class inherited, but temporarily disable it until this is fixed.

---
 meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb +4 -0
index 3b0d3ded13..4720edf153 100644
@@ -18,6 +18,10 @@ PV = "1.0+really0.15.2"
 
 GTKDOC_MESON_OPTION = "enable-gtk-doc"
 
+# Documentation doesn't currently build:
+# gtkdoc-mkhtml: error: unrecognized arguments: ../gstd-docs.xml
+GTKDOC_ENABLED = "False"
+
 inherit meson pkgconfig gettext gtk-doc python3native python3-dir python3targetconfig
 
 do_install:append() {
Signature · 1 line
2.43.0