# libgpm-local/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This package installs a modified version of the standard "gpm" sup- port library (libgpm). The modified version offers the following features: a. The library is now a separate package. This simplifies var- ious operations. b. Most build-time dependencies have been removed. Therefore, if a distro is being built from scratch, this version of the library can be installed at an early stage. c. There's a work-around for a well-known "libgpm vs. ncurses" conflict (the "Gpm_Wgetch" circular dependency). d. Several bug fixes are included (relative to "gpm" release 1.20.1). #--------------------------------------------------------------------- 2. This package will conflict with standard versions of "gpm". In particular, standard versions of "gpm" install their own versions of "libgpm". This package is designed for use with a particular version of "gpm"; specifically, this distro's version. #--------------------------------------------------------------------- 3. This package used the following two source tarballs as a starting point: ftp://arcana.linux.it/pub/gpm/gpm-1.20.1.tar.bz2 http://www.metux.de/released/libgpm/libgpm-1.20.2.0.tar.bz2 Note: The two URLs listed above were valid as of early 2007, but they may have broken since then. #--------------------------------------------------------------------- 4. Notes on "build" sequence: During the initial "build" of this distro, "libgpm", "ncurses", and "gpm" should be built as follows: 4a. "libgpm" should be built initially before "ncurses". 4b. "ncurses" should be built next. 4c. "libgpm" should be built again (a second time) after "ncur- ses" is installed. 4d. "gpm" should be built after the second "build" of "libgpm". This sequence is related to the circular-dependency work-around men- tioned previously. During steps 4a and 4c, the library "build" script (build-libgpm.sh) checks to see if "ncurses" is installed. If so, the script defines a preprocessor symbol NCURSES_PRESENT as 1. Otherwise, the script de- fines the symbol as 0. NCURSES_PRESENT enables or disables the "ncur- ses"-dependent code in "libgpm-local". For more information, see this package's versions of "build-libgpm.sh" and "libcurses.c". #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.03 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.00 hours (or 000.03 minutes) - HP EliteBook 8560w 32GB RAM 00.00 hours (or 000.03 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.43 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] configure = none license = GNU General Public License, version 2 (June 1991) proddir = $PRODTREE/gpm purge = yes shareddir = yes #--------------------------------------------------------------------- [depends] ncurses # See "technotes" in "cfg" file #--------------------------------------------------------------------- [build] export LACPREARG="-D_GNU_SOURCE=1" INCDIR=$PKGDIR_PROD/include LIBDIR=$PKGDIR_PROD/lib PKCDIR=$LIBDIR/pkgconfig mkdir -p $INCDIR $LIBDIR $PKCDIR PREFIX=$PKGDIR_PROD bash -e ./build-libgpm.sh mv gpm.h $INCDIR/ mv libgpm.so* $LIBDIR/ mv libgpm.a $LIBDIR/ mv libgpm.pc $PKCDIR/ #--------------------------------------------------------------------- [urls] url_debian = n/a url_home = n/a url_lfs = n/a url_tarball = n/a # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 210202 Patched to fix FTBFS with "gcc" 10