Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1017815

Bug#964013: lintian: embedded-javascript-library should flag sphinx files too

From Holger Levsen <holger@layer-acht.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#964013: lintian: embedded-javascript-library should flag sphinx files too
Date 2020-07-13 12:50 +0200
Message-ID <As4c1-7d6-3@gated-at.bofh.it> (permalink)
References <AnmVX-169-1@gated-at.bofh.it> <AnmVX-169-1@gated-at.bofh.it> <As4c1-7d6-5@gated-at.bofh.it> <AnmVX-169-1@gated-at.bofh.it> <As4c1-7d6-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

On Mon, Jul 13, 2020 at 12:24:53PM +0200, Alexis Murzeau wrote:
> I'm getting this new lintian warning for language_data.js,
> but I can't find which binary package I should depend on.
> 
> "sphinx" (as suggested by lintian) is a virtual package provided by python3-sphinx
> which doesn't contain "language_data.js" [0] and libjs-sphinxdoc (which seems more
> appropriate) does not contain "language_data.js" either [1].
[...]
> This will help maintainers find the correct package to use.
 
https://salsa.debian.org/debian/developers-reference/-/commit/29014c3d02b1a44aa983557b4887f4302c2136c5
shows how to use dh_sphinxdoc (instead of dh_linktree which also does
and did the right thing here), which then in turn adds the right
depends/recommends to the binary packages.

(The dh_linktree solution used a hack/workaround in d/rules to turn
the depends into recommends, but I recommend the dh_spinxdoc solution
anyway.)


-- 
cheers,
	Holger

-------------------------------------------------------------------------------
               holger@(debian|reproducible-builds|layer-acht).org
       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#964013: lintian: embedded-javascript-library should flag sphinx files too Holger Levsen <holger@debian.org> - 2020-06-30 13:50 +0200
  Bug#964013: lintian: embedded-javascript-library should flag sphinx files too Holger Levsen <holger@layer-acht.org> - 2020-07-13 12:50 +0200
  Bug#964013: lintian: embedded-javascript-library should flag sphinx files too Maxime Werlen <maxime@werlen.fr> - 2020-07-19 17:00 +0200
  Bug#964013: lintian: embedded-javascript-library should flag sphinx files too Andreas Beckmann <anbe@debian.org> - 2020-07-28 19:00 +0200

csiph-web