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-plugins/asmon/Manifest | 7 ++ x11-plugins/asmon/asmon-0.71-r1.ebuild | 39 ++++++++ x11-plugins/asmon/asmon-0.71.ebuild | 37 ++++++++ x11-plugins/asmon/files/asmon-0.71-list.patch | 127 ++++++++++++++++++++++++++ x11-plugins/asmon/metadata.xml | 5 + 5 files changed, 215 insertions(+) create mode 100644 x11-plugins/asmon/Manifest create mode 100644 x11-plugins/asmon/asmon-0.71-r1.ebuild create mode 100644 x11-plugins/asmon/asmon-0.71.ebuild create mode 100644 x11-plugins/asmon/files/asmon-0.71-list.patch create mode 100644 x11-plugins/asmon/metadata.xml (limited to 'x11-plugins/asmon') diff --git a/x11-plugins/asmon/Manifest b/x11-plugins/asmon/Manifest new file mode 100644 index 000000000000..e6894faf867e --- /dev/null +++ b/x11-plugins/asmon/Manifest @@ -0,0 +1,7 @@ +AUX asmon-0.71-list.patch 2918 SHA256 5e01887b3404df12e221fc43e1a4c1980fd66f44b6f189a7967ccc27bfbaf388 SHA512 2a6da4a9b676ea51bbcc400b3255f3c10240db13fd6da46921f6c91d5529ecf50120e195b815e58a1b0a8bad81a944e8da3cba261a69579f36165f35ad23f144 WHIRLPOOL 676703bedaff4c18d49e04ac31832ba3a370ad67e38008008af5849993592fcc693d1ae1b59d4e9adfb9e0c10ab9058fe012c0d8fe164cd9abe8d1048d915ec3 +DIST asmon-0.71.tar.bz2 42235 SHA256 5bb259cdb9d8314e377bbb9f8df4ee13359f2eb905cc5a87866d6f07fc81523e SHA512 20d321b228e0157e9e2611eeac017fdf6a9e9eb8ba6e02c7c30adadb411529da408b7a543e18b30de0659ccf4f86bfde21bef392e2a4756803c58a9f28c31c45 WHIRLPOOL 4d9458ce52ecccd9a15489b5e17225e588794035ebdfc711f87ffd6a5af8fd9c562799d9471ee09edc6097b98f704328ca68f52c6d1425e88ee02bb8ba3f5064 +EBUILD asmon-0.71-r1.ebuild 751 SHA256 04ffdba05257fa26d8dc8f9f3fc140d20490cec97f30e6cb2ac348f89bd23cd1 SHA512 87ea461e2d62948ee3479dac64aa429d59cb359a932365859a75232637fef9f52a8a2998b928dac2c96f88964cb146d712e705b04cdf294c908f175b36e982e0 WHIRLPOOL d5681ac76556be5222575017f5b47ec9fa22d8f1eac0ede9c9a29d97bac8eae1b48032648717c0fd9b8cbd312bf1b6bc5b6395ffb0085c3ac7be63de295dcba3 +EBUILD asmon-0.71.ebuild 732 SHA256 678dfc29cd1ce0d819c916c23f8555ca33eaa1d3818700efaa6352147df9556a SHA512 7a4cb2d77990f98b6f82d5195c25cf94fb9d3facd76144d65dc80043a1c574ef9dce94aec8cd46334bc68585c70c45ae85d995c0cb17f289990c7f063c10d2ba WHIRLPOOL fe5fc5c8cc6c01554076a74f7a74c4d6a6acbd875ef5db3ef08077cac537ebc680798cc90fc57ff12196e1c2aec25e0e40a27663321aac26991c8e3c1dba0327 +MISC ChangeLog 2935 SHA256 349d414f1f045112bf7cb50cf9782559c286d625c1e15f8accfbafab45c2c32e SHA512 1c82e5de9cef0956244e0cb72dfcc67b26986a2ac088116be5ac2e44926bd79d037594bf03df63b424f03ecd32ca6a30623f3cd35248187ebecf9f081bafd52d WHIRLPOOL f5a4843937a9e96387b65855930b33fdaeddf20aa49bbfe6d7d96d324bd05f5ccc93091f9b20fd7a06e4a778385f024dcec71c2f816aad1fb67e025fee591779 +MISC ChangeLog-2015 3322 SHA256 d6dfbf1f919d928289a007316a2f1669b42ed63a7a5811e1e39f9f98d6ea4a48 SHA512 95cec8d964f502efa17967ab31b68828622561bc5eb5a546dadc30ac4dde0fe176ee9d818fab8cf90283ed2b29d31a26ae7632eaeaee5a8d1f04f1226c73d074 WHIRLPOOL 5da4b33a0d2634849b6044eab7d575df94c2958bf9716ef0b20f2282b96b0d589a07d1e99cca64b8a5388e0822750e8f937d7d5d73af31200b74bea7569062d5 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/x11-plugins/asmon/asmon-0.71-r1.ebuild b/x11-plugins/asmon/asmon-0.71-r1.ebuild new file mode 100644 index 000000000000..f6be82776b11 --- /dev/null +++ b/x11-plugins/asmon/asmon-0.71-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="WindowMaker/AfterStep system monitor dockapp" +HOMEPAGE="http://rio.vg/asmon" +SRC_URI="http://rio.vg/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libXext + x11-libs/libXpm + x11-libs/libX11" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/${PN} + +src_prepare() { + sed -i -e "s:gcc:$(tc-getCC):g" Makefile || die + + cd "${WORKDIR}"/${P} || die + epatch "${FILESDIR}"/${P}-list.patch +} + +src_compile() { + emake clean + emake SOLARIS="${CFLAGS}" LIBDIR="${LDFLAGS}" +} + +src_install() { + dobin ${PN} + dodoc ../Changelog +} diff --git a/x11-plugins/asmon/asmon-0.71.ebuild b/x11-plugins/asmon/asmon-0.71.ebuild new file mode 100644 index 000000000000..80bc8a5515bd --- /dev/null +++ b/x11-plugins/asmon/asmon-0.71.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit toolchain-funcs + +DESCRIPTION="WindowMaker/AfterStep system monitor dockapp" +HOMEPAGE="http://rio.vg/asmon" +SRC_URI="http://rio.vg/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libXext + x11-libs/libXpm + x11-libs/libX11" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/${PN} + +src_unpack() { + unpack ${A} + sed -i -e "s:gcc:$(tc-getCC):g" "${S}"/Makefile +} + +src_compile() { + emake clean || die "emake clean failed." + emake SOLARIS="${CFLAGS}" LIBDIR="${LDFLAGS}" \ + || die "emake failed." +} + +src_install() { + dobin ${PN} + dodoc ../Changelog +} diff --git a/x11-plugins/asmon/files/asmon-0.71-list.patch b/x11-plugins/asmon/files/asmon-0.71-list.patch new file mode 100644 index 000000000000..1b1ac317669e --- /dev/null +++ b/x11-plugins/asmon/files/asmon-0.71-list.patch @@ -0,0 +1,127 @@ +diff -Naur wmgeneral.orig/list.c wmgeneral/list.c +--- wmgeneral.orig/list.c 2016-01-04 13:28:36.583339716 +0100 ++++ wmgeneral/list.c 2016-01-04 13:28:48.694343645 +0100 +@@ -38,7 +38,7 @@ + + /* Return a cons cell produced from (head . tail) + +-INLINE LinkedList* ++LinkedList* + list_cons(void* head, LinkedList* tail) + { + LinkedList* cell; +@@ -51,7 +51,7 @@ + + /* Return the length of a list, list_length(NULL) returns zero + +-INLINE int ++int + list_length(LinkedList* list) + { + int i = 0; +@@ -66,7 +66,7 @@ + /* Return the Nth element of LIST, where N count from zero. If N + larger than the list length, NULL is returned + +-INLINE void* ++void* + list_nth(int index, LinkedList* list) + { + while(index-- != 0) +@@ -81,7 +81,7 @@ + + /* Remove the element at the head by replacing it by its successor + +-INLINE void ++void + list_remove_head(LinkedList** list) + { + if (!*list) return; +@@ -101,7 +101,7 @@ + + /* Remove the element with `car' set to ELEMENT + /* +-INLINE void ++void + list_remove_elem(LinkedList** list, void* elem) + { + while (*list) +@@ -112,7 +112,7 @@ + } + + +-INLINE LinkedList * ++LinkedList * + list_remove_elem(LinkedList* list, void* elem) + { + LinkedList *tmp; +@@ -132,7 +132,7 @@ + + /* Return element that has ELEM as car + +-INLINE LinkedList* ++LinkedList* + list_find(LinkedList* list, void* elem) + { + while(list) +@@ -146,7 +146,7 @@ + + /* Free list (backwards recursive) + +-INLINE void ++void + list_free(LinkedList* list) + { + if(list) +@@ -158,7 +158,7 @@ + + /* Map FUNCTION over all elements in LIST + +-INLINE void ++void + list_mapcar(LinkedList* list, void(*function)(void*)) + { + while(list) +diff -Naur wmgeneral.orig/list.h wmgeneral/list.h +--- wmgeneral.orig/list.h 2016-01-04 13:28:36.583339716 +0100 ++++ wmgeneral/list.h 2016-01-04 13:28:39.471340654 +0100 +@@ -29,31 +29,25 @@ + #ifndef __LIST_H_ + #define __LIST_H_ + +-#if defined(__GNUC__) && !defined(__STRICT_ANSI__) +-# define INLINE inline +-#else +-# define INLINE +-#endif +- + typedef struct LinkedList { + void *head; + struct LinkedList *tail; + } LinkedList; + +-INLINE LinkedList* list_cons(void* head, LinkedList* tail); ++LinkedList* list_cons(void* head, LinkedList* tail); + +-INLINE int list_length(LinkedList* list); ++int list_length(LinkedList* list); + +-INLINE void* list_nth(int index, LinkedList* list); ++void* list_nth(int index, LinkedList* list); + +-INLINE void list_remove_head(LinkedList** list); ++void list_remove_head(LinkedList** list); + +-INLINE LinkedList *list_remove_elem(LinkedList* list, void* elem); ++LinkedList *list_remove_elem(LinkedList* list, void* elem); + +-INLINE void list_mapcar(LinkedList* list, void(*function)(void*)); ++void list_mapcar(LinkedList* list, void(*function)(void*)); + +-INLINE LinkedList*list_find(LinkedList* list, void* elem); ++LinkedList*list_find(LinkedList* list, void* elem); + +-INLINE void list_free(LinkedList* list); ++void list_free(LinkedList* list); + + #endif diff --git a/x11-plugins/asmon/metadata.xml b/x11-plugins/asmon/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/x11-plugins/asmon/metadata.xml @@ -0,0 +1,5 @@ + + + + + -- cgit v1.2.3