[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/11: gnu: Add xfd.
From: |
Alex Kost |
Subject: |
02/11: gnu: Add xfd. |
Date: |
Mon, 25 Jul 2016 14:22:21 +0000 (UTC) |
alezost pushed a commit to branch master
in repository guix.
commit e48e31bcc8c62fbd1caf77a1c4958fc49ab5ff7f
Author: Alex Kost <address@hidden>
Date: Thu Jun 30 21:11:25 2016 +0300
gnu: Add xfd.
* gnu/packages/xorg.scm (xfd): New variable.
---
gnu/packages/xorg.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index bc6692d..431c591 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -3917,6 +3917,52 @@ known to your X server, examine samples of each, and
retrieve the X Logical
Font Description (XLFD) full name for a font.")
(license license:x11)))
+(define-public xfd
+ (package
+ (name "xfd")
+ (version "1.1.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://xorg/individual/app/xfd-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "0n97iqqap9wyxjan2n520vh4rrf5bc0apsw2k9py94dqzci258y1"))))
+ (build-system gnu-build-system)
+ (arguments
+ ;; The same 'app-defaults' problem as with 'xfontsel' package.
+ (let ((app-defaults-dir "/share/X11/app-defaults"))
+ `(#:configure-flags
+ (list (string-append "--with-appdefaultdir="
+ %output ,app-defaults-dir))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'wrap-xfd
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-program (string-append out "/bin/xfd")
+ `("XAPPLRESDIR" =
+ (,(string-append out ,app-defaults-dir)))))))))))
+ (inputs
+ `(("fontconfig" ,fontconfig)
+ ("libx11" ,libx11)
+ ("libxaw" ,libxaw)
+ ("libxft" ,libxft)
+ ("libxmu" ,libxmu)
+ ("libxrender" ,libxrender)))
+ (native-inputs
+ `(("gettext" ,gnu-gettext)
+ ("pkg-config" ,pkg-config)))
+ (home-page "https://www.x.org/wiki/")
+ (synopsis "Display all the characters in an X font")
+ (description
+ "XFD (X Font Display) package provides an utility that displays a
+window containing the name of the font being displayed, a row of command
+buttons, several lines of text for displaying character metrics, and a grid
+containing one glyph per cell.")
+ (license license:x11)))
+
(define-public xmodmap
(package
(name "xmodmap")
- branch master updated (1925a87 -> 424a323), Alex Kost, 2016/07/25
- 05/11: doc: Describe how to make X server find TrueType fonts., Alex Kost, 2016/07/25
- 01/11: gnu: Add xfontsel., Alex Kost, 2016/07/25
- 09/11: gnu: emacs: Install site-start.el in non-versioned directory., Alex Kost, 2016/07/25
- 03/11: gnu: mkfontdir: Do not propagate 'mkfontscale'., Alex Kost, 2016/07/25
- 04/11: profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/25
- 06/11: gnu: Add xdpyprobe., Alex Kost, 2016/07/25
- 02/11: gnu: Add xfd.,
Alex Kost <=
- 08/11: gnu: Add guile-daemon., Alex Kost, 2016/07/25
- 10/11: gnu: emacs-solarized-theme: Remove unneeded dependencies., Alex Kost, 2016/07/25
- 11/11: doc: Explain when guix edit is read-only., Alex Kost, 2016/07/25
- 07/11: gnu: Add guile-xosd., Alex Kost, 2016/07/25