ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] странности с xchat
@ 2001-01-28 19:19 Anton Farygin
  2001-01-29  3:05 ` Aleksey Novodvorsky
  0 siblings, 1 reply; 9+ messages in thread
From: Anton Farygin @ 2001-01-28 19:19 UTC (permalink / raw)
  To: devel

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

Итак, собираем 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-01-29 16:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-28 19:19 [devel] странности с xchat Anton Farygin
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

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