From 6c9d69a42e1a54951a2ba0f9cedf67bec67c739e Mon Sep 17 00:00:00 2001 From: Fabian Harfert Date: Mon, 14 Dec 2015 21:53:58 +0100 Subject: [PATCH] gnu: Add XaoS. * gnu/packages/xaos.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu/packages/xaos.scm | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 gnu/packages/xaos.scm diff --git a/gnu-system.am b/gnu-system.am index 77a8b2e..1abce66 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -340,6 +340,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/wordnet.scm \ gnu/packages/wv.scm \ gnu/packages/wxwidgets.scm \ + gnu/packages/xaos.scm \ gnu/packages/xfig.scm \ gnu/packages/xiph.scm \ gnu/packages/xml.scm \ diff --git a/gnu/packages/xaos.scm b/gnu/packages/xaos.scm new file mode 100644 index 0000000..70183a2 --- /dev/null +++ b/gnu/packages/xaos.scm @@ -0,0 +1,57 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 Fabian Harfert +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages xaos) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages gettext) + #:use-module (gnu packages xorg) + #:use-module (gnu packages compression) + #:use-module (gnu packages image) + #:use-module (gnu packages maths)) + +(define-public xaos + (package + (name "xaos") + (version "3.6") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/xaos/xaos-" version + ".tar.gz")) + (sha256 + (base32 + "15cd1cx1dyygw6g2nhjqq3bsfdj8sj8m4va9n75i0f3ryww3x7wq")))) + (build-system gnu-build-system) + (native-inputs `(("gettext", gnu-gettext))) + (inputs `(("libx11" ,libx11) + ("zlib" ,zlib) + ("libpng" ,libpng) + ("gsl" ,gsl))) + (arguments + `(#:tests? #f ;no "check" target + #:make-flags '("LOCALEDIR=$DATAROOTDIR/locale"))) + (synopsis "Real-time fractal zoomer") + (description "GNU XaoS is a graphical program that generates fractal patterns and +allows you to zoom in and out of them infinitely in a fluid, continuous +manner. It also includes tutorials that help to explain how fractals are +built. It can generate many different fractal types such as the Mandelbrot +set.") + (home-page "http://www.gnu.org/software/xaos/") + (license license:gpl2+))) -- 2.1.4