Module submission - ncursesw

cmak@lunar-linux.org cmak at lunar-linux.org
Thu Jan 25 18:34:03 CET 2007


module name       : ncursesw
suggested section : libs
update (y/n)      : n
bugfix (y/n)      : n
security (y/n)    : n

weechat, mutt, rtorrent...just some examples that link against this one
basically its ncurses with widechar (utf) support.
it doesnt overwrite ncurses libs
only some *addon* libs will be installed:
/lib/libformw.so
/lib/libformw.so.5
/lib/libformw.so.5.6
/lib/libmenuw.so
/lib/libmenuw.so.5
/lib/libmenuw.so.5.6
/lib/libncursesw.so
/lib/libncursesw.so.5
/lib/libncursesw.so.5.6
/lib/libpanelw.so
/lib/libpanelw.so.5
/lib/libpanelw.so.5.6

debian has a seperate module that installs exactly these files too. gentoo
has only one ncurses module which builds and installs both versions at once.
but i think having this one seperated is better.
cmak

-------------- next part --------------
--- ncursesw/BUILD	1970-01-01 01:00:00.000000000 +0100
+++ ncursesw/BUILD	2007-01-23 07:06:03.844959602 +0100
@@ -0,0 +1,41 @@
+(
+  if [ $WITH_DEBUG == "y" ]; then
+    OPTS="$OPTS --with-debug"
+  else
+    OPTS="$OPTS --without-debug"
+  fi;
+
+  if [ $WITH_PROFILING == "y" ]; then
+    OPTS="$OPTS --with-profile"
+  else
+    OPTS="$OPTS --without-profile"
+  fi;
+
+# ************************ WARNING *************************
+# DO NOT MESS WITH THE CONFIGURE STUFF here unless you
+# really know what you're doing! We chose the lib location
+# specifically so we could link ncurses to bash which is 
+# needed at init time! If you move it you could break your 
+# system!
+unset CC CXX 
+
+set -x
+  ./configure  --build=$BUILD                            \
+               --prefix=/usr                             \
+               --libdir=/lib                             \
+               --with-normal                             \
+               --with-shared                             \
+               --mandir=/usr/share/man                   \
+               --with-manpage-format=gzip                \
+               --disable-termcap                         \
+	       --enable-colorfgbg                        \
+               --with-terminfo-dirs=/usr/share/terminfo  \
+				--enable-widec							\
+               $OPTS                                    &&
+set +x &&               
+  make &&
+  prepare_install &&
+  cp -a lib/*w.so* /lib/ &&
+  ldconfig
+
+) > $C_FIFO 2>&1
--- ncursesw/CONFIGURE	1970-01-01 01:00:00.000000000 +0100
+++ ncursesw/CONFIGURE	2007-01-22 16:32:26.019293689 +0100
@@ -0,0 +1,2 @@
+mquery WITH_DEBUG "Do you want to install debug libraries ?" n
+mquery WITH_PROFILING "Do you want to install profiling libraries ?" n
--- ncursesw/DEPENDS	1970-01-01 01:00:00.000000000 +0100
+++ ncursesw/DEPENDS	2007-01-22 16:32:26.303250520 +0100
@@ -0,0 +1,5 @@
+depends gawk  &&
+depends sed   &&
+
+optional_depends "gpm" "--with-gpm" "--without-gpm" "To link against gpm"
+
--- ncursesw/DETAILS	1970-01-01 01:00:00.000000000 +0100
+++ ncursesw/DETAILS	2007-01-22 16:38:32.057647400 +0100
@@ -0,0 +1,25 @@
+          MODULE=ncursesw
+             MOD=ncurses
+         VERSION=5.6
+          SOURCE=$MOD-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MOD-$VERSION
+   SOURCE_URL[0]=$GNU_URL/$MOD/
+   SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$MOD/
+      SOURCE_VFY=sha1:4d54d8ad0b90fffa2780a0a45edb6fcb027ef18d
+        WEB_SITE=http://www.gnu.org/software/ncurses/ncurses.html
+         ENTERED=20010922
+         UPDATED=20061224
+           SHORT="Displays and updates text on text-only terminals."
+           PSAFE=no
+
+cat << EOF
+ncurses - Displays and updates text on text-only terminals.
+The ncurses (new curses) library is a free software emulation of curses
+in System V Release 4.0 and more. It uses terminfo format, supports pads
+and color and multiple highlights and forms chracters and function-key
+mapping, and has all the other SYSV-curses enhancements over BSD curses.
+It should port easily to any ANSI/POSIX-conforming UNIX-like system.
+The distribution includes the library and support utilities, including a
+terminfo compiler tic, a decompiler infocmp, clear, tput, tset, and a
+termcap conversion tool captoinfo.
+EOF
-------------- next part --------------
lvu submit ncursesw 511060b0fb284c62efd9f6c20ab91312  -
2.6.18.6  gcc-3.4.5 glibc-2.3.6



More information about the Lunar mailing list