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

Minified javascripts in packages



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I have a question regarding the use of minified javascripts in pacakges.
Of course these need to be accompanied by the proper source code, but
is it acceptable to simply use already minified js that often
accompany the source packages, as long as the source is also there?
Builing (at least in an automated manner) stuff like for instance
jQuery can be a pain in Debian since we do not have all the required
tools [1]. I agree that this approach is not ideal, but as long as we
don't have a working grunt i believe it is the most sensible approach.
We don't build the lib ourself, but it is possible to download the
source package and manually build if you're ok with installing
software that is not in Debian.

If we had multiple versions of the libs in Debian one could simply
remove the minified js from the source and use the one in Debian, but
at least in the case of jQuery the package in Debian is hopelessly
outdated because of [1]. I have experimented a bit with using the old
(pre grunt) build system for jQuery, and it seems to be possible, but
to spend hours doing this kind of build system reinvetion for every
lib upstream uses seems a bit silly to me.

Regards
Andreas Noteng


[1]: https://wiki.debian.org/Javascript/Nodejs/Tasks/grunt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVITFvAAoJELRG7qgympRaXXQQAKjP0TbJVANK+zGWDAGBM4aK
SiTFdiQCuD2elDf5o3yD02DXrvL1mdpS1psf+8KT+52hCAl0sagFauD9NJ2Uv6uy
me2RKznQC/1+pV1cO1LZBwMVggcb130Xhv6s468hVr/3Iqm3gdgG20HYbM7NNrme
QZKxdgEstjeQyKIAukPf3nPRtzSIGQ3VJ6H7HEEhfSxXteB825ZYqjfhLJOGVhok
RlpE6oWE4h8mb2N2ErqBkAqNR08BOkVXy+S2xNh6NnYVbc+ykIcEbRXUr5ueBTwi
gOvXoj5fYHBbo5htA5Xeaf8jqocWDQCDZtZw5zrqWOLskhi/cMwzcc0hOtLrcrnS
zBP7v+K392akI57fhvVu5TxYxtGwqkhG5rbyQqrLHMGLmUTypf6YcdAIrawRP4qY
kx0P1xJ+0bVlmj+iZipmFafxLqG28ECmvEjsaYPLuLO59+uddpLcW5uhC023HuzH
DLH6up/qnJ/1aIrCNx0fEEMiYBjy7kYXTKc9jRK/284lGZWitqjHmjM4Ry3bwCwg
Vio6T7stnYI2EeoXZ6DT99jjTNon5bWc1zqFy86lbaDFH10jBlKAk3haZZiRSsm+
meeiSaROpi2ZOBU/Mk6/OWJiNylKNVHDerW9lAiso8q4p9N3NW4g60erM7GveJrp
Nl0f+Cr4IGW6leyjNRsD
=vY95
-----END PGP SIGNATURE-----


Reply to: