Bug#682464: libtasn1-3: Unused build dependencies

Simon Josefsson simon at josefsson.org
Wed Jul 25 06:29:03 UTC 2012


"P. J. McDermott" <pjm at nac.net> writes:

> On 2012-07-23 04:47, Simon Josefsson wrote:
>> "P. J. McDermott" <pjm at nac.net> writes:
>>> libtasn1-3 build-depends on gtk-doc-tools and texlive-latex-base,
>>> neither of which is used in the build process.  Both can be safely
>>> removed from debian/control as in the attached patch (tested in a sid
>>> chroot).
>> 
>> The dependencies should be used during the build process to generate the
>> GTK-DOC API manual.  I've heard before that it is recommended that
>> everything that is shipped in Debian packages are built from sources to
>> make sure that it is possible to rebuild generated files if necessary.
>> I recall this is common for other packages with GTK-DOC manuals too.
>
> The manual isn't being built by debian/rules, so the build dependencies
> currently aren't being used at all.

Thanks for noticing -- the patch below should fix that.

/Simon

Index: rules
===================================================================
--- rules	(revision 1516)
+++ rules	(working copy)
@@ -7,6 +7,7 @@
 DEB_CONFIGURE_EXTRA_FLAGS = --enable-ld-version-script --with-packager=Debian \
 	--with-packager-bug-reports=http://bugs.debian.org/ \
 	--with-packager-version="$(DEB_VERSION)" \
+	--enable-gtk-doc --enable-gtk-doc-pdf \
 	--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
 
 ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))



More information about the Pkg-gnutls-maint mailing list