From: mh AT mike DOT franken DOT de (Michael Hirmke) Subject: UPD: GNUWin32 package report 17 Apr 1998 10:38:33 -0700 Message-ID: <6rxe41BKpfB.cygnus.gnu-win32@mike.franken.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com GNUWin32 package report author: mh AT mike DOT franken DOT de (Michael Hirmke) WWW: - on minimike.franken.de - in /docs/develop/gnuwin32 - as GNUWin32.txt FTP: - on ftp.franken.de - in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael - as GNUWin32.txt version: 1.07 date: 16.04.1998 ------------------------< snip snip snip >----------------------------- 0. *contents* ======== 0. *contents* *new* 1. *introduction* 2. *preliminaries* 3. *packages* - ghostview-1.5 - groff-1.10 - jove-4.16 *new* - less-321 - man-1.4j - ncurses-4.1 - recode-3.4.1-7 - rcs-5.7 - termcap-1.3 - uucp-1.06.1 - vim-5.0 - xpdf-0.7a 4. *attachements* - install script - How to upload to German GNUWIN32 site 5. *history* 1. *introduction* ============ This is a status report for packages compiled with *Cygnus CDK* - at the moment with version B19. For every package there might be different, even better ways to build them, but this is how I (and the other contributors) did it. If you know a better way, please share your knowledge with us. If you have built some more packages and would like me to add them to this report, please send me an email with the appropriate description. If you have any further suggestion on this report, feel free to send me an email, too. 2. *preliminaries* ============= - All the packages are original source packages you can get from many ftp servers on the net. All the changes to these packages, which are necessary to build the binaries should be documented in this report. - You should have installed and properly configured the latest Cygnus CDK - at the moment version B19 - and perhaps Sergey Okhapkin's latest coolview package (available for example - on ftp.franken.de - in /pub/win32/develop/gnuwin32/porters/Okhapkin_Sergey - as coolview.tar.gz) - I assume you know how to unpack the source packages, i.e. "tar -xvzf .tar.gz". - Get some replacement for the original "install" command, so that .exe file extensions are handled properly (see attachement 1). 3. *packages* ======== *ghostview-1.5* ------------- - what is it? - Ghostview offers you an X11 GUI for viewing PostScript files. This is an X11 interface to ghostscript. - system - ??? - preliminaries - tar -xzvf ghostview-1.5.tar.gz; cd ghostview-1.5 - xmkmf - change in file Dir.c ( comment several lines): /* #if defined(SVR4) || defined(SYSV) || defined(USG) || defined(__osf__) */ #include /* #else */ /* defined(SVR4) || defined(SYSV) || defined(USG) */ /* #include #define dirent direct #endif */ /* defined(SVR4) || defined(SYSV) || defined(USG) */ /* */ - make - works without changes - make install - works without changes - notes - none - package availability - on - - in - - as - - contributed by - wku1 AT utk DOT edu (Wei Ku) *groff-1.10* ---------- - what is it? - The groff package provides compatible versions of troff, nroff, eqn, tbl, and other Unix text-formatting utilities. Groff is used to "compile" man-pages stored in groff/nroff format for different output devices; e.g., for displaying to a screen or in PostScript(tm) format for printing on a PostScript(tm) printer. - system - Windows NT4 German / SP3 - preliminaries - /bin/sh has to be *bash, not ash* - umount /bin (if mounted) - cp /bash.exe /bin/sh.exe - configure - works without changes - make - edit ./Makefile - turn off optimization (-O in CFLAGS and CCFLAGS); with optimization turned on, you may run into trouble with random crashes - for example with large man pages (due to a hint from Andy Piper) - edit ./tmac/Makefile.sub - create a new first line "SHELL=/usr/bin/ash" (or whatever your "ash" is); this is necessay, because "bash" can't handle a "for" loop with an empty list in this Makefile - run "make" as normal - make install - works without changes - notes - it is a bit crazy, but you really need both shells to build this package - of course you could also change the Makefiles,oe so they all work with one shell - package availability - on ftp.franken.de - in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael - as groff-1.10-win32-bin.tar.gz - or groff-1.10-win32-bin.zip - contributed by - mh AT mike DOT franken DOT de (Michael Hirmke) *jove-4.16* --------- - what is it? - Jove is an Emacs-like editor without Lisp. It is comfortable to use, small, fast and portable. - system - Windows NT4 SP3 - preliminaries - get sources from ftp://niteroi.gsfc.nasa.gov/pub/win32/jove These are the original sources with the addition of a Makefile for GNU Win32. - install termcap (may work with curses as well). - configure nope, this is an old package. - make - cp Makefile.unx Makefile - edit Makefile - Use LINUX settings - Update install related macros, handling the *.exe extensions - better yet, get Makefile.g32 from ftp://niteroi.gsfc.nasa.gov/pub/win32/jove/jove-bin.tgz and copy it to Makefile. - run "make" as normal - make install - works without changes - package availability - jove binaries/sources for GNU Win32 B19 available from: ftp://niteroi.gsfc.nasa.gov/pub/win32/jove - Official jove site: ftp://ftp.cs.toronto.edu/pub/moraes/jove/ - contributed by - dasilva AT alum DOT mit DOT edu (Arlindo da Silva) *less-321* -------- - what is it? - Less is a pager program similar to more (1), but allows backward as well as forward movement within a file. Also, less does not have to read the entire input file before starting. It is also possible to start an editor at any time from this program. - system - Windows NT4 German / SP3 - preliminaries - you first have to install *ncurses-4.1* - replace all "iprintf" in "output.c" with a different, but unique name, for example "less_iprintf" - configure - works without changes - make - works without changes - make install - works without changes - notes - none - package availability - on ftp.franken.de - in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael - as less-321-win32-bin.tar.gz - or less-321-win32-bin.zip - contributed by - mh AT mike DOT franken DOT de (Michael Hirmke) *man-1.4j* -------- - what is it? - Program for displaying man-pages on the screen or sending them to a printer (using groff). - system - Windows NT4 German / SP3 - preliminaries - none - configure - edit configure - change "prefix=/usr" to "prefix=/usr/local" (or whatever you want or just leave it as it is) - run "configure -d" - make - edit src/man.c - add "#include " - comment out line 1020 (setlocale) - edit src/Makefile.in - add "-DNONLS" to "DEFS=" - edit src/util.c - comment out line 93 and 94 (setreuid, setregid) - run "make" as normal - make install - works without changes - edit /usr/local/lib/man.config according to your system - notes - couldn't get man-1.5a to run properly, you can build it nearly the same way as 1.4j, but it will crash, whenever you run the resulting binary - package availability - on ftp.franken.de - in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael - as man-1.4j-win32-bin.tar.gz - or man-1.4j-win32-bin.zip - contributed by - mh AT mike DOT franken DOT de (Michael Hirmke) *ncurses-4.1* ----------- - what is it? - As soon as a text application needs to directly control its output to the screen (e.g. wants to place the cursor at location x y and then write text), ncurses is used. The panel and the forms libraries are included in this package. These new libraries support color, special characters and panels. - system - Windows NT4 German / SP3 - preliminaries - /bin/sh has to be *bash, not ash* - umount /bin (if mounted) - cp /bash.exe /bin/sh.exe - configure - works without changes - make - works without changes - make install - works without changes - notes - none - package availability - on ftp.franken.de - in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael - as ncurses-4.1-win32-bin.tar.gz - or ncurses-4.1-win32-bin.zip - contributed by - mh AT mike DOT franken DOT de (Michael Hirmke) *recode-3.4.1-7* -------------- - what is it? - This filter converts various character sets. - system - Windows NT4 German / SP3 - preliminaries - none - configure - works without changes - make - "make recode" is necessary, if you don't have texinfo installed, but otherwise - works without changes - make install - works without changes - notes - make for recode-3.4.1 (without -7) does *not* work - package availability - on ftp.franken.de - in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael - as recode-3.4.1-7-win32-bin.tar.gz - or recode-3.4.1-7-win32-bin.zip - contributed by - mh AT mike DOT franken DOT de (Michael Hirmke) *rcs-5.7* ------- - what is it? - RCS, the Revision Control System, manages multiple revisions of files. RCS can store, retrieve, log, identify, and merge revisions. It is useful for files that are frequently revised, e.g. programs, documentation, graphics, and papers. - system - ??? - preliminaries - get Chris Faylor's version of cygwin19.dll; due to a bug in readlink(), rcs will not work with the original .dll - in src/conf.sh line 1039 change has_mmap=1 to has_mmap=0 - in src/Makefile change line 90 to look like x = .exe - make - works without changes - make install - works without changes - notes - Is is a cygnus bug or an rcs problem that we have to turn off the mmap feature? - package availability - on - - in - - as - - contributed by - acherman AT inf DOT ethz DOT ch (Erwin Achermann) *termcap-1.3* ----------- - what is it? - - system - ??? - preliminaries - gunzip termcap-1.3.tar; tar -xvf termcap-1.3.tar; cd termcap-1.3 - configure - works without changes - make - change in Makefile: add -D_STRICT_ANSI in DEFS so that it looks like DEFS = -D_STRICT_ANSI -DHAVE_STRING_H=1 ...( omitted ) - make install - mkdir /usr/include; mkdir /usr/lib - make include - notes - none - package availability - on - - in - - as - - contributed by - wku1 AT utk DOT edu (Wei Ku) *uucp-1.06.1* ----------- - what is it? - Ian Taylor's Unix to Unix copy: mail and news over modem lines. This is the standard UUCP package of the Free Software Foundation. - system - Windows NT4 German / SP3 - preliminaries - none - configure - works without changes - make - works without changes - make install - edit ./Makefile - remove or comment out all the lines with "chmod" and "chown", because they can't handle .exe extensions - run "make install" as normal - notes - none - package availability - on ftp.franken.de - in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael - as uucp-1.06.1-win32-bin.tar.gz - or uucp-1.06.1-win32-bin.zip - contributed by - mh AT mike DOT franken DOT de (Michael Hirmke) *vim-5.0* ------- - what is it? - Vim (Vi Improved) is an almost compatible version of the UNIX editor vi whereby almost every possible command can be performed using only ASCII characters. Only the 'Q' command is missing (you don't need it). Many new features have been added: multi level undo, command line history, filename completion, block operations, editing of binary data, etc. Vi is available for the AMIGA, MS-DOS, Windows NT, and various versions of UNIX. - system - Windows NT4 German / SP3 - preliminaries - you first have to install *ncurses-4.1* - you first have to install *X11R6.3*, if you want vim with X11 GUI support - configure - works without changes with these parameters: ./configure \ --prefix=/usr/local \ --disable-perlinterp \ --disable-pythoninterp or for a vim without any GUI support ./configure \ --prefix=/usr/local \ --disable-perlinterp \ --disable-pythoninterp \ --disable-gui \ --without-x - make - works without changes - make install - works, but you first have to "export SUFFIX=.exe", because it does not use the standard "install" program - notes - make gives you a few warnings, which you can ignore, and when it has finished, it is not obvious, that compilation succeeded, though it did - if the X11R6.3 package is installed, you get GUI support, too; the process for building the package is the same, though - package availability - on ftp.franken.de - in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael - as vim-5.0-win32-with-gui-bin.tar.gz - or vim-5.0-win32-with-gui-bin.zip - or vim-5.0-win32-without-gui-bin.tar.gz - or vim-5.0-win32-without-gui-bin.zip - contributed by - mh AT mike DOT franken DOT de (Michael Hirmke) *xpdf-0.7a* --------- - what is it? - - system - ??? - preliminaries - none - configure - run configure using '--with-gzip' otherwise it tries to use uncompress - make - run make all. this balks at the end when strip tries to strip the exes.(.exe suffix) - make install - works without changes - notes - none - package availability - on ftp.aimnet.com - in /pub/users/derekn/xpdf - as xpdf-0.7a.tar.gz - contributed by - ccurtin AT trintech DOT com (Coley Curtin) 4. *attachements* ============ *install script* -------------- - replacement for the original "install" command to handle .exe file extensions properly ----------------------< snip snip snip >-------------------------- #!/bin/sh # file: install # author: earnie email: earnie_boyd AT hotmail DOT com # # Install Preprocessor for the gnu-win32 "make install" command. # # To use: # # copy this file to /usr/bin/install (earlier in the # path than the default GNU install). # # Note: # No warranty implicit or explicit is given. # You may copy, distribute and use as you see fit. # USE AT YOU OWN RISK. # # changed: M.Hirmke email: mh AT mike DOT franken DOT de # changed ginstall to cyg_install, because some packages are looking # for ginstall # note: you have to rename your original install.exe to # cyg_install.exe # # changed: Dr David Coe email: david AT coent DOT demon DOT co DOT uk # "I seem to remember earnie's script gave trouble (in X11 or lesstif # make install) when both and are present # simultaneously). The attached helped." # tstr="" while test $# -gt 0; do if test -e $1.exe; then if test -d $2; then tstr="$tstr$1.exe $2"; else tstr="$tstr$1.exe $2.exe"; fi; shift; else tstr="$tstr$1 "; fi; shift; done eval "cyg_install.exe $tstr"; exit ----------------------< snip snip snip >-------------------------- *How to upload to German GNUWIN32 site* ------------------------------------- - how to upload to our German GNUWIN32 site: site: ftp.franken.de user: ftp/anonymous password: To get directly to the GNUWIN32 upload/incoming directory type "cd gnuwin32:" - note the trailing colon. Please always add a short readme on what you've uploaded. I'd like best, if the description would follow this format: ----------------------< snip snip snip >------------------------- ** -------------- - what is it? - - system - - preliminaries - - configure - - make - - make install - - notes - - package availability - on - in - as - contributed by - ) ----------------------< snip snip snip >------------------------- There is no need to tell me, that you have uploaded something, because I'll get informed automatically. Please note: *I will delete anything, which does not look like a useful* *GNUWIN32 package !* *So please don't upload any warez, spam or similar garbage !* 5. *history* ======= - 1.07 - added "- what is it?" to each package section (suggested by dasilva AT alum DOT mit DOT edu (Arlindo da Silva)) - added "contents section" (suggested by RWarner AT bridge DOT com (Warner, Rob)) - 1.06 - added description for uploading to our German GNUWIN32 site (attachement 2) - 1.05 - added xpdf-0.7a package description - changed vim-5.0 package description (with/without GUI) - 1.04 - added hint regarding cygwin.dll to package rcs-5.7 - added hint regarding cyg_install to install script - 1.03 - a few small corrections - 1.02 - added history section :) - added ftp location to the header - changed less-321 package description - changed recode-3.4.1-7 package description - added man-1.4j package description ------------------------< snip snip snip >----------------------------- Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto: mh AT mike DOT franken DOT de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".