From: Perforce Review Daemon <p4review AT smee.org>
To: "Andrew Stitt" <a AT t.armory.com>, "Arjan Bouter" <abouter AT gmail.com>, "Arwed von Merkatz" <v.merkatz AT gmx.net>, "SM-Commit Daemon" <sm-commit AT lists.ibiblio.org>, "David Michael Leo Brown Jr." <dmlb2000 AT gmail.com>, "David Kowis" <dkowis+smgl-p4 AT shlrm.org>, "duane_malcolm" <d.malcolm AT auckland.ac.nz>, "Eric Sandall" <eric AT sandall.us>, "Jason Flatt" <jflatt AT sourcemage.org>, "Jeremy Blosser" <jblosser AT sourcemage.org>, "Ladislav Hagara" <ladislav.hagara AT unob.cz>, "Pieter Lenaerts" <e-type AT sourcemage.org>, "Pol Vinogradov" <vin.public AT gmail.com>, "Robin Cook" <rcook AT wyrms.net>, "vladimir_marek" <vlmarek AT volny.cz>
Subject: [SM-Commit] PERFORCE change 76652 by Arwed von Merkatz for review
Date: Thu, 23 Mar 2006 21:15:05 +0000 (GMT)
Change 76652 by arwed_von_merkatz@arwed-Otherland on 2006/03/23 21:13:41
fixed utf8 locale generation, general variable cleanup
@@ -1,4 +1,8 @@
-config_query LOCALE_UTF "Would you like to generate UTF-8 locale data
(Unicode) as well as the native charset data?" y
+if [ -z "$LOCALE_UTF" ]; then
+ LOCALE_UTF=${GLIBC_UTF:-y}
+fi &&
+config_query LOCALE_UTF "Would you like to generate UTF-8 locale data
(Unicode) as well as the native charset data?" y &&
+persistent_remove GLIBC_UTF &&
#
# Don't use config_query here or you'll regret it ;)
# If you do, after a user says 'y' to configuring the locales,
@@ -6,20 +10,27 @@
# locale is recast with `cast -r locale`, which would also remove
# the selected locales and you'd need to reconfigure them again...
#
+if [ -z "$LOCALE_LOCALES" ]; then
+ if [ "$GLIBC_LOCALES" ]; then
+ persistent_add LOCALE_LOCALES &&
+ LOCALE_LOCALES=${GLIBC_LOCALES}
+ fi
+fi &&
+persistent_remove GLIBC_LOCALES &&
if query "Would you like to select locales?" n; then
- local GLIBC_LOCALES_LIST &&
- persistent_add GLIBC_LOCALES &&
- GLIBC_LOCALES_LIST=`cat $SCRIPT_DIRECTORY/locales` &&
+ local LOCALE_LOCALES_LIST &&
+ persistent_add LOCALE_LOCALES &&
+ LOCALE_LOCALES_LIST=`cat $SCRIPT_DIRECTORY/locales` &&
BACKTITLE="Locale Configuration" &&
TITLE="Locale Selection" &&
HELP="Translated messages are automatically installed, but the locale
database that controls other behavior is not.
Please select desired locale or locales.
If none are selected then all will be installed." &&
@@ -1,5 +1,5 @@
SPELL=locale
- VERSION=0.0.1
+ VERSION=0.0.2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
WEB_SITE=http://www.gnu.org/software/libc
LICENSE[0]=LGPL
@@ -7,6 +7,7 @@
ENTERED=20050909
UPDATED=20050909
GATHER_DOCS=off
+ KEYWORDS="libs"
SHORT="This spell helps to select system locale"
cat << EOF
This spell helps to select system locale. It displays a nice menu where you
can select one or more locales you want.
@@ -1,3 +1,24 @@
+2006-03-23 Arwed v. Merkatz <v.merkatz AT gmx.net>
+ * DETAILS: updated version to 0.0.2
+ * CONFIGURE, INSTALL: use LOCALE_ for all variable names instead of
+ GLIBC_, fixes utf8 locale generation as that used both,
+ default to old values of GLIBC_ variables, persistent_remove those
+
+2006-03-12 Karsten Behrmann <BearPerson AT sourcemage.org>
+ * DETAILS: (automated) Add KEYWORDS
+
+2006-02-22 Juuso Alasuutari <juuso.alasuutari AT tamperelainen.org>
+ * DETAILS: ...and PATCHLEVEL removed again, no need for
+ recompile :)
+ * REPAIR^none^volatiles: added
+
+2006-02-21 Juuso Alasuutari <juuso.alasuutari AT tamperelainen.org>
+ * DETAILS: ..forgot to add PATCHLEVEL
+
+2006-02-21 Juuso Alasuutari <juuso.alasuutari AT tamperelainen.org>
+ * volatiles: added for /usr/lib/locale/locale-archive so that
+ adding and removing locales doesn't frighten cleanse
+
2005-12-22 Arwed v. Merkatz <v.merkatz AT gmx.net>
* DETAILS: don't need glibc sources, actually archive stuff
* PREPARE, CONFIGURE: moved UTF8 query to CONFIGURE, removed PRE_BUILD