Thursday 25 November 2021

Re: Proposal: revert recent debianutils changes for Jammy

On Thu, Nov 25, 2021 at 05:16:52PM +0100, Gunnar Hjalmarsson wrote:
> On 2021-11-25 16:56, Robie Basak wrote:
> >It turned out to be a bit of a rabbithole getting the package to rebuild
> >with translated string changes, but I have a work-in-progress branch up
> >here:
> >
> >https://code.launchpad.net/~racb/ubuntu/+source/debianutils/+git/debianutils/+merge/412397
>
> But.. With Ubuntu's language pack arrangement, those translations are
> already in Launchpad. If I understand it correctly, regenerating the POT
> file would have been sufficient.

I had to patch Makefile.am (to build tempfile again). This required
autoreconf (adding some build depends, calling it in debian/rules, etc),
which then attempted to regenerate translations. But that failed because
various source files weren't in the source package, so I patched those
those back in. I'd appreciate being told about a cleaner way to do this :)

On the topic of translations, when I reverted tempfile, I didn't re-add
the translations that were dropped, because that would involve some kind
of re-merge of the previously dropped translations back into the current
files, and I don't know how to do that. So I'm probably dropping
translations in the revert - I haven't yet checked. This was part of my
"needs polish". I'd appreciate some help with this please!

Robie