pkgsrc/x11/xlockmore-lite/Makefile

23 lines
622 B
Makefile
Raw Normal View History

Update of xlockmore and xlockmore-lite to the latest version. Upstream changelog: xlockmore-5.46 as of 10 March 2015, the maintained version of xlock 5.46 xmb fonts messing up password screen since ascent was not being set correctly. Also fixed xjack mode. Updated language use in xlock.c, now removed to .h files. If I made some bad assumption about the language... let me know. BSD install fixes (DESTDIR, FreeType2, fortune) and switching to xz. Cygwin install fixes (cygport, xlockrc). 5.45 A bad value of fnt for pyro2 could cause to give an X error. Fixed to not free memory we are using and have a better default. 5.44 Fix for make_one_sided_pentomino was using 18 as basis for 2 sided pentominoes in loop. Found out about it by gcc 4.8.1 warning: iteration 12u invokes undefined behavior [-Waggressive-loop-optimizations]. dilemma, voters, wator size fix for neighbors = 6. Proper crediting of Nathan Thompson for discovering High Life part of life mode. A few new gliders and patterns for life and life3d. Updated win32 to use updated cygwin. Currently links are only satisfied using cygwin using 32-bit installation. For me, cross compiling using 64-bit gave undefined references in visgl.c and xlock.c. magick.c update for version 7, thanks to Jouk Jansen. 5.43 life3d: added new rule B58S58, which has a replicator. -e added to shell in Makefile.in, told it should now stop on build errors, rather than trying to continue which could be confusing. Thanks to Glyn Kennington <glyn AT potatojunkie.co.uk>. If crypt fails (which is possible with glibc2.17) it could cause xlock to get a signal 11. There is now protection around the strcmp() to prevent NULL poiter dereferences thanks to Mancha <mancha1 AT hush.com>. 5.42 USE_MB now defined by default. If this is not defined it can only correctly display ASCII. There could be font issues which may lead one to want only ASCII (if so use configure --disable_mb). Also looked into Xutf8 but did not see any benefit this had over Xmb. Password window and the following modes: bomb,dclock,image,marquee,nose are affected. Fixed a few problems with marquee for width, height, and if a character needs more than 2 bytes. In Cygwin a seemingly unrelated fix where USE_MB gets defined in xlock.h. An #undef was added in xlock.h, if USE_MB gets defined in an internal include file. -lcrypt added to modes/Makefile.in. This is needed on my Linux Ubuntu and seems ok on Cygwin where it was not needed. (If this causes a problem remove from modes/Makefile). Also tested on FreeBSD. cppcheck fixes passwd.c: passcpy could be freed twice iostuff.c: could have left file open ras.c: leak if mem fails resource.c: check if malloc succeeded was in wrong spot sound.c: ESound, a redundant check memcheck.c: continuing after memory failure dclock: problem with parens in ifdefs rain: leak fix ( :) ) t3d: uninitialized time1 (unlikely but fixed anyway) molecule: leak if mem fails text3d: leak if nothing to draw
2015-04-15 09:31:15 +02:00
# $NetBSD: Makefile,v 1.21 2015/04/15 07:31:15 spz Exp $
.include "../../x11/xlockmore/Makefile.common"
PKGNAME= ${DISTNAME:S/-/-lite-/}
COMMENT= "lite" version of xlockmore
CONFIGURE_ARGS+= --without-xpm
CONFIGURE_ARGS+= --without-gltt
CONFIGURE_ARGS+= --without-ttf
Update xlockmore and xlockmore-lite to 5.14.1. Changes: 5.14.1 Fixed PAM goof. 5.14 fadeplot,laser: do not clear so much with erase modes (void *) for (caddr_t *) in argtype to get rid of most gcc warnings. g++ cleanups for xglock, xmlock, flow, life, marqee, apollonian, pacman configure cleanups. Goof for random placement of labeling for life and life3d i.e. the S could burn in on those old monitors. flow mode improvements added thanks to Tim Auckland Replace 2D rendering of Periodic Attractors with a 3D 'interrupted' rendering. Replace "-/+allow2d" with "-/+periodic" Replace all ODE formulae with completely generic forms. Add '-search' option to perform background high-speed discovery for completely new attractors without impacting rendering performance. Use gaussian distribution for initial point positions and for parameter search. Add "+dbuf" option to allow Double-Buffering to be turned off on slow X servers. Remove redundant '-zoom' option. Now automatically zooms if both rotation and riding are permitted. Replace dynamic bounding box with static one pre-calculated during discovery phase. Simplify and fix bounding box clipping code. Should now be safe to run without double buffer on all XFree86 servers if desired. Sync'd up with xscreensaver version Orbital camera (-/+rotate) specify following bee (-/+ride) zoom between bee and orbit (-/+zoom) Bounding Box (-/+box) disable 2D Poincare' section flows (-/+allow2d). Also added basic double-buffering to avoid XFree86 'debris' problems when lines go out of bounds. A few more fixes from Eric Lassauge <lassauge AT users.sourceforge.net>. gtk2/gtk detection in configure, automatically does a make for xglock xglock now uses GTK2 genlauncher fix for noof (used by xglock). life1d repeating patterns have a better chance of being caught. compile dependencies for ImageMagick for VMS thanks to Jouk Jansen. NICE_ONLY build option added. --enable-nice-only or --enable-blank-only nice modes also reevaluated thanks to Tom Schmidt. config.sub and config.guess updated from GNU. Changed PAM to USE_PAM to be consistent with imake. loop is more random when run as a single mode. -langton option added if one just wants Langton's Loops. atunnels resync with xsreensaver for new textures thanks to Eric Lassauge <lassauge AT users.sourceforge.net>.
2004-11-27 01:15:22 +01:00
CONFIGURE_ARGS+= --without-freetype
CONFIGURE_ARGS+= --without-opengl
CONFIGURE_ARGS+= --without-magick
CONFIGURE_ARGS+= --without-mesa
Update xlockmore and xlockmore-lite to 5.14.1. Changes: 5.14.1 Fixed PAM goof. 5.14 fadeplot,laser: do not clear so much with erase modes (void *) for (caddr_t *) in argtype to get rid of most gcc warnings. g++ cleanups for xglock, xmlock, flow, life, marqee, apollonian, pacman configure cleanups. Goof for random placement of labeling for life and life3d i.e. the S could burn in on those old monitors. flow mode improvements added thanks to Tim Auckland Replace 2D rendering of Periodic Attractors with a 3D 'interrupted' rendering. Replace "-/+allow2d" with "-/+periodic" Replace all ODE formulae with completely generic forms. Add '-search' option to perform background high-speed discovery for completely new attractors without impacting rendering performance. Use gaussian distribution for initial point positions and for parameter search. Add "+dbuf" option to allow Double-Buffering to be turned off on slow X servers. Remove redundant '-zoom' option. Now automatically zooms if both rotation and riding are permitted. Replace dynamic bounding box with static one pre-calculated during discovery phase. Simplify and fix bounding box clipping code. Should now be safe to run without double buffer on all XFree86 servers if desired. Sync'd up with xscreensaver version Orbital camera (-/+rotate) specify following bee (-/+ride) zoom between bee and orbit (-/+zoom) Bounding Box (-/+box) disable 2D Poincare' section flows (-/+allow2d). Also added basic double-buffering to avoid XFree86 'debris' problems when lines go out of bounds. A few more fixes from Eric Lassauge <lassauge AT users.sourceforge.net>. gtk2/gtk detection in configure, automatically does a make for xglock xglock now uses GTK2 genlauncher fix for noof (used by xglock). life1d repeating patterns have a better chance of being caught. compile dependencies for ImageMagick for VMS thanks to Jouk Jansen. NICE_ONLY build option added. --enable-nice-only or --enable-blank-only nice modes also reevaluated thanks to Tom Schmidt. config.sub and config.guess updated from GNU. Changed PAM to USE_PAM to be consistent with imake. loop is more random when run as a single mode. -langton option added if one just wants Langton's Loops. atunnels resync with xsreensaver for new textures thanks to Eric Lassauge <lassauge AT users.sourceforge.net>.
2004-11-27 01:15:22 +01:00
CONFIGURE_ARGS+= --without-rplay
CONFIGURE_ARGS+= --without-esound
Update xlockmore and xlockmore-lite to 5.14.1. Changes: 5.14.1 Fixed PAM goof. 5.14 fadeplot,laser: do not clear so much with erase modes (void *) for (caddr_t *) in argtype to get rid of most gcc warnings. g++ cleanups for xglock, xmlock, flow, life, marqee, apollonian, pacman configure cleanups. Goof for random placement of labeling for life and life3d i.e. the S could burn in on those old monitors. flow mode improvements added thanks to Tim Auckland Replace 2D rendering of Periodic Attractors with a 3D 'interrupted' rendering. Replace "-/+allow2d" with "-/+periodic" Replace all ODE formulae with completely generic forms. Add '-search' option to perform background high-speed discovery for completely new attractors without impacting rendering performance. Use gaussian distribution for initial point positions and for parameter search. Add "+dbuf" option to allow Double-Buffering to be turned off on slow X servers. Remove redundant '-zoom' option. Now automatically zooms if both rotation and riding are permitted. Replace dynamic bounding box with static one pre-calculated during discovery phase. Simplify and fix bounding box clipping code. Should now be safe to run without double buffer on all XFree86 servers if desired. Sync'd up with xscreensaver version Orbital camera (-/+rotate) specify following bee (-/+ride) zoom between bee and orbit (-/+zoom) Bounding Box (-/+box) disable 2D Poincare' section flows (-/+allow2d). Also added basic double-buffering to avoid XFree86 'debris' problems when lines go out of bounds. A few more fixes from Eric Lassauge <lassauge AT users.sourceforge.net>. gtk2/gtk detection in configure, automatically does a make for xglock xglock now uses GTK2 genlauncher fix for noof (used by xglock). life1d repeating patterns have a better chance of being caught. compile dependencies for ImageMagick for VMS thanks to Jouk Jansen. NICE_ONLY build option added. --enable-nice-only or --enable-blank-only nice modes also reevaluated thanks to Tom Schmidt. config.sub and config.guess updated from GNU. Changed PAM to USE_PAM to be consistent with imake. loop is more random when run as a single mode. -langton option added if one just wants Langton's Loops. atunnels resync with xsreensaver for new textures thanks to Eric Lassauge <lassauge AT users.sourceforge.net>.
2004-11-27 01:15:22 +01:00
CONFIGURE_ARGS+= --without-gtk2
CONFIGURE_ARGS+= --without-gtk
PLIST_SUBST+= LITE="@comment Not in lite version: "
.include "../../mk/bsd.pkg.mk"