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

Hi,

Le 09/08/2012 14:09, David Prévot a écrit :

> There is a regression in the current version of the package:
> 
> $ bins Photos Album
> […]
> Cannot find template style 'swigs'

I narrowed it down: for some reason, building the package in pbuilder
causes bins to use a wrong $globalDataDir (in /use/local/…). That also
explains why the i18n support is broken too (see $localePath) bellow.
Don't know yet why it builds as expected with debuild, maybe a missing
Build-Depends already installed in my box…

> diff -ur pdebuild/usr/bin/bins debuild/usr/bin/bins
> --- pdebuild/usr/bin/bins       2012-08-16 18:37:23.000000000 -0400
> +++ debuild/usr/bin/bins        2012-08-16 18:33:15.000000000 -0400
> @@ -94,7 +94,7 @@
>  ############################################################################
> 
>  # I18N
> -my $localePath = "/usr/local/share/locale"; # Base locale path  (for I18N)
> +my $localePath = "/usr/share/locale"; # Base locale path  (for I18N)
> 
>  my $I18N = have_package("Locale::gettext");
>  if ($I18N) {
> @@ -383,7 +383,7 @@
> 
>       # The following parameters cannot be set in config files for now :
>       globalConfigDir => "/etc/bins",       # System wide configuration 
> directory
> -     globalDataDir   => "/usr/local/share/bins", # System wide data directory
> +     globalDataDir   => "/usr/share/bins", # System wide data directory
>       userConfigDir   => "~/.bins",         # User configuration directory
>       configFileName  => "binsrc",          # Configuration file.

Regards

David

P.-S.: removing 37_bins_thumbnails from debian/patches/series is enough
to fix #684415 (not sure #196310 was worth fixing anyway, offering it as
an option may have been valuable).

Regards

David

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJQLXxzAAoJELgqIXr9/gnyGCgP/0A3PoFs9mslbmmqLGIPq3AX
bDbVUUZ2V5mzxhqvvEUE7u3SjBcnErG3XA7KEWE+wIrUI5oHerVZ9I6lezOOhh2Z
wg/NT22BooRbB5bMeSxi44oaPP7MtFBd03jyGPzOwI/f/mRhKtLeeY9nK1ywpWT2
LHBgiQEAx6Bb/psJ89I57Pe94MmW3CuRIddTz+HSeZezxpgYwjQpYMtZ+sSAfko0
f6ImX7+GcocTFLfpIOo9putQlL7NjtHRABGkLewzaAWKIyqCm8DHlK5dL9e8rTBo
30IvGZrRzlwRqQOLW4p5aGR8Fq/qOyrJeFE4sEIFBbVcIBxlSJq5ipHB250rEvk3
MFKfz9ibHmAVaqUmW9Wiu/y+yI0wn+0F/1b6wKEqfOkJiqTEG3fLeCrzSBlbaS/u
axJceoaYYdUm8vUbC/dt1AQhJkiQZbMsBk7DhgGzdV/y/l40FNHpUFEU+P1hpj7T
00irme7X7KPI3zSdU2/jITMPOY8WHt58mvlOTV72z/rUf770fnyy3BDQmkYwop0S
pTZYEAs8/PxxyPmak+Z1pGYxfN3StWHZB5fNqCBVlksQo69//2UV+ESNu7jzClal
KEb0sJrdg3IawXBvdAoq3dBcr4/eQQAwUi1WlTIc43UhLUJMc1REF1t+gU4EU/TZ
yJQeByFXZpgDBUm5uR3r
=9U+/
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to