Browse Source

gnu: xfig: Add 'wrap-xfig phase.

* gnu/packages/xfig.scm (xfig): Set XAPPLRESDIR environment variable to help
  xfig find the app-defaults resource files.
gn-latest-20200428
Federico Beffa 7 years ago
parent
commit
faef3b153a
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      gnu/packages/xfig.scm

+ 9
- 1
gnu/packages/xfig.scm View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2014 Federico Beffa <beffa@fbengineering.ch>
;;;
;;; This file is part of GNU Guix.
;;;
@ -118,7 +119,14 @@
(close-pipe in)
(close-port out)))
(zero? (system* "make" "install.doc"))))
%standard-phases)))))
(alist-cons-after
'install 'wrap-xfig
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(wrap-program (string-append out "/bin/xfig")
`("XAPPLRESDIR" suffix
(,(string-append out "/etc/X11/app-defaults"))))))
%standard-phases))))))
(home-page "http://xfig.org/")
(synopsis "Interactive drawing tool")
(description


Loading…
Cancel
Save