mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: Add potrace.
* gnu/packages/fontutils.scm (potrace): New variable.
This commit is contained in:
parent
fa0c1d6104
commit
ee69f85c7d
1 changed files with 28 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
|
||||||
|
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -197,3 +198,30 @@ (define-public graphite2
|
||||||
and returns a sequence of positioned glyphids from the font.")
|
and returns a sequence of positioned glyphids from the font.")
|
||||||
(license license:lgpl2.1+)
|
(license license:lgpl2.1+)
|
||||||
(home-page "http://projects.palaso.org/projects/graphitedev")))
|
(home-page "http://projects.palaso.org/projects/graphitedev")))
|
||||||
|
|
||||||
|
(define-public potrace
|
||||||
|
(package
|
||||||
|
(name "potrace")
|
||||||
|
(version "1.11")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://sourceforge/potrace/potrace-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1bbyl7jgigawmwc8r14znv8lb6lrcxh8zpvynrl6s800dr4yp9as"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(native-inputs `(("ghostscript" ,ghostscript))) ;for tests
|
||||||
|
(inputs `(("zlib" ,zlib)))
|
||||||
|
(synopsis "Transform bitmaps into vector graphics")
|
||||||
|
(description
|
||||||
|
"Potrace is a tool for tracing a bitmap, which means, transforming a
|
||||||
|
bitmap into a smooth, scalable image. The input is a bitmap (PBM, PGM, PPM,
|
||||||
|
or BMP format), and the default output is an encapsulated PostScript
|
||||||
|
file (EPS). A typical use is to create EPS files from scanned data, such as
|
||||||
|
company or university logos, handwritten notes, etc. The resulting image is
|
||||||
|
not \"jaggy\" like a bitmap, but smooth. It can then be rendered at any
|
||||||
|
resolution.")
|
||||||
|
(license license:gpl2+)
|
||||||
|
(home-page "http://potrace.sourceforge.net/")))
|
||||||
|
|
Loading…
Reference in a new issue