/srv/irclogs.ubuntu.com/2012/03/24/#ubuntu-arm.txt

slangasekGrueMaster: templates should have _Description only if they're being postprocessed with dh_installdebconf to merge in translations from debian/po at build time00:41
slangasekand if you change something to use _Description, you should also be running debconf-updatepo as part of preparing the source00:42
infinityslangasek: 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
slangasekI'm not reading a diff, I'm reading scrollback :)01:10
infinityslangasek: Ahh.01:10
infinityhttps://code.launchpad.net/~gruemaster/bacula/960761/+merge/9913701:10
infinityslangasek: 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
infinityslangasek: Which, I assume, means no templates at all.01:11
slangasekwell, using templates without enabling translation support is not "right"01:11
* slangasek takes a look at the source01:11
infinityWell, FSVO "right".01:11
infinityslangasek: 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
slangasekit's even using dh_installdebconf in debian/rules01:12
GrueMasterslangasek: My change is exactly the opposite.  Check the mysql.template and you will see.01:12
infinityslangasek: And I haven't actually looked at the output, just that Tobin claims there are no templates for *sql.01:12
slangasekso the right solution here is to run 'debconf-updatepo' and *populate* debian/po01:12
infinityslangasek: And to fix bacula.templates to use _?01:12
slangasekyes01:12
GrueMasterFair enough.  That is something I didn't know.01:12
infinityCheck.01:12
infinityGrueMaster: Now we know.  (And knowing is half the battle).01:13
slangasekpork chop sandwiches!01:13
infinityWho's a body massage MACHINE?01:13
* GrueMaster thinks infinity sounds like a kids commercial.01:13
slangasekinteresting, why does 'debconf-updatepo' fail here for me with an xgettext complaint01:13
slangasekoh yes01:14
slangasekyou have to run 'debconf-gettextize' for the initial poing01:14
infinityoh baby?01:14
infinityslangasek: 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
infinityslangasek: Ouch.01:16
slangaseksed -i -e's/_Description/Description/' debian/*.templates && debconf-gettextize debian/*.templates01:16
slangasekinfinity: you're welcome01:16
slangasekGrueMaster: ^^ that's the "right" fix here01:16
infinityI always have great confidence when "right" is in quotes.01:17
GrueMasterOk.  Noted.01:17
slangasekalthough, here's a fun changelog entry01:17
slangasekbacula (3.0.3-3) unstable; urgency=medium01: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 translation01: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 -060001:17
infinity*blink*01:17
infinityDoes it use them in postinst?01:17
slangasekso 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
slangasekin Ubuntu, definitely01:18
infinityHow bizarre.01:19
GrueMasterWell, 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/96076101:19
slangasekso the *real* right solution here is to get this in some kind of sensible sync with Debian and then watch the bug factor itself out01:20
slangasekand I therefore officially don't care which expedient solution you use to get it building in the meantime ;P01:20
=== yofel_ is now known as yofel
jimericksonis 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!