pkgsrc-WIP-changes archive

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

suxus: import suxus-1.5 as wip/suxus



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Tue Jul 25 19:19:24 2023 +0200
Changeset:	c91b6c5cb9e0c5a1d3df79c69a7f4117b7a1b241

Modified Files:
	Makefile
Added Files:
	suxus/DESCR
	suxus/MESSAGE
	suxus/Makefile
	suxus/PLIST
	suxus/distinfo

Log Message:
suxus: import suxus-1.5 as wip/suxus

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c91b6c5cb9e0c5a1d3df79c69a7f4117b7a1b241

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

diffstat:
 Makefile       |  1 +
 suxus/DESCR    |  4 ++++
 suxus/MESSAGE  | 18 ++++++++++++++++++
 suxus/Makefile | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 suxus/PLIST    |  4 ++++
 suxus/distinfo | 11 +++++++++++
 6 files changed, 92 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 9c0f1c3af6..5010dfbdc6 100644
--- a/Makefile
+++ b/Makefile
@@ -5370,6 +5370,7 @@ SUBDIR+=	suse15_gcc
 SUBDIR+=	suse15_glibc-locale-base
 SUBDIR+=	sushi
 SUBDIR+=	suwidgets
+SUBDIR+=	suxus
 SUBDIR+=	svgalib
 SUBDIR+=	svkbd
 SUBDIR+=	svnup
diff --git a/suxus/DESCR b/suxus/DESCR
new file mode 100644
index 0000000000..8213213128
--- /dev/null
+++ b/suxus/DESCR
@@ -0,0 +1,4 @@
+Marc Lehman's bitmap font designed for low resolution displays.
+Suxus is a mod of nexus and tixus fonts with the addition of the
+missing VT-100 graphical characters, Latin-9 enconding support and
+improved readibility.
diff --git a/suxus/MESSAGE b/suxus/MESSAGE
new file mode 100644
index 0000000000..406f67db23
--- /dev/null
+++ b/suxus/MESSAGE
@@ -0,0 +1,18 @@
+===========================================================================
+$NetBSD$
+
+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 suxus fonts directory path to your
+Xorg configuration:
+
+        FontPath        "${PREFIX}/${FONTDIR}/"
+
+===========================================================================
diff --git a/suxus/Makefile b/suxus/Makefile
new file mode 100644
index 0000000000..6f0755f24e
--- /dev/null
+++ b/suxus/Makefile
@@ -0,0 +1,54 @@
+# $NetBSD$
+
+DISTNAME=	suxus-1.5
+CATEGORIES=	fonts
+MASTER_SITES=	http://oldhome.schmorp.de/marc/data/
+DIST_SUBDIR=	${PKGNAME_NOREV}
+EXTRACT_SUFX=	.gz
+DISTFILES=	suxus-iso-8859-1.bdf.gz \
+		suxus-iso-8859-15.bdf.gz \
+		fonts.alias
+
+MAINTAINER=	vins%NetBSD.org@localhost
+HOMEPAGE=	http://oldhome.schmorp.de/marc/suxus.html
+COMMENT=	Readable bitmap font for low-res displays
+LICENSE=	public-domain
+
+USE_LANGUAGES=	# none
+USE_TOOLS+=	bdftopcf gzip
+
+NO_CONFIGURE=	yes
+
+FONTS=		suxus-iso-8859-1 suxus-iso-8859-15
+FONTDIR=	share/fonts/X11/${PKGBASE}
+REQD_DIRS=	${FONTDIR}
+FONTS_DIRS.x11=	${FONTDIR}
+
+INSTALLATION_DIRS=	${FONTDIR}
+MESSAGE_SUBST+=		FONTDIR=${FONTDIR:Q}
+
+WRKSRC=		${WRKDIR}
+
+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} ${WRKDIR}/fonts.alias		\
+	  ${DESTDIR}${PREFIX}/${FONTDIR};
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/suxus/PLIST b/suxus/PLIST
new file mode 100644
index 0000000000..52af811c35
--- /dev/null
+++ b/suxus/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+share/fonts/X11/suxus/fonts.alias
+share/fonts/X11/suxus/suxus-iso-8859-1.pcf.gz
+share/fonts/X11/suxus/suxus-iso-8859-15.pcf.gz
diff --git a/suxus/distinfo b/suxus/distinfo
new file mode 100644
index 0000000000..d7ccc842ae
--- /dev/null
+++ b/suxus/distinfo
@@ -0,0 +1,11 @@
+$NetBSD$
+
+BLAKE2s (suxus-1.5/fonts.alias) = 27fff95ac969a2c90fdc864a75f9f8435513f1f32acf5c40729c9e5dcc7ef45a
+SHA512 (suxus-1.5/fonts.alias) = e7a45df0d0613177c74fc068329b675f2952e1c6b822a86cb01f2f2fefa6420f19a8af35a380bdb5d018d175971b1b9599d480e9e0806a9eae77dab6239a33ae
+Size (suxus-1.5/fonts.alias) = 141 bytes
+BLAKE2s (suxus-1.5/suxus-iso-8859-1.bdf.gz) = 117d597f8e80647f0b310c2e8ec4d225c20d4873b2553047f07414f3b58143f2
+SHA512 (suxus-1.5/suxus-iso-8859-1.bdf.gz) = 5719be36155480913e1f76f3200a5c15786fb3c2f1869263a480aac9194f37637fcee09ae9276918d5a9902e73e145ed4e8824bd40c0198a89c58e06841e8b35
+Size (suxus-1.5/suxus-iso-8859-1.bdf.gz) = 3182 bytes
+BLAKE2s (suxus-1.5/suxus-iso-8859-15.bdf.gz) = 32c0f6662436a5689277427928e9ee4b121e6bf73ce44002d6abbae590a47642
+SHA512 (suxus-1.5/suxus-iso-8859-15.bdf.gz) = 0583b96d63342a342c03584906b61a94f843f95de36a552a855f902ad847f2613175c6c2183b195bb89cc20f75355973e4f42b0749abc1b91d581cd78ae0472f
+Size (suxus-1.5/suxus-iso-8859-15.bdf.gz) = 3185 bytes


Home | Main Index | Thread Index | Old Index