You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

63 lines
2.4 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
  3. ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
  4. ;;;
  5. ;;; This file is part of GNU Guix.
  6. ;;;
  7. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  8. ;;; under the terms of the GNU General Public License as published by
  9. ;;; the Free Software Foundation; either version 3 of the License, or (at
  10. ;;; your option) any later version.
  11. ;;;
  12. ;;; GNU Guix is distributed in the hope that it will be useful, but
  13. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. ;;; GNU General Public License for more details.
  16. ;;;
  17. ;;; You should have received a copy of the GNU General Public License
  18. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  19. (define-module (gnu packages gv)
  20. #:use-module (gnu packages)
  21. #:use-module (gnu packages ghostscript)
  22. #:use-module (gnu packages compression)
  23. #:use-module (gnu packages pkg-config)
  24. #:use-module (gnu packages xorg)
  25. #:use-module ((guix licenses) #:renamer (symbol-prefix-proc 'license:))
  26. #:use-module (guix packages)
  27. #:use-module (guix download)
  28. #:use-module (guix build-system gnu))
  29. (define-public ghostscript/x
  30. (package (inherit ghostscript)
  31. (name (string-append (package-name ghostscript) "-with-x"))
  32. (inputs `(("libxext" ,libxext)
  33. ("libxt" ,libxt)
  34. ,@(package-inputs ghostscript)))))
  35. (define-public gv
  36. (package
  37. (name "gv")
  38. (version "3.7.4")
  39. (source (origin
  40. (method url-fetch)
  41. (uri (string-append "mirror://gnu/gv/gv-"
  42. version ".tar.gz"))
  43. (sha256 (base32
  44. "0q8s43z14vxm41pfa8s5h9kyyzk1fkwjhkiwbf2x70alm6rv6qi1"))))
  45. (build-system gnu-build-system)
  46. (propagated-inputs `(("ghostscript" ,ghostscript/x)))
  47. (inputs `(("libx11" ,libx11)
  48. ("libxaw3d" ,libxaw3d)
  49. ("libxinerama" ,libxinerama)
  50. ("libxpm" ,libxpm)
  51. ("pkg-config" ,pkg-config)
  52. ("zlib" ,zlib)))
  53. (synopsis "PostScript and PDF viewer using Ghostscript as a back-end")
  54. (description
  55. "GV is a graphical user interface to the Ghostscript interpreter. With
  56. it, one can view and navigate through PostScript and PDF documents in X
  57. Windows.")
  58. (license license:gpl3+)
  59. (home-page "http://www.gnu.org/software/gv/")))