[Debian-med-packaging] Bug#820879: How to avoid version restrictions for JS libraries (Was: Bug#820879: r-cran-shiny: uninstallable in sid: Depends: libjs-jquery (< 1.11.3+dfsg.0~) but 1.12.3-1 is to be installed)

Raphael Hertzog hertzog at debian.org
Wed Apr 13 12:41:52 UTC 2016


On Wed, 13 Apr 2016, Andreas Tille wrote:
> Ahhh, good hint.  So the solution to my problem would rather be to
> drop dh_linktree? (Raphael in CC whether I might have missed something).

It really depends... you're trading one problem for another. In general,
it's best if you can just rely on the packaged javascript without having
to replace any embedded copy.

But if you have to replace an embedded copy, then dh_linktree is better
as it lets you easily switch from embedded to non-embedded (without having
to deal with symlink_to_dir and dir_to_symlink transitions). There are also
multiple "actions" that result in different dependencies... by default
you get a strong dependency like said here but if you're confident that
newer upstream releases will not introduce new files, then you can use
something less strict.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/



More information about the Debian-med-packaging mailing list