summaryrefslogtreecommitdiff
path: root/x11-plugins/wmmon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmmon
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmmon')
-rw-r--r--x11-plugins/wmmon/Manifest9
-rw-r--r--x11-plugins/wmmon/files/wmmon-1.2_beta1-Makefile.patch20
-rw-r--r--x11-plugins/wmmon/files/wmmon-1.2_beta1-list.patch127
-rw-r--r--x11-plugins/wmmon/metadata.xml9
-rw-r--r--x11-plugins/wmmon/wmmon-1.2_beta1.ebuild37
-rw-r--r--x11-plugins/wmmon/wmmon-1.3.ebuild19
6 files changed, 221 insertions, 0 deletions
diff --git a/x11-plugins/wmmon/Manifest b/x11-plugins/wmmon/Manifest
new file mode 100644
index 000000000000..82e0375fd73e
--- /dev/null
+++ b/x11-plugins/wmmon/Manifest
@@ -0,0 +1,9 @@
+AUX wmmon-1.2_beta1-Makefile.patch 420 SHA256 42bf7b3b95f8e894b023cb35a907130b729cc2c93eeae544aa11ea3294ef153a SHA512 6c8e3a0b82a2eee7a88b493682ce479f58f68e95643adc9c40e9d1404cdb034ebd27100c83296340ddc489bac4d586354619093912d0f096aea1611a7149dfe8 WHIRLPOOL b329b60de5095fa197ce8ee4ac4371aee8745f8923ff6df3623964af0fa58647e791d4db9b37bc9d9986834f1f6e7ae18d90140e9cdb618b0adc762fc96af507
+AUX wmmon-1.2_beta1-list.patch 2918 SHA256 5e01887b3404df12e221fc43e1a4c1980fd66f44b6f189a7967ccc27bfbaf388 SHA512 2a6da4a9b676ea51bbcc400b3255f3c10240db13fd6da46921f6c91d5529ecf50120e195b815e58a1b0a8bad81a944e8da3cba261a69579f36165f35ad23f144 WHIRLPOOL 676703bedaff4c18d49e04ac31832ba3a370ad67e38008008af5849993592fcc693d1ae1b59d4e9adfb9e0c10ab9058fe012c0d8fe164cd9abe8d1048d915ec3
+DIST wmmon-1.2b1.tar.bz2 25610 SHA256 5b203ec46fe13d5fdee51ec878cf1856704bf650a8f5458416b9cf4585e7cac2 SHA512 359ff4024cdc606d3520445d31b9e59c79a957b081bf46dfabde7c970aecab8d640f789f34c1599e18e15e50a077248e06600151d7c1e66ef028215d6d88ff1f WHIRLPOOL 88ce15d0ca14b0f47cb23faa01372530ec3194678b04cb3e18516da0d50c014704003284cd21e1e4afa466aa806bf766eefa9cee296d60df478402240ea67999
+DIST wmmon-1.3.tar.gz 107622 SHA256 67f8fe8c52aa317249f90258571201c2a38711b178a960713d8c32479ae2ac3a SHA512 2308bf5ef9aa9f93979e63ea7d405e304a1a7ea55b966affc200239829f3cd2b7039fe96e42fcf59b52dddd5a72b3f8f64d8397853c3847356733644045e5529 WHIRLPOOL 18d9b572f04a676cc8b4e2ec5ae6bd035821a76a7d99569062f00b359b06cba2a182011b4094a9f53dcdf71e0dfd49c82ea4f499ad51bbd018ec4d3b7b882535
+EBUILD wmmon-1.2_beta1.ebuild 819 SHA256 79e52796568219d851697b224a07034a45265903302aaa314c249fdc510d2331 SHA512 313c285b1b1743db4371cb1f0e1bf6383bea37361e9dc5fd07d8b2e73350790272171045ed0e4ebebcff3228015001790a65bb5a083e7addf74b9ab7046685f2 WHIRLPOOL 2b791f4022fc5913a0e5dbfd941b3d840145ea07536f34e6ed994a83ec89659814e21531ec9729bd26c51a32976552c21a3ded7eed3c9bbeb82856a4dd1ab793
+EBUILD wmmon-1.3.ebuild 463 SHA256 3ee884cbb07da9532d1c5e37af017685c56f9cae1c7fd26c683a4a2b9571154c SHA512 33fee223cf841e954e34ddd06ca24a23c53026fe0950c0e85c70fafd159be108282563ccecc9bb4dadc3223af4020b5329370772242200d20d92ef72dc4792c1 WHIRLPOOL 8bb01751beb4bbd889f3c3a69c0a526bbe3eb1f675847af8b0b24bc196206fd07b6d002e2574a4a9f44c508c5937306f4f6651a66c794a019af8e367f34e7848
+MISC ChangeLog 3257 SHA256 b718dfe85977548d9a4f666f3fcf5e51168a962fe595ca95b642cbd7aadc949c SHA512 1bed8694ea788412d0e5802af21ba545ad917ff35c3210a40e863d20010f3108b06fac15d0a3fba71fadbfb7d4f8f91a5ae211f85b1d1be1b5146cf8006c7e7a WHIRLPOOL ac3e63192b566f8faed6123517c9d5b9ec800a6173f92f8db34f11e171b605537d3fe8ece3c4f692d0bfe2e9b7b5d57a6dbd6be7050b8edd9336054831cd66e2
+MISC ChangeLog-2015 3662 SHA256 69be74b7ad5018e9b23f9cd34e7de13595c32d9689bcdc45cbeb1bccde243691 SHA512 f016ad609e5c649af78d6f18cbcbc5472c4ffde152307e52fadab38fd49e8707e0df3c68a9dfbf17969ee65031fce91cc17062ad375f1575209f9464abde0c8e WHIRLPOOL a5da35074eb15f02749ce42d6eefa929045c2d5be837b13353cc628fd2df3d834fd0de86b900864e5ff99bb26f9550347e68a7fc20ca1470a04219cbf1d242f1
+MISC metadata.xml 249 SHA256 ab0de85cc2ebef9f9bca3773395bc5c909312efb834a8b3948806c1b00dee4e5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d WHIRLPOOL 3d7026fc5a045f5c90505dab413fe4534364d8c9a47c053ffbfaf3579478e55f77427eb00b05bd4c593a372c69eefae5ca93a2bab9398f52d20d374c2265fb2d
diff --git a/x11-plugins/wmmon/files/wmmon-1.2_beta1-Makefile.patch b/x11-plugins/wmmon/files/wmmon-1.2_beta1-Makefile.patch
new file mode 100644
index 000000000000..c7633ad7388b
--- /dev/null
+++ b/x11-plugins/wmmon/files/wmmon-1.2_beta1-Makefile.patch
@@ -0,0 +1,20 @@
+--- wmmon/Makefile.orig 2012-03-29 13:17:39.380764054 +0200
++++ wmmon/Makefile 2012-03-29 13:18:06.623931767 +0200
+@@ -6,14 +6,14 @@
+ ../wmgeneral/list.o
+
+ CFLAGS = -O2
+-CC = cc $(CFLAGS)
++CC = cc
+
+
+ .c.o:
+- $(CC) -c -Wall $< -o $*.o
++ $(CC) $(CFLAGS) -c -Wall $< -o $*.o
+
+ wmmon: $(OBJS)
+- $(CC) -o wmmon $^ $(LIBDIR) $(LIBS)
++ $(CC) $(LDFLAGS) -o wmmon $^ $(LIBDIR) $(LIBS)
+
+ debug: CFLAGS = -g3
+ debug: wmmon
diff --git a/x11-plugins/wmmon/files/wmmon-1.2_beta1-list.patch b/x11-plugins/wmmon/files/wmmon-1.2_beta1-list.patch
new file mode 100644
index 000000000000..1b1ac317669e
--- /dev/null
+++ b/x11-plugins/wmmon/files/wmmon-1.2_beta1-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/wmmon/metadata.xml b/x11-plugins/wmmon/metadata.xml
new file mode 100644
index 000000000000..1d5e6504004e
--- /dev/null
+++ b/x11-plugins/wmmon/metadata.xml
@@ -0,0 +1,9 @@
+<?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>
+
+</pkgmetadata>
diff --git a/x11-plugins/wmmon/wmmon-1.2_beta1.ebuild b/x11-plugins/wmmon/wmmon-1.2_beta1.ebuild
new file mode 100644
index 000000000000..54f0ae422f8b
--- /dev/null
+++ b/x11-plugins/wmmon/wmmon-1.2_beta1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Dockable system resources monitor applet for WindowMaker"
+HOMEPAGE="http://repo.or.cz/w/dockapps.git"
+SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P/_beta/b}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto"
+
+S=${WORKDIR}/${P/_beta/b}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+ epatch "${FILESDIR}"/${P}-list.patch
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -C ${PN}
+}
+
+src_install () {
+ dobin wmmon/wmmon
+ doman wmmon/wmmon.1
+ dodoc BUGS CHANGES HINTS README TODO
+}
diff --git a/x11-plugins/wmmon/wmmon-1.3.ebuild b/x11-plugins/wmmon/wmmon-1.3.ebuild
new file mode 100644
index 000000000000..7705ab2e7056
--- /dev/null
+++ b/x11-plugins/wmmon/wmmon-1.3.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Dockable system resources monitor applet for WindowMaker"
+HOMEPAGE="http://www.dockapps.net/wmmon"
+SRC_URI="http://www.dockapps.net/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/libdockapp-0.7:=
+ x11-libs/libX11
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"