-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to recent version of the libraries and tools, but keep the former terminfo-db to stay compatible with ver 5.7, which can not handle newer 32-bit terminfo definitions. A proper update could be done by uninstalling ncurses_terminfo_compat and omitting the deletion of the terminfo tree in ncurses.be0 Update procedure: #> bee remove ncurses-5.7-0.x86_64 #> bee install ncurses_compat-5.7-1 #> bee install ncurses_terminfo_compat-5.7-0 #> bee install ncurses-6.2-0.x86_64
- Loading branch information
Showing
4 changed files
with
103 additions
and
51 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
#!/bin/env beesh | ||
|
||
# BEE_VERSION ncurses-6.2-0 | ||
|
||
# SRCURL[0]="https://ftp.gnu.org/gnu/ncurses/ncurses-${PKGVERSION}.tar.gz" | ||
SRCURL[0]="https://beehive.molgen.mpg.de/e812da327b1c2214ac1aed440ea3ae8d/ncurses-6.2.tar.gz" | ||
|
||
PATCHES[0]="" | ||
|
||
# this gives the standard flags in DEFCONFIG | ||
BEE_BUILDTYPE=autotools | ||
|
||
mee_configure() { | ||
: | ||
} | ||
|
||
# suppress some config options, or bee_configure will wail around | ||
IGNORE_DATAROOTDIR=yes | ||
|
||
mee_build() { | ||
|
||
cd ${S} | ||
|
||
for WIDEC in --disable-widec --enable-widec; do | ||
|
||
test -e Makefile && make clean | ||
bee_configure \ | ||
$WIDEC \ | ||
--with-shared \ | ||
--enable-symlinks \ | ||
--enable-pc-files \ | ||
--with-pkg-config-libdir=${LIBDIR}/pkgconfig \ | ||
--with-termlib=tinfo \ | ||
--with-ticlib=tic \ | ||
--with-cxx-shared \ | ||
--without-normal \ | ||
--without-debug | ||
|
||
|
||
make $BEE_MAKEFLAGS | ||
make install DESTDIR=${D} | ||
|
||
done | ||
|
||
# Use loader scripts to make sure tinfo works even without explicit -ltinfo | ||
# And bow before software requiring curses w/o the n | ||
( cd ${D}${LIBDIR} | ||
rm -vf libcurses.so libcursesw.so libncurses.so libncursesw.so libtermcap.so | ||
echo "INPUT(libncurses.so.6 -ltinfo)" > libncurses.so | ||
echo "INPUT(libncursesw.so.6 -ltinfo)" > libncursesw.so | ||
echo "INPUT(-ltinfo)" > libtermcap.so | ||
echo "INPUT(-lncurses)" > libcurses.so | ||
echo "INPUT(-lncursesw)" > libcursesw.so | ||
) | ||
|
||
|
||
} | ||
|
||
mee_install() { | ||
: | ||
} | ||
|
||
mee_install_post() { | ||
|
||
# so far ncurses 'believes' it has a complete terminfo database, but | ||
# whilst migrating to ncurses-6 give room for the former (aka compat) database | ||
rm -r ${D}/usr/share/terminfo/* | ||
|
||
# drop 877 entries no one will ever read ... | ||
rm -r ${D}${MANDIR}/man3 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION ncurses_compat-5.7-1 | ||
|
||
# Careful! Old ncurses_compat-5.7-0 contains ncurses (the one w/o w at the end). | ||
# What could be misleading. | ||
|
||
SRCURL[0]="" | ||
|
||
mee_install() { | ||
cd ${D} | ||
tar xpf /src/mariux/beeroot/packages/ncurses-5.7-0.x86_64.bee.tar.bz2 \ | ||
/lib/libncursesw.so.5.7 /lib/libncursesw.so.5 \ | ||
/usr/lib/libformw.so.5.7 /usr/lib/libformw.so.5 \ | ||
/usr/lib/libmenuw.so.5.7 /usr/lib/libmenuw.so.5 \ | ||
/usr/lib/libpanelw.so.5.7 /usr/lib/libpanelw.so.5 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION ncurses_terminfo_compat-5.7-0 | ||
|
||
# Careful! This is just the old '16-bit' /usr/share/terminfo tree. | ||
|
||
SRCURL[0]="" | ||
|
||
mee_install() { | ||
cd ${D} | ||
tar xpf /src/mariux/beeroot/packages/ncurses-5.7-0.x86_64.bee.tar.bz2 \ | ||
/usr/share/terminfo | ||
} | ||
|