[00:41] 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:42] and if you change something to use _Description, you should also be running debconf-updatepo as part of preparing the source [01:09] 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:10] I'm not reading a diff, I'm reading scrollback :) [01:10] slangasek: Ahh. [01:10] https://code.launchpad.net/~gruemaster/bacula/960761/+merge/99137 [01:10] 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:11] slangasek: Which, I assume, means no templates at all. [01:11] well, using templates without enabling translation support is not "right" [01:11] * slangasek takes a look at the source [01:11] Well, FSVO "right". [01:12] 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] it's even using dh_installdebconf in debian/rules [01:12] slangasek: My change is exactly the opposite. Check the mysql.template and you will see. [01:12] slangasek: And I haven't actually looked at the output, just that Tobin claims there are no templates for *sql. [01:12] so the right solution here is to run 'debconf-updatepo' and *populate* debian/po [01:12] slangasek: And to fix bacula.templates to use _? [01:12] yes [01:12] Fair enough. That is something I didn't know. [01:12] Check. [01:13] GrueMaster: Now we know. (And knowing is half the battle). [01:13] pork chop sandwiches! [01:13] Who's a body massage MACHINE? [01:13] * GrueMaster thinks infinity sounds like a kids commercial. [01:13] interesting, why does 'debconf-updatepo' fail here for me with an xgettext complaint [01:14] oh yes [01:14] you have to run 'debconf-gettextize' for the initial poing [01:14] oh baby? [01:16] 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] slangasek: Ouch. [01:16] sed -i -e's/_Description/Description/' debian/*.templates && debconf-gettextize debian/*.templates [01:16] infinity: you're welcome [01:16] GrueMaster: ^^ that's the "right" fix here [01:17] I always have great confidence when "right" is in quotes. [01:17] Ok. Noted. [01:17] although, here's a fun changelog entry [01:17] bacula (3.0.3-3) unstable; urgency=medium [01:17] [...] [01:17] * This change means that all Bacula debconf templates are finally removed. [01:17] As a result, no need for translations remains. Closing open translation [01:17] bugs since there is no longer anything to translate in this package. [01:17] Closes: #568469. [01:17] [...] [01:17] -- John Goerzen Mon, 08 Feb 2010 14:37:04 -0600 [01:17] *blink* [01:17] Does it use them in postinst? [01:18] so why do we have debconf templates at all if Debian got rid of them in 2010 :) [01:18] (or have a config?) [01:18] in Ubuntu, definitely [01:19] How bizarre. [01:19] Well, at least I wrote bug 960761 accurately. [01:19] Launchpad bug 960761 in bacula "Typo in template files for mysql & pgsql director packages" [Medium,Confirmed] https://launchpad.net/bugs/960761 [01:20] 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] and I therefore officially don't care which expedient solution you use to get it building in the meantime ;P === yofel_ is now known as yofel [14:36] is anyone getting any video output with todays omap4+armhf image? === panda is now known as Guest14119