RPM Community Forums

Mailing List Message of <popt-devel>

Re: Old Red Hat Bugzilla bug reports with popt issues

From: Jeff Johnson <n3npq@mac.com>
Date: Tue 14 Aug 2007 - 14:37:31 CEST
Message-Id: <04FCC45E-89C6-4345-91DA-C013B2C2ABF3@mac.com>

On Aug 14, 2007, at 4:49 AM, Göran Uddeborg wrote:

>>  - Bugzilla Bug 102254: popt messages need explicit domain with  
>> dgettext()
>>    https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=102254
>>    -> As per http://rpm5.org/cvs/chngview?cn=8187, this bug report  
>>    seems to be partially solved; any comments Göran?
> I haven't looked at the patch, but I tried to rebuild popt-1.12-1 as
> you suggested.  It did, however, NOT help.  (See my bugzilla comment
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=102254#c25 for
> details.)
> Either its not fixed, or I miss something.

What you miss is that there are 2 strings in popt.h, which are added  
to application
tables, but need to use the "popt" domain.

The patch compares msgid values and uses dgettext in the "popt"  
domain when

Technically, since the strings are compiled into application popt  
tables, the strings
should be handled by the application, not popt. But all depends on  
whether the 2
occurences of N_(...) are seen when generating application PO tables.

73 de Jeff
Received on Tue Aug 14 14:37:42 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.