RPM Community Forums

Mailing List Message of <rpm-devel>

Re: xgettext doesn't understand defines

From: Jeff Johnson <n3npq@mac.com>
Date: Sat 02 Feb 2008 - 14:15:27 CET
Message-Id: <2058FD2F-520A-4E47-AED0-4CD602E00935@mac.com>

On Feb 2, 2008, at 5:45 AM, Göran Uddeborg wrote:

> Göran Uddeborg writes:
>>     fprintf(fp, _("%s (" RPM_NAME ") %s\n"), __progname, rpmEVR);
>>
>> Unfortunately, xgettext ... doesn't expand RPM_NAME.
>
> Just so noone misunderstands:  Since RPM_NAME is defined at configure
> time, it wouldn't help if xgettext could expand in this particular
> case.  But even if RPM_NAME would have been #define:d on the line
> above, xgettext would have failed.  So there are two problems in the
> above example.

Sorry for not notifying: I checked in fixes last night.

73 de Jeff
Received on Sat Feb 2 14:15:35 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.