ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@linux.ru.net>
To: devel@linux.iplabs.ru
Subject: [devel] странности с xchat
Date: Sun, 28 Jan 2001 22:19:26 +0300
Message-ID: <3A7470BE.A17FD065@linux.ru.net> (raw)

Господа, может кто подскаже (у вас опыта то побольше чем у меня ;-)

Итак, собираем xchat без поддержки GNOME. Не работают русские сообщения.
Ок, лезем в исходники. Видим там подобное:
#ifndef
USE_GNOME                                                                                              
#ifdef
ENABLE_NLS                                                                                              
                bindtextdomain (PACKAGE,
PREFIX"/share/locale");                                               
                textdomain
(PACKAGE);                                                                          
#endif                                                                                                         
                if (!strcasecmp (argv[1], "-h") || !strcasecmp (argv[1],
"--help"))                            
               
{                                                                                              
                        puts (PACKAGE" "VERSION"
Options:\n\n"                                                 
                                        "   --cfgdir <dir> -d\t : use a
different config dir\n"                
                                        "   --noauto       -a\t : don't
auto connect\n"                        
                                        "   --version      -v\t : show
version information\n");                
                        return
0;                                                                              
               
}                                                                                              
#endif                                                                                                         
       
}                                                                                                      
#ifdef
ENABLE_NLS                                                                                              
#ifdef
USE_GNOME                                                                                               
        bindtextdomain (PACKAGE,
PREFIX"/share/locale");                                                       
        textdomain
(PACKAGE);                                                                                  
#endif                                                                                                         
#endif                                                                                                         
                                                                                                               
        if (argc >
2)                                                                                          
       
{                                                                                                      
                if (!strcasecmp (argv[1], "-d") || !strcasecmp (argv[1],
"--cfgdir"))                          
               
{                                                                                              
                        xdir = strdup
(argv[2]);                                                               
                        if (xdir[strlen (xdir) - 1] ==
'/')                                                    
                                xdir[strlen (xdir) - 1] =
0;                                                   
               
}                                                                                              
       
}                                                                                                      
                                                                                                               
#ifndef
USE_GNOME                                                                                              
        gtk_set_locale
();                                                                                     
#endif 

так вот вопрос: почему не работает локаль без GNOME, когда я убираю
проверки на его включение везде? Что-то недописано?

Rgds
Anton
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel


             reply	other threads:[~2001-01-28 19:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-28 19:19 Anton Farygin [this message]
2001-01-29  3:05 ` Aleksey Novodvorsky
2001-01-29 10:49   ` Anton Farygin
2001-01-29 15:36     ` Aleksey Novodvorsky
2001-01-29 11:28       ` Anton Farygin
2001-01-29 11:41       ` Anton Farygin
2001-01-29 16:28         ` Aleksey Novodvorsky
2001-01-29 12:08           ` Anton Farygin
2001-01-29 12:29           ` Anton Farygin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A7470BE.A17FD065@linux.ru.net \
    --to=rider@linux.ru.net \
    --cc=devel@linux.iplabs.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git