[Pkg-osm-maint] Bug#743542: openlayers: Extra package for translations in Lang

Ezequiel Lara Gomez ezequiel.lara at qualitasremos.com
Thu Apr 3 16:43:57 UTC 2014

Package: openlayers
Severity: wishlist
Tags: l10n

By default the openlayers full build does not include the localizations,
used for their components (such as the controls). 

An easy way of including them is adding to control an extra
libjs-openlayers-l10n subpackage, that installs lib/OpenLayers/Lang into

For icing the cake the l10n files can be minimized as well (although the gains
are minimal), adding to debian/rules: 

( cd lib/OpenLayers/Lang ; \
for file in *.js; do \
lang=`basename $${file} .js` ; \
yui-compressor --nomunge -o $${lang}.min.js
$${file} ; \
done )

Sorry for not sending the attached patch, but I also bumped it to 2.13.1
in the process, and right now the upstream website is down (so the
stripped source cannot be created). 


-- System Information:
Debian Release: 6.0.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable'), (1, 'stable-updates'), (1, 'experimental'), (1, 'unstable'), (1, 'testing'), (1, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

More information about the Pkg-osm-maint mailing list