[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 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)



Hi Raphael,

On Thu, Apr 14, 2016 at 12:00:26PM +0200, Raphael Hertzog wrote:
> 
> So I did have a look and the problem is that your package doesn't contain any
> usr/lib/R/site-library/shiny/www/shared/jqueryui/images to replace
> with some real files.
> 
> I added this to check it:
>  install/$(package)::
> +       find $(debRlib)
>         dh_linktree

Well, yes, that's correct.  I considered it a good idea to strip the
files that are not needed in the final package and to be really sure
that these will not be used from the upstream source tarball via
Files-Excluded.  The additional advantage is that I do not need to
craft several copyright statements for stuff that's not used anyway.
 
> No "images" directory to replace. Are you sure that you need it?

Yes, I'm sure and I need the symlink definitely.
 
> >   Depends: libjs-jquery-ui (<< 1.10.1+dfsg.0~), libjs-jquery-ui (>= 1.10.1+dfsg), r-base-core (>= 3.2.4.20160412-1), r-api-3, r-cran-httpuv, r-cran-mime, r-cran-jsonlite, r-cran-xtable, r-cran-digest, r-cran-r6, r-cran-htmltools
> > 
> > So the embed triggers the (unwanted) strong dependency and the replace
> > triggers no dependency from the other libs.  So most probably I did
> > something really wrong here - but I wonder what?
> 
> That's because nothing got replaced really... the files that you ask to replace
> do not exist.

So may be dh_linktrees is not the correct tool for me.  I just want it
to create symlinks and may be the best idea is to just use dh_link
instead and add the libjs-dependencies manually.

Kind regards

      Andreas.

-- 
http://fam-tille.de


Reply to: