pkgsrc-Changes archive

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

CVS commit: pkgsrc/fonts/leahfonts



Module Name:    pkgsrc
Committed By:   vins
Date:           Sun Oct  1 13:57:49 UTC 2023

Added Files:
        pkgsrc/fonts/leahfonts: DESCR MESSAGE Makefile PLIST distinfo
        pkgsrc/fonts/leahfonts/files: fonts.alias

Log Message:
fonts/leahfonts: initial import of leahfonts-20170708

Leah Fonts is a collection of bitmap fonts designed by Leah Neukirchen,
for those who still prefer a crispier look over TrueType.

Included fonts are:
* sq - 7x15 pixel font inspired by Codec and Quadraat Sans Mono.
  Public domain, 2012. Covers full Latin-1 range. Normal and bold.
* 5x13 - condensed pixel font built on 6x13. A well readable font that
  is only five pixels wide, such that you can fit four 80-chars wide
  shells next to each other on a 1600x1200 display. Partial Latin-1
  support (German subset). Normal only.
* smalltalk10 - the font of the Smalltalk 80 system. A pixel perfect
  restauration of the Smalltalk 80 variable width font "sans-serif 10" as
  provided in the image tape by Mario Wolczko, using the emulator by Dan
  Banay. Covers only printable 7-bit ASCII. Normal shape only.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/fonts/leahfonts/DESCR \
    pkgsrc/fonts/leahfonts/MESSAGE pkgsrc/fonts/leahfonts/Makefile \
    pkgsrc/fonts/leahfonts/PLIST pkgsrc/fonts/leahfonts/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/fonts/leahfonts/files/fonts.alias

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/fonts/leahfonts/DESCR
diff -u /dev/null pkgsrc/fonts/leahfonts/DESCR:1.1
--- /dev/null   Sun Oct  1 13:57:49 2023
+++ pkgsrc/fonts/leahfonts/DESCR        Sun Oct  1 13:57:49 2023
@@ -0,0 +1,14 @@
+Leah Fonts is a collection of bitmap fonts designed by Leah Neukirchen,
+for those who still prefer a crispier look over TrueType.
+
+Included fonts are:
+* sq - 7x15 pixel font inspired by Codec and Quadraat Sans Mono.
+  Public domain, 2012. Covers full Latin-1 range. Normal and bold.
+* 5x13 - condensed pixel font built on 6x13. A well readable font that
+  is only five pixels wide, such that you can fit four 80-chars wide
+  shells next to each other on a 1600x1200 display. Partial Latin-1
+  support (German subset). Normal only.
+* smalltalk10 - the font of the Smalltalk 80 system. A pixel perfect
+  restauration of the Smalltalk 80 variable width font "sans-serif 10" as
+  provided in the image tape by Mario Wolczko, using the emulator by Dan
+  Banay. Covers only printable 7-bit ASCII. Normal shape only.
Index: pkgsrc/fonts/leahfonts/MESSAGE
diff -u /dev/null pkgsrc/fonts/leahfonts/MESSAGE:1.1
--- /dev/null   Sun Oct  1 13:57:49 2023
+++ pkgsrc/fonts/leahfonts/MESSAGE      Sun Oct  1 13:57:49 2023
@@ -0,0 +1,18 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2023/10/01 13:57:49 vins Exp $
+
+To make new fonts available on an existing X session, you will have to
+update the X fonts path, by executing:
+
+       $ xset +fp ${PREFIX}/${FONTDIR}
+       $ xset fp rehash
+
+To make the effect permanent for future X sessions, you can add the above
+command to your ~/.xinitrc script.
+
+In alternative, you may wish to add the ${PKGBASE} directory path to your
+Xorg configuration:
+
+        FontPath        "${PREFIX}/${FONTDIR}/"
+
+===========================================================================
Index: pkgsrc/fonts/leahfonts/Makefile
diff -u /dev/null pkgsrc/fonts/leahfonts/Makefile:1.1
--- /dev/null   Sun Oct  1 13:57:49 2023
+++ pkgsrc/fonts/leahfonts/Makefile     Sun Oct  1 13:57:49 2023
@@ -0,0 +1,63 @@
+# $NetBSD: Makefile,v 1.1 2023/10/01 13:57:49 vins Exp $
+
+PKGNAME=       leahfonts-20170708
+CATEGORIES=    fonts
+MASTER_SITES=  https://git.vuxu.org/
+DIST_SUBDIR=   ${PKGNAME_NOREV}
+EXTRACT_SUFX=  .tar.xz
+
+DISTFILES=                     5x13-master.tar.xz sq-master.tar.xz \
+                               smalltalk10.bdf
+SITES.5x13-master.tar.xz=      ${MASTER_SITES}/5x13/snapshot/
+SITES.sq-master.tar.xz=                ${MASTER_SITES}/sq/snapshot/
+SITES.smalltalk10.bdf=         https://leahneukirchen.org/fonts/
+
+MAINTAINER=    vins%NetBSD.org@localhost
+HOMEPAGE=      https://leahneukirchen.org/fonts/
+COMMENT=       Bitmap fonts by Leah Neukirchen
+LICENSE=       public-domain
+
+USE_LANGUAGES= # none
+USE_TOOLS+=    bdftopcf gzip
+
+NO_CONFIGURE=  yes
+
+FONTS=         5x13 smalltalk10 sq sqb
+FONTDIR=       share/fonts/X11/${PKGBASE}
+REQD_DIRS=     ${FONTDIR}
+FONTS_DIRS.x11=        ${FONTDIR}
+
+INSTALLATION_DIRS=     ${FONTDIR}
+MESSAGE_SUBST+=                FONTDIR=${FONTDIR:Q}
+
+post-extract:
+       ${RUN}${MKDIR} ${WRKDIR}/${PKGNAME_NOREV}
+       ${RUN}cd ${WRKDIR} &&                           \
+       for FONT in smalltalk10 5x13-master/5x13        \
+         sq-master/sq sq-master/sqb; do                \
+         ${MV} $${FONT}.bdf ${WRKSRC};                 \
+       done
+
+do-build:
+       ${RUN}cd ${WRKSRC} &&                           \
+       for FONT in ${FONTS}; do                        \
+         ${ECHO_N} "Compiling font $${FONT} ... ";     \
+         bdftopcf $${FONT}.bdf |                       \
+               ${GZIP_CMD} -c >$${FONT}.pcf.gz;        \
+         ${ECHO} "done";                               \
+       done
+
+do-install:
+       ${RUN}for FONT in ${FONTS}; do                  \
+         ${ECHO_N} "Installing font $${FONT} ... ";    \
+         ${INSTALL_DATA} ${WRKSRC}/$${FONT}.pcf.gz     \
+               ${DESTDIR}${PREFIX}/${FONTDIR};         \
+         ${ECHO} "done";                               \
+       done
+
+post-install:
+       ${RUN}${ECHO_N} "Installing font aliases ... "; \
+       ${INSTALL_DATA} ${FILESDIR}/fonts.alias         \
+               ${DESTDIR}${PREFIX}/${FONTDIR};
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/fonts/leahfonts/PLIST
diff -u /dev/null pkgsrc/fonts/leahfonts/PLIST:1.1
--- /dev/null   Sun Oct  1 13:57:49 2023
+++ pkgsrc/fonts/leahfonts/PLIST        Sun Oct  1 13:57:49 2023
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2023/10/01 13:57:49 vins Exp $
+share/fonts/X11/leahfonts/5x13.pcf.gz
+share/fonts/X11/leahfonts/fonts.alias
+share/fonts/X11/leahfonts/smalltalk10.pcf.gz
+share/fonts/X11/leahfonts/sq.pcf.gz
+share/fonts/X11/leahfonts/sqb.pcf.gz
Index: pkgsrc/fonts/leahfonts/distinfo
diff -u /dev/null pkgsrc/fonts/leahfonts/distinfo:1.1
--- /dev/null   Sun Oct  1 13:57:49 2023
+++ pkgsrc/fonts/leahfonts/distinfo     Sun Oct  1 13:57:49 2023
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1 2023/10/01 13:57:49 vins Exp $
+
+BLAKE2s (leahfonts-20170708/5x13-master.tar.xz) = 41443c90a806e85a6fcefb6ea23cb82db7c0bc252580fd211885cfba216f8701
+SHA512 (leahfonts-20170708/5x13-master.tar.xz) = 4e4d1e0e9f4a42704ec5cfb9676b32d6865bee68dcd18902640e3bc40763c94ba43300996e18a3c0b4e0266a008c651cfde4757dfb71b614250815ba3e2ec2d2
+Size (leahfonts-20170708/5x13-master.tar.xz) = 3464 bytes
+BLAKE2s (leahfonts-20170708/smalltalk10.bdf) = b50f424ba5536d33c3b13080fa808c18a8ebf03f85e1fc59ab0fe5ca0fec5469
+SHA512 (leahfonts-20170708/smalltalk10.bdf) = 12efdb9fbb9722b2e3aeb562a39eb834b986ff93eade45bfc2569788d89c4b0adc62a02fa4cbd5624b222b3cf9dfd394d37094decf1cd9c4403b125a2c6d6e11
+Size (leahfonts-20170708/smalltalk10.bdf) = 10261 bytes
+BLAKE2s (leahfonts-20170708/sq-master.tar.xz) = c94a6229fbd1f2564cbfa4beb87f7bb1afe90ff474ede69c3d3166014781864d
+SHA512 (leahfonts-20170708/sq-master.tar.xz) = 3a187adf3d8a7af2acd7f3e0bf17bf0a57fe1cf543cd2822c5b2d750ab74dc67fda8fc47c00b84fa1c0b1faa9d6881d2663a980791326c4298ecc4dda4f810f0
+Size (leahfonts-20170708/sq-master.tar.xz) = 119068 bytes

Index: pkgsrc/fonts/leahfonts/files/fonts.alias
diff -u /dev/null pkgsrc/fonts/leahfonts/files/fonts.alias:1.1
--- /dev/null   Sun Oct  1 13:57:49 2023
+++ pkgsrc/fonts/leahfonts/files/fonts.alias    Sun Oct  1 13:57:49 2023
@@ -0,0 +1,4 @@
+leah           -chris2-fixed-medium-r-condensed--13-120-75-75-c-50-iso10646-1
+smalltalk      -leah2-smalltalk-medium-r-normal--12-120-75-75-p-100-iso8859-1
+sq             -chris2-sq-medium-r-normal--15-140-75-75-c-100-iso8859-1
+sqb            -chris2-sq-bold-r-normal--15-140-75-75-c-100-iso8859-1



Home | Main Index | Thread Index | Old Index