tech-pkg archive

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

Re: xgettext with UI files support



Le 17/06/15 23:39, Richard PALO a écrit :
> Le 17/06/15 17:42, Ryo ONODERA a écrit :
>> Hi,
>>
>> From: Richard PALO <richard%netbsd.org@localhost>, Date: Tue, 16 Jun 2015 12:13:34 +0200
>>
>>> Le 15/06/15 17:00, Ryo ONODERA a écrit :
>> (snip)
>>>
>>> It looks like there are plenty of us working on gettext lately!
>>>
>>> Perhaps this should be all overhauled, as there is another issue that needs addressing
>>> namely the fact that configure scripts frequently look for the g' prefixed flavours of
>>> the programs as well (in order to avoid a mix of pkgsrc and native gettext being used as
>>> currently is frequently the case, for example, on SunOS).
>>>
>>> The easy part is converting gettext-tools to do like GNU binutils or diffutils and
>>> put the g' flavour in bin with symlinks in $PKGGNUDIR/bin, but the TOOLS also need to do the right thing.
>>>
>>> Can we do this a bit more formalistic?
>>
>> Could you provide me any hint about what problem is fixed with g-prefix?
>>
>> Thank you.
>>
>>> -- 
>>> Richard PALO
>>>
> 
> most solaris platforms traditionally have *at least* native gettext, msgfmt, and xgettext
> in /usr/gnu/bin and g-prefixed binaries in /usr/bin.
> 
> The problem to be fixed is when pkgsrc gettext-tools should be used, but
> with the g-prefix, GNU configure can pick up native for those *and then*
> pkgsrc gettext for the rest.
> 
> For a example, take a look at databases/gnome-mime-data wrt gmsgfmt.
> 
> cheers
> 

BTW, this was a good test package... revealing missing dependencies:
> richard@omnis:/home/richard/src/pkgsrc/databases/gnome-mime-data$ git diff master .
> diff --git a/databases/gnome-mime-data/Makefile b/databases/gnome-mime-data/Makefile
> index c3b40df..04dc681 100644
> --- a/databases/gnome-mime-data/Makefile
> +++ b/databases/gnome-mime-data/Makefile
> @@ -14,11 +14,13 @@ COMMENT=            MIME and Application database for GNOME2
>  CONFLICTS=             gnome-vfs<=1.0.3
>  
>  USE_PKGLOCALEDIR=      YES
> -USE_TOOLS+=            intltool msgfmt perl gmake
> +USE_TOOLS+=            intltool msgfmt msgmerge perl gmake xgettext
>  GNU_CONFIGURE=         YES
>  
>  PKGCONFIG_OVERRIDE=    gnome-mime-data-2.0.pc.in
>  
> +BUILD_DEPENDS+=        p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
> +
>  CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
>  
>  EGDIR=                 ${PREFIX}/share/examples/gnome-mime-data

This was revealed subsequent to all the recent p5-* bumps.
Something to deal with prior to or after the Q2 release?
-- 
Richard PALO



Home | Main Index | Thread Index | Old Index