From 7a75b02ae54b054cdc614d1cb5af7ed26c4f63c3 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sat, 8 Aug 2015 13:46:17 -0400 Subject: [PATCH] gnu: Move ghostscript-with-x into (gnu packages ghostscript). * gnu/packages/gv.scm (ghostscript/x): Move ... * gnu/packages/ghostscript.scm (ghostscript/x): ... to here. --- gnu/packages/ghostscript.scm | 10 +++++++++- gnu/packages/gv.scm | 7 ------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index bd57889888..818072ac5e 100644 --- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013 Andreas Enge ;;; Copyright © 2014, 2015 Mark H Weaver ;;; Copyright © 2015 Ricardo Wurmus -;;; Copyright © 2015 Ludovic Courtès +;;; Copyright © 2013, 2015 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,6 +29,7 @@ (define-module (gnu packages ghostscript) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages tcl) + #:use-module (gnu packages xorg) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) @@ -183,6 +184,13 @@ (define-public ghostscript (license license:agpl3+) (home-page "http://www.gnu.org/software/ghostscript/"))) +(define-public ghostscript/x + (package (inherit ghostscript) + (name (string-append (package-name ghostscript) "-with-x")) + (inputs `(("libxext" ,libxext) + ("libxt" ,libxt) + ,@(package-inputs ghostscript))))) + (define-public ijs (package (name "ijs") diff --git a/gnu/packages/gv.scm b/gnu/packages/gv.scm index f635942119..5f8532144b 100644 --- a/gnu/packages/gv.scm +++ b/gnu/packages/gv.scm @@ -28,13 +28,6 @@ (define-module (gnu packages gv) #:use-module (guix download) #:use-module (guix build-system gnu)) -(define-public ghostscript/x - (package (inherit ghostscript) - (name (string-append (package-name ghostscript) "-with-x")) - (inputs `(("libxext" ,libxext) - ("libxt" ,libxt) - ,@(package-inputs ghostscript))))) - (define-public gv (package (name "gv")