From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: [PATCH] gnu: Add psutils. Date: Sun, 20 Jan 2013 23:33:31 +0100 Message-ID: <201301202333.31367.andreas@enge.fr> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_7CH/QJQUuDc84i4" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx3SN-0007Ia-PM for bug-guix@gnu.org; Sun, 20 Jan 2013 17:33:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tx3SK-0002ea-3f for bug-guix@gnu.org; Sun, 20 Jan 2013 17:33:39 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:54493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx3SJ-0002d8-Pf for bug-guix@gnu.org; Sun, 20 Jan 2013 17:33:36 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org --Boundary-00=_7CH/QJQUuDc84i4 Content-Type: multipart/alternative; boundary="Boundary-01=_7CH/QLfB+BB+1uC" Content-Transfer-Encoding: 7bit --Boundary-01=_7CH/QLfB+BB+1uC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit The attached patch adds psutils. Its license is homebrewed: http://packages.debian.org/changelogs/pool/main/p/psutils/current/copyright Does it qualify as "bsd-like"? If not, would it make sense to add a license "other" to licenses.scm, which takes the same parameters as "bsd-like"? Andreas --Boundary-01=_7CH/QLfB+BB+1uC Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit

The attached patch adds psutils. Its license is homebrewed:

http://packages.debian.org/changelogs/pool/main/p/psutils/current/copyright

Does it qualify as "bsd-like"? If not, would it make sense to add a license "other" to licenses.scm, which takes the same parameters as "bsd-like"?

 

Andreas

 

--Boundary-01=_7CH/QLfB+BB+1uC-- --Boundary-00=_7CH/QJQUuDc84i4 Content-Type: text/x-patch; charset="UTF-8"; name="0001-gnu-Add-psutils.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-gnu-Add-psutils.patch" =46rom 2ed9a3862d3f120986ed40863a26a88c64f5ded7 Mon Sep 17 00:00:00 2001 =46rom: Andreas Enge Date: Sun, 20 Jan 2013 23:26:11 +0100 Subject: [PATCH] gnu: Add psutils. * gnu/packages/ghostscript.scm (psutils): New variable. =2D-- gnu/packages/ghostscript.scm | 42 ++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index a375675..a2ca108 100644 =2D-- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm @@ -75,6 +75,48 @@ paper size.") (license license:gpl2) (home-page "http://packages.qa.debian.org/libp/libpaper.html"))) =20 +(define-public psutils + (package + (name "psutils") + (version "17") + (source (origin + (method url-fetch) + (uri "ftp://ftp.knackered.org/pub/psutils/psutils.tar.gz") + (sha256 (base32 + "1r4ab1fvgganm02kmm70b2r1azwzbav2am41gbigpa2bb1wynlrq= ")))) + (build-system gnu-build-system) + (inputs `(("perl" ,perl))) + (arguments + `(#:tests? #f ; none provided + #:phases + (alist-replace + 'configure + (lambda* (#:key inputs outputs #:allow-other-keys #:rest args) + (let ((perl (assoc-ref inputs "perl")) + (out (assoc-ref outputs "out"))) + (copy-file "Makefile.unix" "Makefile") + (substitute* "Makefile" + (("/usr/local/bin/perl") (string-append perl "/bin/perl"))) + (substitute* "Makefile" + (("/usr/local") out)) + (substitute* "Makefile" + (("-mkdir") "mkdir -p")) + ;; for the install phase + (substitute* "Makefile" + ((" install.include") "")) + ;; drop installation of non-free files + )) + %standard-phases))) + (synopsis "psutils, a collection of utilities for manipulating PostScri= pt documents") + (description + "PSUtils is a collection of utilities for manipulating PostScript +documents. Programs included are psnup, for placing out several logical pa= ges +on a single sheet of paper, psselect, for selecting pages from a document, +pstops, for general imposition, psbook, for signature generation for bookl= et +printing, and psresize, for adjusting page sizes.") + (license "other") + (home-page "http://knackered.org/angus/psutils/"))) + (define-public ghostscript (package (name "ghostscript") =2D-=20 1.7.10.4 --Boundary-00=_7CH/QJQUuDc84i4--