diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/tuxonice-userui |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/tuxonice-userui')
-rw-r--r-- | sys-apps/tuxonice-userui/Manifest | 7 | ||||
-rw-r--r-- | sys-apps/tuxonice-userui/files/tuxonice-userui-1.1-freetype-2.5.patch | 38 | ||||
-rw-r--r-- | sys-apps/tuxonice-userui/metadata.xml | 18 | ||||
-rw-r--r-- | sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild | 62 |
4 files changed, 125 insertions, 0 deletions
diff --git a/sys-apps/tuxonice-userui/Manifest b/sys-apps/tuxonice-userui/Manifest new file mode 100644 index 000000000000..abd3ba3fac0b --- /dev/null +++ b/sys-apps/tuxonice-userui/Manifest @@ -0,0 +1,7 @@ +AUX tuxonice-userui-1.1-freetype-2.5.patch 947 SHA256 1c7109a4059a25c2811bb6570ce383abb40fda72b6f47f594f0e85b057f44c43 SHA512 7dd5541e61b9093ed4d89de6905ab59f865e305a0f263a92c5978200556e891d6c868fd9eea0737f74274da253c54e118686e8d881ec1af916ad0750d84fd3bc WHIRLPOOL f44ebceba0aa03b0bcf91e85e48f5840fec1cc869f48d38bf3445d5e3fcc4dfbd639efc80ca60df4ae75a2d992b9488d53dcd2ac4f0de8c175a99b74bed77c8b +DIST tuxonice-userui-1.1.tar 3317760 SHA256 dfbd5c9f5b07c17502a3d96df58be38d53268b088f095186d955e9bba4324d3a SHA512 b837e3302437ccfcc7e984817c52576be27c774681abc18b1ad34990eab342b5d11ec13cf48cfef07f419f425c111715843c7ca427a1d4778bd48f1d7352684a WHIRLPOOL c15bb0c0ea17bc9f34343175450919361afd22feea06a4d6e013fabff8a9aee1c1d0fe8cffb87ebc56080e823bd608fe377f81e96b916c71c06971a28722738a +DIST tuxonice-userui_1.1-2~exp1.debian.tar.gz 7628 SHA256 042936fe036563706d9db6e04750d890706dde8d90d51dfcbf64a7328653f427 SHA512 5aebc331452f9d8cac3f3d4db9fcc04c5a68759df2236a70a9fdf5c6e03da27170b1db71031b4b9bb2939c4e5a98c4755d26b6ebf0f81362a71c35e77b688f0b WHIRLPOOL 47b3dd3c6aa310200f04902b62861f0abd98656133432ab1b160ad03e7f79838ab1adac7c9be8b6c5302267b92890f5a712cf41cf7917e480b4009b8efedbc1c +EBUILD tuxonice-userui-1.1-r2.ebuild 1484 SHA256 5b081c81b808867f082eb65e3755e8a2415a7964b04a0b33c3ce570a1e710edc SHA512 4ee5a911ac596c1d3b5df7f584105777c5783fc0249fb97bc3080d951938e2021fa4092a28a348999466745a0e49dda9b596797b6677ac776ebf598ba99bf04a WHIRLPOOL f1f97311965920ddf76bb3ed7acbf388dea59ddd125703f1c47b834abea926267e8d553f73e2d95b9db6b8a4b23b2463ebf69f051e8049e725a33a48edd298a6 +MISC ChangeLog 3226 SHA256 43db6d3a93850543aec3c48eef62b2c4950755eff11a489c21d920072a6560c5 SHA512 df22f18a489ceb6e0cf9168a5eb1ad9635d85f0def1d36435ad8bd240780eea0253ac5a5c4001fef5421210e8d35c4193cc8f75520e113508dd571900fd939f7 WHIRLPOOL 5586c29571ffb146a87c8ba3966bebd6efd5ec0548d4ba5217ec1c3ea4dd74238e5316352a039e2a7edaf798245e074f333bc700d35b91e5cbc580fab6f35e87 +MISC ChangeLog-2015 10487 SHA256 dc28d35bb079d8dd90f8db6e502b12ac1fbf81ab363a0e7e7de44499854438a0 SHA512 ffd7d3fad587d93ef2df0239137fa956f911f2f37587a36b04426f99d84fa61431709dc5c75e458a17de7b889f3d9817f0fda751cd7ddf3b8ce9c3065f501c2c WHIRLPOOL fbbf7afb5350a148e1f77ef27fa23fe9e0d90f2521c4a218ed80c22cd0016fb371dc511f76b6fcbbd9f5b0f6aba10e2c669ed8b12840825d48ceb05b2ffedae6 +MISC metadata.xml 567 SHA256 9bc8587f3f8e1e82c766aebdfc4cf6f86581daaceeb00752a001e0359b916eb2 SHA512 748cfd9c9d26b2e92401c08c3d025b93e541a24bceca9bd89a7970b8cd7d2e61966759159a2fcd39a4916a37c740f0953e8adc50a2acdd6523ce91eb14dc1bd0 WHIRLPOOL a0aeb1ccd11c1ba60362de7217ff6316cab4d30fa09468007a4a11fc4f2a35f674d679e80319781d46080c6c18cd0f893efbf125e336f9ccda21d4d2d285daeb diff --git a/sys-apps/tuxonice-userui/files/tuxonice-userui-1.1-freetype-2.5.patch b/sys-apps/tuxonice-userui/files/tuxonice-userui-1.1-freetype-2.5.patch new file mode 100644 index 000000000000..f86f99a650fd --- /dev/null +++ b/sys-apps/tuxonice-userui/files/tuxonice-userui-1.1-freetype-2.5.patch @@ -0,0 +1,38 @@ +From ed1b73cf2f073f39200be79c633deb292cb8d4af Mon Sep 17 00:00:00 2001 +From: Damjan Georgievski <gdamjan@gmail.com> +Date: Mon, 6 Jan 2014 03:06:18 +0100 +Subject: [PATCH] fix #includes for recent freetype versions + +--- + fbsplash/ttf.c | 3 +-- + fbsplash/ttf.h | 3 +-- + 2 files changed, 2 insertions(+), 4 deletions(-) + +diff --git a/fbsplash/ttf.c b/fbsplash/ttf.c +index 384f400..1dd841c 100644 +--- a/fbsplash/ttf.c ++++ b/fbsplash/ttf.c +@@ -27,8 +27,7 @@ + #include <assert.h> + + #include <ft2build.h> +-#include <freetype/ftoutln.h> +-#include <freetype/ttnameid.h> ++#include FT_FREETYPE_H + + #include "splash.h" + +diff --git a/fbsplash/ttf.h b/fbsplash/ttf.h +index 034bb9e..6a4da9d 100644 +--- a/fbsplash/ttf.h ++++ b/fbsplash/ttf.h +@@ -1,8 +1,7 @@ + #ifndef _TTF_H + #define _TTF_H + #include <ft2build.h> +-#include <freetype/ftoutln.h> +-#include <freetype/ttnameid.h> ++#include FT_FREETYPE_H + + #define CACHED_METRICS 0x10 + #define CACHED_BITMAP 0x01 diff --git a/sys-apps/tuxonice-userui/metadata.xml b/sys-apps/tuxonice-userui/metadata.xml new file mode 100644 index 000000000000..8dcef3c457fd --- /dev/null +++ b/sys-apps/tuxonice-userui/metadata.xml @@ -0,0 +1,18 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>arfrever.fta@gmail.com</email> + <name>Arfrever Frehtes Taifersar Arahesis</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="fbsplash">Add support for framebuffer splash</flag> + </use> + <upstream> + <remote-id type="github">NigelCunningham/Tuxonice-Userui</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild b/sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild new file mode 100644 index 000000000000..3de4429bd9e1 --- /dev/null +++ b/sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils toolchain-funcs + +DESCRIPTION="User Interface for TuxOnIce" +HOMEPAGE="http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/Tuxonice-Userui" +SRC_URI="http://tuxonice.net/files/${P}.tar.gz -> ${P}.tar + mirror://debian/pool/main/t/${PN}/${PN}_${PV}-2~exp1.debian.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="fbsplash" + +DEPEND="fbsplash? ( + media-libs/freetype:2= + media-libs/libmng:0= + media-libs/libpng:0= + virtual/jpeg:0= + )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +src_prepare() { + local d=${WORKDIR}/debian/patches + EPATCH_SOURCE=${d} epatch $(<"${d}"/series) + epatch "${FILESDIR}"/${P}-freetype-2.5.patch + sed -i -e 's/make/$(MAKE)/' Makefile || die + sed -i -e 's/ -O3//' Makefile fbsplash/Makefile usplash/Makefile || die +} + +src_compile() { + # Package contain binaries + emake clean + + use fbsplash && export USE_FBSPLASH=1 + emake CC="$(tc-getCC)" tuxoniceui +} + +src_install() { + into / + dosbin tuxoniceui + dodoc AUTHORS ChangeLog KERNEL_API README TODO USERUI_API +} + +pkg_postinst() { + if use fbsplash; then + einfo + elog "You must create a symlink from /etc/splash/tuxonice" + elog "to the theme you want tuxonice to use, e.g.:" + elog + elog " # ln -sfn /etc/splash/emergence /etc/splash/tuxonice" + fi + einfo + einfo "Please see /usr/share/doc/${PF}/README.* for further" + einfo "instructions." + einfo +} |