Bug#733996: Generate a ‘closure-compiler’ binary package for the compiler program

Ben Finney ben+debian at benfinney.id.au
Fri Jan 3 00:00:22 UTC 2014


Package: src:closure-compiler
Version: 20130227+dfsg1-4
Severity: minor

Howdy, thank you for packaging the Closure compiler.

Searching APT for a package containing the Closure compiler command for
compiling ECMAScript, I expect to find the package in the “web” section by
the name ‘closure-compiler’.

I shouldn't need to care that it's implemented in Java, and am not
expecting a command-line program to be classified in the library packages.

The source package should produce separate binary packages:

* Package: libclosure-compiler-java
  Section: java
  Suggests: libclosure-compiler-java-doc
  Description: JavaScript optimizing compiler — runtime libraries

* Package: closure-compiler
  Section: web
  Depends: default-jre-headless, libclosure-compiler-java
  Description: JavaScript optimizing compiler

* Package: libclosure-compiler-java-doc
  Section: doc
  Suggests: libclosure-compiler-java
  Description: JavaScript optimizing compiler — API documentation

Since the ‘default-jre-headless’ dependency would then only be in a package
specifically for the command, this would allow removing the Lintian
override for “needless-dependency-on-jre”.

-- 
 \                                                己所不欲、勿施于人。 |
  `\                (What is undesirable to you, do not do to others.) |
_o__)                            —孔夫子 Confucius (551 BCE – 479 BCE) |
Ben Finney <ben at benfinney.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20140103/d5da193a/attachment-0002.sig>


More information about the pkg-java-maintainers mailing list