This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: lynx & w3m ports (was Re: [ANNOUNCEMENT] Initial Release: GNUGhostscript 5.50-1)


I have previously posted a /bin/sh script that compile lynx2.8.4 on the latest Cygwin,

    Cygwin DLL version info:
        dll major: 1001
        dll minor: 8
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 34
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix:
        build date: Wed Jan 31 10:08:38 EST 2001
        shared id: cygwin1S3

Here it is again:

#!/bin/sh

# Extract the files:
#
#   cd /
#   tar xzf /d/mcb/download/lynx/current/lynx2.8.4dev.18.tar.gz

# Execute this script like this:
#
#   sh -x ~/bin/makeLynx.sh -f 2>&1 | tee /tmp/lynx.log

# Make a link from "gawk" to "awk" (awk is used in one of the scripts).
if [ ! -h /bin/awk.exe ]; then
    rm -f /bin/awk.exe
    ln -s /bin/gawk.exe /bin/awk.exe
fi

cd /lynx2-8-4

# Parse command-line options to this script.
FULL=0
for option
do
    case $option in
    -f) FULL=1;;
    esac
done

# Configure seems to have a problem when PATHs contain spaces.
PATH=`echo $PATH | tr : \\\\n | tr [A-Z] [a-z] | sed "/program files/d" | tr \\\\n :`; export PATH

# Unfortunately, "make install" don't work when "INSTALL" exists!
mv -f INSTALL INSTALL.original

# Clean everything out if "-f" argument specified to this script.
if [ "${FULL}" = "1" ]; then
    make distclean
    rm -f rm.exe.stackdump
    rm -f config.cache
    rm -f config.status
    rm -f makefile
    rm -f lynx_cfg.h
    rm -f config.log
    rm -f cfg_defs.h
    rm -f help_files.sed
    rm -f LYHelp.h
    find . \( -name '*.o' -o -name '*.a' \) -exec rm {} ";"

    # "configure" options
    # --------------------
    #   Usage: configure [options] [host]
    #   Options: [defaults in brackets after descriptions]
    #   Configuration:
    #     --cache-file=FILE       cache test results in FILE
    #     --help                  print this message
    #     --no-create             do not create output files
    #     --quiet, --silent       do not print `checking...' messages
    #     --version               print the version of autoconf that created configure
    #   Directory and file names:
    #     --prefix=PREFIX         install architecture-independent files in PREFIX
    #                             [/usr/local]
    #     --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    #                             [same as prefix]
    #     --bindir=DIR            user executables in DIR [EPREFIX/bin]
    #     --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
    #     --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
    #     --datadir=DIR           read-only architecture-independent data in DIR
    #                             [PREFIX/share]
    #     --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
    #     --sharedstatedir=DIR    modifiable architecture-independent data in DIR
    #                             [PREFIX/com]
    #     --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
    #     --libdir=DIR            object code libraries in DIR [EPREFIX/lib] THIS IS WHERE lynx.cfg IS INSTALLED TO!
    #     --includedir=DIR        C header files in DIR [PREFIX/include]
    #     --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
    #     --infodir=DIR           info documentation in DIR [PREFIX/info]
    #     --mandir=DIR            man documentation in DIR [PREFIX/man]
    #     --srcdir=DIR            find the sources in DIR [configure dir or ..]
    #     --program-prefix=PREFIX prepend PREFIX to installed program names
    #     --program-suffix=SUFFIX append SUFFIX to installed program names
    #     --program-transform-name=PROGRAM
    #                             run sed PROGRAM on installed program names
    #   Host type:
    #     --build=BUILD           configure for building on BUILD [BUILD=HOST]
    #     --host=HOST             configure for HOST [guessed]
    #     --target=TARGET         configure for TARGET [TARGET=HOST]
    #   Features and packages:
    #     --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    #     --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    #     --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    #     --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    #     --x-includes=DIR        X include files are in DIR
    #     --x-libraries=DIR       X library files are in DIR
    #   --enable and --with options recognized:
    #   Development Options:
    #     --disable-echo          display "compiling" commands
    #     --enable-find-leaks     logic for testing memory leaks
    #     --enable-debug          compile w/ debugging (if $CFLAGS is set, add -g there, too)
    #     --disable-trace         disable logic for trace code
    #     --enable-warnings       GCC compiler warnings
    #   Basic Configuration Options:
    #     --enable-nls            use Native Language Support
    #     --with-included-gettext use the GNU gettext library included here
    #     --with-catgets          use catgets functions if available
    #     --enable-included-msgs  use included messages, for i18n support
    #     --with-nls-datadir=DIR  NLS data, parent of locale (default: PREFIX/DATADIR)
    #     --disable-full-paths    control whether full utility pathnames are used
    #     --with-ssl[=path]       link with ssl library if available
    #     --with-socks[=path]     link with socks library if available
    #     --with-socks5[=path]    link with socks5 library if available
    #     --with-screen=XXX       select screen type
    #                             (XXX is curses (default), ncurses or slang)
    #     --with-charsets=list    limit charsets to given list of MIME names
    #   Experimental Options:
    #     --disable-bibp-urls     disable support for bibp: URLs
    #     --disable-config-info   disable browsable configuration-info
    #     --disable-forms-options disable experimental forms-based options
    #     --disable-menu-options  disable old-style option menu
    #     --enable-addrlist-page  use experimental address-list page
    #     --enable-charset-choice use experimental charset-selection logic
    #     --enable-cjk            use experimental CJK logic
    #     --enable-color-style    use optional/experimental color style (ncurses/curses)
    #     --enable-default-colors enable use of default-colors (ncurses/slang)
    #     --enable-file-upload    use experimental file-upload support
    #     --enable-htmlized-cfg   build experimental htmlized lynx.cfg
    #     --enable-ipv6           use experimental ipv6 (with ipv4) support
    #     --enable-justify-elts   use experimental element-justification logic
    #     --enable-kbd-layout     use experimental keyboard-layout support
    #     --enable-libjs          use experimental JavaScript support (Mozilla libjs)
    #     --enable-prettysrc      colorize HTML source
    #     --enable-read-eta       experimental read-progress message shows ETA
    #     --enable-scrollbar      use experimental scrollbar, with mouse
    #     --enable-source-cache   cache HTML source for parse mode changes
    #   Miscellaneous Options:
    #     --disable-alt-bindings  disable alternative line-edit bindings
    #     --disable-extended-dtd  disable extended HTML DTD logic
    #     --disable-partial       use partial-display logic
    #     --enable-externs        use external commands
    #     --enable-font-switch    use Linux setfont for character-translation
    #     --enable-cgi-links      support cgi links w/o a http daemon
    #     --enable-change-exec    allow users to change exec options
    #     --enable-exec-links     allow lynx to execute programs accessed via a link
    #     --enable-exec-scripts   allow lynx to execute programs inferred from a link
    #     --enable-internal-links handle following links to same doc differently
    #     --enable-nsl-fork       fork NSL requests, allowing them to be aborted
    #     --enable-syslog         log URL requests via syslog
    #     --disable-persistent-cookies  disable persistent-cookie support
    #     --enable-underlines     underline links rather than using boldface
    #     --enable-gzip-help      install gzip'ed help files
    #     --with-zlib             use zlib for decompression of some gzip files
    #     --disable-finger        disable FINGER logic
    #     --disable-gopher        disable GOPHER logic
    #     --disable-news          disable NEWS logic
    #     --disable-ftp           disable FTP logic
    #   Directory Editor Options:
    #     --disable-dired          disable optional directory-editor, DirEd
    #     --disable-dired-archive  disable dearchiving commands
    #     --disable-dired-override disable DirEd override keymap
    #     --disable-dired-permit  disable chmod/attrib commands
    #     --disable-dired-xpermit disable chmod/attrib commands
    #     --disable-dired-tar     disable "tar" command
    #     --disable-dired-uudecode disable "uudecode" command
    #     --disable-dired-zip     disable "zip", "unzip"  commands
    #     --disable-dired-gzip    disable "gzip", "gunzip" commands
    #     --disable-long-list     disable long "ls -l" directory listings
    #     --disable-parent-dir-refs
    #                             disable "Up-to" links in directory listings
    #   Special Libraries for PDCurses X11:
    #     --with-x                use the X Window System
    #     --with-Xaw3d            link with Xaw 3d library
    #     --with-neXtaw           link with neXT Athena library

 # The "configure" script writes "CPPFLAGS=<value of CPPFLAGS variable" into the makefile.
 # Use "--libdir=/etc/lynx.cfg", if you want lynx.cfg copied to somewhere other than "/usr/local/lib" by "make install".
    CPPFLAGS=-I/usr/include/ncurses sh $SHOPT configure \
  --enable-change-exec                            \
  --enable-default-colors                         \
  --enable-exec-links                             \
  --enable-exec-scripts                           \
  --enable-externs                                \
  --enable-gzip-help                              \
  --enable-nsl-fork                               \
  --enable-prettysrc                              \
  --enable-source-cache                           \
  --enable-syslog                                 \
  --enable-underlines                             \
  --with-screen=ncurses                           \
  --with-ssl                                      \
  --with-zlib                                     \
  --disable-full-paths
fi

make
make install
make install-help
make install-doc


----- Original Message -----
From: "Sagar R. Shah" <Sagar.Shah@sid.cam.ac.uk>
To: "Kevin Wright" <kevin@wright.org>
Cc: "Cygwin-Mailing-List" <cygwin@cygwin.com>
Sent: Tuesday, March 06, 2001 10:15 PM
Subject: lynx & w3m ports (was Re: [ANNOUNCEMENT] Initial Release: GNUGhostscript 5.50-1)


> On Mon, 5 Mar 2001, Kevin Wright wrote:
> > these files. (NOTE: I have ported lynx and w3m if anyone is
> > interested)
>
> Would it be possibile to place binaries in cygwin/contrib also?
> Or at least put the sources or some information re the port somewhere?
>
> I think the port of lynx linked from the cygwin site has an 'error' relating
> to its use of cp (mentioned last month in another thread), so if you have a
> fully working port it would be nice if the rest of us could get our hands on
> it ;-)
>
> hadn't really heard of w3m till u mentioned it, but having done a bit of
> reading on the web, it also looks like something that would be nice to play
> with at some point.
>
> so please, pretty please, pretty please with sugar on top ;-)
>
> Sagar
>
>
>
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]