tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xgettext with UI files support



Hi,

Could you please provide me your opinion about
http://mail-index.netbsd.org/tech-pkg/2015/06/21/msg015071.html ?

My e-mail may be in your spam box...

Thank you.

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Sun, 21 Jun 2015 15:26:45 +0900 (JST)

> Hi,
> 
> From: Jonathan Perkin <jperkin%joyent.com@localhost>, Date: Mon, 15 Jun 2015 16:08:24 +0100
> 
>> * On 2015-06-15 at 16:00 BST, Ryo ONODERA wrote:
>> 
>>> My commit to x11/gtk3 was wrong.
>>> How about the following patches?
>>> If REQUIRE_XGETTEXT_WITH_UI_FILES_SUPPORT=yes, xgettext>=0.18.3 from
>>> devel/gettext-tools is used.
>> 
>> I really don't like that variable name, it's way too long.
>> 
>> I'd also prefer to see a more general way of requiring specific
>> versions of USE_TOOLS (e.g. USE_TOOLS+= xgettext>=0.18.3 or something)
>> rather than adding special cases like this all over the place,
>> especially during a freeze.
>> 
>> Can we go with a simpler, non-infrastructure fix for now and discuss a
>> general purpose solution post-freeze?
> 
> Could you explain me your idea about USE_TOOLS+=xgettext>=0.18.3?
> The version number 0.18.3 should be compared to '/usr/bin/xgettext --version'
> or 'pkg_info gettext-tools'?
> 
> I have included my work-in-progress patch for latter case.
> mk/replace.mk in pkgsrc current uses version numbers from
> 'pkg_info TOOLPACKAGE'. However for xgettext in x11/gtk3 case,
> I must see '/usr/bin/xgettext --version' because if my environment has
> xgettext 0.18.3 or later in base, I should use xgettext from base.
> 

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index