Mailinglist Archive: opensuse-packaging (182 mails)

< Previous Next >
Re: [opensuse-packaging] Lang packages for shared libraries
  • From: Stanislav Brabec <sbrabec@xxxxxxx>
  • Date: Wed, 17 Jun 2009 16:41:22 +0200
  • Message-id: <1245249682.28024.9.camel@xxxxxxxxxxxxxx>
Stephan Kulow wrote:
Am Mittwoch 10 Juni 2009 schrieb Vincent Untz:

What's the proper way of naming a lang package that goes with a shared
library following the shared library policy?

Eg: the libgsasl source package has a libgsasl7 package. So far so good.
But it has translations, so should the translations go in libgsasl-lang
or libgsasl7-lang?

If it's a, then the files will conflict anyway, so there is
point in pretending you can install them side by side: libgasl-lang.

But there comes a catch: you can't require that package from the library - or
only using a >= - otherwise you won't be able to install the libraries side

We can extend packaging rules in the spirit of the shared library
packaging policy:

- s/soname/textdomain/g

- s/libfoo{xxx}/foo{xxx}-lang/g

... and you have a packaging rule.

It will fulfill exactly what you expect:

- packages with different name will not conflict

- shared library knows the translation domain and you can require
package of correct name.

- when upstream changes translation domain, you will get a new
dependency nad new name of the package.

=> you can require package of that name from a shared library package

Best Regards / S pozdravem,

Stanislav Brabec
software developer
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9 fax: +420 284 028 951
Czech Republic

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >