From: Nils Gillmann <niasterisk@grrlz.net>
To: guix-devel@gnu.org
Subject: fonts.scm -> packaging "un-fonts", download isses
Date: Sun, 28 Feb 2016 23:40:08 +0100 [thread overview]
Message-ID: <87vb58ihmf.fsf@grrlz.net> (raw)
I try to package/import some leftovers from gentoo I have,
currently the fontset "un-fonts".
I get some errors while trying to download it. Currently it's
based on another font package where I try to adopt my existing
ebuild into. Here is the package definition and the output:
(define-public font-un-fonts
(package
(name "font-un-fonts")
(version "1.0.2")
(source (origin
(method url-fetch)
(uri (string-append
"https://kldp.net/frs/download.php/4695/"
"un-fonts-core-" version "-080608" ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"13liaz2pmww3aqabm55la5npd08m1skh334ky7qfidxaz5s742iv"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(let ((tar (string-append (assoc-ref %build-inputs "tar")
"/bin/tar"))
(PATH (string-append (assoc-ref %build-inputs "gzip")
"/bin"))
(font-dir (string-append %output "/share/fonts/truetype"))
(doc-dir (string-append %output "/share/doc/" ,name)))
(setenv "PATH" PATH)
(system* tar "xvf" (assoc-ref %build-inputs "source"))
(mkdir-p font-dir)
(mkdir-p doc-dir)
(chdir (string-append "un-fonts-ttf-" ,version))
(for-each (lambda (ttf)
(copy-file ttf
(string-append font-dir "/"
(basename ttf))))
(find-files "." "\\.ttf$"))
(for-each (lambda (doc)
(copy-file doc
(string-append doc-dir "/"
(basename doc))))
'("COPYING" "README"))))))
(native-inputs
`(("source" ,source)
("tar" ,tar)
("gzip" ,gzip)))
(home-page "https://kldp.net/projects/unfonts/")
(synopsis
"Un-fonts is a collection of Korean fonts")
(description
"Un-fonts is a family of mainly Korean fonts.
It contains the following fonts and styles:
UnBatang, UnBatangBold: serif
UnDotum, UnDotumBold: sans-serif
UnGraphic, UnGraphicBold: sans-serif style
UnDinaru, UnDinaruBold, UnDinaruLight
UnPilgi, UnPilgiBold: script
UnGungseo: cursive, brush-stroke
")
(license license:gpl2)))
the error output (to cut down the line length here) is located
here: https://ptpb.pw/EFI5
--
ng
irc://loupsycedyglgamf.onion:67/~NiAsterisk
http://loupsycedyglgamf.onion/NiAsterisk/
EDN: https://wiki.c3d2.de/Echt_Dezentrales_Netz/en
next reply other threads:[~2016-02-28 22:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-28 22:40 Nils Gillmann [this message]
2016-02-29 6:32 ` fonts.scm -> packaging "un-fonts", download isses Ricardo Wurmus
2016-02-29 10:04 ` Nils Gillmann
2016-02-29 10:28 ` Nils Gillmann
2016-02-29 10:39 ` Ricardo Wurmus
2016-02-29 10:52 ` Nils Gillmann
2016-02-29 12:29 ` Ricardo Wurmus
2016-03-04 11:53 ` Nils Gillmann
2016-03-05 0:03 ` Andreas Enge
2016-03-04 13:17 ` Nils Gillmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vb58ihmf.fsf@grrlz.net \
--to=niasterisk@grrlz.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).