Remove the obsolete vim-lang instructions and variable, and add non-wide-

charater ncurses library
This commit is contained in:
Pierre Labastie 2019-09-05 17:22:04 +00:00
parent 91b5249f05
commit 085435e66f
9 changed files with 19 additions and 42 deletions

View file

@ -40,7 +40,7 @@ Build Settings --->
[*] Build the kernel [*] Build the kernel
Kernel config file ($HOME/config-4.15-lfs-1) Kernel config file ($HOME/config-4.15-lfs-1)
[ ] Strip Installed Binaries/Libraries [ ] Strip Installed Binaries/Libraries
[ ] Install vim-lang package [ ] Install non-wide-character ncurses
[ ] DO NOT use/display progress_bar [ ] DO NOT use/display progress_bar
TimeZone (Europe/Paris) TimeZone (Europe/Paris)
Language (fr_FR.UTF-8) Language (fr_FR.UTF-8)
@ -99,7 +99,7 @@ Build Settings --->
[*] Build the kernel [*] Build the kernel
Kernel config file ($HOME/config-4.15-lfs-systemd Kernel config file ($HOME/config-4.15-lfs-systemd
[ ] Strip Installed Binaries/Libraries [ ] Strip Installed Binaries/Libraries
[ ] Install vim-lang package [ ] Install non-wide-character ncurses
[ ] DO NOT use/display progress_bar [ ] DO NOT use/display progress_bar
TimeZone (America/Los_Angeles) TimeZone (America/Los_Angeles)
Language (en_US.UTF-8) Language (en_US.UTF-8)
@ -163,7 +163,7 @@ Build Settings --->
[*] Build the kernel [*] Build the kernel
Kernel config file ($HOME/config-4.15-clfs-systemd Kernel config file ($HOME/config-4.15-clfs-systemd
[ ] Strip Installed Binaries/Libraries [ ] Strip Installed Binaries/Libraries
[ ] Install vim-lang package [ ] Install non-wide-character ncurses
[ ] DO NOT use/display progress_bar [ ] DO NOT use/display progress_bar
TimeZone (Australia/Sydney) TimeZone (Australia/Sydney)
Language (en_AU.UTF-8) Language (en_AU.UTF-8)

View file

@ -31,9 +31,6 @@
--> -->
<xsl:param name="bomb-testsuite" select="n"/> <xsl:param name="bomb-testsuite" select="n"/>
<!-- Install vim-lang package? OBSOLETE should always be 'n'-->
<xsl:param name="vim-lang" select="n"/>
<!-- Time zone --> <!-- Time zone -->
<xsl:param name="timezone" select="GMT"/> <xsl:param name="timezone" select="GMT"/>
@ -113,9 +110,6 @@
<xsl:if test="sect2[@role='installation'] and <xsl:if test="sect2[@role='installation'] and
not(@id='ch-system-multiarch-wrapper')"> not(@id='ch-system-multiarch-wrapper')">
<xsl:text>cd $PKGDIR&#xA;</xsl:text> <xsl:text>cd $PKGDIR&#xA;</xsl:text>
<xsl:if test="@id='ch-system-vim' and $vim-lang = 'y'">
<xsl:text>tar -xvf ../vim-&vim-version;-lang.* --strip-components=1&#xA;</xsl:text>
</xsl:if>
</xsl:if> </xsl:if>
<xsl:apply-templates select=".//para/userinput | .//screen"/> <xsl:apply-templates select=".//para/userinput | .//screen"/>
<xsl:if test="not(@id='ch-chroot-chroot')"> <xsl:if test="not(@id='ch-chroot-chroot')">

View file

@ -13,9 +13,6 @@
<!-- XSLT stylesheet to create shell scripts from CLFS2 books. --> <!-- XSLT stylesheet to create shell scripts from CLFS2 books. -->
<!-- Install vim-lang package? -->
<xsl:param name="vim-lang" select="y"/>
<!-- Time zone --> <!-- Time zone -->
<xsl:param name="timezone" select="GMT"/> <xsl:param name="timezone" select="GMT"/>
@ -74,9 +71,6 @@
<xsl:if test="sect2[@role='installation'] and <xsl:if test="sect2[@role='installation'] and
not(@id='ch-cross-tools-sysroot-wrapper')"> not(@id='ch-cross-tools-sysroot-wrapper')">
<xsl:text>cd $PKGDIR&#xA;</xsl:text> <xsl:text>cd $PKGDIR&#xA;</xsl:text>
<xsl:if test="@id='ch-system-vim' and $vim-lang = 'y'">
<xsl:text>tar -xvf ../vim-&vim-version;-lang.* --strip-components=1&#xA;</xsl:text>
</xsl:if>
</xsl:if> </xsl:if>
<xsl:apply-templates select=".//para/userinput | .//screen"/> <xsl:apply-templates select=".//para/userinput | .//screen"/>
<xsl:text>exit</xsl:text> <xsl:text>exit</xsl:text>

View file

@ -927,14 +927,12 @@ menu "System configuration"
# and renamed 'kernel-config' # and renamed 'kernel-config'
#--- End Kernel #--- End Kernel
config VIMLANG config NCURSES5
bool "Install vim-lang package" bool "Install non-wide-character ncurses"
default n default n
depends on !BOOK_HLFS && !BOOK_CLFS3 depends on BOOK_LFS || BOOK_LFS_SYSD
help help
#-- Install the optional vim-lang package #-- Install the optional non wide character ncurses5 library
# NOTE: This option is obsolete with the 7.3 release of Vim
# which is included in all recent releases of LFS.
config TIMEZONE config TIMEZONE
string "TimeZone" string "TimeZone"

View file

@ -41,8 +41,8 @@
--> -->
<xsl:param name="bomb-testsuite" select="'n'"/> <xsl:param name="bomb-testsuite" select="'n'"/>
<!-- Install vim-lang package? OBSOLETE should always be 'n'--> <!-- Install non wide character ncurses 5? -->
<xsl:param name="vim-lang" select="'n'"/> <xsl:param name="ncurses5" select="'n'"/>
<!-- Should we strip excutables and libraries? --> <!-- Should we strip excutables and libraries? -->
<xsl:param name='strip' select="'n'"/> <xsl:param name='strip' select="'n'"/>
@ -357,6 +357,9 @@ fi
@remap='test' and current()/../@id='ch-tools-dejagnu' or @remap='test' and current()/../@id='ch-tools-dejagnu' or
@remap='test' and current()/../@id='ch-system-systemd' @remap='test' and current()/../@id='ch-system-systemd'
]"/> ]"/>
<xsl:if test="../@id='ch-system-ncurses' and $ncurses5='y'">
<xsl:apply-templates select=".//screen[@role='nodump']"/>
</xsl:if>
</xsl:template> </xsl:template>
<xsl:template match="sect1" mode="pkgmngt"> <xsl:template match="sect1" mode="pkgmngt">

View file

@ -100,7 +100,6 @@ extract_commands() { #
--stringparam method "$METHOD" \ --stringparam method "$METHOD" \
--stringparam testsuite "$TEST" \ --stringparam testsuite "$TEST" \
--stringparam bomb-testsuite "$BOMB_TEST" \ --stringparam bomb-testsuite "$BOMB_TEST" \
--stringparam vim-lang "$VIMLANG" \
--stringparam timezone "$TIMEZONE" \ --stringparam timezone "$TIMEZONE" \
--stringparam page "$PAGE" \ --stringparam page "$PAGE" \
--stringparam lang "$LANG" \ --stringparam lang "$LANG" \
@ -116,7 +115,6 @@ extract_commands() { #
echo -n " ${L_arrow}${BOLD}$ARCH${R_arrow} target architecture... " echo -n " ${L_arrow}${BOLD}$ARCH${R_arrow} target architecture... "
xsltproc --nonet \ xsltproc --nonet \
--xinclude \ --xinclude \
--stringparam vim-lang "$VIMLANG" \
--stringparam timezone "$TIMEZONE" \ --stringparam timezone "$TIMEZONE" \
--stringparam page "$PAGE" \ --stringparam page "$PAGE" \
--stringparam lang "$LANG" \ --stringparam lang "$LANG" \
@ -169,7 +167,7 @@ extract_commands() { #
--stringparam revision "$INITSYS" \ --stringparam revision "$INITSYS" \
--stringparam testsuite "$TEST" \ --stringparam testsuite "$TEST" \
--stringparam bomb-testsuite "$BOMB_TEST" \ --stringparam bomb-testsuite "$BOMB_TEST" \
--stringparam vim-lang "$VIMLANG" \ --stringparam ncurses5 "$NCURSES5" \
--stringparam strip "$STRIP" \ --stringparam strip "$STRIP" \
--stringparam del-la-files "$DEL_LA_FILES" \ --stringparam del-la-files "$DEL_LA_FILES" \
--stringparam full-locale "$FULL_LOCALE" \ --stringparam full-locale "$FULL_LOCALE" \

View file

@ -39,16 +39,6 @@ get_sources() { # Download file, write name to MISSING_FILES.DMP if
for line in `cat urls.lst`; do for line in `cat urls.lst`; do
IFS=$saveIFS # Restore the system defaults IFS=$saveIFS # Restore the system defaults
# Skip some packages if they aren't needed
case $line in
*/tree* | */gcc-testsuite* ) #unneeded now?
[[ "$TEST" = "0" ]] && continue
;;
*/vim-*-lang* )
[[ "$VIMLANG" = "0" ]] && continue
;;
esac
# Locations # Locations
URL1=`echo $line | cut -d" " -f2` # Preferred URL URL1=`echo $line | cut -d" " -f2` # Preferred URL
URL2=`echo $line | cut -d" " -f1` # Fallback Upstream URL URL2=`echo $line | cut -d" " -f1` # Fallback Upstream URL

View file

@ -41,11 +41,11 @@ inline_doc
local -r CLFS3_book="$BOOK_common $BOOK_clfsX PLATFORM MIPS_LEVEL" local -r CLFS3_book="$BOOK_common $BOOK_clfsX PLATFORM MIPS_LEVEL"
# Build Settings by book # Build Settings by book
local -r LFS_build="$BUILD_chroot VIMLANG DEL_LA_FILES $BUILD_common PKGMNGT FULL_LOCALE WRAP_INSTALL" local -r LFS_build="$BUILD_chroot NCURSES5 DEL_LA_FILES $BUILD_common PKGMNGT FULL_LOCALE WRAP_INSTALL"
local -r HLFS_build="$BUILD_chroot $BUILD_common" local -r HLFS_build="$BUILD_chroot $BUILD_common"
local -r CLFS_build="$BUILD_chroot VIMLANG $BUILD_common" local -r CLFS_build="$BUILD_chroot $BUILD_common"
local -r CLFS2_build="STRIP VIMLANG $BUILD_common" local -r CLFS2_build="STRIP $BUILD_common"
local -r CLFS3_build=" $BUILD_common" local -r CLFS3_build=" $BUILD_common"
# System Settings by book (only LFS for now) # System Settings by book (only LFS for now)
local -r LFS_system="HOSTNAME INTERFACE IP_ADDR GATEWAY PREFIX BROADCAST DOMAIN DNS1 DNS2 FONT KEYMAP LOCAL LOG_LEVEL" local -r LFS_system="HOSTNAME INTERFACE IP_ADDR GATEWAY PREFIX BROADCAST DOMAIN DNS1 DNS2 FONT KEYMAP LOCAL LOG_LEVEL"

2
jhalfs
View file

@ -160,7 +160,7 @@ WRAP_INSTALL=${WRAP_INSTALL:-n}
BOMB_TEST=${BOMB_TEST:-n} BOMB_TEST=${BOMB_TEST:-n}
STRIP=${STRIP:=n} STRIP=${STRIP:=n}
REPORT=${REPORT:=n} REPORT=${REPORT:=n}
VIMLANG=${VIMLANG:-n} NCURSES5=${NCURSES5:-n}
DEL_LA_FILES=${DEL_LA_FILES:-n} DEL_LA_FILES=${DEL_LA_FILES:-n}
FULL_LOCALE=${FULL_LOCALE:-n} FULL_LOCALE=${FULL_LOCALE:-n}
GRSECURITY_HOST=${GRSECURITY_HOST:-n} GRSECURITY_HOST=${GRSECURITY_HOST:-n}