From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: fonts.scm -> packaging "un-fonts", download isses Date: Sun, 28 Feb 2016 23:40:08 +0100 Message-ID: <87vb58ihmf.fsf@grrlz.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaA5Q-0004j5-Ox for guix-devel@gnu.org; Sun, 28 Feb 2016 17:45:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaA5N-0005Qs-Gm for guix-devel@gnu.org; Sun, 28 Feb 2016 17:45:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:49475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaA5N-0005Mv-AN for guix-devel@gnu.org; Sun, 28 Feb 2016 17:45:09 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aaA5H-0001Nl-FY for guix-devel@gnu.org; Sun, 28 Feb 2016 23:45:03 +0100 Received: from x2f38328.dyn.telefonica.de ([2.243.131.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Feb 2016 23:45:03 +0100 Received: from niasterisk by x2f38328.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Feb 2016 23:45:03 +0100 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org 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