From 8f76c9ccbfee4bc445ea8d81cfed35cb932bf6d0 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 18 Jul 2019 20:35:36 -0400 Subject: examples/proteanos-motd/*: Add color MOTD example --- diff --git a/Makefile.am b/Makefile.am index 97cd80e..50d9f32 100644 --- a/Makefile.am +++ b/Makefile.am @@ -64,6 +64,7 @@ version.c: $(fbcon2png_OBJECTS) $(fbcon2png_DEPENDENCIES) $(AM_V_GEN)printf 'const char *PACKAGE_VERSION_GIT = "%s";\n' \ "$(PACKAGE_VERSION_GIT)" >version.c +include $(top_srcdir)/examples/local.mk include $(top_srcdir)/lib/fonts/local.mk include $(top_srcdir)/src/local.mk diff --git a/examples/.gitignore b/examples/.gitignore new file mode 100644 index 0000000..74ed96f --- /dev/null +++ b/examples/.gitignore @@ -0,0 +1 @@ +!*.png diff --git a/examples/local.mk b/examples/local.mk new file mode 100644 index 0000000..f147d4a --- /dev/null +++ b/examples/local.mk @@ -0,0 +1,17 @@ +EXTRA_DIST += \ + %reldir%/proteanos-motd/motd + +FONTS_MPLUS = \ + MPLUS_1MN_MEDIUM_10x14 \ + MPLUS_1MN_REGULAR_12x17 \ + MPLUS_1MN_REGULAR_14x19 \ + MPLUS_1MN_REGULAR_16x22 + +# Update examples *in source tree*. +update-examples: + set -e; for F in $(FONTS_MPLUS); do \ + f="$$(printf '%s' "$${F}" | tr '[A-Z]' '[a-z]')"; \ + $(top_builddir)/fbcon2png -f "$${F}" \ + '$(top_srcdir)/%reldir%/proteanos-motd/motd' \ + "$(top_srcdir)/%reldir%/proteanos-motd/$${f}.png"; \ + done diff --git a/examples/proteanos-motd/motd b/examples/proteanos-motd/motd new file mode 100644 index 0000000..77a8cce --- /dev/null +++ b/examples/proteanos-motd/motd @@ -0,0 +1,14 @@ +  _ + .' `. + __ ___ _ | |.' +| `. _ _ _|_ _ __ _ .' `. .' `- ~~| |~~~ +|__.' |.' .' `. | .' `. _;. |' `. | | `-. ~~~~ +| | | | | |---' .' | | | | | `. +| | `._.' `.- `._. \_.'| | | `.___.' `._.' TM + +The programs included with ProteanOS BusyBox/Linux-libre are free +software; the exact distribution terms for each program are described in +the individual files in /usr/share/doc/*/copyright. + +ProteanOS BusyBox/Linux-libre comes with ABSOLUTELY NO WARRANTY, to the +extent permitted by applicable law. diff --git a/examples/proteanos-motd/mplus_1mn_medium_10x14.png b/examples/proteanos-motd/mplus_1mn_medium_10x14.png new file mode 100644 index 0000000..c0af534 --- /dev/null +++ b/examples/proteanos-motd/mplus_1mn_medium_10x14.png Binary files differ diff --git a/examples/proteanos-motd/mplus_1mn_regular_12x17.png b/examples/proteanos-motd/mplus_1mn_regular_12x17.png new file mode 100644 index 0000000..5d1b1d3 --- /dev/null +++ b/examples/proteanos-motd/mplus_1mn_regular_12x17.png Binary files differ diff --git a/examples/proteanos-motd/mplus_1mn_regular_14x19.png b/examples/proteanos-motd/mplus_1mn_regular_14x19.png new file mode 100644 index 0000000..da09e16 --- /dev/null +++ b/examples/proteanos-motd/mplus_1mn_regular_14x19.png Binary files differ diff --git a/examples/proteanos-motd/mplus_1mn_regular_16x22.png b/examples/proteanos-motd/mplus_1mn_regular_16x22.png new file mode 100644 index 0000000..2d94873 --- /dev/null +++ b/examples/proteanos-motd/mplus_1mn_regular_16x22.png Binary files differ -- cgit v0.9.1