From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabian Harfert Subject: [PATCH] Add package definition for GNU XaoS Date: Mon, 14 Dec 2015 22:01:39 +0100 Message-ID: <20151214220139.27f55979@himbaca> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/4cXsRJ7pcCq_A0YNYhTMibo" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8aHV-0003xH-Eu for guix-devel@gnu.org; Mon, 14 Dec 2015 16:03:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8aHS-0008NE-44 for guix-devel@gnu.org; Mon, 14 Dec 2015 16:03:41 -0500 Received: from mout.web.de ([212.227.15.3]:61600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8aHR-0008Md-Rq for guix-devel@gnu.org; Mon, 14 Dec 2015 16:03:38 -0500 Received: from himbaca ([79.210.76.165]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0LzKJV-1aLhLV0dUH-014TWb for ; Mon, 14 Dec 2015 22:03:36 +0100 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --MP_/4cXsRJ7pcCq_A0YNYhTMibo Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, this is my first contribution to this project. I hope everything is right with this package definition for GNU XaoS (see https://www.gnu.org/software/xaos/). It's a nice program to discover fractals, so I decided to use it for my first packaging attempt. "guix-lint" worked fine and without error messages after I had corrected some little things. Please let me know if something is wrong. Fabian Harfert --MP_/4cXsRJ7pcCq_A0YNYhTMibo Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-XaoS.patch =46rom 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 =3D \ 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 =C2=A9 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=3D$DATAROOTDIR/locale"))) + (synopsis "Real-time fractal zoomer") + (description "GNU XaoS is a graphical program that generates fractal p= atterns 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+))) --=20 2.1.4 --MP_/4cXsRJ7pcCq_A0YNYhTMibo--