[crossfire] [PATCH 1/1] GTK 2+ client: fix for locale dir. reference in Makefile.am; other autotools issues

David McIlwraith archaios at archaios.net
Sat Dec 3 17:20:15 CST 2011


Hi,

Would someone please apply this patch to SVN? I am aware NLS support
is not currently used, but it seems incongruous to fail to use
$(localedir), and I have been forced to include the patch in
ArchLinux's AUR crossfire-client-svn
(https://aur.archlinux.org/packages.php?ID=34483).

Regards,
- David McIlwraith <archaios at archaios.net>

On Fri, Nov 18, 2011 at 10:59 PM, David McIlwraith
<archaios at archaios.net> wrote:
> Sorry,
>
> Correct patch attached (whitespace issues). Otherwise, details as per
> message 0/1.
>
> Regards,
> - David McIlwraith <archaios at archaios.net>
> ArchLinux AUR 'crossfire-client' / 'crossfire-client-svn' package maintainer
>
> On Fri, Nov 18, 2011 at 10:39 PM, David McIlwraith
> <archaios at archaios.net> wrote:
>> Proposed fix for GTK 2+ Makefile.am reference to locale directory.
>> "$(DATADIRNAME)" is not defined in newest autotools versions, and
>> "$(localedir)" is preferred.
>>
>> Signed-off-by: David McIlwraith <archaios at archaios.net>
>> ---
>>  Makefile.am |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> Index: gtk-v2/src/Makefile.am
>> ===================================================================
>> --- gtk-v2/src/Makefile.am      (revision 15791)
>> +++ gtk-v2/src/Makefile.am      (working copy)
>> @@ -21,7 +21,7 @@
>>
>>  INCLUDES = \
>>        -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
>> -       -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
>> +       -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
>>        -I$(top_builddir)/common \
>>        -I$(top_srcdir)/common \
>>        -I$(top_srcdir)/common/shared \
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crossfire-client-svn-fix-gtk2-localedir.patch
Type: text/x-patch
Size: 749 bytes
Desc: not available
URL: <http://mailman.metalforge.org/pipermail/crossfire/attachments/20111204/45d984c1/attachment.bin>


More information about the crossfire mailing list