[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext catalog files installation location
From: |
Joey Mingrone |
Subject: |
Re: gettext catalog files installation location |
Date: |
Tue, 5 May 2009 17:22:10 -0700 |
A bit more information from my earlier post below...
The relevant parts of the author's configure.in seem to be:
#####
GETTEXT_PACKAGE=parcellite
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [gettext package])
ALL_LINGUAS="de es hu ja pt_BR sv"
AM_GLIB_GNU_GETTEXT()
AC_PROG_INTLTOOL([0.23])
parcellitelocaledir='${prefix}/${DATADIRNAME}/locale'
AC_SUBST(parcellitelocaledir)
AM_GNU_GETTEXT([external])
###
I thought the problem was that ${DATADIRNAME} contained 'lib' instead
of 'share', but when I hardcode the value for parcellitelocaledir to
/usr/local/share/locale I see changes in the make output to show
...-DPARCELLITELOCALEDIR=/usr/local/share/locale, but the files still
end up getting installed in /usr/local/lib/locale.
Joey
On Tue, May 5, 2009 at 12:55, Joey Mingrone <address@hidden> wrote:
> Hello;
>
> I'm still working on the FreeBSD port I wrote about a few days ago.
>
> I think the last main hurdle is to get the gettext catalog files to
> install in /usr/local/share/locale/ instead of the default
> /usr/local/lib/locale/ (when configure is run with no arguments).
>
> Even when I run:
>
> ./configure --localedir=/usr/local/share/locale
>
> the directory tree starting at /usr/local/lib/locale is created (e.g.
> /usr/local/lib/locale/de/LC_MESSAGES/parcellite.mo gets installed).
>
> The source is still available at
> http://mingrone.org/misc/parcellite-0.9.1 for anyone willing to take a
> look.
>
> Thanks for any help in advance.
>
> As an aside, it seems strange the catalog files get installed in
> /usr/local/lib/locale/ since it says on the gettext manual page: "The
> default value for dir_name is system specific. For the GNU library,
> and for packages adhering to its conventions, it's:
> /usr/local/share/locale".
>
> Joey
>