diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2016-09-02 14:30:21 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2016-09-02 14:37:13 +0300 |
| commit | c4c8cfddd5ba05b30d99c4aac573634d787b7695 (patch) | |
| tree | c25ada137b8f585ff540c134dcdbfe21626581b4 /gnu/packages/ghostscript.scm | |
| parent | fb0b9ff1fabb3106ff72f3fe5f531b14f96bda8d (diff) | |
gnu: Remove ghostscript-gs definitions.
* gnu/packages/ghostscript.scm (ghostscript-wrapper, ghostscript-gs)
(ghostscript-gs/x): Remove variables.
Diffstat (limited to 'gnu/packages/ghostscript.scm')
| -rw-r--r-- | gnu/packages/ghostscript.scm | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index 714544c2e68..8f10b180742 100644 --- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm | |||
| @@ -204,40 +204,6 @@ output file formats and printers.") | |||
| 204 | ("libxt" ,libxt) | 204 | ("libxt" ,libxt) |
| 205 | ,@(package-inputs ghostscript))))) | 205 | ,@(package-inputs ghostscript))))) |
| 206 | 206 | ||
| 207 | (define (ghostscript-wrapper name ghostscript) | ||
| 208 | ;; Return a GHOSTSCRIPT wrapper that provides the 'gs' command. | ||
| 209 | ;; See <https://lists.gnu.org/archive/html/guix-devel/2016-07/msg00987.html>. | ||
| 210 | (package | ||
| 211 | (name name) | ||
| 212 | (version (package-version ghostscript)) | ||
| 213 | (source #f) | ||
| 214 | (build-system trivial-build-system) | ||
| 215 | (inputs `(("ghostscript" ,ghostscript))) | ||
| 216 | (arguments | ||
| 217 | `(#:modules ((guix build utils)) | ||
| 218 | #:builder (begin | ||
| 219 | (use-modules (guix build utils)) | ||
| 220 | |||
| 221 | (let* ((out (assoc-ref %outputs "out")) | ||
| 222 | (bin (string-append out "/bin")) | ||
| 223 | (gs (assoc-ref %build-inputs "ghostscript"))) | ||
| 224 | (mkdir-p bin) | ||
| 225 | (with-directory-excursion bin | ||
| 226 | (symlink (string-append gs "/bin/gsc") "gs") | ||
| 227 | #t))))) | ||
| 228 | (synopsis "Wrapper providing Ghostscript's 'gs' command") | ||
| 229 | (description | ||
| 230 | "This package provides the @command{gs} command, which used to be | ||
| 231 | provided by Ghostscript itself and no longer is.") | ||
| 232 | (license (package-license ghostscript)) | ||
| 233 | (home-page (package-home-page ghostscript)))) | ||
| 234 | |||
| 235 | (define-public ghostscript-gs | ||
| 236 | (ghostscript-wrapper "ghostscript-gs" ghostscript)) | ||
| 237 | |||
| 238 | (define-public ghostscript-gs/x | ||
| 239 | (ghostscript-wrapper "ghostscript-gs-with-x" ghostscript/x)) | ||
| 240 | |||
| 241 | (define-public ijs | 207 | (define-public ijs |
| 242 | (package | 208 | (package |
| 243 | (name "ijs") | 209 | (name "ijs") |
