make libncursesw.so instead of libncurses.so
nano seems to suck in libncursesw devel files from the compiling host
as it really prefers the widechar variant.
As for now nano is the only app that uses ncurses.
If we add a package that needs libncurses in the future, we can probably just
symlink to libncursesw.*
Not as tested as I would like, but it seems to be the right ting to do :-)
--- unattended/linuxboot/Makefile-bf-widecurses 2008-03-19 01:34:23.000000000 +0100
+++ unattended/linuxboot/Makefile 2008-03-19 01:38:43.000000000 +0100
@@ -426,7 +426,7 @@
stage1 += stage1/usr/bin/nano
## ncurses
-$(ncurses)/lib/libncurses.so: fakeinclude/stdio.h
+$(ncurses)/lib/libncursesw.so: fakeinclude/stdio.h
cd $(ncurses) \
&& CFLAGS="$(fakelib_cflags)" \
LDFLAGS="$(fakelib_cflags)" CXXFLAGS="$(fakelib_cflags)" \
@@ -434,17 +434,18 @@
--without-normal --without-debug \
--disable-database --with-fallbacks=linux \
--build=i586-linux --without-hashed-db \
+ --enable-widec \
&& make
[ -e $@ ] && touch $@
-fakeinclude/curses.h: stage1/usr/lib/libncurses.so
+fakeinclude/curses.h: stage1/usr/lib/libncursesw.so
cd $(ncurses) \
&& make includedir=$(cwd)/$(dir $@) install.includes
[ -e $@ ] && touch $@
-$(call copy_lib, $(ncurses)/lib/libncurses.so, stage1/usr/lib/libncurses.so)
+$(call copy_lib, $(ncurses)/lib/libncursesw.so, stage1/usr/lib/libncursesw.so)
-stage1 += stage1/usr/lib/libncurses.so
+stage1 += stage1/usr/lib/libncursesw.so
## parted
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel