Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Just like dpkg does.
|
|
|
|
|
|
|
|
|
|
dh_perl is run for all packages so we cannot expect perl-xs-dev to be installed in the general case.
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
When cross building, scan the host architecture search path for Perl
compiled plugins (XS modules) rather than the build architecture one.
|
|
When cross building, run Build.PL and Build with host arch Config.pm
(provided by the perl-xs-dev package since perl/5.30.0-7) first on @INC.
We need to set PERL5LIB because Module::Build forks a child process
to sanity check the Config it's seeing, so the modified search
path has to be propagated via the environment.
|
|
When cross building, run Makefile.PL with host arch Config.pm (provided
by the perl-xs-dev package since perl/5.30.0-7) first on @INC.
This is an initial implementation that seems to work for a majority of
simple XS module packages. It's possible that it will need tuning in
the future to accommodate more complex packages.
In particular:
- setting PERL5LIB instead of adding the -I option might be needed
to propagate the modified search path to child processes of Makefile.PL
- the 'make' phase may need modifications to the search path as well
|
|
Since perl/5.30.0-7, the perl-xs-dev package provides the host
architecture Config.pm in /usr/lib/<triplet>/perl/cross-config-<version>
for the benefit of cross builds.
For more information, see the thread around
https://lists.debian.org/debian-perl/2019/10/msg00015.html
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
It is a lot faster for any package with a non-trivial amount of
manpages-
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
With files split across multiple packages, it is easy to inadvertently
miss one or several of them, so catch that mistake.
|
|
This makes it possible for debhelper adddon packages to depend on it
rather than on debhelper, breaking the circular dependencies between
debhelper and dh-autoreconf/dh-strip-nondeterminism.
The autoscripts are used by the autoscript routine in Dh_Lib.pm, so I
decided to put those into libdebhelper-perl as well.
Closes: #821130
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Extracted from the patch proposed in https://bugs.debian.org/934893.
Signed-off-by: Niels Thykier <niels@thykier.net>
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
It cannot be implemented (at least not in this way) without breaking
the noudeb profile and its requirements that deb packages are
reproducible with and without the profile.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This reverts commit e91dbdba83aa60c0313fd68f92652f00d34c97b6.
Not sure the usage makes sense to me, but for now we roll it until we
can review the situation.
|