Control: tag -1 + patch

On Sat, 22 Jul 2017 19:33:56 +0300, Niko Tyni wrote:

> The fix is probably something like
> 
>   override_dh_perl:
>           dh_perl /usr/lib/slic3r
> 
> so that dh_perl knows about the private library directory.

This works indeed, patch attached.

Result:

 Depends: libboost-geometry-utils-perl, libencode-locale-perl, 
libio-stringy-perl, libmath-convexhull-monotonechain-perl, 
libmath-geometry-voronoi-perl, libmath-planepath-perl, libmoo-perl, 
libstorable-perl, libtime-hires-perl, perl (>= 5.26.0-4), perlapi-5.26.0, libc6 
(>= 2.14), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2)


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Bettina Wegner: das hinterhaus
diff -Nru slic3r-1.2.9+dfsg/debian/changelog slic3r-1.2.9+dfsg/debian/changelog
--- slic3r-1.2.9+dfsg/debian/changelog	2016-11-03 03:23:40.000000000 +0100
+++ slic3r-1.2.9+dfsg/debian/changelog	2017-07-22 18:48:04.000000000 +0200
@@ -1,3 +1,13 @@
+slic3r (1.2.9+dfsg-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "missing dependency on perlapi-*":
+    add override_dh_perl in debian/rules to make dh_perl search for perl
+    modules in the private directory as well.
+    (Closes: #869360)
+
+ -- gregor herrmann <gre...@debian.org>  Sat, 22 Jul 2017 18:48:04 +0200
+
 slic3r (1.2.9+dfsg-6) unstable; urgency=medium
 
   * [9db9b59] Shift perl modules into private directories.
diff -Nru slic3r-1.2.9+dfsg/debian/rules slic3r-1.2.9+dfsg/debian/rules
--- slic3r-1.2.9+dfsg/debian/rules	2016-11-03 03:23:40.000000000 +0100
+++ slic3r-1.2.9+dfsg/debian/rules	2017-07-22 18:48:04.000000000 +0200
@@ -55,3 +55,7 @@
 	# Install example post-processing scripts
 	mkdir -p $(CURDIR)/debian/slic3r/usr/share/doc/slic3r/examples
 	cp -r utils/post-processing $(CURDIR)/debian/slic3r/usr/share/doc/slic3r/examples
+
+override_dh_perl:
+	# make dh_perl search for perl modules in the private directory as well
+	dh_perl /usr/lib/slic3r

Attachment: signature.asc
Description: Digital Signature

Reply via email to