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")