From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- x11-misc/xfishtank/Manifest | 6 ++ .../xfishtank/files/xfishtank-2.1-implicits.patch | 75 ++++++++++++++++++++++ x11-misc/xfishtank/metadata.xml | 8 +++ x11-misc/xfishtank/xfishtank-2.1-r2.ebuild | 34 ++++++++++ 4 files changed, 123 insertions(+) create mode 100644 x11-misc/xfishtank/Manifest create mode 100644 x11-misc/xfishtank/files/xfishtank-2.1-implicits.patch create mode 100644 x11-misc/xfishtank/metadata.xml create mode 100644 x11-misc/xfishtank/xfishtank-2.1-r2.ebuild (limited to 'x11-misc/xfishtank') diff --git a/x11-misc/xfishtank/Manifest b/x11-misc/xfishtank/Manifest new file mode 100644 index 000000000000..a2edadfb4fc1 --- /dev/null +++ b/x11-misc/xfishtank/Manifest @@ -0,0 +1,6 @@ +AUX xfishtank-2.1-implicits.patch 1446 SHA256 cecb3e03211e437ba5ee9f3ec51cf2c76c97eeb5bb4f49917a2b2b33aa7eeedc SHA512 9c04b8bc38f629a7590500c24a2e22c8c7ffae77f9eb55a174ea8eac75ce90ae762baa3ff550a55b1afd6788d8dcba6eb0b0ef6a70382b6da78936bc747065f0 WHIRLPOOL 6d0551686b2a5f01c25f06c54517e302f6379bea1937dc9614d81c35f15e2fc73226ac3ecd1be7f90a286b3567610a458a886209af26cadbdd4a5b8d0d035aac +DIST xfishtank-2.1tp.tar.gz 187513 SHA256 afaedcecd61716fce6c008598dc5750f8d061ae23a36afbab426d0d2cc922240 SHA512 641efa1104685d94589c2d9d365108308cb1b0dd238dbba6dc333c5922bda371536c0e26a63645351ac245a18f2386e4c47b4a1fc2a7f4b0400d37db846976a1 WHIRLPOOL 64640730ec9ed6c84f249ae62de8ec08722722f800069edfcc0a5d04aa6d2a3ef9c8ed0db625523d062b6cc6b8df4d782a56748b4447923eb72ab3cfa9c7455d +EBUILD xfishtank-2.1-r2.ebuild 720 SHA256 b043b64b856c5d4ba7e26490279056af13e07d88429d243d5427bfdffb95d641 SHA512 2bb4cea27f4e3a8d42372fee3dac2e821fc4189e1f2f8f82ff0b5d4742c34d4caac112c13f765bbd2f5de2b7ea8f1cafca0fe48218a4f96aa4b82dd7a48cf789 WHIRLPOOL 6f8d0bd6444ffb09cc2968ac5dac5bb65ba14acdbf0440db955b960c2e9688b0c18906597bf5b0c22101d9f61fc54caa39dda6698728cb976511682051d9adc8 +MISC ChangeLog 2688 SHA256 12feed3155ddd536905a0583f7d4fda9ab3fd939863fecd418eed6d37a71c76c SHA512 11266121f05c3561a2a0e6f32c1ab2623984a9bb2318960a59977dbc76083174ecf3ac1549caddc8f9d279ec60f3e283eb95c817326eeeefba4fdc2dd051a591 WHIRLPOOL 8b2444c568039ef13c8403dc5b54c6c55fd6fa3eefb91d15cfa892225c516e846062504e7407c395cbf270777a7077b144e9b759e0004c1bdaab370dc89a3958 +MISC ChangeLog-2015 2695 SHA256 ac3f80b37658246362c65a18d77021f39897d734195bed2b1dca4a06faf02b92 SHA512 698260d25c80a3b5e575d0ff2018ce3f510a214c66a900f88a989a429cbdc9f566cfe30b93e1419c054720131e57335f5b329b2c3e2237587b7b09afc0e05839 WHIRLPOOL b4b775603cbe0245e682991eeb71ad8e7bf63ac1541b4e592b8a80805de2991281dd62a267cb69df9c82f962dd70445b036f36651d5b4113a9fcb480e4792f17 +MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5 diff --git a/x11-misc/xfishtank/files/xfishtank-2.1-implicits.patch b/x11-misc/xfishtank/files/xfishtank-2.1-implicits.patch new file mode 100644 index 000000000000..0a4a03503246 --- /dev/null +++ b/x11-misc/xfishtank/files/xfishtank-2.1-implicits.patch @@ -0,0 +1,75 @@ +--- xfishtank-2.1tp/read.c ++++ xfishtank-2.1tp/read.c +@@ -1,5 +1,7 @@ + #include + #include ++#include ++#include + #include "compact.h" + #include "medcut.h" + +--- xfishtank-2.1tp/medcut.c ++++ xfishtank-2.1tp/medcut.c +@@ -1,4 +1,5 @@ + #include ++#include + #include "medcut.h" + + #define RED 0 +--- xfishtank-2.1tp/xfish.c ++++ xfishtank-2.1tp/xfish.c +@@ -46,6 +46,9 @@ + #endif + + #include ++#include ++#include ++#include + #ifdef sgi + #define _BSD_SIGNALS + #endif +@@ -848,8 +850,8 @@ + struct colr_data colrs[256]; + + colormap = XDefaultColormap(Dpy, screen); + +- if (colormap == NULL) ++ if (colormap == 0) + { + return; + } +@@ -1812,9 +1814,11 @@ + high_res_sleep(seconds) + double seconds; + { +- int fds = 0; ++ fd_set fds; + struct timeval timeout; + ++ FD_ZERO(&fds); ++ + timeout.tv_sec = seconds; + timeout.tv_usec = (seconds - timeout.tv_sec) * 1000000.0; + select(0, &fds, &fds, &fds, &timeout); +--- xfishtank-2.1tp/makeh.c ++++ xfishtank-2.1tp/makeh.c +@@ -1,6 +1,6 @@ +- ++#include + #include +- ++#include + main() + { + FILE *fp; +--- xfishtank-2.1tp/gifread.c ++++ xfishtank-2.1tp/gifread.c +@@ -56,6 +56,8 @@ + + #include + #include ++#include ++#include + #if defined(SYSV) || defined(SVR4) + #include + #else /* SYSV */ diff --git a/x11-misc/xfishtank/metadata.xml b/x11-misc/xfishtank/metadata.xml new file mode 100644 index 000000000000..2ba8e9e851e4 --- /dev/null +++ b/x11-misc/xfishtank/metadata.xml @@ -0,0 +1,8 @@ + + + + + desktop-misc@gentoo.org + Gentoo Desktop Miscellaneous Project + + diff --git a/x11-misc/xfishtank/xfishtank-2.1-r2.ebuild b/x11-misc/xfishtank/xfishtank-2.1-r2.ebuild new file mode 100644 index 000000000000..dbd26fe73cc3 --- /dev/null +++ b/x11-misc/xfishtank/xfishtank-2.1-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +MY_P=${P}tp + +DESCRIPTION="Turns your root window into an aquarium" +HOMEPAGE="http://www.ibiblio.org/pub/Linux/X11/demos/" +SRC_URI="http://www.ibiblio.org/pub/Linux/X11/demos/${MY_P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86 ~x86-linux" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXt + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-misc/imake" + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}"/${P}-implicits.patch ) + +src_compile() { + xmkmf || die + emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" \ + EXTRA_LDOPTIONS="${LDFLAGS}" ${PN} +} -- cgit v1.2.3