[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: desktop-i18n in gEDA



On Wed, Feb 24, 2010 at 5:37 AM, Peter TB Brett <peter@xxxxxxxxxxxxx> wrote:
> On Tue, 23 Feb 2010 23:16:49 -0500, Charles Lepple <clepple@xxxxxxxxx>
> wrote:
>>
>> I think the Fedora build is silently accepting the other directory
>> under BUILDROOT:
>>
>> Making install in po
>> make[3]: Entering directory `/builddir/build/BUILD/geda-gaf-1.6.0/
>> libgeda/po'
>> /usr/bin/make prefix=../../.desktop-i18n install &&   cp ./
>> LINGUAS ../../.desktop-i18n/libgeda38.LINGUAS         || rm stamp-i18n
>> make[4]: Entering directory `/builddir/build/BUILD/geda-gaf-1.6.0/
>> libgeda/po'
>> /bin/mkdir -p /builddir/build/BUILDROOT/geda-gaf-1.6.0-3.fc13.i386/usr/
>> share
>> installing nl.gmo as /builddir/build/BUILDROOT/geda-
>> gaf-1.6.0-3.fc13.i386../../.desktop-i18n/share/locale/nl/LC_MESSAGES/
>> libgeda38.mo
>> ...
>>
>
> Wow, that's pretty epicly broken of something, especially since I'm being
> careful to specify the DESKTOP_I18N_LOCALE_DIR relative to $(top_builddir).
> Please check the Makefile in the po directories to verify that
> '@DESKTOP_I18N_LOCALE_DIR@' is expanded to '$(top_builddir)/.desktop-i18n'.

Here's the corresponding portion of libgeda/po/Makefile from 1.6.1 on
my machine: (very similar to 1.6.0 but I forgot to save that build
directory)

> top_builddir = ../..
> MKDIR_P = /sw/bin/gmkdir -p
>
> DESKTOP_I18N_LOCALE_DIR = $(top_builddir)/.desktop-i18n

It seems that DESTDIR is prepended to top_builddir without an
intermediate libgeda/po for the "../.." part to consume.

> I'm open to suggestions as to how to fix this, because I still can't see
> what I've done wrong here. :-|

I don't know either. Are there any other packages which try to use
gettext in this fashion?

-- 
- Charles Lepple


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user