commit: 83d57181d1565d9c12b7d2467be9008d2b6edeab
parent 9490fe2c87b33565b854a84ff5238c0b0affa223
Author: Michael Forney <mforney@mforney.org>
Date: Thu, 15 Feb 2018 10:33:02 -0800
Remove discount package
This will most likely be replaced with cmark.
Diffstat:
7 files changed, 0 insertions(+), 77 deletions(-)
diff --git a/.gitmodules b/.gitmodules
@@ -20,9 +20,6 @@
[submodule "pkg/blind/src"]
path = pkg/blind/src
url = git://git.suckless.org/blind
-[submodule "pkg/discount/src"]
- path = pkg/discount/src
- url = https://github.com/Orc/discount
[submodule "pkg/dmenu/src"]
path = pkg/dmenu/src
url = git://git.suckless.org/dmenu
diff --git a/pkg/discount/.gitignore b/pkg/discount/.gitignore
@@ -1 +0,0 @@
-/tools.ninja
-\ No newline at end of file
diff --git a/pkg/discount/config.h b/pkg/discount/config.h
@@ -1,29 +0,0 @@
-#ifndef __AC_MARKDOWN_D
-#define __AC_MARKDOWN_D 1
-
-#include <stdint.h>
-
-#define OS_LINUX 1
-#define THEME_CF 1
-#define NORETURN _Noreturn
-#define DWORD uint32_t
-#define WORD uint16_t
-#define BYTE uint8_t
-#define HAVE_BASENAME 1
-#define HAVE_LIBGEN_H 1
-#define HAVE_STDLIB_H 1
-#define HAVE_ALLOCA_H 1
-#define HAVE_PWD_H 1
-#define HAVE_GETPWUID 1
-#define HAVE_SRANDOM 1
-#define INITRNG(x) srandom(x)
-#define HAVE_BZERO 1
-#define HAVE_RANDOM 1
-#define COINTOSS() (random()&1)
-#define HAVE_STRCASECMP 1
-#define HAVE_STRNCASECMP 1
-#define HAVE_FCHDIR 1
-#define TABSTOP 4
-#define HAVE_MALLOC_H 1
-
-#endif /* __AC_MARKDOWN_D */
diff --git a/pkg/discount/gen.lua b/pkg/discount/gen.lua
@@ -1,40 +0,0 @@
-cflags{
- '-Wno-return-type', '-Wno-implicit-int',
- '-I $dir',
- '-I $srcdir',
- '-I $outdir',
-}
-
-sub('tools.ninja', function()
- toolchain 'host'
- cflags{'-Wno-implicit-int', '-I $outdir'}
- exe('mktags', {'mktags.c'})
-end)
-
-rule('mktags', '$outdir/mktags >$out.tmp && mv $out.tmp $out')
-build('mktags', '$outdir/blocktags', {'|', '$outdir/mktags'})
-
-build('awk', '$outdir/version.c', '$srcdir/VERSION', {
- expr=[['{printf "char markdown_version[] = \"%s\";\n", $$0}']],
-})
-build('sed', '$outdir/mkdio.h', '$srcdir/mkdio.h.in', {
- expr={
- '-e \'4i#include <stdint.h>\'',
- '-e s,@DWORD@,uint32_t,',
- },
-})
-
-pkg.deps = {'$outdir/blocktags', '$outdir/mkdio.h'}
-
-lib('libmarkdown.a', [[
- mkdio.c markdown.c dumptree.c generate.c
- resource.c docheader.c $outdir/version.c toc.c css.c
- xml.c Csio.c xmlpage.c basename.c emmatch.c
- github_flavoured.c setup.c tags.c html5.c flags.c
-]])
-
-exe('markdown', {'main.c', 'pgm_options.c', 'libmarkdown.a'})
-file('bin/markdown', '755', '$outdir/markdown')
-man{'markdown.1', 'markdown.7'}
-
-fetch 'git'
diff --git a/pkg/discount/rev b/pkg/discount/rev
@@ -1 +0,0 @@
-1
diff --git a/pkg/discount/src b/pkg/discount/src
@@ -1 +0,0 @@
-Subproject commit 3035d069e42fd4bc69d11791047e07e5bb2619d7
diff --git a/pkg/gen.lua b/pkg/gen.lua
@@ -8,7 +8,6 @@ subgen 'bearssl'
subgen 'blind'
subgen 'bzip2'
subgen 'curl'
-subgen 'discount'
subgen 'dosfstools'
subgen 'dmenu'
subgen 'e2fsprogs'