[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)
Gianfranco Costamagna
locutusofborg at debian.org
Thu Apr 14 07:09:06 UTC 2016
Hi, I remember having used dh_linktree, but I forgot when and where
does this helps?
https://codesearch.debian.net/results/dh_linktree/page_0
in the first page there are some examples of fonts linked (the whole directory).
HTH
Gianfranco
Il Mercoledì 13 Aprile 2016 22:10, Andreas Tille <andreas at an3as.eu> ha scritto:
On Wed, Apr 13, 2016 at 09:37:00PM +0200, Andreas Tille wrote:
> On Wed, Apr 13, 2016 at 03:38:16PM +0200, Raphael Hertzog wrote:
> > On Wed, 13 Apr 2016, Andreas Tille wrote:
> > > Could you advise for the proper option to get a less strict dependency?
> >
> > Please read its manual page, it's all documented:
> >
> > | The "replace" action is like "deduplicate" except that it does
> > | replace existing files even if their content is different from the content of
> > | the source files. It generates a weak dependency ("at least the current
> > | upstream version") on the basis that you already assume that both version are
> > | compatible, otherwise you would have used "deduplicate" or "embed".
>
> The thing is I used "replace" in the first place instead of embed but
> it resulted in
>
> dh_linktree
> dpkg-query: error: --search needs at least one file name pattern argument
>
> Use --help for help about querying packages.
> dh_linktree: error: dpkg --search -- gave error exit status 2
>
>
> when replacing whole directories. Is there any chance to do a "replace
> directory"?
To underline why this makes sense:
/usr/share/twitter-bootstrap/files/js/locales
contains currently 38 different translation files. If a new package
twitter-bootstrap might be released there could be more translations.
So it makes absolutely sense to just symlink to the directory instead of
single files which would exclude new translations for no good reason.
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list