This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: normalize_codeset


Ulrich Drepper writes:

> > This has the consequence that the ru_RU.KOI8-R locale (installed by
> > "make localedata/install-locales") is really called ru_RU.KOI8-R.
> 
> It should not be.

Then here is a patch to change localedata/Makefile.

2000-08-07  Bruno Haible  <haible@clisp.cons.org>

	* localedata/Makefile (install-locales): Apply the same codeset
	normalization as localedef does.

*** glibc-cvs/localedata/Makefile.bak	Tue Aug  1 13:53:03 2000
--- glibc-cvs/localedata/Makefile	Mon Aug  7 14:24:56 2000
***************
*** 186,194 ****
  	$(..)./scripts/mkinstalldirs $(inst_localedir)
  	while read locale charset; do \
  	   case $$locale in \#*) continue;; esac; \
! 	   $(LOCALEDEF) -i locales/`echo $$locale | sed 's/\([^.]*\).*/\1/'` \
! 			-c -f charmaps/$$charset \
! 			$(inst_localedir)/$$locale; \
  	done < SUPPORTED
  
  # The mbwc-tests need some environment setup to find the locale data files
--- 186,195 ----
  	$(..)./scripts/mkinstalldirs $(inst_localedir)
  	while read locale charset; do \
  	   case $$locale in \#*) continue;; esac; \
! 	   prefix=`echo $$locale | sed -e 's/\([^.]*\).*/\1/'`; \
! 	   suffix=`echo $$locale | sed -e 's/^[^.]*//' -e 's/[^a-zA-Z0-9.]//g' | tr A-Z a-z`; \
! 	   $(LOCALEDEF) -i locales/$$prefix -c -f charmaps/$$charset \
! 			$(inst_localedir)/$$prefix$$suffix; \
  	done < SUPPORTED
  
  # The mbwc-tests need some environment setup to find the locale data files

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]