slangasek | GrueMaster: templates should have _Description only if they're being postprocessed with dh_installdebconf to merge in translations from debian/po at build time | 00:41 |
---|---|---|
slangasek | and if you change something to use _Description, you should also be running debconf-updatepo as part of preparing the source | 00:42 |
infinity | slangasek: You're reading the diff backwards, he's changing it to NOT use _Description because the maintainer originally did, but doesn't appear to have a debian/po. | 01:09 |
slangasek | I'm not reading a diff, I'm reading scrollback :) | 01:10 |
infinity | slangasek: Ahh. | 01:10 |
infinity | https://code.launchpad.net/~gruemaster/bacula/960761/+merge/99137 | 01:10 |
infinity | slangasek: Looks like the templates for bacula itself are right, but some cargo-culting oops happened on the *sql plugins, and they got _Description. | 01:10 |
infinity | slangasek: Which, I assume, means no templates at all. | 01:11 |
slangasek | well, using templates without enabling translation support is not "right" | 01:11 |
* slangasek takes a look at the source | 01:11 | |
infinity | Well, FSVO "right". | 01:11 |
infinity | slangasek: To be fair, I'm not sure what the expected behaviour would be here. dh_installdebconf is being called. But yeah, one set of templates uses Description, the other _Description, and no debian/po. | 01:12 |
slangasek | it's even using dh_installdebconf in debian/rules | 01:12 |
GrueMaster | slangasek: My change is exactly the opposite. Check the mysql.template and you will see. | 01:12 |
infinity | slangasek: And I haven't actually looked at the output, just that Tobin claims there are no templates for *sql. | 01:12 |
slangasek | so the right solution here is to run 'debconf-updatepo' and *populate* debian/po | 01:12 |
infinity | slangasek: And to fix bacula.templates to use _? | 01:12 |
slangasek | yes | 01:12 |
GrueMaster | Fair enough. That is something I didn't know. | 01:12 |
infinity | Check. | 01:12 |
infinity | GrueMaster: Now we know. (And knowing is half the battle). | 01:13 |
slangasek | pork chop sandwiches! | 01:13 |
infinity | Who's a body massage MACHINE? | 01:13 |
* GrueMaster thinks infinity sounds like a kids commercial. | 01:13 | |
slangasek | interesting, why does 'debconf-updatepo' fail here for me with an xgettext complaint | 01:13 |
slangasek | oh yes | 01:14 |
slangasek | you have to run 'debconf-gettextize' for the initial poing | 01:14 |
infinity | oh baby? | 01:14 |
infinity | slangasek: Okay, it seriously took me two minutes and many re-readings of "poing" before I realized it was neither a typo, nor a word I didn't know, but a verbification of "po". | 01:16 |
infinity | slangasek: Ouch. | 01:16 |
slangasek | sed -i -e's/_Description/Description/' debian/*.templates && debconf-gettextize debian/*.templates | 01:16 |
slangasek | infinity: you're welcome | 01:16 |
slangasek | GrueMaster: ^^ that's the "right" fix here | 01:16 |
infinity | I always have great confidence when "right" is in quotes. | 01:17 |
GrueMaster | Ok. Noted. | 01:17 |
slangasek | although, here's a fun changelog entry | 01:17 |
slangasek | bacula (3.0.3-3) unstable; urgency=medium | 01:17 |
slangasek | [...] | 01:17 |
slangasek | * This change means that all Bacula debconf templates are finally removed. | 01:17 |
slangasek | As a result, no need for translations remains. Closing open translation | 01:17 |
slangasek | bugs since there is no longer anything to translate in this package. | 01:17 |
slangasek | Closes: #568469. | 01:17 |
slangasek | [...] | 01:17 |
slangasek | -- John Goerzen <jgoerzen@complete.org> Mon, 08 Feb 2010 14:37:04 -0600 | 01:17 |
infinity | *blink* | 01:17 |
infinity | Does it use them in postinst? | 01:17 |
slangasek | so why do we have debconf templates at all if Debian got rid of them in 2010 :) | 01:18 |
infinity | (or have a config?) | 01:18 |
slangasek | in Ubuntu, definitely | 01:18 |
infinity | How bizarre. | 01:19 |
GrueMaster | Well, at least I wrote bug 960761 accurately. | 01:19 |
ubot2` | Launchpad bug 960761 in bacula "Typo in template files for mysql & pgsql director packages" [Medium,Confirmed] https://launchpad.net/bugs/960761 | 01:19 |
slangasek | so the *real* right solution here is to get this in some kind of sensible sync with Debian and then watch the bug factor itself out | 01:20 |
slangasek | and I therefore officially don't care which expedient solution you use to get it building in the meantime ;P | 01:20 |
=== yofel_ is now known as yofel | ||
jimerickson | is anyone getting any video output with todays omap4+armhf image? | 14:36 |
=== panda is now known as Guest14119 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!