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 /x11-plugins/wmpop3 |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmpop3')
-rw-r--r-- | x11-plugins/wmpop3/Manifest | 7 | ||||
-rw-r--r-- | x11-plugins/wmpop3/files/wmpop3-0.5.6a-list.patch | 127 | ||||
-rw-r--r-- | x11-plugins/wmpop3/metadata.xml | 13 | ||||
-rw-r--r-- | x11-plugins/wmpop3/wmpop3-0.5.6a-r1.ebuild | 38 | ||||
-rw-r--r-- | x11-plugins/wmpop3/wmpop3-0.5.6a.ebuild | 29 |
5 files changed, 214 insertions, 0 deletions
diff --git a/x11-plugins/wmpop3/Manifest b/x11-plugins/wmpop3/Manifest new file mode 100644 index 000000000000..34a6b5d2c3bf --- /dev/null +++ b/x11-plugins/wmpop3/Manifest @@ -0,0 +1,7 @@ +AUX wmpop3-0.5.6a-list.patch 3057 SHA256 0c9cb544366503384fa5d84052e736f13f976c373123717b3fa0b903708faddc SHA512 f0d9a4efeb924dd7a0cae1169404c81529f1e7262684872845db9e3b5b415fe2b48061d778d9829526a1ee8ce66aba48018d9d8ab329f11652d692c322786c3c WHIRLPOOL 9227b318e4ebcda9598cda3497e9214a489478aa076abfe5f404ab36d03ba71c3c1e6a7aa5e74c877bd7de2a450d8e77b8b15c6d58d6505fe7439d8c171f391b +DIST WMPop3-0.5.6a.tar.gz 23532 SHA256 98bdaa3ec253e94f4460672ea37b277d70157a6e1d6236df135346175f07b645 SHA512 127dfd3d4dec8a58c991a9bc0d2d1d1c0e9c0ef36af9b2894283bbda129db9b3464c43aa053152f9c0d25eee31b94ffec329784ffa256ce04cb233b809791c2f WHIRLPOOL 813395f8242c95d6f9c3e7d4e0bf3a966dae802954f3c3b264980f590244fa79dbf4506efdd0e55fe7ddff88b10f045f923851aeadea7236d6246a6f322197cd +EBUILD wmpop3-0.5.6a-r1.ebuild 738 SHA256 8086152b28c83c7f6f610226ed1cf2ee5df1b00878068943eccf59a020f87791 SHA512 0807230ae200b7df4851df71fa8d04aaedd3c1b3a9a11216ef8683e6f2274aa0e833aa1282471e0703439ce2c8ed9a3e261c5f1c4563e063c96922e2639a3145 WHIRLPOOL e3d010deb960a416eb973f15a12093a5acaf70afa47b284ba013799af36e47694f398a7ae1407134e7560aeaa0cc5e807cdec36f03a71732a289abfba1cf197f +EBUILD wmpop3-0.5.6a.ebuild 648 SHA256 e3e5d5f0c50c965189f38d0a0bbb703a31ff1f5a67a636a86512edac88efdbb3 SHA512 3785e95ad86f6b7749b24b04053981daed1b99a968649e245d75adee5204d0f20cce0fcab849f7b71dce7983de90e076b891bb95d9e3b51ab25fdcfc17dc9c5f WHIRLPOOL 3d14f80723539832452ecd2eb42a27bde1dae66a11e8cfda12d1d5ca7d17fd4a229904c65d670b59f81495e2e1dee00592331571e4fad58d5378588ee4b66d1b +MISC ChangeLog 3204 SHA256 38f3173fb29c54087ebcaa89cf9bf993d11d7c402e5a91195c087db6b6468454 SHA512 f520ebc315b4418568e245f76984cf1f98f44f1918ba975f00b9efb304f98fd571749ecc27213644be8cccd7a2d88d4c323045d5025f98d52dd2aff5aa779986 WHIRLPOOL 53d35192c82363540c0bbec2cc3bc0086f95b4103c86c0a619b1c578d2d4e939cce96a0fe56128c279cd10acb32ee5e813b75ebc36fd55c5e8d405b3ee71ab2f +MISC ChangeLog-2015 1035 SHA256 94b5340db790c4fa27989d106f0488d8f06424a930ddb90a174a6b4926a537bb SHA512 c83997b9f39cee1f7609b6c9122a9e717d8ad0c3ab1d72c55da0398364214f85d2b05282dd3ec6929a46330bebef2010b739f13f8ec3a346ed6be6488826a617 WHIRLPOOL 66adbeee9dc81d19615e0749e805f9faf4ffed9eb465ef43493224025f7b60c4940f893966c87c386e8bd2704fdf074e82a670e3266edf5fe9471c957d6aac3c +MISC metadata.xml 432 SHA256 f459240be35e8d0ab32799d788843db2a8319835aaada7b0a7d1c215098b1235 SHA512 b2c9e06a435ec6744f3a98e4b78b3a4e3184ea65fa68e25befac9ed4d8ffa806e2c9b2b8565f49035959a1513ce9053a5902ba3cf11aa251d966d399f8fb9e18 WHIRLPOOL a9a47897de3c6e4ecc9b86393f421d985b2f39bb9d29517c27533c30efb04be20d6f64dc43aa921b13555e54276ba6ae917d7ca82e2d036a3a587efd1781ddc0 diff --git a/x11-plugins/wmpop3/files/wmpop3-0.5.6a-list.patch b/x11-plugins/wmpop3/files/wmpop3-0.5.6a-list.patch new file mode 100644 index 000000000000..9ef9a61f0de3 --- /dev/null +++ b/x11-plugins/wmpop3/files/wmpop3-0.5.6a-list.patch @@ -0,0 +1,127 @@ +diff -Naur wmpop3-0.5.6a.orig/wmgeneral/list.c wmpop3-0.5.6a/wmgeneral/list.c +--- wmpop3-0.5.6a.orig/wmgeneral/list.c 1999-08-13 17:56:19.000000000 +0200 ++++ wmpop3-0.5.6a/wmgeneral/list.c 2016-06-10 12:52:47.293968265 +0200 +@@ -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 wmpop3-0.5.6a.orig/wmgeneral/list.h wmpop3-0.5.6a/wmgeneral/list.h +--- wmpop3-0.5.6a.orig/wmgeneral/list.h 1999-08-13 17:56:19.000000000 +0200 ++++ wmpop3-0.5.6a/wmgeneral/list.h 2016-06-10 12:52:56.598983075 +0200 +@@ -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/wmpop3/metadata.xml b/x11-plugins/wmpop3/metadata.xml new file mode 100644 index 000000000000..dba063b0fafd --- /dev/null +++ b/x11-plugins/wmpop3/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> +</maintainer> + +<longdescription> +WMPop3 is a Window Maker dockable app which will check a pop3 mail server and +report how many messages are waiting( new and old ). Check it out! +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmpop3/wmpop3-0.5.6a-r1.ebuild b/x11-plugins/wmpop3/wmpop3-0.5.6a-r1.ebuild new file mode 100644 index 000000000000..415c09b92980 --- /dev/null +++ b/x11-plugins/wmpop3/wmpop3-0.5.6a-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils toolchain-funcs + +DESCRIPTION="dockapp for checking pop3 accounts" +HOMEPAGE="http://www.cs.mun.ca/~scotth/" +SRC_URI="http://www.cs.mun.ca/~scotth/download/${P/wmpop3/WMPop3}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~sparc x86" +IUSE="" + +DEPEND="x11-wm/windowmaker + x11-libs/libXpm" +RDEPEND="${DEPEND}" + +PATCHES=( ${FILESDIR}/${P}-list.patch ) + +src_prepare() { + sed -e "s:cc :$(tc-getCC) :" \ + -e "s:-O2:${CFLAGS}:" \ + -e "s:-o wmpop3:${LDFLAGS} -o wmpop3:" \ + -i ${PN}/Makefile || die + + default +} + +src_compile() { + emake -C wmpop3 +} + +src_install() { + dobin wmpop3/wmpop3 + dodoc CHANGE_LOG README +} diff --git a/x11-plugins/wmpop3/wmpop3-0.5.6a.ebuild b/x11-plugins/wmpop3/wmpop3-0.5.6a.ebuild new file mode 100644 index 000000000000..f134ac7bacfb --- /dev/null +++ b/x11-plugins/wmpop3/wmpop3-0.5.6a.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="dockapp for checking pop3 accounts" +HOMEPAGE="http://www.cs.mun.ca/~scotth/" +SRC_URI="http://www.cs.mun.ca/~scotth/download/${P/wmpop3/WMPop3}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~sparc x86" +IUSE="" +DEPEND="x11-wm/windowmaker + >=sys-apps/sed-4 + x11-libs/libXpm" + +src_unpack() { + unpack ${A} + cd "${S}"/wmpop3 + sed -i -e "s:-O2:${CFLAGS}:" Makefile + sed -i -e "s:-o wmpop3:${LDFLAGS} -o wmpop3:" Makefile +} + +src_compile() { + emake -C wmpop3 || die +} + +src_install() { + dobin wmpop3/wmpop3 + dodoc CHANGE_LOG README +} |