From 8f2f466965f061ce6d6be4443497c0fe6e10a5bc Mon Sep 17 00:00:00 2001 From: azahi Date: Fri, 28 Dec 2018 01:22:40 +0300 Subject: Initial --- app-misc/bdfresize/Manifest | 1 + app-misc/bdfresize/bdfresize-1.5.ebuild | 24 ++++++++++++++++++++ app-misc/bdfresize/files/bdfresize-1.5-gcc.patch | 12 ++++++++++ app-misc/bdfresize/metadata.xml | 8 +++++++ app-misc/ufetch/metadata.xml | 8 +++++++ app-misc/ufetch/ufetch-9999.ebuild | 24 ++++++++++++++++++++ app-misc/zenbu/metadata.xml | 8 +++++++ app-misc/zenbu/zenbu-9999.ebuild | 28 ++++++++++++++++++++++++ 8 files changed, 113 insertions(+) create mode 100644 app-misc/bdfresize/Manifest create mode 100644 app-misc/bdfresize/bdfresize-1.5.ebuild create mode 100644 app-misc/bdfresize/files/bdfresize-1.5-gcc.patch create mode 100644 app-misc/bdfresize/metadata.xml create mode 100644 app-misc/ufetch/metadata.xml create mode 100644 app-misc/ufetch/ufetch-9999.ebuild create mode 100644 app-misc/zenbu/metadata.xml create mode 100644 app-misc/zenbu/zenbu-9999.ebuild (limited to 'app-misc') diff --git a/app-misc/bdfresize/Manifest b/app-misc/bdfresize/Manifest new file mode 100644 index 0000000..3092ea5 --- /dev/null +++ b/app-misc/bdfresize/Manifest @@ -0,0 +1 @@ +DIST bdfresize-1.5.tar.gz 50916 BLAKE2B d67d9a377ce5ed367c30ca7fdb79ed68e7733208f1bc808ab5e1201c8afb67f9c8a28fe747c3bfe016b2e191a452290315e18654ce309ba97e9543bf42f37a5a SHA512 94d483b65ed4a29315b0f6627b6118c147e6d80dda61c0c44ad34fa62f303e980d974c81c9b852a845d8f5cb678e043023c42bf300b10e6f18846bd8490ef878 diff --git a/app-misc/bdfresize/bdfresize-1.5.ebuild b/app-misc/bdfresize/bdfresize-1.5.ebuild new file mode 100644 index 0000000..38a6cc2 --- /dev/null +++ b/app-misc/bdfresize/bdfresize-1.5.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A tool for resizing BDF format fonts" +HOMEPAGE="http://openlab.jp/efont/dist/tools/bdfresize/" +SRC_URI="http://openlab.jp/efont/dist/tools/bdfresize/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +PATCHES=( ${FILESDIR}/${P}-gcc.patch ) + +src_compile() { + emake CC="$(tc-getCC)" +} diff --git a/app-misc/bdfresize/files/bdfresize-1.5-gcc.patch b/app-misc/bdfresize/files/bdfresize-1.5-gcc.patch new file mode 100644 index 0000000..015d306 --- /dev/null +++ b/app-misc/bdfresize/files/bdfresize-1.5-gcc.patch @@ -0,0 +1,12 @@ +diff --git a/charresize.c b/charresize.c +index b6c694a..795bff4 100644 +--- a/charresize.c ++++ b/charresize.c +@@ -46,7 +46,6 @@ static int bit[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 }; + void + processChar(void) + { +- char *malloc(); + char *srcimage; + int *dstgray; + diff --git a/app-misc/bdfresize/metadata.xml b/app-misc/bdfresize/metadata.xml new file mode 100644 index 0000000..7869e07 --- /dev/null +++ b/app-misc/bdfresize/metadata.xml @@ -0,0 +1,8 @@ + + + + + azahi@teknik.io + azahi + + diff --git a/app-misc/ufetch/metadata.xml b/app-misc/ufetch/metadata.xml new file mode 100644 index 0000000..7869e07 --- /dev/null +++ b/app-misc/ufetch/metadata.xml @@ -0,0 +1,8 @@ + + + + + azahi@teknik.io + azahi + + diff --git a/app-misc/ufetch/ufetch-9999.ebuild b/app-misc/ufetch/ufetch-9999.ebuild new file mode 100644 index 0000000..f9f66af --- /dev/null +++ b/app-misc/ufetch/ufetch-9999.ebuild @@ -0,0 +1,24 @@ +# Copyright 2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 + +DESCRIPTION="Tiny system info for Unix-like operating systems" +HOMEPAGE="https://gitlab.com/jschx/ufetch" +EGIT_REPO_URI="https://gitlab.com/jschx/ufetch" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_install() { + exeinto /usr/bin + newexe ufetch-gentoo ufetch +} diff --git a/app-misc/zenbu/metadata.xml b/app-misc/zenbu/metadata.xml new file mode 100644 index 0000000..7869e07 --- /dev/null +++ b/app-misc/zenbu/metadata.xml @@ -0,0 +1,8 @@ + + + + + azahi@teknik.io + azahi + + diff --git a/app-misc/zenbu/zenbu-9999.ebuild b/app-misc/zenbu/zenbu-9999.ebuild new file mode 100644 index 0000000..bf15bfa --- /dev/null +++ b/app-misc/zenbu/zenbu-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 git-r3 + +DESCRIPTION="Jinja2 + YAML based config templater" +HOMEPAGE="https://github.com/metakirby5/zenbu" +EGIT_REPO_URI="https://github.com/metakirby5/zenbu" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="" + +DOCS=( README.rst LICENSE example ) + +DEPEND="dev-python/argcomplete[${PYTHON_USEDEP}] + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] + dev-python/watchdog[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" -- cgit 1.4.1