[Pkg-pascal-devel] fpc postinst & windres

Paul Gevers elbrus at debian.org
Tue Sep 23 20:05:38 UTC 2014


Hi all,

I am working on the Dutch translation for the fpc debconf questions and
I am proposing the following changes:

- Move the string for "Select manually" to the templates, so that it can
properly be translated. (Some translations already have it translated in
the paragraph that mention it).
- Don't code the string in the .config file  (it is currently DIFFERENT
than the template thinks).

To achieve that, I propose the attached diff. Problem is, I am not 100%
sure if ${VAR##bla} is understood in all shell implementations. Does
anybody know?

Also, it seems to me that the handling of the configuration file in
fp-compiler.postinst is wrong. It changes the file unconditionally,
while policy mandates that local changes should be honored. As debconf
can not be trusted to store the latest manual changes to the
configuration file, we need to process the file and tell debconf what
the current value is. I haven't come up with a fix yet, but I remember
there are tools (like ucf) that do these kind of things, so we (=I?)
should investigate.

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Let-Select-manually-be-translatable-in-debconf-quest.patch
Type: text/x-diff
Size: 2210 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20140923/7bf4c209/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20140923/7bf4c209/attachment.sig>


More information about the Pkg-pascal-devel mailing list