From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cv4D8-0000vE-Sw for guix-patches@gnu.org; Mon, 03 Apr 2017 11:48:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cv4D5-0005xe-46 for guix-patches@gnu.org; Mon, 03 Apr 2017 11:48:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:32886) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cv4D5-0005xS-0l for guix-patches@gnu.org; Mon, 03 Apr 2017 11:48:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cv4D4-000702-6B for guix-patches@gnu.org; Mon, 03 Apr 2017 11:48:02 -0400 Subject: bug#26350: [PATCH 1/2] gnu: Add gl2ps. References: <858c6e15.ADsAAHD9DCUAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABY4m2D@mailjet.com> In-Reply-To: <858c6e15.ADsAAHD9DCUAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABY4m2D@mailjet.com> Resent-Message-ID: Message-Id: <339dd4b2.AEAAImobbn0AAAAAAAAAAAOyJyoAAAACwQwAAAAAAAW9WABY4m6B@mailjet.com> MIME-Version: 1.0 From: Arun Isaac Date: Mon, 3 Apr 2017 21:16:54 +0530 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26350@debbugs.gnu.org * gnu/packages/gl.scm (gl2ps): New variable. --- gnu/packages/gl.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 37a1bd909..e18965866 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2016, 2017 Ricardo Wurmus ;;; Copyright © 2016 David Thompson ;;; Copyright © 2017 Efraim Flashner +;;; Copyright © 2017 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,12 +28,14 @@ #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages bison) + #:use-module (gnu packages compression) #:use-module (gnu packages documentation) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) #:use-module (gnu packages guile) + #:use-module (gnu packages image) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages pkg-config) @@ -612,3 +615,34 @@ library for OpenGL. It has lean API modeled after HTML5 canvas API. It is aimed to be a practical and fun toolset for building scalable user interfaces and visualizations.") (license license:zlib))) + +(define-public gl2ps + (package + (name "gl2ps") + (version "1.3.9") + (source + (origin + (method url-fetch) + (uri (string-append + "http://geuz.org/gl2ps/src/gl2ps-" + version ".tgz")) + (sha256 + (base32 + "0h1nrhmkc4qjw2ninwpj2zbgwhc0qg6pdhpsibbvry0d2bzhns4a")))) + (build-system cmake-build-system) + (inputs + `(("libpng" ,libpng) + ("mesa" ,mesa) + ("zlib" ,zlib))) + (arguments + `(#:tests? #f)) ;; no tests + (home-page "http://www.geuz.org/gl2ps/") + (synopsis "OpenGL to PostScript printing library") + (description "GL2PS is a C library providing high quality vector +output for any OpenGL application. GL2PS uses sorting algorithms +capable of handling intersecting and stretched polygons, as well as +non-manifold objects. GL2PS provides many features including advanced +smooth shading and text rendering, culling of invisible primitives and +mixed vector/bitmap output.") + (license (list license:lgpl2.0+ + (license:non-copyleft "http://www.geuz.org/gl2ps/COPYING.GL2PS"))))) -- 2.11.0