emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#25829: closed ([PATCH] gnu: Add font-tamzen.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#25829: closed ([PATCH] gnu: Add font-tamzen.)
Date: Fri, 10 Mar 2017 08:21:02 +0000

Your message dated Fri, 10 Mar 2017 09:29:11 +0000
with message-id <address@hidden>
and subject line Re: bug#25829: [PATCH] gnu: Add font-tamzen.
has caused the debbugs.gnu.org bug report #25829,
regarding [PATCH] gnu: Add font-tamzen.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
25829: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25829
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add font-tamzen. Date: Tue, 21 Feb 2017 11:39:45 +0000
From: ng0 <address@hidden>

* gnu/packages/fonts.scm (font-tamzen): New variable.
---
 gnu/packages/fonts.scm | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index ce07accbf..0a8d1efce 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1035,6 +1035,70 @@ designed to work well in user interface environments.")
 vector graphics.")
    (license license:silofl1.1)))
 
+(define-public font-tamzen
+  (package
+    (name "font-tamzen")
+    (version "1.11.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/sunaku/tamzen-font/archive/";
+                           "Tamzen-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ryd7gp6qiwaqw73jqbmh4kwlriyd8xykh4j7z90z8xp9fm7lrys"))))
+    (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/misc"))
+               (psf-dir (string-append %output "/share/kbd/consolefonts"))
+               (src-pcf-dir (string-append "tamzen-font-Tamzen-"
+                                            ,version "/pcf")))
+           (setenv "PATH" PATH)
+           (system* tar "xvf" (assoc-ref %build-inputs "source"))
+           (mkdir-p font-dir)
+           (mkdir-p psf-dir)
+           (chdir src-pcf-dir)
+           (for-each (lambda (pcf)
+                       (install-file pcf font-dir))
+                     (find-files "." "\\.pcf$"))
+           (chdir "../psf")
+           (for-each (lambda (psf)
+                       (install-file psf psf-dir))
+                     (find-files "." "\\.psf$"))
+           #t))))
+    (native-inputs
+     `(("tar" ,tar)
+       ("gzip" ,gzip)))
+    (home-page "https://github.com/sunaku/tamzen-font";)
+    (synopsis "Monospaced bitmap font for console and X11")
+    (description
+     "Tamzen is a fork of the @code{Tamsyn} font.  It is programatically forked
+from @code{Tamsyn} version 1.11, backporting glyphs from older versions while
+deleting deliberately empty glyphs (which are marked as unimplemented) to
+allow secondary/fallback fonts to provide real glyphs at those codepoints.
+
+The 'TamzenForPowerline' fonts provide additional @code{Powerline} symbols,
+which are programatically injected with @code{bitmap-font-patcher} and
+later hand-tweaked with the gbdfed(1) editor:
+
address@hidden
address@hidden all icons are expanded to occupy the maximum available space
address@hidden the branch of the fork icon ( U+E0A0) was made larger than the 
trunk
address@hidden for the newline icon ( U+E0A1), the 'N' was made larger at the 
bottom
address@hidden the keyhole in the padlock icon ( U+E0A2) was replaced with 
'//' lines.
address@hidden enumerate\n")
+    (license (license:non-copyleft "file://LICENSE"))))
+
 (define-public font-comic-neue
   (package
    (name "font-comic-neue")
-- 
2.11.1




--- End Message ---
--- Begin Message --- Subject: Re: bug#25829: [PATCH] gnu: Add font-tamzen. Date: Fri, 10 Mar 2017 09:29:11 +0000
Kei Kebreau transcribed 4.7K bytes:
> address@hidden writes:
> 
> > From: ng0 <address@hidden>
> >
> > * gnu/packages/fonts.scm (font-tamzen): New variable.
> > ---
> >  gnu/packages/fonts.scm | 64 
> > ++++++++++++++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 64 insertions(+)
> >
> > diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
> > index ce07accbf..0a8d1efce 100644
> > --- a/gnu/packages/fonts.scm
> > +++ b/gnu/packages/fonts.scm
> > @@ -1035,6 +1035,70 @@ designed to work well in user interface 
> > environments.")
> >  vector graphics.")
> >     (license license:silofl1.1)))
> >  
> > +(define-public font-tamzen
> > +  (package
> > +    (name "font-tamzen")
> > +    (version "1.11.4")
> > +    (source
> > +     (origin
> > +       (method url-fetch)
> > +       (uri (string-append "https://github.com/sunaku/tamzen-font/archive/";
> > +                           "Tamzen-" version ".tar.gz"))
> > +       (file-name (string-append name "-" version ".tar.gz"))
> > +       (sha256
> > +        (base32
> > +         "1ryd7gp6qiwaqw73jqbmh4kwlriyd8xykh4j7z90z8xp9fm7lrys"))))
> > +    (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/misc"))
> > +               (psf-dir (string-append %output "/share/kbd/consolefonts"))
> > +               (src-pcf-dir (string-append "tamzen-font-Tamzen-"
> > +                                            ,version "/pcf")))
> > +           (setenv "PATH" PATH)
> > +           (system* tar "xvf" (assoc-ref %build-inputs "source"))
> > +           (mkdir-p font-dir)
> > +           (mkdir-p psf-dir)
> > +           (chdir src-pcf-dir)
> > +           (for-each (lambda (pcf)
> > +                       (install-file pcf font-dir))
> > +                     (find-files "." "\\.pcf$"))
> > +           (chdir "../psf")
> > +           (for-each (lambda (psf)
> > +                       (install-file psf psf-dir))
> > +                     (find-files "." "\\.psf$"))
> > +           #t))))
> > +    (native-inputs
> > +     `(("tar" ,tar)
> > +       ("gzip" ,gzip)))
> > +    (home-page "https://github.com/sunaku/tamzen-font";)
> > +    (synopsis "Monospaced bitmap font for console and X11")
> > +    (description
> > +     "Tamzen is a fork of the @code{Tamsyn} font.  It is programatically 
> > forked
> > +from @code{Tamsyn} version 1.11, backporting glyphs from older versions 
> > while
> > +deleting deliberately empty glyphs (which are marked as unimplemented) to
> > +allow secondary/fallback fonts to provide real glyphs at those codepoints.
> > +
> > +The 'TamzenForPowerline' fonts provide additional @code{Powerline} symbols,
> > +which are programatically injected with @code{bitmap-font-patcher} and
> > +later hand-tweaked with the gbdfed(1) editor:
> > +
> 
> I changed 'TamzenForPowerline' to @code{TamzenForPowerline} for guix
> lint's sake.
> 
> > address@hidden
> > address@hidden all icons are expanded to occupy the maximum available space
> > address@hidden the branch of the fork icon ( U+E0A0) was made larger than 
> > the trunk
> > address@hidden for the newline icon ( U+E0A1), the 'N' was made larger at 
> > the bottom
> > address@hidden the keyhole in the padlock icon ( U+E0A2) was replaced with 
> > '//' lines.
> > address@hidden enumerate\n")
> 
> I changed the 'N' and '//' to @emph{N} and @emph{//} also for guix lint's 
> sake.
> 
> > +    (license (license:non-copyleft "file://LICENSE"))))
> > +
> >  (define-public font-comic-neue
> >    (package
> >     (name "font-comic-neue")
> 
> Pushed to master as f2a7ce5033390e5a7b5faa8218010c4fd05ace1f.

Thanks, closed.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]