summaryrefslogtreecommitdiff
path: root/x11-plugins/wmupmon
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/wmupmon
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmupmon')
-rw-r--r--x11-plugins/wmupmon/Manifest6
-rw-r--r--x11-plugins/wmupmon/files/wmupmon-0.1.3-arraysize.patch32
-rw-r--r--x11-plugins/wmupmon/metadata.xml14
-rw-r--r--x11-plugins/wmupmon/wmupmon-0.1.3-r1.ebuild31
4 files changed, 83 insertions, 0 deletions
diff --git a/x11-plugins/wmupmon/Manifest b/x11-plugins/wmupmon/Manifest
new file mode 100644
index 000000000000..0e4dc7891b11
--- /dev/null
+++ b/x11-plugins/wmupmon/Manifest
@@ -0,0 +1,6 @@
+AUX wmupmon-0.1.3-arraysize.patch 1352 SHA256 af144c011dffb2ab49ff9427173a8e72e149f49a915236df8fbeb46dbf5f6389 SHA512 6ff1d821a313f8deb97c2e07b7a6b830b49d1f32c72a9d7fdc92e78839216b0af322dcbd2264c538d15be7bb43744146aa1cd1018836838ea3513fe48f6d0b5d WHIRLPOOL 1b97821dd1ad9eee218b1fa5f111870c7837cc9e91ff3ccf510e1f55c921510f65ac5e942938ebc3cc7d2a2cd46337b446a366a6de1ae969df0576447fc5976e
+DIST wmupmon-0.1.3.tar.bz2 90108 SHA256 7583f163fa472ec72a4f952c2ece8648a3ca709e4594b2b1591987671b0f38bc SHA512 7b87858db3eb754784eb67c379fc655bdb44efc87bd80e3588c156a8b156867ab956ecff13b954f6b2d4f75621bc5cc4a30c9e34ca95eb9807d0cf87bc76d1d7 WHIRLPOOL e5b446ffd2f7c986278805677f35fb5bc8b1a890e1c0978cedaa361e36d1c30b07d1e6ab203cd962cab83bbec9d570aaf3023b610243a2c179a540bc44740a3a
+EBUILD wmupmon-0.1.3-r1.ebuild 693 SHA256 d7d85c68a0847db9d820a4bbd4b4baf396f1de2a69036fc3354e1da576a84bfb SHA512 ef934a975bad35d5864833280b6855b4ec6df898191a2a3dbbd59f11807d70ace77bde72862fe395baa7ed8421a8d7c5a370b5b858e65f362821421837da759a WHIRLPOOL 9be99e16bbed0207b41ec06ceaa0332f96878c9556adc6ec66c81a1ca6f3fdd4f423bc92dfc9022e181f50c886ec728255ebcffeb9218d2c012c8ffe3573ae41
+MISC ChangeLog 2934 SHA256 1eeb1dced7030713023e30abf84cbf9c338a23199a6110a6f91844463dcc2051 SHA512 39725e2f139983edd097f266f0a427398d130ae8ebe01a3d4d8fe4fae1373926564937a50825ce01b63bbb73b95efe3cb476502c277be14561cb4b3cc38ffd4b WHIRLPOOL 73e0d891a10295ce09d4dc181e8961bcc05e00d6f2f4919fb929cc32cbf3670a676adeef2d80365c35a21caaf8c0c11fa485e13ee211a2173113e20cb4b61987
+MISC ChangeLog-2015 2897 SHA256 e4453bf401c97fa249b75df9cd38a55bc90eedb6a72ff2e5bbc532a546a3c0b3 SHA512 7364a3588e0d7b88f3e8b3fcf705a5a3322d7e73ebebd91fc065f9031b6987937478b99b819d78603b408ba4fa21996e6036635141d5823fa64d64014e7090a2 WHIRLPOOL 4548394d94ea44b5a3c4018a0cce547b52fbbcb6d6b39a666e5f72ccb55d5e62e187753dfa44b27b0bf0053ea1ee38ca4b7c4a5fed8df33a594369a13ae339cc
+MISC metadata.xml 405 SHA256 d642163ba29c32ac1074b6a0c556fa69e5cf27f46d1cedadf99551f2e075409f SHA512 dc9b18905a6b483de823ca64235ada629e5984aa01fb08d71b466959dd6957966b8c5257e4ee3b260dd9a009b9ff1b2a5cdc548d6f793f96adfa1efe0ce80bac WHIRLPOOL a5c5b5fc67a939c69724a7c68a42afce523cd2b6069d8b2b67f480e0838a277503563b9b53b96b6796beb38c332d20c2125d93565072363554fa8eb9fd4760cf
diff --git a/x11-plugins/wmupmon/files/wmupmon-0.1.3-arraysize.patch b/x11-plugins/wmupmon/files/wmupmon-0.1.3-arraysize.patch
new file mode 100644
index 000000000000..4a974d169aba
--- /dev/null
+++ b/x11-plugins/wmupmon/files/wmupmon-0.1.3-arraysize.patch
@@ -0,0 +1,32 @@
+--- src/main.c.orig 2006-10-12 13:09:14.000000000 +0200
++++ src/main.c 2006-10-12 13:12:27.000000000 +0200
+@@ -66,10 +66,10 @@
+ int main(int argc, char **argv)
+ {
+ int i, a, aa, b, bb;
+- char* real_off_xpm[(style == 2 ? sizeof(backlight2_off_xpm) :
+- sizeof(backlight_off_xpm))];
+- char* real_on_xpm[(style == 2 ? sizeof(backlight2_on_xpm) :
+- sizeof(backlight_on_xpm))];
++ char* real_off_xpm[(style == 2 ? sizeof(backlight2_off_xpm)/sizeof(char*) :
++ sizeof(backlight_off_xpm)/sizeof(char*))];
++ char* real_on_xpm[(style == 2 ? sizeof(backlight2_on_xpm)/sizeof(char*) :
++ sizeof(backlight_on_xpm)/sizeof(char*))];
+ XEvent event;
+ XpmColorSymbol colors[2] = { {"Back0", NULL, 0}, {"Back1", NULL, 0} };
+ int ncolor = 0;
+@@ -79,10 +79,10 @@
+
+ /* setup pixmap to use - this is ugly but it works */
+
+- a = sizeof(backlight2_off_xpm);
+- aa = sizeof(backlight2_on_xpm);
+- b = sizeof(backlight_off_xpm);
+- bb = sizeof(backlight_on_xpm);
++ a = sizeof(backlight2_off_xpm)/sizeof(char*);
++ aa = sizeof(backlight2_on_xpm)/sizeof(char*);
++ b = sizeof(backlight_off_xpm)/sizeof(char*);
++ bb = sizeof(backlight_on_xpm)/sizeof(char*);
+ if(style == 2){
+ for(i=0; i<a; i++)
+ real_off_xpm[i] = backlight2_off_xpm[i];
diff --git a/x11-plugins/wmupmon/metadata.xml b/x11-plugins/wmupmon/metadata.xml
new file mode 100644
index 000000000000..aeb9a93ca486
--- /dev/null
+++ b/x11-plugins/wmupmon/metadata.xml
@@ -0,0 +1,14 @@
+<?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>
+wmUpMon is a dockapp for WindowMaker and
+compatible WMs that displays your system uptime.
+It is based on wmMemLoad.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-plugins/wmupmon/wmupmon-0.1.3-r1.ebuild b/x11-plugins/wmupmon/wmupmon-0.1.3-r1.ebuild
new file mode 100644
index 000000000000..d0087dbe27e6
--- /dev/null
+++ b/x11-plugins/wmupmon/wmupmon-0.1.3-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="wmUpMon is a program to monitor your Uptime"
+HOMEPAGE="http://j-z-s.com/projects/index.php?project=wmupmon"
+SRC_URI="http://j-z-s.com/projects/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXt
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-arraysize.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "einstall failed."
+ dodoc AUTHORS README THANKS ChangeLog
+}