Source: fakeroot
Version: 1.32-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: rebootstrap
X-Debbugs-Cc: [email protected]
Hi!
fakeroot build-depends on po4a for translating documentation which is not
required for building a functional fakeroot package required for bootstrapping
a new architecture such as the upcoming loong64 port.
Thus, in order to ease bootstrapping, the fakeroot package should add a build
profile which disables po4a which is what the attached patch does by modifying
debian/control and debian/rules.
Please consider applying this patch for one of the next uploads.
Thanks,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
diff -Nru old/fakeroot-1.32/debian/control new/fakeroot-1.32/debian/control
--- old/fakeroot-1.32/debian/control 2023-07-10 15:13:20.000000000 +0200
+++ new/fakeroot-1.32/debian/control 2023-07-11 11:01:52.500152920 +0200
@@ -5,7 +5,7 @@
libacl1-dev,
libcap-dev [linux-any],
libcap2-bin [linux-any],
- po4a,
+ po4a <!pkg.fakeroot.stage1>,
sharutils <!nocheck>
Maintainer: Clint Adams <[email protected]>
Standards-Version: 4.6.1
diff -Nru old/fakeroot-1.32/debian/rules new/fakeroot-1.32/debian/rules
--- old/fakeroot-1.32/debian/rules 2023-07-10 15:13:20.000000000 +0200
+++ new/fakeroot-1.32/debian/rules 2023-07-11 10:59:02.312600977 +0200
@@ -15,7 +15,9 @@
dhar-stamp:
dh_autoreconf
+ifeq (,$(findstring pkg.fakeroot.stage1,$(DEB_BUILD_PROFILES)))
(cd doc && po4a -k 0 --rm-backups --variable "srcdir=../doc/"
po4a/po4a.cfg) || exit 1
+endif
touch $@
obj-sysv/config.status: dhar-stamp