Sun, 11 Feb 2007 10:44:52 +0000

gotcha in library packaging - gettext translations

I have realized today that we do not ship upstream's gettext translations in the Debian packages. Fixing this required a tiny little bit of thought. Upstream installs the catalogues as e.g. /usr/share/locale/pl/LC_MESSAGES/gnutls.mo. Shipping these files in libgnutls* would have broken co-installability of multiple versions of the library (libgnutls11 and libgnutls13).

Since the translations are tiny currently (about 80KB) I did not go for a libgnutls-data package but instead simply versioned the filename.

--- gnutls13-1.6.1/po/Makevars.orig     2006-03-03 16:16:16.000000000 +0000
+++ gnutls13-1.6.1/po/Makevars  2007-02-11 10:22:01.000000000 +0000
[...]
 # Usually the message domain is the same as the package name.
-DOMAIN = $(PACKAGE)
+DOMAIN = $(PACKAGE)13

Posted by Andreas Metzler | Permanent link | File under: debian