Bug#903428: Got hit by #903428 too

2018-07-17 Thread Markus Koschany

Am 17.07.2018 um 01:15 schrieb Martin Quinson:
> Hello,
> 
> I'm building a package that provide some javadoc, so I got hit by that
> bug myself too. The solution you propose (dropping javadoc packages)
> does not exactly fit my needs, I must say ;)
[...]

A quick solution is to depend on libjs-jquery and probably
libjs-jquery-ui and then use dh_link or debian/links and symlink the
offending Javascript files to the ones on the system.

Thus said I believe this should be fixed at the root. A good solution
would be to replace the embedded jquery library in OpenJDK-11 with a
symlink to the system library and maybe change some build-helper tools
like javahelper, maven-debian-helper etc. to automatically insert a
dependency on libjs-jquery and libjs-jquery-ui into already existing
substvars.

Regards,

Markus



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#903428: Got hit by #903428 too

2018-07-16 Thread Martin Quinson
Hello,

I'm building a package that provide some javadoc, so I got hit by that
bug myself too. The solution you propose (dropping javadoc packages)
does not exactly fit my needs, I must say ;)

Initially, I was simply looking for an example of d/rules chunk that I
could copy over to solve this in my package (and I'm still interested
in such an example).

But a better solution may be that you provide a tiny package providing
all what we need: the dependencies and all the links we need:

  /usr/share/javadoc/jquery/external/jquery/jquery.js -> 
/usr/share/javascript/jquery/jquery.js
  /usr/share/javadoc/jquery/jquery-1.10.2.js -> ??  no idea
  /usr/share/javadoc/jquery/jquery-ui.js -> 
/usr/share/javascript/jquery-ui/jquery-ui.js
  ...

That would greatly ease the patching of each and every javadoc
package: I'd just have to add a dependency and one single link:

  /usr/share/doc/simgrid/javadoc/jquery -> /usr/share/javadoc/jquery

But maybe that's just overengineered and I just need an example chunk,
I'm not sure. Could you point me to one of them?

In any case, thanks for your work and your help, that's really appreciated.
Mt

--
Pour ne plus rire jaune, voyez rouge.


signature.asc
Description: PGP signature
__
This is the maintainer address of Debian's Java team
.
 Please use
debian-j...@lists.debian.org for discussions and questions.