Your message dated Mon, 16 Jul 2007 23:03:41 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#433314: Makefile.in.in: Shouldn't itlocaledir use datadir?!
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: intltool
Version: 0.35.5-4
Severity: normal

FWIW, I encountered the following while working on DeSmuME (http://desmume.org).

I'm using intltoolize to generate the scripts and therefore copies
/usr/share/intltool/Makefile.in.in in po/ .

Building with --datadir=/usr/share/games i noticed that locale files
were installed in /usr/share/locale even though i was expecting it to
be in /usr/share/games/locale.

Looking closer at /usr/share/intltool/Makefile.in.in, i noticed that
unlike /usr/share/gettext/po/Makefile.in.in and $localedir, the
localedir is built using...
$(prefix):      /usr
$(DATADIRNAME): /share
locale:         /locale

I was expecting $(datadir)/locale ...
Is this a bug are locales should always be in $(prefix)/$(DATADIRNAME)/locale ?

Thanks,

-Pascal

-- System Information:
Debian Release: lenny/sid
 APT prefers unstable
 APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-1-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_CA, LC_CTYPE=fr_CA (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages intltool depends on:
ii  automake [automaken]     1:1.10+nogfdl-1 A tool for generating GNU Standard
ii  file                     4.21-1          Determines file type using "magic"
ii  gettext                  0.16.1-2        GNU Internationalization utilities
ii  libxml-parser-perl       2.34-4.2        Perl module for parsing XML files
ii  patch                    2.5.9-4         Apply a diff file to an original
ii  perl                     5.8.8-7         Larry Wall's Practical Extraction

intltool recommends no packages.

-- no debconf information
--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
LACIME: École de technologie supérieure (http://lacime.etsmtl.ca)


--- End Message ---
--- Begin Message ---
And so it seems i was the culprit!
I'm sorry for the noise, autotools doesn't put the localedir as
datadir/locale _I was doing it_.

Again, sorry for my "bétise" this was a false report.
I'm closing this bug has it doesn't even exists.

-Pascal

On 7/16/07, Pascal Giard <[EMAIL PROTECTED]> wrote:
On 7/16/07, Josselin Mouette <[EMAIL PROTECTED]> wrote:
> Currently all games have their data in /usr/share/games and their locale
> files in /usr/share/locale. I can't think of a reason to change that.
> Plus, it would break things like localepurge.

Hi Josselin,
 i wasn't aware that most games had their locale in /usr/share/locale
as the only translated game i have (i.e. xmoto) has it in
/usr/share/games/locale . But after installing wesnoth i notice that
it puts it into /usr/share/locale as you say.

I was unable to find anything about locale and games in the debian
guides/manuals.
So my bugreport was more like a question.

That being said... /usr/share/intltool/Makefile.in.in doesn't act like
autotools and that still seems very weird to me.
i.e. I need to tell builders to overwrite localedir if they overwrite
datadir as autotools constructs localedir as datadir/locale and
/usr/share/intltool/Makefile.in.in with prefix/datadirname/locale .

Anyway, thanks a bunch for the clarifications!!
I'll modify my packaging files accordingly.

-Pascal
PS: This is a bit off topic, but do you know how i could make
localization work without having to install or modify Makefile.in.in?
I'm one of those who prefer not to add autogenerated files in the CVS
and have the builders call intltoolize to create them.
--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
LACIME: École de technologie supérieure (http://lacime.etsmtl.ca)



--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
LACIME: École de technologie supérieure (http://lacime.etsmtl.ca)

--- End Message ---

Reply via email to