diff options
Diffstat (limited to 'source/xap/xaos')
-rw-r--r-- | source/xap/xaos/slack-desc | 19 | ||||
-rw-r--r-- | source/xap/xaos/xaos.6 | 266 | ||||
-rwxr-xr-x | source/xap/xaos/xaos.SlackBuild | 152 | ||||
-rw-r--r-- | source/xap/xaos/xaos.desktop | 10 | ||||
-rw-r--r-- | source/xap/xaos/xaos.png | bin | 0 -> 14980 bytes |
5 files changed, 447 insertions, 0 deletions
diff --git a/source/xap/xaos/slack-desc b/source/xap/xaos/slack-desc new file mode 100644 index 00000000..a35a1fdf --- /dev/null +++ b/source/xap/xaos/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +xaos: xaos (an interactive fractal zoomer) +xaos: +xaos: XaoS is a fast portable real-time interactive fractal zoomer. It +xaos: displays the Mandelbrot set (and other popular fractals), and allows +xaos: the user to smoothly zoom in or out of a fractal. Other features +xaos: include autopilot mode, palette changing, PNG saving, and fractal +xaos: inversion. +xaos: +xaos: Visit XaoS online: http://xaos.sf.net +xaos: +xaos: diff --git a/source/xap/xaos/xaos.6 b/source/xap/xaos/xaos.6 new file mode 100644 index 00000000..a0544a57 --- /dev/null +++ b/source/xap/xaos/xaos.6 @@ -0,0 +1,266 @@ +.TH XaoS 6 "16 Oct 2010" "XaoS" "Demos" + +.SH NAME +xaos - Fast interactive real-time fractal zoomer/morpher + +.SH SYNOPSIS +xaos [\fIOPTIONS\fR] + +.SH DESCRIPTION +XaoS is a fast portable real-time interactive fractal zoomer. It +displays the Mandelbrot set (among other escape time fractals) and +allows you to zoom smoothly into the fractal. Various coloring modes are +provided for both the points inside and outside the selected set. In +addition, switching between Julia and Mandelbrot fractal types and +displaying planes is provided. The first version was a poorly written +Mandelbrot viewer by Thomas later modified by Jan to support high +frame-rate zooming. Other additions were later made including autopilot +(for those of you without driver licenses), palette changing, PNG +saving, and fractal inversion. + +.SH OPTIONS + + -delay number + Delay screen updates (milliseconds) + -driver string + Select driver + -list List available drivers. Then exit + -config Print configuration. Then exit + -speedtest Test speed of calculation loop. Then exit + -threads number + Set number of threads (CPUs) to use + -pipe string + Accept commands from pipe (use "-" for stdin) + -maxframerate number + Maximal framerate (0 for unlimited - default) + +Screen size options: + + Knowledge of exact screen size makes random dot stereogram look better. + Also is used for choosing correct view area + + -screenwidth f.point + exact size of screen in centimeters + -screenheight f.point + exact size of screen in centimeters + + Use this option in case you use some kind of virtual screen + or something similiar that confuses previous options + + -pixelwidth f.point + exact size of one pixel in centimeters + -pixelheight f.point + exact size of one pixel in centimeters + +Animation rendering: + + -render string + Render animation into seqence of .png files + -basename string + Name for .png files (XaoS will add 4 digit number and extension + -size string + widthxheight + -renderimage string + 256 or truecolor + -renderframerate f.point + framerate + -antialiasing Perform antialiasing (slow, requires quite lot of memory) + -alwaysrecalc Always recalculate whole image (slowes down rendering, increases quality) + -rendervectors Render motion vectors (should be used for MPEG encoding) + -iframedist number + Recommended distance between I frames in pat file (should be used for MPEG encoding) + +X11 driver options: + + -display string + Select display + -size string + Select size of window (WIDTHxHEIGHT). + -sync Generate sync signals before looking for events. This + helps on old and buggy HP-UX X servers. + -shared Use shared colormap on pseudocolor display. + -usedefault Use default visual if autodetection causes troubles. + -nomitshm Disable MITSHM extension. + -fullscreen Enable fullscreen mode. + -windowid number + Use selected window. + -window-id number + Use selected window. + -root Use root window. + +Command line options only + + -print_menus print menus specifications of all menus + -print_menu string + print menu specification + -xshl_print_menustring + print menu specification in xshl format + -xshl_print_menus print all menu specifications in xshl format + -print_dialog string + print dialog specification + +File + + -loadpos input_file + Load + -savepos output_file + Save + -record output_file + Record + -play input_file + Replay + -saveimg output_file + Save image + -loadexample Load random example + -savecfg Save configuration + +Fractal + + -perturbation real_number real_number + Perturbation + -initstate Reset to defaults + -julia on|off + Julia mode + -view real_number real_number real_number real_number + View + -angle real_number + Set angle + -plane integer + Set plane + -incoloring integer + Inside coloring mode + -outcoloring integer + Outside coloring mode + -intcoloring integer + Inside truecolor coloring mode + -outtcoloring integer + Outside truecolor coloring mode + -juliaseed real_number real_number + Julia seed + +Calculation + + -periodicity Periodicity checking + -maxiter integer + Iterations + -bailout real_number + Bailout + -fastjulia Fast julia mode + -range integer + Solid guessing range + +Filters + + -edge Edge detection + -edge2 Edge detection2 + -threed Pseudo 3d + -starfield Starfield + -stereogram Random dot stereogram + -interlace Interlace filter + -blur Motionblur + -emboss Emboss + -palettef Palette emulator + -anti Antialiasing + -truecolor Truecolor emulator + +UI + + -letterspersec integer + Letters per second + -autopilot Autopilot + -inhibittextoutput VJ mode + -recalculate Recalculate + -interrupt Interrupt + -speed real_number + Zooming speed + -fixedstep Fixed step + -nogui Disable XaoS's builtin GUI + -status Status + -ministatus Ministatus + +Misc + + -playstr string + Play string + -text string + Display text + -color white|black|red + Color + -textposition left|center|right top|middle|bottom + Text position + -message string + Message + +Help + + -help Help + +Formulae + + -mandel Mandelbrot + -mandel3 Mandelbrot^3 + -mandel4 Mandelbrot^4 + -mandel5 Mandelbrot^5 + -mandel6 Mandelbrot^6 + -newton Newton + -newton4 Newton^4 + -barnsley Barnsley1 + -barnsley2 Barnsley2 + -barnsley3 Barnsley3 + -octal Octal + -phoenix Phoenix + -magnet Magnet + -magnet2 Magnet2 + +More formulae + + -trice Triceratops + -catseye Catseye + -mbar Mandelbar + -mlambda Lambda + -manowar Manowar + -spider Spider + -sier Sierpinski + -carpet S.Carpet + -koch Koch Snowflake + -hornflake Spidron hornflake + +Palette + + -defpalette Default palette + -randompalette Random palette + -palette integer integer integer + Custom palette + -cycling Color cycling + -cyclingspeed integer + Color cycling speed + -shiftpalette integer + Shift palette + +Dynamic resolution + + -fastmode zero|never|animation|new|allways + Dynamic resolution mode + +Rotation + + -rotationspeed real_number + Rotation speed + -autorotate on|off + Automatic rotation + -fastrotate on|off + Fast rotation mode + +Quit + + -quit Exit now + +.SH DETAILS +This manual page is obsolete and no longer maintained. +Please read the full documentation running +XaoS. You can start it typing 'xaos'. (Press 'h' 3 +times to get into the help system.) +.P +In addition, +.B xaos --help +should give a detailed list about the command line options. diff --git a/source/xap/xaos/xaos.SlackBuild b/source/xap/xaos/xaos.SlackBuild new file mode 100755 index 00000000..c562b681 --- /dev/null +++ b/source/xap/xaos/xaos.SlackBuild @@ -0,0 +1,152 @@ +#!/bin/sh + +# Copyright 2010 B. Watson (yalhcru@gmail.com) +# Copyright 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Slackware build script for xaos + +# Written by B. Watson (yalhcru@gmail.com) + +# A few notes: +# +# Package really wants to use its own CFLAGS (even checks for them +# in the configure script). Let it... +# +# SFFE is the user formula evaluator, which allows users to define their +# own fractals. On x86 platforms, an assembly-language implementation of +# SFFE is used. On non-x86 platforms, SFFE requires a library called GSL +# (GNU Scientific Library, available from SBo). +# +# xaos is still interesting and useful without SFFE support (most users +# probably don't know/care about the math, so they'll never use the SFFE +# stuff anyway), so we'll just disable it on non-x86 platforms by default. +# +# If you really want to use it, set USE_GSL=yes in the environment before +# running this script. There's no need to use GSL on x86 platforms, since +# the asm code is (or should be) faster, but the option is there if you +# want to use it anyway. +# +# Multilib users also have the option of building on a 32-bit Slackware system +# (or in a chroot) and the resulting package will run just fine on 64-bit. +# +# If the preceding didn't make any sense, here's the bottom line: +# +# - Regular Slackware (x86) users can just run this script and ignore the junk +# above. +# +# - Everyone else (Slamd64, Bluewhite64, Slackware64, ???) can just +# run this script and probably never notice the missing functionality. +# +# - If you're not on x86, but you want the formula evaluator, install GSL +# and then run this script with USE_GSL=yes in the environment. + +PKGNAM=xaos +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + # might as well use i686 since it won't listen to our CFLAGS anyway + i?86) ARCH=i686 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM +OUTPUT=${OUTPUT:-/tmp} + +USE_GSL=${USE_GSL:-no} + +if [ "$USE_GSL" = "yes" ]; then + GSL_OPT="yes" + SFFE_OPT="yes" +elif [ "$ARCH" = "i486" -o "$ARCH" = "i686" ]; then + GSL_OPT="no" + SFFE_OPT="yes" +else + GSL_OPT="no" + SFFE_OPT="no" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PKGNAM-$VERSION +tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1 +cd $PKGNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R a-s,u+w,go+r-w . + +./configure \ + --prefix=/usr \ + --docdir=/usr/doc/$PKGNAM-$VERSION \ + --infodir=/usr/info \ + --mandir=/usr/man \ + --with-gsl=$GSL_OPT \ + --with-sffe=$SFFE_OPT \ + --with-pthread=yes \ + --build=$ARCH-slackware-linux + +make || exit 1 +# binary already stripped, yay! +make install DESTDIR=$PKG || exit 1 + +# Replace bogus manpage: +zcat $CWD/xaos.6.gz > $PKG/usr/man/man6/xaos.6 + +gzip -9 $PKG/usr/man/man6/xaos.6 +rm -f $PKG/usr/info/dir +gzip -9 $PKG/usr/info/*.info* + +mkdir -p $PKG/usr/doc +mv $PKG/usr/share/XaoS/doc $PKG/usr/doc/xaos-$VERSION +( cd $PKG/usr/share/XaoS ; ln -sf ../../doc/xaos-$VERSION doc ) + +mkdir -p $PKG/usr/share/applications +cat $CWD/xaos.desktop > $PKG/usr/share/applications/xaos.desktop + +mkdir -p $PKG/usr/share/pixmaps +cat $CWD/xaos.png > $PKG/usr/share/pixmaps/xaos.png + +chmod 644 $PKG/usr/doc/xaos-$VERSION/* +rm -f $PKG/usr/doc/xaos-$VERSION/ChangeLog.old +cp -a \ + AUTHORS COPYING* INSTALL NEWS README* TODO \ + $PKG/usr/doc/xaos-$VERSION + +# If there's a ChangeLog, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r ChangeLog ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r ChangeLog $DOCSDIR/ChangeLog +fi + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/source/xap/xaos/xaos.desktop b/source/xap/xaos/xaos.desktop new file mode 100644 index 00000000..5157bf9d --- /dev/null +++ b/source/xap/xaos/xaos.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Name=XaoS +GenericName=XaoS Fractal Explorer +Type=Application +Exec=xaos +Icon=xaos +Terminal=false +StartupNotify=false +Categories=Game; diff --git a/source/xap/xaos/xaos.png b/source/xap/xaos/xaos.png Binary files differnew file mode 100644 index 00000000..9aa39b81 --- /dev/null +++ b/source/xap/xaos/xaos.png |